2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 ac_subdirs_all="$ac_subdirs_all projects/sample"
430 ac_subdirs_all="$ac_subdirs_all projects/reopt"
431 ac_subdirs_all="$ac_subdirs_all projects/poolalloc"
432 # Factoring default headers for most tests.
433 ac_includes_default="\
436 # include <sys/types.h>
439 # include <sys/stat.h>
450 # if !STDC_HEADERS && HAVE_MEMORY_H
456 # include <strings.h>
459 # include <inttypes.h>
469 ac_unique_file=""Makefile.config.in""
470 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS subdirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED SPEC_ROOT USE_SPEC UPB DISABLE_LLC_DIFFS JIT BCR PAPIDIR PURIFY LTLIBOBJS'
473 # Initialize some variables set by options.
475 ac_init_version=false
476 # The variables have the same names as the options, with
477 # dashes changed to underlines.
485 program_transform_name=s,x,x,
493 # Installation directory options.
494 # These are left unexpanded so users can "make install exec_prefix=/foo"
495 # and all the variables that are supposed to be based on exec_prefix
496 # by default will actually change.
497 # Use braces instead of parens because sh, perl, etc. also accept them.
498 bindir='${exec_prefix}/bin'
499 sbindir='${exec_prefix}/sbin'
500 libexecdir='${exec_prefix}/libexec'
501 datadir='${prefix}/share'
502 sysconfdir='${prefix}/etc'
503 sharedstatedir='${prefix}/com'
504 localstatedir='${prefix}/var'
505 libdir='${exec_prefix}/lib'
506 includedir='${prefix}/include'
507 oldincludedir='/usr/include'
508 infodir='${prefix}/info'
509 mandir='${prefix}/man'
514 # If the previous option needs an argument, assign it.
515 if test -n "$ac_prev"; then
516 eval "$ac_prev=\$ac_option"
521 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
523 # Accept the important Cygnus configure options, so we can diagnose typos.
527 -bindir | --bindir | --bindi | --bind | --bin | --bi)
529 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
532 -build | --build | --buil | --bui | --bu)
533 ac_prev=build_alias ;;
534 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
535 build_alias=$ac_optarg ;;
537 -cache-file | --cache-file | --cache-fil | --cache-fi \
538 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
539 ac_prev=cache_file ;;
540 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
541 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
542 cache_file=$ac_optarg ;;
545 cache_file=config.cache ;;
547 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
549 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
551 datadir=$ac_optarg ;;
553 -disable-* | --disable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 eval "enable_$ac_feature=no" ;;
562 -enable-* | --enable-*)
563 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
567 { (exit 1); exit 1; }; }
568 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
570 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
573 eval "enable_$ac_feature='$ac_optarg'" ;;
575 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
576 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
577 | --exec | --exe | --ex)
578 ac_prev=exec_prefix ;;
579 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
580 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
581 | --exec=* | --exe=* | --ex=*)
582 exec_prefix=$ac_optarg ;;
584 -gas | --gas | --ga | --g)
585 # Obsolete; use --with-gas.
588 -help | --help | --hel | --he | -h)
590 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
591 ac_init_help=recursive ;;
592 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
593 ac_init_help=short ;;
595 -host | --host | --hos | --ho)
596 ac_prev=host_alias ;;
597 -host=* | --host=* | --hos=* | --ho=*)
598 host_alias=$ac_optarg ;;
600 -includedir | --includedir | --includedi | --included | --include \
601 | --includ | --inclu | --incl | --inc)
602 ac_prev=includedir ;;
603 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
604 | --includ=* | --inclu=* | --incl=* | --inc=*)
605 includedir=$ac_optarg ;;
607 -infodir | --infodir | --infodi | --infod | --info | --inf)
609 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
610 infodir=$ac_optarg ;;
612 -libdir | --libdir | --libdi | --libd)
614 -libdir=* | --libdir=* | --libdi=* | --libd=*)
617 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
618 | --libexe | --libex | --libe)
619 ac_prev=libexecdir ;;
620 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
621 | --libexe=* | --libex=* | --libe=*)
622 libexecdir=$ac_optarg ;;
624 -localstatedir | --localstatedir | --localstatedi | --localstated \
625 | --localstate | --localstat | --localsta | --localst \
626 | --locals | --local | --loca | --loc | --lo)
627 ac_prev=localstatedir ;;
628 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
629 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
630 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
631 localstatedir=$ac_optarg ;;
633 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
635 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
639 # Obsolete; use --without-fp.
642 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
643 | --no-cr | --no-c | -n)
646 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
647 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
650 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
651 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
652 | --oldin | --oldi | --old | --ol | --o)
653 ac_prev=oldincludedir ;;
654 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
655 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
656 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
657 oldincludedir=$ac_optarg ;;
659 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
661 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
664 -program-prefix | --program-prefix | --program-prefi | --program-pref \
665 | --program-pre | --program-pr | --program-p)
666 ac_prev=program_prefix ;;
667 -program-prefix=* | --program-prefix=* | --program-prefi=* \
668 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
669 program_prefix=$ac_optarg ;;
671 -program-suffix | --program-suffix | --program-suffi | --program-suff \
672 | --program-suf | --program-su | --program-s)
673 ac_prev=program_suffix ;;
674 -program-suffix=* | --program-suffix=* | --program-suffi=* \
675 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
676 program_suffix=$ac_optarg ;;
678 -program-transform-name | --program-transform-name \
679 | --program-transform-nam | --program-transform-na \
680 | --program-transform-n | --program-transform- \
681 | --program-transform | --program-transfor \
682 | --program-transfo | --program-transf \
683 | --program-trans | --program-tran \
684 | --progr-tra | --program-tr | --program-t)
685 ac_prev=program_transform_name ;;
686 -program-transform-name=* | --program-transform-name=* \
687 | --program-transform-nam=* | --program-transform-na=* \
688 | --program-transform-n=* | --program-transform-=* \
689 | --program-transform=* | --program-transfor=* \
690 | --program-transfo=* | --program-transf=* \
691 | --program-trans=* | --program-tran=* \
692 | --progr-tra=* | --program-tr=* | --program-t=*)
693 program_transform_name=$ac_optarg ;;
695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
696 | -silent | --silent | --silen | --sile | --sil)
699 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
701 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
703 sbindir=$ac_optarg ;;
705 -sharedstatedir | --sharedstatedir | --sharedstatedi \
706 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
707 | --sharedst | --shareds | --shared | --share | --shar \
709 ac_prev=sharedstatedir ;;
710 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
711 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
712 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
714 sharedstatedir=$ac_optarg ;;
716 -site | --site | --sit)
718 -site=* | --site=* | --sit=*)
721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
726 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
727 | --syscon | --sysco | --sysc | --sys | --sy)
728 ac_prev=sysconfdir ;;
729 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
730 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
731 sysconfdir=$ac_optarg ;;
733 -target | --target | --targe | --targ | --tar | --ta | --t)
734 ac_prev=target_alias ;;
735 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
736 target_alias=$ac_optarg ;;
738 -v | -verbose | --verbose | --verbos | --verbo | --verb)
741 -version | --version | --versio | --versi | --vers | -V)
745 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
748 { echo "$as_me: error: invalid package name: $ac_package" >&2
749 { (exit 1); exit 1; }; }
750 ac_package=`echo $ac_package| sed 's/-/_/g'`
752 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
755 eval "with_$ac_package='$ac_optarg'" ;;
757 -without-* | --without-*)
758 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
761 { echo "$as_me: error: invalid package name: $ac_package" >&2
762 { (exit 1); exit 1; }; }
763 ac_package=`echo $ac_package | sed 's/-/_/g'`
764 eval "with_$ac_package=no" ;;
767 # Obsolete; use --with-x.
770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
771 | --x-incl | --x-inc | --x-in | --x-i)
772 ac_prev=x_includes ;;
773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
775 x_includes=$ac_optarg ;;
777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
779 ac_prev=x_libraries ;;
780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782 x_libraries=$ac_optarg ;;
784 -*) { echo "$as_me: error: unrecognized option: $ac_option
785 Try \`$0 --help' for more information." >&2
786 { (exit 1); exit 1; }; }
790 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
793 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
794 { (exit 1); exit 1; }; }
795 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
796 eval "$ac_envvar='$ac_optarg'"
800 # FIXME: should be removed in autoconf 3.0.
801 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
802 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
804 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
810 if test -n "$ac_prev"; then
811 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
812 { echo "$as_me: error: missing argument to $ac_option" >&2
813 { (exit 1); exit 1; }; }
816 # Be sure to have absolute paths.
817 for ac_var in exec_prefix prefix
819 eval ac_val=$`echo $ac_var`
821 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
822 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
823 { (exit 1); exit 1; }; };;
827 # Be sure to have absolute paths.
828 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829 localstatedir libdir includedir oldincludedir infodir mandir
831 eval ac_val=$`echo $ac_var`
833 [\\/$]* | ?:[\\/]* ) ;;
834 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
835 { (exit 1); exit 1; }; };;
839 # There might be people who depend on the old broken behavior: `$host'
840 # used to hold the argument of --host etc.
841 # FIXME: To remove some day.
846 # FIXME: To remove some day.
847 if test "x$host_alias" != x; then
848 if test "x$build_alias" = x; then
849 cross_compiling=maybe
850 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
851 If a cross compiler is detected then cross compile mode will be used." >&2
852 elif test "x$build_alias" != "x$host_alias"; then
858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
860 test "$silent" = yes && exec 6>/dev/null
863 # Find the source files, if location was not specified.
864 if test -z "$srcdir"; then
865 ac_srcdir_defaulted=yes
866 # Try the directory containing this script, then its parent.
867 ac_confdir=`(dirname "$0") 2>/dev/null ||
868 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869 X"$0" : 'X\(//\)[^/]' \| \
870 X"$0" : 'X\(//\)$' \| \
871 X"$0" : 'X\(/\)' \| \
872 . : '\(.\)' 2>/dev/null ||
874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
876 /^X\(\/\/\)$/{ s//\1/; q; }
877 /^X\(\/\).*/{ s//\1/; q; }
880 if test ! -r $srcdir/$ac_unique_file; then
884 ac_srcdir_defaulted=no
886 if test ! -r $srcdir/$ac_unique_file; then
887 if test "$ac_srcdir_defaulted" = yes; then
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
889 { (exit 1); exit 1; }; }
891 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
892 { (exit 1); exit 1; }; }
895 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897 { (exit 1); exit 1; }; }
898 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899 ac_env_build_alias_set=${build_alias+set}
900 ac_env_build_alias_value=$build_alias
901 ac_cv_env_build_alias_set=${build_alias+set}
902 ac_cv_env_build_alias_value=$build_alias
903 ac_env_host_alias_set=${host_alias+set}
904 ac_env_host_alias_value=$host_alias
905 ac_cv_env_host_alias_set=${host_alias+set}
906 ac_cv_env_host_alias_value=$host_alias
907 ac_env_target_alias_set=${target_alias+set}
908 ac_env_target_alias_value=$target_alias
909 ac_cv_env_target_alias_set=${target_alias+set}
910 ac_cv_env_target_alias_value=$target_alias
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_env_CPPFLAGS_value=$CPPFLAGS
925 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927 ac_env_CC_set=${CC+set}
929 ac_cv_env_CC_set=${CC+set}
930 ac_cv_env_CC_value=$CC
931 ac_env_CFLAGS_set=${CFLAGS+set}
932 ac_env_CFLAGS_value=$CFLAGS
933 ac_cv_env_CFLAGS_set=${CFLAGS+set}
934 ac_cv_env_CFLAGS_value=$CFLAGS
935 ac_env_CPP_set=${CPP+set}
936 ac_env_CPP_value=$CPP
937 ac_cv_env_CPP_set=${CPP+set}
938 ac_cv_env_CPP_value=$CPP
939 ac_env_CXXCPP_set=${CXXCPP+set}
940 ac_env_CXXCPP_value=$CXXCPP
941 ac_cv_env_CXXCPP_set=${CXXCPP+set}
942 ac_cv_env_CXXCPP_value=$CXXCPP
943 ac_env_F77_set=${F77+set}
944 ac_env_F77_value=$F77
945 ac_cv_env_F77_set=${F77+set}
946 ac_cv_env_F77_value=$F77
947 ac_env_FFLAGS_set=${FFLAGS+set}
948 ac_env_FFLAGS_value=$FFLAGS
949 ac_cv_env_FFLAGS_set=${FFLAGS+set}
950 ac_cv_env_FFLAGS_value=$FFLAGS
953 # Report the --help message.
955 if test "$ac_init_help" = "long"; then
956 # Omit some internal or obsolete options to make the list less imposing.
957 # This message is too long to be a string in the A/UX 3.1 sh.
959 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
961 Usage: $0 [OPTION]... [VAR=VALUE]...
963 To assign environment variables (e.g., CC, CFLAGS...), specify them as
964 VAR=VALUE. See below for descriptions of some of the useful variables.
966 Defaults for the options are specified in brackets.
969 -h, --help display this help and exit
970 --help=short display options specific to this package
971 --help=recursive display the short help of all the included packages
972 -V, --version display version information and exit
973 -q, --quiet, --silent do not print \`checking...' messages
974 --cache-file=FILE cache test results in FILE [disabled]
975 -C, --config-cache alias for \`--cache-file=config.cache'
976 -n, --no-create do not create output files
977 --srcdir=DIR find the sources in DIR [configure dir or \`..']
982 Installation directories:
983 --prefix=PREFIX install architecture-independent files in PREFIX
985 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
988 By default, \`make install' will install all the files in
989 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
990 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
991 for instance \`--prefix=\$HOME'.
993 For better control, use the options below.
995 Fine tuning of the installation directories:
996 --bindir=DIR user executables [EPREFIX/bin]
997 --sbindir=DIR system admin executables [EPREFIX/sbin]
998 --libexecdir=DIR program executables [EPREFIX/libexec]
999 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1000 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1001 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1002 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1003 --libdir=DIR object code libraries [EPREFIX/lib]
1004 --includedir=DIR C header files [PREFIX/include]
1005 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1006 --infodir=DIR info documentation [PREFIX/info]
1007 --mandir=DIR man documentation [PREFIX/man]
1013 --build=BUILD configure for building on BUILD [guessed]
1014 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1015 --target=TARGET configure for building compilers for TARGET [HOST]
1019 if test -n "$ac_init_help"; then
1020 case $ac_init_help in
1021 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1026 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1027 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1028 --enable-shared[=PKGS]
1029 build shared libraries [default=yes]
1030 --enable-static[=PKGS]
1031 build static libraries [default=yes]
1032 --enable-fast-install[=PKGS]
1033 optimize for fast installation [default=yes]
1034 --disable-libtool-lock avoid locking (might break parallel builds)
1035 --enable-purify Compile with purify (default is NO)
1036 --enable-optimized Compile with optimizations enabled (default is NO)
1037 --enable-spec Compile SPEC 2000 benchmarks (default is NO)
1038 --enable-precompiled_bytecode
1039 Use pre-compiled bytecode (default is NO)
1040 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1041 --enable-jit Enable Just In Time Compiling (default is YES)
1044 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1045 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1046 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1047 --with-pic try to use only PIC/non-PIC objects [default=use
1050 include additional configurations [automatic]
1051 --with-llvmgccdir Location of LLVM GCC front-end
1052 --with-bcrepos Location of Bytecode Repository
1053 --with-papi Location of PAPI
1054 --with-purify Location of purify program
1056 Some influential environment variables:
1057 CXX C++ compiler command
1058 CXXFLAGS C++ compiler flags
1059 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060 nonstandard directory <lib dir>
1061 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062 headers in a nonstandard directory <include dir>
1063 CC C compiler command
1064 CFLAGS C compiler flags
1066 CXXCPP C++ preprocessor
1067 F77 Fortran 77 compiler command
1068 FFLAGS Fortran 77 compiler flags
1070 Use these variables to override the choices made by `configure' or to help
1071 it to find libraries and programs with nonstandard names/locations.
1073 Report bugs to <llvmbugs@cs.uiuc.edu>.
1077 if test "$ac_init_help" = "recursive"; then
1078 # If there are subdirs, report their specific --help.
1080 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1081 test -d $ac_dir || continue
1084 if test "$ac_dir" != .; then
1085 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1086 # A "../" for each directory in $ac_dir_suffix.
1087 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1089 ac_dir_suffix= ac_top_builddir=
1093 .) # No --srcdir option. We are building in place.
1095 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1100 [\\/]* | ?:[\\/]* ) # Absolute path.
1101 ac_srcdir=$srcdir$ac_dir_suffix;
1102 ac_top_srcdir=$srcdir ;;
1104 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1105 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1107 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1109 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1110 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1111 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1112 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1115 # Check for guested configure; otherwise get Cygnus style configure.
1116 if test -f $ac_srcdir/configure.gnu; then
1118 $SHELL $ac_srcdir/configure.gnu --help=recursive
1119 elif test -f $ac_srcdir/configure; then
1121 $SHELL $ac_srcdir/configure --help=recursive
1122 elif test -f $ac_srcdir/configure.ac ||
1123 test -f $ac_srcdir/configure.in; then
1125 $ac_configure --help
1127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1133 test -n "$ac_init_help" && exit 0
1134 if $ac_init_version; then
1136 [LLVM] configure [1.0]
1137 generated by GNU Autoconf 2.57
1139 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1140 Free Software Foundation, Inc.
1141 This configure script is free software; the Free Software Foundation
1142 gives unlimited permission to copy, distribute and modify it.
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1151 It was created by [LLVM] $as_me [1.0], which was
1152 generated by GNU Autoconf 2.57. Invocation command line was
1163 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1169 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1172 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1173 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1174 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1176 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1177 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1178 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186 test -z "$as_dir" && as_dir=.
1187 echo "PATH: $as_dir"
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1211 ac_must_keep_next=false
1217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219 | -silent | --silent | --silen | --sile | --sil)
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1227 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228 if test $ac_must_keep_next = true; then
1229 ac_must_keep_next=false # Got value, back to normal.
1232 *=* | --config-cache | -C | -disable-* | --disable-* \
1233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235 | -with-* | --with-* | -without-* | --without-* | --x)
1236 case "$ac_configure_args0 " in
1237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 -* ) ac_must_keep_next=true ;;
1243 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244 # Get rid of the leading space.
1250 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1251 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log. We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close' the trap.
1258 trap 'exit_status=$?
1259 # Save into config.log some information that might help in debugging.
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1269 # The following way of writing the cache mishandles newlines in values,
1272 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1292 for ac_var in $ac_subst_vars
1294 eval ac_val=$`echo $ac_var`
1295 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -n "$ac_subst_files"; then
1306 for ac_var in $ac_subst_files
1308 eval ac_val=$`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1314 if test -s confdefs.h; then
1321 sed "/^$/d" confdefs.h | sort
1324 test "$ac_signal" != 0 &&
1325 echo "$as_me: caught signal $ac_signal"
1326 echo "$as_me: exit $exit_status"
1328 rm -f core core.* *.core &&
1329 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 for ac_signal in 1 2 13 15; do
1333 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 # Predefined preprocessor variables.
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372 if test "x$prefix" != xNONE; then
1373 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1375 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 for ac_site_file in $CONFIG_SITE; do
1379 if test -r "$ac_site_file"; then
1380 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382 sed 's/^/| /' "$ac_site_file" >&5
1387 if test -r "$cache_file"; then
1388 # Some versions of bash will fail to source /dev/null (special
1389 # files actually), so we avoid doing that.
1390 if test -f "$cache_file"; then
1391 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1394 [\\/]* | ?:[\\/]* ) . $cache_file;;
1395 *) . ./$cache_file;;
1399 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1404 # Check that the precious variables saved in the cache have kept the same
1406 ac_cache_corrupted=false
1407 for ac_var in `(set) 2>&1 |
1408 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410 eval ac_new_set=\$ac_env_${ac_var}_set
1411 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1412 eval ac_new_val="\$ac_env_${ac_var}_value"
1413 case $ac_old_set,$ac_new_set in
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417 ac_cache_corrupted=: ;;
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1424 if test "x$ac_old_val" != "x$ac_new_val"; then
1425 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1426 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1427 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1428 echo "$as_me: former value: $ac_old_val" >&2;}
1429 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1430 echo "$as_me: current value: $ac_new_val" >&2;}
1431 ac_cache_corrupted=:
1434 # Pass precious variables to config.status.
1435 if test "$ac_new_set" = set; then
1437 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1438 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1439 *) ac_arg=$ac_var=$ac_new_val ;;
1441 case " $ac_configure_args " in
1442 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1443 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1447 if $ac_cache_corrupted; then
1448 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1449 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1450 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1451 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1452 { (exit 1); exit 1; }; }
1456 ac_cpp='$CPP $CPPFLAGS'
1457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1489 for ac_dir in autoconf $srcdir/autoconf; do
1490 if test -f $ac_dir/install-sh; then
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1494 elif test -f $ac_dir/install.sh; then
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1498 elif test -f $ac_dir/shtool; then
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1507 { (exit 1); exit 1; }; }
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1514 if test ${srcdir} != "."
1516 if test -f ${srcdir}/include/Config/config.h
1518 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1519 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1520 { (exit 1); exit 1; }; }
1524 if test -d ${srcdir}/projects/sample
1528 subdirs="$subdirs projects/sample"
1532 if test -d ${srcdir}/projects/reopt
1536 subdirs="$subdirs projects/reopt"
1540 if test -d ${srcdir}/projects/poolalloc
1544 subdirs="$subdirs projects/poolalloc"
1548 ac_config_headers="$ac_config_headers include/Config/config.h"
1550 ac_config_commands="$ac_config_commands Makefile"
1553 ac_config_commands="$ac_config_commands Makefile.common"
1556 ac_config_commands="$ac_config_commands Makefile.rules"
1559 ac_config_commands="$ac_config_commands lib/Makefile"
1562 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1565 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1568 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1571 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1574 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1577 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1580 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1583 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1586 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1589 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1592 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1595 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1598 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1601 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1604 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1607 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1610 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1613 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1616 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1619 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1622 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1625 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1628 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1631 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1634 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1637 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1640 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1643 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1646 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1649 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1652 ac_config_commands="$ac_config_commands runtime/Makefile"
1655 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1658 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1661 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1664 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1667 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1670 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1673 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1676 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1679 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1682 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1685 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1688 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1691 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1694 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1697 ac_config_commands="$ac_config_commands runtime/libprofile/Makefile"
1700 ac_config_commands="$ac_config_commands test/Makefile"
1703 ac_config_commands="$ac_config_commands test/Makefile.tests"
1706 ac_config_commands="$ac_config_commands test/QMTest/llvm.py"
1709 ac_config_commands="$ac_config_commands test/QMTest/llvmdb.py"
1712 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1715 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1718 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1721 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1724 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1727 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1730 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1733 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1739 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1742 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1745 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1748 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1751 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1754 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1757 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1763 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1766 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1769 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/177.mesa/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1781 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/252.eon/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in"
1877 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in"
1883 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in"
1889 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in"
1895 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1916 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1925 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1931 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1934 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1937 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1940 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1943 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1946 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1949 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1952 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1955 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1958 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1961 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1964 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1967 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1970 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1973 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1976 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1979 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1982 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1985 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1988 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1991 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1994 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1997 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
2000 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
2003 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
2006 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
2009 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
2012 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
2015 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
2018 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
2021 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
2024 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
2027 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
2030 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
2033 ac_config_commands="$ac_config_commands tools/Makefile"
2036 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
2039 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
2042 ac_config_commands="$ac_config_commands tools/extract/Makefile"
2045 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
2048 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
2051 ac_config_commands="$ac_config_commands tools/llc/Makefile"
2054 ac_config_commands="$ac_config_commands tools/llee/Makefile"
2057 ac_config_commands="$ac_config_commands tools/lli/Makefile"
2060 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2063 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2066 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2069 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2072 ac_config_commands="$ac_config_commands tools/llvm-nm/Makefile"
2075 ac_config_commands="$ac_config_commands tools/llvm-prof/Makefile"
2078 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2081 ac_config_commands="$ac_config_commands utils/Makefile"
2084 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2087 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2090 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2093 ac_config_commands="$ac_config_commands projects/Makefile"
2096 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2099 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2102 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2105 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2110 # Find a good install program. We prefer a C program (faster),
2111 # so one script is as good as another. But avoid the broken or
2112 # incompatible versions:
2113 # SysV /etc/install, /usr/sbin/install
2114 # SunOS /usr/etc/install
2115 # IRIX /sbin/install
2117 # AmigaOS /C/install, which installs bootblocks on floppy discs
2118 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2119 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2120 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2121 # ./install, which can be erroneously created by make from ./install.sh.
2122 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2123 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2124 if test -z "$INSTALL"; then
2125 if test "${ac_cv_path_install+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 test -z "$as_dir" && as_dir=.
2133 # Account for people who put trailing slashes in PATH elements.
2135 ./ | .// | /cC/* | \
2136 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2139 # OSF1 and SCO ODT 3.0 have their own names for install.
2140 # Don't use installbsd from OSF since it installs stuff as root
2142 for ac_prog in ginstall scoinst install; do
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2145 if test $ac_prog = install &&
2146 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2147 # AIX install. It has an incompatible calling convention.
2149 elif test $ac_prog = install &&
2150 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2151 # program-specific install script used by HP pwplus--don't use.
2154 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2166 if test "${ac_cv_path_install+set}" = set; then
2167 INSTALL=$ac_cv_path_install
2169 # As a last resort, use the slow shell script. We don't cache a
2170 # path for INSTALL within a source directory, because that will
2171 # break other packages using the cache if that directory is
2172 # removed, or if the path is relative.
2173 INSTALL=$ac_install_sh
2176 echo "$as_me:$LINENO: result: $INSTALL" >&5
2177 echo "${ECHO_T}$INSTALL" >&6
2179 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2180 # It thinks the first close brace ends the variable substitution.
2181 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2183 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2185 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2188 # Make sure we can run config.sub.
2189 $ac_config_sub sun4 >/dev/null 2>&1 ||
2190 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2191 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2192 { (exit 1); exit 1; }; }
2194 echo "$as_me:$LINENO: checking build system type" >&5
2195 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2196 if test "${ac_cv_build+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 ac_cv_build_alias=$build_alias
2200 test -z "$ac_cv_build_alias" &&
2201 ac_cv_build_alias=`$ac_config_guess`
2202 test -z "$ac_cv_build_alias" &&
2203 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2204 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2205 { (exit 1); exit 1; }; }
2206 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2207 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2208 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2209 { (exit 1); exit 1; }; }
2212 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2213 echo "${ECHO_T}$ac_cv_build" >&6
2215 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2216 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2217 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2220 echo "$as_me:$LINENO: checking host system type" >&5
2221 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2222 if test "${ac_cv_host+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 ac_cv_host_alias=$host_alias
2226 test -z "$ac_cv_host_alias" &&
2227 ac_cv_host_alias=$ac_cv_build_alias
2228 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2229 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2230 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2231 { (exit 1); exit 1; }; }
2234 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2235 echo "${ECHO_T}$ac_cv_host" >&6
2237 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2238 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2239 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2242 echo "$as_me:$LINENO: checking target system type" >&5
2243 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2244 if test "${ac_cv_target+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 ac_cv_target_alias=$target_alias
2248 test "x$ac_cv_target_alias" = "x" &&
2249 ac_cv_target_alias=$ac_cv_host_alias
2250 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2251 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2252 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2253 { (exit 1); exit 1; }; }
2256 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2257 echo "${ECHO_T}$ac_cv_target" >&6
2258 target=$ac_cv_target
2259 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2260 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2261 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2264 # The aliases save the names the user supplied, while $host etc.
2265 # will get canonicalized.
2266 test -n "$target_alias" &&
2267 test "$program_prefix$program_suffix$program_transform_name" = \
2269 program_prefix=${target_alias}-
2274 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2280 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2290 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2299 *sparc*solaris*) ARCH=Sparc
2306 ac_cpp='$CXXCPP $CPPFLAGS'
2307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2310 if test -n "$ac_tool_prefix"; then
2311 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2313 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2314 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_prog_CXX+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 if test -n "$CXX"; then
2321 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 if test -n "$CXX"; then
2341 echo "$as_me:$LINENO: result: $CXX" >&5
2342 echo "${ECHO_T}$CXX" >&6
2344 echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6
2348 test -n "$CXX" && break
2351 if test -z "$CXX"; then
2353 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2355 # Extract the first word of "$ac_prog", so it can be a program name with args.
2356 set dummy $ac_prog; ac_word=$2
2357 echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2359 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 if test -n "$ac_ct_CXX"; then
2363 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir=.
2370 for ac_exec_ext in '' $ac_executable_extensions; do
2371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2372 ac_cv_prog_ac_ct_CXX="$ac_prog"
2373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2382 if test -n "$ac_ct_CXX"; then
2383 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2384 echo "${ECHO_T}$ac_ct_CXX" >&6
2386 echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6
2390 test -n "$ac_ct_CXX" && break
2392 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2398 # Provide some information about the compiler.
2399 echo "$as_me:$LINENO:" \
2400 "checking for C++ compiler version" >&5
2401 ac_compiler=`set X $ac_compile; echo $2`
2402 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2403 (eval $ac_compiler --version </dev/null >&5) 2>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }
2407 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2408 (eval $ac_compiler -v </dev/null >&5) 2>&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }
2412 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2413 (eval $ac_compiler -V </dev/null >&5) 2>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }
2418 cat >conftest.$ac_ext <<_ACEOF
2419 #line $LINENO "configure"
2422 cat confdefs.h >>conftest.$ac_ext
2423 cat >>conftest.$ac_ext <<_ACEOF
2424 /* end confdefs.h. */
2434 ac_clean_files_save=$ac_clean_files
2435 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2436 # Try to create an executable without -o first, disregard a.out.
2437 # It will help us diagnose broken compilers, and finding out an intuition
2439 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2440 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2441 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2442 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2443 (eval $ac_link_default) 2>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; then
2447 # Find the output, starting from the most likely. This scheme is
2448 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2451 # Be careful to initialize this variable, since it used to be cached.
2452 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2454 # b.out is created by i960 compilers.
2455 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2457 test -f "$ac_file" || continue
2459 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2462 # This is the source file.
2465 # We found the default executable, but exeext='' is most
2469 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2470 # FIXME: I believe we export ac_cv_exeext for Libtool,
2471 # but it would be cool to find out if it's true. Does anybody
2472 # maintain Libtool? --akim.
2480 echo "$as_me: failed program was:" >&5
2481 sed 's/^/| /' conftest.$ac_ext >&5
2483 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2484 See \`config.log' for more details." >&5
2485 echo "$as_me: error: C++ compiler cannot create executables
2486 See \`config.log' for more details." >&2;}
2487 { (exit 77); exit 77; }; }
2490 ac_exeext=$ac_cv_exeext
2491 echo "$as_me:$LINENO: result: $ac_file" >&5
2492 echo "${ECHO_T}$ac_file" >&6
2494 # Check the compiler produces executables we can run. If not, either
2495 # the compiler is broken, or we cross compile.
2496 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2497 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2498 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2499 # If not cross compiling, check that we can run a simple program.
2500 if test "$cross_compiling" != yes; then
2501 if { ac_try='./$ac_file'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2509 if test "$cross_compiling" = maybe; then
2512 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&5
2515 echo "$as_me: error: cannot run C++ compiled programs.
2516 If you meant to cross compile, use \`--host'.
2517 See \`config.log' for more details." >&2;}
2518 { (exit 1); exit 1; }; }
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2525 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2526 ac_clean_files=$ac_clean_files_save
2527 # Check the compiler produces executables we can run. If not, either
2528 # the compiler is broken, or we cross compile.
2529 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2530 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2531 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2532 echo "${ECHO_T}$cross_compiling" >&6
2534 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2535 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2537 (eval $ac_link) 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; then
2541 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2542 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2543 # work properly (i.e., refer to `conftest.exe'), while it won't with
2545 for ac_file in conftest.exe conftest conftest.*; do
2546 test -f "$ac_file" || continue
2548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2549 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2556 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2557 See \`config.log' for more details." >&5
2558 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&2;}
2560 { (exit 1); exit 1; }; }
2563 rm -f conftest$ac_cv_exeext
2564 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2565 echo "${ECHO_T}$ac_cv_exeext" >&6
2567 rm -f conftest.$ac_ext
2568 EXEEXT=$ac_cv_exeext
2570 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2571 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2572 if test "${ac_cv_objext+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 cat >conftest.$ac_ext <<_ACEOF
2576 #line $LINENO "configure"
2579 cat confdefs.h >>conftest.$ac_ext
2580 cat >>conftest.$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2591 rm -f conftest.o conftest.obj
2592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2593 (eval $ac_compile) 2>&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; then
2597 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2599 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2600 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2605 echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2608 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2609 See \`config.log' for more details." >&5
2610 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2611 See \`config.log' for more details." >&2;}
2612 { (exit 1); exit 1; }; }
2615 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2617 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2618 echo "${ECHO_T}$ac_cv_objext" >&6
2619 OBJEXT=$ac_cv_objext
2621 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2622 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2623 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 cat >conftest.$ac_ext <<_ACEOF
2627 #line $LINENO "configure"
2630 cat confdefs.h >>conftest.$ac_ext
2631 cat >>conftest.$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2645 rm -f conftest.$ac_objext
2646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647 (eval $ac_compile) 2>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try='test -s conftest.$ac_objext'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; }; then
2659 echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2664 rm -f conftest.$ac_objext conftest.$ac_ext
2665 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2668 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2669 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2670 GXX=`test $ac_compiler_gnu = yes && echo yes`
2671 ac_test_CXXFLAGS=${CXXFLAGS+set}
2672 ac_save_CXXFLAGS=$CXXFLAGS
2674 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2675 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2676 if test "${ac_cv_prog_cxx_g+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2679 cat >conftest.$ac_ext <<_ACEOF
2680 #line $LINENO "configure"
2683 cat confdefs.h >>conftest.$ac_ext
2684 cat >>conftest.$ac_ext <<_ACEOF
2685 /* end confdefs.h. */
2695 rm -f conftest.$ac_objext
2696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2697 (eval $ac_compile) 2>&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); } &&
2701 { ac_try='test -s conftest.$ac_objext'
2702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; }; then
2707 ac_cv_prog_cxx_g=yes
2709 echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2714 rm -f conftest.$ac_objext conftest.$ac_ext
2716 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2717 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2718 if test "$ac_test_CXXFLAGS" = set; then
2719 CXXFLAGS=$ac_save_CXXFLAGS
2720 elif test $ac_cv_prog_cxx_g = yes; then
2721 if test "$GXX" = yes; then
2727 if test "$GXX" = yes; then
2733 for ac_declaration in \
2735 '#include <stdlib.h>' \
2736 'extern "C" void std::exit (int) throw (); using std::exit;' \
2737 'extern "C" void std::exit (int); using std::exit;' \
2738 'extern "C" void exit (int) throw ();' \
2739 'extern "C" void exit (int);' \
2742 cat >conftest.$ac_ext <<_ACEOF
2743 #line $LINENO "configure"
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2759 rm -f conftest.$ac_objext
2760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2761 (eval $ac_compile) 2>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try='test -s conftest.$ac_objext'
2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; }; then
2773 echo "$as_me: failed program was:" >&5
2774 sed 's/^/| /' conftest.$ac_ext >&5
2778 rm -f conftest.$ac_objext conftest.$ac_ext
2779 cat >conftest.$ac_ext <<_ACEOF
2780 #line $LINENO "configure"
2783 cat confdefs.h >>conftest.$ac_ext
2784 cat >>conftest.$ac_ext <<_ACEOF
2785 /* end confdefs.h. */
2795 rm -f conftest.$ac_objext
2796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2797 (eval $ac_compile) 2>&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); } &&
2801 { ac_try='test -s conftest.$ac_objext'
2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }; }; then
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2813 rm -f conftest.$ac_objext conftest.$ac_ext
2816 if test -n "$ac_declaration"; then
2817 echo '#ifdef __cplusplus' >>confdefs.h
2818 echo $ac_declaration >>confdefs.h
2819 echo '#endif' >>confdefs.h
2823 ac_cpp='$CPP $CPPFLAGS'
2824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2829 ac_cpp='$CPP $CPPFLAGS'
2830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2833 if test -n "$ac_tool_prefix"; then
2836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2838 echo "$as_me:$LINENO: checking for $ac_word" >&5
2839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2840 if test "${ac_cv_prog_CC+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 if test -n "$CC"; then
2844 ac_cv_prog_CC="$CC" # Let the user override the test.
2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir=.
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 if test -n "$CC"; then
2864 echo "$as_me:$LINENO: result: $CC" >&5
2865 echo "${ECHO_T}$CC" >&6
2867 echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6
2871 test -n "$CC" && break
2874 if test -z "$CC"; then
2878 # Extract the first word of "$ac_prog", so it can be a program name with args.
2879 set dummy $ac_prog; ac_word=$2
2880 echo "$as_me:$LINENO: checking for $ac_word" >&5
2881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 if test -n "$ac_ct_CC"; then
2886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir=.
2893 for ac_exec_ext in '' $ac_executable_extensions; do
2894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2895 ac_cv_prog_ac_ct_CC="$ac_prog"
2896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2905 if test -n "$ac_ct_CC"; then
2906 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2907 echo "${ECHO_T}$ac_ct_CC" >&6
2909 echo "$as_me:$LINENO: result: no" >&5
2910 echo "${ECHO_T}no" >&6
2913 test -n "$ac_ct_CC" && break
2920 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2921 See \`config.log' for more details." >&5
2922 echo "$as_me: error: no acceptable C compiler found in \$PATH
2923 See \`config.log' for more details." >&2;}
2924 { (exit 1); exit 1; }; }
2926 # Provide some information about the compiler.
2927 echo "$as_me:$LINENO:" \
2928 "checking for C compiler version" >&5
2929 ac_compiler=`set X $ac_compile; echo $2`
2930 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2931 (eval $ac_compiler --version </dev/null >&5) 2>&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }
2935 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2936 (eval $ac_compiler -v </dev/null >&5) 2>&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }
2940 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2941 (eval $ac_compiler -V </dev/null >&5) 2>&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }
2946 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2947 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2948 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 cat >conftest.$ac_ext <<_ACEOF
2952 #line $LINENO "configure"
2955 cat confdefs.h >>conftest.$ac_ext
2956 cat >>conftest.$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2970 rm -f conftest.$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972 (eval $ac_compile) 2>&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); } &&
2976 { ac_try='test -s conftest.$ac_objext'
2977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; }; then
2984 echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f conftest.$ac_objext conftest.$ac_ext
2990 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2993 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2994 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2995 GCC=`test $ac_compiler_gnu = yes && echo yes`
2996 ac_test_CFLAGS=${CFLAGS+set}
2997 ac_save_CFLAGS=$CFLAGS
2999 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3000 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3001 if test "${ac_cv_prog_cc_g+set}" = set; then
3002 echo $ECHO_N "(cached) $ECHO_C" >&6
3004 cat >conftest.$ac_ext <<_ACEOF
3005 #line $LINENO "configure"
3008 cat confdefs.h >>conftest.$ac_ext
3009 cat >>conftest.$ac_ext <<_ACEOF
3010 /* end confdefs.h. */
3020 rm -f conftest.$ac_objext
3021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3022 (eval $ac_compile) 2>&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); } &&
3026 { ac_try='test -s conftest.$ac_objext'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; }; then
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3039 rm -f conftest.$ac_objext conftest.$ac_ext
3041 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3042 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3043 if test "$ac_test_CFLAGS" = set; then
3044 CFLAGS=$ac_save_CFLAGS
3045 elif test $ac_cv_prog_cc_g = yes; then
3046 if test "$GCC" = yes; then
3052 if test "$GCC" = yes; then
3058 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3059 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3060 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3063 ac_cv_prog_cc_stdc=no
3065 cat >conftest.$ac_ext <<_ACEOF
3066 #line $LINENO "configure"
3069 cat confdefs.h >>conftest.$ac_ext
3070 cat >>conftest.$ac_ext <<_ACEOF
3071 /* end confdefs.h. */
3074 #include <sys/types.h>
3075 #include <sys/stat.h>
3076 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3077 struct buf { int x; };
3078 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3079 static char *e (p, i)
3085 static char *f (char * (*g) (char **, int), char **p, ...)
3090 s = g (p, va_arg (v,int));
3094 int test (int i, double x);
3095 struct s1 {int (*f) (int a);};
3096 struct s2 {int (*f) (double a);};
3097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3103 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3108 # Don't try gcc -ansi; that turns off useful extensions and
3109 # breaks some systems' header files.
3110 # AIX -qlanglvl=ansi
3111 # Ultrix and OSF/1 -std1
3112 # HP-UX 10.20 and later -Ae
3113 # HP-UX older versions -Aa -D_HPUX_SOURCE
3114 # SVR4 -Xc -D__EXTENSIONS__
3115 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3117 CC="$ac_save_CC $ac_arg"
3118 rm -f conftest.$ac_objext
3119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3120 (eval $ac_compile) 2>&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); } &&
3124 { ac_try='test -s conftest.$ac_objext'
3125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; }; then
3130 ac_cv_prog_cc_stdc=$ac_arg
3133 echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3137 rm -f conftest.$ac_objext
3139 rm -f conftest.$ac_ext conftest.$ac_objext
3144 case "x$ac_cv_prog_cc_stdc" in
3146 echo "$as_me:$LINENO: result: none needed" >&5
3147 echo "${ECHO_T}none needed" >&6 ;;
3149 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3150 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3151 CC="$CC $ac_cv_prog_cc_stdc" ;;
3154 # Some people use a C++ compiler to compile C. Since we use `exit',
3155 # in C++ we need to declare it. In case someone uses the same compiler
3156 # for both compiling C and C++ we need to have the C++ compiler decide
3157 # the declaration of exit, since it's the most demanding environment.
3158 cat >conftest.$ac_ext <<_ACEOF
3163 rm -f conftest.$ac_objext
3164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3165 (eval $ac_compile) 2>&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); } &&
3169 { ac_try='test -s conftest.$ac_objext'
3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; }; then
3175 for ac_declaration in \
3177 '#include <stdlib.h>' \
3178 'extern "C" void std::exit (int) throw (); using std::exit;' \
3179 'extern "C" void std::exit (int); using std::exit;' \
3180 'extern "C" void exit (int) throw ();' \
3181 'extern "C" void exit (int);' \
3184 cat >conftest.$ac_ext <<_ACEOF
3185 #line $LINENO "configure"
3188 cat confdefs.h >>conftest.$ac_ext
3189 cat >>conftest.$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3201 rm -f conftest.$ac_objext
3202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3203 (eval $ac_compile) 2>&5
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); } &&
3207 { ac_try='test -s conftest.$ac_objext'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; }; then
3215 echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3220 rm -f conftest.$ac_objext conftest.$ac_ext
3221 cat >conftest.$ac_ext <<_ACEOF
3222 #line $LINENO "configure"
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3237 rm -f conftest.$ac_objext
3238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3239 (eval $ac_compile) 2>&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try='test -s conftest.$ac_objext'
3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; }; then
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3255 rm -f conftest.$ac_objext conftest.$ac_ext
3258 if test -n "$ac_declaration"; then
3259 echo '#ifdef __cplusplus' >>confdefs.h
3260 echo $ac_declaration >>confdefs.h
3261 echo '#endif' >>confdefs.h
3265 echo "$as_me: failed program was:" >&5
3266 sed 's/^/| /' conftest.$ac_ext >&5
3269 rm -f conftest.$ac_objext conftest.$ac_ext
3271 ac_cpp='$CPP $CPPFLAGS'
3272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3277 ac_cpp='$CPP $CPPFLAGS'
3278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3281 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3282 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3283 # On Suns, sometimes $CPP names a directory.
3284 if test -n "$CPP" && test -d "$CPP"; then
3287 if test -z "$CPP"; then
3288 if test "${ac_cv_prog_CPP+set}" = set; then
3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 # Double quotes because CPP needs to be expanded
3292 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3295 for ac_c_preproc_warn_flag in '' yes
3297 # Use a header file that comes with gcc, so configuring glibc
3298 # with a fresh cross-compiler works.
3299 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3300 # <limits.h> exists even on freestanding compilers.
3301 # On the NeXT, cc -E runs the code through the compiler's parser,
3302 # not just through cpp. "Syntax error" is here to catch this case.
3303 cat >conftest.$ac_ext <<_ACEOF
3304 #line $LINENO "configure"
3307 cat confdefs.h >>conftest.$ac_ext
3308 cat >>conftest.$ac_ext <<_ACEOF
3309 /* end confdefs.h. */
3311 # include <limits.h>
3313 # include <assert.h>
3317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3320 grep -v '^ *+' conftest.er1 >conftest.err
3322 cat conftest.err >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); } >/dev/null; then
3325 if test -s conftest.err; then
3326 ac_cpp_err=$ac_c_preproc_warn_flag
3333 if test -z "$ac_cpp_err"; then
3336 echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3339 # Broken: fails on valid input.
3342 rm -f conftest.err conftest.$ac_ext
3344 # OK, works on sane cases. Now check whether non-existent headers
3345 # can be detected and how.
3346 cat >conftest.$ac_ext <<_ACEOF
3347 #line $LINENO "configure"
3350 cat confdefs.h >>conftest.$ac_ext
3351 cat >>conftest.$ac_ext <<_ACEOF
3352 /* end confdefs.h. */
3353 #include <ac_nonexistent.h>
3355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3358 grep -v '^ *+' conftest.er1 >conftest.err
3360 cat conftest.err >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); } >/dev/null; then
3363 if test -s conftest.err; then
3364 ac_cpp_err=$ac_c_preproc_warn_flag
3371 if test -z "$ac_cpp_err"; then
3372 # Broken: success on invalid input.
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.$ac_ext >&5
3378 # Passes both tests.
3382 rm -f conftest.err conftest.$ac_ext
3385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3386 rm -f conftest.err conftest.$ac_ext
3387 if $ac_preproc_ok; then
3399 echo "$as_me:$LINENO: result: $CPP" >&5
3400 echo "${ECHO_T}$CPP" >&6
3402 for ac_c_preproc_warn_flag in '' yes
3404 # Use a header file that comes with gcc, so configuring glibc
3405 # with a fresh cross-compiler works.
3406 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3407 # <limits.h> exists even on freestanding compilers.
3408 # On the NeXT, cc -E runs the code through the compiler's parser,
3409 # not just through cpp. "Syntax error" is here to catch this case.
3410 cat >conftest.$ac_ext <<_ACEOF
3411 #line $LINENO "configure"
3414 cat confdefs.h >>conftest.$ac_ext
3415 cat >>conftest.$ac_ext <<_ACEOF
3416 /* end confdefs.h. */
3418 # include <limits.h>
3420 # include <assert.h>
3424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3425 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3427 grep -v '^ *+' conftest.er1 >conftest.err
3429 cat conftest.err >&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); } >/dev/null; then
3432 if test -s conftest.err; then
3433 ac_cpp_err=$ac_c_preproc_warn_flag
3440 if test -z "$ac_cpp_err"; then
3443 echo "$as_me: failed program was:" >&5
3444 sed 's/^/| /' conftest.$ac_ext >&5
3446 # Broken: fails on valid input.
3449 rm -f conftest.err conftest.$ac_ext
3451 # OK, works on sane cases. Now check whether non-existent headers
3452 # can be detected and how.
3453 cat >conftest.$ac_ext <<_ACEOF
3454 #line $LINENO "configure"
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3460 #include <ac_nonexistent.h>
3462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3465 grep -v '^ *+' conftest.er1 >conftest.err
3467 cat conftest.err >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } >/dev/null; then
3470 if test -s conftest.err; then
3471 ac_cpp_err=$ac_c_preproc_warn_flag
3478 if test -z "$ac_cpp_err"; then
3479 # Broken: success on invalid input.
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3485 # Passes both tests.
3489 rm -f conftest.err conftest.$ac_ext
3492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3493 rm -f conftest.err conftest.$ac_ext
3494 if $ac_preproc_ok; then
3497 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3498 See \`config.log' for more details." >&5
3499 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3500 See \`config.log' for more details." >&2;}
3501 { (exit 1); exit 1; }; }
3505 ac_cpp='$CPP $CPPFLAGS'
3506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3511 if test "$GCC" != "yes"
3513 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3514 echo "$as_me: error: gcc required but not found" >&2;}
3515 { (exit 1); exit 1; }; }
3518 if test "$GXX" != "yes"
3520 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3521 echo "$as_me: error: g++ required but not found" >&2;}
3522 { (exit 1); exit 1; }; }
3525 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3526 if test "$gccmajor" -lt "3"
3528 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3529 echo "$as_me: error: gcc 3.x required" >&2;}
3530 { (exit 1); exit 1; }; }
3533 echo "$as_me:$LINENO: checking for GNU make" >&5
3534 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3535 if test "${_cv_gnu_make_command+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 _cv_gnu_make_command='' ;
3539 for a in "$MAKE" make gmake gnumake ; do
3540 if test -z "$a" ; then continue ; fi ;
3541 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3542 _cv_gnu_make_command=$a ;
3548 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3549 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3550 if test "x$_cv_gnu_make_command" != "x" ; then
3554 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3555 echo "${ECHO_T}\"Not found\"" >&6;
3559 if test -z "$_cv_gnu_make_command"
3561 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3562 echo "$as_me: error: GNU Make required but not found" >&2;}
3563 { (exit 1); exit 1; }; }
3567 echo "$as_me:$LINENO: checking " >&5
3568 echo $ECHO_N "checking ... $ECHO_C" >&6
3569 if test "${ac_cv_has_flex+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 for ac_prog in flex lex
3574 # Extract the first word of "$ac_prog", so it can be a program name with args.
3575 set dummy $ac_prog; ac_word=$2
3576 echo "$as_me:$LINENO: checking for $ac_word" >&5
3577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3578 if test "${ac_cv_prog_LEX+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 if test -n "$LEX"; then
3582 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 test -z "$as_dir" && as_dir=.
3589 for ac_exec_ext in '' $ac_executable_extensions; do
3590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3591 ac_cv_prog_LEX="$ac_prog"
3592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 if test -n "$LEX"; then
3602 echo "$as_me:$LINENO: result: $LEX" >&5
3603 echo "${ECHO_T}$LEX" >&6
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3609 test -n "$LEX" && break
3611 test -n "$LEX" || LEX=":"
3613 if test -z "$LEXLIB"
3615 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3616 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3617 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3618 echo $ECHO_N "(cached) $ECHO_C" >&6
3620 ac_check_lib_save_LIBS=$LIBS
3622 cat >conftest.$ac_ext <<_ACEOF
3623 #line $LINENO "configure"
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3630 /* Override any gcc2 internal prototype to avoid an error. */
3634 /* We use char because int might match the return type of a gcc2
3635 builtin and then its argument prototype would still apply. */
3645 rm -f conftest.$ac_objext conftest$ac_exeext
3646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3647 (eval $ac_link) 2>&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); } &&
3651 { ac_try='test -s conftest$ac_exeext'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; }; then
3657 ac_cv_lib_fl_yywrap=yes
3659 echo "$as_me: failed program was:" >&5
3660 sed 's/^/| /' conftest.$ac_ext >&5
3662 ac_cv_lib_fl_yywrap=no
3664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3665 LIBS=$ac_check_lib_save_LIBS
3667 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3668 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3669 if test $ac_cv_lib_fl_yywrap = yes; then
3672 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3673 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3674 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 ac_check_lib_save_LIBS=$LIBS
3679 cat >conftest.$ac_ext <<_ACEOF
3680 #line $LINENO "configure"
3683 cat confdefs.h >>conftest.$ac_ext
3684 cat >>conftest.$ac_ext <<_ACEOF
3685 /* end confdefs.h. */
3687 /* Override any gcc2 internal prototype to avoid an error. */
3691 /* We use char because int might match the return type of a gcc2
3692 builtin and then its argument prototype would still apply. */
3702 rm -f conftest.$ac_objext conftest$ac_exeext
3703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3704 (eval $ac_link) 2>&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); } &&
3708 { ac_try='test -s conftest$ac_exeext'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; }; then
3714 ac_cv_lib_l_yywrap=yes
3716 echo "$as_me: failed program was:" >&5
3717 sed 's/^/| /' conftest.$ac_ext >&5
3719 ac_cv_lib_l_yywrap=no
3721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3722 LIBS=$ac_check_lib_save_LIBS
3724 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3725 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3726 if test $ac_cv_lib_l_yywrap = yes; then
3734 if test "x$LEX" != "x:"; then
3735 echo "$as_me:$LINENO: checking lex output file root" >&5
3736 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3737 if test "${ac_cv_prog_lex_root+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3740 # The minimal lex program is just a single line: %%. But some broken lexes
3741 # (Solaris, I think it was) want two %% lines, so accommodate them.
3742 cat >conftest.l <<_ACEOF
3746 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3747 (eval $LEX conftest.l) 2>&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); }
3751 if test -f lex.yy.c; then
3752 ac_cv_prog_lex_root=lex.yy
3753 elif test -f lexyy.c; then
3754 ac_cv_prog_lex_root=lexyy
3756 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3757 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3758 { (exit 1); exit 1; }; }
3761 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3762 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3764 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3766 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3767 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3768 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 # POSIX says lex can declare yytext either as a pointer or an array; the
3772 # default is implementation-dependent. Figure out which it is, since
3773 # not all implementations provide the %pointer and %array declarations.
3774 ac_cv_prog_lex_yytext_pointer=no
3775 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3777 LIBS="$LIBS $LEXLIB"
3778 cat >conftest.$ac_ext <<_ACEOF
3779 `cat $LEX_OUTPUT_ROOT.c`
3781 rm -f conftest.$ac_objext conftest$ac_exeext
3782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3783 (eval $ac_link) 2>&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); } &&
3787 { ac_try='test -s conftest$ac_exeext'
3788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); }; }; then
3793 ac_cv_prog_lex_yytext_pointer=yes
3795 echo "$as_me: failed program was:" >&5
3796 sed 's/^/| /' conftest.$ac_ext >&5
3799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3801 rm -f "${LEX_OUTPUT_ROOT}.c"
3804 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3805 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3806 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3808 cat >>confdefs.h <<\_ACEOF
3809 #define YYTEXT_POINTER 1
3817 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3818 echo "${ECHO_T}$ac_cv_has_flex" >&6
3819 if test "$LEX" != "flex"; then
3820 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3821 echo "$as_me: error: flex not found but required" >&2;}
3822 { (exit 1); exit 1; }; }
3825 echo "$as_me:$LINENO: checking " >&5
3826 echo $ECHO_N "checking ... $ECHO_C" >&6
3827 if test "${ac_cv_has_bison+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 for ac_prog in 'bison -y' byacc
3832 # Extract the first word of "$ac_prog", so it can be a program name with args.
3833 set dummy $ac_prog; ac_word=$2
3834 echo "$as_me:$LINENO: checking for $ac_word" >&5
3835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3836 if test "${ac_cv_prog_YACC+set}" = set; then
3837 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 if test -n "$YACC"; then
3840 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3849 ac_cv_prog_YACC="$ac_prog"
3850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 YACC=$ac_cv_prog_YACC
3859 if test -n "$YACC"; then
3860 echo "$as_me:$LINENO: result: $YACC" >&5
3861 echo "${ECHO_T}$YACC" >&6
3863 echo "$as_me:$LINENO: result: no" >&5
3864 echo "${ECHO_T}no" >&6
3867 test -n "$YACC" && break
3869 test -n "$YACC" || YACC="yacc"
3873 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3874 echo "${ECHO_T}$ac_cv_has_bison" >&6
3875 if test "$YACC" != "bison -y"; then
3876 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3877 echo "$as_me: error: bison not found but required" >&2;}
3878 { (exit 1); exit 1; }; }
3885 # Check whether --enable-shared or --disable-shared was given.
3886 if test "${enable_shared+set}" = set; then
3887 enableval="$enable_shared"
3888 p=${PACKAGE-default}
3890 yes) enable_shared=yes ;;
3891 no) enable_shared=no ;;
3894 # Look at the argument we got. We use all the common list separators.
3895 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3896 for pkg in $enableval; do
3898 if test "X$pkg" = "X$p"; then
3909 # Check whether --enable-static or --disable-static was given.
3910 if test "${enable_static+set}" = set; then
3911 enableval="$enable_static"
3912 p=${PACKAGE-default}
3914 yes) enable_static=yes ;;
3915 no) enable_static=no ;;
3918 # Look at the argument we got. We use all the common list separators.
3919 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3920 for pkg in $enableval; do
3922 if test "X$pkg" = "X$p"; then
3933 # Check whether --enable-fast-install or --disable-fast-install was given.
3934 if test "${enable_fast_install+set}" = set; then
3935 enableval="$enable_fast_install"
3936 p=${PACKAGE-default}
3938 yes) enable_fast_install=yes ;;
3939 no) enable_fast_install=no ;;
3941 enable_fast_install=no
3942 # Look at the argument we got. We use all the common list separators.
3943 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3944 for pkg in $enableval; do
3946 if test "X$pkg" = "X$p"; then
3947 enable_fast_install=yes
3954 enable_fast_install=yes
3957 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3958 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3959 if test "${lt_cv_path_SED+set}" = set; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6
3962 # Loop through the user's path and test for sed and gsed.
3963 # Then use that list of sed's as ones to test for truncation.
3964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968 test -z "$as_dir" && as_dir=.
3969 for lt_ac_prog in sed gsed; do
3970 for ac_exec_ext in '' $ac_executable_extensions; do
3971 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3972 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3979 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3980 # along with /bin/sed that truncates output.
3981 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3982 test ! -f $lt_ac_sed && break
3983 cat /dev/null > conftest.in
3985 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3986 # Check for GNU sed and select it if it is found.
3987 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3988 lt_cv_path_SED=$lt_ac_sed
3992 cat conftest.in conftest.in >conftest.tmp
3993 mv conftest.tmp conftest.in
3994 cp conftest.in conftest.nl
3996 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3997 cmp -s conftest.out conftest.nl || break
3998 # 10000 chars as input seems more than enough
3999 test $lt_ac_count -gt 10 && break
4000 lt_ac_count=`expr $lt_ac_count + 1`
4001 if test $lt_ac_count -gt $lt_ac_max; then
4002 lt_ac_max=$lt_ac_count
4003 lt_cv_path_SED=$lt_ac_sed
4011 echo "$as_me:$LINENO: result: $SED" >&5
4012 echo "${ECHO_T}$SED" >&6
4014 echo "$as_me:$LINENO: checking for egrep" >&5
4015 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4016 if test "${ac_cv_prog_egrep+set}" = set; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4019 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4020 then ac_cv_prog_egrep='grep -E'
4021 else ac_cv_prog_egrep='egrep'
4024 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4025 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4026 EGREP=$ac_cv_prog_egrep
4030 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4031 if test "${with_gnu_ld+set}" = set; then
4032 withval="$with_gnu_ld"
4033 test "$withval" = no || with_gnu_ld=yes
4038 if test "$GCC" = yes; then
4039 # Check if gcc -print-prog-name=ld gives a path.
4040 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4041 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4044 # gcc leaves a trailing carriage return which upsets mingw
4045 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4047 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4050 # Accept absolute paths.
4052 re_direlt='/[^/][^/]*/\.\./'
4053 # Canonicalize the path of ld
4054 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4055 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4056 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4058 test -z "$LD" && LD="$ac_prog"
4061 # If it fails, then pretend we aren't using GCC.
4065 # If it is relative, then search for the first ld in PATH.
4069 elif test "$with_gnu_ld" = yes; then
4070 echo "$as_me:$LINENO: checking for GNU ld" >&5
4071 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4073 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4074 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4076 if test "${lt_cv_path_LD+set}" = set; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 if test -z "$LD"; then
4080 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4081 for ac_dir in $PATH; do
4083 test -z "$ac_dir" && ac_dir=.
4084 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4085 lt_cv_path_LD="$ac_dir/$ac_prog"
4086 # Check to see if the program is GNU ld. I'd rather use --version,
4087 # but apparently some GNU ld's only accept -v.
4088 # Break only if it was the GNU/non-GNU ld that we prefer.
4089 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4090 *GNU* | *'with BFD'*)
4091 test "$with_gnu_ld" != no && break
4094 test "$with_gnu_ld" != yes && break
4101 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4106 if test -n "$LD"; then
4107 echo "$as_me:$LINENO: result: $LD" >&5
4108 echo "${ECHO_T}$LD" >&6
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4113 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4114 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4115 { (exit 1); exit 1; }; }
4116 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4117 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4118 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4119 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4122 case `"$LD" -v 2>&1 </dev/null` in
4123 *GNU* | *'with BFD'*)
4124 lt_cv_prog_gnu_ld=yes
4127 lt_cv_prog_gnu_ld=no
4131 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4132 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4133 with_gnu_ld=$lt_cv_prog_gnu_ld
4136 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4137 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4138 if test "${lt_cv_ld_reload_flag+set}" = set; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 lt_cv_ld_reload_flag='-r'
4143 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4144 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4145 reload_flag=$lt_cv_ld_reload_flag
4146 case $reload_flag in
4148 *) reload_flag=" $reload_flag" ;;
4150 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4152 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4153 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4154 if test "${lt_cv_path_NM+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 if test -n "$NM"; then
4158 # Let the user override the test.
4161 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4162 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4164 test -z "$ac_dir" && ac_dir=.
4165 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4166 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4167 # Check to see if the nm accepts a BSD-compat flag.
4168 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4169 # nm: unknown option "B" ignored
4170 # Tru64's nm complains that /dev/null is an invalid object file
4171 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4172 */dev/null* | *'Invalid file or object type'*)
4173 lt_cv_path_NM="$tmp_nm -B"
4177 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4179 lt_cv_path_NM="$tmp_nm -p"
4183 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4184 continue # so that we can try to find one that supports BSD flags
4191 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4194 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4195 echo "${ECHO_T}$lt_cv_path_NM" >&6
4198 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4199 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4201 if test "$LN_S" = "ln -s"; then
4202 echo "$as_me:$LINENO: result: yes" >&5
4203 echo "${ECHO_T}yes" >&6
4205 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4206 echo "${ECHO_T}no, using $LN_S" >&6
4209 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4210 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4211 if test "${lt_cv_deplibs_check_method+set}" = set; then
4212 echo $ECHO_N "(cached) $ECHO_C" >&6
4214 lt_cv_file_magic_cmd='$MAGIC_CMD'
4215 lt_cv_file_magic_test_file=
4216 lt_cv_deplibs_check_method='unknown'
4217 # Need to set the preceding variable on all platforms that support
4218 # interlibrary dependencies.
4219 # 'none' -- dependencies not supported.
4220 # `unknown' -- same as none, but documents that we really don't know.
4221 # 'pass_all' -- all dependencies passed with no checks.
4222 # 'test_compile' -- check by making test program.
4223 # 'file_magic [[regex]]' -- check by looking for files in library path
4224 # which responds to the $file_magic_cmd with a given extended regex.
4225 # If you have `file' or equivalent on your system and you're not sure
4226 # whether `pass_all' will *always* work, you probably want this one.
4230 lt_cv_deplibs_check_method=pass_all
4234 lt_cv_deplibs_check_method=pass_all
4238 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4239 lt_cv_file_magic_cmd='/usr/bin/file -L'
4240 lt_cv_file_magic_test_file=/shlib/libc.so
4243 cygwin* | mingw* | pw32*)
4244 # win32_libid is a shell function defined in ltmain.sh
4245 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4246 lt_cv_file_magic_cmd='win32_libid'
4249 darwin* | rhapsody*)
4250 # this will be overwritten by pass_all, but leave it in just in case
4251 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4252 lt_cv_file_magic_cmd='/usr/bin/file -L'
4254 rhapsody* | darwin1.[012])
4255 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4258 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4261 lt_cv_deplibs_check_method=pass_all
4265 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4268 # Not sure whether the presence of OpenBSD here was a mistake.
4269 # Let's accept both of them until this is cleared up.
4270 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4271 lt_cv_file_magic_cmd=/usr/bin/file
4272 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4276 lt_cv_deplibs_check_method=pass_all
4281 lt_cv_deplibs_check_method=pass_all
4284 hpux10.20* | hpux11*)
4285 lt_cv_file_magic_cmd=/usr/bin/file
4288 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4289 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4292 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]'
4293 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4296 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4297 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4302 irix5* | irix6* | nonstopux*)
4304 irix5* | nonstopux*)
4305 # this will be overridden with pass_all, but let us keep it just in case
4306 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4310 *-32|*"-32 ") libmagic=32-bit;;
4311 *-n32|*"-n32 ") libmagic=N32;;
4312 *-64|*"-64 ") libmagic=64-bit;;
4313 *) libmagic=never-match;;
4315 # this will be overridden with pass_all, but let us keep it just in case
4316 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4319 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4320 lt_cv_deplibs_check_method=pass_all
4323 # This must be Linux ELF.
4326 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4327 lt_cv_deplibs_check_method=pass_all ;;
4329 # glibc up to 2.1.1 does not perform some relocations on ARM
4330 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4332 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4336 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4339 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4344 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4345 lt_cv_file_magic_cmd=/usr/bin/file
4346 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4350 lt_cv_deplibs_check_method=unknown
4354 lt_cv_file_magic_cmd=/usr/bin/file
4355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4356 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4357 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4359 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4363 osf3* | osf4* | osf5*)
4364 # this will be overridden with pass_all, but let us keep it just in case
4365 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4366 lt_cv_file_magic_test_file=/shlib/libc.so
4367 lt_cv_deplibs_check_method=pass_all
4371 lt_cv_deplibs_check_method=pass_all
4375 lt_cv_deplibs_check_method=pass_all
4376 lt_cv_file_magic_test_file=/lib/libc.so
4379 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4380 case $host_vendor in
4382 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]'
4383 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4386 lt_cv_deplibs_check_method=pass_all
4389 lt_cv_file_magic_cmd='/bin/file'
4390 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4393 lt_cv_file_magic_cmd='/bin/file'
4394 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4395 lt_cv_file_magic_test_file=/lib/libc.so
4398 lt_cv_deplibs_check_method=pass_all
4403 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4404 lt_cv_deplibs_check_method=pass_all
4409 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4410 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4411 file_magic_cmd=$lt_cv_file_magic_cmd
4412 deplibs_check_method=$lt_cv_deplibs_check_method
4413 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4418 # If no C compiler was specified, use CC.
4421 # Allow CC to be a program name with arguments.
4424 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4425 if test "${enable_libtool_lock+set}" = set; then
4426 enableval="$enable_libtool_lock"
4429 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4431 # Some flags need to be propagated to the compiler or linker for good
4435 # Find out which ABI we are using.
4436 echo 'int i;' > conftest.$ac_ext
4437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4438 (eval $ac_compile) 2>&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); }; then
4442 case `/usr/bin/file conftest.$ac_objext` in
4454 # Find out which ABI we are using.
4455 echo '#line 4455 "configure"' > conftest.$ac_ext
4456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4457 (eval $ac_compile) 2>&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; then
4461 if test "$lt_cv_prog_gnu_ld" = yes; then
4462 case `/usr/bin/file conftest.$ac_objext` in
4464 LD="${LD-ld} -melf32bsmip"
4467 LD="${LD-ld} -melf32bmipn32"
4470 LD="${LD-ld} -melf64bmip"
4474 case `/usr/bin/file conftest.$ac_objext` in
4490 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4491 # Find out which ABI we are using.
4492 echo 'int i;' > conftest.$ac_ext
4493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4494 (eval $ac_compile) 2>&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); }; then
4498 case "`/usr/bin/file conftest.o`" in
4502 LD="${LD-ld} -m elf_i386"
4505 LD="${LD-ld} -m elf32ppclinux"
4508 LD="${LD-ld} -m elf_s390"
4511 LD="${LD-ld} -m elf32_sparc"
4518 LD="${LD-ld} -m elf_x86_64"
4520 ppc*-*linux*|powerpc*-*linux*)
4521 LD="${LD-ld} -m elf64ppc"
4524 LD="${LD-ld} -m elf64_s390"
4527 LD="${LD-ld} -m elf64_sparc"
4537 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4538 SAVE_CFLAGS="$CFLAGS"
4539 CFLAGS="$CFLAGS -belf"
4540 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4541 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4542 if test "${lt_cv_cc_needs_belf+set}" = set; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4546 ac_cpp='$CPP $CPPFLAGS'
4547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4551 cat >conftest.$ac_ext <<_ACEOF
4552 #line $LINENO "configure"
4555 cat confdefs.h >>conftest.$ac_ext
4556 cat >>conftest.$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4567 rm -f conftest.$ac_objext conftest$ac_exeext
4568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4569 (eval $ac_link) 2>&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } &&
4573 { ac_try='test -s conftest$ac_exeext'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; }; then
4579 lt_cv_cc_needs_belf=yes
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.$ac_ext >&5
4584 lt_cv_cc_needs_belf=no
4586 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4595 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4596 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4597 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4598 CFLAGS="$SAVE_CFLAGS"
4604 need_locks="$enable_libtool_lock"
4608 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4609 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4610 if test "${ac_cv_header_stdc+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 cat >conftest.$ac_ext <<_ACEOF
4614 #line $LINENO "configure"
4617 cat confdefs.h >>conftest.$ac_ext
4618 cat >>conftest.$ac_ext <<_ACEOF
4619 /* end confdefs.h. */
4633 rm -f conftest.$ac_objext
4634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4635 (eval $ac_compile) 2>&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); } &&
4639 { ac_try='test -s conftest.$ac_objext'
4640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }; }; then
4645 ac_cv_header_stdc=yes
4647 echo "$as_me: failed program was:" >&5
4648 sed 's/^/| /' conftest.$ac_ext >&5
4650 ac_cv_header_stdc=no
4652 rm -f conftest.$ac_objext conftest.$ac_ext
4654 if test $ac_cv_header_stdc = yes; then
4655 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4656 cat >conftest.$ac_ext <<_ACEOF
4657 #line $LINENO "configure"
4660 cat confdefs.h >>conftest.$ac_ext
4661 cat >>conftest.$ac_ext <<_ACEOF
4662 /* end confdefs.h. */
4666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4667 $EGREP "memchr" >/dev/null 2>&1; then
4670 ac_cv_header_stdc=no
4676 if test $ac_cv_header_stdc = yes; then
4677 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4678 cat >conftest.$ac_ext <<_ACEOF
4679 #line $LINENO "configure"
4682 cat confdefs.h >>conftest.$ac_ext
4683 cat >>conftest.$ac_ext <<_ACEOF
4684 /* end confdefs.h. */
4688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4689 $EGREP "free" >/dev/null 2>&1; then
4692 ac_cv_header_stdc=no
4698 if test $ac_cv_header_stdc = yes; then
4699 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4700 if test "$cross_compiling" = yes; then
4703 cat >conftest.$ac_ext <<_ACEOF
4704 #line $LINENO "configure"
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4711 #if ((' ' & 0x0FF) == 0x020)
4712 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4713 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4715 # define ISLOWER(c) \
4716 (('a' <= (c) && (c) <= 'i') \
4717 || ('j' <= (c) && (c) <= 'r') \
4718 || ('s' <= (c) && (c) <= 'z'))
4719 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4722 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4727 for (i = 0; i < 256; i++)
4728 if (XOR (islower (i), ISLOWER (i))
4729 || toupper (i) != TOUPPER (i))
4734 rm -f conftest$ac_exeext
4735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4736 (eval $ac_link) 2>&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }; }; then
4747 echo "$as_me: program exited with status $ac_status" >&5
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4752 ac_cv_header_stdc=no
4754 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4758 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4759 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4760 if test $ac_cv_header_stdc = yes; then
4762 cat >>confdefs.h <<\_ACEOF
4763 #define STDC_HEADERS 1
4768 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4778 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4779 inttypes.h stdint.h unistd.h
4781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4782 echo "$as_me:$LINENO: checking for $ac_header" >&5
4783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4785 echo $ECHO_N "(cached) $ECHO_C" >&6
4787 cat >conftest.$ac_ext <<_ACEOF
4788 #line $LINENO "configure"
4791 cat confdefs.h >>conftest.$ac_ext
4792 cat >>conftest.$ac_ext <<_ACEOF
4793 /* end confdefs.h. */
4794 $ac_includes_default
4796 #include <$ac_header>
4798 rm -f conftest.$ac_objext
4799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4800 (eval $ac_compile) 2>&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); } &&
4804 { ac_try='test -s conftest.$ac_objext'
4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; }; then
4810 eval "$as_ac_Header=yes"
4812 echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.$ac_ext >&5
4815 eval "$as_ac_Header=no"
4817 rm -f conftest.$ac_objext conftest.$ac_ext
4819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4822 cat >>confdefs.h <<_ACEOF
4823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4832 for ac_header in dlfcn.h
4834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4836 echo "$as_me:$LINENO: checking for $ac_header" >&5
4837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4844 # Is the header compilable?
4845 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4846 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4847 cat >conftest.$ac_ext <<_ACEOF
4848 #line $LINENO "configure"
4851 cat confdefs.h >>conftest.$ac_ext
4852 cat >>conftest.$ac_ext <<_ACEOF
4853 /* end confdefs.h. */
4854 $ac_includes_default
4855 #include <$ac_header>
4857 rm -f conftest.$ac_objext
4858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4859 (eval $ac_compile) 2>&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); } &&
4863 { ac_try='test -s conftest.$ac_objext'
4864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; }; then
4869 ac_header_compiler=yes
4871 echo "$as_me: failed program was:" >&5
4872 sed 's/^/| /' conftest.$ac_ext >&5
4874 ac_header_compiler=no
4876 rm -f conftest.$ac_objext conftest.$ac_ext
4877 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4878 echo "${ECHO_T}$ac_header_compiler" >&6
4880 # Is the header present?
4881 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4882 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4883 cat >conftest.$ac_ext <<_ACEOF
4884 #line $LINENO "configure"
4887 cat confdefs.h >>conftest.$ac_ext
4888 cat >>conftest.$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4890 #include <$ac_header>
4892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4895 grep -v '^ *+' conftest.er1 >conftest.err
4897 cat conftest.err >&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); } >/dev/null; then
4900 if test -s conftest.err; then
4901 ac_cpp_err=$ac_c_preproc_warn_flag
4908 if test -z "$ac_cpp_err"; then
4909 ac_header_preproc=yes
4911 echo "$as_me: failed program was:" >&5
4912 sed 's/^/| /' conftest.$ac_ext >&5
4914 ac_header_preproc=no
4916 rm -f conftest.err conftest.$ac_ext
4917 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4918 echo "${ECHO_T}$ac_header_preproc" >&6
4920 # So? What about this header?
4921 case $ac_header_compiler:$ac_header_preproc in
4923 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4924 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4929 ## ------------------------------------ ##
4930 ## Report this to bug-autoconf@gnu.org. ##
4931 ## ------------------------------------ ##
4934 sed "s/^/$as_me: WARNING: /" >&2
4937 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4939 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4940 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4945 ## ------------------------------------ ##
4946 ## Report this to bug-autoconf@gnu.org. ##
4947 ## ------------------------------------ ##
4950 sed "s/^/$as_me: WARNING: /" >&2
4953 echo "$as_me:$LINENO: checking for $ac_header" >&5
4954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4956 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 eval "$as_ac_Header=$ac_header_preproc"
4960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4965 cat >>confdefs.h <<_ACEOF
4966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4974 ac_cpp='$CXXCPP $CPPFLAGS'
4975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4978 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4979 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4980 if test -z "$CXXCPP"; then
4981 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4982 echo $ECHO_N "(cached) $ECHO_C" >&6
4984 # Double quotes because CXXCPP needs to be expanded
4985 for CXXCPP in "$CXX -E" "/lib/cpp"
4988 for ac_cxx_preproc_warn_flag in '' yes
4990 # Use a header file that comes with gcc, so configuring glibc
4991 # with a fresh cross-compiler works.
4992 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4993 # <limits.h> exists even on freestanding compilers.
4994 # On the NeXT, cc -E runs the code through the compiler's parser,
4995 # not just through cpp. "Syntax error" is here to catch this case.
4996 cat >conftest.$ac_ext <<_ACEOF
4997 #line $LINENO "configure"
5000 cat confdefs.h >>conftest.$ac_ext
5001 cat >>conftest.$ac_ext <<_ACEOF
5002 /* end confdefs.h. */
5004 # include <limits.h>
5006 # include <assert.h>
5010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5013 grep -v '^ *+' conftest.er1 >conftest.err
5015 cat conftest.err >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } >/dev/null; then
5018 if test -s conftest.err; then
5019 ac_cpp_err=$ac_cxx_preproc_warn_flag
5026 if test -z "$ac_cpp_err"; then
5029 echo "$as_me: failed program was:" >&5
5030 sed 's/^/| /' conftest.$ac_ext >&5
5032 # Broken: fails on valid input.
5035 rm -f conftest.err conftest.$ac_ext
5037 # OK, works on sane cases. Now check whether non-existent headers
5038 # can be detected and how.
5039 cat >conftest.$ac_ext <<_ACEOF
5040 #line $LINENO "configure"
5043 cat confdefs.h >>conftest.$ac_ext
5044 cat >>conftest.$ac_ext <<_ACEOF
5045 /* end confdefs.h. */
5046 #include <ac_nonexistent.h>
5048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5051 grep -v '^ *+' conftest.er1 >conftest.err
5053 cat conftest.err >&5
5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055 (exit $ac_status); } >/dev/null; then
5056 if test -s conftest.err; then
5057 ac_cpp_err=$ac_cxx_preproc_warn_flag
5064 if test -z "$ac_cpp_err"; then
5065 # Broken: success on invalid input.
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.$ac_ext >&5
5071 # Passes both tests.
5075 rm -f conftest.err conftest.$ac_ext
5078 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5079 rm -f conftest.err conftest.$ac_ext
5080 if $ac_preproc_ok; then
5085 ac_cv_prog_CXXCPP=$CXXCPP
5088 CXXCPP=$ac_cv_prog_CXXCPP
5090 ac_cv_prog_CXXCPP=$CXXCPP
5092 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5093 echo "${ECHO_T}$CXXCPP" >&6
5095 for ac_cxx_preproc_warn_flag in '' yes
5097 # Use a header file that comes with gcc, so configuring glibc
5098 # with a fresh cross-compiler works.
5099 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5100 # <limits.h> exists even on freestanding compilers.
5101 # On the NeXT, cc -E runs the code through the compiler's parser,
5102 # not just through cpp. "Syntax error" is here to catch this case.
5103 cat >conftest.$ac_ext <<_ACEOF
5104 #line $LINENO "configure"
5107 cat confdefs.h >>conftest.$ac_ext
5108 cat >>conftest.$ac_ext <<_ACEOF
5109 /* end confdefs.h. */
5111 # include <limits.h>
5113 # include <assert.h>
5117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5120 grep -v '^ *+' conftest.er1 >conftest.err
5122 cat conftest.err >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); } >/dev/null; then
5125 if test -s conftest.err; then
5126 ac_cpp_err=$ac_cxx_preproc_warn_flag
5133 if test -z "$ac_cpp_err"; then
5136 echo "$as_me: failed program was:" >&5
5137 sed 's/^/| /' conftest.$ac_ext >&5
5139 # Broken: fails on valid input.
5142 rm -f conftest.err conftest.$ac_ext
5144 # OK, works on sane cases. Now check whether non-existent headers
5145 # can be detected and how.
5146 cat >conftest.$ac_ext <<_ACEOF
5147 #line $LINENO "configure"
5150 cat confdefs.h >>conftest.$ac_ext
5151 cat >>conftest.$ac_ext <<_ACEOF
5152 /* end confdefs.h. */
5153 #include <ac_nonexistent.h>
5155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5158 grep -v '^ *+' conftest.er1 >conftest.err
5160 cat conftest.err >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); } >/dev/null; then
5163 if test -s conftest.err; then
5164 ac_cpp_err=$ac_cxx_preproc_warn_flag
5171 if test -z "$ac_cpp_err"; then
5172 # Broken: success on invalid input.
5175 echo "$as_me: failed program was:" >&5
5176 sed 's/^/| /' conftest.$ac_ext >&5
5178 # Passes both tests.
5182 rm -f conftest.err conftest.$ac_ext
5185 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5186 rm -f conftest.err conftest.$ac_ext
5187 if $ac_preproc_ok; then
5190 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5191 See \`config.log' for more details." >&5
5192 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5193 See \`config.log' for more details." >&2;}
5194 { (exit 1); exit 1; }; }
5198 ac_cpp='$CXXCPP $CPPFLAGS'
5199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5205 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5206 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5208 if test -n "$ac_tool_prefix"; then
5209 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5211 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5212 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5213 echo "$as_me:$LINENO: checking for $ac_word" >&5
5214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5215 if test "${ac_cv_prog_F77+set}" = set; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 if test -n "$F77"; then
5219 ac_cv_prog_F77="$F77" # Let the user override the test.
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 if test -n "$F77"; then
5239 echo "$as_me:$LINENO: result: $F77" >&5
5240 echo "${ECHO_T}$F77" >&6
5242 echo "$as_me:$LINENO: result: no" >&5
5243 echo "${ECHO_T}no" >&6
5246 test -n "$F77" && break
5249 if test -z "$F77"; then
5251 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5253 # Extract the first word of "$ac_prog", so it can be a program name with args.
5254 set dummy $ac_prog; ac_word=$2
5255 echo "$as_me:$LINENO: checking for $ac_word" >&5
5256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5257 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5258 echo $ECHO_N "(cached) $ECHO_C" >&6
5260 if test -n "$ac_ct_F77"; then
5261 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 test -z "$as_dir" && as_dir=.
5268 for ac_exec_ext in '' $ac_executable_extensions; do
5269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270 ac_cv_prog_ac_ct_F77="$ac_prog"
5271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5280 if test -n "$ac_ct_F77"; then
5281 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5282 echo "${ECHO_T}$ac_ct_F77" >&6
5284 echo "$as_me:$LINENO: result: no" >&5
5285 echo "${ECHO_T}no" >&6
5288 test -n "$ac_ct_F77" && break
5295 # Provide some information about the compiler.
5296 echo "$as_me:5296:" \
5297 "checking for Fortran 77 compiler version" >&5
5298 ac_compiler=`set X $ac_compile; echo $2`
5299 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5300 (eval $ac_compiler --version </dev/null >&5) 2>&5
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); }
5304 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5305 (eval $ac_compiler -v </dev/null >&5) 2>&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); }
5309 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5310 (eval $ac_compiler -V </dev/null >&5) 2>&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); }
5315 # If we don't use `.F' as extension, the preprocessor is not run on the
5319 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5320 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5321 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 cat >conftest.$ac_ext <<_ACEOF
5332 rm -f conftest.$ac_objext
5333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5334 (eval $ac_compile) 2>&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); } &&
5338 { ac_try='test -s conftest.$ac_objext'
5339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); }; }; then
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.$ac_ext >&5
5351 rm -f conftest.$ac_objext conftest.$ac_ext
5352 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5355 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5356 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5358 G77=`test $ac_compiler_gnu = yes && echo yes`
5359 ac_test_FFLAGS=${FFLAGS+set}
5360 ac_save_FFLAGS=$FFLAGS
5362 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5363 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5364 if test "${ac_cv_prog_f77_g+set}" = set; then
5365 echo $ECHO_N "(cached) $ECHO_C" >&6
5368 cat >conftest.$ac_ext <<_ACEOF
5373 rm -f conftest.$ac_objext
5374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5375 (eval $ac_compile) 2>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } &&
5379 { ac_try='test -s conftest.$ac_objext'
5380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; }; then
5385 ac_cv_prog_f77_g=yes
5387 echo "$as_me: failed program was:" >&5
5388 sed 's/^/| /' conftest.$ac_ext >&5
5392 rm -f conftest.$ac_objext conftest.$ac_ext
5395 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5396 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5397 if test "$ac_test_FFLAGS" = set; then
5398 FFLAGS=$ac_save_FFLAGS
5399 elif test $ac_cv_prog_f77_g = yes; then
5400 if test "$G77" = yes; then
5406 if test "$G77" = yes; then
5413 ac_cpp='$CPP $CPPFLAGS'
5414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5420 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5422 # find the maximum length of command line arguments
5423 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5424 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5425 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 # On DJGPP, this test can blow up pretty badly due to problems in libc
5434 # (any single argument exceeding 2000 bytes causes a buffer overrun
5435 # during glob expansion). Even if it were fixed, the result of this
5436 # check would be larger than it should be.
5437 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5441 # Under GNU Hurd, this test is not required because there is
5442 # no limit to the length of command line arguments.
5443 # Libtool will interpret -1 as no limit whatsoever
5444 lt_cv_sys_max_cmd_len=-1;
5448 # On Win9x/ME, this test blows up -- it succeeds, but takes
5449 # about 5 minutes as the teststring grows exponentially.
5450 # Worse, since 9x/ME are not pre-emptively multitasking,
5451 # you end up with a "frozen" computer, even though with patience
5452 # the test eventually succeeds (with a max line length of 256k).
5453 # Instead, let's just punt: use the minimum linelength reported by
5454 # all of the supported platforms: 8192 (on NT/2K/XP).
5455 lt_cv_sys_max_cmd_len=8192;
5459 # If test is not a shell built-in, we'll probably end up computing a
5460 # maximum length that is only half of the actual maximum length, but
5462 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5463 = "XX$testring") >/dev/null 2>&1 &&
5464 new_result=`expr "X$testring" : ".*" 2>&1` &&
5465 lt_cv_sys_max_cmd_len=$new_result &&
5466 test $i != 17 # 1/2 MB should be enough
5469 testring=$testring$testring
5472 # Add a significant safety factor because C++ compilers can tack on massive
5473 # amounts of additional arguments before passing them to the linker.
5474 # It appears as though 1/2 is a usable value.
5475 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5481 if test -n $lt_cv_sys_max_cmd_len ; then
5482 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5483 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5485 echo "$as_me:$LINENO: result: none" >&5
5486 echo "${ECHO_T}none" >&6
5492 # Check for command to grab the raw symbol name followed by C symbol from nm.
5493 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5494 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5495 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 # These are sane defaults that work on at least a few old systems.
5500 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5502 # Character class describing NM global symbol codes.
5503 symcode='[BCDEGRST]'
5505 # Regexp to match symbols that can be accessed directly from C.
5506 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5508 # Transform the above into a raw symbol and a C symbol.
5509 symxfrm='\1 \2\3 \3'
5511 # Transform an extracted symbol line into a proper C declaration
5512 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5514 # Transform an extracted symbol line into symbol name and symbol address
5515 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'"
5517 # Define system-specific variables.
5522 cygwin* | mingw* | pw32*)
5523 symcode='[ABCDGISTW]'
5525 hpux*) # Its linker distinguishes data from code symbols
5526 if test "$host_cpu" = ia64; then
5527 symcode='[ABCDEGRST]'
5529 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5530 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'"
5533 symcode='[BCDEGRST]'
5536 symcode='[BCDEGQRST]'
5546 # Handle CRLF in mingw tool chain
5550 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5554 # If we're using GNU nm, then use its standard symbol codes.
5555 case `$NM -V 2>&1` in
5556 *GNU* | *'with BFD'*)
5557 symcode='[ABCDGISTW]' ;;
5560 # Try without a prefix undercore, then with it.
5561 for ac_symprfx in "" "_"; do
5563 # Write the raw and C identifiers.
5564 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5566 # Check to see that the pipe works correctly.
5570 cat > conftest.$ac_ext <<EOF
5575 void nm_test_func(){}
5579 int main(){nm_test_var='a';nm_test_func();return(0);}
5582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5583 (eval $ac_compile) 2>&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); }; then
5587 # Now try to grab the symbols.
5589 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5590 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); } && test -s "$nlist"; then
5594 # Try sorting and uniquifying the output.
5595 if sort "$nlist" | uniq > "$nlist"T; then
5596 mv -f "$nlist"T "$nlist"
5601 # Make sure that we snagged all the symbols we need.
5602 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5603 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5604 cat <<EOF > conftest.$ac_ext
5610 # Now generate the symbol file.
5611 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5613 cat <<EOF >> conftest.$ac_ext
5614 #if defined (__STDC__) && __STDC__
5615 # define lt_ptr_t void *
5617 # define lt_ptr_t char *
5621 /* The mapping between symbol names and symbols. */
5626 lt_preloaded_symbols[] =
5629 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5630 cat <<\EOF >> conftest.$ac_ext
5638 # Now try linking the two files.
5639 mv conftest.$ac_objext conftstm.$ac_objext
5640 lt_save_LIBS="$LIBS"
5641 lt_save_CFLAGS="$CFLAGS"
5642 LIBS="conftstm.$ac_objext"
5643 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5645 (eval $ac_link) 2>&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5651 LIBS="$lt_save_LIBS"
5652 CFLAGS="$lt_save_CFLAGS"
5654 echo "cannot find nm_test_func in $nlist" >&5
5657 echo "cannot find nm_test_var in $nlist" >&5
5660 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5663 echo "$progname: failed program was:" >&5
5664 cat conftest.$ac_ext >&5
5666 rm -f conftest* conftst*
5668 # Do not use the global_symbol_pipe unless it works.
5669 if test "$pipe_works" = yes; then
5672 lt_cv_sys_global_symbol_pipe=
5678 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5679 lt_cv_sys_global_symbol_to_cdecl=
5681 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5682 echo "$as_me:$LINENO: result: failed" >&5
5683 echo "${ECHO_T}failed" >&6
5685 echo "$as_me:$LINENO: result: ok" >&5
5686 echo "${ECHO_T}ok" >&6
5689 echo "$as_me:$LINENO: checking for objdir" >&5
5690 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5691 if test "${lt_cv_objdir+set}" = set; then
5692 echo $ECHO_N "(cached) $ECHO_C" >&6
5694 rm -f .libs 2>/dev/null
5695 mkdir .libs 2>/dev/null
5696 if test -d .libs; then
5699 # MS-DOS does not allow filenames that begin with a dot.
5702 rmdir .libs 2>/dev/null
5704 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5705 echo "${ECHO_T}$lt_cv_objdir" >&6
5706 objdir=$lt_cv_objdir
5714 # AIX sometimes has problems with the GCC collect2 program. For some
5715 # reason, if we set the COLLECT_NAMES environment variable, the problems
5716 # vanish in a puff of smoke.
5717 if test "X${COLLECT_NAMES+set}" != Xset; then
5719 export COLLECT_NAMES
5724 # Sed substitution that helps us do robust quoting. It backslashifies
5725 # metacharacters that are still active within double-quoted strings.
5726 Xsed='sed -e s/^X//'
5727 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5729 # Same as above, but do not quote variable references.
5730 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5732 # Sed substitution to delay expansion of an escaped shell variable in a
5733 # double_quote_subst'ed string.
5734 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5736 # Sed substitution to avoid accidental globbing in evaled expressions
5737 no_glob_subst='s/\*/\\\*/g'
5744 can_build_shared=yes
5746 # All known linkers require a `.a' archive for static linking (except M$VC,
5747 # which needs '.lib').
5749 ltmain="$ac_aux_dir/ltmain.sh"
5750 ofile="$default_ofile"
5751 with_gnu_ld="$lt_cv_prog_gnu_ld"
5753 if test -n "$ac_tool_prefix"; then
5754 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5755 set dummy ${ac_tool_prefix}ar; ac_word=$2
5756 echo "$as_me:$LINENO: checking for $ac_word" >&5
5757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5758 if test "${ac_cv_prog_AR+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 if test -n "$AR"; then
5762 ac_cv_prog_AR="$AR" # Let the user override the test.
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5771 ac_cv_prog_AR="${ac_tool_prefix}ar"
5772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5781 if test -n "$AR"; then
5782 echo "$as_me:$LINENO: result: $AR" >&5
5783 echo "${ECHO_T}$AR" >&6
5785 echo "$as_me:$LINENO: result: no" >&5
5786 echo "${ECHO_T}no" >&6
5790 if test -z "$ac_cv_prog_AR"; then
5792 # Extract the first word of "ar", so it can be a program name with args.
5793 set dummy ar; ac_word=$2
5794 echo "$as_me:$LINENO: checking for $ac_word" >&5
5795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5796 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 if test -n "$ac_ct_AR"; then
5800 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_ac_ct_AR="ar"
5810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5819 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5820 if test -n "$ac_ct_AR"; then
5821 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5822 echo "${ECHO_T}$ac_ct_AR" >&6
5824 echo "$as_me:$LINENO: result: no" >&5
5825 echo "${ECHO_T}no" >&6
5833 if test -n "$ac_tool_prefix"; then
5834 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5835 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5836 echo "$as_me:$LINENO: checking for $ac_word" >&5
5837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5838 if test "${ac_cv_prog_RANLIB+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 if test -n "$RANLIB"; then
5842 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 RANLIB=$ac_cv_prog_RANLIB
5861 if test -n "$RANLIB"; then
5862 echo "$as_me:$LINENO: result: $RANLIB" >&5
5863 echo "${ECHO_T}$RANLIB" >&6
5865 echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6
5870 if test -z "$ac_cv_prog_RANLIB"; then
5871 ac_ct_RANLIB=$RANLIB
5872 # Extract the first word of "ranlib", so it can be a program name with args.
5873 set dummy ranlib; ac_word=$2
5874 echo "$as_me:$LINENO: checking for $ac_word" >&5
5875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5876 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5877 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 if test -n "$ac_ct_RANLIB"; then
5880 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 test -z "$as_dir" && as_dir=.
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889 ac_cv_prog_ac_ct_RANLIB="ranlib"
5890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5899 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5900 if test -n "$ac_ct_RANLIB"; then
5901 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5902 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5904 echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6
5908 RANLIB=$ac_ct_RANLIB
5910 RANLIB="$ac_cv_prog_RANLIB"
5913 if test -n "$ac_tool_prefix"; then
5914 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5915 set dummy ${ac_tool_prefix}strip; ac_word=$2
5916 echo "$as_me:$LINENO: checking for $ac_word" >&5
5917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5918 if test "${ac_cv_prog_STRIP+set}" = set; then
5919 echo $ECHO_N "(cached) $ECHO_C" >&6
5921 if test -n "$STRIP"; then
5922 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 STRIP=$ac_cv_prog_STRIP
5941 if test -n "$STRIP"; then
5942 echo "$as_me:$LINENO: result: $STRIP" >&5
5943 echo "${ECHO_T}$STRIP" >&6
5945 echo "$as_me:$LINENO: result: no" >&5
5946 echo "${ECHO_T}no" >&6
5950 if test -z "$ac_cv_prog_STRIP"; then
5952 # Extract the first word of "strip", so it can be a program name with args.
5953 set dummy strip; ac_word=$2
5954 echo "$as_me:$LINENO: checking for $ac_word" >&5
5955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5956 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 if test -n "$ac_ct_STRIP"; then
5960 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_ac_ct_STRIP="strip"
5970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5979 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5980 if test -n "$ac_ct_STRIP"; then
5981 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5982 echo "${ECHO_T}$ac_ct_STRIP" >&6
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5990 STRIP="$ac_cv_prog_STRIP"
5995 old_CFLAGS="$CFLAGS"
5997 # Set sane defaults for various variables
5998 test -z "$AR" && AR=ar
5999 test -z "$AR_FLAGS" && AR_FLAGS=cru
6000 test -z "$AS" && AS=as
6001 test -z "$CC" && CC=cc
6002 test -z "$LTCC" && LTCC=$CC
6003 test -z "$DLLTOOL" && DLLTOOL=dlltool
6004 test -z "$LD" && LD=ld
6005 test -z "$LN_S" && LN_S="ln -s"
6006 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6007 test -z "$NM" && NM=nm
6008 test -z "$SED" && SED=sed
6009 test -z "$OBJDUMP" && OBJDUMP=objdump
6010 test -z "$RANLIB" && RANLIB=:
6011 test -z "$STRIP" && STRIP=:
6012 test -z "$ac_objext" && ac_objext=o
6014 # Determine commands to create old-style static archives.
6015 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6016 old_postinstall_cmds='chmod 644 $oldlib'
6017 old_postuninstall_cmds=
6019 if test -n "$RANLIB"; then
6022 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6025 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
6028 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6031 # Only perform the check for file, if the check method requires it
6032 case $deplibs_check_method in
6034 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6035 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6036 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6037 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6045 lt_save_MAGIC_CMD="$MAGIC_CMD"
6046 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6047 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6048 for ac_dir in $ac_dummy; do
6050 test -z "$ac_dir" && ac_dir=.
6051 if test -f $ac_dir/${ac_tool_prefix}file; then
6052 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6053 if test -n "$file_magic_test_file"; then
6054 case $deplibs_check_method in
6056 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6057 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6058 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6059 $EGREP "$file_magic_regex" > /dev/null; then
6064 *** Warning: the command libtool uses to detect shared libraries,
6065 *** $file_magic_cmd, produces output that libtool cannot recognize.
6066 *** The result is that libtool may fail to recognize shared libraries
6067 *** as such. This will affect the creation of libtool libraries that
6068 *** depend on shared libraries, but programs linked with such libtool
6069 *** libraries will work regardless of this problem. Nevertheless, you
6070 *** may want to report the problem to your system manager and/or to
6071 *** bug-libtool@gnu.org
6081 MAGIC_CMD="$lt_save_MAGIC_CMD"
6086 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6087 if test -n "$MAGIC_CMD"; then
6088 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6089 echo "${ECHO_T}$MAGIC_CMD" >&6
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6095 if test -z "$lt_cv_path_MAGIC_CMD"; then
6096 if test -n "$ac_tool_prefix"; then
6097 echo "$as_me:$LINENO: checking for file" >&5
6098 echo $ECHO_N "checking for file... $ECHO_C" >&6
6099 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6100 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6107 lt_save_MAGIC_CMD="$MAGIC_CMD"
6108 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6109 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6110 for ac_dir in $ac_dummy; do
6112 test -z "$ac_dir" && ac_dir=.
6113 if test -f $ac_dir/file; then
6114 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6115 if test -n "$file_magic_test_file"; then
6116 case $deplibs_check_method in
6118 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6119 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6120 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6121 $EGREP "$file_magic_regex" > /dev/null; then
6126 *** Warning: the command libtool uses to detect shared libraries,
6127 *** $file_magic_cmd, produces output that libtool cannot recognize.
6128 *** The result is that libtool may fail to recognize shared libraries
6129 *** as such. This will affect the creation of libtool libraries that
6130 *** depend on shared libraries, but programs linked with such libtool
6131 *** libraries will work regardless of this problem. Nevertheless, you
6132 *** may want to report the problem to your system manager and/or to
6133 *** bug-libtool@gnu.org
6143 MAGIC_CMD="$lt_save_MAGIC_CMD"
6148 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6149 if test -n "$MAGIC_CMD"; then
6150 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6151 echo "${ECHO_T}$MAGIC_CMD" >&6
6153 echo "$as_me:$LINENO: result: no" >&5
6154 echo "${ECHO_T}no" >&6
6169 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6170 if test "${enable_libtool_lock+set}" = set; then
6171 enableval="$enable_libtool_lock"
6174 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6177 # Check whether --with-pic or --without-pic was given.
6178 if test "${with_pic+set}" = set; then
6184 test -z "$pic_mode" && pic_mode=default
6186 # Use C for the default configuration in the libtool script
6190 ac_cpp='$CPP $CPPFLAGS'
6191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6196 # Source file extension for C test sources.
6199 # Object file extension for compiled C test sources.
6203 # Code to be used in simple compile tests
6204 lt_simple_compile_test_code="int some_variable = 0;\n"
6206 # Code to be used in simple link tests
6207 lt_simple_link_test_code='int main(){return(0);}\n'
6210 # If no C compiler was specified, use CC.
6213 # Allow CC to be a program name with arguments.
6218 # Check for any special shared library compilation flags.
6221 if test "$GCC" = no; then
6224 lt_prog_cc_shlib='-belf'
6228 if test -n "$lt_prog_cc_shlib"; then
6229 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6230 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6231 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6233 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6234 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6235 lt_cv_prog_cc_can_build_shared=no
6241 # Check to make sure the static flag actually works.
6243 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6244 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6245 if test "${lt_prog_compiler_static_works+set}" = set; then
6246 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 lt_prog_compiler_static_works=no
6249 save_LDFLAGS="$LDFLAGS"
6250 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6251 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6252 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6253 # The compiler can only warn and ignore the option if not recognized
6254 # So say no if there are warnings
6255 if test -s conftest.err; then
6256 # Append any errors to the config.log.
6257 cat conftest.err 1>&5
6259 lt_prog_compiler_static_works=yes
6263 LDFLAGS="$save_LDFLAGS"
6266 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6267 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6269 if test x"$lt_prog_compiler_static_works" = xyes; then
6272 lt_prog_compiler_static=
6278 ## There is no encapsulation within the following macros, do not change
6279 ## the running order or otherwise move them around unless you know exactly
6280 ## what you are doing...
6282 lt_prog_compiler_no_builtin_flag=
6284 if test "$GCC" = yes; then
6285 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6287 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6288 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6289 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6290 echo $ECHO_N "(cached) $ECHO_C" >&6
6292 lt_cv_prog_compiler_rtti_exceptions=no
6293 ac_outfile=conftest.$ac_objext
6294 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6295 lt_compiler_flag="-fno-rtti -fno-exceptions"
6296 # Insert the option either (1) after the last *FLAGS variable, or
6297 # (2) before a word containing "conftest.", or (3) at the end.
6298 # Note that $ac_compile itself does not contain backslashes and begins
6299 # with a dollar sign (not a hyphen), so the echo should work correctly.
6300 # The option is referenced via a variable to avoid confusing sed.
6301 lt_compile=`echo "$ac_compile" | $SED \
6302 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6303 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6304 -e 's:$: $lt_compiler_flag:'`
6305 (eval echo "\"\$as_me:6305: $lt_compile\"" >&5)
6306 (eval "$lt_compile" 2>conftest.err)
6308 cat conftest.err >&5
6309 echo "$as_me:6309: \$? = $ac_status" >&5
6310 if (exit $ac_status) && test -s "$ac_outfile"; then
6311 # The compiler can only warn and ignore the option if not recognized
6312 # So say no if there are warnings
6313 if test ! -s conftest.err; then
6314 lt_cv_prog_compiler_rtti_exceptions=yes
6320 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6321 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6323 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6324 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6331 lt_prog_compiler_wl=
6332 lt_prog_compiler_pic=
6333 lt_prog_compiler_static=
6335 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6336 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6338 if test "$GCC" = yes; then
6339 lt_prog_compiler_wl='-Wl,'
6340 lt_prog_compiler_static='-static'
6344 # All AIX code is PIC.
6345 if test "$host_cpu" = ia64; then
6346 # AIX 5 now supports IA64 processor
6347 lt_prog_compiler_static='-Bstatic'
6352 # FIXME: we need at least 68020 code to build shared libraries, but
6353 # adding the `-m68020' flag to GCC prevents building anything better,
6355 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6358 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6359 # PIC is the default for these OSes.
6362 mingw* | pw32* | os2*)
6363 # This hack is so that the source file can tell whether it is being
6364 # built for inclusion in a dll (and should export symbols for example).
6365 lt_prog_compiler_pic='-DDLL_EXPORT'
6368 darwin* | rhapsody*)
6369 # PIC is the default on this platform
6370 # Common symbols not allowed in MH_DYLIB files
6371 lt_prog_compiler_pic='-fno-common'
6375 # Just because we use GCC doesn't mean we suddenly get shared libraries
6376 # on systems that don't support them.
6377 lt_prog_compiler_can_build_shared=no
6382 if test -d /usr/nec; then
6383 lt_prog_compiler_pic=-Kconform_pic
6388 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6395 lt_prog_compiler_pic='-fPIC'
6401 lt_prog_compiler_pic='-fPIC'
6405 # PORTME Check for flag to pass linker flags through the system compiler.
6408 lt_prog_compiler_wl='-Wl,'
6409 if test "$host_cpu" = ia64; then
6410 # AIX 5 now supports IA64 processor
6411 lt_prog_compiler_static='-Bstatic'
6413 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6417 mingw* | pw32* | os2*)
6418 # This hack is so that the source file can tell whether it is being
6419 # built for inclusion in a dll (and should export symbols for example).
6420 lt_prog_compiler_pic='-DDLL_EXPORT'
6423 hpux9* | hpux10* | hpux11*)
6424 lt_prog_compiler_wl='-Wl,'
6425 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6432 lt_prog_compiler_pic='+Z'
6435 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6436 lt_prog_compiler_static='${wl}-a ${wl}archive'
6439 irix5* | irix6* | nonstopux*)
6440 lt_prog_compiler_wl='-Wl,'
6441 # PIC (with -KPIC) is the default.
6442 lt_prog_compiler_static='-non_shared'
6446 lt_prog_compiler_pic='-KPIC'
6447 lt_prog_compiler_static='-Bstatic'
6453 lt_prog_compiler_wl='-Wl,'
6454 lt_prog_compiler_pic='-KPIC'
6455 lt_prog_compiler_static='-static'
6458 lt_prog_compiler_wl='-Wl,'
6459 # All Alpha code is PIC.
6460 lt_prog_compiler_static='-non_shared'
6465 osf3* | osf4* | osf5*)
6466 lt_prog_compiler_wl='-Wl,'
6467 # All OSF/1 code is PIC.
6468 lt_prog_compiler_static='-non_shared'
6472 lt_prog_compiler_pic='-Kpic'
6473 lt_prog_compiler_static='-dn'
6477 lt_prog_compiler_wl='-Wl,'
6478 lt_prog_compiler_pic='-KPIC'
6479 lt_prog_compiler_static='-Bstatic'
6483 lt_prog_compiler_wl='-Qoption ld '
6484 lt_prog_compiler_pic='-PIC'
6485 lt_prog_compiler_static='-Bstatic'
6488 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6489 lt_prog_compiler_wl='-Wl,'
6490 lt_prog_compiler_pic='-KPIC'
6491 lt_prog_compiler_static='-Bstatic'
6495 if test -d /usr/nec ;then
6496 lt_prog_compiler_pic='-Kconform_pic'
6497 lt_prog_compiler_static='-Bstatic'
6502 lt_prog_compiler_pic='-pic'
6503 lt_prog_compiler_static='-Bstatic'
6507 lt_prog_compiler_can_build_shared=no
6512 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6513 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6516 # Check to make sure the PIC flag actually works.
6518 if test -n "$lt_prog_compiler_pic"; then
6519 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6520 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6521 if test "${lt_prog_compiler_pic_works+set}" = set; then
6522 echo $ECHO_N "(cached) $ECHO_C" >&6
6524 lt_prog_compiler_pic_works=no
6525 ac_outfile=conftest.$ac_objext
6526 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6527 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6528 # Insert the option either (1) after the last *FLAGS variable, or
6529 # (2) before a word containing "conftest.", or (3) at the end.
6530 # Note that $ac_compile itself does not contain backslashes and begins
6531 # with a dollar sign (not a hyphen), so the echo should work correctly.
6532 # The option is referenced via a variable to avoid confusing sed.
6533 lt_compile=`echo "$ac_compile" | $SED \
6534 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6536 -e 's:$: $lt_compiler_flag:'`
6537 (eval echo "\"\$as_me:6537: $lt_compile\"" >&5)
6538 (eval "$lt_compile" 2>conftest.err)
6540 cat conftest.err >&5
6541 echo "$as_me:6541: \$? = $ac_status" >&5
6542 if (exit $ac_status) && test -s "$ac_outfile"; then
6543 # The compiler can only warn and ignore the option if not recognized
6544 # So say no if there are warnings
6545 if test ! -s conftest.err; then
6546 lt_prog_compiler_pic_works=yes
6552 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6553 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6555 if test x"$lt_prog_compiler_pic_works" = xyes; then
6556 case $lt_prog_compiler_pic in
6558 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6561 lt_prog_compiler_pic=
6562 lt_prog_compiler_can_build_shared=no
6567 # For platforms which do not support PIC, -DPIC is meaningless:
6569 lt_prog_compiler_pic=
6572 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6576 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6577 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6578 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 lt_cv_prog_compiler_c_o=no
6582 $rm -r conftest 2>/dev/null
6586 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6588 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6589 # that will create temporary files in the current directory regardless of
6590 # the output directory. Thus, making CWD read-only will cause this test
6591 # to fail, enabling locking or at least warning the user not to do parallel
6595 lt_compiler_flag="-o out/conftest2.$ac_objext"
6596 # Insert the option either (1) after the last *FLAGS variable, or
6597 # (2) before a word containing "conftest.", or (3) at the end.
6598 # Note that $ac_compile itself does not contain backslashes and begins
6599 # with a dollar sign (not a hyphen), so the echo should work correctly.
6600 lt_compile=`echo "$ac_compile" | $SED \
6601 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6602 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6603 -e 's:$: $lt_compiler_flag:'`
6604 (eval echo "\"\$as_me:6604: $lt_compile\"" >&5)
6605 (eval "$lt_compile" 2>out/conftest.err)
6607 cat out/conftest.err >&5
6608 echo "$as_me:6608: \$? = $ac_status" >&5
6609 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6611 # The compiler can only warn and ignore the option if not recognized
6612 # So say no if there are warnings
6613 if test ! -s out/conftest.err; then
6614 lt_cv_prog_compiler_c_o=yes
6625 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6626 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6629 hard_links="nottested"
6630 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6631 # do not overwrite the value of need_locks provided by the user
6632 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6633 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6636 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6638 ln conftest.a conftest.b 2>&5 || hard_links=no
6639 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6640 echo "$as_me:$LINENO: result: $hard_links" >&5
6641 echo "${ECHO_T}$hard_links" >&6
6642 if test "$hard_links" = no; then
6643 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6644 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6651 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6652 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6655 allow_undefined_flag=
6656 enable_shared_with_static_runtimes=no
6658 archive_expsym_cmds=
6659 old_archive_From_new_cmds=
6660 old_archive_from_expsyms_cmds=
6661 export_dynamic_flag_spec=
6662 whole_archive_flag_spec=
6663 thread_safe_flag_spec=
6664 hardcode_libdir_flag_spec=
6665 hardcode_libdir_flag_spec_ld=
6666 hardcode_libdir_separator=
6669 hardcode_shlibpath_var=unsupported
6670 link_all_deplibs=unknown
6671 hardcode_automatic=no
6674 always_export_symbols=no
6675 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6676 # include_expsyms should be a list of space-separated symbols to be *always*
6677 # included in the symbol list
6679 # exclude_expsyms can be an extended regexp of symbols to exclude
6680 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6681 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6682 # as well as any symbol that contains `d'.
6683 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6684 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6685 # platforms (ab)use it in PIC code, but their linkers get confused if
6686 # the symbol is explicitly referenced. Since portable code cannot
6687 # rely on this symbol name, it's probably fine to never include it in
6688 # preloaded symbol tables.
6689 extract_expsyms_cmds=
6692 cygwin* | mingw* | pw32*)
6693 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6694 # When not using gcc, we currently assume that we are using
6695 # Microsoft Visual C++.
6696 if test "$GCC" != yes; then
6706 if test "$with_gnu_ld" = yes; then
6707 # If archive_cmds runs LD, not CC, wlarc should be empty
6710 # See if GNU ld supports shared libraries.
6712 aix3* | aix4* | aix5*)
6713 # On AIX/PPC, the GNU linker is very broken
6714 if test "$host_cpu" != ia64; then
6718 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6719 *** to be unable to reliably create shared libraries on AIX.
6720 *** Therefore, libtool is disabling shared libraries support. If you
6721 *** really care for shared libraries, you may want to modify your PATH
6722 *** so that a non-GNU linker is found, and then restart.
6729 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)'
6730 hardcode_libdir_flag_spec='-L$libdir'
6731 hardcode_minus_L=yes
6733 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6734 # that the semantics of dynamic libraries on AmigaOS, at least up
6735 # to version 4, is to share data among multiple programs linked
6736 # with the same dynamic library. Since this doesn't match the
6737 # behavior of shared libraries on other platforms, we can't use
6743 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6744 allow_undefined_flag=unsupported
6745 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6746 # support --undefined. This deserves some investigation. FIXME
6747 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6753 cygwin* | mingw* | pw32*)
6754 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6755 # as there is no search path for DLLs.
6756 hardcode_libdir_flag_spec='-L$libdir'
6757 allow_undefined_flag=unsupported
6758 always_export_symbols=no
6759 enable_shared_with_static_runtimes=yes
6760 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6762 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6763 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6764 # If the export-symbols file already is a .def file (1st line
6765 # is EXPORTS), use it as is; otherwise, prepend...
6766 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6767 cp $export_symbols $output_objdir/$soname.def;
6769 echo EXPORTS > $output_objdir/$soname.def;
6770 cat $export_symbols >> $output_objdir/$soname.def;
6772 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6779 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6780 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6783 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6784 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6789 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6793 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6794 *** create shared libraries on Solaris systems. Therefore, libtool
6795 *** is disabling shared libraries support. We urge you to upgrade GNU
6796 *** binutils to release 2.9.1 or newer. Another option is to modify
6797 *** your PATH or compiler configuration so that the native linker is
6798 *** used, and then restart.
6801 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6802 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6803 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6810 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6813 hardcode_shlibpath_var=no
6817 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6818 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6819 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6826 if test "$ld_shlibs" = yes; then
6827 runpath_var=LD_RUN_PATH
6828 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6829 export_dynamic_flag_spec='${wl}--export-dynamic'
6830 # ancient GNU ld didn't support --whole-archive et. al.
6831 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6832 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6834 whole_archive_flag_spec=
6838 # PORTME fill in a description of your system's linker (not GNU ld)
6841 allow_undefined_flag=unsupported
6842 always_export_symbols=yes
6843 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'
6844 # Note: this linker hardcodes the directories in LIBPATH if there
6845 # are no directories specified by -L.
6846 hardcode_minus_L=yes
6847 if test "$GCC" = yes && test -z "$link_static_flag"; then
6848 # Neither direct hardcoding nor static linking is supported with a
6850 hardcode_direct=unsupported
6855 if test "$host_cpu" = ia64; then
6856 # On IA64, the linker does run time linking by default, so we don't
6857 # have to do anything special.
6858 aix_use_runtimelinking=no
6859 exp_sym_flag='-Bexport'
6862 # If we're using GNU nm, then we don't want the "-C" option.
6863 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6864 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6865 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'
6867 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'
6869 aix_use_runtimelinking=no
6871 # Test if we are trying to use run time linking or normal
6872 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6873 # need to do runtime linking.
6874 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6875 for ld_flag in $LDFLAGS; do
6876 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6877 aix_use_runtimelinking=yes
6883 exp_sym_flag='-bexport'
6884 no_entry_flag='-bnoentry'
6887 # When large executables or shared objects are built, AIX ld can
6888 # have problems creating the table of contents. If linking a library
6889 # or program results in "error TOC overflow" add -mminimal-toc to
6890 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6891 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6895 hardcode_libdir_separator=':'
6896 link_all_deplibs=yes
6898 if test "$GCC" = yes; then
6899 case $host_os in aix4.012|aix4.012.*)
6900 # We only want to do this on AIX 4.2 and lower, the check
6901 # below for broken collect2 doesn't work under 4.3+
6902 collect2name=`${CC} -print-prog-name=collect2`
6903 if test -f "$collect2name" && \
6904 strings "$collect2name" | grep resolve_lib_name >/dev/null
6906 # We have reworked collect2
6909 # We have old collect2
6910 hardcode_direct=unsupported
6911 # It fails to find uninstalled libraries when the uninstalled
6912 # path is not listed in the libpath. Setting hardcode_minus_L
6913 # to unsupported forces relinking
6914 hardcode_minus_L=yes
6915 hardcode_libdir_flag_spec='-L$libdir'
6916 hardcode_libdir_separator=
6919 shared_flag='-shared'
6922 if test "$host_cpu" = ia64; then
6923 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6924 # chokes on -Wl,-G. The following line is correct:
6927 if test "$aix_use_runtimelinking" = yes; then
6928 shared_flag='${wl}-G'
6930 shared_flag='${wl}-bM:SRE'
6935 # It seems that -bexpall does not export symbols beginning with
6936 # underscore (_), so it is better to generate a list of symbols to export.
6937 always_export_symbols=yes
6938 if test "$aix_use_runtimelinking" = yes; then
6939 # Warning - without using the other runtime loading flags (-brtl),
6940 # -berok will link without error, but may produce a broken library.
6941 allow_undefined_flag='-berok'
6942 # Determine the default libpath from the value encoded in an empty executable.
6943 cat >conftest.$ac_ext <<_ACEOF
6944 #line $LINENO "configure"
6947 cat confdefs.h >>conftest.$ac_ext
6948 cat >>conftest.$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6959 rm -f conftest.$ac_objext conftest$ac_exeext
6960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6961 (eval $ac_link) 2>&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } &&
6965 { ac_try='test -s conftest$ac_exeext'
6966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); }; }; then
6972 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6974 # Check for a 64-bit object if we didn't find anything.
6975 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6978 echo "$as_me: failed program was:" >&5
6979 sed 's/^/| /' conftest.$ac_ext >&5
6982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6983 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6985 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6986 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"
6988 if test "$host_cpu" = ia64; then
6989 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6990 allow_undefined_flag="-z nodefs"
6991 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"
6993 # Determine the default libpath from the value encoded in an empty executable.
6994 cat >conftest.$ac_ext <<_ACEOF
6995 #line $LINENO "configure"
6998 cat confdefs.h >>conftest.$ac_ext
6999 cat >>conftest.$ac_ext <<_ACEOF
7000 /* end confdefs.h. */
7010 rm -f conftest.$ac_objext conftest$ac_exeext
7011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7012 (eval $ac_link) 2>&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); } &&
7016 { ac_try='test -s conftest$ac_exeext'
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); }; }; then
7023 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7025 # Check for a 64-bit object if we didn't find anything.
7026 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; }
7029 echo "$as_me: failed program was:" >&5
7030 sed 's/^/| /' conftest.$ac_ext >&5
7033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7034 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7036 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7037 # Warning - without using the other run time loading flags,
7038 # -berok will link without error, but may produce a broken library.
7039 no_undefined_flag=' ${wl}-bernotok'
7040 allow_undefined_flag=' ${wl}-berok'
7041 # -bexpall does not export symbols beginning with underscore (_)
7042 always_export_symbols=yes
7043 # Exported symbols can be pulled into shared objects from archives
7044 whole_archive_flag_spec=' '
7045 archive_cmds_need_lc=yes
7046 # This is similar to how AIX traditionally builds it's shared libraries.
7047 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'
7053 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)'
7054 hardcode_libdir_flag_spec='-L$libdir'
7055 hardcode_minus_L=yes
7056 # see comment about different semantics on the GNU ld section
7061 export_dynamic_flag_spec=-rdynamic
7064 cygwin* | mingw* | pw32*)
7065 # When not using gcc, we currently assume that we are using
7066 # Microsoft Visual C++.
7067 # hardcode_libdir_flag_spec is actually meaningless, as there is
7068 # no search path for DLLs.
7069 hardcode_libdir_flag_spec=' '
7070 allow_undefined_flag=unsupported
7071 # Tell ltmain to make .lib files, not .a files.
7073 # Tell ltmain to make .dll files, not .so files.
7075 # FIXME: Setting linknames here is a bad hack.
7076 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7077 # The linker will automatically build a .lib file if we build a DLL.
7078 old_archive_From_new_cmds='true'
7079 # FIXME: Should let the user specify the lib program.
7080 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7081 fix_srcfile_path='`cygpath -w "$srcfile"`'
7082 enable_shared_with_static_runtimes=yes
7085 darwin* | rhapsody*)
7086 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7087 archive_cmds_need_lc=no
7089 rhapsody* | darwin1.[012])
7090 allow_undefined_flag='-undefined suppress'
7093 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7096 # FIXME: Relying on posixy $() will cause problems for
7097 # cross-compilation, but unfortunately the echo tests do not
7098 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7099 # `"' quotes if we put them in here... so don't!
7100 lt_int_apple_cc_single_mod=no
7101 output_verbose_link_cmd='echo'
7102 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7103 lt_int_apple_cc_single_mod=yes
7105 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7106 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7108 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'
7110 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7111 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7112 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7113 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}'
7115 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}'
7117 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}'
7119 hardcode_automatic=yes
7120 hardcode_shlibpath_var=unsupported
7121 whole_archive_flag_spec='-all_load $convenience'
7122 link_all_deplibs=yes
7127 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7128 hardcode_libdir_flag_spec='-L$libdir'
7129 hardcode_shlibpath_var=no
7136 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7137 # support. Future versions do this automatically, but an explicit c++rt0.o
7138 # does not break anything, and helps significantly (at the cost of a little
7141 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7142 hardcode_libdir_flag_spec='-R$libdir'
7144 hardcode_shlibpath_var=no
7147 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7149 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7151 hardcode_minus_L=yes
7152 hardcode_shlibpath_var=no
7155 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7157 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7158 hardcode_libdir_flag_spec='-R$libdir'
7160 hardcode_shlibpath_var=no
7164 if test "$GCC" = yes; then
7165 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'
7167 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'
7169 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7170 hardcode_libdir_separator=:
7173 # hardcode_minus_L: Not really in the search PATH,
7174 # but as the default location of the library.
7175 hardcode_minus_L=yes
7176 export_dynamic_flag_spec='${wl}-E'
7180 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7183 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7186 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7192 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7195 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7199 if test "$with_gnu_ld" = no; then
7202 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7203 hardcode_libdir_flag_spec_ld='+b $libdir'
7204 hardcode_libdir_separator=:
7206 hardcode_shlibpath_var=no
7209 hardcode_libdir_flag_spec='-L$libdir'
7211 hardcode_shlibpath_var=no
7213 # hardcode_minus_L: Not really in the search PATH,
7214 # but as the default location of the library.
7215 hardcode_minus_L=yes
7218 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7219 hardcode_libdir_separator=:
7221 export_dynamic_flag_spec='${wl}-E'
7223 # hardcode_minus_L: Not really in the search PATH,
7224 # but as the default location of the library.
7225 hardcode_minus_L=yes
7231 irix5* | irix6* | nonstopux*)
7232 if test "$GCC" = yes; then
7233 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'
7235 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'
7236 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7238 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7239 hardcode_libdir_separator=:
7240 link_all_deplibs=yes
7244 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7245 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7247 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7249 hardcode_libdir_flag_spec='-R$libdir'
7251 hardcode_shlibpath_var=no
7255 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7257 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7258 hardcode_libdir_separator=:
7259 hardcode_shlibpath_var=no
7264 hardcode_shlibpath_var=no
7265 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7266 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7267 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7268 export_dynamic_flag_spec='${wl}-E'
7271 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7272 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7273 hardcode_libdir_flag_spec='-R$libdir'
7276 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7277 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7284 hardcode_libdir_flag_spec='-L$libdir'
7285 hardcode_minus_L=yes
7286 allow_undefined_flag=unsupported
7287 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'
7288 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7292 if test "$GCC" = yes; then
7293 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7294 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'
7296 allow_undefined_flag=' -expect_unresolved \*'
7297 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'
7299 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7300 hardcode_libdir_separator=:
7303 osf4* | osf5*) # as osf3* with the addition of -msym flag
7304 if test "$GCC" = yes; then
7305 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7306 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'
7307 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7309 allow_undefined_flag=' -expect_unresolved \*'
7310 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'
7311 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7312 $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'
7314 # Both c and cxx compiler support -rpath directly
7315 hardcode_libdir_flag_spec='-rpath $libdir'
7317 hardcode_libdir_separator=:
7321 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7322 hardcode_shlibpath_var=no
7323 export_dynamic_flag_spec='${wl}-Bexport'
7324 runpath_var=LD_RUN_PATH
7325 hardcode_runpath_var=yes
7329 no_undefined_flag=' -z text'
7330 if test "$GCC" = yes; then
7331 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7332 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7333 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7335 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7336 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7337 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7339 hardcode_libdir_flag_spec='-R$libdir'
7340 hardcode_shlibpath_var=no
7342 solaris2.[0-5] | solaris2.[0-5].*) ;;
7343 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7344 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7346 link_all_deplibs=yes
7350 if test "x$host_vendor" = xsequent; then
7351 # Use $CC to link under sequent, because it throws in some extra .o
7352 # files that make .init and .fini sections work.
7353 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7355 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7357 hardcode_libdir_flag_spec='-L$libdir'
7359 hardcode_minus_L=yes
7360 hardcode_shlibpath_var=no
7364 case $host_vendor in
7366 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7367 hardcode_direct=yes # is this really true???
7370 ## LD is ld it makes a PLAMLIB
7371 ## CC just makes a GrossModule.
7372 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7373 reload_cmds='$CC -r -o $output$reload_objs'
7377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7378 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7381 runpath_var='LD_RUN_PATH'
7382 hardcode_shlibpath_var=no
7386 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7387 hardcode_shlibpath_var=no
7388 export_dynamic_flag_spec='-Bexport'
7392 if test -d /usr/nec; then
7393 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7394 hardcode_shlibpath_var=no
7395 runpath_var=LD_RUN_PATH
7396 hardcode_runpath_var=yes
7402 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7405 hardcode_shlibpath_var=no
7406 hardcode_runpath_var=yes
7407 runpath_var=LD_RUN_PATH
7410 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7411 no_undefined_flag='${wl}-z ${wl}text'
7412 if test "$GCC" = yes; then
7413 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7415 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7417 runpath_var='LD_RUN_PATH'
7418 hardcode_shlibpath_var=no
7422 no_undefined_flag=' -z text'
7423 # $CC -shared without GNU ld will not create a library from C++
7424 # object files and a static libstdc++, better avoid it by now
7425 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7426 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7427 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7428 hardcode_libdir_flag_spec=
7429 hardcode_shlibpath_var=no
7430 runpath_var='LD_RUN_PATH'
7434 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7435 hardcode_libdir_flag_spec='-L$libdir'
7436 hardcode_shlibpath_var=no
7445 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7446 echo "${ECHO_T}$ld_shlibs" >&6
7447 test "$ld_shlibs" = no && can_build_shared=no
7449 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7450 if test "$GCC" = yes; then
7451 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7455 # Do we need to explicitly link libc?
7457 case "x$archive_cmds_need_lc" in
7459 # Assume -lc should be added
7460 archive_cmds_need_lc=yes
7462 if test "$enable_shared" = yes && test "$GCC" = yes; then
7463 case $archive_cmds in
7465 # FIXME: we may have to deal with multi-command sequences.
7468 # Test whether the compiler implicitly links with -lc since on some
7469 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7470 # to ld, don't add -lc before -lgcc.
7471 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7472 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7474 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7477 (eval $ac_compile) 2>&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } 2>conftest.err; then
7483 libobjs=conftest.$ac_objext
7485 wl=$lt_prog_compiler_wl
7491 lt_save_allow_undefined_flag=$allow_undefined_flag
7492 allow_undefined_flag=
7493 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7494 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); }
7499 archive_cmds_need_lc=no
7501 archive_cmds_need_lc=yes
7503 allow_undefined_flag=$lt_save_allow_undefined_flag
7505 cat conftest.err 1>&5
7508 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7509 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7516 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7517 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7519 if test -n "$hardcode_libdir_flag_spec" || \
7520 test -n "$runpath_var " || \
7521 test "X$hardcode_automatic"="Xyes" ; then
7523 # We can hardcode non-existant directories.
7524 if test "$hardcode_direct" != no &&
7525 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7526 # have to relink, otherwise we might link with an installed library
7527 # when we should be linking with a yet-to-be-installed one
7528 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7529 test "$hardcode_minus_L" != no; then
7530 # Linking always hardcodes the temporary library directory.
7531 hardcode_action=relink
7533 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7534 hardcode_action=immediate
7537 # We cannot hardcode anything, or else we can only hardcode existing
7539 hardcode_action=unsupported
7541 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7542 echo "${ECHO_T}$hardcode_action" >&6
7544 if test "$hardcode_action" = relink; then
7545 # Fast installation is not supported
7546 enable_fast_install=no
7547 elif test "$shlibpath_overrides_runpath" = yes ||
7548 test "$enable_shared" = no; then
7549 # Fast installation is not necessary
7550 enable_fast_install=needless
7555 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7556 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7557 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7558 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7559 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7560 echo "$as_me:$LINENO: result: yes" >&5
7561 echo "${ECHO_T}yes" >&6
7563 # FIXME - insert some real tests, host_os isn't really good enough
7566 if test -n "$STRIP" ; then
7567 striplib="$STRIP -x"
7568 echo "$as_me:$LINENO: result: yes" >&5
7569 echo "${ECHO_T}yes" >&6
7571 echo "$as_me:$LINENO: result: no" >&5
7572 echo "${ECHO_T}no" >&6
7576 echo "$as_me:$LINENO: result: no" >&5
7577 echo "${ECHO_T}no" >&6
7582 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7583 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7585 libname_spec='lib$name'
7593 shlibpath_overrides_runpath=unknown
7595 dynamic_linker="$host_os ld.so"
7596 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7597 if test "$GCC" = yes; then
7598 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7599 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7600 # if the path contains ";" then we assume it to be the separator
7601 # otherwise default to the standard path separator (i.e. ":") - it is
7602 # assumed that no part of a normal pathname contains ";" but that should
7603 # okay in the real world where ";" in dirpaths is itself problematic.
7604 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7606 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7609 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7611 need_lib_prefix=unknown
7612 hardcode_into_libs=no
7614 # when you set need_version to no, make sure it does not cause -set_version
7615 # flags to be left without arguments
7616 need_version=unknown
7621 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7622 shlibpath_var=LIBPATH
7624 # AIX 3 has no versioning support, so we append a major version to the name.
7625 soname_spec='${libname}${release}${shared_ext}$major'
7632 hardcode_into_libs=yes
7633 if test "$host_cpu" = ia64; then
7634 # AIX 5 supports IA64
7635 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7636 shlibpath_var=LD_LIBRARY_PATH
7638 # With GCC up to 2.95.x, collect2 would create an import file
7639 # for dependence libraries. The import file would start with
7640 # the line `#! .'. This would cause the generated library to
7641 # depend on `.', always an invalid library. This was fixed in
7642 # development snapshots of GCC prior to 3.0.
7644 aix4 | aix4.[01] | aix4.[01].*)
7645 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7647 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7654 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7655 # soname into executable. Probably we can add versioning support to
7656 # collect2, so additional links can be useful in future.
7657 if test "$aix_use_runtimelinking" = yes; then
7658 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7659 # instead of lib<name>.a to let people know that these are not
7660 # typical AIX shared libraries.
7661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7663 # We preserve .a as extension for shared libraries through AIX4.2
7664 # and later when we are not doing run time linking.
7665 library_names_spec='${libname}${release}.a $libname.a'
7666 soname_spec='${libname}${release}${shared_ext}$major'
7668 shlibpath_var=LIBPATH
7673 library_names_spec='$libname.ixlibrary $libname.a'
7674 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7675 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'
7679 library_names_spec='${libname}${shared_ext}'
7680 dynamic_linker="$host_os ld.so"
7681 shlibpath_var=LIBRARY_PATH
7687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7688 soname_spec='${libname}${release}${shared_ext}$major'
7689 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7690 shlibpath_var=LD_LIBRARY_PATH
7691 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7692 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7693 # the default ld.so.conf also contains /usr/contrib/lib and
7694 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7695 # libtool to hard-code these into programs
7698 cygwin* | mingw* | pw32*)
7699 version_type=windows
7704 case $GCC,$host_os in
7705 yes,cygwin* | yes,mingw* | yes,pw32*)
7706 library_names_spec='$libname.dll.a'
7707 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7708 postinstall_cmds='base_file=`basename \${file}`~
7709 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7710 dldir=$destdir/`dirname \$dlpath`~
7711 test -d \$dldir || mkdir -p \$dldir~
7712 $install_prog $dir/$dlname \$dldir/$dlname'
7713 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7714 dlpath=$dir/\$dldll~
7716 shlibpath_overrides_runpath=yes
7720 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7721 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7722 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7725 # MinGW DLLs use traditional 'lib' prefix
7726 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7727 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7728 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7729 # It is most probably a Windows format PATH printed by
7730 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7731 # path with ; separators, and with drive letters. We can handle the
7732 # drive letters (cygwin fileutils understands them), so leave them,
7733 # especially as we might pass files found there to a mingw objdump,
7734 # which wouldn't understand a cygwinified path. Ahh.
7735 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7737 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7741 # pw32 DLLs use 'pw' prefix rather than 'lib'
7742 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7748 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7751 dynamic_linker='Win32 ld.exe'
7752 # FIXME: first we should search . and the directory the executable is in
7756 darwin* | rhapsody*)
7757 dynamic_linker="$host_os dyld"
7761 # FIXME: Relying on posixy $() will cause problems for
7762 # cross-compilation, but unfortunately the echo tests do not
7763 # yet detect zsh echo's removal of \ escapes.
7764 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7765 soname_spec='${libname}${release}${major}$shared_ext'
7766 shlibpath_overrides_runpath=yes
7767 shlibpath_var=DYLD_LIBRARY_PATH
7768 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7769 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7770 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7771 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"`
7773 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7781 soname_spec='${libname}${release}${shared_ext}$major'
7782 shlibpath_var=LD_LIBRARY_PATH
7790 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7791 version_type=freebsd-$objformat
7792 case $version_type in
7794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7799 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7803 shlibpath_var=LD_LIBRARY_PATH
7806 shlibpath_overrides_runpath=yes
7808 freebsd3.01* | freebsdelf3.01*)
7809 shlibpath_overrides_runpath=yes
7810 hardcode_into_libs=yes
7813 shlibpath_overrides_runpath=no
7814 hardcode_into_libs=yes
7823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7824 soname_spec='${libname}${release}${shared_ext}$major'
7825 shlibpath_var=LD_LIBRARY_PATH
7826 hardcode_into_libs=yes
7829 hpux9* | hpux10* | hpux11*)
7830 # Give a soname corresponding to the major version so that dld.sl refuses to
7831 # link against other versions.
7838 hardcode_into_libs=yes
7839 dynamic_linker="$host_os dld.so"
7840 shlibpath_var=LD_LIBRARY_PATH
7841 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7843 soname_spec='${libname}${release}${shared_ext}$major'
7844 if test "X$HPUX_IA64_MODE" = X32; then
7845 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7847 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7849 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7853 hardcode_into_libs=yes
7854 dynamic_linker="$host_os dld.sl"
7855 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7856 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7858 soname_spec='${libname}${release}${shared_ext}$major'
7859 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7860 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7864 dynamic_linker="$host_os dld.sl"
7865 shlibpath_var=SHLIB_PATH
7866 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7868 soname_spec='${libname}${release}${shared_ext}$major'
7871 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7872 postinstall_cmds='chmod 555 $lib'
7875 irix5* | irix6* | nonstopux*)
7877 nonstopux*) version_type=nonstopux ;;
7879 if test "$lt_cv_prog_gnu_ld" = yes; then
7887 soname_spec='${libname}${release}${shared_ext}$major'
7888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7890 irix5* | nonstopux*)
7894 case $LD in # libtool.m4 will add one of these switches to LD
7895 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7896 libsuff= shlibsuff= libmagic=32-bit;;
7897 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7898 libsuff=32 shlibsuff=N32 libmagic=N32;;
7899 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7900 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7901 *) libsuff= shlibsuff= libmagic=never-match;;
7905 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7906 shlibpath_overrides_runpath=no
7907 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7908 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7909 hardcode_into_libs=yes
7912 # No shared lib support for Linux oldld, aout, or coff.
7913 linux*oldld* | linux*aout* | linux*coff*)
7917 # This must be Linux ELF.
7922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7923 soname_spec='${libname}${release}${shared_ext}$major'
7924 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7925 shlibpath_var=LD_LIBRARY_PATH
7926 shlibpath_overrides_runpath=no
7927 # This implies no fast_install, which is unacceptable.
7928 # Some rework will be needed to allow for fast_install
7929 # before this can be enabled.
7930 hardcode_into_libs=yes
7932 # We used to test for /lib/ld.so.1 and disable shared libraries on
7933 # powerpc, because MkLinux only supported shared libraries with the
7934 # GNU dynamic linker. Since this was broken with cross compilers,
7935 # most powerpc-linux boxes support dynamic linking these days and
7936 # people can always --disable-shared, the test was removed, and we
7937 # assume the GNU/Linux dynamic linker is in use.
7938 dynamic_linker='GNU/Linux ld.so'
7945 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7947 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7948 dynamic_linker='NetBSD (a.out) ld.so'
7950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7951 soname_spec='${libname}${release}${shared_ext}$major'
7952 dynamic_linker='NetBSD ld.elf_so'
7954 shlibpath_var=LD_LIBRARY_PATH
7955 shlibpath_overrides_runpath=yes
7956 hardcode_into_libs=yes
7961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7962 shlibpath_var=LD_LIBRARY_PATH
7963 shlibpath_overrides_runpath=yes
7970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7971 soname_spec='${libname}${release}${shared_ext}$major'
7972 shlibpath_var=LD_LIBRARY_PATH
7973 shlibpath_overrides_runpath=yes
7980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7981 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7982 shlibpath_var=LD_LIBRARY_PATH
7983 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7985 openbsd2.[89] | openbsd2.[89].*)
7986 shlibpath_overrides_runpath=no
7989 shlibpath_overrides_runpath=yes
7993 shlibpath_overrides_runpath=yes
7998 libname_spec='$name'
8001 library_names_spec='$libname${shared_ext} $libname.a'
8002 dynamic_linker='OS/2 ld.exe'
8003 shlibpath_var=LIBPATH
8006 osf3* | osf4* | osf5*)
8010 soname_spec='${libname}${release}${shared_ext}$major'
8011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8012 shlibpath_var=LD_LIBRARY_PATH
8013 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8014 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8019 soname_spec='${libname}${release}${shared_ext}$major'
8020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8021 shlibpath_var=LD_LIBRARY_PATH
8028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8029 soname_spec='${libname}${release}${shared_ext}$major'
8030 shlibpath_var=LD_LIBRARY_PATH
8031 shlibpath_overrides_runpath=yes
8032 hardcode_into_libs=yes
8033 # ldd complains unless libraries are executable
8034 postinstall_cmds='chmod +x $lib'
8039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8040 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8041 shlibpath_var=LD_LIBRARY_PATH
8042 shlibpath_overrides_runpath=yes
8043 if test "$with_gnu_ld" = yes; then
8049 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8052 soname_spec='${libname}${release}${shared_ext}$major'
8053 shlibpath_var=LD_LIBRARY_PATH
8054 case $host_vendor in
8056 shlibpath_overrides_runpath=no
8058 export_dynamic_flag_spec='${wl}-Blargedynsym'
8059 runpath_var=LD_RUN_PATH
8067 shlibpath_overrides_runpath=no
8068 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8074 if test -d /usr/nec ;then
8076 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8077 soname_spec='$libname${shared_ext}.$major'
8078 shlibpath_var=LD_LIBRARY_PATH
8084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8085 soname_spec='${libname}${release}${shared_ext}$major'
8086 shlibpath_var=LD_LIBRARY_PATH
8093 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8094 echo "${ECHO_T}$dynamic_linker" >&6
8095 test "$dynamic_linker" = no && can_build_shared=no
8097 if test "x$enable_dlopen" != xyes; then
8098 enable_dlopen=unknown
8099 enable_dlopen_self=unknown
8100 enable_dlopen_self_static=unknown
8107 lt_cv_dlopen="load_add_on"
8109 lt_cv_dlopen_self=yes
8113 lt_cv_dlopen="LoadLibrary"
8118 lt_cv_dlopen="dlopen"
8123 # if libdl is installed we need to link against it
8124 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8125 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8126 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8127 echo $ECHO_N "(cached) $ECHO_C" >&6
8129 ac_check_lib_save_LIBS=$LIBS
8131 cat >conftest.$ac_ext <<_ACEOF
8132 #line $LINENO "configure"
8135 cat confdefs.h >>conftest.$ac_ext
8136 cat >>conftest.$ac_ext <<_ACEOF
8137 /* end confdefs.h. */
8139 /* Override any gcc2 internal prototype to avoid an error. */
8143 /* We use char because int might match the return type of a gcc2
8144 builtin and then its argument prototype would still apply. */
8154 rm -f conftest.$ac_objext conftest$ac_exeext
8155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8156 (eval $ac_link) 2>&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); } &&
8160 { ac_try='test -s conftest$ac_exeext'
8161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; }; then
8166 ac_cv_lib_dl_dlopen=yes
8168 echo "$as_me: failed program was:" >&5
8169 sed 's/^/| /' conftest.$ac_ext >&5
8171 ac_cv_lib_dl_dlopen=no
8173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8174 LIBS=$ac_check_lib_save_LIBS
8176 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8177 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8178 if test $ac_cv_lib_dl_dlopen = yes; then
8179 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8184 lt_cv_dlopen_self=yes
8191 echo "$as_me:$LINENO: checking for shl_load" >&5
8192 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8193 if test "${ac_cv_func_shl_load+set}" = set; then
8194 echo $ECHO_N "(cached) $ECHO_C" >&6
8196 cat >conftest.$ac_ext <<_ACEOF
8197 #line $LINENO "configure"
8200 cat confdefs.h >>conftest.$ac_ext
8201 cat >>conftest.$ac_ext <<_ACEOF
8202 /* end confdefs.h. */
8203 /* System header to define __stub macros and hopefully few prototypes,
8204 which can conflict with char shl_load (); below.
8205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8206 <limits.h> exists even on freestanding compilers. */
8208 # include <limits.h>
8210 # include <assert.h>
8212 /* Override any gcc2 internal prototype to avoid an error. */
8217 /* We use char because int might match the return type of a gcc2
8218 builtin and then its argument prototype would still apply. */
8220 /* The GNU C library defines this for functions which it implements
8221 to always fail with ENOSYS. Some functions are actually named
8222 something starting with __ and the normal name is an alias. */
8223 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8226 char (*f) () = shl_load;
8235 return f != shl_load;
8240 rm -f conftest.$ac_objext conftest$ac_exeext
8241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8242 (eval $ac_link) 2>&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); } &&
8246 { ac_try='test -s conftest$ac_exeext'
8247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); }; }; then
8252 ac_cv_func_shl_load=yes
8254 echo "$as_me: failed program was:" >&5
8255 sed 's/^/| /' conftest.$ac_ext >&5
8257 ac_cv_func_shl_load=no
8259 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8261 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8262 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8263 if test $ac_cv_func_shl_load = yes; then
8264 lt_cv_dlopen="shl_load"
8266 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8267 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8268 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8269 echo $ECHO_N "(cached) $ECHO_C" >&6
8271 ac_check_lib_save_LIBS=$LIBS
8273 cat >conftest.$ac_ext <<_ACEOF
8274 #line $LINENO "configure"
8277 cat confdefs.h >>conftest.$ac_ext
8278 cat >>conftest.$ac_ext <<_ACEOF
8279 /* end confdefs.h. */
8281 /* Override any gcc2 internal prototype to avoid an error. */
8285 /* We use char because int might match the return type of a gcc2
8286 builtin and then its argument prototype would still apply. */
8296 rm -f conftest.$ac_objext conftest$ac_exeext
8297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8298 (eval $ac_link) 2>&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); } &&
8302 { ac_try='test -s conftest$ac_exeext'
8303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8307 (exit $ac_status); }; }; then
8308 ac_cv_lib_dld_shl_load=yes
8310 echo "$as_me: failed program was:" >&5
8311 sed 's/^/| /' conftest.$ac_ext >&5
8313 ac_cv_lib_dld_shl_load=no
8315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8316 LIBS=$ac_check_lib_save_LIBS
8318 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8319 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8320 if test $ac_cv_lib_dld_shl_load = yes; then
8321 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8323 echo "$as_me:$LINENO: checking for dlopen" >&5
8324 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8325 if test "${ac_cv_func_dlopen+set}" = set; then
8326 echo $ECHO_N "(cached) $ECHO_C" >&6
8328 cat >conftest.$ac_ext <<_ACEOF
8329 #line $LINENO "configure"
8332 cat confdefs.h >>conftest.$ac_ext
8333 cat >>conftest.$ac_ext <<_ACEOF
8334 /* end confdefs.h. */
8335 /* System header to define __stub macros and hopefully few prototypes,
8336 which can conflict with char dlopen (); below.
8337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8338 <limits.h> exists even on freestanding compilers. */
8340 # include <limits.h>
8342 # include <assert.h>
8344 /* Override any gcc2 internal prototype to avoid an error. */
8349 /* We use char because int might match the return type of a gcc2
8350 builtin and then its argument prototype would still apply. */
8352 /* The GNU C library defines this for functions which it implements
8353 to always fail with ENOSYS. Some functions are actually named
8354 something starting with __ and the normal name is an alias. */
8355 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8358 char (*f) () = dlopen;
8372 rm -f conftest.$ac_objext conftest$ac_exeext
8373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8374 (eval $ac_link) 2>&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } &&
8378 { ac_try='test -s conftest$ac_exeext'
8379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); }; }; then
8384 ac_cv_func_dlopen=yes
8386 echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.$ac_ext >&5
8389 ac_cv_func_dlopen=no
8391 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8393 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8394 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8395 if test $ac_cv_func_dlopen = yes; then
8396 lt_cv_dlopen="dlopen"
8398 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8399 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8400 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8401 echo $ECHO_N "(cached) $ECHO_C" >&6
8403 ac_check_lib_save_LIBS=$LIBS
8405 cat >conftest.$ac_ext <<_ACEOF
8406 #line $LINENO "configure"
8409 cat confdefs.h >>conftest.$ac_ext
8410 cat >>conftest.$ac_ext <<_ACEOF
8411 /* end confdefs.h. */
8413 /* Override any gcc2 internal prototype to avoid an error. */
8417 /* We use char because int might match the return type of a gcc2
8418 builtin and then its argument prototype would still apply. */
8428 rm -f conftest.$ac_objext conftest$ac_exeext
8429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8430 (eval $ac_link) 2>&5
8432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 (exit $ac_status); } &&
8434 { ac_try='test -s conftest$ac_exeext'
8435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); }; }; then
8440 ac_cv_lib_dl_dlopen=yes
8442 echo "$as_me: failed program was:" >&5
8443 sed 's/^/| /' conftest.$ac_ext >&5
8445 ac_cv_lib_dl_dlopen=no
8447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8448 LIBS=$ac_check_lib_save_LIBS
8450 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8451 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8452 if test $ac_cv_lib_dl_dlopen = yes; then
8453 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8455 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8456 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8457 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8458 echo $ECHO_N "(cached) $ECHO_C" >&6
8460 ac_check_lib_save_LIBS=$LIBS
8462 cat >conftest.$ac_ext <<_ACEOF
8463 #line $LINENO "configure"
8466 cat confdefs.h >>conftest.$ac_ext
8467 cat >>conftest.$ac_ext <<_ACEOF
8468 /* end confdefs.h. */
8470 /* Override any gcc2 internal prototype to avoid an error. */
8474 /* We use char because int might match the return type of a gcc2
8475 builtin and then its argument prototype would still apply. */
8485 rm -f conftest.$ac_objext conftest$ac_exeext
8486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8487 (eval $ac_link) 2>&5
8489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 (exit $ac_status); } &&
8491 { ac_try='test -s conftest$ac_exeext'
8492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); }; }; then
8497 ac_cv_lib_svld_dlopen=yes
8499 echo "$as_me: failed program was:" >&5
8500 sed 's/^/| /' conftest.$ac_ext >&5
8502 ac_cv_lib_svld_dlopen=no
8504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8505 LIBS=$ac_check_lib_save_LIBS
8507 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8508 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8509 if test $ac_cv_lib_svld_dlopen = yes; then
8510 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8512 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8513 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8514 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8515 echo $ECHO_N "(cached) $ECHO_C" >&6
8517 ac_check_lib_save_LIBS=$LIBS
8519 cat >conftest.$ac_ext <<_ACEOF
8520 #line $LINENO "configure"
8523 cat confdefs.h >>conftest.$ac_ext
8524 cat >>conftest.$ac_ext <<_ACEOF
8525 /* end confdefs.h. */
8527 /* Override any gcc2 internal prototype to avoid an error. */
8531 /* We use char because int might match the return type of a gcc2
8532 builtin and then its argument prototype would still apply. */
8542 rm -f conftest.$ac_objext conftest$ac_exeext
8543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8544 (eval $ac_link) 2>&5
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); } &&
8548 { ac_try='test -s conftest$ac_exeext'
8549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); }; }; then
8554 ac_cv_lib_dld_dld_link=yes
8556 echo "$as_me: failed program was:" >&5
8557 sed 's/^/| /' conftest.$ac_ext >&5
8559 ac_cv_lib_dld_dld_link=no
8561 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8562 LIBS=$ac_check_lib_save_LIBS
8564 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8565 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8566 if test $ac_cv_lib_dld_dld_link = yes; then
8567 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8588 if test "x$lt_cv_dlopen" != xno; then
8594 case $lt_cv_dlopen in
8596 save_CPPFLAGS="$CPPFLAGS"
8597 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8599 save_LDFLAGS="$LDFLAGS"
8600 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8603 LIBS="$lt_cv_dlopen_libs $LIBS"
8605 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8606 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8607 if test "${lt_cv_dlopen_self+set}" = set; then
8608 echo $ECHO_N "(cached) $ECHO_C" >&6
8610 if test "$cross_compiling" = yes; then :
8611 lt_cv_dlopen_self=cross
8613 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8614 lt_status=$lt_dlunknown
8615 cat > conftest.$ac_ext <<EOF
8616 #line 8616 "configure"
8617 #include "confdefs.h"
8626 # define LT_DLGLOBAL RTLD_GLOBAL
8629 # define LT_DLGLOBAL DL_GLOBAL
8631 # define LT_DLGLOBAL 0
8635 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8636 find out it does not work in some platform. */
8637 #ifndef LT_DLLAZY_OR_NOW
8639 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8642 # define LT_DLLAZY_OR_NOW DL_LAZY
8645 # define LT_DLLAZY_OR_NOW RTLD_NOW
8648 # define LT_DLLAZY_OR_NOW DL_NOW
8650 # define LT_DLLAZY_OR_NOW 0
8658 extern "C" void exit (int);
8661 void fnord() { int i=42;}
8664 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8665 int status = $lt_dlunknown;
8669 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8670 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8671 /* dlclose (self); */
8677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8678 (eval $ac_link) 2>&5
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8682 (./conftest; exit; ) 2>/dev/null
8685 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8686 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8687 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8690 # compilation failed
8691 lt_cv_dlopen_self=no
8698 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8699 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8701 if test "x$lt_cv_dlopen_self" = xyes; then
8702 LDFLAGS="$LDFLAGS $link_static_flag"
8703 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8704 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8705 if test "${lt_cv_dlopen_self_static+set}" = set; then
8706 echo $ECHO_N "(cached) $ECHO_C" >&6
8708 if test "$cross_compiling" = yes; then :
8709 lt_cv_dlopen_self_static=cross
8711 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8712 lt_status=$lt_dlunknown
8713 cat > conftest.$ac_ext <<EOF
8714 #line 8714 "configure"
8715 #include "confdefs.h"
8724 # define LT_DLGLOBAL RTLD_GLOBAL
8727 # define LT_DLGLOBAL DL_GLOBAL
8729 # define LT_DLGLOBAL 0
8733 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8734 find out it does not work in some platform. */
8735 #ifndef LT_DLLAZY_OR_NOW
8737 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8740 # define LT_DLLAZY_OR_NOW DL_LAZY
8743 # define LT_DLLAZY_OR_NOW RTLD_NOW
8746 # define LT_DLLAZY_OR_NOW DL_NOW
8748 # define LT_DLLAZY_OR_NOW 0
8756 extern "C" void exit (int);
8759 void fnord() { int i=42;}
8762 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8763 int status = $lt_dlunknown;
8767 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8768 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8769 /* dlclose (self); */
8775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8776 (eval $ac_link) 2>&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8780 (./conftest; exit; ) 2>/dev/null
8783 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8784 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8785 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8788 # compilation failed
8789 lt_cv_dlopen_self_static=no
8796 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8797 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8800 CPPFLAGS="$save_CPPFLAGS"
8801 LDFLAGS="$save_LDFLAGS"
8806 case $lt_cv_dlopen_self in
8807 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8808 *) enable_dlopen_self=unknown ;;
8811 case $lt_cv_dlopen_self_static in
8812 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8813 *) enable_dlopen_self_static=unknown ;;
8818 # Report which librarie types wil actually be built
8819 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8820 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8821 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8822 echo "${ECHO_T}$can_build_shared" >&6
8824 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8825 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8826 test "$can_build_shared" = "no" && enable_shared=no
8828 # On AIX, shared libraries and static libraries use the same namespace, and
8829 # are all built from PIC.
8832 test "$enable_shared" = yes && enable_static=no
8833 if test -n "$RANLIB"; then
8834 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8835 postinstall_cmds='$RANLIB $lib'
8840 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8841 test "$enable_shared" = yes && enable_static=no
8844 darwin* | rhapsody*)
8845 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8846 archive_cmds_need_lc=no
8848 rhapsody* | darwin1.[012])
8849 allow_undefined_flag='-undefined suppress'
8852 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8855 # FIXME: Relying on posixy $() will cause problems for
8856 # cross-compilation, but unfortunately the echo tests do not
8857 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8858 # `"' quotes if we put them in here... so don't!
8859 output_verbose_link_cmd='echo'
8860 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8861 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8862 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8863 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}'
8864 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}'
8866 hardcode_automatic=yes
8867 hardcode_shlibpath_var=unsupported
8868 whole_archive_flag_spec='-all_load $convenience'
8869 link_all_deplibs=yes
8873 echo "$as_me:$LINENO: result: $enable_shared" >&5
8874 echo "${ECHO_T}$enable_shared" >&6
8876 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8877 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8878 # Make sure either enable_shared or enable_static is yes.
8879 test "$enable_shared" = yes || enable_static=yes
8880 echo "$as_me:$LINENO: result: $enable_static" >&5
8881 echo "${ECHO_T}$enable_static" >&6
8883 # The else clause should only fire when bootstrapping the
8884 # libtool distribution, otherwise you forgot to ship ltmain.sh
8885 # with your package, and you will get complaints that there are
8886 # no rules to generate ltmain.sh.
8887 if test -f "$ltmain"; then
8888 # See if we are running on zsh, and set the options which allow our commands through
8889 # without removal of \ escapes.
8890 if test -n "${ZSH_VERSION+set}" ; then
8891 setopt NO_GLOB_SUBST
8893 # Now quote all the things that may contain metacharacters while being
8894 # careful not to overquote the AC_SUBSTed values. We take copies of the
8895 # variables and quote the copies for generation of the libtool script.
8896 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8897 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8898 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8899 deplibs_check_method reload_flag reload_cmds need_locks \
8900 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8901 lt_cv_sys_global_symbol_to_c_name_address \
8902 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8903 old_postinstall_cmds old_postuninstall_cmds \
8907 lt_prog_compiler_wl \
8908 lt_prog_compiler_pic \
8909 lt_prog_compiler_static \
8910 lt_prog_compiler_no_builtin_flag \
8911 export_dynamic_flag_spec \
8912 thread_safe_flag_spec \
8913 whole_archive_flag_spec \
8914 enable_shared_with_static_runtimes \
8916 old_archive_from_new_cmds \
8921 compiler_lib_search_path \
8923 archive_expsym_cmds \
8925 postuninstall_cmds \
8926 old_archive_from_expsyms_cmds \
8927 allow_undefined_flag \
8929 export_symbols_cmds \
8930 hardcode_libdir_flag_spec \
8931 hardcode_libdir_flag_spec_ld \
8932 hardcode_libdir_separator \
8933 hardcode_automatic \
8935 module_expsym_cmds \
8936 lt_cv_prog_compiler_c_o \
8941 old_archive_cmds | \
8942 old_archive_from_new_cmds | \
8944 archive_expsym_cmds | \
8946 module_expsym_cmds | \
8947 old_archive_from_expsyms_cmds | \
8948 export_symbols_cmds | \
8949 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8950 postinstall_cmds | postuninstall_cmds | \
8951 old_postinstall_cmds | old_postuninstall_cmds | \
8952 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8953 # Double-quote double-evaled strings.
8954 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8957 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8963 *'\$0 --fallback-echo"')
8964 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8969 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8971 { echo "$as_me:$LINENO: creating $ofile" >&5
8972 echo "$as_me: creating $ofile" >&6;}
8974 cat <<__EOF__ >> "$cfgfile"
8977 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8978 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8979 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8981 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8982 # Free Software Foundation, Inc.
8984 # This file is part of GNU Libtool:
8985 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8987 # This program is free software; you can redistribute it and/or modify
8988 # it under the terms of the GNU General Public License as published by
8989 # the Free Software Foundation; either version 2 of the License, or
8990 # (at your option) any later version.
8992 # This program is distributed in the hope that it will be useful, but
8993 # WITHOUT ANY WARRANTY; without even the implied warranty of
8994 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8995 # General Public License for more details.
8997 # You should have received a copy of the GNU General Public License
8998 # along with this program; if not, write to the Free Software
8999 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9001 # As a special exception to the GNU General Public License, if you
9002 # distribute this file as part of a program that contains a
9003 # configuration script generated by Autoconf, you may include it under
9004 # the same distribution terms that you use for the rest of that program.
9006 # A sed program that does not truncate output.
9009 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9010 Xsed="$SED -e s/^X//"
9012 # The HP-UX ksh and POSIX shell print the target directory to stdout
9014 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9016 # The names of the tagged configurations supported by this script.
9019 # ### BEGIN LIBTOOL CONFIG
9021 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9023 # Shell to use when invoking shell scripts.
9026 # Whether or not to build shared libraries.
9027 build_libtool_libs=$enable_shared
9029 # Whether or not to build static libraries.
9030 build_old_libs=$enable_static
9032 # Whether or not to add -lc for building shared libraries.
9033 build_libtool_need_lc=$archive_cmds_need_lc
9035 # Whether or not to disallow shared libs when runtime libs are static
9036 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9038 # Whether or not to optimize for fast installation.
9039 fast_install=$enable_fast_install
9042 host_alias=$host_alias
9045 # An echo program that does not interpret backslashes.
9050 AR_FLAGS=$lt_AR_FLAGS
9055 # A language-specific compiler.
9058 # Is the compiler the GNU C compiler?
9064 # The linker used to build libraries.
9067 # Whether we need hard or soft links.
9070 # A BSD-compatible nm program.
9073 # A symbol stripping program
9076 # Used to examine libraries when file_magic_cmd begins "file"
9077 MAGIC_CMD=$MAGIC_CMD
9079 # Used on cygwin: DLL creation program.
9082 # Used on cygwin: object dumper.
9085 # Used on cygwin: assembler.
9088 # The name of the directory that contains temporary libtool files.
9091 # How to create reloadable object files.
9092 reload_flag=$lt_reload_flag
9093 reload_cmds=$lt_reload_cmds
9095 # How to pass a linker flag through the compiler.
9096 wl=$lt_lt_prog_compiler_wl
9098 # Object file suffix (normally "o").
9101 # Old archive suffix (normally "a").
9104 # Shared library suffix (normally ".so").
9107 # Executable file suffix (normally "").
9110 # Additional compiler flags for building library objects.
9111 pic_flag=$lt_lt_prog_compiler_pic
9114 # What is the maximum length of a command?
9115 max_cmd_len=$lt_cv_sys_max_cmd_len
9117 # Does compiler simultaneously support -c and -o options?
9118 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9120 # Must we lock files when doing compilation ?
9121 need_locks=$lt_need_locks
9123 # Do we need the lib prefix for modules?
9124 need_lib_prefix=$need_lib_prefix
9126 # Do we need a version for libraries?
9127 need_version=$need_version
9129 # Whether dlopen is supported.
9130 dlopen_support=$enable_dlopen
9132 # Whether dlopen of programs is supported.
9133 dlopen_self=$enable_dlopen_self
9135 # Whether dlopen of statically linked programs is supported.
9136 dlopen_self_static=$enable_dlopen_self_static
9138 # Compiler flag to prevent dynamic linking.
9139 link_static_flag=$lt_lt_prog_compiler_static
9141 # Compiler flag to turn off builtin functions.
9142 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9144 # Compiler flag to allow reflexive dlopens.
9145 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9147 # Compiler flag to generate shared objects directly from archives.
9148 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9150 # Compiler flag to generate thread-safe objects.
9151 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9153 # Library versioning type.
9154 version_type=$version_type
9156 # Format of library name prefix.
9157 libname_spec=$lt_libname_spec
9159 # List of archive names. First name is the real one, the rest are links.
9160 # The last name is the one that the linker finds with -lNAME.
9161 library_names_spec=$lt_library_names_spec
9163 # The coded name of the library, if different from the real name.
9164 soname_spec=$lt_soname_spec
9166 # Commands used to build and install an old-style archive.
9168 old_archive_cmds=$lt_old_archive_cmds
9169 old_postinstall_cmds=$lt_old_postinstall_cmds
9170 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9172 # Create an old-style archive from a shared archive.
9173 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9175 # Create a temporary old-style archive to link instead of a shared archive.
9176 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9178 # Commands used to build and install a shared archive.
9179 archive_cmds=$lt_archive_cmds
9180 archive_expsym_cmds=$lt_archive_expsym_cmds
9181 postinstall_cmds=$lt_postinstall_cmds
9182 postuninstall_cmds=$lt_postuninstall_cmds
9184 # Commands used to build a loadable module (assumed same as above if empty)
9185 module_cmds=$lt_module_cmds
9186 module_expsym_cmds=$lt_module_expsym_cmds
9188 # Commands to strip libraries.
9189 old_striplib=$lt_old_striplib
9190 striplib=$lt_striplib
9192 # Dependencies to place before the objects being linked to create a
9194 predep_objects=$lt_predep_objects
9196 # Dependencies to place after the objects being linked to create a
9198 postdep_objects=$lt_postdep_objects
9200 # Dependencies to place before the objects being linked to create a
9204 # Dependencies to place after the objects being linked to create a
9206 postdeps=$lt_postdeps
9208 # The library search path used internally by the compiler when linking
9210 compiler_lib_search_path=$lt_compiler_lib_search_path
9212 # Method to check whether dependent libraries are shared objects.
9213 deplibs_check_method=$lt_deplibs_check_method
9215 # Command to use when deplibs_check_method == file_magic.
9216 file_magic_cmd=$lt_file_magic_cmd
9218 # Flag that allows shared libraries with undefined symbols to be built.
9219 allow_undefined_flag=$lt_allow_undefined_flag
9221 # Flag that forces no undefined symbols.
9222 no_undefined_flag=$lt_no_undefined_flag
9224 # Commands used to finish a libtool library installation in a directory.
9225 finish_cmds=$lt_finish_cmds
9227 # Same as above, but a single script fragment to be evaled but not shown.
9228 finish_eval=$lt_finish_eval
9230 # Take the output of nm and produce a listing of raw symbols and C names.
9231 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9233 # Transform the output of nm in a proper C declaration
9234 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9236 # Transform the output of nm in a C name address pair
9237 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9239 # This is the shared library runtime path variable.
9240 runpath_var=$runpath_var
9242 # This is the shared library path variable.
9243 shlibpath_var=$shlibpath_var
9245 # Is shlibpath searched before the hard-coded library search path?
9246 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9248 # How to hardcode a shared library path into an executable.
9249 hardcode_action=$hardcode_action
9251 # Whether we should hardcode library paths into libraries.
9252 hardcode_into_libs=$hardcode_into_libs
9254 # Flag to hardcode \$libdir into a binary during linking.
9255 # This must work even if \$libdir does not exist.
9256 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9258 # If ld is used when linking, flag to hardcode \$libdir into
9259 # a binary during linking. This must work even if \$libdir does
9261 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9263 # Whether we need a single -rpath flag with a separated argument.
9264 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9266 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9268 hardcode_direct=$hardcode_direct
9270 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9272 hardcode_minus_L=$hardcode_minus_L
9274 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9275 # the resulting binary.
9276 hardcode_shlibpath_var=$hardcode_shlibpath_var
9278 # Set to yes if building a shared library automatically hardcodes DIR into the library
9279 # and all subsequent libraries and executables linked against it.
9280 hardcode_automatic=$hardcode_automatic
9282 # Variables whose values should be saved in libtool wrapper scripts and
9283 # restored at relink time.
9284 variables_saved_for_relink="$variables_saved_for_relink"
9286 # Whether libtool must link a program against all its dependency libraries.
9287 link_all_deplibs=$link_all_deplibs
9289 # Compile-time system search path for libraries
9290 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9292 # Run-time system search path for libraries
9293 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9295 # Fix the shell variable \$srcfile for the compiler.
9296 fix_srcfile_path="$fix_srcfile_path"
9298 # Set to yes if exported symbols are required.
9299 always_export_symbols=$always_export_symbols
9301 # The commands to list exported symbols.
9302 export_symbols_cmds=$lt_export_symbols_cmds
9304 # The commands to extract the exported symbol list from a shared archive.
9305 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9307 # Symbols that should not be listed in the preloaded symbols.
9308 exclude_expsyms=$lt_exclude_expsyms
9310 # Symbols that must always be exported.
9311 include_expsyms=$lt_include_expsyms
9313 # ### END LIBTOOL CONFIG
9320 cat <<\EOF >> "$cfgfile"
9322 # AIX sometimes has problems with the GCC collect2 program. For some
9323 # reason, if we set the COLLECT_NAMES environment variable, the problems
9324 # vanish in a puff of smoke.
9325 if test "X${COLLECT_NAMES+set}" != Xset; then
9327 export COLLECT_NAMES
9333 # We use sed instead of cat because bash on DJGPP gets confused if
9334 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9335 # text mode, it properly converts lines to CR/LF. This bash problem
9336 # is reportedly fixed, but why not run on old versions too?
9337 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9339 mv -f "$cfgfile" "$ofile" || \
9340 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9344 # If there is no Makefile yet, we rely on a make rule to execute
9345 # `config.status --recheck' to rerun these tests and create the
9346 # libtool script then.
9347 test -f Makefile && make "$ltmain"
9352 ac_cpp='$CPP $CPPFLAGS'
9353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9360 # Check whether --with-tags or --without-tags was given.
9361 if test "${with_tags+set}" = set; then
9362 withval="$with_tags"
9366 if test -f "$ltmain" && test -n "$tagnames"; then
9367 if test ! -f "${ofile}"; then
9368 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9369 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9372 if test -z "$LTCC"; then
9373 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9374 if test -z "$LTCC"; then
9375 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9376 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9378 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9379 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9383 # Extract list of available tagged configurations in $ofile.
9384 # Note that this assumes the entire list is on one line.
9385 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9387 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9388 for tagname in $tagnames; do
9390 # Check whether tagname contains only valid characters
9391 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9393 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9394 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9395 { (exit 1); exit 1; }; }
9399 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9401 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9402 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9403 { (exit 1); exit 1; }; }
9406 # Update the list of available tags.
9407 if test -n "$tagname"; then
9408 echo appending configuration tag \"$tagname\" to $ofile
9412 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9414 ac_cpp='$CXXCPP $CPPFLAGS'
9415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9422 archive_cmds_need_lc_CXX=no
9423 allow_undefined_flag_CXX=
9424 always_export_symbols_CXX=no
9425 archive_expsym_cmds_CXX=
9426 export_dynamic_flag_spec_CXX=
9427 hardcode_direct_CXX=no
9428 hardcode_libdir_flag_spec_CXX=
9429 hardcode_libdir_flag_spec_ld_CXX=
9430 hardcode_libdir_separator_CXX=
9431 hardcode_minus_L_CXX=no
9432 hardcode_automatic_CXX=no
9434 module_expsym_cmds_CXX=
9435 link_all_deplibs_CXX=unknown
9436 old_archive_cmds_CXX=$old_archive_cmds
9437 no_undefined_flag_CXX=
9438 whole_archive_flag_spec_CXX=
9439 enable_shared_with_static_runtimes_CXX=no
9441 # Dependencies to place before and after the object being linked:
9443 postdep_objects_CXX=
9446 compiler_lib_search_path_CXX=
9448 # Source file extension for C++ test sources.
9451 # Object file extension for compiled C++ test sources.
9455 # Code to be used in simple compile tests
9456 lt_simple_compile_test_code="int some_variable = 0;\n"
9458 # Code to be used in simple link tests
9459 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9461 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9463 # If no C compiler was specified, use CC.
9466 # Allow CC to be a program name with arguments.
9470 # Allow CC to be a program name with arguments.
9475 lt_save_with_gnu_ld=$with_gnu_ld
9476 lt_save_path_LD=$lt_cv_path_LD
9477 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9478 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9480 unset lt_cv_prog_gnu_ld
9482 if test -n "${lt_cv_path_LDCXX+set}"; then
9483 lt_cv_path_LD=$lt_cv_path_LDCXX
9487 test -z "${LDCXX+set}" || LD=$LDCXX
9491 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9493 # We don't want -fno-exception wen compiling C++ code, so set the
9494 # no_builtin_flag separately
9495 if test "$GXX" = yes; then
9496 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9498 lt_prog_compiler_no_builtin_flag_CXX=
9501 if test "$GXX" = yes; then
9502 # Set up default GNU C++ configuration
9505 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9506 if test "${with_gnu_ld+set}" = set; then
9507 withval="$with_gnu_ld"
9508 test "$withval" = no || with_gnu_ld=yes
9513 if test "$GCC" = yes; then
9514 # Check if gcc -print-prog-name=ld gives a path.
9515 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9516 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9519 # gcc leaves a trailing carriage return which upsets mingw
9520 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9522 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9525 # Accept absolute paths.
9527 re_direlt='/[^/][^/]*/\.\./'
9528 # Canonicalize the path of ld
9529 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9530 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9531 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9533 test -z "$LD" && LD="$ac_prog"
9536 # If it fails, then pretend we aren't using GCC.
9540 # If it is relative, then search for the first ld in PATH.
9544 elif test "$with_gnu_ld" = yes; then
9545 echo "$as_me:$LINENO: checking for GNU ld" >&5
9546 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9548 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9549 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9551 if test "${lt_cv_path_LD+set}" = set; then
9552 echo $ECHO_N "(cached) $ECHO_C" >&6
9554 if test -z "$LD"; then
9555 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9556 for ac_dir in $PATH; do
9558 test -z "$ac_dir" && ac_dir=.
9559 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9560 lt_cv_path_LD="$ac_dir/$ac_prog"
9561 # Check to see if the program is GNU ld. I'd rather use --version,
9562 # but apparently some GNU ld's only accept -v.
9563 # Break only if it was the GNU/non-GNU ld that we prefer.
9564 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9565 *GNU* | *'with BFD'*)
9566 test "$with_gnu_ld" != no && break
9569 test "$with_gnu_ld" != yes && break
9576 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9581 if test -n "$LD"; then
9582 echo "$as_me:$LINENO: result: $LD" >&5
9583 echo "${ECHO_T}$LD" >&6
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9588 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9589 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9590 { (exit 1); exit 1; }; }
9591 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9592 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9593 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9594 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9597 case `"$LD" -v 2>&1 </dev/null` in
9598 *GNU* | *'with BFD'*)
9599 lt_cv_prog_gnu_ld=yes
9602 lt_cv_prog_gnu_ld=no
9606 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9607 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9608 with_gnu_ld=$lt_cv_prog_gnu_ld
9612 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9613 # archiving commands below assume that GNU ld is being used.
9614 if test "$with_gnu_ld" = yes; then
9615 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9616 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'
9618 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9619 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9621 # If archive_cmds runs LD, not CC, wlarc should be empty
9622 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9623 # investigate it a little bit more. (MM)
9626 # ancient GNU ld didn't support --whole-archive et. al.
9627 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9628 grep 'no-whole-archive' > /dev/null; then
9629 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9631 whole_archive_flag_spec_CXX=
9637 # A generic and very simple default shared library creation
9638 # command for GNU C++ for the case where it uses the native
9639 # linker, instead of GNU ld. If possible, this setting should
9640 # overridden to take advantage of the native linker features on
9641 # the platform it is being used on.
9642 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9645 # Commands to make compiler produce verbose output that lists
9646 # what "hidden" libraries, object files and flags are used when
9647 # linking a shared library.
9648 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9656 # PORTME: fill in a description of your system's C++ link characteristics
9657 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9658 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9662 # FIXME: insert proper C++ library support
9666 if test "$host_cpu" = ia64; then
9667 # On IA64, the linker does run time linking by default, so we don't
9668 # have to do anything special.
9669 aix_use_runtimelinking=no
9670 exp_sym_flag='-Bexport'
9673 aix_use_runtimelinking=no
9675 # Test if we are trying to use run time linking or normal
9676 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9677 # need to do runtime linking.
9678 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9679 for ld_flag in $LDFLAGS; do
9682 aix_use_runtimelinking=yes
9689 exp_sym_flag='-bexport'
9690 no_entry_flag='-bnoentry'
9693 # When large executables or shared objects are built, AIX ld can
9694 # have problems creating the table of contents. If linking a library
9695 # or program results in "error TOC overflow" add -mminimal-toc to
9696 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9697 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9700 hardcode_direct_CXX=yes
9701 hardcode_libdir_separator_CXX=':'
9702 link_all_deplibs_CXX=yes
9704 if test "$GXX" = yes; then
9705 case $host_os in aix4.012|aix4.012.*)
9706 # We only want to do this on AIX 4.2 and lower, the check
9707 # below for broken collect2 doesn't work under 4.3+
9708 collect2name=`${CC} -print-prog-name=collect2`
9709 if test -f "$collect2name" && \
9710 strings "$collect2name" | grep resolve_lib_name >/dev/null
9712 # We have reworked collect2
9713 hardcode_direct_CXX=yes
9715 # We have old collect2
9716 hardcode_direct_CXX=unsupported
9717 # It fails to find uninstalled libraries when the uninstalled
9718 # path is not listed in the libpath. Setting hardcode_minus_L
9719 # to unsupported forces relinking
9720 hardcode_minus_L_CXX=yes
9721 hardcode_libdir_flag_spec_CXX='-L$libdir'
9722 hardcode_libdir_separator_CXX=
9725 shared_flag='-shared'
9728 if test "$host_cpu" = ia64; then
9729 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9730 # chokes on -Wl,-G. The following line is correct:
9733 if test "$aix_use_runtimelinking" = yes; then
9734 shared_flag='${wl}-G'
9736 shared_flag='${wl}-bM:SRE'
9741 # It seems that -bexpall does not export symbols beginning with
9742 # underscore (_), so it is better to generate a list of symbols to export.
9743 always_export_symbols_CXX=yes
9744 if test "$aix_use_runtimelinking" = yes; then
9745 # Warning - without using the other runtime loading flags (-brtl),
9746 # -berok will link without error, but may produce a broken library.
9747 allow_undefined_flag_CXX='-berok'
9748 # Determine the default libpath from the value encoded in an empty executable.
9749 cat >conftest.$ac_ext <<_ACEOF
9750 #line $LINENO "configure"
9753 cat confdefs.h >>conftest.$ac_ext
9754 cat >>conftest.$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9765 rm -f conftest.$ac_objext conftest$ac_exeext
9766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9767 (eval $ac_link) 2>&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); } &&
9771 { ac_try='test -s conftest$ac_exeext'
9772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 (exit $ac_status); }; }; then
9778 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9780 # Check for a 64-bit object if we didn't find anything.
9781 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; }
9784 echo "$as_me: failed program was:" >&5
9785 sed 's/^/| /' conftest.$ac_ext >&5
9788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9789 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9791 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9793 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"
9795 if test "$host_cpu" = ia64; then
9796 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9797 allow_undefined_flag_CXX="-z nodefs"
9798 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"
9800 # Determine the default libpath from the value encoded in an empty executable.
9801 cat >conftest.$ac_ext <<_ACEOF
9802 #line $LINENO "configure"
9805 cat confdefs.h >>conftest.$ac_ext
9806 cat >>conftest.$ac_ext <<_ACEOF
9807 /* end confdefs.h. */
9817 rm -f conftest.$ac_objext conftest$ac_exeext
9818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9819 (eval $ac_link) 2>&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); } &&
9823 { ac_try='test -s conftest$ac_exeext'
9824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); }; }; then
9830 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9832 # Check for a 64-bit object if we didn't find anything.
9833 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; }
9836 echo "$as_me: failed program was:" >&5
9837 sed 's/^/| /' conftest.$ac_ext >&5
9840 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9841 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9843 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9844 # Warning - without using the other run time loading flags,
9845 # -berok will link without error, but may produce a broken library.
9846 no_undefined_flag_CXX=' ${wl}-bernotok'
9847 allow_undefined_flag_CXX=' ${wl}-berok'
9848 # -bexpall does not export symbols beginning with underscore (_)
9849 always_export_symbols_CXX=yes
9850 # Exported symbols can be pulled into shared objects from archives
9851 whole_archive_flag_spec_CXX=' '
9852 archive_cmds_need_lc_CXX=yes
9853 # This is similar to how AIX traditionally builds it's shared libraries.
9854 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'
9859 case $cc_basename in
9861 # FIXME: insert proper C++ library support
9867 cygwin* | mingw* | pw32*)
9868 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9869 # as there is no search path for DLLs.
9870 hardcode_libdir_flag_spec_CXX='-L$libdir'
9871 allow_undefined_flag_CXX=unsupported
9872 always_export_symbols_CXX=no
9873 enable_shared_with_static_runtimes_CXX=yes
9875 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9876 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'
9877 # If the export-symbols file already is a .def file (1st line
9878 # is EXPORTS), use it as is; otherwise, prepend...
9879 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9880 cp $export_symbols $output_objdir/$soname.def;
9882 echo EXPORTS > $output_objdir/$soname.def;
9883 cat $export_symbols >> $output_objdir/$soname.def;
9885 $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'
9891 darwin* | rhapsody*)
9892 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9893 archive_cmds_need_lc_CXX=no
9895 rhapsody* | darwin1.[012])
9896 allow_undefined_flag_CXX='-undefined suppress'
9899 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9902 lt_int_apple_cc_single_mod=no
9903 output_verbose_link_cmd='echo'
9904 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9905 lt_int_apple_cc_single_mod=yes
9907 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9908 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9910 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'
9912 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9914 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9915 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9916 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}'
9918 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}'
9920 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}'
9921 hardcode_direct_CXX=no
9922 hardcode_automatic_CXX=yes
9923 hardcode_shlibpath_var_CXX=unsupported
9924 whole_archive_flag_spec_CXX='-all_load $convenience'
9925 link_all_deplibs_CXX=yes
9930 case $cc_basename in
9932 # FIXME: insert proper C++ library support
9936 # Green Hills C++ Compiler
9937 # FIXME: insert proper C++ library support
9941 # FIXME: insert proper C++ library support
9947 # C++ shared libraries reported to be fairly broken before switch to ELF
9951 archive_cmds_need_lc_CXX=no
9954 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9961 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9962 hardcode_libdir_separator_CXX=:
9963 export_dynamic_flag_spec_CXX='${wl}-E'
9964 hardcode_direct_CXX=yes
9965 hardcode_minus_L_CXX=yes # Not in the search PATH,
9966 # but as the default
9967 # location of the library.
9969 case $cc_basename in
9971 # FIXME: insert proper C++ library support
9975 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'
9976 # Commands to make compiler produce verbose output that lists
9977 # what "hidden" libraries, object files and flags are used when
9978 # linking a shared library.
9980 # There doesn't appear to be a way to prevent this compiler from
9981 # explicitly linking system object files so we need to strip them
9982 # from the output so that they don't get included in the library
9984 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'
9987 if test "$GXX" = yes; then
9988 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'
9990 # FIXME: insert proper C++ library support
9997 if test $with_gnu_ld = no; then
10000 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10001 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10002 hardcode_libdir_separator_CXX=:
10005 hardcode_libdir_flag_spec_CXX='-L$libdir'
10008 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10009 hardcode_libdir_separator_CXX=:
10010 export_dynamic_flag_spec_CXX='${wl}-E'
10014 case "$host_cpu" in
10016 hardcode_direct_CXX=no
10017 hardcode_shlibpath_var_CXX=no
10020 hardcode_direct_CXX=no
10021 hardcode_shlibpath_var_CXX=no
10022 hardcode_minus_L_CXX=yes # Not in the search PATH,
10023 # but as the default
10024 # location of the library.
10027 hardcode_direct_CXX=yes
10028 hardcode_minus_L_CXX=yes # Not in the search PATH,
10029 # but as the default
10030 # location of the library.
10034 case $cc_basename in
10036 # FIXME: insert proper C++ library support
10040 case "$host_cpu" in
10042 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10045 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10048 # Commands to make compiler produce verbose output that lists
10049 # what "hidden" libraries, object files and flags are used when
10050 # linking a shared library.
10052 # There doesn't appear to be a way to prevent this compiler from
10053 # explicitly linking system object files so we need to strip them
10054 # from the output so that they don't get included in the library
10056 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'
10059 if test "$GXX" = yes; then
10060 if test $with_gnu_ld = no; then
10061 case "$host_cpu" in
10063 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10066 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'
10071 # FIXME: insert proper C++ library support
10078 case $cc_basename in
10081 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'
10083 # Archives containing C++ object files must be created using
10084 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10085 # necessary to make sure instantiated templates are included
10087 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10090 if test "$GXX" = yes; then
10091 if test "$with_gnu_ld" = no; then
10092 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'
10094 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'
10097 link_all_deplibs_CXX=yes
10100 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10101 hardcode_libdir_separator_CXX=:
10104 case $cc_basename in
10106 # Kuck and Associates, Inc. (KAI) C++ Compiler
10108 # KCC will only create a shared library if the output file
10109 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10110 # to its proper name (with version) after linking.
10111 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'
10112 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'
10113 # Commands to make compiler produce verbose output that lists
10114 # what "hidden" libraries, object files and flags are used when
10115 # linking a shared library.
10117 # There doesn't appear to be a way to prevent this compiler from
10118 # explicitly linking system object files so we need to strip them
10119 # from the output so that they don't get included in the library
10121 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'
10123 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10124 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10126 # Archives containing C++ object files must be created using
10127 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10128 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10133 archive_cmds_need_lc_CXX=no
10134 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10135 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'
10136 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10137 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10138 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10142 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10143 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'
10145 runpath_var=LD_RUN_PATH
10146 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10147 hardcode_libdir_separator_CXX=:
10149 # Commands to make compiler produce verbose output that lists
10150 # what "hidden" libraries, object files and flags are used when
10151 # linking a shared library.
10153 # There doesn't appear to be a way to prevent this compiler from
10154 # explicitly linking system object files so we need to strip them
10155 # from the output so that they don't get included in the library
10157 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'
10162 # FIXME: insert proper C++ library support
10166 # FIXME: insert proper C++ library support
10170 case $cc_basename in
10172 # FIXME: insert proper C++ library support
10176 # FIXME: insert proper C++ library support
10182 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10183 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10185 hardcode_libdir_flag_spec_CXX='-R$libdir'
10186 hardcode_direct_CXX=yes
10187 hardcode_shlibpath_var_CXX=no
10189 # Workaround some broken pre-1.5 toolchains
10190 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10193 case $cc_basename in
10195 # Kuck and Associates, Inc. (KAI) C++ Compiler
10197 # KCC will only create a shared library if the output file
10198 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10199 # to its proper name (with version) after linking.
10200 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'
10202 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10203 hardcode_libdir_separator_CXX=:
10205 # Archives containing C++ object files must be created using
10206 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10207 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10211 # Rational C++ 2.4.1
10212 # FIXME: insert proper C++ library support
10216 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10217 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'
10219 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10220 hardcode_libdir_separator_CXX=:
10222 # Commands to make compiler produce verbose output that lists
10223 # what "hidden" libraries, object files and flags are used when
10224 # linking a shared library.
10226 # There doesn't appear to be a way to prevent this compiler from
10227 # explicitly linking system object files so we need to strip them
10228 # from the output so that they don't get included in the library
10230 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'
10233 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10234 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10235 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'
10237 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10238 hardcode_libdir_separator_CXX=:
10240 # Commands to make compiler produce verbose output that lists
10241 # what "hidden" libraries, object files and flags are used when
10242 # linking a shared library.
10243 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10246 # FIXME: insert proper C++ library support
10253 case $cc_basename in
10255 # Kuck and Associates, Inc. (KAI) C++ Compiler
10257 # KCC will only create a shared library if the output file
10258 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10259 # to its proper name (with version) after linking.
10260 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'
10262 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10263 hardcode_libdir_separator_CXX=:
10265 # Archives containing C++ object files must be created using
10266 # the KAI C++ compiler.
10267 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10270 # Rational C++ 2.4.1
10271 # FIXME: insert proper C++ library support
10275 allow_undefined_flag_CXX=' -expect_unresolved \*'
10276 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'
10277 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10278 echo "-hidden">> $lib.exp~
10279 $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~
10282 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10283 hardcode_libdir_separator_CXX=:
10285 # Commands to make compiler produce verbose output that lists
10286 # what "hidden" libraries, object files and flags are used when
10287 # linking a shared library.
10289 # There doesn't appear to be a way to prevent this compiler from
10290 # explicitly linking system object files so we need to strip them
10291 # from the output so that they don't get included in the library
10293 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'
10296 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10297 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10298 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'
10300 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10301 hardcode_libdir_separator_CXX=:
10303 # Commands to make compiler produce verbose output that lists
10304 # what "hidden" libraries, object files and flags are used when
10305 # linking a shared library.
10306 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10309 # FIXME: insert proper C++ library support
10316 # FIXME: insert proper C++ library support
10320 archive_cmds_need_lc_CXX=no
10321 case $cc_basename in
10323 # FIXME: insert proper C++ library support
10327 # FIXME: insert proper C++ library support
10333 case $cc_basename in
10336 # FIXME: insert proper C++ library support
10341 # FIXME: insert proper C++ library support
10345 # FIXME: insert proper C++ library support
10351 case $cc_basename in
10353 # Sun C++ 4.2, 5.x and Centerline C++
10354 no_undefined_flag_CXX=' -zdefs'
10355 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10356 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10357 $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'
10359 hardcode_libdir_flag_spec_CXX='-R$libdir'
10360 hardcode_shlibpath_var_CXX=no
10362 solaris2.0-5 | solaris2.0-5.*) ;;
10364 # The C++ compiler is used as linker so we must use $wl
10365 # flag to pass the commands to the underlying system
10367 # Supported since Solaris 2.6 (maybe 2.5.1?)
10368 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10371 link_all_deplibs_CXX=yes
10373 # Commands to make compiler produce verbose output that lists
10374 # what "hidden" libraries, object files and flags are used when
10375 # linking a shared library.
10377 # There doesn't appear to be a way to prevent this compiler from
10378 # explicitly linking system object files so we need to strip them
10379 # from the output so that they don't get included in the library
10381 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'
10383 # Archives containing C++ object files must be created using
10384 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10385 # necessary to make sure instantiated templates are included
10387 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10390 # Green Hills C++ Compiler
10391 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10393 # The C++ compiler must be used to create the archive.
10394 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10397 # GNU C++ compiler with Solaris linker
10398 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10399 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10400 if $CC --version | grep -v '^2\.7' > /dev/null; then
10401 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10402 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10403 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10405 # Commands to make compiler produce verbose output that lists
10406 # what "hidden" libraries, object files and flags are used when
10407 # linking a shared library.
10408 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10410 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10412 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10413 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10414 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10416 # Commands to make compiler produce verbose output that lists
10417 # what "hidden" libraries, object files and flags are used when
10418 # linking a shared library.
10419 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10422 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10427 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10428 archive_cmds_need_lc_CXX=no
10431 case $cc_basename in
10433 # NonStop-UX NCC 3.20
10434 # FIXME: insert proper C++ library support
10438 # FIXME: insert proper C++ library support
10444 # FIXME: insert proper C++ library support
10448 # FIXME: insert proper C++ library support
10452 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10453 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10454 test "$ld_shlibs_CXX" = no && can_build_shared=no
10460 ## There is no encapsulation within the following macros, do not change
10461 ## the running order or otherwise move them around unless you know exactly
10462 ## what you are doing...
10464 cat > conftest.$ac_ext <<EOF
10468 Foo (void) { a = 0; }
10474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10475 (eval $ac_compile) 2>&5
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); }; then
10479 # Parse the compiler output and extract the necessary
10480 # objects, libraries and library flags.
10482 # Sentinel used to keep track of whether or not we are before
10483 # the conftest object file.
10484 pre_test_object_deps_done=no
10486 # The `*' in the case matches for architectures that use `case' in
10487 # $output_verbose_cmd can trigger glob expansion during the loop
10488 # eval without this substitution.
10489 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10491 for p in `eval $output_verbose_link_cmd`; do
10495 # Some compilers place space between "-{L,R}" and the path.
10496 # Remove the space.
10497 if test $p = "-L" \
10498 || test $p = "-R"; then
10505 if test "$pre_test_object_deps_done" = no; then
10508 # Internal compiler library paths should come after those
10509 # provided the user. The postdeps already come after the
10510 # user supplied libs so there is no need to process them.
10511 if test -z "$compiler_lib_search_path_CXX"; then
10512 compiler_lib_search_path_CXX="${prev}${p}"
10514 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10517 # The "-l" case would never come before the object being
10518 # linked, so don't bother handling this case.
10521 if test -z "$postdeps_CXX"; then
10522 postdeps_CXX="${prev}${p}"
10524 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10530 # This assumes that the test object file only shows up
10531 # once in the compiler output.
10532 if test "$p" = "conftest.$objext"; then
10533 pre_test_object_deps_done=yes
10537 if test "$pre_test_object_deps_done" = no; then
10538 if test -z "$predep_objects_CXX"; then
10539 predep_objects_CXX="$p"
10541 predep_objects_CXX="$predep_objects_CXX $p"
10544 if test -z "$postdep_objects_CXX"; then
10545 postdep_objects_CXX="$p"
10547 postdep_objects_CXX="$postdep_objects_CXX $p"
10552 *) ;; # Ignore the rest.
10560 echo "libtool.m4: error: problem compiling CXX test program"
10563 $rm -f confest.$objext
10565 case " $postdeps_CXX " in
10566 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10569 lt_prog_compiler_wl_CXX=
10570 lt_prog_compiler_pic_CXX=
10571 lt_prog_compiler_static_CXX=
10573 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10574 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10576 # C++ specific cases for pic, static, wl, etc.
10577 if test "$GXX" = yes; then
10578 lt_prog_compiler_wl_CXX='-Wl,'
10579 lt_prog_compiler_static_CXX='-static'
10583 # All AIX code is PIC.
10584 if test "$host_cpu" = ia64; then
10585 # AIX 5 now supports IA64 processor
10586 lt_prog_compiler_static_CXX='-Bstatic'
10590 # FIXME: we need at least 68020 code to build shared libraries, but
10591 # adding the `-m68020' flag to GCC prevents building anything better,
10593 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10595 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10596 # PIC is the default for these OSes.
10598 mingw* | os2* | pw32*)
10599 # This hack is so that the source file can tell whether it is being
10600 # built for inclusion in a dll (and should export symbols for example).
10601 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10603 darwin* | rhapsody*)
10604 # PIC is the default on this platform
10605 # Common symbols not allowed in MH_DYLIB files
10606 lt_prog_compiler_pic_CXX='-fno-common'
10609 # DJGPP does not support shared libraries at all
10610 lt_prog_compiler_pic_CXX=
10613 if test -d /usr/nec; then
10614 lt_prog_compiler_pic_CXX=-Kconform_pic
10618 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10619 # not for PA HP-UX.
10620 case "$host_cpu" in
10624 lt_prog_compiler_pic_CXX='-fPIC'
10629 lt_prog_compiler_pic_CXX='-fPIC'
10635 # All AIX code is PIC.
10636 if test "$host_cpu" = ia64; then
10637 # AIX 5 now supports IA64 processor
10638 lt_prog_compiler_static_CXX='-Bstatic'
10640 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10644 case $cc_basename in
10646 # Green Hills C++ Compiler
10647 # _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"
10652 case $cc_basename in
10654 lt_prog_compiler_pic_CXX='-KPIC'
10657 # Green Hills C++ Compiler
10658 lt_prog_compiler_pic_CXX='-pic'
10665 # FreeBSD uses GNU C++
10667 hpux9* | hpux10* | hpux11*)
10668 case $cc_basename in
10670 lt_prog_compiler_wl_CXX='-Wl,'
10671 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10672 if test "$host_cpu" != ia64; then
10673 lt_prog_compiler_pic_CXX='+Z'
10677 lt_prog_compiler_wl_CXX='-Wl,'
10678 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10679 case "$host_cpu" in
10684 lt_prog_compiler_pic_CXX='+Z'
10692 irix5* | irix6* | nonstopux*)
10693 case $cc_basename in
10695 lt_prog_compiler_wl_CXX='-Wl,'
10696 lt_prog_compiler_static_CXX='-non_shared'
10697 # CC pic flag -KPIC is the default.
10704 case $cc_basename in
10707 lt_prog_compiler_wl_CXX='--backend -Wl,'
10708 lt_prog_compiler_pic_CXX='-fPIC'
10712 lt_prog_compiler_wl_CXX='-Wl,'
10713 lt_prog_compiler_pic_CXX='-KPIC'
10714 lt_prog_compiler_static_CXX='-static'
10718 # Make sure the PIC flag is empty. It appears that all Alpha
10719 # Linux and Compaq Tru64 Unix objects are PIC.
10720 lt_prog_compiler_pic_CXX=
10721 lt_prog_compiler_static_CXX='-non_shared'
10732 case $cc_basename in
10734 lt_prog_compiler_pic_CXX='-W c,exportall'
10742 osf3* | osf4* | osf5*)
10743 case $cc_basename in
10745 lt_prog_compiler_wl_CXX='--backend -Wl,'
10748 # Rational C++ 2.4.1
10749 lt_prog_compiler_pic_CXX='-pic'
10752 # Digital/Compaq C++
10753 lt_prog_compiler_wl_CXX='-Wl,'
10754 # Make sure the PIC flag is empty. It appears that all Alpha
10755 # Linux and Compaq Tru64 Unix objects are PIC.
10756 lt_prog_compiler_pic_CXX=
10757 lt_prog_compiler_static_CXX='-non_shared'
10766 case $cc_basename in
10768 lt_prog_compiler_pic_CXX='-fPIC'
10775 case $cc_basename in
10777 # Sun C++ 4.2, 5.x and Centerline C++
10778 lt_prog_compiler_pic_CXX='-KPIC'
10779 lt_prog_compiler_static_CXX='-Bstatic'
10780 lt_prog_compiler_wl_CXX='-Qoption ld '
10783 # Green Hills C++ Compiler
10784 lt_prog_compiler_pic_CXX='-PIC'
10791 case $cc_basename in
10794 lt_prog_compiler_pic_CXX='-pic'
10795 lt_prog_compiler_static_CXX='-Bstatic'
10799 lt_prog_compiler_pic_CXX='-pic'
10806 case $cc_basename in
10808 # NonStop-UX NCC 3.20
10809 lt_prog_compiler_pic_CXX='-KPIC'
10820 lt_prog_compiler_can_build_shared_CXX=no
10825 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10826 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10829 # Check to make sure the PIC flag actually works.
10831 if test -n "$lt_prog_compiler_pic_CXX"; then
10832 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10833 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10834 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10835 echo $ECHO_N "(cached) $ECHO_C" >&6
10837 lt_prog_compiler_pic_works_CXX=no
10838 ac_outfile=conftest.$ac_objext
10839 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10840 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10841 # Insert the option either (1) after the last *FLAGS variable, or
10842 # (2) before a word containing "conftest.", or (3) at the end.
10843 # Note that $ac_compile itself does not contain backslashes and begins
10844 # with a dollar sign (not a hyphen), so the echo should work correctly.
10845 # The option is referenced via a variable to avoid confusing sed.
10846 lt_compile=`echo "$ac_compile" | $SED \
10847 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10849 -e 's:$: $lt_compiler_flag:'`
10850 (eval echo "\"\$as_me:10850: $lt_compile\"" >&5)
10851 (eval "$lt_compile" 2>conftest.err)
10853 cat conftest.err >&5
10854 echo "$as_me:10854: \$? = $ac_status" >&5
10855 if (exit $ac_status) && test -s "$ac_outfile"; then
10856 # The compiler can only warn and ignore the option if not recognized
10857 # So say no if there are warnings
10858 if test ! -s conftest.err; then
10859 lt_prog_compiler_pic_works_CXX=yes
10865 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10866 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10868 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10869 case $lt_prog_compiler_pic_CXX in
10871 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10874 lt_prog_compiler_pic_CXX=
10875 lt_prog_compiler_can_build_shared_CXX=no
10880 # For platforms which do not support PIC, -DPIC is meaningless:
10882 lt_prog_compiler_pic_CXX=
10885 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10889 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10890 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10891 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10894 lt_cv_prog_compiler_c_o_CXX=no
10895 $rm -r conftest 2>/dev/null
10899 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10901 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10902 # that will create temporary files in the current directory regardless of
10903 # the output directory. Thus, making CWD read-only will cause this test
10904 # to fail, enabling locking or at least warning the user not to do parallel
10908 lt_compiler_flag="-o out/conftest2.$ac_objext"
10909 # Insert the option either (1) after the last *FLAGS variable, or
10910 # (2) before a word containing "conftest.", or (3) at the end.
10911 # Note that $ac_compile itself does not contain backslashes and begins
10912 # with a dollar sign (not a hyphen), so the echo should work correctly.
10913 lt_compile=`echo "$ac_compile" | $SED \
10914 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10915 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10916 -e 's:$: $lt_compiler_flag:'`
10917 (eval echo "\"\$as_me:10917: $lt_compile\"" >&5)
10918 (eval "$lt_compile" 2>out/conftest.err)
10920 cat out/conftest.err >&5
10921 echo "$as_me:10921: \$? = $ac_status" >&5
10922 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10924 # The compiler can only warn and ignore the option if not recognized
10925 # So say no if there are warnings
10926 if test ! -s out/conftest.err; then
10927 lt_cv_prog_compiler_c_o_CXX=yes
10931 $rm conftest* out/*
10938 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10939 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10942 hard_links="nottested"
10943 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10944 # do not overwrite the value of need_locks provided by the user
10945 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10946 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10949 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10951 ln conftest.a conftest.b 2>&5 || hard_links=no
10952 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10953 echo "$as_me:$LINENO: result: $hard_links" >&5
10954 echo "${ECHO_T}$hard_links" >&6
10955 if test "$hard_links" = no; then
10956 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10957 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10964 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10965 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10967 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10970 # If we're using GNU nm, then we don't want the "-C" option.
10971 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10972 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10973 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'
10975 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'
10979 export_symbols_cmds_CXX="$ltdll_cmds"
10982 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10985 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10989 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10990 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10991 test "$ld_shlibs_CXX" = no && can_build_shared=no
10993 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10994 if test "$GCC" = yes; then
10995 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10999 # Do we need to explicitly link libc?
11001 case "x$archive_cmds_need_lc_CXX" in
11003 # Assume -lc should be added
11004 archive_cmds_need_lc_CXX=yes
11006 if test "$enable_shared" = yes && test "$GCC" = yes; then
11007 case $archive_cmds_CXX in
11009 # FIXME: we may have to deal with multi-command sequences.
11012 # Test whether the compiler implicitly links with -lc since on some
11013 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11014 # to ld, don't add -lc before -lgcc.
11015 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11016 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11018 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11021 (eval $ac_compile) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); } 2>conftest.err; then
11027 libobjs=conftest.$ac_objext
11029 wl=$lt_prog_compiler_wl_CXX
11035 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11036 allow_undefined_flag_CXX=
11037 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11038 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); }
11043 archive_cmds_need_lc_CXX=no
11045 archive_cmds_need_lc_CXX=yes
11047 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11049 cat conftest.err 1>&5
11052 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11053 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11060 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11061 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11062 hardcode_action_CXX=
11063 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11064 test -n "$runpath_var CXX" || \
11065 test "X$hardcode_automatic_CXX"="Xyes" ; then
11067 # We can hardcode non-existant directories.
11068 if test "$hardcode_direct_CXX" != no &&
11069 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11070 # have to relink, otherwise we might link with an installed library
11071 # when we should be linking with a yet-to-be-installed one
11072 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11073 test "$hardcode_minus_L_CXX" != no; then
11074 # Linking always hardcodes the temporary library directory.
11075 hardcode_action_CXX=relink
11077 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11078 hardcode_action_CXX=immediate
11081 # We cannot hardcode anything, or else we can only hardcode existing
11083 hardcode_action_CXX=unsupported
11085 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11086 echo "${ECHO_T}$hardcode_action_CXX" >&6
11088 if test "$hardcode_action_CXX" = relink; then
11089 # Fast installation is not supported
11090 enable_fast_install=no
11091 elif test "$shlibpath_overrides_runpath" = yes ||
11092 test "$enable_shared" = no; then
11093 # Fast installation is not necessary
11094 enable_fast_install=needless
11099 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11100 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11101 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11102 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11103 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11104 echo "$as_me:$LINENO: result: yes" >&5
11105 echo "${ECHO_T}yes" >&6
11107 # FIXME - insert some real tests, host_os isn't really good enough
11110 if test -n "$STRIP" ; then
11111 striplib="$STRIP -x"
11112 echo "$as_me:$LINENO: result: yes" >&5
11113 echo "${ECHO_T}yes" >&6
11115 echo "$as_me:$LINENO: result: no" >&5
11116 echo "${ECHO_T}no" >&6
11120 echo "$as_me:$LINENO: result: no" >&5
11121 echo "${ECHO_T}no" >&6
11126 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11127 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11128 library_names_spec=
11129 libname_spec='lib$name'
11133 postuninstall_cmds=
11137 shlibpath_overrides_runpath=unknown
11139 dynamic_linker="$host_os ld.so"
11140 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11141 if test "$GCC" = yes; then
11142 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11143 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11144 # if the path contains ";" then we assume it to be the separator
11145 # otherwise default to the standard path separator (i.e. ":") - it is
11146 # assumed that no part of a normal pathname contains ";" but that should
11147 # okay in the real world where ";" in dirpaths is itself problematic.
11148 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11150 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11153 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11155 need_lib_prefix=unknown
11156 hardcode_into_libs=no
11158 # when you set need_version to no, make sure it does not cause -set_version
11159 # flags to be left without arguments
11160 need_version=unknown
11165 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11166 shlibpath_var=LIBPATH
11168 # AIX 3 has no versioning support, so we append a major version to the name.
11169 soname_spec='${libname}${release}${shared_ext}$major'
11176 hardcode_into_libs=yes
11177 if test "$host_cpu" = ia64; then
11178 # AIX 5 supports IA64
11179 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11180 shlibpath_var=LD_LIBRARY_PATH
11182 # With GCC up to 2.95.x, collect2 would create an import file
11183 # for dependence libraries. The import file would start with
11184 # the line `#! .'. This would cause the generated library to
11185 # depend on `.', always an invalid library. This was fixed in
11186 # development snapshots of GCC prior to 3.0.
11188 aix4 | aix4.[01] | aix4.[01].*)
11189 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11191 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11194 can_build_shared=no
11198 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11199 # soname into executable. Probably we can add versioning support to
11200 # collect2, so additional links can be useful in future.
11201 if test "$aix_use_runtimelinking" = yes; then
11202 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11203 # instead of lib<name>.a to let people know that these are not
11204 # typical AIX shared libraries.
11205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11207 # We preserve .a as extension for shared libraries through AIX4.2
11208 # and later when we are not doing run time linking.
11209 library_names_spec='${libname}${release}.a $libname.a'
11210 soname_spec='${libname}${release}${shared_ext}$major'
11212 shlibpath_var=LIBPATH
11217 library_names_spec='$libname.ixlibrary $libname.a'
11218 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11219 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'
11223 library_names_spec='${libname}${shared_ext}'
11224 dynamic_linker="$host_os ld.so"
11225 shlibpath_var=LIBRARY_PATH
11231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11232 soname_spec='${libname}${release}${shared_ext}$major'
11233 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11234 shlibpath_var=LD_LIBRARY_PATH
11235 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11236 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11237 # the default ld.so.conf also contains /usr/contrib/lib and
11238 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11239 # libtool to hard-code these into programs
11242 cygwin* | mingw* | pw32*)
11243 version_type=windows
11248 case $GCC,$host_os in
11249 yes,cygwin* | yes,mingw* | yes,pw32*)
11250 library_names_spec='$libname.dll.a'
11251 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11252 postinstall_cmds='base_file=`basename \${file}`~
11253 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11254 dldir=$destdir/`dirname \$dlpath`~
11255 test -d \$dldir || mkdir -p \$dldir~
11256 $install_prog $dir/$dlname \$dldir/$dlname'
11257 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11258 dlpath=$dir/\$dldll~
11260 shlibpath_overrides_runpath=yes
11264 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11265 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11266 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11269 # MinGW DLLs use traditional 'lib' prefix
11270 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11271 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11272 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11273 # It is most probably a Windows format PATH printed by
11274 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11275 # path with ; separators, and with drive letters. We can handle the
11276 # drive letters (cygwin fileutils understands them), so leave them,
11277 # especially as we might pass files found there to a mingw objdump,
11278 # which wouldn't understand a cygwinified path. Ahh.
11279 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11281 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11285 # pw32 DLLs use 'pw' prefix rather than 'lib'
11286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11292 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11295 dynamic_linker='Win32 ld.exe'
11296 # FIXME: first we should search . and the directory the executable is in
11300 darwin* | rhapsody*)
11301 dynamic_linker="$host_os dyld"
11302 version_type=darwin
11305 # FIXME: Relying on posixy $() will cause problems for
11306 # cross-compilation, but unfortunately the echo tests do not
11307 # yet detect zsh echo's removal of \ escapes.
11308 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11309 soname_spec='${libname}${release}${major}$shared_ext'
11310 shlibpath_overrides_runpath=yes
11311 shlibpath_var=DYLD_LIBRARY_PATH
11312 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11313 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11314 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11315 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"`
11317 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11325 soname_spec='${libname}${release}${shared_ext}$major'
11326 shlibpath_var=LD_LIBRARY_PATH
11334 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11335 version_type=freebsd-$objformat
11336 case $version_type in
11338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11343 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11347 shlibpath_var=LD_LIBRARY_PATH
11350 shlibpath_overrides_runpath=yes
11352 freebsd3.01* | freebsdelf3.01*)
11353 shlibpath_overrides_runpath=yes
11354 hardcode_into_libs=yes
11357 shlibpath_overrides_runpath=no
11358 hardcode_into_libs=yes
11367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11368 soname_spec='${libname}${release}${shared_ext}$major'
11369 shlibpath_var=LD_LIBRARY_PATH
11370 hardcode_into_libs=yes
11373 hpux9* | hpux10* | hpux11*)
11374 # Give a soname corresponding to the major version so that dld.sl refuses to
11375 # link against other versions.
11379 case "$host_cpu" in
11382 hardcode_into_libs=yes
11383 dynamic_linker="$host_os dld.so"
11384 shlibpath_var=LD_LIBRARY_PATH
11385 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11387 soname_spec='${libname}${release}${shared_ext}$major'
11388 if test "X$HPUX_IA64_MODE" = X32; then
11389 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11391 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11393 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11397 hardcode_into_libs=yes
11398 dynamic_linker="$host_os dld.sl"
11399 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11400 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11402 soname_spec='${libname}${release}${shared_ext}$major'
11403 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11404 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11408 dynamic_linker="$host_os dld.sl"
11409 shlibpath_var=SHLIB_PATH
11410 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11412 soname_spec='${libname}${release}${shared_ext}$major'
11415 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11416 postinstall_cmds='chmod 555 $lib'
11419 irix5* | irix6* | nonstopux*)
11421 nonstopux*) version_type=nonstopux ;;
11423 if test "$lt_cv_prog_gnu_ld" = yes; then
11431 soname_spec='${libname}${release}${shared_ext}$major'
11432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11434 irix5* | nonstopux*)
11435 libsuff= shlibsuff=
11438 case $LD in # libtool.m4 will add one of these switches to LD
11439 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11440 libsuff= shlibsuff= libmagic=32-bit;;
11441 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11442 libsuff=32 shlibsuff=N32 libmagic=N32;;
11443 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11444 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11445 *) libsuff= shlibsuff= libmagic=never-match;;
11449 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11450 shlibpath_overrides_runpath=no
11451 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11452 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11453 hardcode_into_libs=yes
11456 # No shared lib support for Linux oldld, aout, or coff.
11457 linux*oldld* | linux*aout* | linux*coff*)
11461 # This must be Linux ELF.
11466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11467 soname_spec='${libname}${release}${shared_ext}$major'
11468 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11469 shlibpath_var=LD_LIBRARY_PATH
11470 shlibpath_overrides_runpath=no
11471 # This implies no fast_install, which is unacceptable.
11472 # Some rework will be needed to allow for fast_install
11473 # before this can be enabled.
11474 hardcode_into_libs=yes
11476 # We used to test for /lib/ld.so.1 and disable shared libraries on
11477 # powerpc, because MkLinux only supported shared libraries with the
11478 # GNU dynamic linker. Since this was broken with cross compilers,
11479 # most powerpc-linux boxes support dynamic linking these days and
11480 # people can always --disable-shared, the test was removed, and we
11481 # assume the GNU/Linux dynamic linker is in use.
11482 dynamic_linker='GNU/Linux ld.so'
11489 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11491 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11492 dynamic_linker='NetBSD (a.out) ld.so'
11494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11495 soname_spec='${libname}${release}${shared_ext}$major'
11496 dynamic_linker='NetBSD ld.elf_so'
11498 shlibpath_var=LD_LIBRARY_PATH
11499 shlibpath_overrides_runpath=yes
11500 hardcode_into_libs=yes
11505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11506 shlibpath_var=LD_LIBRARY_PATH
11507 shlibpath_overrides_runpath=yes
11514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11515 soname_spec='${libname}${release}${shared_ext}$major'
11516 shlibpath_var=LD_LIBRARY_PATH
11517 shlibpath_overrides_runpath=yes
11524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11525 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11526 shlibpath_var=LD_LIBRARY_PATH
11527 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11529 openbsd2.[89] | openbsd2.[89].*)
11530 shlibpath_overrides_runpath=no
11533 shlibpath_overrides_runpath=yes
11537 shlibpath_overrides_runpath=yes
11542 libname_spec='$name'
11545 library_names_spec='$libname${shared_ext} $libname.a'
11546 dynamic_linker='OS/2 ld.exe'
11547 shlibpath_var=LIBPATH
11550 osf3* | osf4* | osf5*)
11554 soname_spec='${libname}${release}${shared_ext}$major'
11555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11556 shlibpath_var=LD_LIBRARY_PATH
11557 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11558 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11563 soname_spec='${libname}${release}${shared_ext}$major'
11564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11565 shlibpath_var=LD_LIBRARY_PATH
11572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11573 soname_spec='${libname}${release}${shared_ext}$major'
11574 shlibpath_var=LD_LIBRARY_PATH
11575 shlibpath_overrides_runpath=yes
11576 hardcode_into_libs=yes
11577 # ldd complains unless libraries are executable
11578 postinstall_cmds='chmod +x $lib'
11583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11584 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11585 shlibpath_var=LD_LIBRARY_PATH
11586 shlibpath_overrides_runpath=yes
11587 if test "$with_gnu_ld" = yes; then
11593 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11596 soname_spec='${libname}${release}${shared_ext}$major'
11597 shlibpath_var=LD_LIBRARY_PATH
11598 case $host_vendor in
11600 shlibpath_overrides_runpath=no
11602 export_dynamic_flag_spec='${wl}-Blargedynsym'
11603 runpath_var=LD_RUN_PATH
11611 shlibpath_overrides_runpath=no
11612 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11618 if test -d /usr/nec ;then
11620 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11621 soname_spec='$libname${shared_ext}.$major'
11622 shlibpath_var=LD_LIBRARY_PATH
11628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629 soname_spec='${libname}${release}${shared_ext}$major'
11630 shlibpath_var=LD_LIBRARY_PATH
11637 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11638 echo "${ECHO_T}$dynamic_linker" >&6
11639 test "$dynamic_linker" = no && can_build_shared=no
11641 if test "x$enable_dlopen" != xyes; then
11642 enable_dlopen=unknown
11643 enable_dlopen_self=unknown
11644 enable_dlopen_self_static=unknown
11651 lt_cv_dlopen="load_add_on"
11653 lt_cv_dlopen_self=yes
11657 lt_cv_dlopen="LoadLibrary"
11662 lt_cv_dlopen="dlopen"
11667 # if libdl is installed we need to link against it
11668 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11669 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11670 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11671 echo $ECHO_N "(cached) $ECHO_C" >&6
11673 ac_check_lib_save_LIBS=$LIBS
11675 cat >conftest.$ac_ext <<_ACEOF
11676 #line $LINENO "configure"
11679 cat confdefs.h >>conftest.$ac_ext
11680 cat >>conftest.$ac_ext <<_ACEOF
11681 /* end confdefs.h. */
11683 /* Override any gcc2 internal prototype to avoid an error. */
11687 /* We use char because int might match the return type of a gcc2
11688 builtin and then its argument prototype would still apply. */
11698 rm -f conftest.$ac_objext conftest$ac_exeext
11699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11700 (eval $ac_link) 2>&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } &&
11704 { ac_try='test -s conftest$ac_exeext'
11705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706 (eval $ac_try) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); }; }; then
11710 ac_cv_lib_dl_dlopen=yes
11712 echo "$as_me: failed program was:" >&5
11713 sed 's/^/| /' conftest.$ac_ext >&5
11715 ac_cv_lib_dl_dlopen=no
11717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11718 LIBS=$ac_check_lib_save_LIBS
11720 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11721 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11722 if test $ac_cv_lib_dl_dlopen = yes; then
11723 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11726 lt_cv_dlopen="dyld"
11728 lt_cv_dlopen_self=yes
11735 echo "$as_me:$LINENO: checking for shl_load" >&5
11736 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11737 if test "${ac_cv_func_shl_load+set}" = set; then
11738 echo $ECHO_N "(cached) $ECHO_C" >&6
11740 cat >conftest.$ac_ext <<_ACEOF
11741 #line $LINENO "configure"
11744 cat confdefs.h >>conftest.$ac_ext
11745 cat >>conftest.$ac_ext <<_ACEOF
11746 /* end confdefs.h. */
11747 /* System header to define __stub macros and hopefully few prototypes,
11748 which can conflict with char shl_load (); below.
11749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11750 <limits.h> exists even on freestanding compilers. */
11752 # include <limits.h>
11754 # include <assert.h>
11756 /* Override any gcc2 internal prototype to avoid an error. */
11761 /* We use char because int might match the return type of a gcc2
11762 builtin and then its argument prototype would still apply. */
11764 /* The GNU C library defines this for functions which it implements
11765 to always fail with ENOSYS. Some functions are actually named
11766 something starting with __ and the normal name is an alias. */
11767 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11770 char (*f) () = shl_load;
11779 return f != shl_load;
11784 rm -f conftest.$ac_objext conftest$ac_exeext
11785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11786 (eval $ac_link) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); } &&
11790 { ac_try='test -s conftest$ac_exeext'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; }; then
11796 ac_cv_func_shl_load=yes
11798 echo "$as_me: failed program was:" >&5
11799 sed 's/^/| /' conftest.$ac_ext >&5
11801 ac_cv_func_shl_load=no
11803 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11805 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11806 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11807 if test $ac_cv_func_shl_load = yes; then
11808 lt_cv_dlopen="shl_load"
11810 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11811 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11812 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11813 echo $ECHO_N "(cached) $ECHO_C" >&6
11815 ac_check_lib_save_LIBS=$LIBS
11817 cat >conftest.$ac_ext <<_ACEOF
11818 #line $LINENO "configure"
11821 cat confdefs.h >>conftest.$ac_ext
11822 cat >>conftest.$ac_ext <<_ACEOF
11823 /* end confdefs.h. */
11825 /* Override any gcc2 internal prototype to avoid an error. */
11829 /* We use char because int might match the return type of a gcc2
11830 builtin and then its argument prototype would still apply. */
11840 rm -f conftest.$ac_objext conftest$ac_exeext
11841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11842 (eval $ac_link) 2>&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); } &&
11846 { ac_try='test -s conftest$ac_exeext'
11847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11848 (eval $ac_try) 2>&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); }; }; then
11852 ac_cv_lib_dld_shl_load=yes
11854 echo "$as_me: failed program was:" >&5
11855 sed 's/^/| /' conftest.$ac_ext >&5
11857 ac_cv_lib_dld_shl_load=no
11859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11860 LIBS=$ac_check_lib_save_LIBS
11862 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11863 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11864 if test $ac_cv_lib_dld_shl_load = yes; then
11865 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11867 echo "$as_me:$LINENO: checking for dlopen" >&5
11868 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11869 if test "${ac_cv_func_dlopen+set}" = set; then
11870 echo $ECHO_N "(cached) $ECHO_C" >&6
11872 cat >conftest.$ac_ext <<_ACEOF
11873 #line $LINENO "configure"
11876 cat confdefs.h >>conftest.$ac_ext
11877 cat >>conftest.$ac_ext <<_ACEOF
11878 /* end confdefs.h. */
11879 /* System header to define __stub macros and hopefully few prototypes,
11880 which can conflict with char dlopen (); below.
11881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11882 <limits.h> exists even on freestanding compilers. */
11884 # include <limits.h>
11886 # include <assert.h>
11888 /* Override any gcc2 internal prototype to avoid an error. */
11893 /* We use char because int might match the return type of a gcc2
11894 builtin and then its argument prototype would still apply. */
11896 /* The GNU C library defines this for functions which it implements
11897 to always fail with ENOSYS. Some functions are actually named
11898 something starting with __ and the normal name is an alias. */
11899 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11902 char (*f) () = dlopen;
11911 return f != dlopen;
11916 rm -f conftest.$ac_objext conftest$ac_exeext
11917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11918 (eval $ac_link) 2>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); } &&
11922 { ac_try='test -s conftest$ac_exeext'
11923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11924 (eval $ac_try) 2>&5
11926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 (exit $ac_status); }; }; then
11928 ac_cv_func_dlopen=yes
11930 echo "$as_me: failed program was:" >&5
11931 sed 's/^/| /' conftest.$ac_ext >&5
11933 ac_cv_func_dlopen=no
11935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11937 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11938 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11939 if test $ac_cv_func_dlopen = yes; then
11940 lt_cv_dlopen="dlopen"
11942 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11943 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11944 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11947 ac_check_lib_save_LIBS=$LIBS
11949 cat >conftest.$ac_ext <<_ACEOF
11950 #line $LINENO "configure"
11953 cat confdefs.h >>conftest.$ac_ext
11954 cat >>conftest.$ac_ext <<_ACEOF
11955 /* end confdefs.h. */
11957 /* Override any gcc2 internal prototype to avoid an error. */
11961 /* We use char because int might match the return type of a gcc2
11962 builtin and then its argument prototype would still apply. */
11972 rm -f conftest.$ac_objext conftest$ac_exeext
11973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11974 (eval $ac_link) 2>&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } &&
11978 { ac_try='test -s conftest$ac_exeext'
11979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980 (eval $ac_try) 2>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); }; }; then
11984 ac_cv_lib_dl_dlopen=yes
11986 echo "$as_me: failed program was:" >&5
11987 sed 's/^/| /' conftest.$ac_ext >&5
11989 ac_cv_lib_dl_dlopen=no
11991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11992 LIBS=$ac_check_lib_save_LIBS
11994 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11995 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11996 if test $ac_cv_lib_dl_dlopen = yes; then
11997 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11999 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12000 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12001 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12002 echo $ECHO_N "(cached) $ECHO_C" >&6
12004 ac_check_lib_save_LIBS=$LIBS
12005 LIBS="-lsvld $LIBS"
12006 cat >conftest.$ac_ext <<_ACEOF
12007 #line $LINENO "configure"
12010 cat confdefs.h >>conftest.$ac_ext
12011 cat >>conftest.$ac_ext <<_ACEOF
12012 /* end confdefs.h. */
12014 /* Override any gcc2 internal prototype to avoid an error. */
12018 /* We use char because int might match the return type of a gcc2
12019 builtin and then its argument prototype would still apply. */
12029 rm -f conftest.$ac_objext conftest$ac_exeext
12030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12031 (eval $ac_link) 2>&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); } &&
12035 { ac_try='test -s conftest$ac_exeext'
12036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12037 (eval $ac_try) 2>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); }; }; then
12041 ac_cv_lib_svld_dlopen=yes
12043 echo "$as_me: failed program was:" >&5
12044 sed 's/^/| /' conftest.$ac_ext >&5
12046 ac_cv_lib_svld_dlopen=no
12048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12049 LIBS=$ac_check_lib_save_LIBS
12051 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12052 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12053 if test $ac_cv_lib_svld_dlopen = yes; then
12054 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12056 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12057 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12058 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12059 echo $ECHO_N "(cached) $ECHO_C" >&6
12061 ac_check_lib_save_LIBS=$LIBS
12063 cat >conftest.$ac_ext <<_ACEOF
12064 #line $LINENO "configure"
12067 cat confdefs.h >>conftest.$ac_ext
12068 cat >>conftest.$ac_ext <<_ACEOF
12069 /* end confdefs.h. */
12071 /* Override any gcc2 internal prototype to avoid an error. */
12075 /* We use char because int might match the return type of a gcc2
12076 builtin and then its argument prototype would still apply. */
12086 rm -f conftest.$ac_objext conftest$ac_exeext
12087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12088 (eval $ac_link) 2>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); } &&
12092 { ac_try='test -s conftest$ac_exeext'
12093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12094 (eval $ac_try) 2>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); }; }; then
12098 ac_cv_lib_dld_dld_link=yes
12100 echo "$as_me: failed program was:" >&5
12101 sed 's/^/| /' conftest.$ac_ext >&5
12103 ac_cv_lib_dld_dld_link=no
12105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12106 LIBS=$ac_check_lib_save_LIBS
12108 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12109 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12110 if test $ac_cv_lib_dld_dld_link = yes; then
12111 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12132 if test "x$lt_cv_dlopen" != xno; then
12138 case $lt_cv_dlopen in
12140 save_CPPFLAGS="$CPPFLAGS"
12141 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12143 save_LDFLAGS="$LDFLAGS"
12144 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12147 LIBS="$lt_cv_dlopen_libs $LIBS"
12149 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12150 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12151 if test "${lt_cv_dlopen_self+set}" = set; then
12152 echo $ECHO_N "(cached) $ECHO_C" >&6
12154 if test "$cross_compiling" = yes; then :
12155 lt_cv_dlopen_self=cross
12157 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12158 lt_status=$lt_dlunknown
12159 cat > conftest.$ac_ext <<EOF
12160 #line 12160 "configure"
12161 #include "confdefs.h"
12170 # define LT_DLGLOBAL RTLD_GLOBAL
12173 # define LT_DLGLOBAL DL_GLOBAL
12175 # define LT_DLGLOBAL 0
12179 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12180 find out it does not work in some platform. */
12181 #ifndef LT_DLLAZY_OR_NOW
12183 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12186 # define LT_DLLAZY_OR_NOW DL_LAZY
12189 # define LT_DLLAZY_OR_NOW RTLD_NOW
12192 # define LT_DLLAZY_OR_NOW DL_NOW
12194 # define LT_DLLAZY_OR_NOW 0
12202 extern "C" void exit (int);
12205 void fnord() { int i=42;}
12208 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12209 int status = $lt_dlunknown;
12213 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12214 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12215 /* dlclose (self); */
12221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12222 (eval $ac_link) 2>&5
12224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12226 (./conftest; exit; ) 2>/dev/null
12228 case x$lt_status in
12229 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12230 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12231 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12234 # compilation failed
12235 lt_cv_dlopen_self=no
12242 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12243 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12245 if test "x$lt_cv_dlopen_self" = xyes; then
12246 LDFLAGS="$LDFLAGS $link_static_flag"
12247 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12248 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12249 if test "${lt_cv_dlopen_self_static+set}" = set; then
12250 echo $ECHO_N "(cached) $ECHO_C" >&6
12252 if test "$cross_compiling" = yes; then :
12253 lt_cv_dlopen_self_static=cross
12255 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12256 lt_status=$lt_dlunknown
12257 cat > conftest.$ac_ext <<EOF
12258 #line 12258 "configure"
12259 #include "confdefs.h"
12268 # define LT_DLGLOBAL RTLD_GLOBAL
12271 # define LT_DLGLOBAL DL_GLOBAL
12273 # define LT_DLGLOBAL 0
12277 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12278 find out it does not work in some platform. */
12279 #ifndef LT_DLLAZY_OR_NOW
12281 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12284 # define LT_DLLAZY_OR_NOW DL_LAZY
12287 # define LT_DLLAZY_OR_NOW RTLD_NOW
12290 # define LT_DLLAZY_OR_NOW DL_NOW
12292 # define LT_DLLAZY_OR_NOW 0
12300 extern "C" void exit (int);
12303 void fnord() { int i=42;}
12306 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12307 int status = $lt_dlunknown;
12311 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12312 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12313 /* dlclose (self); */
12319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12320 (eval $ac_link) 2>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12324 (./conftest; exit; ) 2>/dev/null
12326 case x$lt_status in
12327 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12328 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12329 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12332 # compilation failed
12333 lt_cv_dlopen_self_static=no
12340 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12341 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12344 CPPFLAGS="$save_CPPFLAGS"
12345 LDFLAGS="$save_LDFLAGS"
12350 case $lt_cv_dlopen_self in
12351 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12352 *) enable_dlopen_self=unknown ;;
12355 case $lt_cv_dlopen_self_static in
12356 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12357 *) enable_dlopen_self_static=unknown ;;
12362 # The else clause should only fire when bootstrapping the
12363 # libtool distribution, otherwise you forgot to ship ltmain.sh
12364 # with your package, and you will get complaints that there are
12365 # no rules to generate ltmain.sh.
12366 if test -f "$ltmain"; then
12367 # See if we are running on zsh, and set the options which allow our commands through
12368 # without removal of \ escapes.
12369 if test -n "${ZSH_VERSION+set}" ; then
12370 setopt NO_GLOB_SUBST
12372 # Now quote all the things that may contain metacharacters while being
12373 # careful not to overquote the AC_SUBSTed values. We take copies of the
12374 # variables and quote the copies for generation of the libtool script.
12375 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12376 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12377 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12378 deplibs_check_method reload_flag reload_cmds need_locks \
12379 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12380 lt_cv_sys_global_symbol_to_c_name_address \
12381 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12382 old_postinstall_cmds old_postuninstall_cmds \
12386 lt_prog_compiler_wl_CXX \
12387 lt_prog_compiler_pic_CXX \
12388 lt_prog_compiler_static_CXX \
12389 lt_prog_compiler_no_builtin_flag_CXX \
12390 export_dynamic_flag_spec_CXX \
12391 thread_safe_flag_spec_CXX \
12392 whole_archive_flag_spec_CXX \
12393 enable_shared_with_static_runtimes_CXX \
12394 old_archive_cmds_CXX \
12395 old_archive_from_new_cmds_CXX \
12396 predep_objects_CXX \
12397 postdep_objects_CXX \
12400 compiler_lib_search_path_CXX \
12402 archive_expsym_cmds_CXX \
12403 postinstall_cmds_CXX \
12404 postuninstall_cmds_CXX \
12405 old_archive_from_expsyms_cmds_CXX \
12406 allow_undefined_flag_CXX \
12407 no_undefined_flag_CXX \
12408 export_symbols_cmds_CXX \
12409 hardcode_libdir_flag_spec_CXX \
12410 hardcode_libdir_flag_spec_ld_CXX \
12411 hardcode_libdir_separator_CXX \
12412 hardcode_automatic_CXX \
12414 module_expsym_cmds_CXX \
12415 lt_cv_prog_compiler_c_o_CXX \
12416 exclude_expsyms_CXX \
12417 include_expsyms_CXX; do
12420 old_archive_cmds_CXX | \
12421 old_archive_from_new_cmds_CXX | \
12422 archive_cmds_CXX | \
12423 archive_expsym_cmds_CXX | \
12424 module_cmds_CXX | \
12425 module_expsym_cmds_CXX | \
12426 old_archive_from_expsyms_cmds_CXX | \
12427 export_symbols_cmds_CXX | \
12428 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12429 postinstall_cmds | postuninstall_cmds | \
12430 old_postinstall_cmds | old_postuninstall_cmds | \
12431 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12432 # Double-quote double-evaled strings.
12433 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12436 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12442 *'\$0 --fallback-echo"')
12443 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12449 cat <<__EOF__ >> "$cfgfile"
12450 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12452 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12454 # Shell to use when invoking shell scripts.
12457 # Whether or not to build shared libraries.
12458 build_libtool_libs=$enable_shared
12460 # Whether or not to build static libraries.
12461 build_old_libs=$enable_static
12463 # Whether or not to add -lc for building shared libraries.
12464 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12466 # Whether or not to disallow shared libs when runtime libs are static
12467 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12469 # Whether or not to optimize for fast installation.
12470 fast_install=$enable_fast_install
12473 host_alias=$host_alias
12476 # An echo program that does not interpret backslashes.
12481 AR_FLAGS=$lt_AR_FLAGS
12486 # A language-specific compiler.
12487 CC=$lt_compiler_CXX
12489 # Is the compiler the GNU C compiler?
12495 # The linker used to build libraries.
12498 # Whether we need hard or soft links.
12501 # A BSD-compatible nm program.
12504 # A symbol stripping program
12507 # Used to examine libraries when file_magic_cmd begins "file"
12508 MAGIC_CMD=$MAGIC_CMD
12510 # Used on cygwin: DLL creation program.
12513 # Used on cygwin: object dumper.
12516 # Used on cygwin: assembler.
12519 # The name of the directory that contains temporary libtool files.
12522 # How to create reloadable object files.
12523 reload_flag=$lt_reload_flag
12524 reload_cmds=$lt_reload_cmds
12526 # How to pass a linker flag through the compiler.
12527 wl=$lt_lt_prog_compiler_wl_CXX
12529 # Object file suffix (normally "o").
12530 objext="$ac_objext"
12532 # Old archive suffix (normally "a").
12535 # Shared library suffix (normally ".so").
12538 # Executable file suffix (normally "").
12541 # Additional compiler flags for building library objects.
12542 pic_flag=$lt_lt_prog_compiler_pic_CXX
12545 # What is the maximum length of a command?
12546 max_cmd_len=$lt_cv_sys_max_cmd_len
12548 # Does compiler simultaneously support -c and -o options?
12549 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12551 # Must we lock files when doing compilation ?
12552 need_locks=$lt_need_locks
12554 # Do we need the lib prefix for modules?
12555 need_lib_prefix=$need_lib_prefix
12557 # Do we need a version for libraries?
12558 need_version=$need_version
12560 # Whether dlopen is supported.
12561 dlopen_support=$enable_dlopen
12563 # Whether dlopen of programs is supported.
12564 dlopen_self=$enable_dlopen_self
12566 # Whether dlopen of statically linked programs is supported.
12567 dlopen_self_static=$enable_dlopen_self_static
12569 # Compiler flag to prevent dynamic linking.
12570 link_static_flag=$lt_lt_prog_compiler_static_CXX
12572 # Compiler flag to turn off builtin functions.
12573 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12575 # Compiler flag to allow reflexive dlopens.
12576 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12578 # Compiler flag to generate shared objects directly from archives.
12579 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12581 # Compiler flag to generate thread-safe objects.
12582 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12584 # Library versioning type.
12585 version_type=$version_type
12587 # Format of library name prefix.
12588 libname_spec=$lt_libname_spec
12590 # List of archive names. First name is the real one, the rest are links.
12591 # The last name is the one that the linker finds with -lNAME.
12592 library_names_spec=$lt_library_names_spec
12594 # The coded name of the library, if different from the real name.
12595 soname_spec=$lt_soname_spec
12597 # Commands used to build and install an old-style archive.
12599 old_archive_cmds=$lt_old_archive_cmds_CXX
12600 old_postinstall_cmds=$lt_old_postinstall_cmds
12601 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12603 # Create an old-style archive from a shared archive.
12604 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12606 # Create a temporary old-style archive to link instead of a shared archive.
12607 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12609 # Commands used to build and install a shared archive.
12610 archive_cmds=$lt_archive_cmds_CXX
12611 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12612 postinstall_cmds=$lt_postinstall_cmds
12613 postuninstall_cmds=$lt_postuninstall_cmds
12615 # Commands used to build a loadable module (assumed same as above if empty)
12616 module_cmds=$lt_module_cmds_CXX
12617 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12619 # Commands to strip libraries.
12620 old_striplib=$lt_old_striplib
12621 striplib=$lt_striplib
12623 # Dependencies to place before the objects being linked to create a
12625 predep_objects=$lt_predep_objects_CXX
12627 # Dependencies to place after the objects being linked to create a
12629 postdep_objects=$lt_postdep_objects_CXX
12631 # Dependencies to place before the objects being linked to create a
12633 predeps=$lt_predeps_CXX
12635 # Dependencies to place after the objects being linked to create a
12637 postdeps=$lt_postdeps_CXX
12639 # The library search path used internally by the compiler when linking
12640 # a shared library.
12641 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12643 # Method to check whether dependent libraries are shared objects.
12644 deplibs_check_method=$lt_deplibs_check_method
12646 # Command to use when deplibs_check_method == file_magic.
12647 file_magic_cmd=$lt_file_magic_cmd
12649 # Flag that allows shared libraries with undefined symbols to be built.
12650 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12652 # Flag that forces no undefined symbols.
12653 no_undefined_flag=$lt_no_undefined_flag_CXX
12655 # Commands used to finish a libtool library installation in a directory.
12656 finish_cmds=$lt_finish_cmds
12658 # Same as above, but a single script fragment to be evaled but not shown.
12659 finish_eval=$lt_finish_eval
12661 # Take the output of nm and produce a listing of raw symbols and C names.
12662 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12664 # Transform the output of nm in a proper C declaration
12665 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12667 # Transform the output of nm in a C name address pair
12668 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12670 # This is the shared library runtime path variable.
12671 runpath_var=$runpath_var
12673 # This is the shared library path variable.
12674 shlibpath_var=$shlibpath_var
12676 # Is shlibpath searched before the hard-coded library search path?
12677 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12679 # How to hardcode a shared library path into an executable.
12680 hardcode_action=$hardcode_action_CXX
12682 # Whether we should hardcode library paths into libraries.
12683 hardcode_into_libs=$hardcode_into_libs
12685 # Flag to hardcode \$libdir into a binary during linking.
12686 # This must work even if \$libdir does not exist.
12687 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12689 # If ld is used when linking, flag to hardcode \$libdir into
12690 # a binary during linking. This must work even if \$libdir does
12692 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12694 # Whether we need a single -rpath flag with a separated argument.
12695 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12697 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12698 # resulting binary.
12699 hardcode_direct=$hardcode_direct_CXX
12701 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12702 # resulting binary.
12703 hardcode_minus_L=$hardcode_minus_L_CXX
12705 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12706 # the resulting binary.
12707 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12709 # Set to yes if building a shared library automatically hardcodes DIR into the library
12710 # and all subsequent libraries and executables linked against it.
12711 hardcode_automatic=$hardcode_automatic_CXX
12713 # Variables whose values should be saved in libtool wrapper scripts and
12714 # restored at relink time.
12715 variables_saved_for_relink="$variables_saved_for_relink"
12717 # Whether libtool must link a program against all its dependency libraries.
12718 link_all_deplibs=$link_all_deplibs_CXX
12720 # Compile-time system search path for libraries
12721 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12723 # Run-time system search path for libraries
12724 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12726 # Fix the shell variable \$srcfile for the compiler.
12727 fix_srcfile_path="$fix_srcfile_path_CXX"
12729 # Set to yes if exported symbols are required.
12730 always_export_symbols=$always_export_symbols_CXX
12732 # The commands to list exported symbols.
12733 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12735 # The commands to extract the exported symbol list from a shared archive.
12736 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12738 # Symbols that should not be listed in the preloaded symbols.
12739 exclude_expsyms=$lt_exclude_expsyms_CXX
12741 # Symbols that must always be exported.
12742 include_expsyms=$lt_include_expsyms_CXX
12744 # ### END LIBTOOL TAG CONFIG: $tagname
12750 # If there is no Makefile yet, we rely on a make rule to execute
12751 # `config.status --recheck' to rerun these tests and create the
12752 # libtool script then.
12753 test -f Makefile && make "$ltmain"
12758 ac_cpp='$CPP $CPPFLAGS'
12759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12767 with_gnu_ldcxx=$with_gnu_ld
12768 with_gnu_ld=$lt_save_with_gnu_ld
12769 lt_cv_path_LDCXX=$lt_cv_path_LD
12770 lt_cv_path_LD=$lt_save_path_LD
12771 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12772 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12780 if test -n "$F77" && test "X$F77" != "Xno"; then
12783 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12784 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12785 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12788 archive_cmds_need_lc_F77=no
12789 allow_undefined_flag_F77=
12790 always_export_symbols_F77=no
12791 archive_expsym_cmds_F77=
12792 export_dynamic_flag_spec_F77=
12793 hardcode_direct_F77=no
12794 hardcode_libdir_flag_spec_F77=
12795 hardcode_libdir_flag_spec_ld_F77=
12796 hardcode_libdir_separator_F77=
12797 hardcode_minus_L_F77=no
12798 hardcode_automatic_F77=no
12800 module_expsym_cmds_F77=
12801 link_all_deplibs_F77=unknown
12802 old_archive_cmds_F77=$old_archive_cmds
12803 no_undefined_flag_F77=
12804 whole_archive_flag_spec_F77=
12805 enable_shared_with_static_runtimes_F77=no
12807 # Source file extension for f77 test sources.
12810 # Object file extension for compiled f77 test sources.
12814 # Code to be used in simple compile tests
12815 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12817 # Code to be used in simple link tests
12818 lt_simple_link_test_code=" program t\n end\n"
12820 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12822 # If no C compiler was specified, use CC.
12825 # Allow CC to be a program name with arguments.
12829 # Allow CC to be a program name with arguments.
12834 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12836 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12837 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12838 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12839 echo "${ECHO_T}$can_build_shared" >&6
12841 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12842 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12843 test "$can_build_shared" = "no" && enable_shared=no
12845 # On AIX, shared libraries and static libraries use the same namespace, and
12846 # are all built from PIC.
12849 test "$enable_shared" = yes && enable_static=no
12850 if test -n "$RANLIB"; then
12851 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12852 postinstall_cmds='$RANLIB $lib'
12856 test "$enable_shared" = yes && enable_static=no
12859 echo "$as_me:$LINENO: result: $enable_shared" >&5
12860 echo "${ECHO_T}$enable_shared" >&6
12862 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12863 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12864 # Make sure either enable_shared or enable_static is yes.
12865 test "$enable_shared" = yes || enable_static=yes
12866 echo "$as_me:$LINENO: result: $enable_static" >&5
12867 echo "${ECHO_T}$enable_static" >&6
12869 test "$ld_shlibs_F77" = no && can_build_shared=no
12874 lt_prog_compiler_wl_F77=
12875 lt_prog_compiler_pic_F77=
12876 lt_prog_compiler_static_F77=
12878 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12879 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12881 if test "$GCC" = yes; then
12882 lt_prog_compiler_wl_F77='-Wl,'
12883 lt_prog_compiler_static_F77='-static'
12887 # All AIX code is PIC.
12888 if test "$host_cpu" = ia64; then
12889 # AIX 5 now supports IA64 processor
12890 lt_prog_compiler_static_F77='-Bstatic'
12895 # FIXME: we need at least 68020 code to build shared libraries, but
12896 # adding the `-m68020' flag to GCC prevents building anything better,
12898 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12901 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12902 # PIC is the default for these OSes.
12905 mingw* | pw32* | os2*)
12906 # This hack is so that the source file can tell whether it is being
12907 # built for inclusion in a dll (and should export symbols for example).
12908 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12911 darwin* | rhapsody*)
12912 # PIC is the default on this platform
12913 # Common symbols not allowed in MH_DYLIB files
12914 lt_prog_compiler_pic_F77='-fno-common'
12918 # Just because we use GCC doesn't mean we suddenly get shared libraries
12919 # on systems that don't support them.
12920 lt_prog_compiler_can_build_shared_F77=no
12925 if test -d /usr/nec; then
12926 lt_prog_compiler_pic_F77=-Kconform_pic
12931 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12932 # not for PA HP-UX.
12933 case "$host_cpu" in
12938 lt_prog_compiler_pic_F77='-fPIC'
12944 lt_prog_compiler_pic_F77='-fPIC'
12948 # PORTME Check for flag to pass linker flags through the system compiler.
12951 lt_prog_compiler_wl_F77='-Wl,'
12952 if test "$host_cpu" = ia64; then
12953 # AIX 5 now supports IA64 processor
12954 lt_prog_compiler_static_F77='-Bstatic'
12956 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12960 mingw* | pw32* | os2*)
12961 # This hack is so that the source file can tell whether it is being
12962 # built for inclusion in a dll (and should export symbols for example).
12963 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12966 hpux9* | hpux10* | hpux11*)
12967 lt_prog_compiler_wl_F77='-Wl,'
12968 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12969 # not for PA HP-UX.
12970 case "$host_cpu" in
12975 lt_prog_compiler_pic_F77='+Z'
12978 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12979 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12982 irix5* | irix6* | nonstopux*)
12983 lt_prog_compiler_wl_F77='-Wl,'
12984 # PIC (with -KPIC) is the default.
12985 lt_prog_compiler_static_F77='-non_shared'
12989 lt_prog_compiler_pic_F77='-KPIC'
12990 lt_prog_compiler_static_F77='-Bstatic'
12996 lt_prog_compiler_wl_F77='-Wl,'
12997 lt_prog_compiler_pic_F77='-KPIC'
12998 lt_prog_compiler_static_F77='-static'
13001 lt_prog_compiler_wl_F77='-Wl,'
13002 # All Alpha code is PIC.
13003 lt_prog_compiler_static_F77='-non_shared'
13008 osf3* | osf4* | osf5*)
13009 lt_prog_compiler_wl_F77='-Wl,'
13010 # All OSF/1 code is PIC.
13011 lt_prog_compiler_static_F77='-non_shared'
13015 lt_prog_compiler_pic_F77='-Kpic'
13016 lt_prog_compiler_static_F77='-dn'
13020 lt_prog_compiler_wl_F77='-Wl,'
13021 lt_prog_compiler_pic_F77='-KPIC'
13022 lt_prog_compiler_static_F77='-Bstatic'
13026 lt_prog_compiler_wl_F77='-Qoption ld '
13027 lt_prog_compiler_pic_F77='-PIC'
13028 lt_prog_compiler_static_F77='-Bstatic'
13031 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13032 lt_prog_compiler_wl_F77='-Wl,'
13033 lt_prog_compiler_pic_F77='-KPIC'
13034 lt_prog_compiler_static_F77='-Bstatic'
13038 if test -d /usr/nec ;then
13039 lt_prog_compiler_pic_F77='-Kconform_pic'
13040 lt_prog_compiler_static_F77='-Bstatic'
13045 lt_prog_compiler_pic_F77='-pic'
13046 lt_prog_compiler_static_F77='-Bstatic'
13050 lt_prog_compiler_can_build_shared_F77=no
13055 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13056 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13059 # Check to make sure the PIC flag actually works.
13061 if test -n "$lt_prog_compiler_pic_F77"; then
13062 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13063 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13064 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13065 echo $ECHO_N "(cached) $ECHO_C" >&6
13067 lt_prog_compiler_pic_works_F77=no
13068 ac_outfile=conftest.$ac_objext
13069 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13070 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13071 # Insert the option either (1) after the last *FLAGS variable, or
13072 # (2) before a word containing "conftest.", or (3) at the end.
13073 # Note that $ac_compile itself does not contain backslashes and begins
13074 # with a dollar sign (not a hyphen), so the echo should work correctly.
13075 # The option is referenced via a variable to avoid confusing sed.
13076 lt_compile=`echo "$ac_compile" | $SED \
13077 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13079 -e 's:$: $lt_compiler_flag:'`
13080 (eval echo "\"\$as_me:13080: $lt_compile\"" >&5)
13081 (eval "$lt_compile" 2>conftest.err)
13083 cat conftest.err >&5
13084 echo "$as_me:13084: \$? = $ac_status" >&5
13085 if (exit $ac_status) && test -s "$ac_outfile"; then
13086 # The compiler can only warn and ignore the option if not recognized
13087 # So say no if there are warnings
13088 if test ! -s conftest.err; then
13089 lt_prog_compiler_pic_works_F77=yes
13095 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13096 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13098 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13099 case $lt_prog_compiler_pic_F77 in
13101 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13104 lt_prog_compiler_pic_F77=
13105 lt_prog_compiler_can_build_shared_F77=no
13110 # For platforms which do not support PIC, -DPIC is meaningless:
13112 lt_prog_compiler_pic_F77=
13115 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13119 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13120 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13121 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13122 echo $ECHO_N "(cached) $ECHO_C" >&6
13124 lt_cv_prog_compiler_c_o_F77=no
13125 $rm -r conftest 2>/dev/null
13129 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13131 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13132 # that will create temporary files in the current directory regardless of
13133 # the output directory. Thus, making CWD read-only will cause this test
13134 # to fail, enabling locking or at least warning the user not to do parallel
13138 lt_compiler_flag="-o out/conftest2.$ac_objext"
13139 # Insert the option either (1) after the last *FLAGS variable, or
13140 # (2) before a word containing "conftest.", or (3) at the end.
13141 # Note that $ac_compile itself does not contain backslashes and begins
13142 # with a dollar sign (not a hyphen), so the echo should work correctly.
13143 lt_compile=`echo "$ac_compile" | $SED \
13144 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13145 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13146 -e 's:$: $lt_compiler_flag:'`
13147 (eval echo "\"\$as_me:13147: $lt_compile\"" >&5)
13148 (eval "$lt_compile" 2>out/conftest.err)
13150 cat out/conftest.err >&5
13151 echo "$as_me:13151: \$? = $ac_status" >&5
13152 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13154 # The compiler can only warn and ignore the option if not recognized
13155 # So say no if there are warnings
13156 if test ! -s out/conftest.err; then
13157 lt_cv_prog_compiler_c_o_F77=yes
13161 $rm conftest* out/*
13168 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13169 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13172 hard_links="nottested"
13173 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13174 # do not overwrite the value of need_locks provided by the user
13175 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13176 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13179 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13181 ln conftest.a conftest.b 2>&5 || hard_links=no
13182 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13183 echo "$as_me:$LINENO: result: $hard_links" >&5
13184 echo "${ECHO_T}$hard_links" >&6
13185 if test "$hard_links" = no; then
13186 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13187 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13194 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13195 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13198 allow_undefined_flag_F77=
13199 enable_shared_with_static_runtimes_F77=no
13201 archive_expsym_cmds_F77=
13202 old_archive_From_new_cmds_F77=
13203 old_archive_from_expsyms_cmds_F77=
13204 export_dynamic_flag_spec_F77=
13205 whole_archive_flag_spec_F77=
13206 thread_safe_flag_spec_F77=
13207 hardcode_libdir_flag_spec_F77=
13208 hardcode_libdir_flag_spec_ld_F77=
13209 hardcode_libdir_separator_F77=
13210 hardcode_direct_F77=no
13211 hardcode_minus_L_F77=no
13212 hardcode_shlibpath_var_F77=unsupported
13213 link_all_deplibs_F77=unknown
13214 hardcode_automatic_F77=no
13216 module_expsym_cmds_F77=
13217 always_export_symbols_F77=no
13218 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13219 # include_expsyms should be a list of space-separated symbols to be *always*
13220 # included in the symbol list
13221 include_expsyms_F77=
13222 # exclude_expsyms can be an extended regexp of symbols to exclude
13223 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13224 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13225 # as well as any symbol that contains `d'.
13226 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13227 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13228 # platforms (ab)use it in PIC code, but their linkers get confused if
13229 # the symbol is explicitly referenced. Since portable code cannot
13230 # rely on this symbol name, it's probably fine to never include it in
13231 # preloaded symbol tables.
13232 extract_expsyms_cmds=
13235 cygwin* | mingw* | pw32*)
13236 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13237 # When not using gcc, we currently assume that we are using
13238 # Microsoft Visual C++.
13239 if test "$GCC" != yes; then
13249 if test "$with_gnu_ld" = yes; then
13250 # If archive_cmds runs LD, not CC, wlarc should be empty
13253 # See if GNU ld supports shared libraries.
13255 aix3* | aix4* | aix5*)
13256 # On AIX/PPC, the GNU linker is very broken
13257 if test "$host_cpu" != ia64; then
13261 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13262 *** to be unable to reliably create shared libraries on AIX.
13263 *** Therefore, libtool is disabling shared libraries support. If you
13264 *** really care for shared libraries, you may want to modify your PATH
13265 *** so that a non-GNU linker is found, and then restart.
13272 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)'
13273 hardcode_libdir_flag_spec_F77='-L$libdir'
13274 hardcode_minus_L_F77=yes
13276 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13277 # that the semantics of dynamic libraries on AmigaOS, at least up
13278 # to version 4, is to share data among multiple programs linked
13279 # with the same dynamic library. Since this doesn't match the
13280 # behavior of shared libraries on other platforms, we can't use
13286 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13287 allow_undefined_flag_F77=unsupported
13288 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13289 # support --undefined. This deserves some investigation. FIXME
13290 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13296 cygwin* | mingw* | pw32*)
13297 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13298 # as there is no search path for DLLs.
13299 hardcode_libdir_flag_spec_F77='-L$libdir'
13300 allow_undefined_flag_F77=unsupported
13301 always_export_symbols_F77=no
13302 enable_shared_with_static_runtimes_F77=yes
13303 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13305 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13306 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13307 # If the export-symbols file already is a .def file (1st line
13308 # is EXPORTS), use it as is; otherwise, prepend...
13309 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13310 cp $export_symbols $output_objdir/$soname.def;
13312 echo EXPORTS > $output_objdir/$soname.def;
13313 cat $export_symbols >> $output_objdir/$soname.def;
13315 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13322 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13323 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13326 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13327 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13332 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13336 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13337 *** create shared libraries on Solaris systems. Therefore, libtool
13338 *** is disabling shared libraries support. We urge you to upgrade GNU
13339 *** binutils to release 2.9.1 or newer. Another option is to modify
13340 *** your PATH or compiler configuration so that the native linker is
13341 *** used, and then restart.
13344 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13345 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13346 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13353 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13355 hardcode_direct_F77=yes
13356 hardcode_shlibpath_var_F77=no
13360 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13361 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13362 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13369 if test "$ld_shlibs_F77" = yes; then
13370 runpath_var=LD_RUN_PATH
13371 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13372 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13373 # ancient GNU ld didn't support --whole-archive et. al.
13374 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13375 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13377 whole_archive_flag_spec_F77=
13381 # PORTME fill in a description of your system's linker (not GNU ld)
13384 allow_undefined_flag_F77=unsupported
13385 always_export_symbols_F77=yes
13386 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'
13387 # Note: this linker hardcodes the directories in LIBPATH if there
13388 # are no directories specified by -L.
13389 hardcode_minus_L_F77=yes
13390 if test "$GCC" = yes && test -z "$link_static_flag"; then
13391 # Neither direct hardcoding nor static linking is supported with a
13393 hardcode_direct_F77=unsupported
13398 if test "$host_cpu" = ia64; then
13399 # On IA64, the linker does run time linking by default, so we don't
13400 # have to do anything special.
13401 aix_use_runtimelinking=no
13402 exp_sym_flag='-Bexport'
13405 # If we're using GNU nm, then we don't want the "-C" option.
13406 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13407 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13408 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'
13410 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'
13412 aix_use_runtimelinking=no
13414 # Test if we are trying to use run time linking or normal
13415 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13416 # need to do runtime linking.
13417 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13418 for ld_flag in $LDFLAGS; do
13419 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13420 aix_use_runtimelinking=yes
13426 exp_sym_flag='-bexport'
13427 no_entry_flag='-bnoentry'
13430 # When large executables or shared objects are built, AIX ld can
13431 # have problems creating the table of contents. If linking a library
13432 # or program results in "error TOC overflow" add -mminimal-toc to
13433 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13434 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13436 archive_cmds_F77=''
13437 hardcode_direct_F77=yes
13438 hardcode_libdir_separator_F77=':'
13439 link_all_deplibs_F77=yes
13441 if test "$GCC" = yes; then
13442 case $host_os in aix4.012|aix4.012.*)
13443 # We only want to do this on AIX 4.2 and lower, the check
13444 # below for broken collect2 doesn't work under 4.3+
13445 collect2name=`${CC} -print-prog-name=collect2`
13446 if test -f "$collect2name" && \
13447 strings "$collect2name" | grep resolve_lib_name >/dev/null
13449 # We have reworked collect2
13450 hardcode_direct_F77=yes
13452 # We have old collect2
13453 hardcode_direct_F77=unsupported
13454 # It fails to find uninstalled libraries when the uninstalled
13455 # path is not listed in the libpath. Setting hardcode_minus_L
13456 # to unsupported forces relinking
13457 hardcode_minus_L_F77=yes
13458 hardcode_libdir_flag_spec_F77='-L$libdir'
13459 hardcode_libdir_separator_F77=
13462 shared_flag='-shared'
13465 if test "$host_cpu" = ia64; then
13466 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13467 # chokes on -Wl,-G. The following line is correct:
13470 if test "$aix_use_runtimelinking" = yes; then
13471 shared_flag='${wl}-G'
13473 shared_flag='${wl}-bM:SRE'
13478 # It seems that -bexpall does not export symbols beginning with
13479 # underscore (_), so it is better to generate a list of symbols to export.
13480 always_export_symbols_F77=yes
13481 if test "$aix_use_runtimelinking" = yes; then
13482 # Warning - without using the other runtime loading flags (-brtl),
13483 # -berok will link without error, but may produce a broken library.
13484 allow_undefined_flag_F77='-berok'
13485 # Determine the default libpath from the value encoded in an empty executable.
13486 cat >conftest.$ac_ext <<_ACEOF
13491 rm -f conftest.$ac_objext conftest$ac_exeext
13492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13493 (eval $ac_link) 2>&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); } &&
13497 { ac_try='test -s conftest$ac_exeext'
13498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13499 (eval $ac_try) 2>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); }; }; then
13504 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13506 # Check for a 64-bit object if we didn't find anything.
13507 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; }
13510 echo "$as_me: failed program was:" >&5
13511 sed 's/^/| /' conftest.$ac_ext >&5
13514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13515 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13517 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13518 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"
13520 if test "$host_cpu" = ia64; then
13521 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13522 allow_undefined_flag_F77="-z nodefs"
13523 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"
13525 # Determine the default libpath from the value encoded in an empty executable.
13526 cat >conftest.$ac_ext <<_ACEOF
13531 rm -f conftest.$ac_objext conftest$ac_exeext
13532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13533 (eval $ac_link) 2>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); } &&
13537 { ac_try='test -s conftest$ac_exeext'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; }; then
13544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13546 # Check for a 64-bit object if we didn't find anything.
13547 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; }
13550 echo "$as_me: failed program was:" >&5
13551 sed 's/^/| /' conftest.$ac_ext >&5
13554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13555 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13557 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13558 # Warning - without using the other run time loading flags,
13559 # -berok will link without error, but may produce a broken library.
13560 no_undefined_flag_F77=' ${wl}-bernotok'
13561 allow_undefined_flag_F77=' ${wl}-berok'
13562 # -bexpall does not export symbols beginning with underscore (_)
13563 always_export_symbols_F77=yes
13564 # Exported symbols can be pulled into shared objects from archives
13565 whole_archive_flag_spec_F77=' '
13566 archive_cmds_need_lc_F77=yes
13567 # This is similar to how AIX traditionally builds it's shared libraries.
13568 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'
13574 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)'
13575 hardcode_libdir_flag_spec_F77='-L$libdir'
13576 hardcode_minus_L_F77=yes
13577 # see comment about different semantics on the GNU ld section
13582 export_dynamic_flag_spec_F77=-rdynamic
13585 cygwin* | mingw* | pw32*)
13586 # When not using gcc, we currently assume that we are using
13587 # Microsoft Visual C++.
13588 # hardcode_libdir_flag_spec is actually meaningless, as there is
13589 # no search path for DLLs.
13590 hardcode_libdir_flag_spec_F77=' '
13591 allow_undefined_flag_F77=unsupported
13592 # Tell ltmain to make .lib files, not .a files.
13594 # Tell ltmain to make .dll files, not .so files.
13596 # FIXME: Setting linknames here is a bad hack.
13597 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13598 # The linker will automatically build a .lib file if we build a DLL.
13599 old_archive_From_new_cmds_F77='true'
13600 # FIXME: Should let the user specify the lib program.
13601 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13602 fix_srcfile_path='`cygpath -w "$srcfile"`'
13603 enable_shared_with_static_runtimes_F77=yes
13606 darwin* | rhapsody*)
13607 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13608 archive_cmds_need_lc_F77=no
13610 rhapsody* | darwin1.[012])
13611 allow_undefined_flag_F77='-undefined suppress'
13614 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13617 # FIXME: Relying on posixy $() will cause problems for
13618 # cross-compilation, but unfortunately the echo tests do not
13619 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13620 # `"' quotes if we put them in here... so don't!
13621 lt_int_apple_cc_single_mod=no
13622 output_verbose_link_cmd='echo'
13623 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13624 lt_int_apple_cc_single_mod=yes
13626 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13627 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13629 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'
13631 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13632 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13633 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13634 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}'
13636 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}'
13638 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}'
13639 hardcode_direct_F77=no
13640 hardcode_automatic_F77=yes
13641 hardcode_shlibpath_var_F77=unsupported
13642 whole_archive_flag_spec_F77='-all_load $convenience'
13643 link_all_deplibs_F77=yes
13648 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13649 hardcode_libdir_flag_spec_F77='-L$libdir'
13650 hardcode_shlibpath_var_F77=no
13657 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13658 # support. Future versions do this automatically, but an explicit c++rt0.o
13659 # does not break anything, and helps significantly (at the cost of a little
13662 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13663 hardcode_libdir_flag_spec_F77='-R$libdir'
13664 hardcode_direct_F77=yes
13665 hardcode_shlibpath_var_F77=no
13668 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13670 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13671 hardcode_direct_F77=yes
13672 hardcode_minus_L_F77=yes
13673 hardcode_shlibpath_var_F77=no
13676 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13678 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13679 hardcode_libdir_flag_spec_F77='-R$libdir'
13680 hardcode_direct_F77=yes
13681 hardcode_shlibpath_var_F77=no
13685 if test "$GCC" = yes; then
13686 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'
13688 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'
13690 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13691 hardcode_libdir_separator_F77=:
13692 hardcode_direct_F77=yes
13694 # hardcode_minus_L: Not really in the search PATH,
13695 # but as the default location of the library.
13696 hardcode_minus_L_F77=yes
13697 export_dynamic_flag_spec_F77='${wl}-E'
13701 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13702 case "$host_cpu" in
13704 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13707 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13711 case "$host_cpu" in
13713 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13716 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13720 if test "$with_gnu_ld" = no; then
13721 case "$host_cpu" in
13723 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13724 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13725 hardcode_libdir_separator_F77=:
13726 hardcode_direct_F77=no
13727 hardcode_shlibpath_var_F77=no
13730 hardcode_libdir_flag_spec_F77='-L$libdir'
13731 hardcode_direct_F77=no
13732 hardcode_shlibpath_var_F77=no
13734 # hardcode_minus_L: Not really in the search PATH,
13735 # but as the default location of the library.
13736 hardcode_minus_L_F77=yes
13739 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13740 hardcode_libdir_separator_F77=:
13741 hardcode_direct_F77=yes
13742 export_dynamic_flag_spec_F77='${wl}-E'
13744 # hardcode_minus_L: Not really in the search PATH,
13745 # but as the default location of the library.
13746 hardcode_minus_L_F77=yes
13752 irix5* | irix6* | nonstopux*)
13753 if test "$GCC" = yes; then
13754 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'
13756 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'
13757 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13759 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13760 hardcode_libdir_separator_F77=:
13761 link_all_deplibs_F77=yes
13765 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13766 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13768 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13770 hardcode_libdir_flag_spec_F77='-R$libdir'
13771 hardcode_direct_F77=yes
13772 hardcode_shlibpath_var_F77=no
13776 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13777 hardcode_direct_F77=yes
13778 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13779 hardcode_libdir_separator_F77=:
13780 hardcode_shlibpath_var_F77=no
13784 hardcode_direct_F77=yes
13785 hardcode_shlibpath_var_F77=no
13786 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13787 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13788 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13789 export_dynamic_flag_spec_F77='${wl}-E'
13792 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13793 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13794 hardcode_libdir_flag_spec_F77='-R$libdir'
13797 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13798 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13805 hardcode_libdir_flag_spec_F77='-L$libdir'
13806 hardcode_minus_L_F77=yes
13807 allow_undefined_flag_F77=unsupported
13808 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'
13809 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13813 if test "$GCC" = yes; then
13814 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13815 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'
13817 allow_undefined_flag_F77=' -expect_unresolved \*'
13818 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'
13820 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13821 hardcode_libdir_separator_F77=:
13824 osf4* | osf5*) # as osf3* with the addition of -msym flag
13825 if test "$GCC" = yes; then
13826 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13827 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'
13828 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13830 allow_undefined_flag_F77=' -expect_unresolved \*'
13831 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'
13832 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~
13833 $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'
13835 # Both c and cxx compiler support -rpath directly
13836 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13838 hardcode_libdir_separator_F77=:
13842 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13843 hardcode_shlibpath_var_F77=no
13844 export_dynamic_flag_spec_F77='${wl}-Bexport'
13845 runpath_var=LD_RUN_PATH
13846 hardcode_runpath_var=yes
13850 no_undefined_flag_F77=' -z text'
13851 if test "$GCC" = yes; then
13852 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13853 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13854 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13856 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13857 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13858 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13860 hardcode_libdir_flag_spec_F77='-R$libdir'
13861 hardcode_shlibpath_var_F77=no
13863 solaris2.[0-5] | solaris2.[0-5].*) ;;
13864 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13865 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13867 link_all_deplibs_F77=yes
13871 if test "x$host_vendor" = xsequent; then
13872 # Use $CC to link under sequent, because it throws in some extra .o
13873 # files that make .init and .fini sections work.
13874 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13876 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13878 hardcode_libdir_flag_spec_F77='-L$libdir'
13879 hardcode_direct_F77=yes
13880 hardcode_minus_L_F77=yes
13881 hardcode_shlibpath_var_F77=no
13885 case $host_vendor in
13887 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13888 hardcode_direct_F77=yes # is this really true???
13891 ## LD is ld it makes a PLAMLIB
13892 ## CC just makes a GrossModule.
13893 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13894 reload_cmds_F77='$CC -r -o $output$reload_objs'
13895 hardcode_direct_F77=no
13898 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13899 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13902 runpath_var='LD_RUN_PATH'
13903 hardcode_shlibpath_var_F77=no
13907 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13908 hardcode_shlibpath_var_F77=no
13909 export_dynamic_flag_spec_F77='-Bexport'
13913 if test -d /usr/nec; then
13914 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13915 hardcode_shlibpath_var_F77=no
13916 runpath_var=LD_RUN_PATH
13917 hardcode_runpath_var=yes
13923 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13924 hardcode_direct_F77=yes
13925 hardcode_minus_L_F77=no
13926 hardcode_shlibpath_var_F77=no
13927 hardcode_runpath_var=yes
13928 runpath_var=LD_RUN_PATH
13931 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13932 no_undefined_flag_F77='${wl}-z ${wl}text'
13933 if test "$GCC" = yes; then
13934 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13936 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13938 runpath_var='LD_RUN_PATH'
13939 hardcode_shlibpath_var_F77=no
13943 no_undefined_flag_F77=' -z text'
13944 # $CC -shared without GNU ld will not create a library from C++
13945 # object files and a static libstdc++, better avoid it by now
13946 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13947 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13948 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13949 hardcode_libdir_flag_spec_F77=
13950 hardcode_shlibpath_var_F77=no
13951 runpath_var='LD_RUN_PATH'
13955 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13956 hardcode_libdir_flag_spec_F77='-L$libdir'
13957 hardcode_shlibpath_var_F77=no
13966 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13967 echo "${ECHO_T}$ld_shlibs_F77" >&6
13968 test "$ld_shlibs_F77" = no && can_build_shared=no
13970 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13971 if test "$GCC" = yes; then
13972 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13976 # Do we need to explicitly link libc?
13978 case "x$archive_cmds_need_lc_F77" in
13980 # Assume -lc should be added
13981 archive_cmds_need_lc_F77=yes
13983 if test "$enable_shared" = yes && test "$GCC" = yes; then
13984 case $archive_cmds_F77 in
13986 # FIXME: we may have to deal with multi-command sequences.
13989 # Test whether the compiler implicitly links with -lc since on some
13990 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13991 # to ld, don't add -lc before -lgcc.
13992 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13993 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13995 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13998 (eval $ac_compile) 2>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); } 2>conftest.err; then
14004 libobjs=conftest.$ac_objext
14006 wl=$lt_prog_compiler_wl_F77
14012 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
14013 allow_undefined_flag_F77=
14014 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14015 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }
14020 archive_cmds_need_lc_F77=no
14022 archive_cmds_need_lc_F77=yes
14024 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14026 cat conftest.err 1>&5
14029 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14030 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14037 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14038 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14039 hardcode_action_F77=
14040 if test -n "$hardcode_libdir_flag_spec_F77" || \
14041 test -n "$runpath_var F77" || \
14042 test "X$hardcode_automatic_F77"="Xyes" ; then
14044 # We can hardcode non-existant directories.
14045 if test "$hardcode_direct_F77" != no &&
14046 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14047 # have to relink, otherwise we might link with an installed library
14048 # when we should be linking with a yet-to-be-installed one
14049 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14050 test "$hardcode_minus_L_F77" != no; then
14051 # Linking always hardcodes the temporary library directory.
14052 hardcode_action_F77=relink
14054 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14055 hardcode_action_F77=immediate
14058 # We cannot hardcode anything, or else we can only hardcode existing
14060 hardcode_action_F77=unsupported
14062 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14063 echo "${ECHO_T}$hardcode_action_F77" >&6
14065 if test "$hardcode_action_F77" = relink; then
14066 # Fast installation is not supported
14067 enable_fast_install=no
14068 elif test "$shlibpath_overrides_runpath" = yes ||
14069 test "$enable_shared" = no; then
14070 # Fast installation is not necessary
14071 enable_fast_install=needless
14076 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14077 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14078 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14079 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14080 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14081 echo "$as_me:$LINENO: result: yes" >&5
14082 echo "${ECHO_T}yes" >&6
14084 # FIXME - insert some real tests, host_os isn't really good enough
14087 if test -n "$STRIP" ; then
14088 striplib="$STRIP -x"
14089 echo "$as_me:$LINENO: result: yes" >&5
14090 echo "${ECHO_T}yes" >&6
14092 echo "$as_me:$LINENO: result: no" >&5
14093 echo "${ECHO_T}no" >&6
14097 echo "$as_me:$LINENO: result: no" >&5
14098 echo "${ECHO_T}no" >&6
14103 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14104 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14105 library_names_spec=
14106 libname_spec='lib$name'
14110 postuninstall_cmds=
14114 shlibpath_overrides_runpath=unknown
14116 dynamic_linker="$host_os ld.so"
14117 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14118 if test "$GCC" = yes; then
14119 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14120 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14121 # if the path contains ";" then we assume it to be the separator
14122 # otherwise default to the standard path separator (i.e. ":") - it is
14123 # assumed that no part of a normal pathname contains ";" but that should
14124 # okay in the real world where ";" in dirpaths is itself problematic.
14125 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14127 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14130 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14132 need_lib_prefix=unknown
14133 hardcode_into_libs=no
14135 # when you set need_version to no, make sure it does not cause -set_version
14136 # flags to be left without arguments
14137 need_version=unknown
14142 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14143 shlibpath_var=LIBPATH
14145 # AIX 3 has no versioning support, so we append a major version to the name.
14146 soname_spec='${libname}${release}${shared_ext}$major'
14153 hardcode_into_libs=yes
14154 if test "$host_cpu" = ia64; then
14155 # AIX 5 supports IA64
14156 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14157 shlibpath_var=LD_LIBRARY_PATH
14159 # With GCC up to 2.95.x, collect2 would create an import file
14160 # for dependence libraries. The import file would start with
14161 # the line `#! .'. This would cause the generated library to
14162 # depend on `.', always an invalid library. This was fixed in
14163 # development snapshots of GCC prior to 3.0.
14165 aix4 | aix4.[01] | aix4.[01].*)
14166 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14168 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14171 can_build_shared=no
14175 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14176 # soname into executable. Probably we can add versioning support to
14177 # collect2, so additional links can be useful in future.
14178 if test "$aix_use_runtimelinking" = yes; then
14179 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14180 # instead of lib<name>.a to let people know that these are not
14181 # typical AIX shared libraries.
14182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14184 # We preserve .a as extension for shared libraries through AIX4.2
14185 # and later when we are not doing run time linking.
14186 library_names_spec='${libname}${release}.a $libname.a'
14187 soname_spec='${libname}${release}${shared_ext}$major'
14189 shlibpath_var=LIBPATH
14194 library_names_spec='$libname.ixlibrary $libname.a'
14195 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14196 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'
14200 library_names_spec='${libname}${shared_ext}'
14201 dynamic_linker="$host_os ld.so"
14202 shlibpath_var=LIBRARY_PATH
14208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14209 soname_spec='${libname}${release}${shared_ext}$major'
14210 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14211 shlibpath_var=LD_LIBRARY_PATH
14212 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14213 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14214 # the default ld.so.conf also contains /usr/contrib/lib and
14215 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14216 # libtool to hard-code these into programs
14219 cygwin* | mingw* | pw32*)
14220 version_type=windows
14225 case $GCC,$host_os in
14226 yes,cygwin* | yes,mingw* | yes,pw32*)
14227 library_names_spec='$libname.dll.a'
14228 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14229 postinstall_cmds='base_file=`basename \${file}`~
14230 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14231 dldir=$destdir/`dirname \$dlpath`~
14232 test -d \$dldir || mkdir -p \$dldir~
14233 $install_prog $dir/$dlname \$dldir/$dlname'
14234 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14235 dlpath=$dir/\$dldll~
14237 shlibpath_overrides_runpath=yes
14241 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14242 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14243 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14246 # MinGW DLLs use traditional 'lib' prefix
14247 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14248 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14249 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14250 # It is most probably a Windows format PATH printed by
14251 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14252 # path with ; separators, and with drive letters. We can handle the
14253 # drive letters (cygwin fileutils understands them), so leave them,
14254 # especially as we might pass files found there to a mingw objdump,
14255 # which wouldn't understand a cygwinified path. Ahh.
14256 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14258 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14262 # pw32 DLLs use 'pw' prefix rather than 'lib'
14263 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14269 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14272 dynamic_linker='Win32 ld.exe'
14273 # FIXME: first we should search . and the directory the executable is in
14277 darwin* | rhapsody*)
14278 dynamic_linker="$host_os dyld"
14279 version_type=darwin
14282 # FIXME: Relying on posixy $() will cause problems for
14283 # cross-compilation, but unfortunately the echo tests do not
14284 # yet detect zsh echo's removal of \ escapes.
14285 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14286 soname_spec='${libname}${release}${major}$shared_ext'
14287 shlibpath_overrides_runpath=yes
14288 shlibpath_var=DYLD_LIBRARY_PATH
14289 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14290 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14291 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14292 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"`
14294 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14302 soname_spec='${libname}${release}${shared_ext}$major'
14303 shlibpath_var=LD_LIBRARY_PATH
14311 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14312 version_type=freebsd-$objformat
14313 case $version_type in
14315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14324 shlibpath_var=LD_LIBRARY_PATH
14327 shlibpath_overrides_runpath=yes
14329 freebsd3.01* | freebsdelf3.01*)
14330 shlibpath_overrides_runpath=yes
14331 hardcode_into_libs=yes
14334 shlibpath_overrides_runpath=no
14335 hardcode_into_libs=yes
14344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14345 soname_spec='${libname}${release}${shared_ext}$major'
14346 shlibpath_var=LD_LIBRARY_PATH
14347 hardcode_into_libs=yes
14350 hpux9* | hpux10* | hpux11*)
14351 # Give a soname corresponding to the major version so that dld.sl refuses to
14352 # link against other versions.
14356 case "$host_cpu" in
14359 hardcode_into_libs=yes
14360 dynamic_linker="$host_os dld.so"
14361 shlibpath_var=LD_LIBRARY_PATH
14362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14364 soname_spec='${libname}${release}${shared_ext}$major'
14365 if test "X$HPUX_IA64_MODE" = X32; then
14366 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14368 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14370 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14374 hardcode_into_libs=yes
14375 dynamic_linker="$host_os dld.sl"
14376 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14377 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14381 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14385 dynamic_linker="$host_os dld.sl"
14386 shlibpath_var=SHLIB_PATH
14387 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14389 soname_spec='${libname}${release}${shared_ext}$major'
14392 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14393 postinstall_cmds='chmod 555 $lib'
14396 irix5* | irix6* | nonstopux*)
14398 nonstopux*) version_type=nonstopux ;;
14400 if test "$lt_cv_prog_gnu_ld" = yes; then
14408 soname_spec='${libname}${release}${shared_ext}$major'
14409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14411 irix5* | nonstopux*)
14412 libsuff= shlibsuff=
14415 case $LD in # libtool.m4 will add one of these switches to LD
14416 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14417 libsuff= shlibsuff= libmagic=32-bit;;
14418 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14419 libsuff=32 shlibsuff=N32 libmagic=N32;;
14420 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14421 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14422 *) libsuff= shlibsuff= libmagic=never-match;;
14426 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14427 shlibpath_overrides_runpath=no
14428 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14429 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14430 hardcode_into_libs=yes
14433 # No shared lib support for Linux oldld, aout, or coff.
14434 linux*oldld* | linux*aout* | linux*coff*)
14438 # This must be Linux ELF.
14443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14444 soname_spec='${libname}${release}${shared_ext}$major'
14445 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14446 shlibpath_var=LD_LIBRARY_PATH
14447 shlibpath_overrides_runpath=no
14448 # This implies no fast_install, which is unacceptable.
14449 # Some rework will be needed to allow for fast_install
14450 # before this can be enabled.
14451 hardcode_into_libs=yes
14453 # We used to test for /lib/ld.so.1 and disable shared libraries on
14454 # powerpc, because MkLinux only supported shared libraries with the
14455 # GNU dynamic linker. Since this was broken with cross compilers,
14456 # most powerpc-linux boxes support dynamic linking these days and
14457 # people can always --disable-shared, the test was removed, and we
14458 # assume the GNU/Linux dynamic linker is in use.
14459 dynamic_linker='GNU/Linux ld.so'
14466 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14468 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14469 dynamic_linker='NetBSD (a.out) ld.so'
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14472 soname_spec='${libname}${release}${shared_ext}$major'
14473 dynamic_linker='NetBSD ld.elf_so'
14475 shlibpath_var=LD_LIBRARY_PATH
14476 shlibpath_overrides_runpath=yes
14477 hardcode_into_libs=yes
14482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14483 shlibpath_var=LD_LIBRARY_PATH
14484 shlibpath_overrides_runpath=yes
14491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14492 soname_spec='${libname}${release}${shared_ext}$major'
14493 shlibpath_var=LD_LIBRARY_PATH
14494 shlibpath_overrides_runpath=yes
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14502 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14503 shlibpath_var=LD_LIBRARY_PATH
14504 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14506 openbsd2.[89] | openbsd2.[89].*)
14507 shlibpath_overrides_runpath=no
14510 shlibpath_overrides_runpath=yes
14514 shlibpath_overrides_runpath=yes
14519 libname_spec='$name'
14522 library_names_spec='$libname${shared_ext} $libname.a'
14523 dynamic_linker='OS/2 ld.exe'
14524 shlibpath_var=LIBPATH
14527 osf3* | osf4* | osf5*)
14531 soname_spec='${libname}${release}${shared_ext}$major'
14532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14533 shlibpath_var=LD_LIBRARY_PATH
14534 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14535 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14540 soname_spec='${libname}${release}${shared_ext}$major'
14541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14542 shlibpath_var=LD_LIBRARY_PATH
14549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14550 soname_spec='${libname}${release}${shared_ext}$major'
14551 shlibpath_var=LD_LIBRARY_PATH
14552 shlibpath_overrides_runpath=yes
14553 hardcode_into_libs=yes
14554 # ldd complains unless libraries are executable
14555 postinstall_cmds='chmod +x $lib'
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14561 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14562 shlibpath_var=LD_LIBRARY_PATH
14563 shlibpath_overrides_runpath=yes
14564 if test "$with_gnu_ld" = yes; then
14570 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14573 soname_spec='${libname}${release}${shared_ext}$major'
14574 shlibpath_var=LD_LIBRARY_PATH
14575 case $host_vendor in
14577 shlibpath_overrides_runpath=no
14579 export_dynamic_flag_spec='${wl}-Blargedynsym'
14580 runpath_var=LD_RUN_PATH
14588 shlibpath_overrides_runpath=no
14589 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14595 if test -d /usr/nec ;then
14597 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14598 soname_spec='$libname${shared_ext}.$major'
14599 shlibpath_var=LD_LIBRARY_PATH
14605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14606 soname_spec='${libname}${release}${shared_ext}$major'
14607 shlibpath_var=LD_LIBRARY_PATH
14614 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14615 echo "${ECHO_T}$dynamic_linker" >&6
14616 test "$dynamic_linker" = no && can_build_shared=no
14619 # The else clause should only fire when bootstrapping the
14620 # libtool distribution, otherwise you forgot to ship ltmain.sh
14621 # with your package, and you will get complaints that there are
14622 # no rules to generate ltmain.sh.
14623 if test -f "$ltmain"; then
14624 # See if we are running on zsh, and set the options which allow our commands through
14625 # without removal of \ escapes.
14626 if test -n "${ZSH_VERSION+set}" ; then
14627 setopt NO_GLOB_SUBST
14629 # Now quote all the things that may contain metacharacters while being
14630 # careful not to overquote the AC_SUBSTed values. We take copies of the
14631 # variables and quote the copies for generation of the libtool script.
14632 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14633 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14634 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14635 deplibs_check_method reload_flag reload_cmds need_locks \
14636 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14637 lt_cv_sys_global_symbol_to_c_name_address \
14638 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14639 old_postinstall_cmds old_postuninstall_cmds \
14643 lt_prog_compiler_wl_F77 \
14644 lt_prog_compiler_pic_F77 \
14645 lt_prog_compiler_static_F77 \
14646 lt_prog_compiler_no_builtin_flag_F77 \
14647 export_dynamic_flag_spec_F77 \
14648 thread_safe_flag_spec_F77 \
14649 whole_archive_flag_spec_F77 \
14650 enable_shared_with_static_runtimes_F77 \
14651 old_archive_cmds_F77 \
14652 old_archive_from_new_cmds_F77 \
14653 predep_objects_F77 \
14654 postdep_objects_F77 \
14657 compiler_lib_search_path_F77 \
14659 archive_expsym_cmds_F77 \
14660 postinstall_cmds_F77 \
14661 postuninstall_cmds_F77 \
14662 old_archive_from_expsyms_cmds_F77 \
14663 allow_undefined_flag_F77 \
14664 no_undefined_flag_F77 \
14665 export_symbols_cmds_F77 \
14666 hardcode_libdir_flag_spec_F77 \
14667 hardcode_libdir_flag_spec_ld_F77 \
14668 hardcode_libdir_separator_F77 \
14669 hardcode_automatic_F77 \
14671 module_expsym_cmds_F77 \
14672 lt_cv_prog_compiler_c_o_F77 \
14673 exclude_expsyms_F77 \
14674 include_expsyms_F77; do
14677 old_archive_cmds_F77 | \
14678 old_archive_from_new_cmds_F77 | \
14679 archive_cmds_F77 | \
14680 archive_expsym_cmds_F77 | \
14681 module_cmds_F77 | \
14682 module_expsym_cmds_F77 | \
14683 old_archive_from_expsyms_cmds_F77 | \
14684 export_symbols_cmds_F77 | \
14685 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14686 postinstall_cmds | postuninstall_cmds | \
14687 old_postinstall_cmds | old_postuninstall_cmds | \
14688 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14689 # Double-quote double-evaled strings.
14690 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14693 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14699 *'\$0 --fallback-echo"')
14700 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14706 cat <<__EOF__ >> "$cfgfile"
14707 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14709 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14711 # Shell to use when invoking shell scripts.
14714 # Whether or not to build shared libraries.
14715 build_libtool_libs=$enable_shared
14717 # Whether or not to build static libraries.
14718 build_old_libs=$enable_static
14720 # Whether or not to add -lc for building shared libraries.
14721 build_libtool_need_lc=$archive_cmds_need_lc_F77
14723 # Whether or not to disallow shared libs when runtime libs are static
14724 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14726 # Whether or not to optimize for fast installation.
14727 fast_install=$enable_fast_install
14730 host_alias=$host_alias
14733 # An echo program that does not interpret backslashes.
14738 AR_FLAGS=$lt_AR_FLAGS
14743 # A language-specific compiler.
14744 CC=$lt_compiler_F77
14746 # Is the compiler the GNU C compiler?
14752 # The linker used to build libraries.
14755 # Whether we need hard or soft links.
14758 # A BSD-compatible nm program.
14761 # A symbol stripping program
14764 # Used to examine libraries when file_magic_cmd begins "file"
14765 MAGIC_CMD=$MAGIC_CMD
14767 # Used on cygwin: DLL creation program.
14770 # Used on cygwin: object dumper.
14773 # Used on cygwin: assembler.
14776 # The name of the directory that contains temporary libtool files.
14779 # How to create reloadable object files.
14780 reload_flag=$lt_reload_flag
14781 reload_cmds=$lt_reload_cmds
14783 # How to pass a linker flag through the compiler.
14784 wl=$lt_lt_prog_compiler_wl_F77
14786 # Object file suffix (normally "o").
14787 objext="$ac_objext"
14789 # Old archive suffix (normally "a").
14792 # Shared library suffix (normally ".so").
14795 # Executable file suffix (normally "").
14798 # Additional compiler flags for building library objects.
14799 pic_flag=$lt_lt_prog_compiler_pic_F77
14802 # What is the maximum length of a command?
14803 max_cmd_len=$lt_cv_sys_max_cmd_len
14805 # Does compiler simultaneously support -c and -o options?
14806 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14808 # Must we lock files when doing compilation ?
14809 need_locks=$lt_need_locks
14811 # Do we need the lib prefix for modules?
14812 need_lib_prefix=$need_lib_prefix
14814 # Do we need a version for libraries?
14815 need_version=$need_version
14817 # Whether dlopen is supported.
14818 dlopen_support=$enable_dlopen
14820 # Whether dlopen of programs is supported.
14821 dlopen_self=$enable_dlopen_self
14823 # Whether dlopen of statically linked programs is supported.
14824 dlopen_self_static=$enable_dlopen_self_static
14826 # Compiler flag to prevent dynamic linking.
14827 link_static_flag=$lt_lt_prog_compiler_static_F77
14829 # Compiler flag to turn off builtin functions.
14830 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14832 # Compiler flag to allow reflexive dlopens.
14833 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14835 # Compiler flag to generate shared objects directly from archives.
14836 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14838 # Compiler flag to generate thread-safe objects.
14839 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14841 # Library versioning type.
14842 version_type=$version_type
14844 # Format of library name prefix.
14845 libname_spec=$lt_libname_spec
14847 # List of archive names. First name is the real one, the rest are links.
14848 # The last name is the one that the linker finds with -lNAME.
14849 library_names_spec=$lt_library_names_spec
14851 # The coded name of the library, if different from the real name.
14852 soname_spec=$lt_soname_spec
14854 # Commands used to build and install an old-style archive.
14856 old_archive_cmds=$lt_old_archive_cmds_F77
14857 old_postinstall_cmds=$lt_old_postinstall_cmds
14858 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14860 # Create an old-style archive from a shared archive.
14861 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14863 # Create a temporary old-style archive to link instead of a shared archive.
14864 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14866 # Commands used to build and install a shared archive.
14867 archive_cmds=$lt_archive_cmds_F77
14868 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14869 postinstall_cmds=$lt_postinstall_cmds
14870 postuninstall_cmds=$lt_postuninstall_cmds
14872 # Commands used to build a loadable module (assumed same as above if empty)
14873 module_cmds=$lt_module_cmds_F77
14874 module_expsym_cmds=$lt_module_expsym_cmds_F77
14876 # Commands to strip libraries.
14877 old_striplib=$lt_old_striplib
14878 striplib=$lt_striplib
14880 # Dependencies to place before the objects being linked to create a
14882 predep_objects=$lt_predep_objects_F77
14884 # Dependencies to place after the objects being linked to create a
14886 postdep_objects=$lt_postdep_objects_F77
14888 # Dependencies to place before the objects being linked to create a
14890 predeps=$lt_predeps_F77
14892 # Dependencies to place after the objects being linked to create a
14894 postdeps=$lt_postdeps_F77
14896 # The library search path used internally by the compiler when linking
14897 # a shared library.
14898 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14900 # Method to check whether dependent libraries are shared objects.
14901 deplibs_check_method=$lt_deplibs_check_method
14903 # Command to use when deplibs_check_method == file_magic.
14904 file_magic_cmd=$lt_file_magic_cmd
14906 # Flag that allows shared libraries with undefined symbols to be built.
14907 allow_undefined_flag=$lt_allow_undefined_flag_F77
14909 # Flag that forces no undefined symbols.
14910 no_undefined_flag=$lt_no_undefined_flag_F77
14912 # Commands used to finish a libtool library installation in a directory.
14913 finish_cmds=$lt_finish_cmds
14915 # Same as above, but a single script fragment to be evaled but not shown.
14916 finish_eval=$lt_finish_eval
14918 # Take the output of nm and produce a listing of raw symbols and C names.
14919 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14921 # Transform the output of nm in a proper C declaration
14922 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14924 # Transform the output of nm in a C name address pair
14925 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14927 # This is the shared library runtime path variable.
14928 runpath_var=$runpath_var
14930 # This is the shared library path variable.
14931 shlibpath_var=$shlibpath_var
14933 # Is shlibpath searched before the hard-coded library search path?
14934 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14936 # How to hardcode a shared library path into an executable.
14937 hardcode_action=$hardcode_action_F77
14939 # Whether we should hardcode library paths into libraries.
14940 hardcode_into_libs=$hardcode_into_libs
14942 # Flag to hardcode \$libdir into a binary during linking.
14943 # This must work even if \$libdir does not exist.
14944 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14946 # If ld is used when linking, flag to hardcode \$libdir into
14947 # a binary during linking. This must work even if \$libdir does
14949 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14951 # Whether we need a single -rpath flag with a separated argument.
14952 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14954 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14955 # resulting binary.
14956 hardcode_direct=$hardcode_direct_F77
14958 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14959 # resulting binary.
14960 hardcode_minus_L=$hardcode_minus_L_F77
14962 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14963 # the resulting binary.
14964 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14966 # Set to yes if building a shared library automatically hardcodes DIR into the library
14967 # and all subsequent libraries and executables linked against it.
14968 hardcode_automatic=$hardcode_automatic_F77
14970 # Variables whose values should be saved in libtool wrapper scripts and
14971 # restored at relink time.
14972 variables_saved_for_relink="$variables_saved_for_relink"
14974 # Whether libtool must link a program against all its dependency libraries.
14975 link_all_deplibs=$link_all_deplibs_F77
14977 # Compile-time system search path for libraries
14978 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14980 # Run-time system search path for libraries
14981 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14983 # Fix the shell variable \$srcfile for the compiler.
14984 fix_srcfile_path="$fix_srcfile_path_F77"
14986 # Set to yes if exported symbols are required.
14987 always_export_symbols=$always_export_symbols_F77
14989 # The commands to list exported symbols.
14990 export_symbols_cmds=$lt_export_symbols_cmds_F77
14992 # The commands to extract the exported symbol list from a shared archive.
14993 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14995 # Symbols that should not be listed in the preloaded symbols.
14996 exclude_expsyms=$lt_exclude_expsyms_F77
14998 # Symbols that must always be exported.
14999 include_expsyms=$lt_include_expsyms_F77
15001 # ### END LIBTOOL TAG CONFIG: $tagname
15007 # If there is no Makefile yet, we rely on a make rule to execute
15008 # `config.status --recheck' to rerun these tests and create the
15009 # libtool script then.
15010 test -f Makefile && make "$ltmain"
15015 ac_cpp='$CPP $CPPFLAGS'
15016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15028 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15032 # Source file extension for Java test sources.
15035 # Object file extension for compiled Java test sources.
15039 # Code to be used in simple compile tests
15040 lt_simple_compile_test_code="class foo {}\n"
15042 # Code to be used in simple link tests
15043 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15045 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15047 # If no C compiler was specified, use CC.
15050 # Allow CC to be a program name with arguments.
15054 # Allow CC to be a program name with arguments.
15060 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15061 archive_cmds_need_lc_GCJ=no
15064 ## There is no encapsulation within the following macros, do not change
15065 ## the running order or otherwise move them around unless you know exactly
15066 ## what you are doing...
15068 lt_prog_compiler_no_builtin_flag_GCJ=
15070 if test "$GCC" = yes; then
15071 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15073 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15074 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15075 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15076 echo $ECHO_N "(cached) $ECHO_C" >&6
15078 lt_cv_prog_compiler_rtti_exceptions=no
15079 ac_outfile=conftest.$ac_objext
15080 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15081 lt_compiler_flag="-fno-rtti -fno-exceptions"
15082 # Insert the option either (1) after the last *FLAGS variable, or
15083 # (2) before a word containing "conftest.", or (3) at the end.
15084 # Note that $ac_compile itself does not contain backslashes and begins
15085 # with a dollar sign (not a hyphen), so the echo should work correctly.
15086 # The option is referenced via a variable to avoid confusing sed.
15087 lt_compile=`echo "$ac_compile" | $SED \
15088 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15090 -e 's:$: $lt_compiler_flag:'`
15091 (eval echo "\"\$as_me:15091: $lt_compile\"" >&5)
15092 (eval "$lt_compile" 2>conftest.err)
15094 cat conftest.err >&5
15095 echo "$as_me:15095: \$? = $ac_status" >&5
15096 if (exit $ac_status) && test -s "$ac_outfile"; then
15097 # The compiler can only warn and ignore the option if not recognized
15098 # So say no if there are warnings
15099 if test ! -s conftest.err; then
15100 lt_cv_prog_compiler_rtti_exceptions=yes
15106 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15107 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15109 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15110 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15117 lt_prog_compiler_wl_GCJ=
15118 lt_prog_compiler_pic_GCJ=
15119 lt_prog_compiler_static_GCJ=
15121 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15122 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15124 if test "$GCC" = yes; then
15125 lt_prog_compiler_wl_GCJ='-Wl,'
15126 lt_prog_compiler_static_GCJ='-static'
15130 # All AIX code is PIC.
15131 if test "$host_cpu" = ia64; then
15132 # AIX 5 now supports IA64 processor
15133 lt_prog_compiler_static_GCJ='-Bstatic'
15138 # FIXME: we need at least 68020 code to build shared libraries, but
15139 # adding the `-m68020' flag to GCC prevents building anything better,
15141 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15144 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15145 # PIC is the default for these OSes.
15148 mingw* | pw32* | os2*)
15149 # This hack is so that the source file can tell whether it is being
15150 # built for inclusion in a dll (and should export symbols for example).
15151 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15154 darwin* | rhapsody*)
15155 # PIC is the default on this platform
15156 # Common symbols not allowed in MH_DYLIB files
15157 lt_prog_compiler_pic_GCJ='-fno-common'
15161 # Just because we use GCC doesn't mean we suddenly get shared libraries
15162 # on systems that don't support them.
15163 lt_prog_compiler_can_build_shared_GCJ=no
15168 if test -d /usr/nec; then
15169 lt_prog_compiler_pic_GCJ=-Kconform_pic
15174 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15175 # not for PA HP-UX.
15176 case "$host_cpu" in
15181 lt_prog_compiler_pic_GCJ='-fPIC'
15187 lt_prog_compiler_pic_GCJ='-fPIC'
15191 # PORTME Check for flag to pass linker flags through the system compiler.
15194 lt_prog_compiler_wl_GCJ='-Wl,'
15195 if test "$host_cpu" = ia64; then
15196 # AIX 5 now supports IA64 processor
15197 lt_prog_compiler_static_GCJ='-Bstatic'
15199 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15203 mingw* | pw32* | os2*)
15204 # This hack is so that the source file can tell whether it is being
15205 # built for inclusion in a dll (and should export symbols for example).
15206 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15209 hpux9* | hpux10* | hpux11*)
15210 lt_prog_compiler_wl_GCJ='-Wl,'
15211 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15212 # not for PA HP-UX.
15213 case "$host_cpu" in
15218 lt_prog_compiler_pic_GCJ='+Z'
15221 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15222 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15225 irix5* | irix6* | nonstopux*)
15226 lt_prog_compiler_wl_GCJ='-Wl,'
15227 # PIC (with -KPIC) is the default.
15228 lt_prog_compiler_static_GCJ='-non_shared'
15232 lt_prog_compiler_pic_GCJ='-KPIC'
15233 lt_prog_compiler_static_GCJ='-Bstatic'
15239 lt_prog_compiler_wl_GCJ='-Wl,'
15240 lt_prog_compiler_pic_GCJ='-KPIC'
15241 lt_prog_compiler_static_GCJ='-static'
15244 lt_prog_compiler_wl_GCJ='-Wl,'
15245 # All Alpha code is PIC.
15246 lt_prog_compiler_static_GCJ='-non_shared'
15251 osf3* | osf4* | osf5*)
15252 lt_prog_compiler_wl_GCJ='-Wl,'
15253 # All OSF/1 code is PIC.
15254 lt_prog_compiler_static_GCJ='-non_shared'
15258 lt_prog_compiler_pic_GCJ='-Kpic'
15259 lt_prog_compiler_static_GCJ='-dn'
15263 lt_prog_compiler_wl_GCJ='-Wl,'
15264 lt_prog_compiler_pic_GCJ='-KPIC'
15265 lt_prog_compiler_static_GCJ='-Bstatic'
15269 lt_prog_compiler_wl_GCJ='-Qoption ld '
15270 lt_prog_compiler_pic_GCJ='-PIC'
15271 lt_prog_compiler_static_GCJ='-Bstatic'
15274 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15275 lt_prog_compiler_wl_GCJ='-Wl,'
15276 lt_prog_compiler_pic_GCJ='-KPIC'
15277 lt_prog_compiler_static_GCJ='-Bstatic'
15281 if test -d /usr/nec ;then
15282 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15283 lt_prog_compiler_static_GCJ='-Bstatic'
15288 lt_prog_compiler_pic_GCJ='-pic'
15289 lt_prog_compiler_static_GCJ='-Bstatic'
15293 lt_prog_compiler_can_build_shared_GCJ=no
15298 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15299 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15302 # Check to make sure the PIC flag actually works.
15304 if test -n "$lt_prog_compiler_pic_GCJ"; then
15305 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15306 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15307 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15308 echo $ECHO_N "(cached) $ECHO_C" >&6
15310 lt_prog_compiler_pic_works_GCJ=no
15311 ac_outfile=conftest.$ac_objext
15312 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15313 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15314 # Insert the option either (1) after the last *FLAGS variable, or
15315 # (2) before a word containing "conftest.", or (3) at the end.
15316 # Note that $ac_compile itself does not contain backslashes and begins
15317 # with a dollar sign (not a hyphen), so the echo should work correctly.
15318 # The option is referenced via a variable to avoid confusing sed.
15319 lt_compile=`echo "$ac_compile" | $SED \
15320 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15321 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15322 -e 's:$: $lt_compiler_flag:'`
15323 (eval echo "\"\$as_me:15323: $lt_compile\"" >&5)
15324 (eval "$lt_compile" 2>conftest.err)
15326 cat conftest.err >&5
15327 echo "$as_me:15327: \$? = $ac_status" >&5
15328 if (exit $ac_status) && test -s "$ac_outfile"; then
15329 # The compiler can only warn and ignore the option if not recognized
15330 # So say no if there are warnings
15331 if test ! -s conftest.err; then
15332 lt_prog_compiler_pic_works_GCJ=yes
15338 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15339 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15341 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15342 case $lt_prog_compiler_pic_GCJ in
15344 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15347 lt_prog_compiler_pic_GCJ=
15348 lt_prog_compiler_can_build_shared_GCJ=no
15353 # For platforms which do not support PIC, -DPIC is meaningless:
15355 lt_prog_compiler_pic_GCJ=
15358 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15362 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15363 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15364 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15365 echo $ECHO_N "(cached) $ECHO_C" >&6
15367 lt_cv_prog_compiler_c_o_GCJ=no
15368 $rm -r conftest 2>/dev/null
15372 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15374 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15375 # that will create temporary files in the current directory regardless of
15376 # the output directory. Thus, making CWD read-only will cause this test
15377 # to fail, enabling locking or at least warning the user not to do parallel
15381 lt_compiler_flag="-o out/conftest2.$ac_objext"
15382 # Insert the option either (1) after the last *FLAGS variable, or
15383 # (2) before a word containing "conftest.", or (3) at the end.
15384 # Note that $ac_compile itself does not contain backslashes and begins
15385 # with a dollar sign (not a hyphen), so the echo should work correctly.
15386 lt_compile=`echo "$ac_compile" | $SED \
15387 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15388 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15389 -e 's:$: $lt_compiler_flag:'`
15390 (eval echo "\"\$as_me:15390: $lt_compile\"" >&5)
15391 (eval "$lt_compile" 2>out/conftest.err)
15393 cat out/conftest.err >&5
15394 echo "$as_me:15394: \$? = $ac_status" >&5
15395 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15397 # The compiler can only warn and ignore the option if not recognized
15398 # So say no if there are warnings
15399 if test ! -s out/conftest.err; then
15400 lt_cv_prog_compiler_c_o_GCJ=yes
15404 $rm conftest* out/*
15411 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15412 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15415 hard_links="nottested"
15416 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15417 # do not overwrite the value of need_locks provided by the user
15418 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15419 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15422 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15424 ln conftest.a conftest.b 2>&5 || hard_links=no
15425 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15426 echo "$as_me:$LINENO: result: $hard_links" >&5
15427 echo "${ECHO_T}$hard_links" >&6
15428 if test "$hard_links" = no; then
15429 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15430 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15437 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15438 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15441 allow_undefined_flag_GCJ=
15442 enable_shared_with_static_runtimes_GCJ=no
15444 archive_expsym_cmds_GCJ=
15445 old_archive_From_new_cmds_GCJ=
15446 old_archive_from_expsyms_cmds_GCJ=
15447 export_dynamic_flag_spec_GCJ=
15448 whole_archive_flag_spec_GCJ=
15449 thread_safe_flag_spec_GCJ=
15450 hardcode_libdir_flag_spec_GCJ=
15451 hardcode_libdir_flag_spec_ld_GCJ=
15452 hardcode_libdir_separator_GCJ=
15453 hardcode_direct_GCJ=no
15454 hardcode_minus_L_GCJ=no
15455 hardcode_shlibpath_var_GCJ=unsupported
15456 link_all_deplibs_GCJ=unknown
15457 hardcode_automatic_GCJ=no
15459 module_expsym_cmds_GCJ=
15460 always_export_symbols_GCJ=no
15461 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15462 # include_expsyms should be a list of space-separated symbols to be *always*
15463 # included in the symbol list
15464 include_expsyms_GCJ=
15465 # exclude_expsyms can be an extended regexp of symbols to exclude
15466 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15467 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15468 # as well as any symbol that contains `d'.
15469 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15470 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15471 # platforms (ab)use it in PIC code, but their linkers get confused if
15472 # the symbol is explicitly referenced. Since portable code cannot
15473 # rely on this symbol name, it's probably fine to never include it in
15474 # preloaded symbol tables.
15475 extract_expsyms_cmds=
15478 cygwin* | mingw* | pw32*)
15479 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15480 # When not using gcc, we currently assume that we are using
15481 # Microsoft Visual C++.
15482 if test "$GCC" != yes; then
15492 if test "$with_gnu_ld" = yes; then
15493 # If archive_cmds runs LD, not CC, wlarc should be empty
15496 # See if GNU ld supports shared libraries.
15498 aix3* | aix4* | aix5*)
15499 # On AIX/PPC, the GNU linker is very broken
15500 if test "$host_cpu" != ia64; then
15504 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15505 *** to be unable to reliably create shared libraries on AIX.
15506 *** Therefore, libtool is disabling shared libraries support. If you
15507 *** really care for shared libraries, you may want to modify your PATH
15508 *** so that a non-GNU linker is found, and then restart.
15515 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)'
15516 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15517 hardcode_minus_L_GCJ=yes
15519 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15520 # that the semantics of dynamic libraries on AmigaOS, at least up
15521 # to version 4, is to share data among multiple programs linked
15522 # with the same dynamic library. Since this doesn't match the
15523 # behavior of shared libraries on other platforms, we can't use
15529 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15530 allow_undefined_flag_GCJ=unsupported
15531 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15532 # support --undefined. This deserves some investigation. FIXME
15533 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15539 cygwin* | mingw* | pw32*)
15540 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15541 # as there is no search path for DLLs.
15542 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15543 allow_undefined_flag_GCJ=unsupported
15544 always_export_symbols_GCJ=no
15545 enable_shared_with_static_runtimes_GCJ=yes
15546 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15548 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15549 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15550 # If the export-symbols file already is a .def file (1st line
15551 # is EXPORTS), use it as is; otherwise, prepend...
15552 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15553 cp $export_symbols $output_objdir/$soname.def;
15555 echo EXPORTS > $output_objdir/$soname.def;
15556 cat $export_symbols >> $output_objdir/$soname.def;
15558 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15565 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15566 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15569 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15570 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15575 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15579 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15580 *** create shared libraries on Solaris systems. Therefore, libtool
15581 *** is disabling shared libraries support. We urge you to upgrade GNU
15582 *** binutils to release 2.9.1 or newer. Another option is to modify
15583 *** your PATH or compiler configuration so that the native linker is
15584 *** used, and then restart.
15587 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15588 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15589 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15596 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15598 hardcode_direct_GCJ=yes
15599 hardcode_shlibpath_var_GCJ=no
15603 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15604 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15605 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15612 if test "$ld_shlibs_GCJ" = yes; then
15613 runpath_var=LD_RUN_PATH
15614 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15615 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15616 # ancient GNU ld didn't support --whole-archive et. al.
15617 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15618 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15620 whole_archive_flag_spec_GCJ=
15624 # PORTME fill in a description of your system's linker (not GNU ld)
15627 allow_undefined_flag_GCJ=unsupported
15628 always_export_symbols_GCJ=yes
15629 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'
15630 # Note: this linker hardcodes the directories in LIBPATH if there
15631 # are no directories specified by -L.
15632 hardcode_minus_L_GCJ=yes
15633 if test "$GCC" = yes && test -z "$link_static_flag"; then
15634 # Neither direct hardcoding nor static linking is supported with a
15636 hardcode_direct_GCJ=unsupported
15641 if test "$host_cpu" = ia64; then
15642 # On IA64, the linker does run time linking by default, so we don't
15643 # have to do anything special.
15644 aix_use_runtimelinking=no
15645 exp_sym_flag='-Bexport'
15648 # If we're using GNU nm, then we don't want the "-C" option.
15649 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15650 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15651 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'
15653 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'
15655 aix_use_runtimelinking=no
15657 # Test if we are trying to use run time linking or normal
15658 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15659 # need to do runtime linking.
15660 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15661 for ld_flag in $LDFLAGS; do
15662 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15663 aix_use_runtimelinking=yes
15669 exp_sym_flag='-bexport'
15670 no_entry_flag='-bnoentry'
15673 # When large executables or shared objects are built, AIX ld can
15674 # have problems creating the table of contents. If linking a library
15675 # or program results in "error TOC overflow" add -mminimal-toc to
15676 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15677 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15679 archive_cmds_GCJ=''
15680 hardcode_direct_GCJ=yes
15681 hardcode_libdir_separator_GCJ=':'
15682 link_all_deplibs_GCJ=yes
15684 if test "$GCC" = yes; then
15685 case $host_os in aix4.012|aix4.012.*)
15686 # We only want to do this on AIX 4.2 and lower, the check
15687 # below for broken collect2 doesn't work under 4.3+
15688 collect2name=`${CC} -print-prog-name=collect2`
15689 if test -f "$collect2name" && \
15690 strings "$collect2name" | grep resolve_lib_name >/dev/null
15692 # We have reworked collect2
15693 hardcode_direct_GCJ=yes
15695 # We have old collect2
15696 hardcode_direct_GCJ=unsupported
15697 # It fails to find uninstalled libraries when the uninstalled
15698 # path is not listed in the libpath. Setting hardcode_minus_L
15699 # to unsupported forces relinking
15700 hardcode_minus_L_GCJ=yes
15701 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15702 hardcode_libdir_separator_GCJ=
15705 shared_flag='-shared'
15708 if test "$host_cpu" = ia64; then
15709 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15710 # chokes on -Wl,-G. The following line is correct:
15713 if test "$aix_use_runtimelinking" = yes; then
15714 shared_flag='${wl}-G'
15716 shared_flag='${wl}-bM:SRE'
15721 # It seems that -bexpall does not export symbols beginning with
15722 # underscore (_), so it is better to generate a list of symbols to export.
15723 always_export_symbols_GCJ=yes
15724 if test "$aix_use_runtimelinking" = yes; then
15725 # Warning - without using the other runtime loading flags (-brtl),
15726 # -berok will link without error, but may produce a broken library.
15727 allow_undefined_flag_GCJ='-berok'
15728 # Determine the default libpath from the value encoded in an empty executable.
15729 cat >conftest.$ac_ext <<_ACEOF
15730 #line $LINENO "configure"
15733 cat confdefs.h >>conftest.$ac_ext
15734 cat >>conftest.$ac_ext <<_ACEOF
15735 /* end confdefs.h. */
15745 rm -f conftest.$ac_objext conftest$ac_exeext
15746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15747 (eval $ac_link) 2>&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } &&
15751 { ac_try='test -s conftest$ac_exeext'
15752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15753 (eval $ac_try) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); }; }; then
15758 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15760 # Check for a 64-bit object if we didn't find anything.
15761 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15764 echo "$as_me: failed program was:" >&5
15765 sed 's/^/| /' conftest.$ac_ext >&5
15768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15769 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15771 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15772 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"
15774 if test "$host_cpu" = ia64; then
15775 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15776 allow_undefined_flag_GCJ="-z nodefs"
15777 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"
15779 # Determine the default libpath from the value encoded in an empty executable.
15780 cat >conftest.$ac_ext <<_ACEOF
15781 #line $LINENO "configure"
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15796 rm -f conftest.$ac_objext conftest$ac_exeext
15797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15798 (eval $ac_link) 2>&5
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); } &&
15802 { ac_try='test -s conftest$ac_exeext'
15803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804 (eval $ac_try) 2>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15809 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15811 # Check for a 64-bit object if we didn't find anything.
15812 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; }
15815 echo "$as_me: failed program was:" >&5
15816 sed 's/^/| /' conftest.$ac_ext >&5
15819 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15820 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15822 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15823 # Warning - without using the other run time loading flags,
15824 # -berok will link without error, but may produce a broken library.
15825 no_undefined_flag_GCJ=' ${wl}-bernotok'
15826 allow_undefined_flag_GCJ=' ${wl}-berok'
15827 # -bexpall does not export symbols beginning with underscore (_)
15828 always_export_symbols_GCJ=yes
15829 # Exported symbols can be pulled into shared objects from archives
15830 whole_archive_flag_spec_GCJ=' '
15831 archive_cmds_need_lc_GCJ=yes
15832 # This is similar to how AIX traditionally builds it's shared libraries.
15833 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'
15839 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)'
15840 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15841 hardcode_minus_L_GCJ=yes
15842 # see comment about different semantics on the GNU ld section
15847 export_dynamic_flag_spec_GCJ=-rdynamic
15850 cygwin* | mingw* | pw32*)
15851 # When not using gcc, we currently assume that we are using
15852 # Microsoft Visual C++.
15853 # hardcode_libdir_flag_spec is actually meaningless, as there is
15854 # no search path for DLLs.
15855 hardcode_libdir_flag_spec_GCJ=' '
15856 allow_undefined_flag_GCJ=unsupported
15857 # Tell ltmain to make .lib files, not .a files.
15859 # Tell ltmain to make .dll files, not .so files.
15861 # FIXME: Setting linknames here is a bad hack.
15862 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15863 # The linker will automatically build a .lib file if we build a DLL.
15864 old_archive_From_new_cmds_GCJ='true'
15865 # FIXME: Should let the user specify the lib program.
15866 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15867 fix_srcfile_path='`cygpath -w "$srcfile"`'
15868 enable_shared_with_static_runtimes_GCJ=yes
15871 darwin* | rhapsody*)
15872 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15873 archive_cmds_need_lc_GCJ=no
15875 rhapsody* | darwin1.[012])
15876 allow_undefined_flag_GCJ='-undefined suppress'
15879 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15882 # FIXME: Relying on posixy $() will cause problems for
15883 # cross-compilation, but unfortunately the echo tests do not
15884 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15885 # `"' quotes if we put them in here... so don't!
15886 lt_int_apple_cc_single_mod=no
15887 output_verbose_link_cmd='echo'
15888 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15889 lt_int_apple_cc_single_mod=yes
15891 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15892 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15894 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'
15896 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15897 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15898 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15899 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}'
15901 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}'
15903 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}'
15904 hardcode_direct_GCJ=no
15905 hardcode_automatic_GCJ=yes
15906 hardcode_shlibpath_var_GCJ=unsupported
15907 whole_archive_flag_spec_GCJ='-all_load $convenience'
15908 link_all_deplibs_GCJ=yes
15913 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15914 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15915 hardcode_shlibpath_var_GCJ=no
15922 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15923 # support. Future versions do this automatically, but an explicit c++rt0.o
15924 # does not break anything, and helps significantly (at the cost of a little
15927 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15928 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15929 hardcode_direct_GCJ=yes
15930 hardcode_shlibpath_var_GCJ=no
15933 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15935 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15936 hardcode_direct_GCJ=yes
15937 hardcode_minus_L_GCJ=yes
15938 hardcode_shlibpath_var_GCJ=no
15941 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15943 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15944 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15945 hardcode_direct_GCJ=yes
15946 hardcode_shlibpath_var_GCJ=no
15950 if test "$GCC" = yes; then
15951 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'
15953 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'
15955 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15956 hardcode_libdir_separator_GCJ=:
15957 hardcode_direct_GCJ=yes
15959 # hardcode_minus_L: Not really in the search PATH,
15960 # but as the default location of the library.
15961 hardcode_minus_L_GCJ=yes
15962 export_dynamic_flag_spec_GCJ='${wl}-E'
15966 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15967 case "$host_cpu" in
15969 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15972 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15976 case "$host_cpu" in
15978 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15981 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15985 if test "$with_gnu_ld" = no; then
15986 case "$host_cpu" in
15988 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15989 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15990 hardcode_libdir_separator_GCJ=:
15991 hardcode_direct_GCJ=no
15992 hardcode_shlibpath_var_GCJ=no
15995 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15996 hardcode_direct_GCJ=no
15997 hardcode_shlibpath_var_GCJ=no
15999 # hardcode_minus_L: Not really in the search PATH,
16000 # but as the default location of the library.
16001 hardcode_minus_L_GCJ=yes
16004 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16005 hardcode_libdir_separator_GCJ=:
16006 hardcode_direct_GCJ=yes
16007 export_dynamic_flag_spec_GCJ='${wl}-E'
16009 # hardcode_minus_L: Not really in the search PATH,
16010 # but as the default location of the library.
16011 hardcode_minus_L_GCJ=yes
16017 irix5* | irix6* | nonstopux*)
16018 if test "$GCC" = yes; then
16019 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'
16021 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'
16022 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
16024 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16025 hardcode_libdir_separator_GCJ=:
16026 link_all_deplibs_GCJ=yes
16030 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16031 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16033 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16035 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16036 hardcode_direct_GCJ=yes
16037 hardcode_shlibpath_var_GCJ=no
16041 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16042 hardcode_direct_GCJ=yes
16043 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16044 hardcode_libdir_separator_GCJ=:
16045 hardcode_shlibpath_var_GCJ=no
16049 hardcode_direct_GCJ=yes
16050 hardcode_shlibpath_var_GCJ=no
16051 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16052 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16053 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16054 export_dynamic_flag_spec_GCJ='${wl}-E'
16057 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16058 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16059 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16062 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16063 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16070 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16071 hardcode_minus_L_GCJ=yes
16072 allow_undefined_flag_GCJ=unsupported
16073 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'
16074 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16078 if test "$GCC" = yes; then
16079 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16080 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'
16082 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16083 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'
16085 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16086 hardcode_libdir_separator_GCJ=:
16089 osf4* | osf5*) # as osf3* with the addition of -msym flag
16090 if test "$GCC" = yes; then
16091 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16092 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'
16093 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16095 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16096 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'
16097 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~
16098 $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'
16100 # Both c and cxx compiler support -rpath directly
16101 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16103 hardcode_libdir_separator_GCJ=:
16107 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16108 hardcode_shlibpath_var_GCJ=no
16109 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16110 runpath_var=LD_RUN_PATH
16111 hardcode_runpath_var=yes
16115 no_undefined_flag_GCJ=' -z text'
16116 if test "$GCC" = yes; then
16117 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16118 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16119 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16121 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16122 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16123 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16125 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16126 hardcode_shlibpath_var_GCJ=no
16128 solaris2.[0-5] | solaris2.[0-5].*) ;;
16129 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16130 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16132 link_all_deplibs_GCJ=yes
16136 if test "x$host_vendor" = xsequent; then
16137 # Use $CC to link under sequent, because it throws in some extra .o
16138 # files that make .init and .fini sections work.
16139 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16141 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16143 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16144 hardcode_direct_GCJ=yes
16145 hardcode_minus_L_GCJ=yes
16146 hardcode_shlibpath_var_GCJ=no
16150 case $host_vendor in
16152 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16153 hardcode_direct_GCJ=yes # is this really true???
16156 ## LD is ld it makes a PLAMLIB
16157 ## CC just makes a GrossModule.
16158 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16159 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16160 hardcode_direct_GCJ=no
16163 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16164 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16167 runpath_var='LD_RUN_PATH'
16168 hardcode_shlibpath_var_GCJ=no
16172 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16173 hardcode_shlibpath_var_GCJ=no
16174 export_dynamic_flag_spec_GCJ='-Bexport'
16178 if test -d /usr/nec; then
16179 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16180 hardcode_shlibpath_var_GCJ=no
16181 runpath_var=LD_RUN_PATH
16182 hardcode_runpath_var=yes
16188 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16189 hardcode_direct_GCJ=yes
16190 hardcode_minus_L_GCJ=no
16191 hardcode_shlibpath_var_GCJ=no
16192 hardcode_runpath_var=yes
16193 runpath_var=LD_RUN_PATH
16196 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16197 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16198 if test "$GCC" = yes; then
16199 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16201 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16203 runpath_var='LD_RUN_PATH'
16204 hardcode_shlibpath_var_GCJ=no
16208 no_undefined_flag_GCJ=' -z text'
16209 # $CC -shared without GNU ld will not create a library from C++
16210 # object files and a static libstdc++, better avoid it by now
16211 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16212 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16213 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16214 hardcode_libdir_flag_spec_GCJ=
16215 hardcode_shlibpath_var_GCJ=no
16216 runpath_var='LD_RUN_PATH'
16220 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16221 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16222 hardcode_shlibpath_var_GCJ=no
16231 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16232 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16233 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16235 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16236 if test "$GCC" = yes; then
16237 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16241 # Do we need to explicitly link libc?
16243 case "x$archive_cmds_need_lc_GCJ" in
16245 # Assume -lc should be added
16246 archive_cmds_need_lc_GCJ=yes
16248 if test "$enable_shared" = yes && test "$GCC" = yes; then
16249 case $archive_cmds_GCJ in
16251 # FIXME: we may have to deal with multi-command sequences.
16254 # Test whether the compiler implicitly links with -lc since on some
16255 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16256 # to ld, don't add -lc before -lgcc.
16257 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16258 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16260 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16263 (eval $ac_compile) 2>&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); } 2>conftest.err; then
16269 libobjs=conftest.$ac_objext
16271 wl=$lt_prog_compiler_wl_GCJ
16277 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16278 allow_undefined_flag_GCJ=
16279 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16280 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }
16285 archive_cmds_need_lc_GCJ=no
16287 archive_cmds_need_lc_GCJ=yes
16289 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16291 cat conftest.err 1>&5
16294 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16295 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16302 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16303 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16304 hardcode_action_GCJ=
16305 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16306 test -n "$runpath_var GCJ" || \
16307 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16309 # We can hardcode non-existant directories.
16310 if test "$hardcode_direct_GCJ" != no &&
16311 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16312 # have to relink, otherwise we might link with an installed library
16313 # when we should be linking with a yet-to-be-installed one
16314 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16315 test "$hardcode_minus_L_GCJ" != no; then
16316 # Linking always hardcodes the temporary library directory.
16317 hardcode_action_GCJ=relink
16319 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16320 hardcode_action_GCJ=immediate
16323 # We cannot hardcode anything, or else we can only hardcode existing
16325 hardcode_action_GCJ=unsupported
16327 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16328 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16330 if test "$hardcode_action_GCJ" = relink; then
16331 # Fast installation is not supported
16332 enable_fast_install=no
16333 elif test "$shlibpath_overrides_runpath" = yes ||
16334 test "$enable_shared" = no; then
16335 # Fast installation is not necessary
16336 enable_fast_install=needless
16341 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16342 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16343 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16344 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16345 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16346 echo "$as_me:$LINENO: result: yes" >&5
16347 echo "${ECHO_T}yes" >&6
16349 # FIXME - insert some real tests, host_os isn't really good enough
16352 if test -n "$STRIP" ; then
16353 striplib="$STRIP -x"
16354 echo "$as_me:$LINENO: result: yes" >&5
16355 echo "${ECHO_T}yes" >&6
16357 echo "$as_me:$LINENO: result: no" >&5
16358 echo "${ECHO_T}no" >&6
16362 echo "$as_me:$LINENO: result: no" >&5
16363 echo "${ECHO_T}no" >&6
16368 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16369 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16370 library_names_spec=
16371 libname_spec='lib$name'
16375 postuninstall_cmds=
16379 shlibpath_overrides_runpath=unknown
16381 dynamic_linker="$host_os ld.so"
16382 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16383 if test "$GCC" = yes; then
16384 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16385 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16386 # if the path contains ";" then we assume it to be the separator
16387 # otherwise default to the standard path separator (i.e. ":") - it is
16388 # assumed that no part of a normal pathname contains ";" but that should
16389 # okay in the real world where ";" in dirpaths is itself problematic.
16390 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16392 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16395 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16397 need_lib_prefix=unknown
16398 hardcode_into_libs=no
16400 # when you set need_version to no, make sure it does not cause -set_version
16401 # flags to be left without arguments
16402 need_version=unknown
16407 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16408 shlibpath_var=LIBPATH
16410 # AIX 3 has no versioning support, so we append a major version to the name.
16411 soname_spec='${libname}${release}${shared_ext}$major'
16418 hardcode_into_libs=yes
16419 if test "$host_cpu" = ia64; then
16420 # AIX 5 supports IA64
16421 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16422 shlibpath_var=LD_LIBRARY_PATH
16424 # With GCC up to 2.95.x, collect2 would create an import file
16425 # for dependence libraries. The import file would start with
16426 # the line `#! .'. This would cause the generated library to
16427 # depend on `.', always an invalid library. This was fixed in
16428 # development snapshots of GCC prior to 3.0.
16430 aix4 | aix4.[01] | aix4.[01].*)
16431 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16433 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16436 can_build_shared=no
16440 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16441 # soname into executable. Probably we can add versioning support to
16442 # collect2, so additional links can be useful in future.
16443 if test "$aix_use_runtimelinking" = yes; then
16444 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16445 # instead of lib<name>.a to let people know that these are not
16446 # typical AIX shared libraries.
16447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16449 # We preserve .a as extension for shared libraries through AIX4.2
16450 # and later when we are not doing run time linking.
16451 library_names_spec='${libname}${release}.a $libname.a'
16452 soname_spec='${libname}${release}${shared_ext}$major'
16454 shlibpath_var=LIBPATH
16459 library_names_spec='$libname.ixlibrary $libname.a'
16460 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16461 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'
16465 library_names_spec='${libname}${shared_ext}'
16466 dynamic_linker="$host_os ld.so"
16467 shlibpath_var=LIBRARY_PATH
16473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16474 soname_spec='${libname}${release}${shared_ext}$major'
16475 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16476 shlibpath_var=LD_LIBRARY_PATH
16477 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16478 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16479 # the default ld.so.conf also contains /usr/contrib/lib and
16480 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16481 # libtool to hard-code these into programs
16484 cygwin* | mingw* | pw32*)
16485 version_type=windows
16490 case $GCC,$host_os in
16491 yes,cygwin* | yes,mingw* | yes,pw32*)
16492 library_names_spec='$libname.dll.a'
16493 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16494 postinstall_cmds='base_file=`basename \${file}`~
16495 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16496 dldir=$destdir/`dirname \$dlpath`~
16497 test -d \$dldir || mkdir -p \$dldir~
16498 $install_prog $dir/$dlname \$dldir/$dlname'
16499 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16500 dlpath=$dir/\$dldll~
16502 shlibpath_overrides_runpath=yes
16506 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16507 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16508 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16511 # MinGW DLLs use traditional 'lib' prefix
16512 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16513 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16514 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16515 # It is most probably a Windows format PATH printed by
16516 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16517 # path with ; separators, and with drive letters. We can handle the
16518 # drive letters (cygwin fileutils understands them), so leave them,
16519 # especially as we might pass files found there to a mingw objdump,
16520 # which wouldn't understand a cygwinified path. Ahh.
16521 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16523 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16527 # pw32 DLLs use 'pw' prefix rather than 'lib'
16528 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16534 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16537 dynamic_linker='Win32 ld.exe'
16538 # FIXME: first we should search . and the directory the executable is in
16542 darwin* | rhapsody*)
16543 dynamic_linker="$host_os dyld"
16544 version_type=darwin
16547 # FIXME: Relying on posixy $() will cause problems for
16548 # cross-compilation, but unfortunately the echo tests do not
16549 # yet detect zsh echo's removal of \ escapes.
16550 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16551 soname_spec='${libname}${release}${major}$shared_ext'
16552 shlibpath_overrides_runpath=yes
16553 shlibpath_var=DYLD_LIBRARY_PATH
16554 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16555 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16556 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16557 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"`
16559 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16567 soname_spec='${libname}${release}${shared_ext}$major'
16568 shlibpath_var=LD_LIBRARY_PATH
16576 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16577 version_type=freebsd-$objformat
16578 case $version_type in
16580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16585 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16589 shlibpath_var=LD_LIBRARY_PATH
16592 shlibpath_overrides_runpath=yes
16594 freebsd3.01* | freebsdelf3.01*)
16595 shlibpath_overrides_runpath=yes
16596 hardcode_into_libs=yes
16599 shlibpath_overrides_runpath=no
16600 hardcode_into_libs=yes
16609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16610 soname_spec='${libname}${release}${shared_ext}$major'
16611 shlibpath_var=LD_LIBRARY_PATH
16612 hardcode_into_libs=yes
16615 hpux9* | hpux10* | hpux11*)
16616 # Give a soname corresponding to the major version so that dld.sl refuses to
16617 # link against other versions.
16621 case "$host_cpu" in
16624 hardcode_into_libs=yes
16625 dynamic_linker="$host_os dld.so"
16626 shlibpath_var=LD_LIBRARY_PATH
16627 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16629 soname_spec='${libname}${release}${shared_ext}$major'
16630 if test "X$HPUX_IA64_MODE" = X32; then
16631 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16633 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16635 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16639 hardcode_into_libs=yes
16640 dynamic_linker="$host_os dld.sl"
16641 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16642 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16644 soname_spec='${libname}${release}${shared_ext}$major'
16645 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16646 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16650 dynamic_linker="$host_os dld.sl"
16651 shlibpath_var=SHLIB_PATH
16652 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16654 soname_spec='${libname}${release}${shared_ext}$major'
16657 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16658 postinstall_cmds='chmod 555 $lib'
16661 irix5* | irix6* | nonstopux*)
16663 nonstopux*) version_type=nonstopux ;;
16665 if test "$lt_cv_prog_gnu_ld" = yes; then
16673 soname_spec='${libname}${release}${shared_ext}$major'
16674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16676 irix5* | nonstopux*)
16677 libsuff= shlibsuff=
16680 case $LD in # libtool.m4 will add one of these switches to LD
16681 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16682 libsuff= shlibsuff= libmagic=32-bit;;
16683 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16684 libsuff=32 shlibsuff=N32 libmagic=N32;;
16685 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16686 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16687 *) libsuff= shlibsuff= libmagic=never-match;;
16691 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16692 shlibpath_overrides_runpath=no
16693 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16694 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16695 hardcode_into_libs=yes
16698 # No shared lib support for Linux oldld, aout, or coff.
16699 linux*oldld* | linux*aout* | linux*coff*)
16703 # This must be Linux ELF.
16708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16709 soname_spec='${libname}${release}${shared_ext}$major'
16710 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16711 shlibpath_var=LD_LIBRARY_PATH
16712 shlibpath_overrides_runpath=no
16713 # This implies no fast_install, which is unacceptable.
16714 # Some rework will be needed to allow for fast_install
16715 # before this can be enabled.
16716 hardcode_into_libs=yes
16718 # We used to test for /lib/ld.so.1 and disable shared libraries on
16719 # powerpc, because MkLinux only supported shared libraries with the
16720 # GNU dynamic linker. Since this was broken with cross compilers,
16721 # most powerpc-linux boxes support dynamic linking these days and
16722 # people can always --disable-shared, the test was removed, and we
16723 # assume the GNU/Linux dynamic linker is in use.
16724 dynamic_linker='GNU/Linux ld.so'
16731 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16733 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16734 dynamic_linker='NetBSD (a.out) ld.so'
16736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16737 soname_spec='${libname}${release}${shared_ext}$major'
16738 dynamic_linker='NetBSD ld.elf_so'
16740 shlibpath_var=LD_LIBRARY_PATH
16741 shlibpath_overrides_runpath=yes
16742 hardcode_into_libs=yes
16747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16748 shlibpath_var=LD_LIBRARY_PATH
16749 shlibpath_overrides_runpath=yes
16756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16757 soname_spec='${libname}${release}${shared_ext}$major'
16758 shlibpath_var=LD_LIBRARY_PATH
16759 shlibpath_overrides_runpath=yes
16766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16767 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16768 shlibpath_var=LD_LIBRARY_PATH
16769 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16771 openbsd2.[89] | openbsd2.[89].*)
16772 shlibpath_overrides_runpath=no
16775 shlibpath_overrides_runpath=yes
16779 shlibpath_overrides_runpath=yes
16784 libname_spec='$name'
16787 library_names_spec='$libname${shared_ext} $libname.a'
16788 dynamic_linker='OS/2 ld.exe'
16789 shlibpath_var=LIBPATH
16792 osf3* | osf4* | osf5*)
16796 soname_spec='${libname}${release}${shared_ext}$major'
16797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16798 shlibpath_var=LD_LIBRARY_PATH
16799 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16800 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16805 soname_spec='${libname}${release}${shared_ext}$major'
16806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16807 shlibpath_var=LD_LIBRARY_PATH
16814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16815 soname_spec='${libname}${release}${shared_ext}$major'
16816 shlibpath_var=LD_LIBRARY_PATH
16817 shlibpath_overrides_runpath=yes
16818 hardcode_into_libs=yes
16819 # ldd complains unless libraries are executable
16820 postinstall_cmds='chmod +x $lib'
16825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16826 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16827 shlibpath_var=LD_LIBRARY_PATH
16828 shlibpath_overrides_runpath=yes
16829 if test "$with_gnu_ld" = yes; then
16835 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16838 soname_spec='${libname}${release}${shared_ext}$major'
16839 shlibpath_var=LD_LIBRARY_PATH
16840 case $host_vendor in
16842 shlibpath_overrides_runpath=no
16844 export_dynamic_flag_spec='${wl}-Blargedynsym'
16845 runpath_var=LD_RUN_PATH
16853 shlibpath_overrides_runpath=no
16854 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16860 if test -d /usr/nec ;then
16862 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16863 soname_spec='$libname${shared_ext}.$major'
16864 shlibpath_var=LD_LIBRARY_PATH
16870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16871 soname_spec='${libname}${release}${shared_ext}$major'
16872 shlibpath_var=LD_LIBRARY_PATH
16879 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16880 echo "${ECHO_T}$dynamic_linker" >&6
16881 test "$dynamic_linker" = no && can_build_shared=no
16883 if test "x$enable_dlopen" != xyes; then
16884 enable_dlopen=unknown
16885 enable_dlopen_self=unknown
16886 enable_dlopen_self_static=unknown
16893 lt_cv_dlopen="load_add_on"
16895 lt_cv_dlopen_self=yes
16899 lt_cv_dlopen="LoadLibrary"
16904 lt_cv_dlopen="dlopen"
16909 # if libdl is installed we need to link against it
16910 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16911 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16912 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16915 ac_check_lib_save_LIBS=$LIBS
16917 cat >conftest.$ac_ext <<_ACEOF
16918 #line $LINENO "configure"
16921 cat confdefs.h >>conftest.$ac_ext
16922 cat >>conftest.$ac_ext <<_ACEOF
16923 /* end confdefs.h. */
16925 /* Override any gcc2 internal prototype to avoid an error. */
16929 /* We use char because int might match the return type of a gcc2
16930 builtin and then its argument prototype would still apply. */
16940 rm -f conftest.$ac_objext conftest$ac_exeext
16941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16942 (eval $ac_link) 2>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } &&
16946 { ac_try='test -s conftest$ac_exeext'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; }; then
16952 ac_cv_lib_dl_dlopen=yes
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16957 ac_cv_lib_dl_dlopen=no
16959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16960 LIBS=$ac_check_lib_save_LIBS
16962 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16963 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16964 if test $ac_cv_lib_dl_dlopen = yes; then
16965 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16968 lt_cv_dlopen="dyld"
16970 lt_cv_dlopen_self=yes
16977 echo "$as_me:$LINENO: checking for shl_load" >&5
16978 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16979 if test "${ac_cv_func_shl_load+set}" = set; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16982 cat >conftest.$ac_ext <<_ACEOF
16983 #line $LINENO "configure"
16986 cat confdefs.h >>conftest.$ac_ext
16987 cat >>conftest.$ac_ext <<_ACEOF
16988 /* end confdefs.h. */
16989 /* System header to define __stub macros and hopefully few prototypes,
16990 which can conflict with char shl_load (); below.
16991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16992 <limits.h> exists even on freestanding compilers. */
16994 # include <limits.h>
16996 # include <assert.h>
16998 /* Override any gcc2 internal prototype to avoid an error. */
17003 /* We use char because int might match the return type of a gcc2
17004 builtin and then its argument prototype would still apply. */
17006 /* The GNU C library defines this for functions which it implements
17007 to always fail with ENOSYS. Some functions are actually named
17008 something starting with __ and the normal name is an alias. */
17009 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17012 char (*f) () = shl_load;
17021 return f != shl_load;
17026 rm -f conftest.$ac_objext conftest$ac_exeext
17027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17028 (eval $ac_link) 2>&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } &&
17032 { ac_try='test -s conftest$ac_exeext'
17033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034 (eval $ac_try) 2>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; }; then
17038 ac_cv_func_shl_load=yes
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17043 ac_cv_func_shl_load=no
17045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17047 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17048 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17049 if test $ac_cv_func_shl_load = yes; then
17050 lt_cv_dlopen="shl_load"
17052 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17053 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17054 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17057 ac_check_lib_save_LIBS=$LIBS
17059 cat >conftest.$ac_ext <<_ACEOF
17060 #line $LINENO "configure"
17063 cat confdefs.h >>conftest.$ac_ext
17064 cat >>conftest.$ac_ext <<_ACEOF
17065 /* end confdefs.h. */
17067 /* Override any gcc2 internal prototype to avoid an error. */
17071 /* We use char because int might match the return type of a gcc2
17072 builtin and then its argument prototype would still apply. */
17082 rm -f conftest.$ac_objext conftest$ac_exeext
17083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17084 (eval $ac_link) 2>&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); } &&
17088 { ac_try='test -s conftest$ac_exeext'
17089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17090 (eval $ac_try) 2>&5
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; }; then
17094 ac_cv_lib_dld_shl_load=yes
17096 echo "$as_me: failed program was:" >&5
17097 sed 's/^/| /' conftest.$ac_ext >&5
17099 ac_cv_lib_dld_shl_load=no
17101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17102 LIBS=$ac_check_lib_save_LIBS
17104 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17105 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17106 if test $ac_cv_lib_dld_shl_load = yes; then
17107 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17109 echo "$as_me:$LINENO: checking for dlopen" >&5
17110 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17111 if test "${ac_cv_func_dlopen+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 cat >conftest.$ac_ext <<_ACEOF
17115 #line $LINENO "configure"
17118 cat confdefs.h >>conftest.$ac_ext
17119 cat >>conftest.$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17121 /* System header to define __stub macros and hopefully few prototypes,
17122 which can conflict with char dlopen (); below.
17123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17124 <limits.h> exists even on freestanding compilers. */
17126 # include <limits.h>
17128 # include <assert.h>
17130 /* Override any gcc2 internal prototype to avoid an error. */
17135 /* We use char because int might match the return type of a gcc2
17136 builtin and then its argument prototype would still apply. */
17138 /* The GNU C library defines this for functions which it implements
17139 to always fail with ENOSYS. Some functions are actually named
17140 something starting with __ and the normal name is an alias. */
17141 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17144 char (*f) () = dlopen;
17153 return f != dlopen;
17158 rm -f conftest.$ac_objext conftest$ac_exeext
17159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17160 (eval $ac_link) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); } &&
17164 { ac_try='test -s conftest$ac_exeext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 ac_cv_func_dlopen=yes
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17175 ac_cv_func_dlopen=no
17177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17179 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17180 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17181 if test $ac_cv_func_dlopen = yes; then
17182 lt_cv_dlopen="dlopen"
17184 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17185 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17186 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17187 echo $ECHO_N "(cached) $ECHO_C" >&6
17189 ac_check_lib_save_LIBS=$LIBS
17191 cat >conftest.$ac_ext <<_ACEOF
17192 #line $LINENO "configure"
17195 cat confdefs.h >>conftest.$ac_ext
17196 cat >>conftest.$ac_ext <<_ACEOF
17197 /* end confdefs.h. */
17199 /* Override any gcc2 internal prototype to avoid an error. */
17203 /* We use char because int might match the return type of a gcc2
17204 builtin and then its argument prototype would still apply. */
17214 rm -f conftest.$ac_objext conftest$ac_exeext
17215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17216 (eval $ac_link) 2>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); } &&
17220 { ac_try='test -s conftest$ac_exeext'
17221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17222 (eval $ac_try) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; }; then
17226 ac_cv_lib_dl_dlopen=yes
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.$ac_ext >&5
17231 ac_cv_lib_dl_dlopen=no
17233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17234 LIBS=$ac_check_lib_save_LIBS
17236 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17237 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17238 if test $ac_cv_lib_dl_dlopen = yes; then
17239 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17241 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17242 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17243 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17244 echo $ECHO_N "(cached) $ECHO_C" >&6
17246 ac_check_lib_save_LIBS=$LIBS
17247 LIBS="-lsvld $LIBS"
17248 cat >conftest.$ac_ext <<_ACEOF
17249 #line $LINENO "configure"
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17256 /* Override any gcc2 internal prototype to avoid an error. */
17260 /* We use char because int might match the return type of a gcc2
17261 builtin and then its argument prototype would still apply. */
17271 rm -f conftest.$ac_objext conftest$ac_exeext
17272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17273 (eval $ac_link) 2>&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); } &&
17277 { ac_try='test -s conftest$ac_exeext'
17278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17279 (eval $ac_try) 2>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); }; }; then
17283 ac_cv_lib_svld_dlopen=yes
17285 echo "$as_me: failed program was:" >&5
17286 sed 's/^/| /' conftest.$ac_ext >&5
17288 ac_cv_lib_svld_dlopen=no
17290 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17291 LIBS=$ac_check_lib_save_LIBS
17293 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17294 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17295 if test $ac_cv_lib_svld_dlopen = yes; then
17296 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17298 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17299 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17300 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17301 echo $ECHO_N "(cached) $ECHO_C" >&6
17303 ac_check_lib_save_LIBS=$LIBS
17305 cat >conftest.$ac_ext <<_ACEOF
17306 #line $LINENO "configure"
17309 cat confdefs.h >>conftest.$ac_ext
17310 cat >>conftest.$ac_ext <<_ACEOF
17311 /* end confdefs.h. */
17313 /* Override any gcc2 internal prototype to avoid an error. */
17317 /* We use char because int might match the return type of a gcc2
17318 builtin and then its argument prototype would still apply. */
17328 rm -f conftest.$ac_objext conftest$ac_exeext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17330 (eval $ac_link) 2>&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } &&
17334 { ac_try='test -s conftest$ac_exeext'
17335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336 (eval $ac_try) 2>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; }; then
17340 ac_cv_lib_dld_dld_link=yes
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17345 ac_cv_lib_dld_dld_link=no
17347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17348 LIBS=$ac_check_lib_save_LIBS
17350 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17351 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17352 if test $ac_cv_lib_dld_dld_link = yes; then
17353 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17374 if test "x$lt_cv_dlopen" != xno; then
17380 case $lt_cv_dlopen in
17382 save_CPPFLAGS="$CPPFLAGS"
17383 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17385 save_LDFLAGS="$LDFLAGS"
17386 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17389 LIBS="$lt_cv_dlopen_libs $LIBS"
17391 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17392 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17393 if test "${lt_cv_dlopen_self+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17396 if test "$cross_compiling" = yes; then :
17397 lt_cv_dlopen_self=cross
17399 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17400 lt_status=$lt_dlunknown
17401 cat > conftest.$ac_ext <<EOF
17402 #line 17402 "configure"
17403 #include "confdefs.h"
17412 # define LT_DLGLOBAL RTLD_GLOBAL
17415 # define LT_DLGLOBAL DL_GLOBAL
17417 # define LT_DLGLOBAL 0
17421 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17422 find out it does not work in some platform. */
17423 #ifndef LT_DLLAZY_OR_NOW
17425 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17428 # define LT_DLLAZY_OR_NOW DL_LAZY
17431 # define LT_DLLAZY_OR_NOW RTLD_NOW
17434 # define LT_DLLAZY_OR_NOW DL_NOW
17436 # define LT_DLLAZY_OR_NOW 0
17444 extern "C" void exit (int);
17447 void fnord() { int i=42;}
17450 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17451 int status = $lt_dlunknown;
17455 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17456 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17457 /* dlclose (self); */
17463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17464 (eval $ac_link) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17468 (./conftest; exit; ) 2>/dev/null
17470 case x$lt_status in
17471 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17472 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17473 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17476 # compilation failed
17477 lt_cv_dlopen_self=no
17484 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17485 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17487 if test "x$lt_cv_dlopen_self" = xyes; then
17488 LDFLAGS="$LDFLAGS $link_static_flag"
17489 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17490 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17491 if test "${lt_cv_dlopen_self_static+set}" = set; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 if test "$cross_compiling" = yes; then :
17495 lt_cv_dlopen_self_static=cross
17497 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17498 lt_status=$lt_dlunknown
17499 cat > conftest.$ac_ext <<EOF
17500 #line 17500 "configure"
17501 #include "confdefs.h"
17510 # define LT_DLGLOBAL RTLD_GLOBAL
17513 # define LT_DLGLOBAL DL_GLOBAL
17515 # define LT_DLGLOBAL 0
17519 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17520 find out it does not work in some platform. */
17521 #ifndef LT_DLLAZY_OR_NOW
17523 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17526 # define LT_DLLAZY_OR_NOW DL_LAZY
17529 # define LT_DLLAZY_OR_NOW RTLD_NOW
17532 # define LT_DLLAZY_OR_NOW DL_NOW
17534 # define LT_DLLAZY_OR_NOW 0
17542 extern "C" void exit (int);
17545 void fnord() { int i=42;}
17548 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17549 int status = $lt_dlunknown;
17553 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17554 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17555 /* dlclose (self); */
17561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17562 (eval $ac_link) 2>&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17566 (./conftest; exit; ) 2>/dev/null
17568 case x$lt_status in
17569 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17570 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17571 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17574 # compilation failed
17575 lt_cv_dlopen_self_static=no
17582 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17583 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17586 CPPFLAGS="$save_CPPFLAGS"
17587 LDFLAGS="$save_LDFLAGS"
17592 case $lt_cv_dlopen_self in
17593 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17594 *) enable_dlopen_self=unknown ;;
17597 case $lt_cv_dlopen_self_static in
17598 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17599 *) enable_dlopen_self_static=unknown ;;
17604 # The else clause should only fire when bootstrapping the
17605 # libtool distribution, otherwise you forgot to ship ltmain.sh
17606 # with your package, and you will get complaints that there are
17607 # no rules to generate ltmain.sh.
17608 if test -f "$ltmain"; then
17609 # See if we are running on zsh, and set the options which allow our commands through
17610 # without removal of \ escapes.
17611 if test -n "${ZSH_VERSION+set}" ; then
17612 setopt NO_GLOB_SUBST
17614 # Now quote all the things that may contain metacharacters while being
17615 # careful not to overquote the AC_SUBSTed values. We take copies of the
17616 # variables and quote the copies for generation of the libtool script.
17617 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17618 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17619 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17620 deplibs_check_method reload_flag reload_cmds need_locks \
17621 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17622 lt_cv_sys_global_symbol_to_c_name_address \
17623 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17624 old_postinstall_cmds old_postuninstall_cmds \
17628 lt_prog_compiler_wl_GCJ \
17629 lt_prog_compiler_pic_GCJ \
17630 lt_prog_compiler_static_GCJ \
17631 lt_prog_compiler_no_builtin_flag_GCJ \
17632 export_dynamic_flag_spec_GCJ \
17633 thread_safe_flag_spec_GCJ \
17634 whole_archive_flag_spec_GCJ \
17635 enable_shared_with_static_runtimes_GCJ \
17636 old_archive_cmds_GCJ \
17637 old_archive_from_new_cmds_GCJ \
17638 predep_objects_GCJ \
17639 postdep_objects_GCJ \
17642 compiler_lib_search_path_GCJ \
17644 archive_expsym_cmds_GCJ \
17645 postinstall_cmds_GCJ \
17646 postuninstall_cmds_GCJ \
17647 old_archive_from_expsyms_cmds_GCJ \
17648 allow_undefined_flag_GCJ \
17649 no_undefined_flag_GCJ \
17650 export_symbols_cmds_GCJ \
17651 hardcode_libdir_flag_spec_GCJ \
17652 hardcode_libdir_flag_spec_ld_GCJ \
17653 hardcode_libdir_separator_GCJ \
17654 hardcode_automatic_GCJ \
17656 module_expsym_cmds_GCJ \
17657 lt_cv_prog_compiler_c_o_GCJ \
17658 exclude_expsyms_GCJ \
17659 include_expsyms_GCJ; do
17662 old_archive_cmds_GCJ | \
17663 old_archive_from_new_cmds_GCJ | \
17664 archive_cmds_GCJ | \
17665 archive_expsym_cmds_GCJ | \
17666 module_cmds_GCJ | \
17667 module_expsym_cmds_GCJ | \
17668 old_archive_from_expsyms_cmds_GCJ | \
17669 export_symbols_cmds_GCJ | \
17670 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17671 postinstall_cmds | postuninstall_cmds | \
17672 old_postinstall_cmds | old_postuninstall_cmds | \
17673 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17674 # Double-quote double-evaled strings.
17675 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17678 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17684 *'\$0 --fallback-echo"')
17685 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17691 cat <<__EOF__ >> "$cfgfile"
17692 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17694 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17696 # Shell to use when invoking shell scripts.
17699 # Whether or not to build shared libraries.
17700 build_libtool_libs=$enable_shared
17702 # Whether or not to build static libraries.
17703 build_old_libs=$enable_static
17705 # Whether or not to add -lc for building shared libraries.
17706 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17708 # Whether or not to disallow shared libs when runtime libs are static
17709 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17711 # Whether or not to optimize for fast installation.
17712 fast_install=$enable_fast_install
17715 host_alias=$host_alias
17718 # An echo program that does not interpret backslashes.
17723 AR_FLAGS=$lt_AR_FLAGS
17728 # A language-specific compiler.
17729 CC=$lt_compiler_GCJ
17731 # Is the compiler the GNU C compiler?
17737 # The linker used to build libraries.
17740 # Whether we need hard or soft links.
17743 # A BSD-compatible nm program.
17746 # A symbol stripping program
17749 # Used to examine libraries when file_magic_cmd begins "file"
17750 MAGIC_CMD=$MAGIC_CMD
17752 # Used on cygwin: DLL creation program.
17755 # Used on cygwin: object dumper.
17758 # Used on cygwin: assembler.
17761 # The name of the directory that contains temporary libtool files.
17764 # How to create reloadable object files.
17765 reload_flag=$lt_reload_flag
17766 reload_cmds=$lt_reload_cmds
17768 # How to pass a linker flag through the compiler.
17769 wl=$lt_lt_prog_compiler_wl_GCJ
17771 # Object file suffix (normally "o").
17772 objext="$ac_objext"
17774 # Old archive suffix (normally "a").
17777 # Shared library suffix (normally ".so").
17780 # Executable file suffix (normally "").
17783 # Additional compiler flags for building library objects.
17784 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17787 # What is the maximum length of a command?
17788 max_cmd_len=$lt_cv_sys_max_cmd_len
17790 # Does compiler simultaneously support -c and -o options?
17791 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17793 # Must we lock files when doing compilation ?
17794 need_locks=$lt_need_locks
17796 # Do we need the lib prefix for modules?
17797 need_lib_prefix=$need_lib_prefix
17799 # Do we need a version for libraries?
17800 need_version=$need_version
17802 # Whether dlopen is supported.
17803 dlopen_support=$enable_dlopen
17805 # Whether dlopen of programs is supported.
17806 dlopen_self=$enable_dlopen_self
17808 # Whether dlopen of statically linked programs is supported.
17809 dlopen_self_static=$enable_dlopen_self_static
17811 # Compiler flag to prevent dynamic linking.
17812 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17814 # Compiler flag to turn off builtin functions.
17815 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17817 # Compiler flag to allow reflexive dlopens.
17818 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17820 # Compiler flag to generate shared objects directly from archives.
17821 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17823 # Compiler flag to generate thread-safe objects.
17824 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17826 # Library versioning type.
17827 version_type=$version_type
17829 # Format of library name prefix.
17830 libname_spec=$lt_libname_spec
17832 # List of archive names. First name is the real one, the rest are links.
17833 # The last name is the one that the linker finds with -lNAME.
17834 library_names_spec=$lt_library_names_spec
17836 # The coded name of the library, if different from the real name.
17837 soname_spec=$lt_soname_spec
17839 # Commands used to build and install an old-style archive.
17841 old_archive_cmds=$lt_old_archive_cmds_GCJ
17842 old_postinstall_cmds=$lt_old_postinstall_cmds
17843 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17845 # Create an old-style archive from a shared archive.
17846 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17848 # Create a temporary old-style archive to link instead of a shared archive.
17849 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17851 # Commands used to build and install a shared archive.
17852 archive_cmds=$lt_archive_cmds_GCJ
17853 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17854 postinstall_cmds=$lt_postinstall_cmds
17855 postuninstall_cmds=$lt_postuninstall_cmds
17857 # Commands used to build a loadable module (assumed same as above if empty)
17858 module_cmds=$lt_module_cmds_GCJ
17859 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17861 # Commands to strip libraries.
17862 old_striplib=$lt_old_striplib
17863 striplib=$lt_striplib
17865 # Dependencies to place before the objects being linked to create a
17867 predep_objects=$lt_predep_objects_GCJ
17869 # Dependencies to place after the objects being linked to create a
17871 postdep_objects=$lt_postdep_objects_GCJ
17873 # Dependencies to place before the objects being linked to create a
17875 predeps=$lt_predeps_GCJ
17877 # Dependencies to place after the objects being linked to create a
17879 postdeps=$lt_postdeps_GCJ
17881 # The library search path used internally by the compiler when linking
17882 # a shared library.
17883 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17885 # Method to check whether dependent libraries are shared objects.
17886 deplibs_check_method=$lt_deplibs_check_method
17888 # Command to use when deplibs_check_method == file_magic.
17889 file_magic_cmd=$lt_file_magic_cmd
17891 # Flag that allows shared libraries with undefined symbols to be built.
17892 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17894 # Flag that forces no undefined symbols.
17895 no_undefined_flag=$lt_no_undefined_flag_GCJ
17897 # Commands used to finish a libtool library installation in a directory.
17898 finish_cmds=$lt_finish_cmds
17900 # Same as above, but a single script fragment to be evaled but not shown.
17901 finish_eval=$lt_finish_eval
17903 # Take the output of nm and produce a listing of raw symbols and C names.
17904 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17906 # Transform the output of nm in a proper C declaration
17907 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17909 # Transform the output of nm in a C name address pair
17910 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17912 # This is the shared library runtime path variable.
17913 runpath_var=$runpath_var
17915 # This is the shared library path variable.
17916 shlibpath_var=$shlibpath_var
17918 # Is shlibpath searched before the hard-coded library search path?
17919 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17921 # How to hardcode a shared library path into an executable.
17922 hardcode_action=$hardcode_action_GCJ
17924 # Whether we should hardcode library paths into libraries.
17925 hardcode_into_libs=$hardcode_into_libs
17927 # Flag to hardcode \$libdir into a binary during linking.
17928 # This must work even if \$libdir does not exist.
17929 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17931 # If ld is used when linking, flag to hardcode \$libdir into
17932 # a binary during linking. This must work even if \$libdir does
17934 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17936 # Whether we need a single -rpath flag with a separated argument.
17937 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17939 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17940 # resulting binary.
17941 hardcode_direct=$hardcode_direct_GCJ
17943 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17944 # resulting binary.
17945 hardcode_minus_L=$hardcode_minus_L_GCJ
17947 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17948 # the resulting binary.
17949 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17951 # Set to yes if building a shared library automatically hardcodes DIR into the library
17952 # and all subsequent libraries and executables linked against it.
17953 hardcode_automatic=$hardcode_automatic_GCJ
17955 # Variables whose values should be saved in libtool wrapper scripts and
17956 # restored at relink time.
17957 variables_saved_for_relink="$variables_saved_for_relink"
17959 # Whether libtool must link a program against all its dependency libraries.
17960 link_all_deplibs=$link_all_deplibs_GCJ
17962 # Compile-time system search path for libraries
17963 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17965 # Run-time system search path for libraries
17966 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17968 # Fix the shell variable \$srcfile for the compiler.
17969 fix_srcfile_path="$fix_srcfile_path_GCJ"
17971 # Set to yes if exported symbols are required.
17972 always_export_symbols=$always_export_symbols_GCJ
17974 # The commands to list exported symbols.
17975 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17977 # The commands to extract the exported symbol list from a shared archive.
17978 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17980 # Symbols that should not be listed in the preloaded symbols.
17981 exclude_expsyms=$lt_exclude_expsyms_GCJ
17983 # Symbols that must always be exported.
17984 include_expsyms=$lt_include_expsyms_GCJ
17986 # ### END LIBTOOL TAG CONFIG: $tagname
17992 # If there is no Makefile yet, we rely on a make rule to execute
17993 # `config.status --recheck' to rerun these tests and create the
17994 # libtool script then.
17995 test -f Makefile && make "$ltmain"
18000 ac_cpp='$CPP $CPPFLAGS'
18001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18016 # Source file extension for RC test sources.
18019 # Object file extension for compiled RC test sources.
18023 # Code to be used in simple compile tests
18024 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18026 # Code to be used in simple link tests
18027 lt_simple_link_test_code="$lt_simple_compile_test_code"
18029 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18031 # If no C compiler was specified, use CC.
18034 # Allow CC to be a program name with arguments.
18038 # Allow CC to be a program name with arguments.
18043 lt_cv_prog_compiler_c_o_RC=yes
18045 # The else clause should only fire when bootstrapping the
18046 # libtool distribution, otherwise you forgot to ship ltmain.sh
18047 # with your package, and you will get complaints that there are
18048 # no rules to generate ltmain.sh.
18049 if test -f "$ltmain"; then
18050 # See if we are running on zsh, and set the options which allow our commands through
18051 # without removal of \ escapes.
18052 if test -n "${ZSH_VERSION+set}" ; then
18053 setopt NO_GLOB_SUBST
18055 # Now quote all the things that may contain metacharacters while being
18056 # careful not to overquote the AC_SUBSTed values. We take copies of the
18057 # variables and quote the copies for generation of the libtool script.
18058 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18059 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18060 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18061 deplibs_check_method reload_flag reload_cmds need_locks \
18062 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18063 lt_cv_sys_global_symbol_to_c_name_address \
18064 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18065 old_postinstall_cmds old_postuninstall_cmds \
18069 lt_prog_compiler_wl_RC \
18070 lt_prog_compiler_pic_RC \
18071 lt_prog_compiler_static_RC \
18072 lt_prog_compiler_no_builtin_flag_RC \
18073 export_dynamic_flag_spec_RC \
18074 thread_safe_flag_spec_RC \
18075 whole_archive_flag_spec_RC \
18076 enable_shared_with_static_runtimes_RC \
18077 old_archive_cmds_RC \
18078 old_archive_from_new_cmds_RC \
18079 predep_objects_RC \
18080 postdep_objects_RC \
18083 compiler_lib_search_path_RC \
18085 archive_expsym_cmds_RC \
18086 postinstall_cmds_RC \
18087 postuninstall_cmds_RC \
18088 old_archive_from_expsyms_cmds_RC \
18089 allow_undefined_flag_RC \
18090 no_undefined_flag_RC \
18091 export_symbols_cmds_RC \
18092 hardcode_libdir_flag_spec_RC \
18093 hardcode_libdir_flag_spec_ld_RC \
18094 hardcode_libdir_separator_RC \
18095 hardcode_automatic_RC \
18097 module_expsym_cmds_RC \
18098 lt_cv_prog_compiler_c_o_RC \
18099 exclude_expsyms_RC \
18100 include_expsyms_RC; do
18103 old_archive_cmds_RC | \
18104 old_archive_from_new_cmds_RC | \
18105 archive_cmds_RC | \
18106 archive_expsym_cmds_RC | \
18108 module_expsym_cmds_RC | \
18109 old_archive_from_expsyms_cmds_RC | \
18110 export_symbols_cmds_RC | \
18111 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18112 postinstall_cmds | postuninstall_cmds | \
18113 old_postinstall_cmds | old_postuninstall_cmds | \
18114 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18115 # Double-quote double-evaled strings.
18116 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18119 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18125 *'\$0 --fallback-echo"')
18126 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18132 cat <<__EOF__ >> "$cfgfile"
18133 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18135 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18137 # Shell to use when invoking shell scripts.
18140 # Whether or not to build shared libraries.
18141 build_libtool_libs=$enable_shared
18143 # Whether or not to build static libraries.
18144 build_old_libs=$enable_static
18146 # Whether or not to add -lc for building shared libraries.
18147 build_libtool_need_lc=$archive_cmds_need_lc_RC
18149 # Whether or not to disallow shared libs when runtime libs are static
18150 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18152 # Whether or not to optimize for fast installation.
18153 fast_install=$enable_fast_install
18156 host_alias=$host_alias
18159 # An echo program that does not interpret backslashes.
18164 AR_FLAGS=$lt_AR_FLAGS
18169 # A language-specific compiler.
18172 # Is the compiler the GNU C compiler?
18178 # The linker used to build libraries.
18181 # Whether we need hard or soft links.
18184 # A BSD-compatible nm program.
18187 # A symbol stripping program
18190 # Used to examine libraries when file_magic_cmd begins "file"
18191 MAGIC_CMD=$MAGIC_CMD
18193 # Used on cygwin: DLL creation program.
18196 # Used on cygwin: object dumper.
18199 # Used on cygwin: assembler.
18202 # The name of the directory that contains temporary libtool files.
18205 # How to create reloadable object files.
18206 reload_flag=$lt_reload_flag
18207 reload_cmds=$lt_reload_cmds
18209 # How to pass a linker flag through the compiler.
18210 wl=$lt_lt_prog_compiler_wl_RC
18212 # Object file suffix (normally "o").
18213 objext="$ac_objext"
18215 # Old archive suffix (normally "a").
18218 # Shared library suffix (normally ".so").
18221 # Executable file suffix (normally "").
18224 # Additional compiler flags for building library objects.
18225 pic_flag=$lt_lt_prog_compiler_pic_RC
18228 # What is the maximum length of a command?
18229 max_cmd_len=$lt_cv_sys_max_cmd_len
18231 # Does compiler simultaneously support -c and -o options?
18232 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18234 # Must we lock files when doing compilation ?
18235 need_locks=$lt_need_locks
18237 # Do we need the lib prefix for modules?
18238 need_lib_prefix=$need_lib_prefix
18240 # Do we need a version for libraries?
18241 need_version=$need_version
18243 # Whether dlopen is supported.
18244 dlopen_support=$enable_dlopen
18246 # Whether dlopen of programs is supported.
18247 dlopen_self=$enable_dlopen_self
18249 # Whether dlopen of statically linked programs is supported.
18250 dlopen_self_static=$enable_dlopen_self_static
18252 # Compiler flag to prevent dynamic linking.
18253 link_static_flag=$lt_lt_prog_compiler_static_RC
18255 # Compiler flag to turn off builtin functions.
18256 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18258 # Compiler flag to allow reflexive dlopens.
18259 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18261 # Compiler flag to generate shared objects directly from archives.
18262 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18264 # Compiler flag to generate thread-safe objects.
18265 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18267 # Library versioning type.
18268 version_type=$version_type
18270 # Format of library name prefix.
18271 libname_spec=$lt_libname_spec
18273 # List of archive names. First name is the real one, the rest are links.
18274 # The last name is the one that the linker finds with -lNAME.
18275 library_names_spec=$lt_library_names_spec
18277 # The coded name of the library, if different from the real name.
18278 soname_spec=$lt_soname_spec
18280 # Commands used to build and install an old-style archive.
18282 old_archive_cmds=$lt_old_archive_cmds_RC
18283 old_postinstall_cmds=$lt_old_postinstall_cmds
18284 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18286 # Create an old-style archive from a shared archive.
18287 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18289 # Create a temporary old-style archive to link instead of a shared archive.
18290 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18292 # Commands used to build and install a shared archive.
18293 archive_cmds=$lt_archive_cmds_RC
18294 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18295 postinstall_cmds=$lt_postinstall_cmds
18296 postuninstall_cmds=$lt_postuninstall_cmds
18298 # Commands used to build a loadable module (assumed same as above if empty)
18299 module_cmds=$lt_module_cmds_RC
18300 module_expsym_cmds=$lt_module_expsym_cmds_RC
18302 # Commands to strip libraries.
18303 old_striplib=$lt_old_striplib
18304 striplib=$lt_striplib
18306 # Dependencies to place before the objects being linked to create a
18308 predep_objects=$lt_predep_objects_RC
18310 # Dependencies to place after the objects being linked to create a
18312 postdep_objects=$lt_postdep_objects_RC
18314 # Dependencies to place before the objects being linked to create a
18316 predeps=$lt_predeps_RC
18318 # Dependencies to place after the objects being linked to create a
18320 postdeps=$lt_postdeps_RC
18322 # The library search path used internally by the compiler when linking
18323 # a shared library.
18324 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18326 # Method to check whether dependent libraries are shared objects.
18327 deplibs_check_method=$lt_deplibs_check_method
18329 # Command to use when deplibs_check_method == file_magic.
18330 file_magic_cmd=$lt_file_magic_cmd
18332 # Flag that allows shared libraries with undefined symbols to be built.
18333 allow_undefined_flag=$lt_allow_undefined_flag_RC
18335 # Flag that forces no undefined symbols.
18336 no_undefined_flag=$lt_no_undefined_flag_RC
18338 # Commands used to finish a libtool library installation in a directory.
18339 finish_cmds=$lt_finish_cmds
18341 # Same as above, but a single script fragment to be evaled but not shown.
18342 finish_eval=$lt_finish_eval
18344 # Take the output of nm and produce a listing of raw symbols and C names.
18345 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18347 # Transform the output of nm in a proper C declaration
18348 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18350 # Transform the output of nm in a C name address pair
18351 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18353 # This is the shared library runtime path variable.
18354 runpath_var=$runpath_var
18356 # This is the shared library path variable.
18357 shlibpath_var=$shlibpath_var
18359 # Is shlibpath searched before the hard-coded library search path?
18360 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18362 # How to hardcode a shared library path into an executable.
18363 hardcode_action=$hardcode_action_RC
18365 # Whether we should hardcode library paths into libraries.
18366 hardcode_into_libs=$hardcode_into_libs
18368 # Flag to hardcode \$libdir into a binary during linking.
18369 # This must work even if \$libdir does not exist.
18370 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18372 # If ld is used when linking, flag to hardcode \$libdir into
18373 # a binary during linking. This must work even if \$libdir does
18375 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18377 # Whether we need a single -rpath flag with a separated argument.
18378 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18380 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18381 # resulting binary.
18382 hardcode_direct=$hardcode_direct_RC
18384 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18385 # resulting binary.
18386 hardcode_minus_L=$hardcode_minus_L_RC
18388 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18389 # the resulting binary.
18390 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18392 # Set to yes if building a shared library automatically hardcodes DIR into the library
18393 # and all subsequent libraries and executables linked against it.
18394 hardcode_automatic=$hardcode_automatic_RC
18396 # Variables whose values should be saved in libtool wrapper scripts and
18397 # restored at relink time.
18398 variables_saved_for_relink="$variables_saved_for_relink"
18400 # Whether libtool must link a program against all its dependency libraries.
18401 link_all_deplibs=$link_all_deplibs_RC
18403 # Compile-time system search path for libraries
18404 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18406 # Run-time system search path for libraries
18407 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18409 # Fix the shell variable \$srcfile for the compiler.
18410 fix_srcfile_path="$fix_srcfile_path_RC"
18412 # Set to yes if exported symbols are required.
18413 always_export_symbols=$always_export_symbols_RC
18415 # The commands to list exported symbols.
18416 export_symbols_cmds=$lt_export_symbols_cmds_RC
18418 # The commands to extract the exported symbol list from a shared archive.
18419 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18421 # Symbols that should not be listed in the preloaded symbols.
18422 exclude_expsyms=$lt_exclude_expsyms_RC
18424 # Symbols that must always be exported.
18425 include_expsyms=$lt_include_expsyms_RC
18427 # ### END LIBTOOL TAG CONFIG: $tagname
18433 # If there is no Makefile yet, we rely on a make rule to execute
18434 # `config.status --recheck' to rerun these tests and create the
18435 # libtool script then.
18436 test -f Makefile && make "$ltmain"
18441 ac_cpp='$CPP $CPPFLAGS'
18442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18451 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18452 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18453 { (exit 1); exit 1; }; }
18457 # Append the new tag name to the list of available tags.
18458 if test -n "$tagname" ; then
18459 available_tags="$available_tags $tagname"
18465 # Now substitute the updated list of available tags.
18466 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18467 mv "${ofile}T" "$ofile"
18471 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18472 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18473 { (exit 1); exit 1; }; }
18479 # This can be used to rebuild libtool when needed
18480 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18482 # Always use our own libtool.
18483 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18485 # Prevent multiple expansion
18507 # Extract the first word of "pwd", so it can be a program name with args.
18508 set dummy pwd; ac_word=$2
18509 echo "$as_me:$LINENO: checking for $ac_word" >&5
18510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18511 if test "${ac_cv_path_RPWD+set}" = set; then
18512 echo $ECHO_N "(cached) $ECHO_C" >&6
18516 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18520 for as_dir in $PATH
18523 test -z "$as_dir" && as_dir=.
18524 for ac_exec_ext in '' $ac_executable_extensions; do
18525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18526 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18533 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18537 RPWD=$ac_cv_path_RPWD
18539 if test -n "$RPWD"; then
18540 echo "$as_me:$LINENO: result: $RPWD" >&5
18541 echo "${ECHO_T}$RPWD" >&6
18543 echo "$as_me:$LINENO: result: no" >&5
18544 echo "${ECHO_T}no" >&6
18547 if test ${RPWD} = "false"
18549 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18550 echo "$as_me: error: pwd required but not found" >&2;}
18551 { (exit 1); exit 1; }; }
18554 # Extract the first word of "ar", so it can be a program name with args.
18555 set dummy ar; ac_word=$2
18556 echo "$as_me:$LINENO: checking for $ac_word" >&5
18557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18558 if test "${ac_cv_path_AR+set}" = set; then
18559 echo $ECHO_N "(cached) $ECHO_C" >&6
18563 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18567 for as_dir in $PATH
18570 test -z "$as_dir" && as_dir=.
18571 for ac_exec_ext in '' $ac_executable_extensions; do
18572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18573 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18580 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18586 if test -n "$AR"; then
18587 echo "$as_me:$LINENO: result: $AR" >&5
18588 echo "${ECHO_T}$AR" >&6
18590 echo "$as_me:$LINENO: result: no" >&5
18591 echo "${ECHO_T}no" >&6
18594 if test ${AR} = "false"
18596 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18597 echo "$as_me: error: ar required but not found" >&2;}
18598 { (exit 1); exit 1; }; }
18601 # Extract the first word of "sed", so it can be a program name with args.
18602 set dummy sed; ac_word=$2
18603 echo "$as_me:$LINENO: checking for $ac_word" >&5
18604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18605 if test "${ac_cv_path_SED+set}" = set; then
18606 echo $ECHO_N "(cached) $ECHO_C" >&6
18610 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18614 for as_dir in $PATH
18617 test -z "$as_dir" && as_dir=.
18618 for ac_exec_ext in '' $ac_executable_extensions; do
18619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18620 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18627 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18631 SED=$ac_cv_path_SED
18633 if test -n "$SED"; then
18634 echo "$as_me:$LINENO: result: $SED" >&5
18635 echo "${ECHO_T}$SED" >&6
18637 echo "$as_me:$LINENO: result: no" >&5
18638 echo "${ECHO_T}no" >&6
18641 if test ${SED} = "false"
18643 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18644 echo "$as_me: error: sed required but not found" >&2;}
18645 { (exit 1); exit 1; }; }
18648 # Extract the first word of "rm", so it can be a program name with args.
18649 set dummy rm; ac_word=$2
18650 echo "$as_me:$LINENO: checking for $ac_word" >&5
18651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18652 if test "${ac_cv_path_RM+set}" = set; then
18653 echo $ECHO_N "(cached) $ECHO_C" >&6
18657 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18661 for as_dir in $PATH
18664 test -z "$as_dir" && as_dir=.
18665 for ac_exec_ext in '' $ac_executable_extensions; do
18666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18667 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18674 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18680 if test -n "$RM"; then
18681 echo "$as_me:$LINENO: result: $RM" >&5
18682 echo "${ECHO_T}$RM" >&6
18684 echo "$as_me:$LINENO: result: no" >&5
18685 echo "${ECHO_T}no" >&6
18688 if test ${RM} = "false"
18690 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18691 echo "$as_me: error: rm required but not found" >&2;}
18692 { (exit 1); exit 1; }; }
18695 # Extract the first word of "echo", so it can be a program name with args.
18696 set dummy echo; ac_word=$2
18697 echo "$as_me:$LINENO: checking for $ac_word" >&5
18698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18699 if test "${ac_cv_path_ECHO+set}" = set; then
18700 echo $ECHO_N "(cached) $ECHO_C" >&6
18704 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18708 for as_dir in $PATH
18711 test -z "$as_dir" && as_dir=.
18712 for ac_exec_ext in '' $ac_executable_extensions; do
18713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18714 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18721 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18725 ECHO=$ac_cv_path_ECHO
18727 if test -n "$ECHO"; then
18728 echo "$as_me:$LINENO: result: $ECHO" >&5
18729 echo "${ECHO_T}$ECHO" >&6
18731 echo "$as_me:$LINENO: result: no" >&5
18732 echo "${ECHO_T}no" >&6
18735 if test ${ECHO} = "false"
18737 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18738 echo "$as_me: error: echo required but not found" >&2;}
18739 { (exit 1); exit 1; }; }
18742 # Extract the first word of "mkdir", so it can be a program name with args.
18743 set dummy mkdir; ac_word=$2
18744 echo "$as_me:$LINENO: checking for $ac_word" >&5
18745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18746 if test "${ac_cv_path_MKDIR+set}" = set; then
18747 echo $ECHO_N "(cached) $ECHO_C" >&6
18751 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18755 for as_dir in $PATH
18758 test -z "$as_dir" && as_dir=.
18759 for ac_exec_ext in '' $ac_executable_extensions; do
18760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18761 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18768 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18772 MKDIR=$ac_cv_path_MKDIR
18774 if test -n "$MKDIR"; then
18775 echo "$as_me:$LINENO: result: $MKDIR" >&5
18776 echo "${ECHO_T}$MKDIR" >&6
18778 echo "$as_me:$LINENO: result: no" >&5
18779 echo "${ECHO_T}no" >&6
18782 if test ${MKDIR} = "false"
18784 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18785 echo "$as_me: error: mkdir required but not found" >&2;}
18786 { (exit 1); exit 1; }; }
18789 # Extract the first word of "date", so it can be a program name with args.
18790 set dummy date; ac_word=$2
18791 echo "$as_me:$LINENO: checking for $ac_word" >&5
18792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18793 if test "${ac_cv_path_DATE+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18798 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18802 for as_dir in $PATH
18805 test -z "$as_dir" && as_dir=.
18806 for ac_exec_ext in '' $ac_executable_extensions; do
18807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18808 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18815 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18819 DATE=$ac_cv_path_DATE
18821 if test -n "$DATE"; then
18822 echo "$as_me:$LINENO: result: $DATE" >&5
18823 echo "${ECHO_T}$DATE" >&6
18825 echo "$as_me:$LINENO: result: no" >&5
18826 echo "${ECHO_T}no" >&6
18829 if test ${DATE} = "false"
18831 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18832 echo "$as_me: error: date required but not found" >&2;}
18833 { (exit 1); exit 1; }; }
18836 # Extract the first word of "mv", so it can be a program name with args.
18837 set dummy mv; ac_word=$2
18838 echo "$as_me:$LINENO: checking for $ac_word" >&5
18839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18840 if test "${ac_cv_path_MV+set}" = set; then
18841 echo $ECHO_N "(cached) $ECHO_C" >&6
18845 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18849 for as_dir in $PATH
18852 test -z "$as_dir" && as_dir=.
18853 for ac_exec_ext in '' $ac_executable_extensions; do
18854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18855 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18862 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18868 if test -n "$MV"; then
18869 echo "$as_me:$LINENO: result: $MV" >&5
18870 echo "${ECHO_T}$MV" >&6
18872 echo "$as_me:$LINENO: result: no" >&5
18873 echo "${ECHO_T}no" >&6
18876 if test ${MV} = "false"
18878 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18879 echo "$as_me: error: mv required but not found" >&2;}
18880 { (exit 1); exit 1; }; }
18883 # Extract the first word of "dot", so it can be a program name with args.
18884 set dummy dot; ac_word=$2
18885 echo "$as_me:$LINENO: checking for $ac_word" >&5
18886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18887 if test "${ac_cv_path_DOT+set}" = set; then
18888 echo $ECHO_N "(cached) $ECHO_C" >&6
18892 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18896 for as_dir in $PATH
18899 test -z "$as_dir" && as_dir=.
18900 for ac_exec_ext in '' $ac_executable_extensions; do
18901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18902 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18909 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18913 DOT=$ac_cv_path_DOT
18915 if test -n "$DOT"; then
18916 echo "$as_me:$LINENO: result: $DOT" >&5
18917 echo "${ECHO_T}$DOT" >&6
18919 echo "$as_me:$LINENO: result: no" >&5
18920 echo "${ECHO_T}no" >&6
18924 # Extract the first word of "etags", so it can be a program name with args.
18925 set dummy etags; ac_word=$2
18926 echo "$as_me:$LINENO: checking for $ac_word" >&5
18927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18928 if test "${ac_cv_path_ETAGS+set}" = set; then
18929 echo $ECHO_N "(cached) $ECHO_C" >&6
18933 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18937 for as_dir in $PATH
18940 test -z "$as_dir" && as_dir=.
18941 for ac_exec_ext in '' $ac_executable_extensions; do
18942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18943 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18950 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18954 ETAGS=$ac_cv_path_ETAGS
18956 if test -n "$ETAGS"; then
18957 echo "$as_me:$LINENO: result: $ETAGS" >&5
18958 echo "${ECHO_T}$ETAGS" >&6
18960 echo "$as_me:$LINENO: result: no" >&5
18961 echo "${ECHO_T}no" >&6
18965 # Extract the first word of "python", so it can be a program name with args.
18966 set dummy python; ac_word=$2
18967 echo "$as_me:$LINENO: checking for $ac_word" >&5
18968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18969 if test "${ac_cv_path_PYTHON+set}" = set; then
18970 echo $ECHO_N "(cached) $ECHO_C" >&6
18974 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18978 for as_dir in $PATH
18981 test -z "$as_dir" && as_dir=.
18982 for ac_exec_ext in '' $ac_executable_extensions; do
18983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18984 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18991 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18995 PYTHON=$ac_cv_path_PYTHON
18997 if test -n "$PYTHON"; then
18998 echo "$as_me:$LINENO: result: $PYTHON" >&5
18999 echo "${ECHO_T}$PYTHON" >&6
19001 echo "$as_me:$LINENO: result: no" >&5
19002 echo "${ECHO_T}no" >&6
19005 if test ${PYTHON} = "false"
19007 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
19008 echo "$as_me: WARNING: python required but not found" >&2;}
19011 # Extract the first word of "qmtest", so it can be a program name with args.
19012 set dummy qmtest; ac_word=$2
19013 echo "$as_me:$LINENO: checking for $ac_word" >&5
19014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19015 if test "${ac_cv_path_QMTEST+set}" = set; then
19016 echo $ECHO_N "(cached) $ECHO_C" >&6
19020 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
19023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19024 for as_dir in $PATH
19027 test -z "$as_dir" && as_dir=.
19028 for ac_exec_ext in '' $ac_executable_extensions; do
19029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19030 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19037 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19041 QMTEST=$ac_cv_path_QMTEST
19043 if test -n "$QMTEST"; then
19044 echo "$as_me:$LINENO: result: $QMTEST" >&5
19045 echo "${ECHO_T}$QMTEST" >&6
19047 echo "$as_me:$LINENO: result: no" >&5
19048 echo "${ECHO_T}no" >&6
19051 if test ${QMTEST} = "false"
19053 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19054 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19057 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19058 pymajor=`echo $pyversion | cut -d. -f1`
19059 pyminor=`echo $pyversion | cut -d. -f2`
19061 if test "$pymajor" -ge "2"
19063 if test "$pymajor" -eq "2"
19065 if test "$pyminor" -lt "2"
19067 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19068 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19069 { (exit 1); exit 1; }; }
19073 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19074 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19075 { (exit 1); exit 1; }; }
19082 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19083 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19084 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19085 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 ac_check_lib_save_LIBS=$LIBS
19089 cat >conftest.$ac_ext <<_ACEOF
19090 #line $LINENO "configure"
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19097 /* Override any gcc2 internal prototype to avoid an error. */
19101 /* We use char because int might match the return type of a gcc2
19102 builtin and then its argument prototype would still apply. */
19112 rm -f conftest.$ac_objext conftest$ac_exeext
19113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19114 (eval $ac_link) 2>&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } &&
19118 { ac_try='test -s conftest$ac_exeext'
19119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19120 (eval $ac_try) 2>&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); }; }; then
19124 ac_cv_lib_elf_elf_begin=yes
19126 echo "$as_me: failed program was:" >&5
19127 sed 's/^/| /' conftest.$ac_ext >&5
19129 ac_cv_lib_elf_elf_begin=no
19131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19132 LIBS=$ac_check_lib_save_LIBS
19134 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19135 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19136 if test $ac_cv_lib_elf_elf_begin = yes; then
19137 cat >>confdefs.h <<_ACEOF
19138 #define HAVE_LIBELF 1
19146 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19147 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19148 if test "${ac_cv_search_dlopen+set}" = set; then
19149 echo $ECHO_N "(cached) $ECHO_C" >&6
19151 ac_func_search_save_LIBS=$LIBS
19152 ac_cv_search_dlopen=no
19153 cat >conftest.$ac_ext <<_ACEOF
19154 #line $LINENO "configure"
19157 cat confdefs.h >>conftest.$ac_ext
19158 cat >>conftest.$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19161 /* Override any gcc2 internal prototype to avoid an error. */
19165 /* We use char because int might match the return type of a gcc2
19166 builtin and then its argument prototype would still apply. */
19176 rm -f conftest.$ac_objext conftest$ac_exeext
19177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19178 (eval $ac_link) 2>&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } &&
19182 { ac_try='test -s conftest$ac_exeext'
19183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19184 (eval $ac_try) 2>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); }; }; then
19188 ac_cv_search_dlopen="none required"
19190 echo "$as_me: failed program was:" >&5
19191 sed 's/^/| /' conftest.$ac_ext >&5
19194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19195 if test "$ac_cv_search_dlopen" = no; then
19196 for ac_lib in dl; do
19197 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19198 cat >conftest.$ac_ext <<_ACEOF
19199 #line $LINENO "configure"
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19206 /* Override any gcc2 internal prototype to avoid an error. */
19210 /* We use char because int might match the return type of a gcc2
19211 builtin and then its argument prototype would still apply. */
19221 rm -f conftest.$ac_objext conftest$ac_exeext
19222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19223 (eval $ac_link) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } &&
19227 { ac_try='test -s conftest$ac_exeext'
19228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229 (eval $ac_try) 2>&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); }; }; then
19233 ac_cv_search_dlopen="-l$ac_lib"
19236 echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.$ac_ext >&5
19240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19243 LIBS=$ac_func_search_save_LIBS
19245 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19246 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19247 if test "$ac_cv_search_dlopen" != no; then
19248 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19250 cat >>confdefs.h <<\_ACEOF
19251 #define HAVE_DLOPEN 1
19255 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
19256 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
19260 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19261 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19262 if test "${ac_cv_search_mallinfo+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19265 ac_func_search_save_LIBS=$LIBS
19266 ac_cv_search_mallinfo=no
19267 cat >conftest.$ac_ext <<_ACEOF
19268 #line $LINENO "configure"
19271 cat confdefs.h >>conftest.$ac_ext
19272 cat >>conftest.$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19275 /* Override any gcc2 internal prototype to avoid an error. */
19279 /* We use char because int might match the return type of a gcc2
19280 builtin and then its argument prototype would still apply. */
19290 rm -f conftest.$ac_objext conftest$ac_exeext
19291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19292 (eval $ac_link) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } &&
19296 { ac_try='test -s conftest$ac_exeext'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; }; then
19302 ac_cv_search_mallinfo="none required"
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19309 if test "$ac_cv_search_mallinfo" = no; then
19310 for ac_lib in malloc; do
19311 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19312 cat >conftest.$ac_ext <<_ACEOF
19313 #line $LINENO "configure"
19316 cat confdefs.h >>conftest.$ac_ext
19317 cat >>conftest.$ac_ext <<_ACEOF
19318 /* end confdefs.h. */
19320 /* Override any gcc2 internal prototype to avoid an error. */
19324 /* We use char because int might match the return type of a gcc2
19325 builtin and then its argument prototype would still apply. */
19335 rm -f conftest.$ac_objext conftest$ac_exeext
19336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19337 (eval $ac_link) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); } &&
19341 { ac_try='test -s conftest$ac_exeext'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; }; then
19347 ac_cv_search_mallinfo="-l$ac_lib"
19350 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.$ac_ext >&5
19354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19357 LIBS=$ac_func_search_save_LIBS
19359 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19360 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19361 if test "$ac_cv_search_mallinfo" != no; then
19362 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19364 cat >>confdefs.h <<\_ACEOF
19365 #define HAVE_MALLINFO 1
19372 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19373 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19374 if test "${ac_cv_header_stdc+set}" = set; then
19375 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 cat >conftest.$ac_ext <<_ACEOF
19378 #line $LINENO "configure"
19381 cat confdefs.h >>conftest.$ac_ext
19382 cat >>conftest.$ac_ext <<_ACEOF
19383 /* end confdefs.h. */
19384 #include <stdlib.h>
19385 #include <stdarg.h>
19386 #include <string.h>
19397 rm -f conftest.$ac_objext
19398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19399 (eval $ac_compile) 2>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try='test -s conftest.$ac_objext'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; }; then
19409 ac_cv_header_stdc=yes
19411 echo "$as_me: failed program was:" >&5
19412 sed 's/^/| /' conftest.$ac_ext >&5
19414 ac_cv_header_stdc=no
19416 rm -f conftest.$ac_objext conftest.$ac_ext
19418 if test $ac_cv_header_stdc = yes; then
19419 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19420 cat >conftest.$ac_ext <<_ACEOF
19421 #line $LINENO "configure"
19424 cat confdefs.h >>conftest.$ac_ext
19425 cat >>conftest.$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427 #include <string.h>
19430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19431 $EGREP "memchr" >/dev/null 2>&1; then
19434 ac_cv_header_stdc=no
19440 if test $ac_cv_header_stdc = yes; then
19441 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19442 cat >conftest.$ac_ext <<_ACEOF
19443 #line $LINENO "configure"
19446 cat confdefs.h >>conftest.$ac_ext
19447 cat >>conftest.$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19449 #include <stdlib.h>
19452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19453 $EGREP "free" >/dev/null 2>&1; then
19456 ac_cv_header_stdc=no
19462 if test $ac_cv_header_stdc = yes; then
19463 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19464 if test "$cross_compiling" = yes; then
19467 cat >conftest.$ac_ext <<_ACEOF
19468 #line $LINENO "configure"
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19475 #if ((' ' & 0x0FF) == 0x020)
19476 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19477 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19479 # define ISLOWER(c) \
19480 (('a' <= (c) && (c) <= 'i') \
19481 || ('j' <= (c) && (c) <= 'r') \
19482 || ('s' <= (c) && (c) <= 'z'))
19483 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19486 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19491 for (i = 0; i < 256; i++)
19492 if (XOR (islower (i), ISLOWER (i))
19493 || toupper (i) != TOUPPER (i))
19498 rm -f conftest$ac_exeext
19499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19500 (eval $ac_link) 2>&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; }; then
19511 echo "$as_me: program exited with status $ac_status" >&5
19512 echo "$as_me: failed program was:" >&5
19513 sed 's/^/| /' conftest.$ac_ext >&5
19515 ( exit $ac_status )
19516 ac_cv_header_stdc=no
19518 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19522 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19523 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19524 if test $ac_cv_header_stdc = yes; then
19526 cat >>confdefs.h <<\_ACEOF
19527 #define STDC_HEADERS 1
19532 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19533 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19534 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19537 cat >conftest.$ac_ext <<_ACEOF
19538 #line $LINENO "configure"
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 #include <sys/types.h>
19545 #include <sys/wait.h>
19546 #ifndef WEXITSTATUS
19547 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19550 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19558 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19563 rm -f conftest.$ac_objext
19564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19565 (eval $ac_compile) 2>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } &&
19569 { ac_try='test -s conftest.$ac_objext'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; }; then
19575 ac_cv_header_sys_wait_h=yes
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19580 ac_cv_header_sys_wait_h=no
19582 rm -f conftest.$ac_objext conftest.$ac_ext
19584 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19585 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19586 if test $ac_cv_header_sys_wait_h = yes; then
19588 cat >>confdefs.h <<\_ACEOF
19589 #define HAVE_SYS_WAIT_H 1
19603 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19605 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19607 echo "$as_me:$LINENO: checking for $ac_header" >&5
19608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19610 echo $ECHO_N "(cached) $ECHO_C" >&6
19612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19615 # Is the header compilable?
19616 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19618 cat >conftest.$ac_ext <<_ACEOF
19619 #line $LINENO "configure"
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 $ac_includes_default
19626 #include <$ac_header>
19628 rm -f conftest.$ac_objext
19629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19630 (eval $ac_compile) 2>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); } &&
19634 { ac_try='test -s conftest.$ac_objext'
19635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19636 (eval $ac_try) 2>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); }; }; then
19640 ac_header_compiler=yes
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19645 ac_header_compiler=no
19647 rm -f conftest.$ac_objext conftest.$ac_ext
19648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19649 echo "${ECHO_T}$ac_header_compiler" >&6
19651 # Is the header present?
19652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19654 cat >conftest.$ac_ext <<_ACEOF
19655 #line $LINENO "configure"
19658 cat confdefs.h >>conftest.$ac_ext
19659 cat >>conftest.$ac_ext <<_ACEOF
19660 /* end confdefs.h. */
19661 #include <$ac_header>
19663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19666 grep -v '^ *+' conftest.er1 >conftest.err
19668 cat conftest.err >&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); } >/dev/null; then
19671 if test -s conftest.err; then
19672 ac_cpp_err=$ac_c_preproc_warn_flag
19679 if test -z "$ac_cpp_err"; then
19680 ac_header_preproc=yes
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.$ac_ext >&5
19685 ac_header_preproc=no
19687 rm -f conftest.err conftest.$ac_ext
19688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19689 echo "${ECHO_T}$ac_header_preproc" >&6
19691 # So? What about this header?
19692 case $ac_header_compiler:$ac_header_preproc in
19694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19697 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19700 ## ------------------------------------ ##
19701 ## Report this to bug-autoconf@gnu.org. ##
19702 ## ------------------------------------ ##
19705 sed "s/^/$as_me: WARNING: /" >&2
19708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19716 ## ------------------------------------ ##
19717 ## Report this to bug-autoconf@gnu.org. ##
19718 ## ------------------------------------ ##
19721 sed "s/^/$as_me: WARNING: /" >&2
19724 echo "$as_me:$LINENO: checking for $ac_header" >&5
19725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 eval "$as_ac_Header=$ac_header_preproc"
19731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19736 cat >>confdefs.h <<_ACEOF
19737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19748 for ac_header in malloc.h sys/mman.h sys/resource.h
19750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19752 echo "$as_me:$LINENO: checking for $ac_header" >&5
19753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19755 echo $ECHO_N "(cached) $ECHO_C" >&6
19757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19760 # Is the header compilable?
19761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19763 cat >conftest.$ac_ext <<_ACEOF
19764 #line $LINENO "configure"
19767 cat confdefs.h >>conftest.$ac_ext
19768 cat >>conftest.$ac_ext <<_ACEOF
19769 /* end confdefs.h. */
19770 $ac_includes_default
19771 #include <$ac_header>
19773 rm -f conftest.$ac_objext
19774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19775 (eval $ac_compile) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try='test -s conftest.$ac_objext'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; }; then
19785 ac_header_compiler=yes
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19790 ac_header_compiler=no
19792 rm -f conftest.$ac_objext conftest.$ac_ext
19793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19794 echo "${ECHO_T}$ac_header_compiler" >&6
19796 # Is the header present?
19797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19799 cat >conftest.$ac_ext <<_ACEOF
19800 #line $LINENO "configure"
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19806 #include <$ac_header>
19808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19811 grep -v '^ *+' conftest.er1 >conftest.err
19813 cat conftest.err >&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } >/dev/null; then
19816 if test -s conftest.err; then
19817 ac_cpp_err=$ac_c_preproc_warn_flag
19824 if test -z "$ac_cpp_err"; then
19825 ac_header_preproc=yes
19827 echo "$as_me: failed program was:" >&5
19828 sed 's/^/| /' conftest.$ac_ext >&5
19830 ac_header_preproc=no
19832 rm -f conftest.err conftest.$ac_ext
19833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19834 echo "${ECHO_T}$ac_header_preproc" >&6
19836 # So? What about this header?
19837 case $ac_header_compiler:$ac_header_preproc in
19839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19845 ## ------------------------------------ ##
19846 ## Report this to bug-autoconf@gnu.org. ##
19847 ## ------------------------------------ ##
19850 sed "s/^/$as_me: WARNING: /" >&2
19853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19861 ## ------------------------------------ ##
19862 ## Report this to bug-autoconf@gnu.org. ##
19863 ## ------------------------------------ ##
19866 sed "s/^/$as_me: WARNING: /" >&2
19869 echo "$as_me:$LINENO: checking for $ac_header" >&5
19870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19872 echo $ECHO_N "(cached) $ECHO_C" >&6
19874 eval "$as_ac_Header=$ac_header_preproc"
19876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19881 cat >>confdefs.h <<_ACEOF
19882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19892 for ac_header in dlfcn.h link.h
19894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19896 echo "$as_me:$LINENO: checking for $ac_header" >&5
19897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19899 echo $ECHO_N "(cached) $ECHO_C" >&6
19901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19904 # Is the header compilable?
19905 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19907 cat >conftest.$ac_ext <<_ACEOF
19908 #line $LINENO "configure"
19911 cat confdefs.h >>conftest.$ac_ext
19912 cat >>conftest.$ac_ext <<_ACEOF
19913 /* end confdefs.h. */
19914 $ac_includes_default
19915 #include <$ac_header>
19917 rm -f conftest.$ac_objext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19919 (eval $ac_compile) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try='test -s conftest.$ac_objext'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; }; then
19929 ac_header_compiler=yes
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19934 ac_header_compiler=no
19936 rm -f conftest.$ac_objext conftest.$ac_ext
19937 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19938 echo "${ECHO_T}$ac_header_compiler" >&6
19940 # Is the header present?
19941 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19942 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19943 cat >conftest.$ac_ext <<_ACEOF
19944 #line $LINENO "configure"
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 #include <$ac_header>
19952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19955 grep -v '^ *+' conftest.er1 >conftest.err
19957 cat conftest.err >&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } >/dev/null; then
19960 if test -s conftest.err; then
19961 ac_cpp_err=$ac_c_preproc_warn_flag
19968 if test -z "$ac_cpp_err"; then
19969 ac_header_preproc=yes
19971 echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19974 ac_header_preproc=no
19976 rm -f conftest.err conftest.$ac_ext
19977 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19978 echo "${ECHO_T}$ac_header_preproc" >&6
19980 # So? What about this header?
19981 case $ac_header_compiler:$ac_header_preproc in
19983 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19984 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19989 ## ------------------------------------ ##
19990 ## Report this to bug-autoconf@gnu.org. ##
19991 ## ------------------------------------ ##
19994 sed "s/^/$as_me: WARNING: /" >&2
19997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20005 ## ------------------------------------ ##
20006 ## Report this to bug-autoconf@gnu.org. ##
20007 ## ------------------------------------ ##
20010 sed "s/^/$as_me: WARNING: /" >&2
20013 echo "$as_me:$LINENO: checking for $ac_header" >&5
20014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20016 echo $ECHO_N "(cached) $ECHO_C" >&6
20018 eval "$as_ac_Header=$ac_header_preproc"
20020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20025 cat >>confdefs.h <<_ACEOF
20026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20035 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20036 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20037 if test "${ac_cv_c_const+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20040 cat >conftest.$ac_ext <<_ACEOF
20041 #line $LINENO "configure"
20044 cat confdefs.h >>conftest.$ac_ext
20045 cat >>conftest.$ac_ext <<_ACEOF
20046 /* end confdefs.h. */
20051 /* FIXME: Include the comments suggested by Paul. */
20052 #ifndef __cplusplus
20053 /* Ultrix mips cc rejects this. */
20054 typedef int charset[2];
20056 /* SunOS 4.1.1 cc rejects this. */
20057 char const *const *ccp;
20059 /* NEC SVR4.0.2 mips cc rejects this. */
20060 struct point {int x, y;};
20061 static struct point const zero = {0,0};
20062 /* AIX XL C 1.02.0.0 rejects this.
20063 It does not let you subtract one const X* pointer from another in
20064 an arm of an if-expression whose if-part is not a constant
20066 const char *g = "string";
20067 ccp = &g + (g ? g-g : 0);
20068 /* HPUX 7.0 cc rejects these. */
20071 ccp = (char const *const *) p;
20072 { /* SCO 3.2v4 cc rejects this. */
20074 char const *s = 0 ? (char *) 0 : (char const *) 0;
20078 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20079 int x[] = {25, 17};
20080 const int *foo = &x[0];
20083 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20084 typedef const int *iptr;
20088 { /* AIX XL C 1.02.0.0 rejects this saying
20089 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20090 struct s { int j; const int *ap[3]; };
20091 struct s *b; b->j = 5;
20093 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20094 const int foo = 10;
20102 rm -f conftest.$ac_objext
20103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20104 (eval $ac_compile) 2>&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); } &&
20108 { ac_try='test -s conftest.$ac_objext'
20109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20110 (eval $ac_try) 2>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); }; }; then
20116 echo "$as_me: failed program was:" >&5
20117 sed 's/^/| /' conftest.$ac_ext >&5
20121 rm -f conftest.$ac_objext conftest.$ac_ext
20123 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20124 echo "${ECHO_T}$ac_cv_c_const" >&6
20125 if test $ac_cv_c_const = no; then
20127 cat >>confdefs.h <<\_ACEOF
20133 echo "$as_me:$LINENO: checking for inline" >&5
20134 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20135 if test "${ac_cv_c_inline+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20139 for ac_kw in inline __inline__ __inline; do
20140 cat >conftest.$ac_ext <<_ACEOF
20141 #line $LINENO "configure"
20144 cat confdefs.h >>conftest.$ac_ext
20145 cat >>conftest.$ac_ext <<_ACEOF
20146 /* end confdefs.h. */
20147 #ifndef __cplusplus
20149 static $ac_kw foo_t static_foo () {return 0; }
20150 $ac_kw foo_t foo () {return 0; }
20154 rm -f conftest.$ac_objext
20155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20156 (eval $ac_compile) 2>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } &&
20160 { ac_try='test -s conftest.$ac_objext'
20161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20162 (eval $ac_try) 2>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); }; }; then
20166 ac_cv_c_inline=$ac_kw; break
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20172 rm -f conftest.$ac_objext conftest.$ac_ext
20176 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20177 echo "${ECHO_T}$ac_cv_c_inline" >&6
20178 case $ac_cv_c_inline in
20181 cat >>confdefs.h <<\_ACEOF
20185 *) cat >>confdefs.h <<_ACEOF
20186 #define inline $ac_cv_c_inline
20192 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20193 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20194 if test "${ac_cv_c_bigendian+set}" = set; then
20195 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 # See if sys/param.h defines the BYTE_ORDER macro.
20198 cat >conftest.$ac_ext <<_ACEOF
20199 #line $LINENO "configure"
20202 cat confdefs.h >>conftest.$ac_ext
20203 cat >>conftest.$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20205 #include <sys/types.h>
20206 #include <sys/param.h>
20211 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20212 bogus endian macros
20219 rm -f conftest.$ac_objext
20220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20221 (eval $ac_compile) 2>&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } &&
20225 { ac_try='test -s conftest.$ac_objext'
20226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20227 (eval $ac_try) 2>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); }; }; then
20231 # It does; now see whether it defined to BIG_ENDIAN or not.
20232 cat >conftest.$ac_ext <<_ACEOF
20233 #line $LINENO "configure"
20236 cat confdefs.h >>conftest.$ac_ext
20237 cat >>conftest.$ac_ext <<_ACEOF
20238 /* end confdefs.h. */
20239 #include <sys/types.h>
20240 #include <sys/param.h>
20245 #if BYTE_ORDER != BIG_ENDIAN
20253 rm -f conftest.$ac_objext
20254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20255 (eval $ac_compile) 2>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } &&
20259 { ac_try='test -s conftest.$ac_objext'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; }; then
20265 ac_cv_c_bigendian=yes
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.$ac_ext >&5
20270 ac_cv_c_bigendian=no
20272 rm -f conftest.$ac_objext conftest.$ac_ext
20274 echo "$as_me: failed program was:" >&5
20275 sed 's/^/| /' conftest.$ac_ext >&5
20277 # It does not; compile a test program.
20278 if test "$cross_compiling" = yes; then
20279 # try to guess the endianness by grepping values into an object file
20280 ac_cv_c_bigendian=unknown
20281 cat >conftest.$ac_ext <<_ACEOF
20282 #line $LINENO "configure"
20285 cat confdefs.h >>conftest.$ac_ext
20286 cat >>conftest.$ac_ext <<_ACEOF
20287 /* end confdefs.h. */
20288 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20289 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20290 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20291 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20292 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20293 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20297 _ascii (); _ebcdic ();
20302 rm -f conftest.$ac_objext
20303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20304 (eval $ac_compile) 2>&5
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); } &&
20308 { ac_try='test -s conftest.$ac_objext'
20309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20310 (eval $ac_try) 2>&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); }; }; then
20314 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20315 ac_cv_c_bigendian=yes
20317 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20318 if test "$ac_cv_c_bigendian" = unknown; then
20319 ac_cv_c_bigendian=no
20321 # finding both strings is unlikely to happen, but who knows?
20322 ac_cv_c_bigendian=unknown
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20330 rm -f conftest.$ac_objext conftest.$ac_ext
20332 cat >conftest.$ac_ext <<_ACEOF
20333 #line $LINENO "configure"
20336 cat confdefs.h >>conftest.$ac_ext
20337 cat >>conftest.$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20342 /* Are we little or big endian? From Harbison&Steele. */
20346 char c[sizeof (long)];
20349 exit (u.c[sizeof (long) - 1] == 1);
20352 rm -f conftest$ac_exeext
20353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20354 (eval $ac_link) 2>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20359 (eval $ac_try) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; }; then
20363 ac_cv_c_bigendian=no
20365 echo "$as_me: program exited with status $ac_status" >&5
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.$ac_ext >&5
20369 ( exit $ac_status )
20370 ac_cv_c_bigendian=yes
20372 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20375 rm -f conftest.$ac_objext conftest.$ac_ext
20377 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20378 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20379 case $ac_cv_c_bigendian in
20382 cat >>confdefs.h <<\_ACEOF
20388 cat >>confdefs.h <<\_ACEOF
20389 #define ENDIAN_LITTLE
20393 { { echo "$as_me:$LINENO: error: unknown endianness
20394 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20395 echo "$as_me: error: unknown endianness
20396 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20397 { (exit 1); exit 1; }; } ;;
20401 echo "$as_me:$LINENO: checking for pid_t" >&5
20402 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20403 if test "${ac_cv_type_pid_t+set}" = set; then
20404 echo $ECHO_N "(cached) $ECHO_C" >&6
20406 cat >conftest.$ac_ext <<_ACEOF
20407 #line $LINENO "configure"
20410 cat confdefs.h >>conftest.$ac_ext
20411 cat >>conftest.$ac_ext <<_ACEOF
20412 /* end confdefs.h. */
20413 $ac_includes_default
20419 if (sizeof (pid_t))
20425 rm -f conftest.$ac_objext
20426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20427 (eval $ac_compile) 2>&5
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); } &&
20431 { ac_try='test -s conftest.$ac_objext'
20432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20433 (eval $ac_try) 2>&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); }; }; then
20437 ac_cv_type_pid_t=yes
20439 echo "$as_me: failed program was:" >&5
20440 sed 's/^/| /' conftest.$ac_ext >&5
20442 ac_cv_type_pid_t=no
20444 rm -f conftest.$ac_objext conftest.$ac_ext
20446 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20447 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20448 if test $ac_cv_type_pid_t = yes; then
20452 cat >>confdefs.h <<_ACEOF
20458 echo "$as_me:$LINENO: checking for size_t" >&5
20459 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20460 if test "${ac_cv_type_size_t+set}" = set; then
20461 echo $ECHO_N "(cached) $ECHO_C" >&6
20463 cat >conftest.$ac_ext <<_ACEOF
20464 #line $LINENO "configure"
20467 cat confdefs.h >>conftest.$ac_ext
20468 cat >>conftest.$ac_ext <<_ACEOF
20469 /* end confdefs.h. */
20470 $ac_includes_default
20476 if (sizeof (size_t))
20482 rm -f conftest.$ac_objext
20483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20484 (eval $ac_compile) 2>&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } &&
20488 { ac_try='test -s conftest.$ac_objext'
20489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20490 (eval $ac_try) 2>&5
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); }; }; then
20494 ac_cv_type_size_t=yes
20496 echo "$as_me: failed program was:" >&5
20497 sed 's/^/| /' conftest.$ac_ext >&5
20499 ac_cv_type_size_t=no
20501 rm -f conftest.$ac_objext conftest.$ac_ext
20503 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20504 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20505 if test $ac_cv_type_size_t = yes; then
20509 cat >>confdefs.h <<_ACEOF
20510 #define size_t unsigned
20515 echo "$as_me:$LINENO: checking for int64_t" >&5
20516 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20517 if test "${ac_cv_type_int64_t+set}" = set; then
20518 echo $ECHO_N "(cached) $ECHO_C" >&6
20520 cat >conftest.$ac_ext <<_ACEOF
20521 #line $LINENO "configure"
20524 cat confdefs.h >>conftest.$ac_ext
20525 cat >>conftest.$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20527 $ac_includes_default
20533 if (sizeof (int64_t))
20539 rm -f conftest.$ac_objext
20540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20541 (eval $ac_compile) 2>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } &&
20545 { ac_try='test -s conftest.$ac_objext'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; }; then
20551 ac_cv_type_int64_t=yes
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.$ac_ext >&5
20556 ac_cv_type_int64_t=no
20558 rm -f conftest.$ac_objext conftest.$ac_ext
20560 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20561 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20562 if test $ac_cv_type_int64_t = yes; then
20564 cat >>confdefs.h <<_ACEOF
20565 #define HAVE_INT64_T 1
20570 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20571 echo "$as_me: error: Type int64_t required but not found" >&2;}
20572 { (exit 1); exit 1; }; }
20575 echo "$as_me:$LINENO: checking for uint64_t" >&5
20576 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20577 if test "${ac_cv_type_uint64_t+set}" = set; then
20578 echo $ECHO_N "(cached) $ECHO_C" >&6
20580 cat >conftest.$ac_ext <<_ACEOF
20581 #line $LINENO "configure"
20584 cat confdefs.h >>conftest.$ac_ext
20585 cat >>conftest.$ac_ext <<_ACEOF
20586 /* end confdefs.h. */
20587 $ac_includes_default
20591 if ((uint64_t *) 0)
20593 if (sizeof (uint64_t))
20599 rm -f conftest.$ac_objext
20600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20601 (eval $ac_compile) 2>&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } &&
20605 { ac_try='test -s conftest.$ac_objext'
20606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20607 (eval $ac_try) 2>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); }; }; then
20611 ac_cv_type_uint64_t=yes
20613 echo "$as_me: failed program was:" >&5
20614 sed 's/^/| /' conftest.$ac_ext >&5
20616 ac_cv_type_uint64_t=no
20618 rm -f conftest.$ac_objext conftest.$ac_ext
20620 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20621 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20622 if test $ac_cv_type_uint64_t = yes; then
20624 cat >>confdefs.h <<_ACEOF
20625 #define HAVE_UINT64_T 1
20630 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20631 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20632 { (exit 1); exit 1; }; }
20635 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20636 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20637 if test "${ac_cv_header_time+set}" = set; then
20638 echo $ECHO_N "(cached) $ECHO_C" >&6
20640 cat >conftest.$ac_ext <<_ACEOF
20641 #line $LINENO "configure"
20644 cat confdefs.h >>conftest.$ac_ext
20645 cat >>conftest.$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20647 #include <sys/types.h>
20648 #include <sys/time.h>
20654 if ((struct tm *) 0)
20660 rm -f conftest.$ac_objext
20661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20662 (eval $ac_compile) 2>&5
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); } &&
20666 { ac_try='test -s conftest.$ac_objext'
20667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668 (eval $ac_try) 2>&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; }; then
20672 ac_cv_header_time=yes
20674 echo "$as_me: failed program was:" >&5
20675 sed 's/^/| /' conftest.$ac_ext >&5
20677 ac_cv_header_time=no
20679 rm -f conftest.$ac_objext conftest.$ac_ext
20681 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20682 echo "${ECHO_T}$ac_cv_header_time" >&6
20683 if test $ac_cv_header_time = yes; then
20685 cat >>confdefs.h <<\_ACEOF
20686 #define TIME_WITH_SYS_TIME 1
20691 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20692 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20693 if test "${ac_cv_struct_tm+set}" = set; then
20694 echo $ECHO_N "(cached) $ECHO_C" >&6
20696 cat >conftest.$ac_ext <<_ACEOF
20697 #line $LINENO "configure"
20700 cat confdefs.h >>conftest.$ac_ext
20701 cat >>conftest.$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20703 #include <sys/types.h>
20709 struct tm *tp; tp->tm_sec;
20714 rm -f conftest.$ac_objext
20715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20716 (eval $ac_compile) 2>&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); } &&
20720 { ac_try='test -s conftest.$ac_objext'
20721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20722 (eval $ac_try) 2>&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); }; }; then
20726 ac_cv_struct_tm=time.h
20728 echo "$as_me: failed program was:" >&5
20729 sed 's/^/| /' conftest.$ac_ext >&5
20731 ac_cv_struct_tm=sys/time.h
20733 rm -f conftest.$ac_objext conftest.$ac_ext
20735 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20736 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20737 if test $ac_cv_struct_tm = sys/time.h; then
20739 cat >>confdefs.h <<\_ACEOF
20740 #define TM_IN_SYS_TIME 1
20750 ac_cpp='$CPP $CPPFLAGS'
20751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20755 if test "$cross_compiling" = yes; then
20756 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20757 See \`config.log' for more details." >&5
20758 echo "$as_me: error: cannot run test program while cross compiling
20759 See \`config.log' for more details." >&2;}
20760 { (exit 1); exit 1; }; }
20762 cat >conftest.$ac_ext <<_ACEOF
20763 #line $LINENO "configure"
20766 cat confdefs.h >>conftest.$ac_ext
20767 cat >>conftest.$ac_ext <<_ACEOF
20768 /* end confdefs.h. */
20770 #include <stdlib.h>
20775 volatile double A, B;
20779 sprintf(Buffer, "%a", A);
20783 if (A != 0x1.999999999999ap-4)
20790 rm -f conftest$ac_exeext
20791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20792 (eval $ac_link) 2>&5
20794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20797 (eval $ac_try) 2>&5
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); }; }; then
20803 echo "$as_me: program exited with status $ac_status" >&5
20804 echo "$as_me: failed program was:" >&5
20805 sed 's/^/| /' conftest.$ac_ext >&5
20807 ( exit $ac_status )
20810 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20813 ac_cpp='$CPP $CPPFLAGS'
20814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20818 if test "$ac_c_printf_a" = "yes"; then
20820 cat >>confdefs.h <<\_ACEOF
20821 #define HAVE_PRINTF_A 1
20827 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20828 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20829 if test "${ac_cv_cxx_namespaces+set}" = set; then
20830 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 ac_cpp='$CXXCPP $CPPFLAGS'
20836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20840 cat >conftest.$ac_ext <<_ACEOF
20841 #line $LINENO "configure"
20844 cat confdefs.h >>conftest.$ac_ext
20845 cat >>conftest.$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20847 namespace Outer { namespace Inner { int i = 0; }}
20851 using namespace Outer::Inner; return i;
20856 rm -f conftest.$ac_objext
20857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20858 (eval $ac_compile) 2>&5
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); } &&
20862 { ac_try='test -s conftest.$ac_objext'
20863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20864 (eval $ac_try) 2>&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); }; }; then
20868 ac_cv_cxx_namespaces=yes
20870 echo "$as_me: failed program was:" >&5
20871 sed 's/^/| /' conftest.$ac_ext >&5
20873 ac_cv_cxx_namespaces=no
20875 rm -f conftest.$ac_objext conftest.$ac_ext
20877 ac_cpp='$CPP $CPPFLAGS'
20878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20884 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20885 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20886 if test "$ac_cv_cxx_namespaces" = yes; then
20888 cat >>confdefs.h <<\_ACEOF
20889 #define HAVE_NAMESPACES
20894 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class std::hash_map" >&5
20895 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class std::hash_map... $ECHO_C" >&6
20896 if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then
20897 echo $ECHO_N "(cached) $ECHO_C" >&6
20903 ac_cpp='$CXXCPP $CPPFLAGS'
20904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20908 cat >conftest.$ac_ext <<_ACEOF
20909 #line $LINENO "configure"
20912 cat confdefs.h >>conftest.$ac_ext
20913 cat >>conftest.$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 #include <ext/hash_map>
20916 #ifdef HAVE_NAMESPACES
20917 using namespace std;
20922 hash_map<int, int> t;
20927 rm -f conftest.$ac_objext
20928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20929 (eval $ac_compile) 2>&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); } &&
20933 { ac_try='test -s conftest.$ac_objext'
20934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20935 (eval $ac_try) 2>&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; }; then
20939 ac_cv_cxx_have_std_ext_hash_map=yes
20941 echo "$as_me: failed program was:" >&5
20942 sed 's/^/| /' conftest.$ac_ext >&5
20944 ac_cv_cxx_have_std_ext_hash_map=no
20946 rm -f conftest.$ac_objext conftest.$ac_ext
20948 ac_cpp='$CPP $CPPFLAGS'
20949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20954 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_map" >&5
20955 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6
20956 if test "$ac_cv_cxx_have_std_ext_hash_map" = yes; then
20958 cat >>confdefs.h <<\_ACEOF
20959 #define HAVE_STD_EXT_HASH_MAP
20963 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map" >&5
20964 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map... $ECHO_C" >&6
20965 if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then
20966 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 ac_cpp='$CXXCPP $CPPFLAGS'
20973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20977 cat >conftest.$ac_ext <<_ACEOF
20978 #line $LINENO "configure"
20981 cat confdefs.h >>conftest.$ac_ext
20982 cat >>conftest.$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20984 #include <ext/hash_map>
20985 #ifdef HAVE_NAMESPACES
20986 using namespace __gnu_cxx;
20991 hash_map<int,int> t;
20996 rm -f conftest.$ac_objext
20997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20998 (eval $ac_compile) 2>&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); } &&
21002 { ac_try='test -s conftest.$ac_objext'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; }; then
21008 ac_cv_cxx_have_gnu_ext_hash_map=yes
21010 echo "$as_me: failed program was:" >&5
21011 sed 's/^/| /' conftest.$ac_ext >&5
21013 ac_cv_cxx_have_gnu_ext_hash_map=no
21015 rm -f conftest.$ac_objext conftest.$ac_ext
21017 ac_cpp='$CPP $CPPFLAGS'
21018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21023 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_map" >&5
21024 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6
21025 if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes; then
21027 cat >>confdefs.h <<\_ACEOF
21028 #define HAVE_GNU_EXT_HASH_MAP
21032 echo "$as_me:$LINENO: checking whether the compiler has <hash_map> defining template class ::hash_map" >&5
21033 echo $ECHO_N "checking whether the compiler has <hash_map> defining template class ::hash_map... $ECHO_C" >&6
21034 if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then
21035 echo $ECHO_N "(cached) $ECHO_C" >&6
21041 ac_cpp='$CXXCPP $CPPFLAGS'
21042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21046 cat >conftest.$ac_ext <<_ACEOF
21047 #line $LINENO "configure"
21050 cat confdefs.h >>conftest.$ac_ext
21051 cat >>conftest.$ac_ext <<_ACEOF
21052 /* end confdefs.h. */
21053 #include <hash_map>
21057 hash_map<int,int> t;
21062 rm -f conftest.$ac_objext
21063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21064 (eval $ac_compile) 2>&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } &&
21068 { ac_try='test -s conftest.$ac_objext'
21069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21070 (eval $ac_try) 2>&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); }; }; then
21074 ac_cv_cxx_have_global_hash_map=yes
21076 echo "$as_me: failed program was:" >&5
21077 sed 's/^/| /' conftest.$ac_ext >&5
21079 ac_cv_cxx_have_global_hash_map=no
21081 rm -f conftest.$ac_objext conftest.$ac_ext
21083 ac_cpp='$CPP $CPPFLAGS'
21084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21089 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_map" >&5
21090 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6
21091 if test "$ac_cv_cxx_have_global_hash_map" = yes; then
21093 cat >>confdefs.h <<\_ACEOF
21094 #define HAVE_GLOBAL_HASH_MAP
21098 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class std::hash_set" >&5
21099 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class std::hash_set... $ECHO_C" >&6
21100 if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then
21101 echo $ECHO_N "(cached) $ECHO_C" >&6
21107 ac_cpp='$CXXCPP $CPPFLAGS'
21108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21112 cat >conftest.$ac_ext <<_ACEOF
21113 #line $LINENO "configure"
21116 cat confdefs.h >>conftest.$ac_ext
21117 cat >>conftest.$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21119 #include <ext/hash_set>
21120 #ifdef HAVE_NAMESPACES
21121 using namespace std;
21131 rm -f conftest.$ac_objext
21132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21133 (eval $ac_compile) 2>&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); } &&
21137 { ac_try='test -s conftest.$ac_objext'
21138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21139 (eval $ac_try) 2>&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); }; }; then
21143 ac_cv_cxx_have_std_ext_hash_set=yes
21145 echo "$as_me: failed program was:" >&5
21146 sed 's/^/| /' conftest.$ac_ext >&5
21148 ac_cv_cxx_have_std_ext_hash_set=no
21150 rm -f conftest.$ac_objext conftest.$ac_ext
21152 ac_cpp='$CPP $CPPFLAGS'
21153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21158 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_set" >&5
21159 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6
21160 if test "$ac_cv_cxx_have_std_ext_hash_set" = yes; then
21162 cat >>confdefs.h <<\_ACEOF
21163 #define HAVE_STD_EXT_HASH_SET
21167 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set" >&5
21168 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set... $ECHO_C" >&6
21169 if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then
21170 echo $ECHO_N "(cached) $ECHO_C" >&6
21176 ac_cpp='$CXXCPP $CPPFLAGS'
21177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21181 cat >conftest.$ac_ext <<_ACEOF
21182 #line $LINENO "configure"
21185 cat confdefs.h >>conftest.$ac_ext
21186 cat >>conftest.$ac_ext <<_ACEOF
21187 /* end confdefs.h. */
21188 #include <ext/hash_set>
21189 #ifdef HAVE_NAMESPACES
21190 using namespace __gnu_cxx;
21200 rm -f conftest.$ac_objext
21201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21202 (eval $ac_compile) 2>&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); } &&
21206 { ac_try='test -s conftest.$ac_objext'
21207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21208 (eval $ac_try) 2>&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); }; }; then
21212 ac_cv_cxx_have_gnu_ext_hash_set=yes
21214 echo "$as_me: failed program was:" >&5
21215 sed 's/^/| /' conftest.$ac_ext >&5
21217 ac_cv_cxx_have_gnu_ext_hash_set=no
21219 rm -f conftest.$ac_objext conftest.$ac_ext
21221 ac_cpp='$CPP $CPPFLAGS'
21222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21227 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_set" >&5
21228 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6
21229 if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes; then
21231 cat >>confdefs.h <<\_ACEOF
21232 #define HAVE_GNU_EXT_HASH_SET
21236 echo "$as_me:$LINENO: checking whether the compiler has <hash_set> defining template class ::hash_set" >&5
21237 echo $ECHO_N "checking whether the compiler has <hash_set> defining template class ::hash_set... $ECHO_C" >&6
21238 if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then
21239 echo $ECHO_N "(cached) $ECHO_C" >&6
21245 ac_cpp='$CXXCPP $CPPFLAGS'
21246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21250 cat >conftest.$ac_ext <<_ACEOF
21251 #line $LINENO "configure"
21254 cat confdefs.h >>conftest.$ac_ext
21255 cat >>conftest.$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21257 #include <hash_set>
21261 hash_set<int> t; return 0;
21266 rm -f conftest.$ac_objext
21267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21268 (eval $ac_compile) 2>&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } &&
21272 { ac_try='test -s conftest.$ac_objext'
21273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274 (eval $ac_try) 2>&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; }; then
21278 ac_cv_cxx_have_global_hash_set=yes
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.$ac_ext >&5
21283 ac_cv_cxx_have_global_hash_set=no
21285 rm -f conftest.$ac_objext conftest.$ac_ext
21287 ac_cpp='$CPP $CPPFLAGS'
21288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21293 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_set" >&5
21294 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6
21295 if test "$ac_cv_cxx_have_global_hash_set" = yes; then
21297 cat >>confdefs.h <<\_ACEOF
21298 #define HAVE_GLOBAL_HASH_SET
21302 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21303 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21304 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21305 echo $ECHO_N "(cached) $ECHO_C" >&6
21311 ac_cpp='$CXXCPP $CPPFLAGS'
21312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21316 cat >conftest.$ac_ext <<_ACEOF
21317 #line $LINENO "configure"
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 #include <ext/slist>
21324 #ifdef HAVE_NAMESPACES
21325 using namespace std;
21330 slist<int> s; return 0;
21335 rm -f conftest.$ac_objext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21337 (eval $ac_compile) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } &&
21341 { ac_try='test -s conftest.$ac_objext'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; }; then
21347 ac_cv_cxx_have_ext_slist=std
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21352 ac_cv_cxx_have_ext_slist=no
21354 rm -f conftest.$ac_objext conftest.$ac_ext
21355 cat >conftest.$ac_ext <<_ACEOF
21356 #line $LINENO "configure"
21359 cat confdefs.h >>conftest.$ac_ext
21360 cat >>conftest.$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 #include <ext/slist>
21363 #ifdef HAVE_NAMESPACES
21364 using namespace __gnu_cxx;
21369 slist<int> s; return 0;
21374 rm -f conftest.$ac_objext
21375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21376 (eval $ac_compile) 2>&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); } &&
21380 { ac_try='test -s conftest.$ac_objext'
21381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21382 (eval $ac_try) 2>&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); }; }; then
21386 ac_cv_cxx_have_ext_slist=gnu
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.$ac_ext >&5
21391 ac_cv_cxx_have_ext_slist=no
21393 rm -f conftest.$ac_objext conftest.$ac_ext
21396 ac_cpp='$CPP $CPPFLAGS'
21397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21403 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21404 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21405 if test "$ac_cv_cxx_have_ext_slist" = std; then
21407 cat >>confdefs.h <<\_ACEOF
21408 #define HAVE_EXT_SLIST std
21412 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21414 cat >>confdefs.h <<\_ACEOF
21415 #define HAVE_EXT_SLIST gnu
21420 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21421 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21422 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21423 echo $ECHO_N "(cached) $ECHO_C" >&6
21429 ac_cpp='$CXXCPP $CPPFLAGS'
21430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21434 cat >conftest.$ac_ext <<_ACEOF
21435 #line $LINENO "configure"
21438 cat confdefs.h >>conftest.$ac_ext
21439 cat >>conftest.$ac_ext <<_ACEOF
21440 /* end confdefs.h. */
21441 #include <iterator>
21442 #ifdef HAVE_NAMESPACES
21443 using namespace std;
21448 iterator<int,int,int> t; return 0;
21453 rm -f conftest.$ac_objext
21454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21455 (eval $ac_compile) 2>&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); } &&
21459 { ac_try='test -s conftest.$ac_objext'
21460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21461 (eval $ac_try) 2>&5
21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21464 (exit $ac_status); }; }; then
21465 ac_cv_cxx_have_std_iterator=yes
21467 echo "$as_me: failed program was:" >&5
21468 sed 's/^/| /' conftest.$ac_ext >&5
21470 ac_cv_cxx_have_std_iterator=no
21472 rm -f conftest.$ac_objext conftest.$ac_ext
21474 ac_cpp='$CPP $CPPFLAGS'
21475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21481 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21482 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21483 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21485 cat >>confdefs.h <<\_ACEOF
21486 #define HAVE_STD_ITERATOR
21491 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21492 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21493 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21494 echo $ECHO_N "(cached) $ECHO_C" >&6
21500 ac_cpp='$CXXCPP $CPPFLAGS'
21501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21505 cat >conftest.$ac_ext <<_ACEOF
21506 #line $LINENO "configure"
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 #include <iterator>
21513 #ifdef HAVE_NAMESPACES
21514 using namespace std;
21519 bidirectional_iterator<int,int> t; return 0;
21524 rm -f conftest.$ac_objext
21525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21526 (eval $ac_compile) 2>&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); } &&
21530 { ac_try='test -s conftest.$ac_objext'
21531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21532 (eval $ac_try) 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; }; then
21536 ac_cv_cxx_have_bi_iterator=yes
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.$ac_ext >&5
21541 ac_cv_cxx_have_bi_iterator=no
21543 rm -f conftest.$ac_objext conftest.$ac_ext
21545 ac_cpp='$CPP $CPPFLAGS'
21546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21552 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21553 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21554 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21556 cat >>confdefs.h <<\_ACEOF
21557 #define HAVE_BI_ITERATOR
21562 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21563 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21564 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21571 ac_cpp='$CXXCPP $CPPFLAGS'
21572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21576 cat >conftest.$ac_ext <<_ACEOF
21577 #line $LINENO "configure"
21580 cat confdefs.h >>conftest.$ac_ext
21581 cat >>conftest.$ac_ext <<_ACEOF
21582 /* end confdefs.h. */
21583 #include <iterator>
21584 #ifdef HAVE_NAMESPACES
21585 using namespace std;
21590 forward_iterator<int,int> t; return 0;
21595 rm -f conftest.$ac_objext
21596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21597 (eval $ac_compile) 2>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } &&
21601 { ac_try='test -s conftest.$ac_objext'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; }; then
21607 ac_cv_cxx_have_fwd_iterator=yes
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21612 ac_cv_cxx_have_fwd_iterator=no
21614 rm -f conftest.$ac_objext conftest.$ac_ext
21616 ac_cpp='$CPP $CPPFLAGS'
21617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21623 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21624 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21625 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21627 cat >>confdefs.h <<\_ACEOF
21628 #define HAVE_FWD_ITERATOR
21634 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21635 # for constant arguments. Useless!
21636 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21637 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21638 if test "${ac_cv_working_alloca_h+set}" = set; then
21639 echo $ECHO_N "(cached) $ECHO_C" >&6
21641 cat >conftest.$ac_ext <<_ACEOF
21642 #line $LINENO "configure"
21645 cat confdefs.h >>conftest.$ac_ext
21646 cat >>conftest.$ac_ext <<_ACEOF
21647 /* end confdefs.h. */
21648 #include <alloca.h>
21652 char *p = (char *) alloca (2 * sizeof (int));
21657 rm -f conftest.$ac_objext conftest$ac_exeext
21658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21659 (eval $ac_link) 2>&5
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); } &&
21663 { ac_try='test -s conftest$ac_exeext'
21664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665 (eval $ac_try) 2>&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); }; }; then
21669 ac_cv_working_alloca_h=yes
21671 echo "$as_me: failed program was:" >&5
21672 sed 's/^/| /' conftest.$ac_ext >&5
21674 ac_cv_working_alloca_h=no
21676 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21678 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21679 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21680 if test $ac_cv_working_alloca_h = yes; then
21682 cat >>confdefs.h <<\_ACEOF
21683 #define HAVE_ALLOCA_H 1
21688 echo "$as_me:$LINENO: checking for alloca" >&5
21689 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21690 if test "${ac_cv_func_alloca_works+set}" = set; then
21691 echo $ECHO_N "(cached) $ECHO_C" >&6
21693 cat >conftest.$ac_ext <<_ACEOF
21694 #line $LINENO "configure"
21697 cat confdefs.h >>conftest.$ac_ext
21698 cat >>conftest.$ac_ext <<_ACEOF
21699 /* end confdefs.h. */
21701 # define alloca __builtin_alloca
21704 # include <malloc.h>
21705 # define alloca _alloca
21708 # include <alloca.h>
21713 # ifndef alloca /* predefined by HP cc +Olibcalls */
21724 char *p = (char *) alloca (1);
21729 rm -f conftest.$ac_objext conftest$ac_exeext
21730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21731 (eval $ac_link) 2>&5
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); } &&
21735 { ac_try='test -s conftest$ac_exeext'
21736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21737 (eval $ac_try) 2>&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); }; }; then
21741 ac_cv_func_alloca_works=yes
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.$ac_ext >&5
21746 ac_cv_func_alloca_works=no
21748 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21750 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21751 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21753 if test $ac_cv_func_alloca_works = yes; then
21755 cat >>confdefs.h <<\_ACEOF
21756 #define HAVE_ALLOCA 1
21760 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21761 # that cause trouble. Some versions do not even contain alloca or
21762 # contain a buggy version. If you still want to use their alloca,
21763 # use ar to extract alloca.o from them instead of compiling alloca.c.
21765 ALLOCA=alloca.$ac_objext
21767 cat >>confdefs.h <<\_ACEOF
21772 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21773 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21774 if test "${ac_cv_os_cray+set}" = set; then
21775 echo $ECHO_N "(cached) $ECHO_C" >&6
21777 cat >conftest.$ac_ext <<_ACEOF
21778 #line $LINENO "configure"
21781 cat confdefs.h >>conftest.$ac_ext
21782 cat >>conftest.$ac_ext <<_ACEOF
21783 /* end confdefs.h. */
21784 #if defined(CRAY) && ! defined(CRAY2)
21791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21792 $EGREP "webecray" >/dev/null 2>&1; then
21800 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21801 echo "${ECHO_T}$ac_cv_os_cray" >&6
21802 if test $ac_cv_os_cray = yes; then
21803 for ac_func in _getb67 GETB67 getb67; do
21804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21805 echo "$as_me:$LINENO: checking for $ac_func" >&5
21806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21807 if eval "test \"\${$as_ac_var+set}\" = set"; then
21808 echo $ECHO_N "(cached) $ECHO_C" >&6
21810 cat >conftest.$ac_ext <<_ACEOF
21811 #line $LINENO "configure"
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21817 /* System header to define __stub macros and hopefully few prototypes,
21818 which can conflict with char $ac_func (); below.
21819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21820 <limits.h> exists even on freestanding compilers. */
21822 # include <limits.h>
21824 # include <assert.h>
21826 /* Override any gcc2 internal prototype to avoid an error. */
21831 /* We use char because int might match the return type of a gcc2
21832 builtin and then its argument prototype would still apply. */
21834 /* The GNU C library defines this for functions which it implements
21835 to always fail with ENOSYS. Some functions are actually named
21836 something starting with __ and the normal name is an alias. */
21837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21840 char (*f) () = $ac_func;
21849 return f != $ac_func;
21854 rm -f conftest.$ac_objext conftest$ac_exeext
21855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21856 (eval $ac_link) 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); } &&
21860 { ac_try='test -s conftest$ac_exeext'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; }; then
21866 eval "$as_ac_var=yes"
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.$ac_ext >&5
21871 eval "$as_ac_var=no"
21873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21877 if test `eval echo '${'$as_ac_var'}'` = yes; then
21879 cat >>confdefs.h <<_ACEOF
21880 #define CRAY_STACKSEG_END $ac_func
21889 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21890 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21891 if test "${ac_cv_c_stack_direction+set}" = set; then
21892 echo $ECHO_N "(cached) $ECHO_C" >&6
21894 if test "$cross_compiling" = yes; then
21895 ac_cv_c_stack_direction=0
21897 cat >conftest.$ac_ext <<_ACEOF
21898 #line $LINENO "configure"
21901 cat confdefs.h >>conftest.$ac_ext
21902 cat >>conftest.$ac_ext <<_ACEOF
21903 /* end confdefs.h. */
21905 find_stack_direction ()
21907 static char *addr = 0;
21912 return find_stack_direction ();
21915 return (&dummy > addr) ? 1 : -1;
21921 exit (find_stack_direction () < 0);
21924 rm -f conftest$ac_exeext
21925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21926 (eval $ac_link) 2>&5
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21931 (eval $ac_try) 2>&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); }; }; then
21935 ac_cv_c_stack_direction=1
21937 echo "$as_me: program exited with status $ac_status" >&5
21938 echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21941 ( exit $ac_status )
21942 ac_cv_c_stack_direction=-1
21944 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21947 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21948 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21950 cat >>confdefs.h <<_ACEOF
21951 #define STACK_DIRECTION $ac_cv_c_stack_direction
21957 if test $ac_cv_c_compiler_gnu = yes; then
21958 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21959 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21960 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21961 echo $ECHO_N "(cached) $ECHO_C" >&6
21963 ac_pattern="Autoconf.*'x'"
21964 cat >conftest.$ac_ext <<_ACEOF
21965 #line $LINENO "configure"
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21975 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21976 ac_cv_prog_gcc_traditional=yes
21978 ac_cv_prog_gcc_traditional=no
21983 if test $ac_cv_prog_gcc_traditional = no; then
21984 cat >conftest.$ac_ext <<_ACEOF
21985 #line $LINENO "configure"
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 #include <termio.h>
21994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21995 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21996 ac_cv_prog_gcc_traditional=yes
22002 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
22003 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
22004 if test $ac_cv_prog_gcc_traditional = yes; then
22005 CC="$CC -traditional"
22009 echo "$as_me:$LINENO: checking for working memcmp" >&5
22010 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
22011 if test "${ac_cv_func_memcmp_working+set}" = set; then
22012 echo $ECHO_N "(cached) $ECHO_C" >&6
22014 if test "$cross_compiling" = yes; then
22015 ac_cv_func_memcmp_working=no
22017 cat >conftest.$ac_ext <<_ACEOF
22018 #line $LINENO "configure"
22021 cat confdefs.h >>conftest.$ac_ext
22022 cat >>conftest.$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22029 /* Some versions of memcmp are not 8-bit clean. */
22030 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
22031 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
22034 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
22035 or more and with at least one buffer not starting on a 4-byte boundary.
22036 William Lewis provided this test program. */
22041 for (i = 0; i < 4; i++)
22045 strcpy (a, "--------01111111");
22046 strcpy (b, "--------10000000");
22047 if (memcmp (a, b, 16) >= 0)
22057 rm -f conftest$ac_exeext
22058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22059 (eval $ac_link) 2>&5
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22064 (eval $ac_try) 2>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); }; }; then
22068 ac_cv_func_memcmp_working=yes
22070 echo "$as_me: program exited with status $ac_status" >&5
22071 echo "$as_me: failed program was:" >&5
22072 sed 's/^/| /' conftest.$ac_ext >&5
22074 ( exit $ac_status )
22075 ac_cv_func_memcmp_working=no
22077 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22080 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22081 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
22082 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
22086 for ac_header in stdlib.h unistd.h
22088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22090 echo "$as_me:$LINENO: checking for $ac_header" >&5
22091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22093 echo $ECHO_N "(cached) $ECHO_C" >&6
22095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22098 # Is the header compilable?
22099 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22100 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22101 cat >conftest.$ac_ext <<_ACEOF
22102 #line $LINENO "configure"
22105 cat confdefs.h >>conftest.$ac_ext
22106 cat >>conftest.$ac_ext <<_ACEOF
22107 /* end confdefs.h. */
22108 $ac_includes_default
22109 #include <$ac_header>
22111 rm -f conftest.$ac_objext
22112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22113 (eval $ac_compile) 2>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); } &&
22117 { ac_try='test -s conftest.$ac_objext'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; }; then
22123 ac_header_compiler=yes
22125 echo "$as_me: failed program was:" >&5
22126 sed 's/^/| /' conftest.$ac_ext >&5
22128 ac_header_compiler=no
22130 rm -f conftest.$ac_objext conftest.$ac_ext
22131 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22132 echo "${ECHO_T}$ac_header_compiler" >&6
22134 # Is the header present?
22135 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22136 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22137 cat >conftest.$ac_ext <<_ACEOF
22138 #line $LINENO "configure"
22141 cat confdefs.h >>conftest.$ac_ext
22142 cat >>conftest.$ac_ext <<_ACEOF
22143 /* end confdefs.h. */
22144 #include <$ac_header>
22146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22149 grep -v '^ *+' conftest.er1 >conftest.err
22151 cat conftest.err >&5
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); } >/dev/null; then
22154 if test -s conftest.err; then
22155 ac_cpp_err=$ac_c_preproc_warn_flag
22162 if test -z "$ac_cpp_err"; then
22163 ac_header_preproc=yes
22165 echo "$as_me: failed program was:" >&5
22166 sed 's/^/| /' conftest.$ac_ext >&5
22168 ac_header_preproc=no
22170 rm -f conftest.err conftest.$ac_ext
22171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22172 echo "${ECHO_T}$ac_header_preproc" >&6
22174 # So? What about this header?
22175 case $ac_header_compiler:$ac_header_preproc in
22177 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22178 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22180 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22183 ## ------------------------------------ ##
22184 ## Report this to bug-autoconf@gnu.org. ##
22185 ## ------------------------------------ ##
22188 sed "s/^/$as_me: WARNING: /" >&2
22191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22194 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22199 ## ------------------------------------ ##
22200 ## Report this to bug-autoconf@gnu.org. ##
22201 ## ------------------------------------ ##
22204 sed "s/^/$as_me: WARNING: /" >&2
22207 echo "$as_me:$LINENO: checking for $ac_header" >&5
22208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22210 echo $ECHO_N "(cached) $ECHO_C" >&6
22212 eval "$as_ac_Header=$ac_header_preproc"
22214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22219 cat >>confdefs.h <<_ACEOF
22220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22228 for ac_func in getpagesize
22230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22231 echo "$as_me:$LINENO: checking for $ac_func" >&5
22232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22233 if eval "test \"\${$as_ac_var+set}\" = set"; then
22234 echo $ECHO_N "(cached) $ECHO_C" >&6
22236 cat >conftest.$ac_ext <<_ACEOF
22237 #line $LINENO "configure"
22240 cat confdefs.h >>conftest.$ac_ext
22241 cat >>conftest.$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22243 /* System header to define __stub macros and hopefully few prototypes,
22244 which can conflict with char $ac_func (); below.
22245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22246 <limits.h> exists even on freestanding compilers. */
22248 # include <limits.h>
22250 # include <assert.h>
22252 /* Override any gcc2 internal prototype to avoid an error. */
22257 /* We use char because int might match the return type of a gcc2
22258 builtin and then its argument prototype would still apply. */
22260 /* The GNU C library defines this for functions which it implements
22261 to always fail with ENOSYS. Some functions are actually named
22262 something starting with __ and the normal name is an alias. */
22263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22266 char (*f) () = $ac_func;
22275 return f != $ac_func;
22280 rm -f conftest.$ac_objext conftest$ac_exeext
22281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22282 (eval $ac_link) 2>&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); } &&
22286 { ac_try='test -s conftest$ac_exeext'
22287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22288 (eval $ac_try) 2>&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); }; }; then
22292 eval "$as_ac_var=yes"
22294 echo "$as_me: failed program was:" >&5
22295 sed 's/^/| /' conftest.$ac_ext >&5
22297 eval "$as_ac_var=no"
22299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22303 if test `eval echo '${'$as_ac_var'}'` = yes; then
22304 cat >>confdefs.h <<_ACEOF
22305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22311 echo "$as_me:$LINENO: checking for working mmap" >&5
22312 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22313 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22314 echo $ECHO_N "(cached) $ECHO_C" >&6
22316 if test "$cross_compiling" = yes; then
22317 ac_cv_func_mmap_fixed_mapped=no
22319 cat >conftest.$ac_ext <<_ACEOF
22320 #line $LINENO "configure"
22323 cat confdefs.h >>conftest.$ac_ext
22324 cat >>conftest.$ac_ext <<_ACEOF
22325 /* end confdefs.h. */
22326 $ac_includes_default
22327 /* malloc might have been renamed as rpl_malloc. */
22330 /* Thanks to Mike Haertel and Jim Avera for this test.
22331 Here is a matrix of mmap possibilities:
22332 mmap private not fixed
22333 mmap private fixed at somewhere currently unmapped
22334 mmap private fixed at somewhere already mapped
22335 mmap shared not fixed
22336 mmap shared fixed at somewhere currently unmapped
22337 mmap shared fixed at somewhere already mapped
22338 For private mappings, we should verify that changes cannot be read()
22339 back from the file, nor mmap's back from the file at a different
22340 address. (There have been systems where private was not correctly
22341 implemented like the infamous i386 svr4.0, and systems where the
22342 VM page cache was not coherent with the file system buffer cache
22343 like early versions of FreeBSD and possibly contemporary NetBSD.)
22344 For shared mappings, we should conversely verify that changes get
22345 propagated back to all the places they're supposed to be.
22347 Grep wants private fixed already mapped.
22348 The main things grep needs to know about mmap are:
22349 * does it exist and is it safe to write into the mmap'd area
22350 * how to use it (BSD variants) */
22353 #include <sys/mman.h>
22355 #if !STDC_HEADERS && !HAVE_STDLIB_H
22359 /* This mess was copied from the GNU getpagesize.h. */
22360 #if !HAVE_GETPAGESIZE
22361 /* Assume that all systems that can run configure have sys/param.h. */
22362 # if !HAVE_SYS_PARAM_H
22363 # define HAVE_SYS_PARAM_H 1
22366 # ifdef _SC_PAGESIZE
22367 # define getpagesize() sysconf(_SC_PAGESIZE)
22368 # else /* no _SC_PAGESIZE */
22369 # if HAVE_SYS_PARAM_H
22370 # include <sys/param.h>
22371 # ifdef EXEC_PAGESIZE
22372 # define getpagesize() EXEC_PAGESIZE
22373 # else /* no EXEC_PAGESIZE */
22375 # define getpagesize() NBPG * CLSIZE
22378 # endif /* no CLSIZE */
22379 # else /* no NBPG */
22381 # define getpagesize() NBPC
22382 # else /* no NBPC */
22384 # define getpagesize() PAGESIZE
22385 # endif /* PAGESIZE */
22386 # endif /* no NBPC */
22387 # endif /* no NBPG */
22388 # endif /* no EXEC_PAGESIZE */
22389 # else /* no HAVE_SYS_PARAM_H */
22390 # define getpagesize() 8192 /* punt totally */
22391 # endif /* no HAVE_SYS_PARAM_H */
22392 # endif /* no _SC_PAGESIZE */
22394 #endif /* no HAVE_GETPAGESIZE */
22399 char *data, *data2, *data3;
22403 pagesize = getpagesize ();
22405 /* First, make a file with some known garbage in it. */
22406 data = (char *) malloc (pagesize);
22409 for (i = 0; i < pagesize; ++i)
22410 *(data + i) = rand ();
22412 fd = creat ("conftest.mmap", 0600);
22415 if (write (fd, data, pagesize) != pagesize)
22419 /* Next, try to mmap the file at a fixed address which already has
22420 something else allocated at it. If we can, also make sure that
22421 we see the same garbage. */
22422 fd = open ("conftest.mmap", O_RDWR);
22425 data2 = (char *) malloc (2 * pagesize);
22428 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22429 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22430 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22432 for (i = 0; i < pagesize; ++i)
22433 if (*(data + i) != *(data2 + i))
22436 /* Finally, make sure that changes to the mapped area do not
22437 percolate back to the file as seen by read(). (This is a bug on
22438 some variants of i386 svr4.0.) */
22439 for (i = 0; i < pagesize; ++i)
22440 *(data2 + i) = *(data2 + i) + 1;
22441 data3 = (char *) malloc (pagesize);
22444 if (read (fd, data3, pagesize) != pagesize)
22446 for (i = 0; i < pagesize; ++i)
22447 if (*(data + i) != *(data3 + i))
22453 rm -f conftest$ac_exeext
22454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22455 (eval $ac_link) 2>&5
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22460 (eval $ac_try) 2>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; }; then
22464 ac_cv_func_mmap_fixed_mapped=yes
22466 echo "$as_me: program exited with status $ac_status" >&5
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.$ac_ext >&5
22470 ( exit $ac_status )
22471 ac_cv_func_mmap_fixed_mapped=no
22473 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22476 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22477 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22478 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22480 cat >>confdefs.h <<\_ACEOF
22481 #define HAVE_MMAP 1
22485 rm -f conftest.mmap
22487 echo "$as_me:$LINENO: checking for mmap of files" >&5
22488 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22489 if test "${ac_cv_func_mmap_file+set}" = set; then
22490 echo $ECHO_N "(cached) $ECHO_C" >&6
22495 ac_cpp='$CPP $CPPFLAGS'
22496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22500 if test "$cross_compiling" = yes; then
22501 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22502 See \`config.log' for more details." >&5
22503 echo "$as_me: error: cannot run test program while cross compiling
22504 See \`config.log' for more details." >&2;}
22505 { (exit 1); exit 1; }; }
22507 cat >conftest.$ac_ext <<_ACEOF
22508 #line $LINENO "configure"
22511 cat confdefs.h >>conftest.$ac_ext
22512 cat >>conftest.$ac_ext <<_ACEOF
22513 /* end confdefs.h. */
22515 #ifdef HAVE_SYS_TYPES_H
22516 #include <sys/types.h>
22519 #ifdef HAVE_SYS_MMAN_H
22520 #include <sys/mman.h>
22523 #ifdef HAVE_FCNTL_H
22529 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != (int) MAP_FAILED);}
22531 rm -f conftest$ac_exeext
22532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22533 (eval $ac_link) 2>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22538 (eval $ac_try) 2>&5
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; }; then
22542 ac_cv_func_mmap_file=yes
22544 echo "$as_me: program exited with status $ac_status" >&5
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.$ac_ext >&5
22548 ( exit $ac_status )
22549 ac_cv_func_mmap_file=no
22551 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22554 ac_cpp='$CPP $CPPFLAGS'
22555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22561 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22562 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22563 if test "$ac_cv_func_mmap_file" = yes; then
22565 cat >>confdefs.h <<\_ACEOF
22566 #define HAVE_MMAP_FILE
22573 if test ${ac_cv_func_mmap_file} = "no"
22575 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22576 echo "$as_me: error: mmap() of files required but not found" >&2;}
22577 { (exit 1); exit 1; }; }
22579 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22580 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22581 if test "${ac_cv_header_mmap_anon+set}" = set; then
22582 echo $ECHO_N "(cached) $ECHO_C" >&6
22587 ac_cpp='$CPP $CPPFLAGS'
22588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22592 cat >conftest.$ac_ext <<_ACEOF
22593 #line $LINENO "configure"
22596 cat confdefs.h >>conftest.$ac_ext
22597 cat >>conftest.$ac_ext <<_ACEOF
22598 /* end confdefs.h. */
22599 #include <sys/mman.h>
22600 #include <unistd.h>
22605 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22610 rm -f conftest.$ac_objext
22611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22612 (eval $ac_compile) 2>&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); } &&
22616 { ac_try='test -s conftest.$ac_objext'
22617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22618 (eval $ac_try) 2>&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); }; }; then
22622 ac_cv_header_mmap_anon=yes
22624 echo "$as_me: failed program was:" >&5
22625 sed 's/^/| /' conftest.$ac_ext >&5
22627 ac_cv_header_mmap_anon=no
22629 rm -f conftest.$ac_objext conftest.$ac_ext
22631 ac_cpp='$CPP $CPPFLAGS'
22632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22638 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22639 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22640 if test "$ac_cv_header_mmap_anon" = yes; then
22642 cat >>confdefs.h <<\_ACEOF
22643 #define HAVE_MMAP_ANONYMOUS
22648 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22649 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22650 if test "${ac_cv_type_signal+set}" = set; then
22651 echo $ECHO_N "(cached) $ECHO_C" >&6
22653 cat >conftest.$ac_ext <<_ACEOF
22654 #line $LINENO "configure"
22657 cat confdefs.h >>conftest.$ac_ext
22658 cat >>conftest.$ac_ext <<_ACEOF
22659 /* end confdefs.h. */
22660 #include <sys/types.h>
22661 #include <signal.h>
22666 extern "C" void (*signal (int, void (*)(int)))(int);
22668 void (*signal ()) ();
22679 rm -f conftest.$ac_objext
22680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22681 (eval $ac_compile) 2>&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } &&
22685 { ac_try='test -s conftest.$ac_objext'
22686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22687 (eval $ac_try) 2>&5
22689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690 (exit $ac_status); }; }; then
22691 ac_cv_type_signal=void
22693 echo "$as_me: failed program was:" >&5
22694 sed 's/^/| /' conftest.$ac_ext >&5
22696 ac_cv_type_signal=int
22698 rm -f conftest.$ac_objext conftest.$ac_ext
22700 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22701 echo "${ECHO_T}$ac_cv_type_signal" >&6
22703 cat >>confdefs.h <<_ACEOF
22704 #define RETSIGTYPE $ac_cv_type_signal
22719 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll
22721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22722 echo "$as_me:$LINENO: checking for $ac_func" >&5
22723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22724 if eval "test \"\${$as_ac_var+set}\" = set"; then
22725 echo $ECHO_N "(cached) $ECHO_C" >&6
22727 cat >conftest.$ac_ext <<_ACEOF
22728 #line $LINENO "configure"
22731 cat confdefs.h >>conftest.$ac_ext
22732 cat >>conftest.$ac_ext <<_ACEOF
22733 /* end confdefs.h. */
22734 /* System header to define __stub macros and hopefully few prototypes,
22735 which can conflict with char $ac_func (); below.
22736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22737 <limits.h> exists even on freestanding compilers. */
22739 # include <limits.h>
22741 # include <assert.h>
22743 /* Override any gcc2 internal prototype to avoid an error. */
22748 /* We use char because int might match the return type of a gcc2
22749 builtin and then its argument prototype would still apply. */
22751 /* The GNU C library defines this for functions which it implements
22752 to always fail with ENOSYS. Some functions are actually named
22753 something starting with __ and the normal name is an alias. */
22754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22757 char (*f) () = $ac_func;
22766 return f != $ac_func;
22771 rm -f conftest.$ac_objext conftest$ac_exeext
22772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22773 (eval $ac_link) 2>&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); } &&
22777 { ac_try='test -s conftest$ac_exeext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 eval "$as_ac_var=yes"
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22788 eval "$as_ac_var=no"
22790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22794 if test `eval echo '${'$as_ac_var'}'` = yes; then
22795 cat >>confdefs.h <<_ACEOF
22796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22804 echo "$as_me:$LINENO: checking for mmap" >&5
22805 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22806 if test "${ac_cv_func_mmap+set}" = set; then
22807 echo $ECHO_N "(cached) $ECHO_C" >&6
22809 cat >conftest.$ac_ext <<_ACEOF
22810 #line $LINENO "configure"
22813 cat confdefs.h >>conftest.$ac_ext
22814 cat >>conftest.$ac_ext <<_ACEOF
22815 /* end confdefs.h. */
22816 /* System header to define __stub macros and hopefully few prototypes,
22817 which can conflict with char mmap (); below.
22818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22819 <limits.h> exists even on freestanding compilers. */
22821 # include <limits.h>
22823 # include <assert.h>
22825 /* Override any gcc2 internal prototype to avoid an error. */
22830 /* We use char because int might match the return type of a gcc2
22831 builtin and then its argument prototype would still apply. */
22833 /* The GNU C library defines this for functions which it implements
22834 to always fail with ENOSYS. Some functions are actually named
22835 something starting with __ and the normal name is an alias. */
22836 #if defined (__stub_mmap) || defined (__stub___mmap)
22839 char (*f) () = mmap;
22853 rm -f conftest.$ac_objext conftest$ac_exeext
22854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22855 (eval $ac_link) 2>&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try='test -s conftest$ac_exeext'
22860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22861 (eval $ac_try) 2>&5
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); }; }; then
22865 ac_cv_func_mmap=yes
22867 echo "$as_me: failed program was:" >&5
22868 sed 's/^/| /' conftest.$ac_ext >&5
22872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22874 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22875 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22876 if test $ac_cv_func_mmap = yes; then
22879 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22880 echo "$as_me: error: Function mmap() required but not found" >&2;}
22881 { (exit 1); exit 1; }; }
22884 echo "$as_me:$LINENO: checking for mprotect" >&5
22885 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22886 if test "${ac_cv_func_mprotect+set}" = set; then
22887 echo $ECHO_N "(cached) $ECHO_C" >&6
22889 cat >conftest.$ac_ext <<_ACEOF
22890 #line $LINENO "configure"
22893 cat confdefs.h >>conftest.$ac_ext
22894 cat >>conftest.$ac_ext <<_ACEOF
22895 /* end confdefs.h. */
22896 /* System header to define __stub macros and hopefully few prototypes,
22897 which can conflict with char mprotect (); below.
22898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22899 <limits.h> exists even on freestanding compilers. */
22901 # include <limits.h>
22903 # include <assert.h>
22905 /* Override any gcc2 internal prototype to avoid an error. */
22910 /* We use char because int might match the return type of a gcc2
22911 builtin and then its argument prototype would still apply. */
22913 /* The GNU C library defines this for functions which it implements
22914 to always fail with ENOSYS. Some functions are actually named
22915 something starting with __ and the normal name is an alias. */
22916 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22919 char (*f) () = mprotect;
22928 return f != mprotect;
22933 rm -f conftest.$ac_objext conftest$ac_exeext
22934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22935 (eval $ac_link) 2>&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); } &&
22939 { ac_try='test -s conftest$ac_exeext'
22940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941 (eval $ac_try) 2>&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; }; then
22945 ac_cv_func_mprotect=yes
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22950 ac_cv_func_mprotect=no
22952 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22954 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22955 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22956 if test $ac_cv_func_mprotect = yes; then
22959 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22960 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22961 { (exit 1); exit 1; }; }
22966 # Check whether --enable-purify or --disable-purify was given.
22967 if test "${enable_purify+set}" = set; then
22968 enableval="$enable_purify"
22973 if test ${enableval} = "no"
22978 ENABLE_PURIFY=ENABLE_PURIFY=1
22982 # Check whether --enable-optimized or --disable-optimized was given.
22983 if test "${enable_optimized+set}" = set; then
22984 enableval="$enable_optimized"
22989 if test ${enableval} = "no"
22994 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22998 # Check whether --enable-spec2000 or --disable-spec2000 was given.
22999 if test "${enable_spec2000+set}" = set; then
23000 enableval="$enable_spec2000"
23005 if test ${enableval} = "no"
23007 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
23009 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
23011 USE_SPEC=USE_SPEC=1
23019 if test ${enableval} = ""
23021 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
23024 SPEC_ROOT=${enableval}
23027 USE_SPEC=USE_SPEC=1
23031 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
23032 if test "${enable_precompiled_bytecode+set}" = set; then
23033 enableval="$enable_precompiled_bytecode"
23038 if test ${enableval} = "no"
23043 UPB=USE_PRECOMPILED_BYTECODE=1
23048 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
23049 if test "${enable_llc_diffs+set}" = set; then
23050 enableval="$enable_llc_diffs"
23055 if test ${enableval} = "no"
23057 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
23064 # Check whether --enable-jit or --disable-jit was given.
23065 if test "${enable_jit+set}" = set; then
23066 enableval="$enable_jit"
23072 if test ${enableval} = "no"
23079 JIT=TARGET_HAS_JIT=1
23083 JIT=TARGET_HAS_JIT=1
23095 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
23096 if test "${with_llvmgccdir+set}" = set; then
23097 withval="$with_llvmgccdir"
23098 LLVMGCCDIR=$withval
23103 # Check whether --with-bcrepos or --without-bcrepos was given.
23104 if test "${with_bcrepos+set}" = set; then
23105 withval="$with_bcrepos"
23109 BCR=/home/vadve/lattner/LLVMPrograms
23114 # Check whether --with-papi or --without-papi was given.
23115 if test "${with_papi+set}" = set; then
23116 withval="$with_papi"
23120 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
23125 # Check whether --with-purify or --without-purify was given.
23126 if test "${with_purify+set}" = set; then
23127 withval="$with_purify"
23133 ac_config_files="$ac_config_files Makefile.config"
23134 cat >confcache <<\_ACEOF
23135 # This file is a shell script that caches the results of configure
23136 # tests run on this system so they can be shared between configure
23137 # scripts and configure runs, see configure's option --config-cache.
23138 # It is not useful on other systems. If it contains results you don't
23139 # want to keep, you may remove or edit it.
23141 # config.status only pays attention to the cache file if you give it
23142 # the --recheck option to rerun configure.
23144 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23145 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23146 # following values.
23150 # The following way of writing the cache mishandles newlines in values,
23151 # but we know of no workaround that is simple, portable, and efficient.
23152 # So, don't put newlines in cache variables' values.
23153 # Ultrix sh set writes to stderr and can't be redirected directly,
23154 # and sets the high bit in the cache file unless we assign to the vars.
23157 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23159 # `set' does not quote correctly, so add quotes (double-quote
23160 # substitution turns \\\\ into \\, and sed turns \\ into \).
23163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23166 # `set' quotes correctly as required by POSIX, so do not add quotes.
23168 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23175 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23177 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23179 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23180 if test -w $cache_file; then
23181 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23182 cat confcache >$cache_file
23184 echo "not updating unwritable cache $cache_file"
23189 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23190 # Let make expand exec_prefix.
23191 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23193 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23194 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23195 # trailing colons and then remove the whole line if VPATH becomes empty
23196 # (actually we leave an empty line to preserve line numbers).
23197 if test "x$srcdir" = x.; then
23198 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23199 s/:*\$(srcdir):*/:/;
23200 s/:*\${srcdir}:*/:/;
23202 s/^\([^=]*=[ ]*\):*/\1/;
23208 DEFS=-DHAVE_CONFIG_H
23212 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23213 # 1. Remove the extension, and $U if already installed.
23214 ac_i=`echo "$ac_i" |
23215 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23217 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23218 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23220 LIBOBJS=$ac_libobjs
23222 LTLIBOBJS=$ac_ltlibobjs
23226 : ${CONFIG_STATUS=./config.status}
23227 ac_clean_files_save=$ac_clean_files
23228 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23229 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23230 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23231 cat >$CONFIG_STATUS <<_ACEOF
23233 # Generated by $as_me.
23234 # Run this file to recreate the current configuration.
23235 # Compiler output produced by configure, useful for debugging
23236 # configure, is in config.log if it exists.
23239 ac_cs_recheck=false
23241 SHELL=\${CONFIG_SHELL-$SHELL}
23244 cat >>$CONFIG_STATUS <<\_ACEOF
23245 ## --------------------- ##
23246 ## M4sh Initialization. ##
23247 ## --------------------- ##
23249 # Be Bourne compatible
23250 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23253 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23254 # is contrary to our usage. Disable this feature.
23255 alias -g '${1+"$@"}'='"$@"'
23256 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23260 # Support unset when possible.
23261 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23268 # Work around bugs in pre-3.0 UWIN ksh.
23269 $as_unset ENV MAIL MAILPATH
23276 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23277 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23278 LC_TELEPHONE LC_TIME
23280 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23281 eval $as_var=C; export $as_var
23287 # Required to use basename.
23288 if expr a : '\(a\)' >/dev/null 2>&1; then
23294 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23295 as_basename=basename
23301 # Name of the executable.
23302 as_me=`$as_basename "$0" ||
23303 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23304 X"$0" : 'X\(//\)$' \| \
23305 X"$0" : 'X\(/\)$' \| \
23306 . : '\(.\)' 2>/dev/null ||
23308 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23309 /^X\/\(\/\/\)$/{ s//\1/; q; }
23310 /^X\/\(\/\).*/{ s//\1/; q; }
23314 # PATH needs CR, and LINENO needs CR and PATH.
23315 # Avoid depending upon Character Ranges.
23316 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23317 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23318 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23319 as_cr_digits='0123456789'
23320 as_cr_alnum=$as_cr_Letters$as_cr_digits
23322 # The user is always right.
23323 if test "${PATH_SEPARATOR+set}" != set; then
23324 echo "#! /bin/sh" >conf$$.sh
23325 echo "exit 0" >>conf$$.sh
23327 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23336 as_lineno_1=$LINENO
23337 as_lineno_2=$LINENO
23338 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23339 test "x$as_lineno_1" != "x$as_lineno_2" &&
23340 test "x$as_lineno_3" = "x$as_lineno_2" || {
23341 # Find who we are. Look in the path if we contain no path at all
23344 *[\\/]* ) as_myself=$0 ;;
23345 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23346 for as_dir in $PATH
23349 test -z "$as_dir" && as_dir=.
23350 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23355 # We did not find ourselves, most probably we were run as `sh COMMAND'
23356 # in which case we are not to be found in the path.
23357 if test "x$as_myself" = x; then
23360 if test ! -f "$as_myself"; then
23361 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23362 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23363 { (exit 1); exit 1; }; }
23365 case $CONFIG_SHELL in
23367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23368 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23371 test -z "$as_dir" && as_dir=.
23372 for as_base in sh bash ksh sh5; do
23375 if ("$as_dir/$as_base" -c '
23376 as_lineno_1=$LINENO
23377 as_lineno_2=$LINENO
23378 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23379 test "x$as_lineno_1" != "x$as_lineno_2" &&
23380 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23381 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23382 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23383 CONFIG_SHELL=$as_dir/$as_base
23384 export CONFIG_SHELL
23385 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23393 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23394 # uniformly replaced by the line number. The first 'sed' inserts a
23395 # line-number line before each line; the second 'sed' does the real
23396 # work. The second script uses 'N' to pair each line-number line
23397 # with the numbered line, and appends trailing '-' during
23398 # substitution so that $LINENO is not a special case at line end.
23399 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23400 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23401 sed '=' <$as_myself |
23406 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23409 s,^['$as_cr_digits']*\n,,
23410 ' >$as_me.lineno &&
23411 chmod +x $as_me.lineno ||
23412 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23413 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23414 { (exit 1); exit 1; }; }
23416 # Don't try to exec as it changes $[0], causing all sort of problems
23417 # (the dirname of $[0] is not the place where we might find the
23418 # original and so on. Autoconf is especially sensible to this).
23420 # Exit status is that of the last command.
23425 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23426 *c*,-n*) ECHO_N= ECHO_C='
23428 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23429 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23432 if expr a : '\(a\)' >/dev/null 2>&1; then
23438 rm -f conf$$ conf$$.exe conf$$.file
23440 if ln -s conf$$.file conf$$ 2>/dev/null; then
23441 # We could just check for DJGPP; but this test a) works b) is more generic
23442 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23443 if test -f conf$$.exe; then
23444 # Don't use ln at all; we don't have any links
23449 elif ln conf$$.file conf$$ 2>/dev/null; then
23454 rm -f conf$$ conf$$.exe conf$$.file
23456 if mkdir -p . 2>/dev/null; then
23462 as_executable_p="test -f"
23464 # Sed expression to map a string onto a valid CPP name.
23465 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23467 # Sed expression to map a string onto a valid variable name.
23468 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23472 # We need space, tab and new line, in precisely that order.
23482 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23483 # report actual input values of CONFIG_FILES etc. instead of their
23484 # values after options handling. Logging --version etc. is OK.
23488 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23489 ## Running $as_me. ##
23494 This file was extended by [LLVM] $as_me [1.0], which was
23495 generated by GNU Autoconf 2.57. Invocation command line was
23497 CONFIG_FILES = $CONFIG_FILES
23498 CONFIG_HEADERS = $CONFIG_HEADERS
23499 CONFIG_LINKS = $CONFIG_LINKS
23500 CONFIG_COMMANDS = $CONFIG_COMMANDS
23504 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23508 # Files that config.status was made for.
23509 if test -n "$ac_config_files"; then
23510 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23513 if test -n "$ac_config_headers"; then
23514 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23517 if test -n "$ac_config_links"; then
23518 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23521 if test -n "$ac_config_commands"; then
23522 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23525 cat >>$CONFIG_STATUS <<\_ACEOF
23528 \`$as_me' instantiates files from templates according to the
23529 current configuration.
23531 Usage: $0 [OPTIONS] [FILE]...
23533 -h, --help print this help, then exit
23534 -V, --version print version number, then exit
23535 -q, --quiet do not print progress messages
23536 -d, --debug don't remove temporary files
23537 --recheck update $as_me by reconfiguring in the same conditions
23538 --file=FILE[:TEMPLATE]
23539 instantiate the configuration file FILE
23540 --header=FILE[:TEMPLATE]
23541 instantiate the configuration header FILE
23543 Configuration files:
23546 Configuration headers:
23549 Configuration commands:
23552 Report bugs to <bug-autoconf@gnu.org>."
23555 cat >>$CONFIG_STATUS <<_ACEOF
23557 [LLVM] config.status [1.0]
23558 configured by $0, generated by GNU Autoconf 2.57,
23559 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23561 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23562 Free Software Foundation, Inc.
23563 This config.status script is free software; the Free Software Foundation
23564 gives unlimited permission to copy, distribute and modify it."
23569 cat >>$CONFIG_STATUS <<\_ACEOF
23570 # If no file are specified by the user, then we need to provide default
23571 # value. By we need to know if files were specified by the user.
23577 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23578 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23586 *) # This is not an option, so the user has probably given explicit
23589 ac_need_defaults=false;;
23593 # Handling of the options.
23595 cat >>$CONFIG_STATUS <<\_ACEOF
23596 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23598 --version | --vers* | -V )
23599 echo "$ac_cs_version"; exit 0 ;;
23601 # Conflict between --help and --header
23602 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23603 Try \`$0 --help' for more information." >&5
23604 echo "$as_me: error: ambiguous option: $1
23605 Try \`$0 --help' for more information." >&2;}
23606 { (exit 1); exit 1; }; };;
23607 --help | --hel | -h )
23608 echo "$ac_cs_usage"; exit 0 ;;
23609 --debug | --d* | -d )
23611 --file | --fil | --fi | --f )
23613 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23614 ac_need_defaults=false;;
23615 --header | --heade | --head | --hea )
23617 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23618 ac_need_defaults=false;;
23619 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23620 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23623 # This is an error.
23624 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23625 Try \`$0 --help' for more information." >&5
23626 echo "$as_me: error: unrecognized option: $1
23627 Try \`$0 --help' for more information." >&2;}
23628 { (exit 1); exit 1; }; } ;;
23630 *) ac_config_targets="$ac_config_targets $1" ;;
23636 ac_configure_extra_args=
23638 if $ac_cs_silent; then
23640 ac_configure_extra_args="$ac_configure_extra_args --silent"
23644 cat >>$CONFIG_STATUS <<_ACEOF
23645 if \$ac_cs_recheck; then
23646 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23647 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23652 cat >>$CONFIG_STATUS <<_ACEOF
23654 # INIT-COMMANDS section.
23657 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23658 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23659 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23660 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23661 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23662 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23663 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23664 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23665 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23666 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23667 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23668 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23669 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23670 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23671 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23672 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23673 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23674 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23675 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23676 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23677 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23678 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23679 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23680 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23681 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23682 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23683 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23684 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23685 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23686 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23687 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23688 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23689 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23690 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23691 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23692 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23693 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23694 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23695 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23696 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23697 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23698 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23699 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23700 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23701 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23702 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23703 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23704 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23705 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23706 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libprofile/Makefile`
23707 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23708 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23709 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
23710 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
23711 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23712 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23713 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23714 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23715 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23716 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23717 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23718 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23719 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23720 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23721 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23722 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23723 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23724 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23725 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23726 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23727 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23728 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23729 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23730 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23731 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/177.mesa/Makefile`
23732 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23733 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23734 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23735 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23736 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23737 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23738 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23739 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23740 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23741 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23742 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/252.eon/Makefile`
23743 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile`
23744 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23745 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23746 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23747 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23748 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23749 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23750 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23751 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23752 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23753 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23754 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23755 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23756 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23757 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/Makefile`
23758 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile`
23759 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in`
23760 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile`
23761 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in`
23762 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile`
23763 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in`
23764 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile`
23765 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in`
23766 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile`
23767 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in`
23768 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile`
23769 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in`
23770 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile`
23771 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in`
23772 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23773 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23774 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23775 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23776 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23777 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23778 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23779 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23780 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23781 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23782 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23783 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23784 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23785 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23786 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23787 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23788 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23789 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23790 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23791 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23792 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23793 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23794 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23795 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23796 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23797 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23798 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23799 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23800 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23801 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23802 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23803 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23804 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23805 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23806 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23807 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23808 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23809 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23810 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23811 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23812 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23813 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23814 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23815 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23816 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23817 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23818 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23819 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23820 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23821 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23822 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23823 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23824 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23825 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23826 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23827 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23828 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23829 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23830 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23831 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-nm/Makefile`
23832 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-prof/Makefile`
23833 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23834 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23835 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23836 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23837 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23838 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23839 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23840 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23841 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23842 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23848 cat >>$CONFIG_STATUS <<\_ACEOF
23849 for ac_config_target in $ac_config_targets
23851 case "$ac_config_target" in
23852 # Handling of arguments.
23853 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23854 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23855 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23856 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23857 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23858 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23859 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23860 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23861 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23862 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23863 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23864 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23865 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23866 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23867 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23868 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23869 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23870 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23871 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23872 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23873 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23874 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23875 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23876 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23877 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23878 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23879 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23880 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23881 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23882 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23883 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23884 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23885 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23886 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23887 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23888 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23889 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23890 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23891 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23892 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23893 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23894 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23895 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23896 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23897 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23898 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23899 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23900 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23901 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23902 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23903 "runtime/libprofile/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libprofile/Makefile" ;;
23904 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23905 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23906 "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
23907 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
23908 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23909 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23910 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23911 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23912 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23913 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23914 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23915 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23916 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23917 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23918 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23919 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23920 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23921 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23922 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23923 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23924 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23925 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23926 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23927 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23928 "test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ;;
23929 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23930 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23931 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23932 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23933 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23934 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23935 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23936 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23937 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23938 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23939 "test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ;;
23940 "test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ;;
23941 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23942 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23943 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23944 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23945 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23946 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23947 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23948 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23949 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23950 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23951 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23952 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23953 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23954 "test/Programs/MultiSource/Benchmarks/FreeBench/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/Makefile" ;;
23955 "test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile" ;;
23956 "test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ;;
23957 "test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ;;
23958 "test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ;;
23959 "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ;;
23960 "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ;;
23961 "test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ;;
23962 "test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ;;
23963 "test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ;;
23964 "test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ;;
23965 "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ;;
23966 "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ;;
23967 "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ;;
23968 "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ;;
23969 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23970 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23971 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23972 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23973 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23974 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23975 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23976 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23977 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23978 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23979 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23980 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23981 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23982 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23983 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23984 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23985 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23986 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23987 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23988 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23989 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23990 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23991 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23992 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23993 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23994 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23995 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23996 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23997 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23998 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23999 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
24000 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
24001 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
24002 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
24003 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
24004 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
24005 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
24006 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
24007 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
24008 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
24009 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
24010 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
24011 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
24012 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
24013 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
24014 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
24015 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
24016 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
24017 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
24018 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
24019 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
24020 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
24021 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
24022 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
24023 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
24024 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
24025 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
24026 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
24027 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
24028 "tools/llvm-nm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-nm/Makefile" ;;
24029 "tools/llvm-prof/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-prof/Makefile" ;;
24030 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
24031 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
24032 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
24033 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
24034 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
24035 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
24036 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
24037 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
24038 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
24039 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
24040 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
24041 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24042 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24043 { (exit 1); exit 1; }; };;
24047 # If the user did not use the arguments to specify the items to instantiate,
24048 # then the envvar interface is used. Set only those that are not.
24049 # We use the long form for the default assignment because of an extremely
24050 # bizarre bug on SunOS 4.1.3.
24051 if $ac_need_defaults; then
24052 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24053 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24054 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24057 # Have a temporary directory for convenience. Make it in the build tree
24058 # simply because there is no reason to put it here, and in addition,
24059 # creating and moving files from /tmp can sometimes cause problems.
24060 # Create a temporary directory, and hook for its removal unless debugging.
24063 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24064 trap '{ (exit 1); exit 1; }' 1 2 13 15
24067 # Create a (secure) tmp directory for tmp files.
24070 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24071 test -n "$tmp" && test -d "$tmp"
24074 tmp=./confstat$$-$RANDOM
24075 (umask 077 && mkdir $tmp)
24078 echo "$me: cannot create a temporary directory in ." >&2
24079 { (exit 1); exit 1; }
24084 cat >>$CONFIG_STATUS <<_ACEOF
24087 # CONFIG_FILES section.
24090 # No need to generate the scripts if there are no CONFIG_FILES.
24091 # This happens for instance when ./config.status config.h
24092 if test -n "\$CONFIG_FILES"; then
24093 # Protect against being on the right side of a sed subst in config.status.
24094 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24095 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24096 s,@SHELL@,$SHELL,;t t
24097 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24098 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24099 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24100 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24101 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24102 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24103 s,@exec_prefix@,$exec_prefix,;t t
24104 s,@prefix@,$prefix,;t t
24105 s,@program_transform_name@,$program_transform_name,;t t
24106 s,@bindir@,$bindir,;t t
24107 s,@sbindir@,$sbindir,;t t
24108 s,@libexecdir@,$libexecdir,;t t
24109 s,@datadir@,$datadir,;t t
24110 s,@sysconfdir@,$sysconfdir,;t t
24111 s,@sharedstatedir@,$sharedstatedir,;t t
24112 s,@localstatedir@,$localstatedir,;t t
24113 s,@libdir@,$libdir,;t t
24114 s,@includedir@,$includedir,;t t
24115 s,@oldincludedir@,$oldincludedir,;t t
24116 s,@infodir@,$infodir,;t t
24117 s,@mandir@,$mandir,;t t
24118 s,@build_alias@,$build_alias,;t t
24119 s,@host_alias@,$host_alias,;t t
24120 s,@target_alias@,$target_alias,;t t
24121 s,@DEFS@,$DEFS,;t t
24122 s,@ECHO_C@,$ECHO_C,;t t
24123 s,@ECHO_N@,$ECHO_N,;t t
24124 s,@ECHO_T@,$ECHO_T,;t t
24125 s,@LIBS@,$LIBS,;t t
24126 s,@subdirs@,$subdirs,;t t
24127 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24128 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24129 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24130 s,@build@,$build,;t t
24131 s,@build_cpu@,$build_cpu,;t t
24132 s,@build_vendor@,$build_vendor,;t t
24133 s,@build_os@,$build_os,;t t
24134 s,@host@,$host,;t t
24135 s,@host_cpu@,$host_cpu,;t t
24136 s,@host_vendor@,$host_vendor,;t t
24137 s,@host_os@,$host_os,;t t
24138 s,@target@,$target,;t t
24139 s,@target_cpu@,$target_cpu,;t t
24140 s,@target_vendor@,$target_vendor,;t t
24141 s,@target_os@,$target_os,;t t
24143 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
24144 s,@ARCH@,$ARCH,;t t
24146 s,@CXXFLAGS@,$CXXFLAGS,;t t
24147 s,@LDFLAGS@,$LDFLAGS,;t t
24148 s,@CPPFLAGS@,$CPPFLAGS,;t t
24149 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
24150 s,@EXEEXT@,$EXEEXT,;t t
24151 s,@OBJEXT@,$OBJEXT,;t t
24153 s,@CFLAGS@,$CFLAGS,;t t
24154 s,@ac_ct_CC@,$ac_ct_CC,;t t
24156 s,@ifGNUmake@,$ifGNUmake,;t t
24158 s,@LEXLIB@,$LEXLIB,;t t
24159 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
24160 s,@YACC@,$YACC,;t t
24161 s,@EGREP@,$EGREP,;t t
24162 s,@LN_S@,$LN_S,;t t
24163 s,@ECHO@,$ECHO,;t t
24165 s,@ac_ct_AR@,$ac_ct_AR,;t t
24166 s,@RANLIB@,$RANLIB,;t t
24167 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24168 s,@STRIP@,$STRIP,;t t
24169 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24170 s,@CXXCPP@,$CXXCPP,;t t
24172 s,@FFLAGS@,$FFLAGS,;t t
24173 s,@ac_ct_F77@,$ac_ct_F77,;t t
24174 s,@LIBTOOL@,$LIBTOOL,;t t
24175 s,@RPWD@,$RPWD,;t t
24178 s,@MKDIR@,$MKDIR,;t t
24179 s,@DATE@,$DATE,;t t
24182 s,@ETAGS@,$ETAGS,;t t
24183 s,@PYTHON@,$PYTHON,;t t
24184 s,@QMTEST@,$QMTEST,;t t
24185 s,@ALLOCA@,$ALLOCA,;t t
24186 s,@LIBOBJS@,$LIBOBJS,;t t
24187 s,@MMAP_FILE@,$MMAP_FILE,;t t
24188 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
24189 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
24190 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
24191 s,@USE_SPEC@,$USE_SPEC,;t t
24193 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
24196 s,@PAPIDIR@,$PAPIDIR,;t t
24197 s,@PURIFY@,$PURIFY,;t t
24198 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24203 cat >>$CONFIG_STATUS <<\_ACEOF
24204 # Split the substitutions into bite-sized pieces for seds with
24205 # small command number limits, like on Digital OSF/1 and HP-UX.
24206 ac_max_sed_lines=48
24207 ac_sed_frag=1 # Number of current file.
24208 ac_beg=1 # First line for current file.
24209 ac_end=$ac_max_sed_lines # Line after last line for current file.
24212 while $ac_more_lines; do
24213 if test $ac_beg -gt 1; then
24214 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24216 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24218 if test ! -s $tmp/subs.frag; then
24219 ac_more_lines=false
24221 # The purpose of the label and of the branching condition is to
24222 # speed up the sed processing (if there are no `@' at all, there
24223 # is no need to browse any of the substitutions).
24224 # These are the two extra sed commands mentioned above.
24226 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24227 if test -z "$ac_sed_cmds"; then
24228 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24230 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24232 ac_sed_frag=`expr $ac_sed_frag + 1`
24234 ac_end=`expr $ac_end + $ac_max_sed_lines`
24237 if test -z "$ac_sed_cmds"; then
24240 fi # test -n "$CONFIG_FILES"
24243 cat >>$CONFIG_STATUS <<\_ACEOF
24244 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24245 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24247 - | *:- | *:-:* ) # input from stdin
24249 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24250 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24251 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24252 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24253 * ) ac_file_in=$ac_file.in ;;
24256 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24257 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24258 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24259 X"$ac_file" : 'X\(//\)[^/]' \| \
24260 X"$ac_file" : 'X\(//\)$' \| \
24261 X"$ac_file" : 'X\(/\)' \| \
24262 . : '\(.\)' 2>/dev/null ||
24264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24265 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24266 /^X\(\/\/\)$/{ s//\1/; q; }
24267 /^X\(\/\).*/{ s//\1/; q; }
24269 { if $as_mkdir_p; then
24274 while test ! -d "$as_dir"; do
24275 as_dirs="$as_dir $as_dirs"
24276 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24277 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24278 X"$as_dir" : 'X\(//\)[^/]' \| \
24279 X"$as_dir" : 'X\(//\)$' \| \
24280 X"$as_dir" : '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; }
24289 test ! -n "$as_dirs" || mkdir $as_dirs
24290 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24291 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24292 { (exit 1); exit 1; }; }; }
24296 if test "$ac_dir" != .; then
24297 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24298 # A "../" for each directory in $ac_dir_suffix.
24299 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24301 ac_dir_suffix= ac_top_builddir=
24305 .) # No --srcdir option. We are building in place.
24307 if test -z "$ac_top_builddir"; then
24310 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24312 [\\/]* | ?:[\\/]* ) # Absolute path.
24313 ac_srcdir=$srcdir$ac_dir_suffix;
24314 ac_top_srcdir=$srcdir ;;
24315 *) # Relative path.
24316 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24317 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24319 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24321 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24322 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24323 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24324 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24328 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24329 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24332 if test x"$ac_file" != x-; then
24333 { echo "$as_me:$LINENO: creating $ac_file" >&5
24334 echo "$as_me: creating $ac_file" >&6;}
24337 # Let's still pretend it is `configure' which instantiates (i.e., don't
24338 # use $as_me), people would be surprised to read:
24339 # /* config.h. Generated by config.status. */
24340 if test x"$ac_file" = x-; then
24343 configure_input="$ac_file. "
24345 configure_input=$configure_input"Generated from `echo $ac_file_in |
24346 sed 's,.*/,,'` by configure."
24348 # First look for the input files in the build tree, otherwise in the
24350 ac_file_inputs=`IFS=:
24351 for f in $ac_file_in; do
24353 -) echo $tmp/stdin ;;
24355 # Absolute (can't be DOS-style, as IFS=:)
24356 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24357 echo "$as_me: error: cannot find input file: $f" >&2;}
24358 { (exit 1); exit 1; }; }
24361 if test -f "$f"; then
24364 elif test -f "$srcdir/$f"; then
24369 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24370 echo "$as_me: error: cannot find input file: $f" >&2;}
24371 { (exit 1); exit 1; }; }
24374 done` || { (exit 1); exit 1; }
24376 cat >>$CONFIG_STATUS <<_ACEOF
24380 cat >>$CONFIG_STATUS <<\_ACEOF
24382 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24383 s,@configure_input@,$configure_input,;t t
24384 s,@srcdir@,$ac_srcdir,;t t
24385 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24386 s,@top_srcdir@,$ac_top_srcdir,;t t
24387 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24388 s,@builddir@,$ac_builddir,;t t
24389 s,@abs_builddir@,$ac_abs_builddir,;t t
24390 s,@top_builddir@,$ac_top_builddir,;t t
24391 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24392 s,@INSTALL@,$ac_INSTALL,;t t
24393 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24395 if test x"$ac_file" != x-; then
24396 mv $tmp/out $ac_file
24404 cat >>$CONFIG_STATUS <<\_ACEOF
24407 # CONFIG_HEADER section.
24410 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24411 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24413 # ac_d sets the value in "#define NAME VALUE" lines.
24414 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24415 ac_dB='[ ].*$,\1#\2'
24418 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24419 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24420 ac_uB='$,\1#\2define\3'
24424 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24425 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24427 - | *:- | *:-:* ) # input from stdin
24429 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24430 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24431 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24432 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24433 * ) ac_file_in=$ac_file.in ;;
24436 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24437 echo "$as_me: creating $ac_file" >&6;}
24439 # First look for the input files in the build tree, otherwise in the
24441 ac_file_inputs=`IFS=:
24442 for f in $ac_file_in; do
24444 -) echo $tmp/stdin ;;
24446 # Absolute (can't be DOS-style, as IFS=:)
24447 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24448 echo "$as_me: error: cannot find input file: $f" >&2;}
24449 { (exit 1); exit 1; }; }
24452 if test -f "$f"; then
24455 elif test -f "$srcdir/$f"; then
24460 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24461 echo "$as_me: error: cannot find input file: $f" >&2;}
24462 { (exit 1); exit 1; }; }
24465 done` || { (exit 1); exit 1; }
24466 # Remove the trailing spaces.
24467 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24471 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24472 # `conftest.undefs', that substitutes the proper values into
24473 # config.h.in to produce config.h. The first handles `#define'
24474 # templates, and the second `#undef' templates.
24475 # And first: Protect against being on the right side of a sed subst in
24476 # config.status. Protect against being in an unquoted here document
24477 # in config.status.
24478 rm -f conftest.defines conftest.undefs
24479 # Using a here document instead of a string reduces the quoting nightmare.
24480 # Putting comments in sed scripts is not portable.
24482 # `end' is used to avoid that the second main sed command (meant for
24483 # 0-ary CPP macros) applies to n-ary macro definitions.
24484 # See the Autoconf documentation for `clear'.
24485 cat >confdef2sed.sed <<\_ACEOF
24490 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24492 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24495 # If some macros were called several times there might be several times
24496 # the same #defines, which is useless. Nevertheless, we may not want to
24497 # sort them, since we want the *last* AC-DEFINE to be honored.
24498 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24499 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24500 rm -f confdef2sed.sed
24502 # This sed command replaces #undef with comments. This is necessary, for
24503 # example, in the case of _POSIX_SOURCE, which is predefined and required
24504 # on some systems where configure will not decide to define it.
24505 cat >>conftest.undefs <<\_ACEOF
24506 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24509 # Break up conftest.defines because some shells have a limit on the size
24510 # of here documents, and old seds have small limits too (100 cmds).
24511 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24512 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24513 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24514 echo ' :' >>$CONFIG_STATUS
24515 rm -f conftest.tail
24516 while grep . conftest.defines >/dev/null
24518 # Write a limited-size here document to $tmp/defines.sed.
24519 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24520 # Speed up: don't consider the non `#define' lines.
24521 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24522 # Work around the forget-to-reset-the-flag bug.
24523 echo 't clr' >>$CONFIG_STATUS
24524 echo ': clr' >>$CONFIG_STATUS
24525 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24527 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24529 mv $tmp/out $tmp/in
24531 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24532 rm -f conftest.defines
24533 mv conftest.tail conftest.defines
24535 rm -f conftest.defines
24536 echo ' fi # grep' >>$CONFIG_STATUS
24537 echo >>$CONFIG_STATUS
24539 # Break up conftest.undefs because some shells have a limit on the size
24540 # of here documents, and old seds have small limits too (100 cmds).
24541 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24542 rm -f conftest.tail
24543 while grep . conftest.undefs >/dev/null
24545 # Write a limited-size here document to $tmp/undefs.sed.
24546 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24547 # Speed up: don't consider the non `#undef'
24548 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24549 # Work around the forget-to-reset-the-flag bug.
24550 echo 't clr' >>$CONFIG_STATUS
24551 echo ': clr' >>$CONFIG_STATUS
24552 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24554 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24556 mv $tmp/out $tmp/in
24558 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24559 rm -f conftest.undefs
24560 mv conftest.tail conftest.undefs
24562 rm -f conftest.undefs
24564 cat >>$CONFIG_STATUS <<\_ACEOF
24565 # Let's still pretend it is `configure' which instantiates (i.e., don't
24566 # use $as_me), people would be surprised to read:
24567 # /* config.h. Generated by config.status. */
24568 if test x"$ac_file" = x-; then
24569 echo "/* Generated by configure. */" >$tmp/config.h
24571 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24573 cat $tmp/in >>$tmp/config.h
24575 if test x"$ac_file" != x-; then
24576 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24577 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24578 echo "$as_me: $ac_file is unchanged" >&6;}
24580 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24581 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24582 X"$ac_file" : 'X\(//\)[^/]' \| \
24583 X"$ac_file" : 'X\(//\)$' \| \
24584 X"$ac_file" : 'X\(/\)' \| \
24585 . : '\(.\)' 2>/dev/null ||
24587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24588 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24589 /^X\(\/\/\)$/{ s//\1/; q; }
24590 /^X\(\/\).*/{ s//\1/; q; }
24592 { if $as_mkdir_p; then
24597 while test ! -d "$as_dir"; do
24598 as_dirs="$as_dir $as_dirs"
24599 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24600 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24601 X"$as_dir" : 'X\(//\)[^/]' \| \
24602 X"$as_dir" : 'X\(//\)$' \| \
24603 X"$as_dir" : 'X\(/\)' \| \
24604 . : '\(.\)' 2>/dev/null ||
24606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24607 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24608 /^X\(\/\/\)$/{ s//\1/; q; }
24609 /^X\(\/\).*/{ s//\1/; q; }
24612 test ! -n "$as_dirs" || mkdir $as_dirs
24613 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24614 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24615 { (exit 1); exit 1; }; }; }
24618 mv $tmp/config.h $ac_file
24622 rm -f $tmp/config.h
24626 cat >>$CONFIG_STATUS <<\_ACEOF
24629 # CONFIG_COMMANDS section.
24631 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24632 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24633 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24634 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24635 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24636 X"$ac_dest" : 'X\(//\)[^/]' \| \
24637 X"$ac_dest" : 'X\(//\)$' \| \
24638 X"$ac_dest" : 'X\(/\)' \| \
24639 . : '\(.\)' 2>/dev/null ||
24641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24642 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24643 /^X\(\/\/\)$/{ s//\1/; q; }
24644 /^X\(\/\).*/{ s//\1/; q; }
24648 if test "$ac_dir" != .; then
24649 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24650 # A "../" for each directory in $ac_dir_suffix.
24651 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24653 ac_dir_suffix= ac_top_builddir=
24657 .) # No --srcdir option. We are building in place.
24659 if test -z "$ac_top_builddir"; then
24662 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24664 [\\/]* | ?:[\\/]* ) # Absolute path.
24665 ac_srcdir=$srcdir$ac_dir_suffix;
24666 ac_top_srcdir=$srcdir ;;
24667 *) # Relative path.
24668 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24669 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24671 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24673 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24674 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24675 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24676 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24679 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24680 echo "$as_me: executing $ac_dest commands" >&6;}
24682 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24683 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24684 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24685 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24686 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24687 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24688 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24689 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24690 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24691 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24692 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24693 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24694 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24695 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24696 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24697 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24698 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24699 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24700 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24701 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24702 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24703 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24704 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24705 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24706 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24707 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24708 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24709 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24710 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24711 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24712 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24713 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24714 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24715 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24716 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24717 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24718 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24719 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24720 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24721 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24722 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24723 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24724 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24725 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24726 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24727 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24728 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24729 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24730 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24731 runtime/libprofile/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libprofile/Makefile runtime/libprofile/Makefile ;;
24732 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24733 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24734 test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;;
24735 test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;;
24736 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24737 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24738 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24739 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24740 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24741 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24742 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24743 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24744 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24745 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24746 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24747 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24748 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24749 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24750 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24751 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24752 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24753 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24754 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 ;;
24755 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 ;;
24756 test/Programs/External/SPEC/CFP2000/177.mesa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/177.mesa/Makefile test/Programs/External/SPEC/CFP2000/177.mesa/Makefile ;;
24757 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 ;;
24758 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 ;;
24759 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 ;;
24760 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 ;;
24761 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 ;;
24762 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 ;;
24763 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 ;;
24764 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 ;;
24765 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 ;;
24766 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 ;;
24767 test/Programs/External/SPEC/CINT2000/252.eon/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/252.eon/Makefile test/Programs/External/SPEC/CINT2000/252.eon/Makefile ;;
24768 test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ;;
24769 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 ;;
24770 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 ;;
24771 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 ;;
24772 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 ;;
24773 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24774 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24775 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24776 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24777 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 ;;
24778 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 ;;
24779 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 ;;
24780 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24781 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 ;;
24782 test/Programs/MultiSource/Benchmarks/FreeBench/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/Makefile ;;
24783 test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile ;;
24784 test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in ;;
24785 test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile ;;
24786 test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in ;;
24787 test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile ;;
24788 test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in ;;
24789 test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile ;;
24790 test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in ;;
24791 test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile ;;
24792 test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in ;;
24793 test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile ;;
24794 test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in ;;
24795 test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile ;;
24796 test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in ;;
24797 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 ;;
24798 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 ;;
24799 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 ;;
24800 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 ;;
24801 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 ;;
24802 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 ;;
24803 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 ;;
24804 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 ;;
24805 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 ;;
24806 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 ;;
24807 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 ;;
24808 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 ;;
24809 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 ;;
24810 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 ;;
24811 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 ;;
24812 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 ;;
24813 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 ;;
24814 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 ;;
24815 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 ;;
24816 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 ;;
24817 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 ;;
24818 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 ;;
24819 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 ;;
24820 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 ;;
24821 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 ;;
24822 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 ;;
24823 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 ;;
24824 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 ;;
24825 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 ;;
24826 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 ;;
24827 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 ;;
24828 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24829 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24830 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24831 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24832 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 ;;
24833 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 ;;
24834 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 ;;
24835 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 ;;
24836 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24837 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24838 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 ;;
24839 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24840 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 ;;
24841 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 ;;
24842 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 ;;
24843 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24844 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24845 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24846 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24847 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24848 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24849 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24850 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24851 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24852 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24853 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24854 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24855 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24856 tools/llvm-nm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-nm/Makefile tools/llvm-nm/Makefile ;;
24857 tools/llvm-prof/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-prof/Makefile tools/llvm-prof/Makefile ;;
24858 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24859 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24860 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24861 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24862 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24863 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24864 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24865 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24866 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24867 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24872 cat >>$CONFIG_STATUS <<\_ACEOF
24874 { (exit 0); exit 0; }
24876 chmod +x $CONFIG_STATUS
24877 ac_clean_files=$ac_clean_files_save
24880 # configure is writing to config.log, and then calls config.status.
24881 # config.status does its own redirection, appending to config.log.
24882 # Unfortunately, on DOS this fails, as config.log is still kept open
24883 # by configure, so config.status won't be able to write to it; its
24884 # output is simply discarded. So we exec the FD to /dev/null,
24885 # effectively closing config.log, so it can be properly (re)opened and
24886 # appended to by config.status. When coming back to configure, we
24887 # need to make the FD available again.
24888 if test "$no_create" != yes; then
24890 ac_config_status_args=
24891 test "$silent" = yes &&
24892 ac_config_status_args="$ac_config_status_args --quiet"
24894 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24896 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24897 # would make configure fail if this is the last instruction.
24898 $ac_cs_success || { (exit 1); exit 1; }
24902 # CONFIG_SUBDIRS section.
24904 if test "$no_recursion" != yes; then
24906 # Remove --cache-file and --srcdir arguments so they do not pile up.
24907 ac_sub_configure_args=
24909 for ac_arg in $ac_configure_args; do
24910 if test -n "$ac_prev"; then
24915 -cache-file | --cache-file | --cache-fil | --cache-fi \
24916 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24917 ac_prev=cache_file ;;
24918 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24919 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24922 --config-cache | -C)
24924 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24926 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24932 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24936 # Always prepend --prefix to ensure using the same prefix
24937 # in subdir configurations.
24938 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24941 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24943 # Do not complain, so a configure script can configure whichever
24944 # parts of a large source tree are present.
24945 test -d $srcdir/$ac_dir || continue
24947 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24948 echo "$as_me: configuring in $ac_dir" >&6;}
24949 { if $as_mkdir_p; then
24954 while test ! -d "$as_dir"; do
24955 as_dirs="$as_dir $as_dirs"
24956 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24957 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24958 X"$as_dir" : 'X\(//\)[^/]' \| \
24959 X"$as_dir" : 'X\(//\)$' \| \
24960 X"$as_dir" : 'X\(/\)' \| \
24961 . : '\(.\)' 2>/dev/null ||
24963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24964 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24965 /^X\(\/\/\)$/{ s//\1/; q; }
24966 /^X\(\/\).*/{ s//\1/; q; }
24969 test ! -n "$as_dirs" || mkdir $as_dirs
24970 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24971 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24972 { (exit 1); exit 1; }; }; }
24976 if test "$ac_dir" != .; then
24977 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24978 # A "../" for each directory in $ac_dir_suffix.
24979 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24981 ac_dir_suffix= ac_top_builddir=
24985 .) # No --srcdir option. We are building in place.
24987 if test -z "$ac_top_builddir"; then
24990 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24992 [\\/]* | ?:[\\/]* ) # Absolute path.
24993 ac_srcdir=$srcdir$ac_dir_suffix;
24994 ac_top_srcdir=$srcdir ;;
24995 *) # Relative path.
24996 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24997 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24999 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
25001 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
25002 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
25003 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
25004 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
25009 # Check for guested configure; otherwise get Cygnus style configure.
25010 if test -f $ac_srcdir/configure.gnu; then
25011 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
25012 elif test -f $ac_srcdir/configure; then
25013 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
25014 elif test -f $ac_srcdir/configure.in; then
25015 ac_sub_configure=$ac_configure
25017 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
25018 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
25022 # The recursion is here.
25023 if test -n "$ac_sub_configure"; then
25024 # Make the cache file name correct relative to the subdirectory.
25025 case $cache_file in
25026 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
25027 *) # Relative path.
25028 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
25031 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
25032 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
25033 # The eval makes quoting arguments work.
25034 eval $ac_sub_configure $ac_sub_configure_args \
25035 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
25036 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
25037 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
25038 { (exit 1); exit 1; }; }