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/McCat/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1877 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1883 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1889 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1895 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1916 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1925 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1931 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1934 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1937 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1940 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1943 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1946 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1949 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1952 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1955 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1958 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1961 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1964 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1967 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1970 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1973 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1976 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1979 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1982 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1985 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
1988 ac_config_commands="$ac_config_commands tools/Makefile"
1991 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1994 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1997 ac_config_commands="$ac_config_commands tools/extract/Makefile"
2000 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
2003 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
2006 ac_config_commands="$ac_config_commands tools/llc/Makefile"
2009 ac_config_commands="$ac_config_commands tools/llee/Makefile"
2012 ac_config_commands="$ac_config_commands tools/lli/Makefile"
2015 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2018 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2021 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2024 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2027 ac_config_commands="$ac_config_commands tools/llvm-nm/Makefile"
2030 ac_config_commands="$ac_config_commands tools/llvm-prof/Makefile"
2033 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2036 ac_config_commands="$ac_config_commands utils/Makefile"
2039 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2042 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2045 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2048 ac_config_commands="$ac_config_commands projects/Makefile"
2051 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2054 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2057 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2060 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2065 # Find a good install program. We prefer a C program (faster),
2066 # so one script is as good as another. But avoid the broken or
2067 # incompatible versions:
2068 # SysV /etc/install, /usr/sbin/install
2069 # SunOS /usr/etc/install
2070 # IRIX /sbin/install
2072 # AmigaOS /C/install, which installs bootblocks on floppy discs
2073 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2074 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2075 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2076 # ./install, which can be erroneously created by make from ./install.sh.
2077 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2078 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2079 if test -z "$INSTALL"; then
2080 if test "${ac_cv_path_install+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir=.
2088 # Account for people who put trailing slashes in PATH elements.
2090 ./ | .// | /cC/* | \
2091 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2094 # OSF1 and SCO ODT 3.0 have their own names for install.
2095 # Don't use installbsd from OSF since it installs stuff as root
2097 for ac_prog in ginstall scoinst install; do
2098 for ac_exec_ext in '' $ac_executable_extensions; do
2099 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2100 if test $ac_prog = install &&
2101 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2102 # AIX install. It has an incompatible calling convention.
2104 elif test $ac_prog = install &&
2105 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2106 # program-specific install script used by HP pwplus--don't use.
2109 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2121 if test "${ac_cv_path_install+set}" = set; then
2122 INSTALL=$ac_cv_path_install
2124 # As a last resort, use the slow shell script. We don't cache a
2125 # path for INSTALL within a source directory, because that will
2126 # break other packages using the cache if that directory is
2127 # removed, or if the path is relative.
2128 INSTALL=$ac_install_sh
2131 echo "$as_me:$LINENO: result: $INSTALL" >&5
2132 echo "${ECHO_T}$INSTALL" >&6
2134 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2135 # It thinks the first close brace ends the variable substitution.
2136 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2138 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2140 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2143 # Make sure we can run config.sub.
2144 $ac_config_sub sun4 >/dev/null 2>&1 ||
2145 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2146 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2147 { (exit 1); exit 1; }; }
2149 echo "$as_me:$LINENO: checking build system type" >&5
2150 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2151 if test "${ac_cv_build+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 ac_cv_build_alias=$build_alias
2155 test -z "$ac_cv_build_alias" &&
2156 ac_cv_build_alias=`$ac_config_guess`
2157 test -z "$ac_cv_build_alias" &&
2158 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2159 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2160 { (exit 1); exit 1; }; }
2161 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2162 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2163 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2164 { (exit 1); exit 1; }; }
2167 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2168 echo "${ECHO_T}$ac_cv_build" >&6
2170 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2171 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2172 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2175 echo "$as_me:$LINENO: checking host system type" >&5
2176 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2177 if test "${ac_cv_host+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 ac_cv_host_alias=$host_alias
2181 test -z "$ac_cv_host_alias" &&
2182 ac_cv_host_alias=$ac_cv_build_alias
2183 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2184 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2185 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2186 { (exit 1); exit 1; }; }
2189 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2190 echo "${ECHO_T}$ac_cv_host" >&6
2192 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2193 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2194 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2197 echo "$as_me:$LINENO: checking target system type" >&5
2198 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2199 if test "${ac_cv_target+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 ac_cv_target_alias=$target_alias
2203 test "x$ac_cv_target_alias" = "x" &&
2204 ac_cv_target_alias=$ac_cv_host_alias
2205 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2206 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2207 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2208 { (exit 1); exit 1; }; }
2211 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2212 echo "${ECHO_T}$ac_cv_target" >&6
2213 target=$ac_cv_target
2214 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2215 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2216 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2219 # The aliases save the names the user supplied, while $host etc.
2220 # will get canonicalized.
2221 test -n "$target_alias" &&
2222 test "$program_prefix$program_suffix$program_transform_name" = \
2224 program_prefix=${target_alias}-
2229 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2235 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2245 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2254 *sparc*solaris*) ARCH=Sparc
2261 ac_cpp='$CXXCPP $CPPFLAGS'
2262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2265 if test -n "$ac_tool_prefix"; then
2266 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2268 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2269 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2270 echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272 if test "${ac_cv_prog_CXX+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 if test -n "$CXX"; then
2276 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 if test -n "$CXX"; then
2296 echo "$as_me:$LINENO: result: $CXX" >&5
2297 echo "${ECHO_T}$CXX" >&6
2299 echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2303 test -n "$CXX" && break
2306 if test -z "$CXX"; then
2308 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2310 # Extract the first word of "$ac_prog", so it can be a program name with args.
2311 set dummy $ac_prog; ac_word=$2
2312 echo "$as_me:$LINENO: checking for $ac_word" >&5
2313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2314 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2315 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 if test -n "$ac_ct_CXX"; then
2318 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir=.
2325 for ac_exec_ext in '' $ac_executable_extensions; do
2326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2327 ac_cv_prog_ac_ct_CXX="$ac_prog"
2328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2336 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2337 if test -n "$ac_ct_CXX"; then
2338 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2339 echo "${ECHO_T}$ac_ct_CXX" >&6
2341 echo "$as_me:$LINENO: result: no" >&5
2342 echo "${ECHO_T}no" >&6
2345 test -n "$ac_ct_CXX" && break
2347 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2353 # Provide some information about the compiler.
2354 echo "$as_me:$LINENO:" \
2355 "checking for C++ compiler version" >&5
2356 ac_compiler=`set X $ac_compile; echo $2`
2357 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2358 (eval $ac_compiler --version </dev/null >&5) 2>&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }
2362 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2363 (eval $ac_compiler -v </dev/null >&5) 2>&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2367 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2368 (eval $ac_compiler -V </dev/null >&5) 2>&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }
2373 cat >conftest.$ac_ext <<_ACEOF
2374 #line $LINENO "configure"
2377 cat confdefs.h >>conftest.$ac_ext
2378 cat >>conftest.$ac_ext <<_ACEOF
2379 /* end confdefs.h. */
2389 ac_clean_files_save=$ac_clean_files
2390 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2391 # Try to create an executable without -o first, disregard a.out.
2392 # It will help us diagnose broken compilers, and finding out an intuition
2394 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2395 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2396 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2397 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2398 (eval $ac_link_default) 2>&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; then
2402 # Find the output, starting from the most likely. This scheme is
2403 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2406 # Be careful to initialize this variable, since it used to be cached.
2407 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2409 # b.out is created by i960 compilers.
2410 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2412 test -f "$ac_file" || continue
2414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2417 # This is the source file.
2420 # We found the default executable, but exeext='' is most
2424 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2425 # FIXME: I believe we export ac_cv_exeext for Libtool,
2426 # but it would be cool to find out if it's true. Does anybody
2427 # maintain Libtool? --akim.
2435 echo "$as_me: failed program was:" >&5
2436 sed 's/^/| /' conftest.$ac_ext >&5
2438 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2439 See \`config.log' for more details." >&5
2440 echo "$as_me: error: C++ compiler cannot create executables
2441 See \`config.log' for more details." >&2;}
2442 { (exit 77); exit 77; }; }
2445 ac_exeext=$ac_cv_exeext
2446 echo "$as_me:$LINENO: result: $ac_file" >&5
2447 echo "${ECHO_T}$ac_file" >&6
2449 # Check the compiler produces executables we can run. If not, either
2450 # the compiler is broken, or we cross compile.
2451 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2452 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2453 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2454 # If not cross compiling, check that we can run a simple program.
2455 if test "$cross_compiling" != yes; then
2456 if { ac_try='./$ac_file'
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; }; then
2464 if test "$cross_compiling" = maybe; then
2467 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2468 If you meant to cross compile, use \`--host'.
2469 See \`config.log' for more details." >&5
2470 echo "$as_me: error: cannot run C++ compiled programs.
2471 If you meant to cross compile, use \`--host'.
2472 See \`config.log' for more details." >&2;}
2473 { (exit 1); exit 1; }; }
2477 echo "$as_me:$LINENO: result: yes" >&5
2478 echo "${ECHO_T}yes" >&6
2480 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2481 ac_clean_files=$ac_clean_files_save
2482 # Check the compiler produces executables we can run. If not, either
2483 # the compiler is broken, or we cross compile.
2484 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2485 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2486 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2487 echo "${ECHO_T}$cross_compiling" >&6
2489 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2490 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2492 (eval $ac_link) 2>&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }; then
2496 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2497 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2498 # work properly (i.e., refer to `conftest.exe'), while it won't with
2500 for ac_file in conftest.exe conftest conftest.*; do
2501 test -f "$ac_file" || continue
2503 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2504 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2511 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2514 See \`config.log' for more details." >&2;}
2515 { (exit 1); exit 1; }; }
2518 rm -f conftest$ac_cv_exeext
2519 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2520 echo "${ECHO_T}$ac_cv_exeext" >&6
2522 rm -f conftest.$ac_ext
2523 EXEEXT=$ac_cv_exeext
2525 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2526 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2527 if test "${ac_cv_objext+set}" = set; then
2528 echo $ECHO_N "(cached) $ECHO_C" >&6
2530 cat >conftest.$ac_ext <<_ACEOF
2531 #line $LINENO "configure"
2534 cat confdefs.h >>conftest.$ac_ext
2535 cat >>conftest.$ac_ext <<_ACEOF
2536 /* end confdefs.h. */
2546 rm -f conftest.o conftest.obj
2547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2548 (eval $ac_compile) 2>&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }; then
2552 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2554 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2555 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2560 echo "$as_me: failed program was:" >&5
2561 sed 's/^/| /' conftest.$ac_ext >&5
2563 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2564 See \`config.log' for more details." >&5
2565 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2566 See \`config.log' for more details." >&2;}
2567 { (exit 1); exit 1; }; }
2570 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2572 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2573 echo "${ECHO_T}$ac_cv_objext" >&6
2574 OBJEXT=$ac_cv_objext
2576 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2577 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2578 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 cat >conftest.$ac_ext <<_ACEOF
2582 #line $LINENO "configure"
2585 cat confdefs.h >>conftest.$ac_ext
2586 cat >>conftest.$ac_ext <<_ACEOF
2587 /* end confdefs.h. */
2600 rm -f conftest.$ac_objext
2601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2602 (eval $ac_compile) 2>&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); } &&
2606 { ac_try='test -s conftest.$ac_objext'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; }; then
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2619 rm -f conftest.$ac_objext conftest.$ac_ext
2620 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2623 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2624 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2625 GXX=`test $ac_compiler_gnu = yes && echo yes`
2626 ac_test_CXXFLAGS=${CXXFLAGS+set}
2627 ac_save_CXXFLAGS=$CXXFLAGS
2629 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2630 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2631 if test "${ac_cv_prog_cxx_g+set}" = set; then
2632 echo $ECHO_N "(cached) $ECHO_C" >&6
2634 cat >conftest.$ac_ext <<_ACEOF
2635 #line $LINENO "configure"
2638 cat confdefs.h >>conftest.$ac_ext
2639 cat >>conftest.$ac_ext <<_ACEOF
2640 /* end confdefs.h. */
2650 rm -f conftest.$ac_objext
2651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2652 (eval $ac_compile) 2>&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); } &&
2656 { ac_try='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2662 ac_cv_prog_cxx_g=yes
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.$ac_ext >&5
2669 rm -f conftest.$ac_objext conftest.$ac_ext
2671 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2672 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2673 if test "$ac_test_CXXFLAGS" = set; then
2674 CXXFLAGS=$ac_save_CXXFLAGS
2675 elif test $ac_cv_prog_cxx_g = yes; then
2676 if test "$GXX" = yes; then
2682 if test "$GXX" = yes; then
2688 for ac_declaration in \
2690 '#include <stdlib.h>' \
2691 'extern "C" void std::exit (int) throw (); using std::exit;' \
2692 'extern "C" void std::exit (int); using std::exit;' \
2693 'extern "C" void exit (int) throw ();' \
2694 'extern "C" void exit (int);' \
2697 cat >conftest.$ac_ext <<_ACEOF
2698 #line $LINENO "configure"
2701 cat confdefs.h >>conftest.$ac_ext
2702 cat >>conftest.$ac_ext <<_ACEOF
2703 /* end confdefs.h. */
2714 rm -f conftest.$ac_objext
2715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2716 (eval $ac_compile) 2>&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); } &&
2720 { ac_try='test -s conftest.$ac_objext'
2721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }; }; then
2728 echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2733 rm -f conftest.$ac_objext conftest.$ac_ext
2734 cat >conftest.$ac_ext <<_ACEOF
2735 #line $LINENO "configure"
2738 cat confdefs.h >>conftest.$ac_ext
2739 cat >>conftest.$ac_ext <<_ACEOF
2740 /* end confdefs.h. */
2750 rm -f conftest.$ac_objext
2751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2752 (eval $ac_compile) 2>&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); } &&
2756 { ac_try='test -s conftest.$ac_objext'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2764 echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.$ac_ext >&5
2768 rm -f conftest.$ac_objext conftest.$ac_ext
2771 if test -n "$ac_declaration"; then
2772 echo '#ifdef __cplusplus' >>confdefs.h
2773 echo $ac_declaration >>confdefs.h
2774 echo '#endif' >>confdefs.h
2778 ac_cpp='$CPP $CPPFLAGS'
2779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2784 ac_cpp='$CPP $CPPFLAGS'
2785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2788 if test -n "$ac_tool_prefix"; then
2791 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2792 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2793 echo "$as_me:$LINENO: checking for $ac_word" >&5
2794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2795 if test "${ac_cv_prog_CC+set}" = set; then
2796 echo $ECHO_N "(cached) $ECHO_C" >&6
2798 if test -n "$CC"; then
2799 ac_cv_prog_CC="$CC" # Let the user override the test.
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 if test -n "$CC"; then
2819 echo "$as_me:$LINENO: result: $CC" >&5
2820 echo "${ECHO_T}$CC" >&6
2822 echo "$as_me:$LINENO: result: no" >&5
2823 echo "${ECHO_T}no" >&6
2826 test -n "$CC" && break
2829 if test -z "$CC"; then
2833 # Extract the first word of "$ac_prog", so it can be a program name with args.
2834 set dummy $ac_prog; ac_word=$2
2835 echo "$as_me:$LINENO: checking for $ac_word" >&5
2836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 if test -n "$ac_ct_CC"; then
2841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850 ac_cv_prog_ac_ct_CC="$ac_prog"
2851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2860 if test -n "$ac_ct_CC"; then
2861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2862 echo "${ECHO_T}$ac_ct_CC" >&6
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2868 test -n "$ac_ct_CC" && break
2875 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2876 See \`config.log' for more details." >&5
2877 echo "$as_me: error: no acceptable C compiler found in \$PATH
2878 See \`config.log' for more details." >&2;}
2879 { (exit 1); exit 1; }; }
2881 # Provide some information about the compiler.
2882 echo "$as_me:$LINENO:" \
2883 "checking for C compiler version" >&5
2884 ac_compiler=`set X $ac_compile; echo $2`
2885 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2886 (eval $ac_compiler --version </dev/null >&5) 2>&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }
2890 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2891 (eval $ac_compiler -v </dev/null >&5) 2>&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }
2895 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2896 (eval $ac_compiler -V </dev/null >&5) 2>&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }
2901 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2902 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2903 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2904 echo $ECHO_N "(cached) $ECHO_C" >&6
2906 cat >conftest.$ac_ext <<_ACEOF
2907 #line $LINENO "configure"
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); } &&
2931 { ac_try='test -s conftest.$ac_objext'
2932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; }; then
2939 echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.$ac_ext >&5
2944 rm -f conftest.$ac_objext conftest.$ac_ext
2945 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2948 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2949 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2950 GCC=`test $ac_compiler_gnu = yes && echo yes`
2951 ac_test_CFLAGS=${CFLAGS+set}
2952 ac_save_CFLAGS=$CFLAGS
2954 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2955 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2956 if test "${ac_cv_prog_cc_g+set}" = set; then
2957 echo $ECHO_N "(cached) $ECHO_C" >&6
2959 cat >conftest.$ac_ext <<_ACEOF
2960 #line $LINENO "configure"
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2975 rm -f conftest.$ac_objext
2976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2977 (eval $ac_compile) 2>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); } &&
2981 { ac_try='test -s conftest.$ac_objext'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; }; then
2989 echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2994 rm -f conftest.$ac_objext conftest.$ac_ext
2996 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2997 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2998 if test "$ac_test_CFLAGS" = set; then
2999 CFLAGS=$ac_save_CFLAGS
3000 elif test $ac_cv_prog_cc_g = yes; then
3001 if test "$GCC" = yes; then
3007 if test "$GCC" = yes; then
3013 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3014 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3015 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3016 echo $ECHO_N "(cached) $ECHO_C" >&6
3018 ac_cv_prog_cc_stdc=no
3020 cat >conftest.$ac_ext <<_ACEOF
3021 #line $LINENO "configure"
3024 cat confdefs.h >>conftest.$ac_ext
3025 cat >>conftest.$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3029 #include <sys/types.h>
3030 #include <sys/stat.h>
3031 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3032 struct buf { int x; };
3033 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3034 static char *e (p, i)
3040 static char *f (char * (*g) (char **, int), char **p, ...)
3045 s = g (p, va_arg (v,int));
3049 int test (int i, double x);
3050 struct s1 {int (*f) (int a);};
3051 struct s2 {int (*f) (double a);};
3052 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3058 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3063 # Don't try gcc -ansi; that turns off useful extensions and
3064 # breaks some systems' header files.
3065 # AIX -qlanglvl=ansi
3066 # Ultrix and OSF/1 -std1
3067 # HP-UX 10.20 and later -Ae
3068 # HP-UX older versions -Aa -D_HPUX_SOURCE
3069 # SVR4 -Xc -D__EXTENSIONS__
3070 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3072 CC="$ac_save_CC $ac_arg"
3073 rm -f conftest.$ac_objext
3074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3075 (eval $ac_compile) 2>&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); } &&
3079 { ac_try='test -s conftest.$ac_objext'
3080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); }; }; then
3085 ac_cv_prog_cc_stdc=$ac_arg
3088 echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.$ac_ext >&5
3092 rm -f conftest.$ac_objext
3094 rm -f conftest.$ac_ext conftest.$ac_objext
3099 case "x$ac_cv_prog_cc_stdc" in
3101 echo "$as_me:$LINENO: result: none needed" >&5
3102 echo "${ECHO_T}none needed" >&6 ;;
3104 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3105 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3106 CC="$CC $ac_cv_prog_cc_stdc" ;;
3109 # Some people use a C++ compiler to compile C. Since we use `exit',
3110 # in C++ we need to declare it. In case someone uses the same compiler
3111 # for both compiling C and C++ we need to have the C++ compiler decide
3112 # the declaration of exit, since it's the most demanding environment.
3113 cat >conftest.$ac_ext <<_ACEOF
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 for ac_declaration in \
3132 '#include <stdlib.h>' \
3133 'extern "C" void std::exit (int) throw (); using std::exit;' \
3134 'extern "C" void std::exit (int); using std::exit;' \
3135 'extern "C" void exit (int) throw ();' \
3136 'extern "C" void exit (int);' \
3139 cat >conftest.$ac_ext <<_ACEOF
3140 #line $LINENO "configure"
3143 cat confdefs.h >>conftest.$ac_ext
3144 cat >>conftest.$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3156 rm -f conftest.$ac_objext
3157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3158 (eval $ac_compile) 2>&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } &&
3162 { ac_try='test -s conftest.$ac_objext'
3163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); }; }; then
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3175 rm -f conftest.$ac_objext conftest.$ac_ext
3176 cat >conftest.$ac_ext <<_ACEOF
3177 #line $LINENO "configure"
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3192 rm -f conftest.$ac_objext
3193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3194 (eval $ac_compile) 2>&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); } &&
3198 { ac_try='test -s conftest.$ac_objext'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; }; then
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3210 rm -f conftest.$ac_objext conftest.$ac_ext
3213 if test -n "$ac_declaration"; then
3214 echo '#ifdef __cplusplus' >>confdefs.h
3215 echo $ac_declaration >>confdefs.h
3216 echo '#endif' >>confdefs.h
3220 echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.$ac_ext >&5
3224 rm -f conftest.$ac_objext conftest.$ac_ext
3226 ac_cpp='$CPP $CPPFLAGS'
3227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3232 ac_cpp='$CPP $CPPFLAGS'
3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3237 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3238 # On Suns, sometimes $CPP names a directory.
3239 if test -n "$CPP" && test -d "$CPP"; then
3242 if test -z "$CPP"; then
3243 if test "${ac_cv_prog_CPP+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 # Double quotes because CPP needs to be expanded
3247 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3250 for ac_c_preproc_warn_flag in '' yes
3252 # Use a header file that comes with gcc, so configuring glibc
3253 # with a fresh cross-compiler works.
3254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3255 # <limits.h> exists even on freestanding compilers.
3256 # On the NeXT, cc -E runs the code through the compiler's parser,
3257 # not just through cpp. "Syntax error" is here to catch this case.
3258 cat >conftest.$ac_ext <<_ACEOF
3259 #line $LINENO "configure"
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3266 # include <limits.h>
3268 # include <assert.h>
3272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3275 grep -v '^ *+' conftest.er1 >conftest.err
3277 cat conftest.err >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } >/dev/null; then
3280 if test -s conftest.err; then
3281 ac_cpp_err=$ac_c_preproc_warn_flag
3288 if test -z "$ac_cpp_err"; then
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3294 # Broken: fails on valid input.
3297 rm -f conftest.err conftest.$ac_ext
3299 # OK, works on sane cases. Now check whether non-existent headers
3300 # can be detected and how.
3301 cat >conftest.$ac_ext <<_ACEOF
3302 #line $LINENO "configure"
3305 cat confdefs.h >>conftest.$ac_ext
3306 cat >>conftest.$ac_ext <<_ACEOF
3307 /* end confdefs.h. */
3308 #include <ac_nonexistent.h>
3310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3313 grep -v '^ *+' conftest.er1 >conftest.err
3315 cat conftest.err >&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } >/dev/null; then
3318 if test -s conftest.err; then
3319 ac_cpp_err=$ac_c_preproc_warn_flag
3326 if test -z "$ac_cpp_err"; then
3327 # Broken: success on invalid input.
3330 echo "$as_me: failed program was:" >&5
3331 sed 's/^/| /' conftest.$ac_ext >&5
3333 # Passes both tests.
3337 rm -f conftest.err conftest.$ac_ext
3340 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3341 rm -f conftest.err conftest.$ac_ext
3342 if $ac_preproc_ok; then
3354 echo "$as_me:$LINENO: result: $CPP" >&5
3355 echo "${ECHO_T}$CPP" >&6
3357 for ac_c_preproc_warn_flag in '' yes
3359 # Use a header file that comes with gcc, so configuring glibc
3360 # with a fresh cross-compiler works.
3361 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3362 # <limits.h> exists even on freestanding compilers.
3363 # On the NeXT, cc -E runs the code through the compiler's parser,
3364 # not just through cpp. "Syntax error" is here to catch this case.
3365 cat >conftest.$ac_ext <<_ACEOF
3366 #line $LINENO "configure"
3369 cat confdefs.h >>conftest.$ac_ext
3370 cat >>conftest.$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3373 # include <limits.h>
3375 # include <assert.h>
3379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3380 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3382 grep -v '^ *+' conftest.er1 >conftest.err
3384 cat conftest.err >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } >/dev/null; then
3387 if test -s conftest.err; then
3388 ac_cpp_err=$ac_c_preproc_warn_flag
3395 if test -z "$ac_cpp_err"; then
3398 echo "$as_me: failed program was:" >&5
3399 sed 's/^/| /' conftest.$ac_ext >&5
3401 # Broken: fails on valid input.
3404 rm -f conftest.err conftest.$ac_ext
3406 # OK, works on sane cases. Now check whether non-existent headers
3407 # can be detected and how.
3408 cat >conftest.$ac_ext <<_ACEOF
3409 #line $LINENO "configure"
3412 cat confdefs.h >>conftest.$ac_ext
3413 cat >>conftest.$ac_ext <<_ACEOF
3414 /* end confdefs.h. */
3415 #include <ac_nonexistent.h>
3417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3418 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3420 grep -v '^ *+' conftest.er1 >conftest.err
3422 cat conftest.err >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); } >/dev/null; then
3425 if test -s conftest.err; then
3426 ac_cpp_err=$ac_c_preproc_warn_flag
3433 if test -z "$ac_cpp_err"; then
3434 # Broken: success on invalid input.
3437 echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.$ac_ext >&5
3440 # Passes both tests.
3444 rm -f conftest.err conftest.$ac_ext
3447 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3448 rm -f conftest.err conftest.$ac_ext
3449 if $ac_preproc_ok; then
3452 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3453 See \`config.log' for more details." >&5
3454 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3455 See \`config.log' for more details." >&2;}
3456 { (exit 1); exit 1; }; }
3460 ac_cpp='$CPP $CPPFLAGS'
3461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3466 if test "$GCC" != "yes"
3468 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3469 echo "$as_me: error: gcc required but not found" >&2;}
3470 { (exit 1); exit 1; }; }
3473 if test "$GXX" != "yes"
3475 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3476 echo "$as_me: error: g++ required but not found" >&2;}
3477 { (exit 1); exit 1; }; }
3480 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3481 if test "$gccmajor" -lt "3"
3483 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3484 echo "$as_me: error: gcc 3.x required" >&2;}
3485 { (exit 1); exit 1; }; }
3488 echo "$as_me:$LINENO: checking for GNU make" >&5
3489 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3490 if test "${_cv_gnu_make_command+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 _cv_gnu_make_command='' ;
3494 for a in "$MAKE" make gmake gnumake ; do
3495 if test -z "$a" ; then continue ; fi ;
3496 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3497 _cv_gnu_make_command=$a ;
3503 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3504 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3505 if test "x$_cv_gnu_make_command" != "x" ; then
3509 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3510 echo "${ECHO_T}\"Not found\"" >&6;
3514 if test -z "$_cv_gnu_make_command"
3516 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3517 echo "$as_me: error: GNU Make required but not found" >&2;}
3518 { (exit 1); exit 1; }; }
3522 echo "$as_me:$LINENO: checking " >&5
3523 echo $ECHO_N "checking ... $ECHO_C" >&6
3524 if test "${ac_cv_has_flex+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 for ac_prog in flex lex
3529 # Extract the first word of "$ac_prog", so it can be a program name with args.
3530 set dummy $ac_prog; ac_word=$2
3531 echo "$as_me:$LINENO: checking for $ac_word" >&5
3532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3533 if test "${ac_cv_prog_LEX+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 if test -n "$LEX"; then
3537 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543 test -z "$as_dir" && as_dir=.
3544 for ac_exec_ext in '' $ac_executable_extensions; do
3545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3546 ac_cv_prog_LEX="$ac_prog"
3547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 if test -n "$LEX"; then
3557 echo "$as_me:$LINENO: result: $LEX" >&5
3558 echo "${ECHO_T}$LEX" >&6
3560 echo "$as_me:$LINENO: result: no" >&5
3561 echo "${ECHO_T}no" >&6
3564 test -n "$LEX" && break
3566 test -n "$LEX" || LEX=":"
3568 if test -z "$LEXLIB"
3570 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3571 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3572 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3575 ac_check_lib_save_LIBS=$LIBS
3577 cat >conftest.$ac_ext <<_ACEOF
3578 #line $LINENO "configure"
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3585 /* Override any gcc2 internal prototype to avoid an error. */
3589 /* We use char because int might match the return type of a gcc2
3590 builtin and then its argument prototype would still apply. */
3600 rm -f conftest.$ac_objext conftest$ac_exeext
3601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3602 (eval $ac_link) 2>&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } &&
3606 { ac_try='test -s conftest$ac_exeext'
3607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); }; }; then
3612 ac_cv_lib_fl_yywrap=yes
3614 echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.$ac_ext >&5
3617 ac_cv_lib_fl_yywrap=no
3619 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3620 LIBS=$ac_check_lib_save_LIBS
3622 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3623 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3624 if test $ac_cv_lib_fl_yywrap = yes; then
3627 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3628 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3629 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3630 echo $ECHO_N "(cached) $ECHO_C" >&6
3632 ac_check_lib_save_LIBS=$LIBS
3634 cat >conftest.$ac_ext <<_ACEOF
3635 #line $LINENO "configure"
3638 cat confdefs.h >>conftest.$ac_ext
3639 cat >>conftest.$ac_ext <<_ACEOF
3640 /* end confdefs.h. */
3642 /* Override any gcc2 internal prototype to avoid an error. */
3646 /* We use char because int might match the return type of a gcc2
3647 builtin and then its argument prototype would still apply. */
3657 rm -f conftest.$ac_objext conftest$ac_exeext
3658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3659 (eval $ac_link) 2>&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); } &&
3663 { ac_try='test -s conftest$ac_exeext'
3664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); }; }; then
3669 ac_cv_lib_l_yywrap=yes
3671 echo "$as_me: failed program was:" >&5
3672 sed 's/^/| /' conftest.$ac_ext >&5
3674 ac_cv_lib_l_yywrap=no
3676 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3677 LIBS=$ac_check_lib_save_LIBS
3679 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3680 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3681 if test $ac_cv_lib_l_yywrap = yes; then
3689 if test "x$LEX" != "x:"; then
3690 echo "$as_me:$LINENO: checking lex output file root" >&5
3691 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3692 if test "${ac_cv_prog_lex_root+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 # The minimal lex program is just a single line: %%. But some broken lexes
3696 # (Solaris, I think it was) want two %% lines, so accommodate them.
3697 cat >conftest.l <<_ACEOF
3701 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3702 (eval $LEX conftest.l) 2>&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }
3706 if test -f lex.yy.c; then
3707 ac_cv_prog_lex_root=lex.yy
3708 elif test -f lexyy.c; then
3709 ac_cv_prog_lex_root=lexyy
3711 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3712 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3713 { (exit 1); exit 1; }; }
3716 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3717 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3719 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3721 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3722 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3723 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 # POSIX says lex can declare yytext either as a pointer or an array; the
3727 # default is implementation-dependent. Figure out which it is, since
3728 # not all implementations provide the %pointer and %array declarations.
3729 ac_cv_prog_lex_yytext_pointer=no
3730 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3732 LIBS="$LIBS $LEXLIB"
3733 cat >conftest.$ac_ext <<_ACEOF
3734 `cat $LEX_OUTPUT_ROOT.c`
3736 rm -f conftest.$ac_objext conftest$ac_exeext
3737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3738 (eval $ac_link) 2>&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } &&
3742 { ac_try='test -s conftest$ac_exeext'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; }; then
3748 ac_cv_prog_lex_yytext_pointer=yes
3750 echo "$as_me: failed program was:" >&5
3751 sed 's/^/| /' conftest.$ac_ext >&5
3754 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3756 rm -f "${LEX_OUTPUT_ROOT}.c"
3759 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3760 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3761 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3763 cat >>confdefs.h <<\_ACEOF
3764 #define YYTEXT_POINTER 1
3772 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3773 echo "${ECHO_T}$ac_cv_has_flex" >&6
3774 if test "$LEX" != "flex"; then
3775 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3776 echo "$as_me: error: flex not found but required" >&2;}
3777 { (exit 1); exit 1; }; }
3780 echo "$as_me:$LINENO: checking " >&5
3781 echo $ECHO_N "checking ... $ECHO_C" >&6
3782 if test "${ac_cv_has_bison+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3785 for ac_prog in 'bison -y' byacc
3787 # Extract the first word of "$ac_prog", so it can be a program name with args.
3788 set dummy $ac_prog; ac_word=$2
3789 echo "$as_me:$LINENO: checking for $ac_word" >&5
3790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3791 if test "${ac_cv_prog_YACC+set}" = set; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3794 if test -n "$YACC"; then
3795 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir=.
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3804 ac_cv_prog_YACC="$ac_prog"
3805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 YACC=$ac_cv_prog_YACC
3814 if test -n "$YACC"; then
3815 echo "$as_me:$LINENO: result: $YACC" >&5
3816 echo "${ECHO_T}$YACC" >&6
3818 echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6
3822 test -n "$YACC" && break
3824 test -n "$YACC" || YACC="yacc"
3828 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3829 echo "${ECHO_T}$ac_cv_has_bison" >&6
3830 if test "$YACC" != "bison -y"; then
3831 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3832 echo "$as_me: error: bison not found but required" >&2;}
3833 { (exit 1); exit 1; }; }
3840 # Check whether --enable-shared or --disable-shared was given.
3841 if test "${enable_shared+set}" = set; then
3842 enableval="$enable_shared"
3843 p=${PACKAGE-default}
3845 yes) enable_shared=yes ;;
3846 no) enable_shared=no ;;
3849 # Look at the argument we got. We use all the common list separators.
3850 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3851 for pkg in $enableval; do
3853 if test "X$pkg" = "X$p"; then
3864 # Check whether --enable-static or --disable-static was given.
3865 if test "${enable_static+set}" = set; then
3866 enableval="$enable_static"
3867 p=${PACKAGE-default}
3869 yes) enable_static=yes ;;
3870 no) enable_static=no ;;
3873 # Look at the argument we got. We use all the common list separators.
3874 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3875 for pkg in $enableval; do
3877 if test "X$pkg" = "X$p"; then
3888 # Check whether --enable-fast-install or --disable-fast-install was given.
3889 if test "${enable_fast_install+set}" = set; then
3890 enableval="$enable_fast_install"
3891 p=${PACKAGE-default}
3893 yes) enable_fast_install=yes ;;
3894 no) enable_fast_install=no ;;
3896 enable_fast_install=no
3897 # Look at the argument we got. We use all the common list separators.
3898 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3899 for pkg in $enableval; do
3901 if test "X$pkg" = "X$p"; then
3902 enable_fast_install=yes
3909 enable_fast_install=yes
3912 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3913 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3914 if test "${lt_cv_path_SED+set}" = set; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
3917 # Loop through the user's path and test for sed and gsed.
3918 # Then use that list of sed's as ones to test for truncation.
3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923 test -z "$as_dir" && as_dir=.
3924 for lt_ac_prog in sed gsed; do
3925 for ac_exec_ext in '' $ac_executable_extensions; do
3926 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3927 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3934 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3935 # along with /bin/sed that truncates output.
3936 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3937 test ! -f $lt_ac_sed && break
3938 cat /dev/null > conftest.in
3940 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3941 # Check for GNU sed and select it if it is found.
3942 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3943 lt_cv_path_SED=$lt_ac_sed
3947 cat conftest.in conftest.in >conftest.tmp
3948 mv conftest.tmp conftest.in
3949 cp conftest.in conftest.nl
3951 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3952 cmp -s conftest.out conftest.nl || break
3953 # 10000 chars as input seems more than enough
3954 test $lt_ac_count -gt 10 && break
3955 lt_ac_count=`expr $lt_ac_count + 1`
3956 if test $lt_ac_count -gt $lt_ac_max; then
3957 lt_ac_max=$lt_ac_count
3958 lt_cv_path_SED=$lt_ac_sed
3966 echo "$as_me:$LINENO: result: $SED" >&5
3967 echo "${ECHO_T}$SED" >&6
3969 echo "$as_me:$LINENO: checking for egrep" >&5
3970 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3971 if test "${ac_cv_prog_egrep+set}" = set; then
3972 echo $ECHO_N "(cached) $ECHO_C" >&6
3974 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3975 then ac_cv_prog_egrep='grep -E'
3976 else ac_cv_prog_egrep='egrep'
3979 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3980 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3981 EGREP=$ac_cv_prog_egrep
3985 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3986 if test "${with_gnu_ld+set}" = set; then
3987 withval="$with_gnu_ld"
3988 test "$withval" = no || with_gnu_ld=yes
3993 if test "$GCC" = yes; then
3994 # Check if gcc -print-prog-name=ld gives a path.
3995 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3996 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3999 # gcc leaves a trailing carriage return which upsets mingw
4000 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4002 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4005 # Accept absolute paths.
4007 re_direlt='/[^/][^/]*/\.\./'
4008 # Canonicalize the path of ld
4009 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4010 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4011 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4013 test -z "$LD" && LD="$ac_prog"
4016 # If it fails, then pretend we aren't using GCC.
4020 # If it is relative, then search for the first ld in PATH.
4024 elif test "$with_gnu_ld" = yes; then
4025 echo "$as_me:$LINENO: checking for GNU ld" >&5
4026 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4028 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4029 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4031 if test "${lt_cv_path_LD+set}" = set; then
4032 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 if test -z "$LD"; then
4035 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4036 for ac_dir in $PATH; do
4038 test -z "$ac_dir" && ac_dir=.
4039 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4040 lt_cv_path_LD="$ac_dir/$ac_prog"
4041 # Check to see if the program is GNU ld. I'd rather use --version,
4042 # but apparently some GNU ld's only accept -v.
4043 # Break only if it was the GNU/non-GNU ld that we prefer.
4044 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4045 *GNU* | *'with BFD'*)
4046 test "$with_gnu_ld" != no && break
4049 test "$with_gnu_ld" != yes && break
4056 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4061 if test -n "$LD"; then
4062 echo "$as_me:$LINENO: result: $LD" >&5
4063 echo "${ECHO_T}$LD" >&6
4065 echo "$as_me:$LINENO: result: no" >&5
4066 echo "${ECHO_T}no" >&6
4068 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4069 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4070 { (exit 1); exit 1; }; }
4071 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4072 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4073 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4077 case `"$LD" -v 2>&1 </dev/null` in
4078 *GNU* | *'with BFD'*)
4079 lt_cv_prog_gnu_ld=yes
4082 lt_cv_prog_gnu_ld=no
4086 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4087 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4088 with_gnu_ld=$lt_cv_prog_gnu_ld
4091 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4092 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4093 if test "${lt_cv_ld_reload_flag+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 lt_cv_ld_reload_flag='-r'
4098 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4099 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4100 reload_flag=$lt_cv_ld_reload_flag
4101 case $reload_flag in
4103 *) reload_flag=" $reload_flag" ;;
4105 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4107 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4108 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4109 if test "${lt_cv_path_NM+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 if test -n "$NM"; then
4113 # Let the user override the test.
4116 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4117 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4119 test -z "$ac_dir" && ac_dir=.
4120 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4121 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4122 # Check to see if the nm accepts a BSD-compat flag.
4123 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4124 # nm: unknown option "B" ignored
4125 # Tru64's nm complains that /dev/null is an invalid object file
4126 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4127 */dev/null* | *'Invalid file or object type'*)
4128 lt_cv_path_NM="$tmp_nm -B"
4132 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4134 lt_cv_path_NM="$tmp_nm -p"
4138 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4139 continue # so that we can try to find one that supports BSD flags
4146 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4149 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4150 echo "${ECHO_T}$lt_cv_path_NM" >&6
4153 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4154 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4156 if test "$LN_S" = "ln -s"; then
4157 echo "$as_me:$LINENO: result: yes" >&5
4158 echo "${ECHO_T}yes" >&6
4160 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4161 echo "${ECHO_T}no, using $LN_S" >&6
4164 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4165 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4166 if test "${lt_cv_deplibs_check_method+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 lt_cv_file_magic_cmd='$MAGIC_CMD'
4170 lt_cv_file_magic_test_file=
4171 lt_cv_deplibs_check_method='unknown'
4172 # Need to set the preceding variable on all platforms that support
4173 # interlibrary dependencies.
4174 # 'none' -- dependencies not supported.
4175 # `unknown' -- same as none, but documents that we really don't know.
4176 # 'pass_all' -- all dependencies passed with no checks.
4177 # 'test_compile' -- check by making test program.
4178 # 'file_magic [[regex]]' -- check by looking for files in library path
4179 # which responds to the $file_magic_cmd with a given extended regex.
4180 # If you have `file' or equivalent on your system and you're not sure
4181 # whether `pass_all' will *always* work, you probably want this one.
4185 lt_cv_deplibs_check_method=pass_all
4189 lt_cv_deplibs_check_method=pass_all
4193 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4194 lt_cv_file_magic_cmd='/usr/bin/file -L'
4195 lt_cv_file_magic_test_file=/shlib/libc.so
4198 cygwin* | mingw* | pw32*)
4199 # win32_libid is a shell function defined in ltmain.sh
4200 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4201 lt_cv_file_magic_cmd='win32_libid'
4204 darwin* | rhapsody*)
4205 # this will be overwritten by pass_all, but leave it in just in case
4206 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4207 lt_cv_file_magic_cmd='/usr/bin/file -L'
4209 rhapsody* | darwin1.[012])
4210 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4213 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4216 lt_cv_deplibs_check_method=pass_all
4220 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4223 # Not sure whether the presence of OpenBSD here was a mistake.
4224 # Let's accept both of them until this is cleared up.
4225 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4226 lt_cv_file_magic_cmd=/usr/bin/file
4227 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4231 lt_cv_deplibs_check_method=pass_all
4236 lt_cv_deplibs_check_method=pass_all
4239 hpux10.20* | hpux11*)
4240 lt_cv_file_magic_cmd=/usr/bin/file
4243 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4244 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4247 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]'
4248 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4251 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4252 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4257 irix5* | irix6* | nonstopux*)
4259 irix5* | nonstopux*)
4260 # this will be overridden with pass_all, but let us keep it just in case
4261 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4265 *-32|*"-32 ") libmagic=32-bit;;
4266 *-n32|*"-n32 ") libmagic=N32;;
4267 *-64|*"-64 ") libmagic=64-bit;;
4268 *) libmagic=never-match;;
4270 # this will be overridden with pass_all, but let us keep it just in case
4271 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4274 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4275 lt_cv_deplibs_check_method=pass_all
4278 # This must be Linux ELF.
4281 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4282 lt_cv_deplibs_check_method=pass_all ;;
4284 # glibc up to 2.1.1 does not perform some relocations on ARM
4285 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4287 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4291 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4292 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4294 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4299 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4300 lt_cv_file_magic_cmd=/usr/bin/file
4301 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4305 lt_cv_deplibs_check_method=unknown
4309 lt_cv_file_magic_cmd=/usr/bin/file
4310 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4311 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4312 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4314 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4318 osf3* | osf4* | osf5*)
4319 # this will be overridden with pass_all, but let us keep it just in case
4320 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4321 lt_cv_file_magic_test_file=/shlib/libc.so
4322 lt_cv_deplibs_check_method=pass_all
4326 lt_cv_deplibs_check_method=pass_all
4330 lt_cv_deplibs_check_method=pass_all
4331 lt_cv_file_magic_test_file=/lib/libc.so
4334 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4335 case $host_vendor in
4337 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]'
4338 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4341 lt_cv_deplibs_check_method=pass_all
4344 lt_cv_file_magic_cmd='/bin/file'
4345 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4348 lt_cv_file_magic_cmd='/bin/file'
4349 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4350 lt_cv_file_magic_test_file=/lib/libc.so
4353 lt_cv_deplibs_check_method=pass_all
4358 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4359 lt_cv_deplibs_check_method=pass_all
4364 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4365 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4366 file_magic_cmd=$lt_cv_file_magic_cmd
4367 deplibs_check_method=$lt_cv_deplibs_check_method
4368 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4373 # If no C compiler was specified, use CC.
4376 # Allow CC to be a program name with arguments.
4379 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4380 if test "${enable_libtool_lock+set}" = set; then
4381 enableval="$enable_libtool_lock"
4384 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4386 # Some flags need to be propagated to the compiler or linker for good
4390 # Find out which ABI we are using.
4391 echo 'int i;' > conftest.$ac_ext
4392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4393 (eval $ac_compile) 2>&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); }; then
4397 case `/usr/bin/file conftest.$ac_objext` in
4409 # Find out which ABI we are using.
4410 echo '#line 4410 "configure"' > conftest.$ac_ext
4411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4412 (eval $ac_compile) 2>&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); }; then
4416 if test "$lt_cv_prog_gnu_ld" = yes; then
4417 case `/usr/bin/file conftest.$ac_objext` in
4419 LD="${LD-ld} -melf32bsmip"
4422 LD="${LD-ld} -melf32bmipn32"
4425 LD="${LD-ld} -melf64bmip"
4429 case `/usr/bin/file conftest.$ac_objext` in
4445 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4446 # Find out which ABI we are using.
4447 echo 'int i;' > conftest.$ac_ext
4448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4449 (eval $ac_compile) 2>&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); }; then
4453 case "`/usr/bin/file conftest.o`" in
4457 LD="${LD-ld} -m elf_i386"
4460 LD="${LD-ld} -m elf32ppclinux"
4463 LD="${LD-ld} -m elf_s390"
4466 LD="${LD-ld} -m elf32_sparc"
4473 LD="${LD-ld} -m elf_x86_64"
4475 ppc*-*linux*|powerpc*-*linux*)
4476 LD="${LD-ld} -m elf64ppc"
4479 LD="${LD-ld} -m elf64_s390"
4482 LD="${LD-ld} -m elf64_sparc"
4492 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4493 SAVE_CFLAGS="$CFLAGS"
4494 CFLAGS="$CFLAGS -belf"
4495 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4496 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4497 if test "${lt_cv_cc_needs_belf+set}" = set; then
4498 echo $ECHO_N "(cached) $ECHO_C" >&6
4501 ac_cpp='$CPP $CPPFLAGS'
4502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4506 cat >conftest.$ac_ext <<_ACEOF
4507 #line $LINENO "configure"
4510 cat confdefs.h >>conftest.$ac_ext
4511 cat >>conftest.$ac_ext <<_ACEOF
4512 /* end confdefs.h. */
4522 rm -f conftest.$ac_objext conftest$ac_exeext
4523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4524 (eval $ac_link) 2>&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } &&
4528 { ac_try='test -s conftest$ac_exeext'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }; }; then
4534 lt_cv_cc_needs_belf=yes
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.$ac_ext >&5
4539 lt_cv_cc_needs_belf=no
4541 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4543 ac_cpp='$CPP $CPPFLAGS'
4544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4549 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4550 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4551 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4552 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4553 CFLAGS="$SAVE_CFLAGS"
4559 need_locks="$enable_libtool_lock"
4563 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4564 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4565 if test "${ac_cv_header_stdc+set}" = set; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 cat >conftest.$ac_ext <<_ACEOF
4569 #line $LINENO "configure"
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4588 rm -f conftest.$ac_objext
4589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4590 (eval $ac_compile) 2>&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); } &&
4594 { ac_try='test -s conftest.$ac_objext'
4595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); }; }; then
4600 ac_cv_header_stdc=yes
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.$ac_ext >&5
4605 ac_cv_header_stdc=no
4607 rm -f conftest.$ac_objext conftest.$ac_ext
4609 if test $ac_cv_header_stdc = yes; then
4610 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4611 cat >conftest.$ac_ext <<_ACEOF
4612 #line $LINENO "configure"
4615 cat confdefs.h >>conftest.$ac_ext
4616 cat >>conftest.$ac_ext <<_ACEOF
4617 /* end confdefs.h. */
4621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4622 $EGREP "memchr" >/dev/null 2>&1; then
4625 ac_cv_header_stdc=no
4631 if test $ac_cv_header_stdc = yes; then
4632 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4633 cat >conftest.$ac_ext <<_ACEOF
4634 #line $LINENO "configure"
4637 cat confdefs.h >>conftest.$ac_ext
4638 cat >>conftest.$ac_ext <<_ACEOF
4639 /* end confdefs.h. */
4643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4644 $EGREP "free" >/dev/null 2>&1; then
4647 ac_cv_header_stdc=no
4653 if test $ac_cv_header_stdc = yes; then
4654 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4655 if test "$cross_compiling" = yes; then
4658 cat >conftest.$ac_ext <<_ACEOF
4659 #line $LINENO "configure"
4662 cat confdefs.h >>conftest.$ac_ext
4663 cat >>conftest.$ac_ext <<_ACEOF
4664 /* end confdefs.h. */
4666 #if ((' ' & 0x0FF) == 0x020)
4667 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4668 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4670 # define ISLOWER(c) \
4671 (('a' <= (c) && (c) <= 'i') \
4672 || ('j' <= (c) && (c) <= 'r') \
4673 || ('s' <= (c) && (c) <= 'z'))
4674 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4677 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4682 for (i = 0; i < 256; i++)
4683 if (XOR (islower (i), ISLOWER (i))
4684 || toupper (i) != TOUPPER (i))
4689 rm -f conftest$ac_exeext
4690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4691 (eval $ac_link) 2>&5
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }; }; then
4702 echo "$as_me: program exited with status $ac_status" >&5
4703 echo "$as_me: failed program was:" >&5
4704 sed 's/^/| /' conftest.$ac_ext >&5
4707 ac_cv_header_stdc=no
4709 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4713 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4714 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4715 if test $ac_cv_header_stdc = yes; then
4717 cat >>confdefs.h <<\_ACEOF
4718 #define STDC_HEADERS 1
4723 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4733 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4734 inttypes.h stdint.h unistd.h
4736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4737 echo "$as_me:$LINENO: checking for $ac_header" >&5
4738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4740 echo $ECHO_N "(cached) $ECHO_C" >&6
4742 cat >conftest.$ac_ext <<_ACEOF
4743 #line $LINENO "configure"
4746 cat confdefs.h >>conftest.$ac_ext
4747 cat >>conftest.$ac_ext <<_ACEOF
4748 /* end confdefs.h. */
4749 $ac_includes_default
4751 #include <$ac_header>
4753 rm -f conftest.$ac_objext
4754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4755 (eval $ac_compile) 2>&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); } &&
4759 { ac_try='test -s conftest.$ac_objext'
4760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }; }; then
4765 eval "$as_ac_Header=yes"
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4770 eval "$as_ac_Header=no"
4772 rm -f conftest.$ac_objext conftest.$ac_ext
4774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4777 cat >>confdefs.h <<_ACEOF
4778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4787 for ac_header in dlfcn.h
4789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4791 echo "$as_me:$LINENO: checking for $ac_header" >&5
4792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4799 # Is the header compilable?
4800 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4802 cat >conftest.$ac_ext <<_ACEOF
4803 #line $LINENO "configure"
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4809 $ac_includes_default
4810 #include <$ac_header>
4812 rm -f conftest.$ac_objext
4813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4814 (eval $ac_compile) 2>&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); } &&
4818 { ac_try='test -s conftest.$ac_objext'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; }; then
4824 ac_header_compiler=yes
4826 echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.$ac_ext >&5
4829 ac_header_compiler=no
4831 rm -f conftest.$ac_objext conftest.$ac_ext
4832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4833 echo "${ECHO_T}$ac_header_compiler" >&6
4835 # Is the header present?
4836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4838 cat >conftest.$ac_ext <<_ACEOF
4839 #line $LINENO "configure"
4842 cat confdefs.h >>conftest.$ac_ext
4843 cat >>conftest.$ac_ext <<_ACEOF
4844 /* end confdefs.h. */
4845 #include <$ac_header>
4847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4850 grep -v '^ *+' conftest.er1 >conftest.err
4852 cat conftest.err >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } >/dev/null; then
4855 if test -s conftest.err; then
4856 ac_cpp_err=$ac_c_preproc_warn_flag
4863 if test -z "$ac_cpp_err"; then
4864 ac_header_preproc=yes
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.$ac_ext >&5
4869 ac_header_preproc=no
4871 rm -f conftest.err conftest.$ac_ext
4872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4873 echo "${ECHO_T}$ac_header_preproc" >&6
4875 # So? What about this header?
4876 case $ac_header_compiler:$ac_header_preproc in
4878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4884 ## ------------------------------------ ##
4885 ## Report this to bug-autoconf@gnu.org. ##
4886 ## ------------------------------------ ##
4889 sed "s/^/$as_me: WARNING: /" >&2
4892 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4894 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4900 ## ------------------------------------ ##
4901 ## Report this to bug-autoconf@gnu.org. ##
4902 ## ------------------------------------ ##
4905 sed "s/^/$as_me: WARNING: /" >&2
4908 echo "$as_me:$LINENO: checking for $ac_header" >&5
4909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4913 eval "$as_ac_Header=$ac_header_preproc"
4915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4920 cat >>confdefs.h <<_ACEOF
4921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4929 ac_cpp='$CXXCPP $CPPFLAGS'
4930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4933 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4934 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4935 if test -z "$CXXCPP"; then
4936 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4937 echo $ECHO_N "(cached) $ECHO_C" >&6
4939 # Double quotes because CXXCPP needs to be expanded
4940 for CXXCPP in "$CXX -E" "/lib/cpp"
4943 for ac_cxx_preproc_warn_flag in '' yes
4945 # Use a header file that comes with gcc, so configuring glibc
4946 # with a fresh cross-compiler works.
4947 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4948 # <limits.h> exists even on freestanding compilers.
4949 # On the NeXT, cc -E runs the code through the compiler's parser,
4950 # not just through cpp. "Syntax error" is here to catch this case.
4951 cat >conftest.$ac_ext <<_ACEOF
4952 #line $LINENO "configure"
4955 cat confdefs.h >>conftest.$ac_ext
4956 cat >>conftest.$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4959 # include <limits.h>
4961 # include <assert.h>
4965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4968 grep -v '^ *+' conftest.er1 >conftest.err
4970 cat conftest.err >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } >/dev/null; then
4973 if test -s conftest.err; then
4974 ac_cpp_err=$ac_cxx_preproc_warn_flag
4981 if test -z "$ac_cpp_err"; then
4984 echo "$as_me: failed program was:" >&5
4985 sed 's/^/| /' conftest.$ac_ext >&5
4987 # Broken: fails on valid input.
4990 rm -f conftest.err conftest.$ac_ext
4992 # OK, works on sane cases. Now check whether non-existent headers
4993 # can be detected and how.
4994 cat >conftest.$ac_ext <<_ACEOF
4995 #line $LINENO "configure"
4998 cat confdefs.h >>conftest.$ac_ext
4999 cat >>conftest.$ac_ext <<_ACEOF
5000 /* end confdefs.h. */
5001 #include <ac_nonexistent.h>
5003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5006 grep -v '^ *+' conftest.er1 >conftest.err
5008 cat conftest.err >&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); } >/dev/null; then
5011 if test -s conftest.err; then
5012 ac_cpp_err=$ac_cxx_preproc_warn_flag
5019 if test -z "$ac_cpp_err"; then
5020 # Broken: success on invalid input.
5023 echo "$as_me: failed program was:" >&5
5024 sed 's/^/| /' conftest.$ac_ext >&5
5026 # Passes both tests.
5030 rm -f conftest.err conftest.$ac_ext
5033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5034 rm -f conftest.err conftest.$ac_ext
5035 if $ac_preproc_ok; then
5040 ac_cv_prog_CXXCPP=$CXXCPP
5043 CXXCPP=$ac_cv_prog_CXXCPP
5045 ac_cv_prog_CXXCPP=$CXXCPP
5047 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5048 echo "${ECHO_T}$CXXCPP" >&6
5050 for ac_cxx_preproc_warn_flag in '' yes
5052 # Use a header file that comes with gcc, so configuring glibc
5053 # with a fresh cross-compiler works.
5054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5055 # <limits.h> exists even on freestanding compilers.
5056 # On the NeXT, cc -E runs the code through the compiler's parser,
5057 # not just through cpp. "Syntax error" is here to catch this case.
5058 cat >conftest.$ac_ext <<_ACEOF
5059 #line $LINENO "configure"
5062 cat confdefs.h >>conftest.$ac_ext
5063 cat >>conftest.$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5066 # include <limits.h>
5068 # include <assert.h>
5072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5075 grep -v '^ *+' conftest.er1 >conftest.err
5077 cat conftest.err >&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); } >/dev/null; then
5080 if test -s conftest.err; then
5081 ac_cpp_err=$ac_cxx_preproc_warn_flag
5088 if test -z "$ac_cpp_err"; then
5091 echo "$as_me: failed program was:" >&5
5092 sed 's/^/| /' conftest.$ac_ext >&5
5094 # Broken: fails on valid input.
5097 rm -f conftest.err conftest.$ac_ext
5099 # OK, works on sane cases. Now check whether non-existent headers
5100 # can be detected and how.
5101 cat >conftest.$ac_ext <<_ACEOF
5102 #line $LINENO "configure"
5105 cat confdefs.h >>conftest.$ac_ext
5106 cat >>conftest.$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5108 #include <ac_nonexistent.h>
5110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5113 grep -v '^ *+' conftest.er1 >conftest.err
5115 cat conftest.err >&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); } >/dev/null; then
5118 if test -s conftest.err; then
5119 ac_cpp_err=$ac_cxx_preproc_warn_flag
5126 if test -z "$ac_cpp_err"; then
5127 # Broken: success on invalid input.
5130 echo "$as_me: failed program was:" >&5
5131 sed 's/^/| /' conftest.$ac_ext >&5
5133 # Passes both tests.
5137 rm -f conftest.err conftest.$ac_ext
5140 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5141 rm -f conftest.err conftest.$ac_ext
5142 if $ac_preproc_ok; then
5145 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5146 See \`config.log' for more details." >&5
5147 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5148 See \`config.log' for more details." >&2;}
5149 { (exit 1); exit 1; }; }
5153 ac_cpp='$CXXCPP $CPPFLAGS'
5154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5160 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5161 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5162 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5163 if test -n "$ac_tool_prefix"; then
5164 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5166 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5167 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5168 echo "$as_me:$LINENO: checking for $ac_word" >&5
5169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5170 if test "${ac_cv_prog_F77+set}" = set; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5173 if test -n "$F77"; then
5174 ac_cv_prog_F77="$F77" # Let the user override the test.
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 test -z "$as_dir" && as_dir=.
5181 for ac_exec_ext in '' $ac_executable_extensions; do
5182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5183 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 if test -n "$F77"; then
5194 echo "$as_me:$LINENO: result: $F77" >&5
5195 echo "${ECHO_T}$F77" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5201 test -n "$F77" && break
5204 if test -z "$F77"; then
5206 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5208 # Extract the first word of "$ac_prog", so it can be a program name with args.
5209 set dummy $ac_prog; ac_word=$2
5210 echo "$as_me:$LINENO: checking for $ac_word" >&5
5211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5212 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5213 echo $ECHO_N "(cached) $ECHO_C" >&6
5215 if test -n "$ac_ct_F77"; then
5216 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5225 ac_cv_prog_ac_ct_F77="$ac_prog"
5226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5235 if test -n "$ac_ct_F77"; then
5236 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5237 echo "${ECHO_T}$ac_ct_F77" >&6
5239 echo "$as_me:$LINENO: result: no" >&5
5240 echo "${ECHO_T}no" >&6
5243 test -n "$ac_ct_F77" && break
5250 # Provide some information about the compiler.
5251 echo "$as_me:5251:" \
5252 "checking for Fortran 77 compiler version" >&5
5253 ac_compiler=`set X $ac_compile; echo $2`
5254 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5255 (eval $ac_compiler --version </dev/null >&5) 2>&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); }
5259 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5260 (eval $ac_compiler -v </dev/null >&5) 2>&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); }
5264 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5265 (eval $ac_compiler -V </dev/null >&5) 2>&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); }
5270 # If we don't use `.F' as extension, the preprocessor is not run on the
5274 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5275 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5276 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 cat >conftest.$ac_ext <<_ACEOF
5287 rm -f conftest.$ac_objext
5288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5289 (eval $ac_compile) 2>&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); } &&
5293 { ac_try='test -s conftest.$ac_objext'
5294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); }; }; then
5301 echo "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.$ac_ext >&5
5306 rm -f conftest.$ac_objext conftest.$ac_ext
5307 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5310 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5311 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5313 G77=`test $ac_compiler_gnu = yes && echo yes`
5314 ac_test_FFLAGS=${FFLAGS+set}
5315 ac_save_FFLAGS=$FFLAGS
5317 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5318 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5319 if test "${ac_cv_prog_f77_g+set}" = set; then
5320 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 cat >conftest.$ac_ext <<_ACEOF
5328 rm -f conftest.$ac_objext
5329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5330 (eval $ac_compile) 2>&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); } &&
5334 { ac_try='test -s conftest.$ac_objext'
5335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 (exit $ac_status); }; }; then
5340 ac_cv_prog_f77_g=yes
5342 echo "$as_me: failed program was:" >&5
5343 sed 's/^/| /' conftest.$ac_ext >&5
5347 rm -f conftest.$ac_objext conftest.$ac_ext
5350 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5351 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5352 if test "$ac_test_FFLAGS" = set; then
5353 FFLAGS=$ac_save_FFLAGS
5354 elif test $ac_cv_prog_f77_g = yes; then
5355 if test "$G77" = yes; then
5361 if test "$G77" = yes; then
5368 ac_cpp='$CPP $CPPFLAGS'
5369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5375 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5377 # find the maximum length of command line arguments
5378 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5379 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5380 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 # On DJGPP, this test can blow up pretty badly due to problems in libc
5389 # (any single argument exceeding 2000 bytes causes a buffer overrun
5390 # during glob expansion). Even if it were fixed, the result of this
5391 # check would be larger than it should be.
5392 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5396 # Under GNU Hurd, this test is not required because there is
5397 # no limit to the length of command line arguments.
5398 # Libtool will interpret -1 as no limit whatsoever
5399 lt_cv_sys_max_cmd_len=-1;
5403 # On Win9x/ME, this test blows up -- it succeeds, but takes
5404 # about 5 minutes as the teststring grows exponentially.
5405 # Worse, since 9x/ME are not pre-emptively multitasking,
5406 # you end up with a "frozen" computer, even though with patience
5407 # the test eventually succeeds (with a max line length of 256k).
5408 # Instead, let's just punt: use the minimum linelength reported by
5409 # all of the supported platforms: 8192 (on NT/2K/XP).
5410 lt_cv_sys_max_cmd_len=8192;
5414 # If test is not a shell built-in, we'll probably end up computing a
5415 # maximum length that is only half of the actual maximum length, but
5417 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5418 = "XX$testring") >/dev/null 2>&1 &&
5419 new_result=`expr "X$testring" : ".*" 2>&1` &&
5420 lt_cv_sys_max_cmd_len=$new_result &&
5421 test $i != 17 # 1/2 MB should be enough
5424 testring=$testring$testring
5427 # Add a significant safety factor because C++ compilers can tack on massive
5428 # amounts of additional arguments before passing them to the linker.
5429 # It appears as though 1/2 is a usable value.
5430 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5436 if test -n $lt_cv_sys_max_cmd_len ; then
5437 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5438 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5440 echo "$as_me:$LINENO: result: none" >&5
5441 echo "${ECHO_T}none" >&6
5447 # Check for command to grab the raw symbol name followed by C symbol from nm.
5448 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5449 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5450 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 # These are sane defaults that work on at least a few old systems.
5455 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5457 # Character class describing NM global symbol codes.
5458 symcode='[BCDEGRST]'
5460 # Regexp to match symbols that can be accessed directly from C.
5461 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5463 # Transform the above into a raw symbol and a C symbol.
5464 symxfrm='\1 \2\3 \3'
5466 # Transform an extracted symbol line into a proper C declaration
5467 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5469 # Transform an extracted symbol line into symbol name and symbol address
5470 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'"
5472 # Define system-specific variables.
5477 cygwin* | mingw* | pw32*)
5478 symcode='[ABCDGISTW]'
5480 hpux*) # Its linker distinguishes data from code symbols
5481 if test "$host_cpu" = ia64; then
5482 symcode='[ABCDEGRST]'
5484 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5485 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5488 symcode='[BCDEGRST]'
5491 symcode='[BCDEGQRST]'
5501 # Handle CRLF in mingw tool chain
5505 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5509 # If we're using GNU nm, then use its standard symbol codes.
5510 case `$NM -V 2>&1` in
5511 *GNU* | *'with BFD'*)
5512 symcode='[ABCDGISTW]' ;;
5515 # Try without a prefix undercore, then with it.
5516 for ac_symprfx in "" "_"; do
5518 # Write the raw and C identifiers.
5519 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5521 # Check to see that the pipe works correctly.
5525 cat > conftest.$ac_ext <<EOF
5530 void nm_test_func(){}
5534 int main(){nm_test_var='a';nm_test_func();return(0);}
5537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5538 (eval $ac_compile) 2>&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); }; then
5542 # Now try to grab the symbols.
5544 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5545 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } && test -s "$nlist"; then
5549 # Try sorting and uniquifying the output.
5550 if sort "$nlist" | uniq > "$nlist"T; then
5551 mv -f "$nlist"T "$nlist"
5556 # Make sure that we snagged all the symbols we need.
5557 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5558 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5559 cat <<EOF > conftest.$ac_ext
5565 # Now generate the symbol file.
5566 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5568 cat <<EOF >> conftest.$ac_ext
5569 #if defined (__STDC__) && __STDC__
5570 # define lt_ptr_t void *
5572 # define lt_ptr_t char *
5576 /* The mapping between symbol names and symbols. */
5581 lt_preloaded_symbols[] =
5584 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5585 cat <<\EOF >> conftest.$ac_ext
5593 # Now try linking the two files.
5594 mv conftest.$ac_objext conftstm.$ac_objext
5595 lt_save_LIBS="$LIBS"
5596 lt_save_CFLAGS="$CFLAGS"
5597 LIBS="conftstm.$ac_objext"
5598 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5600 (eval $ac_link) 2>&5
5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5606 LIBS="$lt_save_LIBS"
5607 CFLAGS="$lt_save_CFLAGS"
5609 echo "cannot find nm_test_func in $nlist" >&5
5612 echo "cannot find nm_test_var in $nlist" >&5
5615 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5618 echo "$progname: failed program was:" >&5
5619 cat conftest.$ac_ext >&5
5621 rm -f conftest* conftst*
5623 # Do not use the global_symbol_pipe unless it works.
5624 if test "$pipe_works" = yes; then
5627 lt_cv_sys_global_symbol_pipe=
5633 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5634 lt_cv_sys_global_symbol_to_cdecl=
5636 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5637 echo "$as_me:$LINENO: result: failed" >&5
5638 echo "${ECHO_T}failed" >&6
5640 echo "$as_me:$LINENO: result: ok" >&5
5641 echo "${ECHO_T}ok" >&6
5644 echo "$as_me:$LINENO: checking for objdir" >&5
5645 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5646 if test "${lt_cv_objdir+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5649 rm -f .libs 2>/dev/null
5650 mkdir .libs 2>/dev/null
5651 if test -d .libs; then
5654 # MS-DOS does not allow filenames that begin with a dot.
5657 rmdir .libs 2>/dev/null
5659 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5660 echo "${ECHO_T}$lt_cv_objdir" >&6
5661 objdir=$lt_cv_objdir
5669 # AIX sometimes has problems with the GCC collect2 program. For some
5670 # reason, if we set the COLLECT_NAMES environment variable, the problems
5671 # vanish in a puff of smoke.
5672 if test "X${COLLECT_NAMES+set}" != Xset; then
5674 export COLLECT_NAMES
5679 # Sed substitution that helps us do robust quoting. It backslashifies
5680 # metacharacters that are still active within double-quoted strings.
5681 Xsed='sed -e s/^X//'
5682 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5684 # Same as above, but do not quote variable references.
5685 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5687 # Sed substitution to delay expansion of an escaped shell variable in a
5688 # double_quote_subst'ed string.
5689 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5691 # Sed substitution to avoid accidental globbing in evaled expressions
5692 no_glob_subst='s/\*/\\\*/g'
5699 can_build_shared=yes
5701 # All known linkers require a `.a' archive for static linking (except M$VC,
5702 # which needs '.lib').
5704 ltmain="$ac_aux_dir/ltmain.sh"
5705 ofile="$default_ofile"
5706 with_gnu_ld="$lt_cv_prog_gnu_ld"
5708 if test -n "$ac_tool_prefix"; then
5709 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5710 set dummy ${ac_tool_prefix}ar; ac_word=$2
5711 echo "$as_me:$LINENO: checking for $ac_word" >&5
5712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5713 if test "${ac_cv_prog_AR+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 if test -n "$AR"; then
5717 ac_cv_prog_AR="$AR" # Let the user override the test.
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_AR="${ac_tool_prefix}ar"
5727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 if test -n "$AR"; then
5737 echo "$as_me:$LINENO: result: $AR" >&5
5738 echo "${ECHO_T}$AR" >&6
5740 echo "$as_me:$LINENO: result: no" >&5
5741 echo "${ECHO_T}no" >&6
5745 if test -z "$ac_cv_prog_AR"; then
5747 # Extract the first word of "ar", so it can be a program name with args.
5748 set dummy ar; ac_word=$2
5749 echo "$as_me:$LINENO: checking for $ac_word" >&5
5750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5751 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5754 if test -n "$ac_ct_AR"; then
5755 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir=.
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5764 ac_cv_prog_ac_ct_AR="ar"
5765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5774 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5775 if test -n "$ac_ct_AR"; then
5776 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5777 echo "${ECHO_T}$ac_ct_AR" >&6
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5788 if test -n "$ac_tool_prefix"; then
5789 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5790 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5791 echo "$as_me:$LINENO: checking for $ac_word" >&5
5792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5793 if test "${ac_cv_prog_RANLIB+set}" = set; then
5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 if test -n "$RANLIB"; then
5797 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5806 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 RANLIB=$ac_cv_prog_RANLIB
5816 if test -n "$RANLIB"; then
5817 echo "$as_me:$LINENO: result: $RANLIB" >&5
5818 echo "${ECHO_T}$RANLIB" >&6
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5825 if test -z "$ac_cv_prog_RANLIB"; then
5826 ac_ct_RANLIB=$RANLIB
5827 # Extract the first word of "ranlib", so it can be a program name with args.
5828 set dummy ranlib; ac_word=$2
5829 echo "$as_me:$LINENO: checking for $ac_word" >&5
5830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5831 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5832 echo $ECHO_N "(cached) $ECHO_C" >&6
5834 if test -n "$ac_ct_RANLIB"; then
5835 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841 test -z "$as_dir" && as_dir=.
5842 for ac_exec_ext in '' $ac_executable_extensions; do
5843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 ac_cv_prog_ac_ct_RANLIB="ranlib"
5845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5854 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5855 if test -n "$ac_ct_RANLIB"; then
5856 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5857 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5863 RANLIB=$ac_ct_RANLIB
5865 RANLIB="$ac_cv_prog_RANLIB"
5868 if test -n "$ac_tool_prefix"; then
5869 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5870 set dummy ${ac_tool_prefix}strip; ac_word=$2
5871 echo "$as_me:$LINENO: checking for $ac_word" >&5
5872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5873 if test "${ac_cv_prog_STRIP+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5876 if test -n "$STRIP"; then
5877 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 STRIP=$ac_cv_prog_STRIP
5896 if test -n "$STRIP"; then
5897 echo "$as_me:$LINENO: result: $STRIP" >&5
5898 echo "${ECHO_T}$STRIP" >&6
5900 echo "$as_me:$LINENO: result: no" >&5
5901 echo "${ECHO_T}no" >&6
5905 if test -z "$ac_cv_prog_STRIP"; then
5907 # Extract the first word of "strip", so it can be a program name with args.
5908 set dummy strip; ac_word=$2
5909 echo "$as_me:$LINENO: checking for $ac_word" >&5
5910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5911 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 if test -n "$ac_ct_STRIP"; then
5915 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 test -z "$as_dir" && as_dir=.
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5924 ac_cv_prog_ac_ct_STRIP="strip"
5925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5934 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5935 if test -n "$ac_ct_STRIP"; then
5936 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5937 echo "${ECHO_T}$ac_ct_STRIP" >&6
5939 echo "$as_me:$LINENO: result: no" >&5
5940 echo "${ECHO_T}no" >&6
5945 STRIP="$ac_cv_prog_STRIP"
5950 old_CFLAGS="$CFLAGS"
5952 # Set sane defaults for various variables
5953 test -z "$AR" && AR=ar
5954 test -z "$AR_FLAGS" && AR_FLAGS=cru
5955 test -z "$AS" && AS=as
5956 test -z "$CC" && CC=cc
5957 test -z "$LTCC" && LTCC=$CC
5958 test -z "$DLLTOOL" && DLLTOOL=dlltool
5959 test -z "$LD" && LD=ld
5960 test -z "$LN_S" && LN_S="ln -s"
5961 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5962 test -z "$NM" && NM=nm
5963 test -z "$SED" && SED=sed
5964 test -z "$OBJDUMP" && OBJDUMP=objdump
5965 test -z "$RANLIB" && RANLIB=:
5966 test -z "$STRIP" && STRIP=:
5967 test -z "$ac_objext" && ac_objext=o
5969 # Determine commands to create old-style static archives.
5970 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5971 old_postinstall_cmds='chmod 644 $oldlib'
5972 old_postuninstall_cmds=
5974 if test -n "$RANLIB"; then
5977 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5980 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5983 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5986 # Only perform the check for file, if the check method requires it
5987 case $deplibs_check_method in
5989 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5990 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5991 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5992 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6000 lt_save_MAGIC_CMD="$MAGIC_CMD"
6001 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6002 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6003 for ac_dir in $ac_dummy; do
6005 test -z "$ac_dir" && ac_dir=.
6006 if test -f $ac_dir/${ac_tool_prefix}file; then
6007 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6008 if test -n "$file_magic_test_file"; then
6009 case $deplibs_check_method in
6011 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6012 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6013 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6014 $EGREP "$file_magic_regex" > /dev/null; then
6019 *** Warning: the command libtool uses to detect shared libraries,
6020 *** $file_magic_cmd, produces output that libtool cannot recognize.
6021 *** The result is that libtool may fail to recognize shared libraries
6022 *** as such. This will affect the creation of libtool libraries that
6023 *** depend on shared libraries, but programs linked with such libtool
6024 *** libraries will work regardless of this problem. Nevertheless, you
6025 *** may want to report the problem to your system manager and/or to
6026 *** bug-libtool@gnu.org
6036 MAGIC_CMD="$lt_save_MAGIC_CMD"
6041 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6042 if test -n "$MAGIC_CMD"; then
6043 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6044 echo "${ECHO_T}$MAGIC_CMD" >&6
6046 echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6
6050 if test -z "$lt_cv_path_MAGIC_CMD"; then
6051 if test -n "$ac_tool_prefix"; then
6052 echo "$as_me:$LINENO: checking for file" >&5
6053 echo $ECHO_N "checking for file... $ECHO_C" >&6
6054 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6062 lt_save_MAGIC_CMD="$MAGIC_CMD"
6063 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6064 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6065 for ac_dir in $ac_dummy; do
6067 test -z "$ac_dir" && ac_dir=.
6068 if test -f $ac_dir/file; then
6069 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6070 if test -n "$file_magic_test_file"; then
6071 case $deplibs_check_method in
6073 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6074 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6075 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6076 $EGREP "$file_magic_regex" > /dev/null; then
6081 *** Warning: the command libtool uses to detect shared libraries,
6082 *** $file_magic_cmd, produces output that libtool cannot recognize.
6083 *** The result is that libtool may fail to recognize shared libraries
6084 *** as such. This will affect the creation of libtool libraries that
6085 *** depend on shared libraries, but programs linked with such libtool
6086 *** libraries will work regardless of this problem. Nevertheless, you
6087 *** may want to report the problem to your system manager and/or to
6088 *** bug-libtool@gnu.org
6098 MAGIC_CMD="$lt_save_MAGIC_CMD"
6103 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6104 if test -n "$MAGIC_CMD"; then
6105 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6106 echo "${ECHO_T}$MAGIC_CMD" >&6
6108 echo "$as_me:$LINENO: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6124 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6125 if test "${enable_libtool_lock+set}" = set; then
6126 enableval="$enable_libtool_lock"
6129 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6132 # Check whether --with-pic or --without-pic was given.
6133 if test "${with_pic+set}" = set; then
6139 test -z "$pic_mode" && pic_mode=default
6141 # Use C for the default configuration in the libtool script
6145 ac_cpp='$CPP $CPPFLAGS'
6146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6151 # Source file extension for C test sources.
6154 # Object file extension for compiled C test sources.
6158 # Code to be used in simple compile tests
6159 lt_simple_compile_test_code="int some_variable = 0;\n"
6161 # Code to be used in simple link tests
6162 lt_simple_link_test_code='int main(){return(0);}\n'
6165 # If no C compiler was specified, use CC.
6168 # Allow CC to be a program name with arguments.
6173 # Check for any special shared library compilation flags.
6176 if test "$GCC" = no; then
6179 lt_prog_cc_shlib='-belf'
6183 if test -n "$lt_prog_cc_shlib"; then
6184 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6185 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6186 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6188 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6189 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6190 lt_cv_prog_cc_can_build_shared=no
6196 # Check to make sure the static flag actually works.
6198 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6199 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6200 if test "${lt_prog_compiler_static_works+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 lt_prog_compiler_static_works=no
6204 save_LDFLAGS="$LDFLAGS"
6205 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6206 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6207 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6208 # The compiler can only warn and ignore the option if not recognized
6209 # So say no if there are warnings
6210 if test -s conftest.err; then
6211 # Append any errors to the config.log.
6212 cat conftest.err 1>&5
6214 lt_prog_compiler_static_works=yes
6218 LDFLAGS="$save_LDFLAGS"
6221 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6222 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6224 if test x"$lt_prog_compiler_static_works" = xyes; then
6227 lt_prog_compiler_static=
6233 ## There is no encapsulation within the following macros, do not change
6234 ## the running order or otherwise move them around unless you know exactly
6235 ## what you are doing...
6237 lt_prog_compiler_no_builtin_flag=
6239 if test "$GCC" = yes; then
6240 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6242 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6243 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6244 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6
6247 lt_cv_prog_compiler_rtti_exceptions=no
6248 ac_outfile=conftest.$ac_objext
6249 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6250 lt_compiler_flag="-fno-rtti -fno-exceptions"
6251 # Insert the option either (1) after the last *FLAGS variable, or
6252 # (2) before a word containing "conftest.", or (3) at the end.
6253 # Note that $ac_compile itself does not contain backslashes and begins
6254 # with a dollar sign (not a hyphen), so the echo should work correctly.
6255 # The option is referenced via a variable to avoid confusing sed.
6256 lt_compile=`echo "$ac_compile" | $SED \
6257 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6258 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6259 -e 's:$: $lt_compiler_flag:'`
6260 (eval echo "\"\$as_me:6260: $lt_compile\"" >&5)
6261 (eval "$lt_compile" 2>conftest.err)
6263 cat conftest.err >&5
6264 echo "$as_me:6264: \$? = $ac_status" >&5
6265 if (exit $ac_status) && test -s "$ac_outfile"; then
6266 # The compiler can only warn and ignore the option if not recognized
6267 # So say no if there are warnings
6268 if test ! -s conftest.err; then
6269 lt_cv_prog_compiler_rtti_exceptions=yes
6275 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6276 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6278 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6279 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6286 lt_prog_compiler_wl=
6287 lt_prog_compiler_pic=
6288 lt_prog_compiler_static=
6290 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6291 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6293 if test "$GCC" = yes; then
6294 lt_prog_compiler_wl='-Wl,'
6295 lt_prog_compiler_static='-static'
6299 # All AIX code is PIC.
6300 if test "$host_cpu" = ia64; then
6301 # AIX 5 now supports IA64 processor
6302 lt_prog_compiler_static='-Bstatic'
6307 # FIXME: we need at least 68020 code to build shared libraries, but
6308 # adding the `-m68020' flag to GCC prevents building anything better,
6310 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6313 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6314 # PIC is the default for these OSes.
6317 mingw* | pw32* | os2*)
6318 # This hack is so that the source file can tell whether it is being
6319 # built for inclusion in a dll (and should export symbols for example).
6320 lt_prog_compiler_pic='-DDLL_EXPORT'
6323 darwin* | rhapsody*)
6324 # PIC is the default on this platform
6325 # Common symbols not allowed in MH_DYLIB files
6326 lt_prog_compiler_pic='-fno-common'
6330 # Just because we use GCC doesn't mean we suddenly get shared libraries
6331 # on systems that don't support them.
6332 lt_prog_compiler_can_build_shared=no
6337 if test -d /usr/nec; then
6338 lt_prog_compiler_pic=-Kconform_pic
6343 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6350 lt_prog_compiler_pic='-fPIC'
6356 lt_prog_compiler_pic='-fPIC'
6360 # PORTME Check for flag to pass linker flags through the system compiler.
6363 lt_prog_compiler_wl='-Wl,'
6364 if test "$host_cpu" = ia64; then
6365 # AIX 5 now supports IA64 processor
6366 lt_prog_compiler_static='-Bstatic'
6368 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6372 mingw* | pw32* | os2*)
6373 # This hack is so that the source file can tell whether it is being
6374 # built for inclusion in a dll (and should export symbols for example).
6375 lt_prog_compiler_pic='-DDLL_EXPORT'
6378 hpux9* | hpux10* | hpux11*)
6379 lt_prog_compiler_wl='-Wl,'
6380 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6387 lt_prog_compiler_pic='+Z'
6390 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6391 lt_prog_compiler_static='${wl}-a ${wl}archive'
6394 irix5* | irix6* | nonstopux*)
6395 lt_prog_compiler_wl='-Wl,'
6396 # PIC (with -KPIC) is the default.
6397 lt_prog_compiler_static='-non_shared'
6401 lt_prog_compiler_pic='-KPIC'
6402 lt_prog_compiler_static='-Bstatic'
6408 lt_prog_compiler_wl='-Wl,'
6409 lt_prog_compiler_pic='-KPIC'
6410 lt_prog_compiler_static='-static'
6413 lt_prog_compiler_wl='-Wl,'
6414 # All Alpha code is PIC.
6415 lt_prog_compiler_static='-non_shared'
6420 osf3* | osf4* | osf5*)
6421 lt_prog_compiler_wl='-Wl,'
6422 # All OSF/1 code is PIC.
6423 lt_prog_compiler_static='-non_shared'
6427 lt_prog_compiler_pic='-Kpic'
6428 lt_prog_compiler_static='-dn'
6432 lt_prog_compiler_wl='-Wl,'
6433 lt_prog_compiler_pic='-KPIC'
6434 lt_prog_compiler_static='-Bstatic'
6438 lt_prog_compiler_wl='-Qoption ld '
6439 lt_prog_compiler_pic='-PIC'
6440 lt_prog_compiler_static='-Bstatic'
6443 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6444 lt_prog_compiler_wl='-Wl,'
6445 lt_prog_compiler_pic='-KPIC'
6446 lt_prog_compiler_static='-Bstatic'
6450 if test -d /usr/nec ;then
6451 lt_prog_compiler_pic='-Kconform_pic'
6452 lt_prog_compiler_static='-Bstatic'
6457 lt_prog_compiler_pic='-pic'
6458 lt_prog_compiler_static='-Bstatic'
6462 lt_prog_compiler_can_build_shared=no
6467 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6468 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6471 # Check to make sure the PIC flag actually works.
6473 if test -n "$lt_prog_compiler_pic"; then
6474 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6475 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6476 if test "${lt_prog_compiler_pic_works+set}" = set; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 lt_prog_compiler_pic_works=no
6480 ac_outfile=conftest.$ac_objext
6481 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6482 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6483 # Insert the option either (1) after the last *FLAGS variable, or
6484 # (2) before a word containing "conftest.", or (3) at the end.
6485 # Note that $ac_compile itself does not contain backslashes and begins
6486 # with a dollar sign (not a hyphen), so the echo should work correctly.
6487 # The option is referenced via a variable to avoid confusing sed.
6488 lt_compile=`echo "$ac_compile" | $SED \
6489 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6490 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6491 -e 's:$: $lt_compiler_flag:'`
6492 (eval echo "\"\$as_me:6492: $lt_compile\"" >&5)
6493 (eval "$lt_compile" 2>conftest.err)
6495 cat conftest.err >&5
6496 echo "$as_me:6496: \$? = $ac_status" >&5
6497 if (exit $ac_status) && test -s "$ac_outfile"; then
6498 # The compiler can only warn and ignore the option if not recognized
6499 # So say no if there are warnings
6500 if test ! -s conftest.err; then
6501 lt_prog_compiler_pic_works=yes
6507 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6508 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6510 if test x"$lt_prog_compiler_pic_works" = xyes; then
6511 case $lt_prog_compiler_pic in
6513 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6516 lt_prog_compiler_pic=
6517 lt_prog_compiler_can_build_shared=no
6522 # For platforms which do not support PIC, -DPIC is meaningless:
6524 lt_prog_compiler_pic=
6527 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6531 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6532 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6533 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6534 echo $ECHO_N "(cached) $ECHO_C" >&6
6536 lt_cv_prog_compiler_c_o=no
6537 $rm -r conftest 2>/dev/null
6541 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6543 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6544 # that will create temporary files in the current directory regardless of
6545 # the output directory. Thus, making CWD read-only will cause this test
6546 # to fail, enabling locking or at least warning the user not to do parallel
6550 lt_compiler_flag="-o out/conftest2.$ac_objext"
6551 # Insert the option either (1) after the last *FLAGS variable, or
6552 # (2) before a word containing "conftest.", or (3) at the end.
6553 # Note that $ac_compile itself does not contain backslashes and begins
6554 # with a dollar sign (not a hyphen), so the echo should work correctly.
6555 lt_compile=`echo "$ac_compile" | $SED \
6556 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6558 -e 's:$: $lt_compiler_flag:'`
6559 (eval echo "\"\$as_me:6559: $lt_compile\"" >&5)
6560 (eval "$lt_compile" 2>out/conftest.err)
6562 cat out/conftest.err >&5
6563 echo "$as_me:6563: \$? = $ac_status" >&5
6564 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6566 # The compiler can only warn and ignore the option if not recognized
6567 # So say no if there are warnings
6568 if test ! -s out/conftest.err; then
6569 lt_cv_prog_compiler_c_o=yes
6580 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6581 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6584 hard_links="nottested"
6585 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6586 # do not overwrite the value of need_locks provided by the user
6587 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6588 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6591 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6593 ln conftest.a conftest.b 2>&5 || hard_links=no
6594 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6595 echo "$as_me:$LINENO: result: $hard_links" >&5
6596 echo "${ECHO_T}$hard_links" >&6
6597 if test "$hard_links" = no; then
6598 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6599 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6606 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6607 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6610 allow_undefined_flag=
6611 enable_shared_with_static_runtimes=no
6613 archive_expsym_cmds=
6614 old_archive_From_new_cmds=
6615 old_archive_from_expsyms_cmds=
6616 export_dynamic_flag_spec=
6617 whole_archive_flag_spec=
6618 thread_safe_flag_spec=
6619 hardcode_libdir_flag_spec=
6620 hardcode_libdir_flag_spec_ld=
6621 hardcode_libdir_separator=
6624 hardcode_shlibpath_var=unsupported
6625 link_all_deplibs=unknown
6626 hardcode_automatic=no
6629 always_export_symbols=no
6630 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6631 # include_expsyms should be a list of space-separated symbols to be *always*
6632 # included in the symbol list
6634 # exclude_expsyms can be an extended regexp of symbols to exclude
6635 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6636 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6637 # as well as any symbol that contains `d'.
6638 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6639 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6640 # platforms (ab)use it in PIC code, but their linkers get confused if
6641 # the symbol is explicitly referenced. Since portable code cannot
6642 # rely on this symbol name, it's probably fine to never include it in
6643 # preloaded symbol tables.
6644 extract_expsyms_cmds=
6647 cygwin* | mingw* | pw32*)
6648 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6649 # When not using gcc, we currently assume that we are using
6650 # Microsoft Visual C++.
6651 if test "$GCC" != yes; then
6661 if test "$with_gnu_ld" = yes; then
6662 # If archive_cmds runs LD, not CC, wlarc should be empty
6665 # See if GNU ld supports shared libraries.
6667 aix3* | aix4* | aix5*)
6668 # On AIX/PPC, the GNU linker is very broken
6669 if test "$host_cpu" != ia64; then
6673 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6674 *** to be unable to reliably create shared libraries on AIX.
6675 *** Therefore, libtool is disabling shared libraries support. If you
6676 *** really care for shared libraries, you may want to modify your PATH
6677 *** so that a non-GNU linker is found, and then restart.
6684 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)'
6685 hardcode_libdir_flag_spec='-L$libdir'
6686 hardcode_minus_L=yes
6688 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6689 # that the semantics of dynamic libraries on AmigaOS, at least up
6690 # to version 4, is to share data among multiple programs linked
6691 # with the same dynamic library. Since this doesn't match the
6692 # behavior of shared libraries on other platforms, we can't use
6698 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6699 allow_undefined_flag=unsupported
6700 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6701 # support --undefined. This deserves some investigation. FIXME
6702 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6708 cygwin* | mingw* | pw32*)
6709 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6710 # as there is no search path for DLLs.
6711 hardcode_libdir_flag_spec='-L$libdir'
6712 allow_undefined_flag=unsupported
6713 always_export_symbols=no
6714 enable_shared_with_static_runtimes=yes
6715 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6717 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6718 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6719 # If the export-symbols file already is a .def file (1st line
6720 # is EXPORTS), use it as is; otherwise, prepend...
6721 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6722 cp $export_symbols $output_objdir/$soname.def;
6724 echo EXPORTS > $output_objdir/$soname.def;
6725 cat $export_symbols >> $output_objdir/$soname.def;
6727 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6734 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6735 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6738 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6739 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6744 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6748 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6749 *** create shared libraries on Solaris systems. Therefore, libtool
6750 *** is disabling shared libraries support. We urge you to upgrade GNU
6751 *** binutils to release 2.9.1 or newer. Another option is to modify
6752 *** your PATH or compiler configuration so that the native linker is
6753 *** used, and then restart.
6756 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6757 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6758 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6765 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6768 hardcode_shlibpath_var=no
6772 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6773 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6774 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6781 if test "$ld_shlibs" = yes; then
6782 runpath_var=LD_RUN_PATH
6783 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6784 export_dynamic_flag_spec='${wl}--export-dynamic'
6785 # ancient GNU ld didn't support --whole-archive et. al.
6786 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6787 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6789 whole_archive_flag_spec=
6793 # PORTME fill in a description of your system's linker (not GNU ld)
6796 allow_undefined_flag=unsupported
6797 always_export_symbols=yes
6798 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'
6799 # Note: this linker hardcodes the directories in LIBPATH if there
6800 # are no directories specified by -L.
6801 hardcode_minus_L=yes
6802 if test "$GCC" = yes && test -z "$link_static_flag"; then
6803 # Neither direct hardcoding nor static linking is supported with a
6805 hardcode_direct=unsupported
6810 if test "$host_cpu" = ia64; then
6811 # On IA64, the linker does run time linking by default, so we don't
6812 # have to do anything special.
6813 aix_use_runtimelinking=no
6814 exp_sym_flag='-Bexport'
6817 # If we're using GNU nm, then we don't want the "-C" option.
6818 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6819 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6820 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'
6822 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'
6824 aix_use_runtimelinking=no
6826 # Test if we are trying to use run time linking or normal
6827 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6828 # need to do runtime linking.
6829 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6830 for ld_flag in $LDFLAGS; do
6831 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6832 aix_use_runtimelinking=yes
6838 exp_sym_flag='-bexport'
6839 no_entry_flag='-bnoentry'
6842 # When large executables or shared objects are built, AIX ld can
6843 # have problems creating the table of contents. If linking a library
6844 # or program results in "error TOC overflow" add -mminimal-toc to
6845 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6846 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6850 hardcode_libdir_separator=':'
6851 link_all_deplibs=yes
6853 if test "$GCC" = yes; then
6854 case $host_os in aix4.012|aix4.012.*)
6855 # We only want to do this on AIX 4.2 and lower, the check
6856 # below for broken collect2 doesn't work under 4.3+
6857 collect2name=`${CC} -print-prog-name=collect2`
6858 if test -f "$collect2name" && \
6859 strings "$collect2name" | grep resolve_lib_name >/dev/null
6861 # We have reworked collect2
6864 # We have old collect2
6865 hardcode_direct=unsupported
6866 # It fails to find uninstalled libraries when the uninstalled
6867 # path is not listed in the libpath. Setting hardcode_minus_L
6868 # to unsupported forces relinking
6869 hardcode_minus_L=yes
6870 hardcode_libdir_flag_spec='-L$libdir'
6871 hardcode_libdir_separator=
6874 shared_flag='-shared'
6877 if test "$host_cpu" = ia64; then
6878 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6879 # chokes on -Wl,-G. The following line is correct:
6882 if test "$aix_use_runtimelinking" = yes; then
6883 shared_flag='${wl}-G'
6885 shared_flag='${wl}-bM:SRE'
6890 # It seems that -bexpall does not export symbols beginning with
6891 # underscore (_), so it is better to generate a list of symbols to export.
6892 always_export_symbols=yes
6893 if test "$aix_use_runtimelinking" = yes; then
6894 # Warning - without using the other runtime loading flags (-brtl),
6895 # -berok will link without error, but may produce a broken library.
6896 allow_undefined_flag='-berok'
6897 # Determine the default libpath from the value encoded in an empty executable.
6898 cat >conftest.$ac_ext <<_ACEOF
6899 #line $LINENO "configure"
6902 cat confdefs.h >>conftest.$ac_ext
6903 cat >>conftest.$ac_ext <<_ACEOF
6904 /* end confdefs.h. */
6914 rm -f conftest.$ac_objext conftest$ac_exeext
6915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6916 (eval $ac_link) 2>&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); } &&
6920 { ac_try='test -s conftest$ac_exeext'
6921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); }; }; then
6927 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6929 # Check for a 64-bit object if we didn't find anything.
6930 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; }
6933 echo "$as_me: failed program was:" >&5
6934 sed 's/^/| /' conftest.$ac_ext >&5
6937 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6938 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6940 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6941 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"
6943 if test "$host_cpu" = ia64; then
6944 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6945 allow_undefined_flag="-z nodefs"
6946 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"
6948 # Determine the default libpath from the value encoded in an empty executable.
6949 cat >conftest.$ac_ext <<_ACEOF
6950 #line $LINENO "configure"
6953 cat confdefs.h >>conftest.$ac_ext
6954 cat >>conftest.$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6965 rm -f conftest.$ac_objext conftest$ac_exeext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6967 (eval $ac_link) 2>&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } &&
6971 { ac_try='test -s conftest$ac_exeext'
6972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); }; }; then
6978 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6980 # Check for a 64-bit object if we didn't find anything.
6981 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; }
6984 echo "$as_me: failed program was:" >&5
6985 sed 's/^/| /' conftest.$ac_ext >&5
6988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6989 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6991 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6992 # Warning - without using the other run time loading flags,
6993 # -berok will link without error, but may produce a broken library.
6994 no_undefined_flag=' ${wl}-bernotok'
6995 allow_undefined_flag=' ${wl}-berok'
6996 # -bexpall does not export symbols beginning with underscore (_)
6997 always_export_symbols=yes
6998 # Exported symbols can be pulled into shared objects from archives
6999 whole_archive_flag_spec=' '
7000 archive_cmds_need_lc=yes
7001 # This is similar to how AIX traditionally builds it's shared libraries.
7002 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'
7008 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)'
7009 hardcode_libdir_flag_spec='-L$libdir'
7010 hardcode_minus_L=yes
7011 # see comment about different semantics on the GNU ld section
7016 export_dynamic_flag_spec=-rdynamic
7019 cygwin* | mingw* | pw32*)
7020 # When not using gcc, we currently assume that we are using
7021 # Microsoft Visual C++.
7022 # hardcode_libdir_flag_spec is actually meaningless, as there is
7023 # no search path for DLLs.
7024 hardcode_libdir_flag_spec=' '
7025 allow_undefined_flag=unsupported
7026 # Tell ltmain to make .lib files, not .a files.
7028 # Tell ltmain to make .dll files, not .so files.
7030 # FIXME: Setting linknames here is a bad hack.
7031 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7032 # The linker will automatically build a .lib file if we build a DLL.
7033 old_archive_From_new_cmds='true'
7034 # FIXME: Should let the user specify the lib program.
7035 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7036 fix_srcfile_path='`cygpath -w "$srcfile"`'
7037 enable_shared_with_static_runtimes=yes
7040 darwin* | rhapsody*)
7041 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7042 archive_cmds_need_lc=no
7044 rhapsody* | darwin1.[012])
7045 allow_undefined_flag='-undefined suppress'
7048 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7051 # FIXME: Relying on posixy $() will cause problems for
7052 # cross-compilation, but unfortunately the echo tests do not
7053 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7054 # `"' quotes if we put them in here... so don't!
7055 lt_int_apple_cc_single_mod=no
7056 output_verbose_link_cmd='echo'
7057 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7058 lt_int_apple_cc_single_mod=yes
7060 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7061 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7063 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'
7065 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7066 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7067 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7068 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}'
7070 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}'
7072 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}'
7074 hardcode_automatic=yes
7075 hardcode_shlibpath_var=unsupported
7076 whole_archive_flag_spec='-all_load $convenience'
7077 link_all_deplibs=yes
7082 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7083 hardcode_libdir_flag_spec='-L$libdir'
7084 hardcode_shlibpath_var=no
7091 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7092 # support. Future versions do this automatically, but an explicit c++rt0.o
7093 # does not break anything, and helps significantly (at the cost of a little
7096 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7097 hardcode_libdir_flag_spec='-R$libdir'
7099 hardcode_shlibpath_var=no
7102 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7104 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7106 hardcode_minus_L=yes
7107 hardcode_shlibpath_var=no
7110 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7112 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7113 hardcode_libdir_flag_spec='-R$libdir'
7115 hardcode_shlibpath_var=no
7119 if test "$GCC" = yes; then
7120 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'
7122 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'
7124 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7125 hardcode_libdir_separator=:
7128 # hardcode_minus_L: Not really in the search PATH,
7129 # but as the default location of the library.
7130 hardcode_minus_L=yes
7131 export_dynamic_flag_spec='${wl}-E'
7135 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7138 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7141 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7147 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7150 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7154 if test "$with_gnu_ld" = no; then
7157 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7158 hardcode_libdir_flag_spec_ld='+b $libdir'
7159 hardcode_libdir_separator=:
7161 hardcode_shlibpath_var=no
7164 hardcode_libdir_flag_spec='-L$libdir'
7166 hardcode_shlibpath_var=no
7168 # hardcode_minus_L: Not really in the search PATH,
7169 # but as the default location of the library.
7170 hardcode_minus_L=yes
7173 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7174 hardcode_libdir_separator=:
7176 export_dynamic_flag_spec='${wl}-E'
7178 # hardcode_minus_L: Not really in the search PATH,
7179 # but as the default location of the library.
7180 hardcode_minus_L=yes
7186 irix5* | irix6* | nonstopux*)
7187 if test "$GCC" = yes; then
7188 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'
7190 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'
7191 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7193 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7194 hardcode_libdir_separator=:
7195 link_all_deplibs=yes
7199 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7200 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7202 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7204 hardcode_libdir_flag_spec='-R$libdir'
7206 hardcode_shlibpath_var=no
7210 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7212 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7213 hardcode_libdir_separator=:
7214 hardcode_shlibpath_var=no
7219 hardcode_shlibpath_var=no
7220 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7221 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7222 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7223 export_dynamic_flag_spec='${wl}-E'
7226 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7227 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7228 hardcode_libdir_flag_spec='-R$libdir'
7231 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7232 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7239 hardcode_libdir_flag_spec='-L$libdir'
7240 hardcode_minus_L=yes
7241 allow_undefined_flag=unsupported
7242 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'
7243 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7247 if test "$GCC" = yes; then
7248 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7249 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'
7251 allow_undefined_flag=' -expect_unresolved \*'
7252 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'
7254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7255 hardcode_libdir_separator=:
7258 osf4* | osf5*) # as osf3* with the addition of -msym flag
7259 if test "$GCC" = yes; then
7260 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7261 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'
7262 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7264 allow_undefined_flag=' -expect_unresolved \*'
7265 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'
7266 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7267 $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'
7269 # Both c and cxx compiler support -rpath directly
7270 hardcode_libdir_flag_spec='-rpath $libdir'
7272 hardcode_libdir_separator=:
7276 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7277 hardcode_shlibpath_var=no
7278 export_dynamic_flag_spec='${wl}-Bexport'
7279 runpath_var=LD_RUN_PATH
7280 hardcode_runpath_var=yes
7284 no_undefined_flag=' -z text'
7285 if test "$GCC" = yes; then
7286 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7287 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7288 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7290 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7291 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7292 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7294 hardcode_libdir_flag_spec='-R$libdir'
7295 hardcode_shlibpath_var=no
7297 solaris2.[0-5] | solaris2.[0-5].*) ;;
7298 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7299 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7301 link_all_deplibs=yes
7305 if test "x$host_vendor" = xsequent; then
7306 # Use $CC to link under sequent, because it throws in some extra .o
7307 # files that make .init and .fini sections work.
7308 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7310 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7312 hardcode_libdir_flag_spec='-L$libdir'
7314 hardcode_minus_L=yes
7315 hardcode_shlibpath_var=no
7319 case $host_vendor in
7321 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7322 hardcode_direct=yes # is this really true???
7325 ## LD is ld it makes a PLAMLIB
7326 ## CC just makes a GrossModule.
7327 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7328 reload_cmds='$CC -r -o $output$reload_objs'
7332 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7333 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7336 runpath_var='LD_RUN_PATH'
7337 hardcode_shlibpath_var=no
7341 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7342 hardcode_shlibpath_var=no
7343 export_dynamic_flag_spec='-Bexport'
7347 if test -d /usr/nec; then
7348 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7349 hardcode_shlibpath_var=no
7350 runpath_var=LD_RUN_PATH
7351 hardcode_runpath_var=yes
7357 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7360 hardcode_shlibpath_var=no
7361 hardcode_runpath_var=yes
7362 runpath_var=LD_RUN_PATH
7365 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7366 no_undefined_flag='${wl}-z ${wl}text'
7367 if test "$GCC" = yes; then
7368 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7370 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7372 runpath_var='LD_RUN_PATH'
7373 hardcode_shlibpath_var=no
7377 no_undefined_flag=' -z text'
7378 # $CC -shared without GNU ld will not create a library from C++
7379 # object files and a static libstdc++, better avoid it by now
7380 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7381 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7382 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7383 hardcode_libdir_flag_spec=
7384 hardcode_shlibpath_var=no
7385 runpath_var='LD_RUN_PATH'
7389 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7390 hardcode_libdir_flag_spec='-L$libdir'
7391 hardcode_shlibpath_var=no
7400 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7401 echo "${ECHO_T}$ld_shlibs" >&6
7402 test "$ld_shlibs" = no && can_build_shared=no
7404 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7405 if test "$GCC" = yes; then
7406 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7410 # Do we need to explicitly link libc?
7412 case "x$archive_cmds_need_lc" in
7414 # Assume -lc should be added
7415 archive_cmds_need_lc=yes
7417 if test "$enable_shared" = yes && test "$GCC" = yes; then
7418 case $archive_cmds in
7420 # FIXME: we may have to deal with multi-command sequences.
7423 # Test whether the compiler implicitly links with -lc since on some
7424 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7425 # to ld, don't add -lc before -lgcc.
7426 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7427 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7429 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7432 (eval $ac_compile) 2>&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); } 2>conftest.err; then
7438 libobjs=conftest.$ac_objext
7440 wl=$lt_prog_compiler_wl
7446 lt_save_allow_undefined_flag=$allow_undefined_flag
7447 allow_undefined_flag=
7448 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7449 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); }
7454 archive_cmds_need_lc=no
7456 archive_cmds_need_lc=yes
7458 allow_undefined_flag=$lt_save_allow_undefined_flag
7460 cat conftest.err 1>&5
7463 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7464 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7471 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7472 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7474 if test -n "$hardcode_libdir_flag_spec" || \
7475 test -n "$runpath_var " || \
7476 test "X$hardcode_automatic"="Xyes" ; then
7478 # We can hardcode non-existant directories.
7479 if test "$hardcode_direct" != no &&
7480 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7481 # have to relink, otherwise we might link with an installed library
7482 # when we should be linking with a yet-to-be-installed one
7483 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7484 test "$hardcode_minus_L" != no; then
7485 # Linking always hardcodes the temporary library directory.
7486 hardcode_action=relink
7488 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7489 hardcode_action=immediate
7492 # We cannot hardcode anything, or else we can only hardcode existing
7494 hardcode_action=unsupported
7496 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7497 echo "${ECHO_T}$hardcode_action" >&6
7499 if test "$hardcode_action" = relink; then
7500 # Fast installation is not supported
7501 enable_fast_install=no
7502 elif test "$shlibpath_overrides_runpath" = yes ||
7503 test "$enable_shared" = no; then
7504 # Fast installation is not necessary
7505 enable_fast_install=needless
7510 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7511 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7512 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7513 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7514 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7515 echo "$as_me:$LINENO: result: yes" >&5
7516 echo "${ECHO_T}yes" >&6
7518 # FIXME - insert some real tests, host_os isn't really good enough
7521 if test -n "$STRIP" ; then
7522 striplib="$STRIP -x"
7523 echo "$as_me:$LINENO: result: yes" >&5
7524 echo "${ECHO_T}yes" >&6
7526 echo "$as_me:$LINENO: result: no" >&5
7527 echo "${ECHO_T}no" >&6
7531 echo "$as_me:$LINENO: result: no" >&5
7532 echo "${ECHO_T}no" >&6
7537 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7538 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7540 libname_spec='lib$name'
7548 shlibpath_overrides_runpath=unknown
7550 dynamic_linker="$host_os ld.so"
7551 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7552 if test "$GCC" = yes; then
7553 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7554 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7555 # if the path contains ";" then we assume it to be the separator
7556 # otherwise default to the standard path separator (i.e. ":") - it is
7557 # assumed that no part of a normal pathname contains ";" but that should
7558 # okay in the real world where ";" in dirpaths is itself problematic.
7559 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7561 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7564 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7566 need_lib_prefix=unknown
7567 hardcode_into_libs=no
7569 # when you set need_version to no, make sure it does not cause -set_version
7570 # flags to be left without arguments
7571 need_version=unknown
7576 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7577 shlibpath_var=LIBPATH
7579 # AIX 3 has no versioning support, so we append a major version to the name.
7580 soname_spec='${libname}${release}${shared_ext}$major'
7587 hardcode_into_libs=yes
7588 if test "$host_cpu" = ia64; then
7589 # AIX 5 supports IA64
7590 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7591 shlibpath_var=LD_LIBRARY_PATH
7593 # With GCC up to 2.95.x, collect2 would create an import file
7594 # for dependence libraries. The import file would start with
7595 # the line `#! .'. This would cause the generated library to
7596 # depend on `.', always an invalid library. This was fixed in
7597 # development snapshots of GCC prior to 3.0.
7599 aix4 | aix4.[01] | aix4.[01].*)
7600 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7602 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7609 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7610 # soname into executable. Probably we can add versioning support to
7611 # collect2, so additional links can be useful in future.
7612 if test "$aix_use_runtimelinking" = yes; then
7613 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7614 # instead of lib<name>.a to let people know that these are not
7615 # typical AIX shared libraries.
7616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7618 # We preserve .a as extension for shared libraries through AIX4.2
7619 # and later when we are not doing run time linking.
7620 library_names_spec='${libname}${release}.a $libname.a'
7621 soname_spec='${libname}${release}${shared_ext}$major'
7623 shlibpath_var=LIBPATH
7628 library_names_spec='$libname.ixlibrary $libname.a'
7629 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7630 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'
7634 library_names_spec='${libname}${shared_ext}'
7635 dynamic_linker="$host_os ld.so"
7636 shlibpath_var=LIBRARY_PATH
7642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7643 soname_spec='${libname}${release}${shared_ext}$major'
7644 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7645 shlibpath_var=LD_LIBRARY_PATH
7646 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7647 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7648 # the default ld.so.conf also contains /usr/contrib/lib and
7649 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7650 # libtool to hard-code these into programs
7653 cygwin* | mingw* | pw32*)
7654 version_type=windows
7659 case $GCC,$host_os in
7660 yes,cygwin* | yes,mingw* | yes,pw32*)
7661 library_names_spec='$libname.dll.a'
7662 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7663 postinstall_cmds='base_file=`basename \${file}`~
7664 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7665 dldir=$destdir/`dirname \$dlpath`~
7666 test -d \$dldir || mkdir -p \$dldir~
7667 $install_prog $dir/$dlname \$dldir/$dlname'
7668 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7669 dlpath=$dir/\$dldll~
7671 shlibpath_overrides_runpath=yes
7675 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7676 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7677 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7680 # MinGW DLLs use traditional 'lib' prefix
7681 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7682 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7683 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7684 # It is most probably a Windows format PATH printed by
7685 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7686 # path with ; separators, and with drive letters. We can handle the
7687 # drive letters (cygwin fileutils understands them), so leave them,
7688 # especially as we might pass files found there to a mingw objdump,
7689 # which wouldn't understand a cygwinified path. Ahh.
7690 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7692 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7696 # pw32 DLLs use 'pw' prefix rather than 'lib'
7697 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7703 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7706 dynamic_linker='Win32 ld.exe'
7707 # FIXME: first we should search . and the directory the executable is in
7711 darwin* | rhapsody*)
7712 dynamic_linker="$host_os dyld"
7716 # FIXME: Relying on posixy $() will cause problems for
7717 # cross-compilation, but unfortunately the echo tests do not
7718 # yet detect zsh echo's removal of \ escapes.
7719 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7720 soname_spec='${libname}${release}${major}$shared_ext'
7721 shlibpath_overrides_runpath=yes
7722 shlibpath_var=DYLD_LIBRARY_PATH
7723 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7724 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7725 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7726 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"`
7728 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7736 soname_spec='${libname}${release}${shared_ext}$major'
7737 shlibpath_var=LD_LIBRARY_PATH
7745 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7746 version_type=freebsd-$objformat
7747 case $version_type in
7749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7754 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7758 shlibpath_var=LD_LIBRARY_PATH
7761 shlibpath_overrides_runpath=yes
7763 freebsd3.01* | freebsdelf3.01*)
7764 shlibpath_overrides_runpath=yes
7765 hardcode_into_libs=yes
7768 shlibpath_overrides_runpath=no
7769 hardcode_into_libs=yes
7778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7779 soname_spec='${libname}${release}${shared_ext}$major'
7780 shlibpath_var=LD_LIBRARY_PATH
7781 hardcode_into_libs=yes
7784 hpux9* | hpux10* | hpux11*)
7785 # Give a soname corresponding to the major version so that dld.sl refuses to
7786 # link against other versions.
7793 hardcode_into_libs=yes
7794 dynamic_linker="$host_os dld.so"
7795 shlibpath_var=LD_LIBRARY_PATH
7796 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7798 soname_spec='${libname}${release}${shared_ext}$major'
7799 if test "X$HPUX_IA64_MODE" = X32; then
7800 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7802 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7804 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7808 hardcode_into_libs=yes
7809 dynamic_linker="$host_os dld.sl"
7810 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7811 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7813 soname_spec='${libname}${release}${shared_ext}$major'
7814 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7815 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7819 dynamic_linker="$host_os dld.sl"
7820 shlibpath_var=SHLIB_PATH
7821 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7823 soname_spec='${libname}${release}${shared_ext}$major'
7826 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7827 postinstall_cmds='chmod 555 $lib'
7830 irix5* | irix6* | nonstopux*)
7832 nonstopux*) version_type=nonstopux ;;
7834 if test "$lt_cv_prog_gnu_ld" = yes; then
7842 soname_spec='${libname}${release}${shared_ext}$major'
7843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7845 irix5* | nonstopux*)
7849 case $LD in # libtool.m4 will add one of these switches to LD
7850 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7851 libsuff= shlibsuff= libmagic=32-bit;;
7852 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7853 libsuff=32 shlibsuff=N32 libmagic=N32;;
7854 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7855 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7856 *) libsuff= shlibsuff= libmagic=never-match;;
7860 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7861 shlibpath_overrides_runpath=no
7862 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7863 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7864 hardcode_into_libs=yes
7867 # No shared lib support for Linux oldld, aout, or coff.
7868 linux*oldld* | linux*aout* | linux*coff*)
7872 # This must be Linux ELF.
7877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7878 soname_spec='${libname}${release}${shared_ext}$major'
7879 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7880 shlibpath_var=LD_LIBRARY_PATH
7881 shlibpath_overrides_runpath=no
7882 # This implies no fast_install, which is unacceptable.
7883 # Some rework will be needed to allow for fast_install
7884 # before this can be enabled.
7885 hardcode_into_libs=yes
7887 # We used to test for /lib/ld.so.1 and disable shared libraries on
7888 # powerpc, because MkLinux only supported shared libraries with the
7889 # GNU dynamic linker. Since this was broken with cross compilers,
7890 # most powerpc-linux boxes support dynamic linking these days and
7891 # people can always --disable-shared, the test was removed, and we
7892 # assume the GNU/Linux dynamic linker is in use.
7893 dynamic_linker='GNU/Linux ld.so'
7900 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7902 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7903 dynamic_linker='NetBSD (a.out) ld.so'
7905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7906 soname_spec='${libname}${release}${shared_ext}$major'
7907 dynamic_linker='NetBSD ld.elf_so'
7909 shlibpath_var=LD_LIBRARY_PATH
7910 shlibpath_overrides_runpath=yes
7911 hardcode_into_libs=yes
7916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7917 shlibpath_var=LD_LIBRARY_PATH
7918 shlibpath_overrides_runpath=yes
7925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7926 soname_spec='${libname}${release}${shared_ext}$major'
7927 shlibpath_var=LD_LIBRARY_PATH
7928 shlibpath_overrides_runpath=yes
7935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7936 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7937 shlibpath_var=LD_LIBRARY_PATH
7938 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7940 openbsd2.[89] | openbsd2.[89].*)
7941 shlibpath_overrides_runpath=no
7944 shlibpath_overrides_runpath=yes
7948 shlibpath_overrides_runpath=yes
7953 libname_spec='$name'
7956 library_names_spec='$libname${shared_ext} $libname.a'
7957 dynamic_linker='OS/2 ld.exe'
7958 shlibpath_var=LIBPATH
7961 osf3* | osf4* | osf5*)
7965 soname_spec='${libname}${release}${shared_ext}$major'
7966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7967 shlibpath_var=LD_LIBRARY_PATH
7968 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7969 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7974 soname_spec='${libname}${release}${shared_ext}$major'
7975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7976 shlibpath_var=LD_LIBRARY_PATH
7983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7984 soname_spec='${libname}${release}${shared_ext}$major'
7985 shlibpath_var=LD_LIBRARY_PATH
7986 shlibpath_overrides_runpath=yes
7987 hardcode_into_libs=yes
7988 # ldd complains unless libraries are executable
7989 postinstall_cmds='chmod +x $lib'
7994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7995 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7996 shlibpath_var=LD_LIBRARY_PATH
7997 shlibpath_overrides_runpath=yes
7998 if test "$with_gnu_ld" = yes; then
8004 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8007 soname_spec='${libname}${release}${shared_ext}$major'
8008 shlibpath_var=LD_LIBRARY_PATH
8009 case $host_vendor in
8011 shlibpath_overrides_runpath=no
8013 export_dynamic_flag_spec='${wl}-Blargedynsym'
8014 runpath_var=LD_RUN_PATH
8022 shlibpath_overrides_runpath=no
8023 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8029 if test -d /usr/nec ;then
8031 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8032 soname_spec='$libname${shared_ext}.$major'
8033 shlibpath_var=LD_LIBRARY_PATH
8039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8040 soname_spec='${libname}${release}${shared_ext}$major'
8041 shlibpath_var=LD_LIBRARY_PATH
8048 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8049 echo "${ECHO_T}$dynamic_linker" >&6
8050 test "$dynamic_linker" = no && can_build_shared=no
8052 if test "x$enable_dlopen" != xyes; then
8053 enable_dlopen=unknown
8054 enable_dlopen_self=unknown
8055 enable_dlopen_self_static=unknown
8062 lt_cv_dlopen="load_add_on"
8064 lt_cv_dlopen_self=yes
8068 lt_cv_dlopen="LoadLibrary"
8073 lt_cv_dlopen="dlopen"
8078 # if libdl is installed we need to link against it
8079 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8080 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8081 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8082 echo $ECHO_N "(cached) $ECHO_C" >&6
8084 ac_check_lib_save_LIBS=$LIBS
8086 cat >conftest.$ac_ext <<_ACEOF
8087 #line $LINENO "configure"
8090 cat confdefs.h >>conftest.$ac_ext
8091 cat >>conftest.$ac_ext <<_ACEOF
8092 /* end confdefs.h. */
8094 /* Override any gcc2 internal prototype to avoid an error. */
8098 /* We use char because int might match the return type of a gcc2
8099 builtin and then its argument prototype would still apply. */
8109 rm -f conftest.$ac_objext conftest$ac_exeext
8110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8111 (eval $ac_link) 2>&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); } &&
8115 { ac_try='test -s conftest$ac_exeext'
8116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); }; }; then
8121 ac_cv_lib_dl_dlopen=yes
8123 echo "$as_me: failed program was:" >&5
8124 sed 's/^/| /' conftest.$ac_ext >&5
8126 ac_cv_lib_dl_dlopen=no
8128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8129 LIBS=$ac_check_lib_save_LIBS
8131 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8132 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8133 if test $ac_cv_lib_dl_dlopen = yes; then
8134 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8139 lt_cv_dlopen_self=yes
8146 echo "$as_me:$LINENO: checking for shl_load" >&5
8147 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8148 if test "${ac_cv_func_shl_load+set}" = set; then
8149 echo $ECHO_N "(cached) $ECHO_C" >&6
8151 cat >conftest.$ac_ext <<_ACEOF
8152 #line $LINENO "configure"
8155 cat confdefs.h >>conftest.$ac_ext
8156 cat >>conftest.$ac_ext <<_ACEOF
8157 /* end confdefs.h. */
8158 /* System header to define __stub macros and hopefully few prototypes,
8159 which can conflict with char shl_load (); below.
8160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8161 <limits.h> exists even on freestanding compilers. */
8163 # include <limits.h>
8165 # include <assert.h>
8167 /* Override any gcc2 internal prototype to avoid an error. */
8172 /* We use char because int might match the return type of a gcc2
8173 builtin and then its argument prototype would still apply. */
8175 /* The GNU C library defines this for functions which it implements
8176 to always fail with ENOSYS. Some functions are actually named
8177 something starting with __ and the normal name is an alias. */
8178 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8181 char (*f) () = shl_load;
8190 return f != shl_load;
8195 rm -f conftest.$ac_objext conftest$ac_exeext
8196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8197 (eval $ac_link) 2>&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } &&
8201 { ac_try='test -s conftest$ac_exeext'
8202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; }; then
8207 ac_cv_func_shl_load=yes
8209 echo "$as_me: failed program was:" >&5
8210 sed 's/^/| /' conftest.$ac_ext >&5
8212 ac_cv_func_shl_load=no
8214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8216 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8217 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8218 if test $ac_cv_func_shl_load = yes; then
8219 lt_cv_dlopen="shl_load"
8221 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8222 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8223 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8224 echo $ECHO_N "(cached) $ECHO_C" >&6
8226 ac_check_lib_save_LIBS=$LIBS
8228 cat >conftest.$ac_ext <<_ACEOF
8229 #line $LINENO "configure"
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8236 /* Override any gcc2 internal prototype to avoid an error. */
8240 /* We use char because int might match the return type of a gcc2
8241 builtin and then its argument prototype would still apply. */
8251 rm -f conftest.$ac_objext conftest$ac_exeext
8252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8253 (eval $ac_link) 2>&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); } &&
8257 { ac_try='test -s conftest$ac_exeext'
8258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); }; }; then
8263 ac_cv_lib_dld_shl_load=yes
8265 echo "$as_me: failed program was:" >&5
8266 sed 's/^/| /' conftest.$ac_ext >&5
8268 ac_cv_lib_dld_shl_load=no
8270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8271 LIBS=$ac_check_lib_save_LIBS
8273 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8274 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8275 if test $ac_cv_lib_dld_shl_load = yes; then
8276 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8278 echo "$as_me:$LINENO: checking for dlopen" >&5
8279 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8280 if test "${ac_cv_func_dlopen+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8283 cat >conftest.$ac_ext <<_ACEOF
8284 #line $LINENO "configure"
8287 cat confdefs.h >>conftest.$ac_ext
8288 cat >>conftest.$ac_ext <<_ACEOF
8289 /* end confdefs.h. */
8290 /* System header to define __stub macros and hopefully few prototypes,
8291 which can conflict with char dlopen (); below.
8292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8293 <limits.h> exists even on freestanding compilers. */
8295 # include <limits.h>
8297 # include <assert.h>
8299 /* Override any gcc2 internal prototype to avoid an error. */
8304 /* We use char because int might match the return type of a gcc2
8305 builtin and then its argument prototype would still apply. */
8307 /* The GNU C library defines this for functions which it implements
8308 to always fail with ENOSYS. Some functions are actually named
8309 something starting with __ and the normal name is an alias. */
8310 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8313 char (*f) () = dlopen;
8327 rm -f conftest.$ac_objext conftest$ac_exeext
8328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8329 (eval $ac_link) 2>&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); } &&
8333 { ac_try='test -s conftest$ac_exeext'
8334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); }; }; then
8339 ac_cv_func_dlopen=yes
8341 echo "$as_me: failed program was:" >&5
8342 sed 's/^/| /' conftest.$ac_ext >&5
8344 ac_cv_func_dlopen=no
8346 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8348 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8349 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8350 if test $ac_cv_func_dlopen = yes; then
8351 lt_cv_dlopen="dlopen"
8353 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8354 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8355 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 ac_check_lib_save_LIBS=$LIBS
8360 cat >conftest.$ac_ext <<_ACEOF
8361 #line $LINENO "configure"
8364 cat confdefs.h >>conftest.$ac_ext
8365 cat >>conftest.$ac_ext <<_ACEOF
8366 /* end confdefs.h. */
8368 /* Override any gcc2 internal prototype to avoid an error. */
8372 /* We use char because int might match the return type of a gcc2
8373 builtin and then its argument prototype would still apply. */
8383 rm -f conftest.$ac_objext conftest$ac_exeext
8384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8385 (eval $ac_link) 2>&5
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); } &&
8389 { ac_try='test -s conftest$ac_exeext'
8390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); }; }; then
8395 ac_cv_lib_dl_dlopen=yes
8397 echo "$as_me: failed program was:" >&5
8398 sed 's/^/| /' conftest.$ac_ext >&5
8400 ac_cv_lib_dl_dlopen=no
8402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8403 LIBS=$ac_check_lib_save_LIBS
8405 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8406 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8407 if test $ac_cv_lib_dl_dlopen = yes; then
8408 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8410 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8411 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8412 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8415 ac_check_lib_save_LIBS=$LIBS
8417 cat >conftest.$ac_ext <<_ACEOF
8418 #line $LINENO "configure"
8421 cat confdefs.h >>conftest.$ac_ext
8422 cat >>conftest.$ac_ext <<_ACEOF
8423 /* end confdefs.h. */
8425 /* Override any gcc2 internal prototype to avoid an error. */
8429 /* We use char because int might match the return type of a gcc2
8430 builtin and then its argument prototype would still apply. */
8440 rm -f conftest.$ac_objext conftest$ac_exeext
8441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8442 (eval $ac_link) 2>&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } &&
8446 { ac_try='test -s conftest$ac_exeext'
8447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); }; }; then
8452 ac_cv_lib_svld_dlopen=yes
8454 echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.$ac_ext >&5
8457 ac_cv_lib_svld_dlopen=no
8459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8460 LIBS=$ac_check_lib_save_LIBS
8462 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8463 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8464 if test $ac_cv_lib_svld_dlopen = yes; then
8465 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8467 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8468 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8469 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8470 echo $ECHO_N "(cached) $ECHO_C" >&6
8472 ac_check_lib_save_LIBS=$LIBS
8474 cat >conftest.$ac_ext <<_ACEOF
8475 #line $LINENO "configure"
8478 cat confdefs.h >>conftest.$ac_ext
8479 cat >>conftest.$ac_ext <<_ACEOF
8480 /* end confdefs.h. */
8482 /* Override any gcc2 internal prototype to avoid an error. */
8486 /* We use char because int might match the return type of a gcc2
8487 builtin and then its argument prototype would still apply. */
8497 rm -f conftest.$ac_objext conftest$ac_exeext
8498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8499 (eval $ac_link) 2>&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); } &&
8503 { ac_try='test -s conftest$ac_exeext'
8504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 (exit $ac_status); }; }; then
8509 ac_cv_lib_dld_dld_link=yes
8511 echo "$as_me: failed program was:" >&5
8512 sed 's/^/| /' conftest.$ac_ext >&5
8514 ac_cv_lib_dld_dld_link=no
8516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8517 LIBS=$ac_check_lib_save_LIBS
8519 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8520 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8521 if test $ac_cv_lib_dld_dld_link = yes; then
8522 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8543 if test "x$lt_cv_dlopen" != xno; then
8549 case $lt_cv_dlopen in
8551 save_CPPFLAGS="$CPPFLAGS"
8552 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8554 save_LDFLAGS="$LDFLAGS"
8555 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8558 LIBS="$lt_cv_dlopen_libs $LIBS"
8560 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8561 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8562 if test "${lt_cv_dlopen_self+set}" = set; then
8563 echo $ECHO_N "(cached) $ECHO_C" >&6
8565 if test "$cross_compiling" = yes; then :
8566 lt_cv_dlopen_self=cross
8568 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8569 lt_status=$lt_dlunknown
8570 cat > conftest.$ac_ext <<EOF
8571 #line 8571 "configure"
8572 #include "confdefs.h"
8581 # define LT_DLGLOBAL RTLD_GLOBAL
8584 # define LT_DLGLOBAL DL_GLOBAL
8586 # define LT_DLGLOBAL 0
8590 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8591 find out it does not work in some platform. */
8592 #ifndef LT_DLLAZY_OR_NOW
8594 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8597 # define LT_DLLAZY_OR_NOW DL_LAZY
8600 # define LT_DLLAZY_OR_NOW RTLD_NOW
8603 # define LT_DLLAZY_OR_NOW DL_NOW
8605 # define LT_DLLAZY_OR_NOW 0
8613 extern "C" void exit (int);
8616 void fnord() { int i=42;}
8619 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8620 int status = $lt_dlunknown;
8624 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8625 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8626 /* dlclose (self); */
8632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8633 (eval $ac_link) 2>&5
8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8637 (./conftest; exit; ) 2>/dev/null
8640 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8641 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8642 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8645 # compilation failed
8646 lt_cv_dlopen_self=no
8653 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8654 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8656 if test "x$lt_cv_dlopen_self" = xyes; then
8657 LDFLAGS="$LDFLAGS $link_static_flag"
8658 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8659 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8660 if test "${lt_cv_dlopen_self_static+set}" = set; then
8661 echo $ECHO_N "(cached) $ECHO_C" >&6
8663 if test "$cross_compiling" = yes; then :
8664 lt_cv_dlopen_self_static=cross
8666 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8667 lt_status=$lt_dlunknown
8668 cat > conftest.$ac_ext <<EOF
8669 #line 8669 "configure"
8670 #include "confdefs.h"
8679 # define LT_DLGLOBAL RTLD_GLOBAL
8682 # define LT_DLGLOBAL DL_GLOBAL
8684 # define LT_DLGLOBAL 0
8688 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8689 find out it does not work in some platform. */
8690 #ifndef LT_DLLAZY_OR_NOW
8692 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8695 # define LT_DLLAZY_OR_NOW DL_LAZY
8698 # define LT_DLLAZY_OR_NOW RTLD_NOW
8701 # define LT_DLLAZY_OR_NOW DL_NOW
8703 # define LT_DLLAZY_OR_NOW 0
8711 extern "C" void exit (int);
8714 void fnord() { int i=42;}
8717 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8718 int status = $lt_dlunknown;
8722 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8723 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8724 /* dlclose (self); */
8730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8731 (eval $ac_link) 2>&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8735 (./conftest; exit; ) 2>/dev/null
8738 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8739 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8740 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8743 # compilation failed
8744 lt_cv_dlopen_self_static=no
8751 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8752 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8755 CPPFLAGS="$save_CPPFLAGS"
8756 LDFLAGS="$save_LDFLAGS"
8761 case $lt_cv_dlopen_self in
8762 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8763 *) enable_dlopen_self=unknown ;;
8766 case $lt_cv_dlopen_self_static in
8767 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8768 *) enable_dlopen_self_static=unknown ;;
8773 # Report which librarie types wil actually be built
8774 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8775 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8776 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8777 echo "${ECHO_T}$can_build_shared" >&6
8779 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8780 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8781 test "$can_build_shared" = "no" && enable_shared=no
8783 # On AIX, shared libraries and static libraries use the same namespace, and
8784 # are all built from PIC.
8787 test "$enable_shared" = yes && enable_static=no
8788 if test -n "$RANLIB"; then
8789 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8790 postinstall_cmds='$RANLIB $lib'
8795 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8796 test "$enable_shared" = yes && enable_static=no
8799 darwin* | rhapsody*)
8800 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8801 archive_cmds_need_lc=no
8803 rhapsody* | darwin1.[012])
8804 allow_undefined_flag='-undefined suppress'
8807 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8810 # FIXME: Relying on posixy $() will cause problems for
8811 # cross-compilation, but unfortunately the echo tests do not
8812 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8813 # `"' quotes if we put them in here... so don't!
8814 output_verbose_link_cmd='echo'
8815 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8816 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8817 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8818 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}'
8819 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}'
8821 hardcode_automatic=yes
8822 hardcode_shlibpath_var=unsupported
8823 whole_archive_flag_spec='-all_load $convenience'
8824 link_all_deplibs=yes
8828 echo "$as_me:$LINENO: result: $enable_shared" >&5
8829 echo "${ECHO_T}$enable_shared" >&6
8831 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8832 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8833 # Make sure either enable_shared or enable_static is yes.
8834 test "$enable_shared" = yes || enable_static=yes
8835 echo "$as_me:$LINENO: result: $enable_static" >&5
8836 echo "${ECHO_T}$enable_static" >&6
8838 # The else clause should only fire when bootstrapping the
8839 # libtool distribution, otherwise you forgot to ship ltmain.sh
8840 # with your package, and you will get complaints that there are
8841 # no rules to generate ltmain.sh.
8842 if test -f "$ltmain"; then
8843 # See if we are running on zsh, and set the options which allow our commands through
8844 # without removal of \ escapes.
8845 if test -n "${ZSH_VERSION+set}" ; then
8846 setopt NO_GLOB_SUBST
8848 # Now quote all the things that may contain metacharacters while being
8849 # careful not to overquote the AC_SUBSTed values. We take copies of the
8850 # variables and quote the copies for generation of the libtool script.
8851 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8852 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8853 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8854 deplibs_check_method reload_flag reload_cmds need_locks \
8855 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8856 lt_cv_sys_global_symbol_to_c_name_address \
8857 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8858 old_postinstall_cmds old_postuninstall_cmds \
8862 lt_prog_compiler_wl \
8863 lt_prog_compiler_pic \
8864 lt_prog_compiler_static \
8865 lt_prog_compiler_no_builtin_flag \
8866 export_dynamic_flag_spec \
8867 thread_safe_flag_spec \
8868 whole_archive_flag_spec \
8869 enable_shared_with_static_runtimes \
8871 old_archive_from_new_cmds \
8876 compiler_lib_search_path \
8878 archive_expsym_cmds \
8880 postuninstall_cmds \
8881 old_archive_from_expsyms_cmds \
8882 allow_undefined_flag \
8884 export_symbols_cmds \
8885 hardcode_libdir_flag_spec \
8886 hardcode_libdir_flag_spec_ld \
8887 hardcode_libdir_separator \
8888 hardcode_automatic \
8890 module_expsym_cmds \
8891 lt_cv_prog_compiler_c_o \
8896 old_archive_cmds | \
8897 old_archive_from_new_cmds | \
8899 archive_expsym_cmds | \
8901 module_expsym_cmds | \
8902 old_archive_from_expsyms_cmds | \
8903 export_symbols_cmds | \
8904 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8905 postinstall_cmds | postuninstall_cmds | \
8906 old_postinstall_cmds | old_postuninstall_cmds | \
8907 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8908 # Double-quote double-evaled strings.
8909 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8912 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8918 *'\$0 --fallback-echo"')
8919 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8924 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8926 { echo "$as_me:$LINENO: creating $ofile" >&5
8927 echo "$as_me: creating $ofile" >&6;}
8929 cat <<__EOF__ >> "$cfgfile"
8932 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8933 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8934 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8936 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8937 # Free Software Foundation, Inc.
8939 # This file is part of GNU Libtool:
8940 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8942 # This program is free software; you can redistribute it and/or modify
8943 # it under the terms of the GNU General Public License as published by
8944 # the Free Software Foundation; either version 2 of the License, or
8945 # (at your option) any later version.
8947 # This program is distributed in the hope that it will be useful, but
8948 # WITHOUT ANY WARRANTY; without even the implied warranty of
8949 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8950 # General Public License for more details.
8952 # You should have received a copy of the GNU General Public License
8953 # along with this program; if not, write to the Free Software
8954 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8956 # As a special exception to the GNU General Public License, if you
8957 # distribute this file as part of a program that contains a
8958 # configuration script generated by Autoconf, you may include it under
8959 # the same distribution terms that you use for the rest of that program.
8961 # A sed program that does not truncate output.
8964 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8965 Xsed="$SED -e s/^X//"
8967 # The HP-UX ksh and POSIX shell print the target directory to stdout
8969 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8971 # The names of the tagged configurations supported by this script.
8974 # ### BEGIN LIBTOOL CONFIG
8976 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8978 # Shell to use when invoking shell scripts.
8981 # Whether or not to build shared libraries.
8982 build_libtool_libs=$enable_shared
8984 # Whether or not to build static libraries.
8985 build_old_libs=$enable_static
8987 # Whether or not to add -lc for building shared libraries.
8988 build_libtool_need_lc=$archive_cmds_need_lc
8990 # Whether or not to disallow shared libs when runtime libs are static
8991 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8993 # Whether or not to optimize for fast installation.
8994 fast_install=$enable_fast_install
8997 host_alias=$host_alias
9000 # An echo program that does not interpret backslashes.
9005 AR_FLAGS=$lt_AR_FLAGS
9010 # A language-specific compiler.
9013 # Is the compiler the GNU C compiler?
9019 # The linker used to build libraries.
9022 # Whether we need hard or soft links.
9025 # A BSD-compatible nm program.
9028 # A symbol stripping program
9031 # Used to examine libraries when file_magic_cmd begins "file"
9032 MAGIC_CMD=$MAGIC_CMD
9034 # Used on cygwin: DLL creation program.
9037 # Used on cygwin: object dumper.
9040 # Used on cygwin: assembler.
9043 # The name of the directory that contains temporary libtool files.
9046 # How to create reloadable object files.
9047 reload_flag=$lt_reload_flag
9048 reload_cmds=$lt_reload_cmds
9050 # How to pass a linker flag through the compiler.
9051 wl=$lt_lt_prog_compiler_wl
9053 # Object file suffix (normally "o").
9056 # Old archive suffix (normally "a").
9059 # Shared library suffix (normally ".so").
9062 # Executable file suffix (normally "").
9065 # Additional compiler flags for building library objects.
9066 pic_flag=$lt_lt_prog_compiler_pic
9069 # What is the maximum length of a command?
9070 max_cmd_len=$lt_cv_sys_max_cmd_len
9072 # Does compiler simultaneously support -c and -o options?
9073 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9075 # Must we lock files when doing compilation ?
9076 need_locks=$lt_need_locks
9078 # Do we need the lib prefix for modules?
9079 need_lib_prefix=$need_lib_prefix
9081 # Do we need a version for libraries?
9082 need_version=$need_version
9084 # Whether dlopen is supported.
9085 dlopen_support=$enable_dlopen
9087 # Whether dlopen of programs is supported.
9088 dlopen_self=$enable_dlopen_self
9090 # Whether dlopen of statically linked programs is supported.
9091 dlopen_self_static=$enable_dlopen_self_static
9093 # Compiler flag to prevent dynamic linking.
9094 link_static_flag=$lt_lt_prog_compiler_static
9096 # Compiler flag to turn off builtin functions.
9097 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9099 # Compiler flag to allow reflexive dlopens.
9100 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9102 # Compiler flag to generate shared objects directly from archives.
9103 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9105 # Compiler flag to generate thread-safe objects.
9106 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9108 # Library versioning type.
9109 version_type=$version_type
9111 # Format of library name prefix.
9112 libname_spec=$lt_libname_spec
9114 # List of archive names. First name is the real one, the rest are links.
9115 # The last name is the one that the linker finds with -lNAME.
9116 library_names_spec=$lt_library_names_spec
9118 # The coded name of the library, if different from the real name.
9119 soname_spec=$lt_soname_spec
9121 # Commands used to build and install an old-style archive.
9123 old_archive_cmds=$lt_old_archive_cmds
9124 old_postinstall_cmds=$lt_old_postinstall_cmds
9125 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9127 # Create an old-style archive from a shared archive.
9128 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9130 # Create a temporary old-style archive to link instead of a shared archive.
9131 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9133 # Commands used to build and install a shared archive.
9134 archive_cmds=$lt_archive_cmds
9135 archive_expsym_cmds=$lt_archive_expsym_cmds
9136 postinstall_cmds=$lt_postinstall_cmds
9137 postuninstall_cmds=$lt_postuninstall_cmds
9139 # Commands used to build a loadable module (assumed same as above if empty)
9140 module_cmds=$lt_module_cmds
9141 module_expsym_cmds=$lt_module_expsym_cmds
9143 # Commands to strip libraries.
9144 old_striplib=$lt_old_striplib
9145 striplib=$lt_striplib
9147 # Dependencies to place before the objects being linked to create a
9149 predep_objects=$lt_predep_objects
9151 # Dependencies to place after the objects being linked to create a
9153 postdep_objects=$lt_postdep_objects
9155 # Dependencies to place before the objects being linked to create a
9159 # Dependencies to place after the objects being linked to create a
9161 postdeps=$lt_postdeps
9163 # The library search path used internally by the compiler when linking
9165 compiler_lib_search_path=$lt_compiler_lib_search_path
9167 # Method to check whether dependent libraries are shared objects.
9168 deplibs_check_method=$lt_deplibs_check_method
9170 # Command to use when deplibs_check_method == file_magic.
9171 file_magic_cmd=$lt_file_magic_cmd
9173 # Flag that allows shared libraries with undefined symbols to be built.
9174 allow_undefined_flag=$lt_allow_undefined_flag
9176 # Flag that forces no undefined symbols.
9177 no_undefined_flag=$lt_no_undefined_flag
9179 # Commands used to finish a libtool library installation in a directory.
9180 finish_cmds=$lt_finish_cmds
9182 # Same as above, but a single script fragment to be evaled but not shown.
9183 finish_eval=$lt_finish_eval
9185 # Take the output of nm and produce a listing of raw symbols and C names.
9186 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9188 # Transform the output of nm in a proper C declaration
9189 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9191 # Transform the output of nm in a C name address pair
9192 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9194 # This is the shared library runtime path variable.
9195 runpath_var=$runpath_var
9197 # This is the shared library path variable.
9198 shlibpath_var=$shlibpath_var
9200 # Is shlibpath searched before the hard-coded library search path?
9201 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9203 # How to hardcode a shared library path into an executable.
9204 hardcode_action=$hardcode_action
9206 # Whether we should hardcode library paths into libraries.
9207 hardcode_into_libs=$hardcode_into_libs
9209 # Flag to hardcode \$libdir into a binary during linking.
9210 # This must work even if \$libdir does not exist.
9211 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9213 # If ld is used when linking, flag to hardcode \$libdir into
9214 # a binary during linking. This must work even if \$libdir does
9216 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9218 # Whether we need a single -rpath flag with a separated argument.
9219 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9221 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9223 hardcode_direct=$hardcode_direct
9225 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9227 hardcode_minus_L=$hardcode_minus_L
9229 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9230 # the resulting binary.
9231 hardcode_shlibpath_var=$hardcode_shlibpath_var
9233 # Set to yes if building a shared library automatically hardcodes DIR into the library
9234 # and all subsequent libraries and executables linked against it.
9235 hardcode_automatic=$hardcode_automatic
9237 # Variables whose values should be saved in libtool wrapper scripts and
9238 # restored at relink time.
9239 variables_saved_for_relink="$variables_saved_for_relink"
9241 # Whether libtool must link a program against all its dependency libraries.
9242 link_all_deplibs=$link_all_deplibs
9244 # Compile-time system search path for libraries
9245 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9247 # Run-time system search path for libraries
9248 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9250 # Fix the shell variable \$srcfile for the compiler.
9251 fix_srcfile_path="$fix_srcfile_path"
9253 # Set to yes if exported symbols are required.
9254 always_export_symbols=$always_export_symbols
9256 # The commands to list exported symbols.
9257 export_symbols_cmds=$lt_export_symbols_cmds
9259 # The commands to extract the exported symbol list from a shared archive.
9260 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9262 # Symbols that should not be listed in the preloaded symbols.
9263 exclude_expsyms=$lt_exclude_expsyms
9265 # Symbols that must always be exported.
9266 include_expsyms=$lt_include_expsyms
9268 # ### END LIBTOOL CONFIG
9275 cat <<\EOF >> "$cfgfile"
9277 # AIX sometimes has problems with the GCC collect2 program. For some
9278 # reason, if we set the COLLECT_NAMES environment variable, the problems
9279 # vanish in a puff of smoke.
9280 if test "X${COLLECT_NAMES+set}" != Xset; then
9282 export COLLECT_NAMES
9288 # We use sed instead of cat because bash on DJGPP gets confused if
9289 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9290 # text mode, it properly converts lines to CR/LF. This bash problem
9291 # is reportedly fixed, but why not run on old versions too?
9292 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9294 mv -f "$cfgfile" "$ofile" || \
9295 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9299 # If there is no Makefile yet, we rely on a make rule to execute
9300 # `config.status --recheck' to rerun these tests and create the
9301 # libtool script then.
9302 test -f Makefile && make "$ltmain"
9307 ac_cpp='$CPP $CPPFLAGS'
9308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9315 # Check whether --with-tags or --without-tags was given.
9316 if test "${with_tags+set}" = set; then
9317 withval="$with_tags"
9321 if test -f "$ltmain" && test -n "$tagnames"; then
9322 if test ! -f "${ofile}"; then
9323 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9324 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9327 if test -z "$LTCC"; then
9328 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9329 if test -z "$LTCC"; then
9330 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9331 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9333 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9334 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9338 # Extract list of available tagged configurations in $ofile.
9339 # Note that this assumes the entire list is on one line.
9340 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9342 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9343 for tagname in $tagnames; do
9345 # Check whether tagname contains only valid characters
9346 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9348 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9349 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9350 { (exit 1); exit 1; }; }
9354 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9356 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9357 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9358 { (exit 1); exit 1; }; }
9361 # Update the list of available tags.
9362 if test -n "$tagname"; then
9363 echo appending configuration tag \"$tagname\" to $ofile
9367 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9369 ac_cpp='$CXXCPP $CPPFLAGS'
9370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9377 archive_cmds_need_lc_CXX=no
9378 allow_undefined_flag_CXX=
9379 always_export_symbols_CXX=no
9380 archive_expsym_cmds_CXX=
9381 export_dynamic_flag_spec_CXX=
9382 hardcode_direct_CXX=no
9383 hardcode_libdir_flag_spec_CXX=
9384 hardcode_libdir_flag_spec_ld_CXX=
9385 hardcode_libdir_separator_CXX=
9386 hardcode_minus_L_CXX=no
9387 hardcode_automatic_CXX=no
9389 module_expsym_cmds_CXX=
9390 link_all_deplibs_CXX=unknown
9391 old_archive_cmds_CXX=$old_archive_cmds
9392 no_undefined_flag_CXX=
9393 whole_archive_flag_spec_CXX=
9394 enable_shared_with_static_runtimes_CXX=no
9396 # Dependencies to place before and after the object being linked:
9398 postdep_objects_CXX=
9401 compiler_lib_search_path_CXX=
9403 # Source file extension for C++ test sources.
9406 # Object file extension for compiled C++ test sources.
9410 # Code to be used in simple compile tests
9411 lt_simple_compile_test_code="int some_variable = 0;\n"
9413 # Code to be used in simple link tests
9414 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9416 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9418 # If no C compiler was specified, use CC.
9421 # Allow CC to be a program name with arguments.
9425 # Allow CC to be a program name with arguments.
9430 lt_save_with_gnu_ld=$with_gnu_ld
9431 lt_save_path_LD=$lt_cv_path_LD
9432 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9433 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9435 unset lt_cv_prog_gnu_ld
9437 if test -n "${lt_cv_path_LDCXX+set}"; then
9438 lt_cv_path_LD=$lt_cv_path_LDCXX
9442 test -z "${LDCXX+set}" || LD=$LDCXX
9446 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9448 # We don't want -fno-exception wen compiling C++ code, so set the
9449 # no_builtin_flag separately
9450 if test "$GXX" = yes; then
9451 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9453 lt_prog_compiler_no_builtin_flag_CXX=
9456 if test "$GXX" = yes; then
9457 # Set up default GNU C++ configuration
9460 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9461 if test "${with_gnu_ld+set}" = set; then
9462 withval="$with_gnu_ld"
9463 test "$withval" = no || with_gnu_ld=yes
9468 if test "$GCC" = yes; then
9469 # Check if gcc -print-prog-name=ld gives a path.
9470 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9471 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9474 # gcc leaves a trailing carriage return which upsets mingw
9475 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9477 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9480 # Accept absolute paths.
9482 re_direlt='/[^/][^/]*/\.\./'
9483 # Canonicalize the path of ld
9484 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9485 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9486 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9488 test -z "$LD" && LD="$ac_prog"
9491 # If it fails, then pretend we aren't using GCC.
9495 # If it is relative, then search for the first ld in PATH.
9499 elif test "$with_gnu_ld" = yes; then
9500 echo "$as_me:$LINENO: checking for GNU ld" >&5
9501 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9503 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9504 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9506 if test "${lt_cv_path_LD+set}" = set; then
9507 echo $ECHO_N "(cached) $ECHO_C" >&6
9509 if test -z "$LD"; then
9510 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9511 for ac_dir in $PATH; do
9513 test -z "$ac_dir" && ac_dir=.
9514 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9515 lt_cv_path_LD="$ac_dir/$ac_prog"
9516 # Check to see if the program is GNU ld. I'd rather use --version,
9517 # but apparently some GNU ld's only accept -v.
9518 # Break only if it was the GNU/non-GNU ld that we prefer.
9519 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9520 *GNU* | *'with BFD'*)
9521 test "$with_gnu_ld" != no && break
9524 test "$with_gnu_ld" != yes && break
9531 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9536 if test -n "$LD"; then
9537 echo "$as_me:$LINENO: result: $LD" >&5
9538 echo "${ECHO_T}$LD" >&6
9540 echo "$as_me:$LINENO: result: no" >&5
9541 echo "${ECHO_T}no" >&6
9543 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9544 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9545 { (exit 1); exit 1; }; }
9546 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9547 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9548 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9549 echo $ECHO_N "(cached) $ECHO_C" >&6
9551 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9552 case `"$LD" -v 2>&1 </dev/null` in
9553 *GNU* | *'with BFD'*)
9554 lt_cv_prog_gnu_ld=yes
9557 lt_cv_prog_gnu_ld=no
9561 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9562 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9563 with_gnu_ld=$lt_cv_prog_gnu_ld
9567 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9568 # archiving commands below assume that GNU ld is being used.
9569 if test "$with_gnu_ld" = yes; then
9570 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9571 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'
9573 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9574 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9576 # If archive_cmds runs LD, not CC, wlarc should be empty
9577 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9578 # investigate it a little bit more. (MM)
9581 # ancient GNU ld didn't support --whole-archive et. al.
9582 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9583 grep 'no-whole-archive' > /dev/null; then
9584 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9586 whole_archive_flag_spec_CXX=
9592 # A generic and very simple default shared library creation
9593 # command for GNU C++ for the case where it uses the native
9594 # linker, instead of GNU ld. If possible, this setting should
9595 # overridden to take advantage of the native linker features on
9596 # the platform it is being used on.
9597 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9600 # Commands to make compiler produce verbose output that lists
9601 # what "hidden" libraries, object files and flags are used when
9602 # linking a shared library.
9603 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9611 # PORTME: fill in a description of your system's C++ link characteristics
9612 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9613 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9617 # FIXME: insert proper C++ library support
9621 if test "$host_cpu" = ia64; then
9622 # On IA64, the linker does run time linking by default, so we don't
9623 # have to do anything special.
9624 aix_use_runtimelinking=no
9625 exp_sym_flag='-Bexport'
9628 aix_use_runtimelinking=no
9630 # Test if we are trying to use run time linking or normal
9631 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9632 # need to do runtime linking.
9633 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9634 for ld_flag in $LDFLAGS; do
9637 aix_use_runtimelinking=yes
9644 exp_sym_flag='-bexport'
9645 no_entry_flag='-bnoentry'
9648 # When large executables or shared objects are built, AIX ld can
9649 # have problems creating the table of contents. If linking a library
9650 # or program results in "error TOC overflow" add -mminimal-toc to
9651 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9652 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9655 hardcode_direct_CXX=yes
9656 hardcode_libdir_separator_CXX=':'
9657 link_all_deplibs_CXX=yes
9659 if test "$GXX" = yes; then
9660 case $host_os in aix4.012|aix4.012.*)
9661 # We only want to do this on AIX 4.2 and lower, the check
9662 # below for broken collect2 doesn't work under 4.3+
9663 collect2name=`${CC} -print-prog-name=collect2`
9664 if test -f "$collect2name" && \
9665 strings "$collect2name" | grep resolve_lib_name >/dev/null
9667 # We have reworked collect2
9668 hardcode_direct_CXX=yes
9670 # We have old collect2
9671 hardcode_direct_CXX=unsupported
9672 # It fails to find uninstalled libraries when the uninstalled
9673 # path is not listed in the libpath. Setting hardcode_minus_L
9674 # to unsupported forces relinking
9675 hardcode_minus_L_CXX=yes
9676 hardcode_libdir_flag_spec_CXX='-L$libdir'
9677 hardcode_libdir_separator_CXX=
9680 shared_flag='-shared'
9683 if test "$host_cpu" = ia64; then
9684 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9685 # chokes on -Wl,-G. The following line is correct:
9688 if test "$aix_use_runtimelinking" = yes; then
9689 shared_flag='${wl}-G'
9691 shared_flag='${wl}-bM:SRE'
9696 # It seems that -bexpall does not export symbols beginning with
9697 # underscore (_), so it is better to generate a list of symbols to export.
9698 always_export_symbols_CXX=yes
9699 if test "$aix_use_runtimelinking" = yes; then
9700 # Warning - without using the other runtime loading flags (-brtl),
9701 # -berok will link without error, but may produce a broken library.
9702 allow_undefined_flag_CXX='-berok'
9703 # Determine the default libpath from the value encoded in an empty executable.
9704 cat >conftest.$ac_ext <<_ACEOF
9705 #line $LINENO "configure"
9708 cat confdefs.h >>conftest.$ac_ext
9709 cat >>conftest.$ac_ext <<_ACEOF
9710 /* end confdefs.h. */
9720 rm -f conftest.$ac_objext conftest$ac_exeext
9721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9722 (eval $ac_link) 2>&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); } &&
9726 { ac_try='test -s conftest$ac_exeext'
9727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); }; }; then
9733 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9735 # Check for a 64-bit object if we didn't find anything.
9736 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; }
9739 echo "$as_me: failed program was:" >&5
9740 sed 's/^/| /' conftest.$ac_ext >&5
9743 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9744 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9746 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9748 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"
9750 if test "$host_cpu" = ia64; then
9751 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9752 allow_undefined_flag_CXX="-z nodefs"
9753 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"
9755 # Determine the default libpath from the value encoded in an empty executable.
9756 cat >conftest.$ac_ext <<_ACEOF
9757 #line $LINENO "configure"
9760 cat confdefs.h >>conftest.$ac_ext
9761 cat >>conftest.$ac_ext <<_ACEOF
9762 /* end confdefs.h. */
9772 rm -f conftest.$ac_objext conftest$ac_exeext
9773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9774 (eval $ac_link) 2>&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); } &&
9778 { ac_try='test -s conftest$ac_exeext'
9779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 (exit $ac_status); }; }; then
9785 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9787 # Check for a 64-bit object if we didn't find anything.
9788 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; }
9791 echo "$as_me: failed program was:" >&5
9792 sed 's/^/| /' conftest.$ac_ext >&5
9795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9796 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9798 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9799 # Warning - without using the other run time loading flags,
9800 # -berok will link without error, but may produce a broken library.
9801 no_undefined_flag_CXX=' ${wl}-bernotok'
9802 allow_undefined_flag_CXX=' ${wl}-berok'
9803 # -bexpall does not export symbols beginning with underscore (_)
9804 always_export_symbols_CXX=yes
9805 # Exported symbols can be pulled into shared objects from archives
9806 whole_archive_flag_spec_CXX=' '
9807 archive_cmds_need_lc_CXX=yes
9808 # This is similar to how AIX traditionally builds it's shared libraries.
9809 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'
9814 case $cc_basename in
9816 # FIXME: insert proper C++ library support
9822 cygwin* | mingw* | pw32*)
9823 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9824 # as there is no search path for DLLs.
9825 hardcode_libdir_flag_spec_CXX='-L$libdir'
9826 allow_undefined_flag_CXX=unsupported
9827 always_export_symbols_CXX=no
9828 enable_shared_with_static_runtimes_CXX=yes
9830 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9831 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'
9832 # If the export-symbols file already is a .def file (1st line
9833 # is EXPORTS), use it as is; otherwise, prepend...
9834 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9835 cp $export_symbols $output_objdir/$soname.def;
9837 echo EXPORTS > $output_objdir/$soname.def;
9838 cat $export_symbols >> $output_objdir/$soname.def;
9840 $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'
9846 darwin* | rhapsody*)
9847 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9848 archive_cmds_need_lc_CXX=no
9850 rhapsody* | darwin1.[012])
9851 allow_undefined_flag_CXX='-undefined suppress'
9854 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9857 lt_int_apple_cc_single_mod=no
9858 output_verbose_link_cmd='echo'
9859 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9860 lt_int_apple_cc_single_mod=yes
9862 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9863 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9865 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'
9867 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9869 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9870 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9871 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}'
9873 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}'
9875 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}'
9876 hardcode_direct_CXX=no
9877 hardcode_automatic_CXX=yes
9878 hardcode_shlibpath_var_CXX=unsupported
9879 whole_archive_flag_spec_CXX='-all_load $convenience'
9880 link_all_deplibs_CXX=yes
9885 case $cc_basename in
9887 # FIXME: insert proper C++ library support
9891 # Green Hills C++ Compiler
9892 # FIXME: insert proper C++ library support
9896 # FIXME: insert proper C++ library support
9902 # C++ shared libraries reported to be fairly broken before switch to ELF
9906 archive_cmds_need_lc_CXX=no
9909 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9916 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9917 hardcode_libdir_separator_CXX=:
9918 export_dynamic_flag_spec_CXX='${wl}-E'
9919 hardcode_direct_CXX=yes
9920 hardcode_minus_L_CXX=yes # Not in the search PATH,
9921 # but as the default
9922 # location of the library.
9924 case $cc_basename in
9926 # FIXME: insert proper C++ library support
9930 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'
9931 # Commands to make compiler produce verbose output that lists
9932 # what "hidden" libraries, object files and flags are used when
9933 # linking a shared library.
9935 # There doesn't appear to be a way to prevent this compiler from
9936 # explicitly linking system object files so we need to strip them
9937 # from the output so that they don't get included in the library
9939 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'
9942 if test "$GXX" = yes; then
9943 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'
9945 # FIXME: insert proper C++ library support
9952 if test $with_gnu_ld = no; then
9955 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9956 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9957 hardcode_libdir_separator_CXX=:
9960 hardcode_libdir_flag_spec_CXX='-L$libdir'
9963 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9964 hardcode_libdir_separator_CXX=:
9965 export_dynamic_flag_spec_CXX='${wl}-E'
9971 hardcode_direct_CXX=no
9972 hardcode_shlibpath_var_CXX=no
9975 hardcode_direct_CXX=no
9976 hardcode_shlibpath_var_CXX=no
9977 hardcode_minus_L_CXX=yes # Not in the search PATH,
9978 # but as the default
9979 # location of the library.
9982 hardcode_direct_CXX=yes
9983 hardcode_minus_L_CXX=yes # Not in the search PATH,
9984 # but as the default
9985 # location of the library.
9989 case $cc_basename in
9991 # FIXME: insert proper C++ library support
9997 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10000 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10003 # Commands to make compiler produce verbose output that lists
10004 # what "hidden" libraries, object files and flags are used when
10005 # linking a shared library.
10007 # There doesn't appear to be a way to prevent this compiler from
10008 # explicitly linking system object files so we need to strip them
10009 # from the output so that they don't get included in the library
10011 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'
10014 if test "$GXX" = yes; then
10015 if test $with_gnu_ld = no; then
10016 case "$host_cpu" in
10018 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10021 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'
10026 # FIXME: insert proper C++ library support
10033 case $cc_basename in
10036 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'
10038 # Archives containing C++ object files must be created using
10039 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10040 # necessary to make sure instantiated templates are included
10042 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10045 if test "$GXX" = yes; then
10046 if test "$with_gnu_ld" = no; then
10047 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'
10049 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'
10052 link_all_deplibs_CXX=yes
10055 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10056 hardcode_libdir_separator_CXX=:
10059 case $cc_basename in
10061 # Kuck and Associates, Inc. (KAI) C++ Compiler
10063 # KCC will only create a shared library if the output file
10064 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10065 # to its proper name (with version) after linking.
10066 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'
10067 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'
10068 # Commands to make compiler produce verbose output that lists
10069 # what "hidden" libraries, object files and flags are used when
10070 # linking a shared library.
10072 # There doesn't appear to be a way to prevent this compiler from
10073 # explicitly linking system object files so we need to strip them
10074 # from the output so that they don't get included in the library
10076 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'
10078 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10079 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10081 # Archives containing C++ object files must be created using
10082 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10083 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10088 archive_cmds_need_lc_CXX=no
10089 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10090 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'
10091 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10092 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10093 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10097 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10098 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'
10100 runpath_var=LD_RUN_PATH
10101 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10102 hardcode_libdir_separator_CXX=:
10104 # Commands to make compiler produce verbose output that lists
10105 # what "hidden" libraries, object files and flags are used when
10106 # linking a shared library.
10108 # There doesn't appear to be a way to prevent this compiler from
10109 # explicitly linking system object files so we need to strip them
10110 # from the output so that they don't get included in the library
10112 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'
10117 # FIXME: insert proper C++ library support
10121 # FIXME: insert proper C++ library support
10125 case $cc_basename in
10127 # FIXME: insert proper C++ library support
10131 # FIXME: insert proper C++ library support
10137 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10138 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10140 hardcode_libdir_flag_spec_CXX='-R$libdir'
10141 hardcode_direct_CXX=yes
10142 hardcode_shlibpath_var_CXX=no
10144 # Workaround some broken pre-1.5 toolchains
10145 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10148 case $cc_basename in
10150 # Kuck and Associates, Inc. (KAI) C++ Compiler
10152 # KCC will only create a shared library if the output file
10153 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10154 # to its proper name (with version) after linking.
10155 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'
10157 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10158 hardcode_libdir_separator_CXX=:
10160 # Archives containing C++ object files must be created using
10161 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10162 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10166 # Rational C++ 2.4.1
10167 # FIXME: insert proper C++ library support
10171 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10172 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'
10174 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10175 hardcode_libdir_separator_CXX=:
10177 # Commands to make compiler produce verbose output that lists
10178 # what "hidden" libraries, object files and flags are used when
10179 # linking a shared library.
10181 # There doesn't appear to be a way to prevent this compiler from
10182 # explicitly linking system object files so we need to strip them
10183 # from the output so that they don't get included in the library
10185 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'
10188 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10189 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10190 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'
10192 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10193 hardcode_libdir_separator_CXX=:
10195 # Commands to make compiler produce verbose output that lists
10196 # what "hidden" libraries, object files and flags are used when
10197 # linking a shared library.
10198 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10201 # FIXME: insert proper C++ library support
10208 case $cc_basename in
10210 # Kuck and Associates, Inc. (KAI) C++ Compiler
10212 # KCC will only create a shared library if the output file
10213 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10214 # to its proper name (with version) after linking.
10215 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'
10217 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10218 hardcode_libdir_separator_CXX=:
10220 # Archives containing C++ object files must be created using
10221 # the KAI C++ compiler.
10222 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10225 # Rational C++ 2.4.1
10226 # FIXME: insert proper C++ library support
10230 allow_undefined_flag_CXX=' -expect_unresolved \*'
10231 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'
10232 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10233 echo "-hidden">> $lib.exp~
10234 $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~
10237 hardcode_libdir_flag_spec_CXX='-rpath $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.
10244 # There doesn't appear to be a way to prevent this compiler from
10245 # explicitly linking system object files so we need to strip them
10246 # from the output so that they don't get included in the library
10248 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'
10251 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10252 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10253 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'
10255 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10256 hardcode_libdir_separator_CXX=:
10258 # Commands to make compiler produce verbose output that lists
10259 # what "hidden" libraries, object files and flags are used when
10260 # linking a shared library.
10261 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10264 # FIXME: insert proper C++ library support
10271 # FIXME: insert proper C++ library support
10275 archive_cmds_need_lc_CXX=no
10276 case $cc_basename in
10278 # FIXME: insert proper C++ library support
10282 # FIXME: insert proper C++ library support
10288 case $cc_basename in
10291 # FIXME: insert proper C++ library support
10296 # FIXME: insert proper C++ library support
10300 # FIXME: insert proper C++ library support
10306 case $cc_basename in
10308 # Sun C++ 4.2, 5.x and Centerline C++
10309 no_undefined_flag_CXX=' -zdefs'
10310 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10311 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10312 $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'
10314 hardcode_libdir_flag_spec_CXX='-R$libdir'
10315 hardcode_shlibpath_var_CXX=no
10317 solaris2.0-5 | solaris2.0-5.*) ;;
10319 # The C++ compiler is used as linker so we must use $wl
10320 # flag to pass the commands to the underlying system
10322 # Supported since Solaris 2.6 (maybe 2.5.1?)
10323 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10326 link_all_deplibs_CXX=yes
10328 # Commands to make compiler produce verbose output that lists
10329 # what "hidden" libraries, object files and flags are used when
10330 # linking a shared library.
10332 # There doesn't appear to be a way to prevent this compiler from
10333 # explicitly linking system object files so we need to strip them
10334 # from the output so that they don't get included in the library
10336 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'
10338 # Archives containing C++ object files must be created using
10339 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10340 # necessary to make sure instantiated templates are included
10342 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10345 # Green Hills C++ Compiler
10346 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10348 # The C++ compiler must be used to create the archive.
10349 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10352 # GNU C++ compiler with Solaris linker
10353 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10354 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10355 if $CC --version | grep -v '^2\.7' > /dev/null; then
10356 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10357 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10358 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10360 # Commands to make compiler produce verbose output that lists
10361 # what "hidden" libraries, object files and flags are used when
10362 # linking a shared library.
10363 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10365 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10367 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10368 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10369 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10371 # Commands to make compiler produce verbose output that lists
10372 # what "hidden" libraries, object files and flags are used when
10373 # linking a shared library.
10374 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10377 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10382 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10383 archive_cmds_need_lc_CXX=no
10386 case $cc_basename in
10388 # NonStop-UX NCC 3.20
10389 # FIXME: insert proper C++ library support
10393 # FIXME: insert proper C++ library support
10399 # FIXME: insert proper C++ library support
10403 # FIXME: insert proper C++ library support
10407 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10408 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10409 test "$ld_shlibs_CXX" = no && can_build_shared=no
10415 ## There is no encapsulation within the following macros, do not change
10416 ## the running order or otherwise move them around unless you know exactly
10417 ## what you are doing...
10419 cat > conftest.$ac_ext <<EOF
10423 Foo (void) { a = 0; }
10429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10430 (eval $ac_compile) 2>&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); }; then
10434 # Parse the compiler output and extract the necessary
10435 # objects, libraries and library flags.
10437 # Sentinel used to keep track of whether or not we are before
10438 # the conftest object file.
10439 pre_test_object_deps_done=no
10441 # The `*' in the case matches for architectures that use `case' in
10442 # $output_verbose_cmd can trigger glob expansion during the loop
10443 # eval without this substitution.
10444 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10446 for p in `eval $output_verbose_link_cmd`; do
10450 # Some compilers place space between "-{L,R}" and the path.
10451 # Remove the space.
10452 if test $p = "-L" \
10453 || test $p = "-R"; then
10460 if test "$pre_test_object_deps_done" = no; then
10463 # Internal compiler library paths should come after those
10464 # provided the user. The postdeps already come after the
10465 # user supplied libs so there is no need to process them.
10466 if test -z "$compiler_lib_search_path_CXX"; then
10467 compiler_lib_search_path_CXX="${prev}${p}"
10469 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10472 # The "-l" case would never come before the object being
10473 # linked, so don't bother handling this case.
10476 if test -z "$postdeps_CXX"; then
10477 postdeps_CXX="${prev}${p}"
10479 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10485 # This assumes that the test object file only shows up
10486 # once in the compiler output.
10487 if test "$p" = "conftest.$objext"; then
10488 pre_test_object_deps_done=yes
10492 if test "$pre_test_object_deps_done" = no; then
10493 if test -z "$predep_objects_CXX"; then
10494 predep_objects_CXX="$p"
10496 predep_objects_CXX="$predep_objects_CXX $p"
10499 if test -z "$postdep_objects_CXX"; then
10500 postdep_objects_CXX="$p"
10502 postdep_objects_CXX="$postdep_objects_CXX $p"
10507 *) ;; # Ignore the rest.
10515 echo "libtool.m4: error: problem compiling CXX test program"
10518 $rm -f confest.$objext
10520 case " $postdeps_CXX " in
10521 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10524 lt_prog_compiler_wl_CXX=
10525 lt_prog_compiler_pic_CXX=
10526 lt_prog_compiler_static_CXX=
10528 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10529 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10531 # C++ specific cases for pic, static, wl, etc.
10532 if test "$GXX" = yes; then
10533 lt_prog_compiler_wl_CXX='-Wl,'
10534 lt_prog_compiler_static_CXX='-static'
10538 # All AIX code is PIC.
10539 if test "$host_cpu" = ia64; then
10540 # AIX 5 now supports IA64 processor
10541 lt_prog_compiler_static_CXX='-Bstatic'
10545 # FIXME: we need at least 68020 code to build shared libraries, but
10546 # adding the `-m68020' flag to GCC prevents building anything better,
10548 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10550 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10551 # PIC is the default for these OSes.
10553 mingw* | os2* | pw32*)
10554 # This hack is so that the source file can tell whether it is being
10555 # built for inclusion in a dll (and should export symbols for example).
10556 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10558 darwin* | rhapsody*)
10559 # PIC is the default on this platform
10560 # Common symbols not allowed in MH_DYLIB files
10561 lt_prog_compiler_pic_CXX='-fno-common'
10564 # DJGPP does not support shared libraries at all
10565 lt_prog_compiler_pic_CXX=
10568 if test -d /usr/nec; then
10569 lt_prog_compiler_pic_CXX=-Kconform_pic
10573 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10574 # not for PA HP-UX.
10575 case "$host_cpu" in
10579 lt_prog_compiler_pic_CXX='-fPIC'
10584 lt_prog_compiler_pic_CXX='-fPIC'
10590 # All AIX code is PIC.
10591 if test "$host_cpu" = ia64; then
10592 # AIX 5 now supports IA64 processor
10593 lt_prog_compiler_static_CXX='-Bstatic'
10595 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10599 case $cc_basename in
10601 # Green Hills C++ Compiler
10602 # _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"
10607 case $cc_basename in
10609 lt_prog_compiler_pic_CXX='-KPIC'
10612 # Green Hills C++ Compiler
10613 lt_prog_compiler_pic_CXX='-pic'
10620 # FreeBSD uses GNU C++
10622 hpux9* | hpux10* | hpux11*)
10623 case $cc_basename in
10625 lt_prog_compiler_wl_CXX='-Wl,'
10626 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10627 if test "$host_cpu" != ia64; then
10628 lt_prog_compiler_pic_CXX='+Z'
10632 lt_prog_compiler_wl_CXX='-Wl,'
10633 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10634 case "$host_cpu" in
10639 lt_prog_compiler_pic_CXX='+Z'
10647 irix5* | irix6* | nonstopux*)
10648 case $cc_basename in
10650 lt_prog_compiler_wl_CXX='-Wl,'
10651 lt_prog_compiler_static_CXX='-non_shared'
10652 # CC pic flag -KPIC is the default.
10659 case $cc_basename in
10662 lt_prog_compiler_wl_CXX='--backend -Wl,'
10663 lt_prog_compiler_pic_CXX='-fPIC'
10667 lt_prog_compiler_wl_CXX='-Wl,'
10668 lt_prog_compiler_pic_CXX='-KPIC'
10669 lt_prog_compiler_static_CXX='-static'
10673 # Make sure the PIC flag is empty. It appears that all Alpha
10674 # Linux and Compaq Tru64 Unix objects are PIC.
10675 lt_prog_compiler_pic_CXX=
10676 lt_prog_compiler_static_CXX='-non_shared'
10687 case $cc_basename in
10689 lt_prog_compiler_pic_CXX='-W c,exportall'
10697 osf3* | osf4* | osf5*)
10698 case $cc_basename in
10700 lt_prog_compiler_wl_CXX='--backend -Wl,'
10703 # Rational C++ 2.4.1
10704 lt_prog_compiler_pic_CXX='-pic'
10707 # Digital/Compaq C++
10708 lt_prog_compiler_wl_CXX='-Wl,'
10709 # Make sure the PIC flag is empty. It appears that all Alpha
10710 # Linux and Compaq Tru64 Unix objects are PIC.
10711 lt_prog_compiler_pic_CXX=
10712 lt_prog_compiler_static_CXX='-non_shared'
10721 case $cc_basename in
10723 lt_prog_compiler_pic_CXX='-fPIC'
10730 case $cc_basename in
10732 # Sun C++ 4.2, 5.x and Centerline C++
10733 lt_prog_compiler_pic_CXX='-KPIC'
10734 lt_prog_compiler_static_CXX='-Bstatic'
10735 lt_prog_compiler_wl_CXX='-Qoption ld '
10738 # Green Hills C++ Compiler
10739 lt_prog_compiler_pic_CXX='-PIC'
10746 case $cc_basename in
10749 lt_prog_compiler_pic_CXX='-pic'
10750 lt_prog_compiler_static_CXX='-Bstatic'
10754 lt_prog_compiler_pic_CXX='-pic'
10761 case $cc_basename in
10763 # NonStop-UX NCC 3.20
10764 lt_prog_compiler_pic_CXX='-KPIC'
10775 lt_prog_compiler_can_build_shared_CXX=no
10780 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10781 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10784 # Check to make sure the PIC flag actually works.
10786 if test -n "$lt_prog_compiler_pic_CXX"; then
10787 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10788 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10789 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 lt_prog_compiler_pic_works_CXX=no
10793 ac_outfile=conftest.$ac_objext
10794 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10795 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10796 # Insert the option either (1) after the last *FLAGS variable, or
10797 # (2) before a word containing "conftest.", or (3) at the end.
10798 # Note that $ac_compile itself does not contain backslashes and begins
10799 # with a dollar sign (not a hyphen), so the echo should work correctly.
10800 # The option is referenced via a variable to avoid confusing sed.
10801 lt_compile=`echo "$ac_compile" | $SED \
10802 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10804 -e 's:$: $lt_compiler_flag:'`
10805 (eval echo "\"\$as_me:10805: $lt_compile\"" >&5)
10806 (eval "$lt_compile" 2>conftest.err)
10808 cat conftest.err >&5
10809 echo "$as_me:10809: \$? = $ac_status" >&5
10810 if (exit $ac_status) && test -s "$ac_outfile"; then
10811 # The compiler can only warn and ignore the option if not recognized
10812 # So say no if there are warnings
10813 if test ! -s conftest.err; then
10814 lt_prog_compiler_pic_works_CXX=yes
10820 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10821 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10823 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10824 case $lt_prog_compiler_pic_CXX in
10826 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10829 lt_prog_compiler_pic_CXX=
10830 lt_prog_compiler_can_build_shared_CXX=no
10835 # For platforms which do not support PIC, -DPIC is meaningless:
10837 lt_prog_compiler_pic_CXX=
10840 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10844 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10845 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10846 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10847 echo $ECHO_N "(cached) $ECHO_C" >&6
10849 lt_cv_prog_compiler_c_o_CXX=no
10850 $rm -r conftest 2>/dev/null
10854 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10856 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10857 # that will create temporary files in the current directory regardless of
10858 # the output directory. Thus, making CWD read-only will cause this test
10859 # to fail, enabling locking or at least warning the user not to do parallel
10863 lt_compiler_flag="-o out/conftest2.$ac_objext"
10864 # Insert the option either (1) after the last *FLAGS variable, or
10865 # (2) before a word containing "conftest.", or (3) at the end.
10866 # Note that $ac_compile itself does not contain backslashes and begins
10867 # with a dollar sign (not a hyphen), so the echo should work correctly.
10868 lt_compile=`echo "$ac_compile" | $SED \
10869 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10871 -e 's:$: $lt_compiler_flag:'`
10872 (eval echo "\"\$as_me:10872: $lt_compile\"" >&5)
10873 (eval "$lt_compile" 2>out/conftest.err)
10875 cat out/conftest.err >&5
10876 echo "$as_me:10876: \$? = $ac_status" >&5
10877 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10879 # The compiler can only warn and ignore the option if not recognized
10880 # So say no if there are warnings
10881 if test ! -s out/conftest.err; then
10882 lt_cv_prog_compiler_c_o_CXX=yes
10886 $rm conftest* out/*
10893 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10894 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10897 hard_links="nottested"
10898 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10899 # do not overwrite the value of need_locks provided by the user
10900 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10901 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10904 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10906 ln conftest.a conftest.b 2>&5 || hard_links=no
10907 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10908 echo "$as_me:$LINENO: result: $hard_links" >&5
10909 echo "${ECHO_T}$hard_links" >&6
10910 if test "$hard_links" = no; then
10911 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10912 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10919 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10920 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10922 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10925 # If we're using GNU nm, then we don't want the "-C" option.
10926 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10927 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10928 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'
10930 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'
10934 export_symbols_cmds_CXX="$ltdll_cmds"
10937 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10940 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10944 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10945 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10946 test "$ld_shlibs_CXX" = no && can_build_shared=no
10948 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10949 if test "$GCC" = yes; then
10950 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10954 # Do we need to explicitly link libc?
10956 case "x$archive_cmds_need_lc_CXX" in
10958 # Assume -lc should be added
10959 archive_cmds_need_lc_CXX=yes
10961 if test "$enable_shared" = yes && test "$GCC" = yes; then
10962 case $archive_cmds_CXX in
10964 # FIXME: we may have to deal with multi-command sequences.
10967 # Test whether the compiler implicitly links with -lc since on some
10968 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10969 # to ld, don't add -lc before -lgcc.
10970 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10971 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10973 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10976 (eval $ac_compile) 2>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); } 2>conftest.err; then
10982 libobjs=conftest.$ac_objext
10984 wl=$lt_prog_compiler_wl_CXX
10990 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10991 allow_undefined_flag_CXX=
10992 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10993 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); }
10998 archive_cmds_need_lc_CXX=no
11000 archive_cmds_need_lc_CXX=yes
11002 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11004 cat conftest.err 1>&5
11007 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11008 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11015 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11016 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11017 hardcode_action_CXX=
11018 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11019 test -n "$runpath_var CXX" || \
11020 test "X$hardcode_automatic_CXX"="Xyes" ; then
11022 # We can hardcode non-existant directories.
11023 if test "$hardcode_direct_CXX" != no &&
11024 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11025 # have to relink, otherwise we might link with an installed library
11026 # when we should be linking with a yet-to-be-installed one
11027 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11028 test "$hardcode_minus_L_CXX" != no; then
11029 # Linking always hardcodes the temporary library directory.
11030 hardcode_action_CXX=relink
11032 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11033 hardcode_action_CXX=immediate
11036 # We cannot hardcode anything, or else we can only hardcode existing
11038 hardcode_action_CXX=unsupported
11040 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11041 echo "${ECHO_T}$hardcode_action_CXX" >&6
11043 if test "$hardcode_action_CXX" = relink; then
11044 # Fast installation is not supported
11045 enable_fast_install=no
11046 elif test "$shlibpath_overrides_runpath" = yes ||
11047 test "$enable_shared" = no; then
11048 # Fast installation is not necessary
11049 enable_fast_install=needless
11054 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11055 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11056 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11057 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11058 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11059 echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6
11062 # FIXME - insert some real tests, host_os isn't really good enough
11065 if test -n "$STRIP" ; then
11066 striplib="$STRIP -x"
11067 echo "$as_me:$LINENO: result: yes" >&5
11068 echo "${ECHO_T}yes" >&6
11070 echo "$as_me:$LINENO: result: no" >&5
11071 echo "${ECHO_T}no" >&6
11075 echo "$as_me:$LINENO: result: no" >&5
11076 echo "${ECHO_T}no" >&6
11081 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11082 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11083 library_names_spec=
11084 libname_spec='lib$name'
11088 postuninstall_cmds=
11092 shlibpath_overrides_runpath=unknown
11094 dynamic_linker="$host_os ld.so"
11095 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11096 if test "$GCC" = yes; then
11097 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11098 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11099 # if the path contains ";" then we assume it to be the separator
11100 # otherwise default to the standard path separator (i.e. ":") - it is
11101 # assumed that no part of a normal pathname contains ";" but that should
11102 # okay in the real world where ";" in dirpaths is itself problematic.
11103 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11105 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11108 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11110 need_lib_prefix=unknown
11111 hardcode_into_libs=no
11113 # when you set need_version to no, make sure it does not cause -set_version
11114 # flags to be left without arguments
11115 need_version=unknown
11120 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11121 shlibpath_var=LIBPATH
11123 # AIX 3 has no versioning support, so we append a major version to the name.
11124 soname_spec='${libname}${release}${shared_ext}$major'
11131 hardcode_into_libs=yes
11132 if test "$host_cpu" = ia64; then
11133 # AIX 5 supports IA64
11134 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11135 shlibpath_var=LD_LIBRARY_PATH
11137 # With GCC up to 2.95.x, collect2 would create an import file
11138 # for dependence libraries. The import file would start with
11139 # the line `#! .'. This would cause the generated library to
11140 # depend on `.', always an invalid library. This was fixed in
11141 # development snapshots of GCC prior to 3.0.
11143 aix4 | aix4.[01] | aix4.[01].*)
11144 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11146 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11149 can_build_shared=no
11153 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11154 # soname into executable. Probably we can add versioning support to
11155 # collect2, so additional links can be useful in future.
11156 if test "$aix_use_runtimelinking" = yes; then
11157 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11158 # instead of lib<name>.a to let people know that these are not
11159 # typical AIX shared libraries.
11160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11162 # We preserve .a as extension for shared libraries through AIX4.2
11163 # and later when we are not doing run time linking.
11164 library_names_spec='${libname}${release}.a $libname.a'
11165 soname_spec='${libname}${release}${shared_ext}$major'
11167 shlibpath_var=LIBPATH
11172 library_names_spec='$libname.ixlibrary $libname.a'
11173 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11174 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'
11178 library_names_spec='${libname}${shared_ext}'
11179 dynamic_linker="$host_os ld.so"
11180 shlibpath_var=LIBRARY_PATH
11186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11187 soname_spec='${libname}${release}${shared_ext}$major'
11188 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11189 shlibpath_var=LD_LIBRARY_PATH
11190 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11191 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11192 # the default ld.so.conf also contains /usr/contrib/lib and
11193 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11194 # libtool to hard-code these into programs
11197 cygwin* | mingw* | pw32*)
11198 version_type=windows
11203 case $GCC,$host_os in
11204 yes,cygwin* | yes,mingw* | yes,pw32*)
11205 library_names_spec='$libname.dll.a'
11206 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11207 postinstall_cmds='base_file=`basename \${file}`~
11208 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11209 dldir=$destdir/`dirname \$dlpath`~
11210 test -d \$dldir || mkdir -p \$dldir~
11211 $install_prog $dir/$dlname \$dldir/$dlname'
11212 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11213 dlpath=$dir/\$dldll~
11215 shlibpath_overrides_runpath=yes
11219 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11220 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11221 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11224 # MinGW DLLs use traditional 'lib' prefix
11225 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11226 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11227 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11228 # It is most probably a Windows format PATH printed by
11229 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11230 # path with ; separators, and with drive letters. We can handle the
11231 # drive letters (cygwin fileutils understands them), so leave them,
11232 # especially as we might pass files found there to a mingw objdump,
11233 # which wouldn't understand a cygwinified path. Ahh.
11234 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11236 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11240 # pw32 DLLs use 'pw' prefix rather than 'lib'
11241 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11247 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11250 dynamic_linker='Win32 ld.exe'
11251 # FIXME: first we should search . and the directory the executable is in
11255 darwin* | rhapsody*)
11256 dynamic_linker="$host_os dyld"
11257 version_type=darwin
11260 # FIXME: Relying on posixy $() will cause problems for
11261 # cross-compilation, but unfortunately the echo tests do not
11262 # yet detect zsh echo's removal of \ escapes.
11263 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11264 soname_spec='${libname}${release}${major}$shared_ext'
11265 shlibpath_overrides_runpath=yes
11266 shlibpath_var=DYLD_LIBRARY_PATH
11267 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11268 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11269 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11270 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"`
11272 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11280 soname_spec='${libname}${release}${shared_ext}$major'
11281 shlibpath_var=LD_LIBRARY_PATH
11289 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11290 version_type=freebsd-$objformat
11291 case $version_type in
11293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11298 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11302 shlibpath_var=LD_LIBRARY_PATH
11305 shlibpath_overrides_runpath=yes
11307 freebsd3.01* | freebsdelf3.01*)
11308 shlibpath_overrides_runpath=yes
11309 hardcode_into_libs=yes
11312 shlibpath_overrides_runpath=no
11313 hardcode_into_libs=yes
11322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11323 soname_spec='${libname}${release}${shared_ext}$major'
11324 shlibpath_var=LD_LIBRARY_PATH
11325 hardcode_into_libs=yes
11328 hpux9* | hpux10* | hpux11*)
11329 # Give a soname corresponding to the major version so that dld.sl refuses to
11330 # link against other versions.
11334 case "$host_cpu" in
11337 hardcode_into_libs=yes
11338 dynamic_linker="$host_os dld.so"
11339 shlibpath_var=LD_LIBRARY_PATH
11340 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11342 soname_spec='${libname}${release}${shared_ext}$major'
11343 if test "X$HPUX_IA64_MODE" = X32; then
11344 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11346 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11348 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11352 hardcode_into_libs=yes
11353 dynamic_linker="$host_os dld.sl"
11354 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11355 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11357 soname_spec='${libname}${release}${shared_ext}$major'
11358 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11359 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11363 dynamic_linker="$host_os dld.sl"
11364 shlibpath_var=SHLIB_PATH
11365 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11367 soname_spec='${libname}${release}${shared_ext}$major'
11370 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11371 postinstall_cmds='chmod 555 $lib'
11374 irix5* | irix6* | nonstopux*)
11376 nonstopux*) version_type=nonstopux ;;
11378 if test "$lt_cv_prog_gnu_ld" = yes; then
11386 soname_spec='${libname}${release}${shared_ext}$major'
11387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11389 irix5* | nonstopux*)
11390 libsuff= shlibsuff=
11393 case $LD in # libtool.m4 will add one of these switches to LD
11394 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11395 libsuff= shlibsuff= libmagic=32-bit;;
11396 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11397 libsuff=32 shlibsuff=N32 libmagic=N32;;
11398 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11399 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11400 *) libsuff= shlibsuff= libmagic=never-match;;
11404 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11405 shlibpath_overrides_runpath=no
11406 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11407 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11408 hardcode_into_libs=yes
11411 # No shared lib support for Linux oldld, aout, or coff.
11412 linux*oldld* | linux*aout* | linux*coff*)
11416 # This must be Linux ELF.
11421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11422 soname_spec='${libname}${release}${shared_ext}$major'
11423 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11424 shlibpath_var=LD_LIBRARY_PATH
11425 shlibpath_overrides_runpath=no
11426 # This implies no fast_install, which is unacceptable.
11427 # Some rework will be needed to allow for fast_install
11428 # before this can be enabled.
11429 hardcode_into_libs=yes
11431 # We used to test for /lib/ld.so.1 and disable shared libraries on
11432 # powerpc, because MkLinux only supported shared libraries with the
11433 # GNU dynamic linker. Since this was broken with cross compilers,
11434 # most powerpc-linux boxes support dynamic linking these days and
11435 # people can always --disable-shared, the test was removed, and we
11436 # assume the GNU/Linux dynamic linker is in use.
11437 dynamic_linker='GNU/Linux ld.so'
11444 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11446 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11447 dynamic_linker='NetBSD (a.out) ld.so'
11449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11450 soname_spec='${libname}${release}${shared_ext}$major'
11451 dynamic_linker='NetBSD ld.elf_so'
11453 shlibpath_var=LD_LIBRARY_PATH
11454 shlibpath_overrides_runpath=yes
11455 hardcode_into_libs=yes
11460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11461 shlibpath_var=LD_LIBRARY_PATH
11462 shlibpath_overrides_runpath=yes
11469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11470 soname_spec='${libname}${release}${shared_ext}$major'
11471 shlibpath_var=LD_LIBRARY_PATH
11472 shlibpath_overrides_runpath=yes
11479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11480 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11481 shlibpath_var=LD_LIBRARY_PATH
11482 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11484 openbsd2.[89] | openbsd2.[89].*)
11485 shlibpath_overrides_runpath=no
11488 shlibpath_overrides_runpath=yes
11492 shlibpath_overrides_runpath=yes
11497 libname_spec='$name'
11500 library_names_spec='$libname${shared_ext} $libname.a'
11501 dynamic_linker='OS/2 ld.exe'
11502 shlibpath_var=LIBPATH
11505 osf3* | osf4* | osf5*)
11509 soname_spec='${libname}${release}${shared_ext}$major'
11510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11511 shlibpath_var=LD_LIBRARY_PATH
11512 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11513 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11518 soname_spec='${libname}${release}${shared_ext}$major'
11519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11520 shlibpath_var=LD_LIBRARY_PATH
11527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11528 soname_spec='${libname}${release}${shared_ext}$major'
11529 shlibpath_var=LD_LIBRARY_PATH
11530 shlibpath_overrides_runpath=yes
11531 hardcode_into_libs=yes
11532 # ldd complains unless libraries are executable
11533 postinstall_cmds='chmod +x $lib'
11538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11539 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11540 shlibpath_var=LD_LIBRARY_PATH
11541 shlibpath_overrides_runpath=yes
11542 if test "$with_gnu_ld" = yes; then
11548 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11551 soname_spec='${libname}${release}${shared_ext}$major'
11552 shlibpath_var=LD_LIBRARY_PATH
11553 case $host_vendor in
11555 shlibpath_overrides_runpath=no
11557 export_dynamic_flag_spec='${wl}-Blargedynsym'
11558 runpath_var=LD_RUN_PATH
11566 shlibpath_overrides_runpath=no
11567 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11573 if test -d /usr/nec ;then
11575 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11576 soname_spec='$libname${shared_ext}.$major'
11577 shlibpath_var=LD_LIBRARY_PATH
11583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11584 soname_spec='${libname}${release}${shared_ext}$major'
11585 shlibpath_var=LD_LIBRARY_PATH
11592 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11593 echo "${ECHO_T}$dynamic_linker" >&6
11594 test "$dynamic_linker" = no && can_build_shared=no
11596 if test "x$enable_dlopen" != xyes; then
11597 enable_dlopen=unknown
11598 enable_dlopen_self=unknown
11599 enable_dlopen_self_static=unknown
11606 lt_cv_dlopen="load_add_on"
11608 lt_cv_dlopen_self=yes
11612 lt_cv_dlopen="LoadLibrary"
11617 lt_cv_dlopen="dlopen"
11622 # if libdl is installed we need to link against it
11623 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11624 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11625 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11626 echo $ECHO_N "(cached) $ECHO_C" >&6
11628 ac_check_lib_save_LIBS=$LIBS
11630 cat >conftest.$ac_ext <<_ACEOF
11631 #line $LINENO "configure"
11634 cat confdefs.h >>conftest.$ac_ext
11635 cat >>conftest.$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11638 /* Override any gcc2 internal prototype to avoid an error. */
11642 /* We use char because int might match the return type of a gcc2
11643 builtin and then its argument prototype would still apply. */
11653 rm -f conftest.$ac_objext conftest$ac_exeext
11654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11655 (eval $ac_link) 2>&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); } &&
11659 { ac_try='test -s conftest$ac_exeext'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; }; then
11665 ac_cv_lib_dl_dlopen=yes
11667 echo "$as_me: failed program was:" >&5
11668 sed 's/^/| /' conftest.$ac_ext >&5
11670 ac_cv_lib_dl_dlopen=no
11672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11673 LIBS=$ac_check_lib_save_LIBS
11675 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11676 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11677 if test $ac_cv_lib_dl_dlopen = yes; then
11678 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11681 lt_cv_dlopen="dyld"
11683 lt_cv_dlopen_self=yes
11690 echo "$as_me:$LINENO: checking for shl_load" >&5
11691 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11692 if test "${ac_cv_func_shl_load+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11695 cat >conftest.$ac_ext <<_ACEOF
11696 #line $LINENO "configure"
11699 cat confdefs.h >>conftest.$ac_ext
11700 cat >>conftest.$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11702 /* System header to define __stub macros and hopefully few prototypes,
11703 which can conflict with char shl_load (); below.
11704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11705 <limits.h> exists even on freestanding compilers. */
11707 # include <limits.h>
11709 # include <assert.h>
11711 /* Override any gcc2 internal prototype to avoid an error. */
11716 /* We use char because int might match the return type of a gcc2
11717 builtin and then its argument prototype would still apply. */
11719 /* The GNU C library defines this for functions which it implements
11720 to always fail with ENOSYS. Some functions are actually named
11721 something starting with __ and the normal name is an alias. */
11722 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11725 char (*f) () = shl_load;
11734 return f != shl_load;
11739 rm -f conftest.$ac_objext conftest$ac_exeext
11740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11741 (eval $ac_link) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } &&
11745 { ac_try='test -s conftest$ac_exeext'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; }; then
11751 ac_cv_func_shl_load=yes
11753 echo "$as_me: failed program was:" >&5
11754 sed 's/^/| /' conftest.$ac_ext >&5
11756 ac_cv_func_shl_load=no
11758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11760 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11761 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11762 if test $ac_cv_func_shl_load = yes; then
11763 lt_cv_dlopen="shl_load"
11765 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11766 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11767 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11768 echo $ECHO_N "(cached) $ECHO_C" >&6
11770 ac_check_lib_save_LIBS=$LIBS
11772 cat >conftest.$ac_ext <<_ACEOF
11773 #line $LINENO "configure"
11776 cat confdefs.h >>conftest.$ac_ext
11777 cat >>conftest.$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11780 /* Override any gcc2 internal prototype to avoid an error. */
11784 /* We use char because int might match the return type of a gcc2
11785 builtin and then its argument prototype would still apply. */
11795 rm -f conftest.$ac_objext conftest$ac_exeext
11796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11797 (eval $ac_link) 2>&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); } &&
11801 { ac_try='test -s conftest$ac_exeext'
11802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11803 (eval $ac_try) 2>&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; }; then
11807 ac_cv_lib_dld_shl_load=yes
11809 echo "$as_me: failed program was:" >&5
11810 sed 's/^/| /' conftest.$ac_ext >&5
11812 ac_cv_lib_dld_shl_load=no
11814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11815 LIBS=$ac_check_lib_save_LIBS
11817 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11818 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11819 if test $ac_cv_lib_dld_shl_load = yes; then
11820 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11822 echo "$as_me:$LINENO: checking for dlopen" >&5
11823 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11824 if test "${ac_cv_func_dlopen+set}" = set; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11827 cat >conftest.$ac_ext <<_ACEOF
11828 #line $LINENO "configure"
11831 cat confdefs.h >>conftest.$ac_ext
11832 cat >>conftest.$ac_ext <<_ACEOF
11833 /* end confdefs.h. */
11834 /* System header to define __stub macros and hopefully few prototypes,
11835 which can conflict with char dlopen (); below.
11836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11837 <limits.h> exists even on freestanding compilers. */
11839 # include <limits.h>
11841 # include <assert.h>
11843 /* Override any gcc2 internal prototype to avoid an error. */
11848 /* We use char because int might match the return type of a gcc2
11849 builtin and then its argument prototype would still apply. */
11851 /* The GNU C library defines this for functions which it implements
11852 to always fail with ENOSYS. Some functions are actually named
11853 something starting with __ and the normal name is an alias. */
11854 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11857 char (*f) () = dlopen;
11866 return f != dlopen;
11871 rm -f conftest.$ac_objext conftest$ac_exeext
11872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11873 (eval $ac_link) 2>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); } &&
11877 { ac_try='test -s conftest$ac_exeext'
11878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11879 (eval $ac_try) 2>&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); }; }; then
11883 ac_cv_func_dlopen=yes
11885 echo "$as_me: failed program was:" >&5
11886 sed 's/^/| /' conftest.$ac_ext >&5
11888 ac_cv_func_dlopen=no
11890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11892 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11893 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11894 if test $ac_cv_func_dlopen = yes; then
11895 lt_cv_dlopen="dlopen"
11897 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11898 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11899 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11900 echo $ECHO_N "(cached) $ECHO_C" >&6
11902 ac_check_lib_save_LIBS=$LIBS
11904 cat >conftest.$ac_ext <<_ACEOF
11905 #line $LINENO "configure"
11908 cat confdefs.h >>conftest.$ac_ext
11909 cat >>conftest.$ac_ext <<_ACEOF
11910 /* end confdefs.h. */
11912 /* Override any gcc2 internal prototype to avoid an error. */
11916 /* We use char because int might match the return type of a gcc2
11917 builtin and then its argument prototype would still apply. */
11927 rm -f conftest.$ac_objext conftest$ac_exeext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11929 (eval $ac_link) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } &&
11933 { ac_try='test -s conftest$ac_exeext'
11934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11935 (eval $ac_try) 2>&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11939 ac_cv_lib_dl_dlopen=yes
11941 echo "$as_me: failed program was:" >&5
11942 sed 's/^/| /' conftest.$ac_ext >&5
11944 ac_cv_lib_dl_dlopen=no
11946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11947 LIBS=$ac_check_lib_save_LIBS
11949 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11950 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11951 if test $ac_cv_lib_dl_dlopen = yes; then
11952 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11954 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11955 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11956 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11957 echo $ECHO_N "(cached) $ECHO_C" >&6
11959 ac_check_lib_save_LIBS=$LIBS
11960 LIBS="-lsvld $LIBS"
11961 cat >conftest.$ac_ext <<_ACEOF
11962 #line $LINENO "configure"
11965 cat confdefs.h >>conftest.$ac_ext
11966 cat >>conftest.$ac_ext <<_ACEOF
11967 /* end confdefs.h. */
11969 /* Override any gcc2 internal prototype to avoid an error. */
11973 /* We use char because int might match the return type of a gcc2
11974 builtin and then its argument prototype would still apply. */
11984 rm -f conftest.$ac_objext conftest$ac_exeext
11985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11986 (eval $ac_link) 2>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } &&
11990 { ac_try='test -s conftest$ac_exeext'
11991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11992 (eval $ac_try) 2>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); }; }; then
11996 ac_cv_lib_svld_dlopen=yes
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.$ac_ext >&5
12001 ac_cv_lib_svld_dlopen=no
12003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12004 LIBS=$ac_check_lib_save_LIBS
12006 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12007 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12008 if test $ac_cv_lib_svld_dlopen = yes; then
12009 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12011 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12012 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12013 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 ac_check_lib_save_LIBS=$LIBS
12018 cat >conftest.$ac_ext <<_ACEOF
12019 #line $LINENO "configure"
12022 cat confdefs.h >>conftest.$ac_ext
12023 cat >>conftest.$ac_ext <<_ACEOF
12024 /* end confdefs.h. */
12026 /* Override any gcc2 internal prototype to avoid an error. */
12030 /* We use char because int might match the return type of a gcc2
12031 builtin and then its argument prototype would still apply. */
12041 rm -f conftest.$ac_objext conftest$ac_exeext
12042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12043 (eval $ac_link) 2>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); } &&
12047 { ac_try='test -s conftest$ac_exeext'
12048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12049 (eval $ac_try) 2>&5
12051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052 (exit $ac_status); }; }; then
12053 ac_cv_lib_dld_dld_link=yes
12055 echo "$as_me: failed program was:" >&5
12056 sed 's/^/| /' conftest.$ac_ext >&5
12058 ac_cv_lib_dld_dld_link=no
12060 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12061 LIBS=$ac_check_lib_save_LIBS
12063 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12064 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12065 if test $ac_cv_lib_dld_dld_link = yes; then
12066 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12087 if test "x$lt_cv_dlopen" != xno; then
12093 case $lt_cv_dlopen in
12095 save_CPPFLAGS="$CPPFLAGS"
12096 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12098 save_LDFLAGS="$LDFLAGS"
12099 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12102 LIBS="$lt_cv_dlopen_libs $LIBS"
12104 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12105 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12106 if test "${lt_cv_dlopen_self+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 if test "$cross_compiling" = yes; then :
12110 lt_cv_dlopen_self=cross
12112 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12113 lt_status=$lt_dlunknown
12114 cat > conftest.$ac_ext <<EOF
12115 #line 12115 "configure"
12116 #include "confdefs.h"
12125 # define LT_DLGLOBAL RTLD_GLOBAL
12128 # define LT_DLGLOBAL DL_GLOBAL
12130 # define LT_DLGLOBAL 0
12134 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12135 find out it does not work in some platform. */
12136 #ifndef LT_DLLAZY_OR_NOW
12138 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12141 # define LT_DLLAZY_OR_NOW DL_LAZY
12144 # define LT_DLLAZY_OR_NOW RTLD_NOW
12147 # define LT_DLLAZY_OR_NOW DL_NOW
12149 # define LT_DLLAZY_OR_NOW 0
12157 extern "C" void exit (int);
12160 void fnord() { int i=42;}
12163 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12164 int status = $lt_dlunknown;
12168 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12169 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12170 /* dlclose (self); */
12176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12177 (eval $ac_link) 2>&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12181 (./conftest; exit; ) 2>/dev/null
12183 case x$lt_status in
12184 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12185 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12186 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12189 # compilation failed
12190 lt_cv_dlopen_self=no
12197 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12198 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12200 if test "x$lt_cv_dlopen_self" = xyes; then
12201 LDFLAGS="$LDFLAGS $link_static_flag"
12202 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12203 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12204 if test "${lt_cv_dlopen_self_static+set}" = set; then
12205 echo $ECHO_N "(cached) $ECHO_C" >&6
12207 if test "$cross_compiling" = yes; then :
12208 lt_cv_dlopen_self_static=cross
12210 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12211 lt_status=$lt_dlunknown
12212 cat > conftest.$ac_ext <<EOF
12213 #line 12213 "configure"
12214 #include "confdefs.h"
12223 # define LT_DLGLOBAL RTLD_GLOBAL
12226 # define LT_DLGLOBAL DL_GLOBAL
12228 # define LT_DLGLOBAL 0
12232 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12233 find out it does not work in some platform. */
12234 #ifndef LT_DLLAZY_OR_NOW
12236 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12239 # define LT_DLLAZY_OR_NOW DL_LAZY
12242 # define LT_DLLAZY_OR_NOW RTLD_NOW
12245 # define LT_DLLAZY_OR_NOW DL_NOW
12247 # define LT_DLLAZY_OR_NOW 0
12255 extern "C" void exit (int);
12258 void fnord() { int i=42;}
12261 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12262 int status = $lt_dlunknown;
12266 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12267 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12268 /* dlclose (self); */
12274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12275 (eval $ac_link) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12279 (./conftest; exit; ) 2>/dev/null
12281 case x$lt_status in
12282 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12283 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12284 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12287 # compilation failed
12288 lt_cv_dlopen_self_static=no
12295 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12296 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12299 CPPFLAGS="$save_CPPFLAGS"
12300 LDFLAGS="$save_LDFLAGS"
12305 case $lt_cv_dlopen_self in
12306 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12307 *) enable_dlopen_self=unknown ;;
12310 case $lt_cv_dlopen_self_static in
12311 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12312 *) enable_dlopen_self_static=unknown ;;
12317 # The else clause should only fire when bootstrapping the
12318 # libtool distribution, otherwise you forgot to ship ltmain.sh
12319 # with your package, and you will get complaints that there are
12320 # no rules to generate ltmain.sh.
12321 if test -f "$ltmain"; then
12322 # See if we are running on zsh, and set the options which allow our commands through
12323 # without removal of \ escapes.
12324 if test -n "${ZSH_VERSION+set}" ; then
12325 setopt NO_GLOB_SUBST
12327 # Now quote all the things that may contain metacharacters while being
12328 # careful not to overquote the AC_SUBSTed values. We take copies of the
12329 # variables and quote the copies for generation of the libtool script.
12330 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12331 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12332 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12333 deplibs_check_method reload_flag reload_cmds need_locks \
12334 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12335 lt_cv_sys_global_symbol_to_c_name_address \
12336 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12337 old_postinstall_cmds old_postuninstall_cmds \
12341 lt_prog_compiler_wl_CXX \
12342 lt_prog_compiler_pic_CXX \
12343 lt_prog_compiler_static_CXX \
12344 lt_prog_compiler_no_builtin_flag_CXX \
12345 export_dynamic_flag_spec_CXX \
12346 thread_safe_flag_spec_CXX \
12347 whole_archive_flag_spec_CXX \
12348 enable_shared_with_static_runtimes_CXX \
12349 old_archive_cmds_CXX \
12350 old_archive_from_new_cmds_CXX \
12351 predep_objects_CXX \
12352 postdep_objects_CXX \
12355 compiler_lib_search_path_CXX \
12357 archive_expsym_cmds_CXX \
12358 postinstall_cmds_CXX \
12359 postuninstall_cmds_CXX \
12360 old_archive_from_expsyms_cmds_CXX \
12361 allow_undefined_flag_CXX \
12362 no_undefined_flag_CXX \
12363 export_symbols_cmds_CXX \
12364 hardcode_libdir_flag_spec_CXX \
12365 hardcode_libdir_flag_spec_ld_CXX \
12366 hardcode_libdir_separator_CXX \
12367 hardcode_automatic_CXX \
12369 module_expsym_cmds_CXX \
12370 lt_cv_prog_compiler_c_o_CXX \
12371 exclude_expsyms_CXX \
12372 include_expsyms_CXX; do
12375 old_archive_cmds_CXX | \
12376 old_archive_from_new_cmds_CXX | \
12377 archive_cmds_CXX | \
12378 archive_expsym_cmds_CXX | \
12379 module_cmds_CXX | \
12380 module_expsym_cmds_CXX | \
12381 old_archive_from_expsyms_cmds_CXX | \
12382 export_symbols_cmds_CXX | \
12383 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12384 postinstall_cmds | postuninstall_cmds | \
12385 old_postinstall_cmds | old_postuninstall_cmds | \
12386 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12387 # Double-quote double-evaled strings.
12388 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12391 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12397 *'\$0 --fallback-echo"')
12398 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12404 cat <<__EOF__ >> "$cfgfile"
12405 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12407 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12409 # Shell to use when invoking shell scripts.
12412 # Whether or not to build shared libraries.
12413 build_libtool_libs=$enable_shared
12415 # Whether or not to build static libraries.
12416 build_old_libs=$enable_static
12418 # Whether or not to add -lc for building shared libraries.
12419 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12421 # Whether or not to disallow shared libs when runtime libs are static
12422 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12424 # Whether or not to optimize for fast installation.
12425 fast_install=$enable_fast_install
12428 host_alias=$host_alias
12431 # An echo program that does not interpret backslashes.
12436 AR_FLAGS=$lt_AR_FLAGS
12441 # A language-specific compiler.
12442 CC=$lt_compiler_CXX
12444 # Is the compiler the GNU C compiler?
12450 # The linker used to build libraries.
12453 # Whether we need hard or soft links.
12456 # A BSD-compatible nm program.
12459 # A symbol stripping program
12462 # Used to examine libraries when file_magic_cmd begins "file"
12463 MAGIC_CMD=$MAGIC_CMD
12465 # Used on cygwin: DLL creation program.
12468 # Used on cygwin: object dumper.
12471 # Used on cygwin: assembler.
12474 # The name of the directory that contains temporary libtool files.
12477 # How to create reloadable object files.
12478 reload_flag=$lt_reload_flag
12479 reload_cmds=$lt_reload_cmds
12481 # How to pass a linker flag through the compiler.
12482 wl=$lt_lt_prog_compiler_wl_CXX
12484 # Object file suffix (normally "o").
12485 objext="$ac_objext"
12487 # Old archive suffix (normally "a").
12490 # Shared library suffix (normally ".so").
12493 # Executable file suffix (normally "").
12496 # Additional compiler flags for building library objects.
12497 pic_flag=$lt_lt_prog_compiler_pic_CXX
12500 # What is the maximum length of a command?
12501 max_cmd_len=$lt_cv_sys_max_cmd_len
12503 # Does compiler simultaneously support -c and -o options?
12504 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12506 # Must we lock files when doing compilation ?
12507 need_locks=$lt_need_locks
12509 # Do we need the lib prefix for modules?
12510 need_lib_prefix=$need_lib_prefix
12512 # Do we need a version for libraries?
12513 need_version=$need_version
12515 # Whether dlopen is supported.
12516 dlopen_support=$enable_dlopen
12518 # Whether dlopen of programs is supported.
12519 dlopen_self=$enable_dlopen_self
12521 # Whether dlopen of statically linked programs is supported.
12522 dlopen_self_static=$enable_dlopen_self_static
12524 # Compiler flag to prevent dynamic linking.
12525 link_static_flag=$lt_lt_prog_compiler_static_CXX
12527 # Compiler flag to turn off builtin functions.
12528 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12530 # Compiler flag to allow reflexive dlopens.
12531 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12533 # Compiler flag to generate shared objects directly from archives.
12534 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12536 # Compiler flag to generate thread-safe objects.
12537 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12539 # Library versioning type.
12540 version_type=$version_type
12542 # Format of library name prefix.
12543 libname_spec=$lt_libname_spec
12545 # List of archive names. First name is the real one, the rest are links.
12546 # The last name is the one that the linker finds with -lNAME.
12547 library_names_spec=$lt_library_names_spec
12549 # The coded name of the library, if different from the real name.
12550 soname_spec=$lt_soname_spec
12552 # Commands used to build and install an old-style archive.
12554 old_archive_cmds=$lt_old_archive_cmds_CXX
12555 old_postinstall_cmds=$lt_old_postinstall_cmds
12556 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12558 # Create an old-style archive from a shared archive.
12559 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12561 # Create a temporary old-style archive to link instead of a shared archive.
12562 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12564 # Commands used to build and install a shared archive.
12565 archive_cmds=$lt_archive_cmds_CXX
12566 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12567 postinstall_cmds=$lt_postinstall_cmds
12568 postuninstall_cmds=$lt_postuninstall_cmds
12570 # Commands used to build a loadable module (assumed same as above if empty)
12571 module_cmds=$lt_module_cmds_CXX
12572 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12574 # Commands to strip libraries.
12575 old_striplib=$lt_old_striplib
12576 striplib=$lt_striplib
12578 # Dependencies to place before the objects being linked to create a
12580 predep_objects=$lt_predep_objects_CXX
12582 # Dependencies to place after the objects being linked to create a
12584 postdep_objects=$lt_postdep_objects_CXX
12586 # Dependencies to place before the objects being linked to create a
12588 predeps=$lt_predeps_CXX
12590 # Dependencies to place after the objects being linked to create a
12592 postdeps=$lt_postdeps_CXX
12594 # The library search path used internally by the compiler when linking
12595 # a shared library.
12596 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12598 # Method to check whether dependent libraries are shared objects.
12599 deplibs_check_method=$lt_deplibs_check_method
12601 # Command to use when deplibs_check_method == file_magic.
12602 file_magic_cmd=$lt_file_magic_cmd
12604 # Flag that allows shared libraries with undefined symbols to be built.
12605 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12607 # Flag that forces no undefined symbols.
12608 no_undefined_flag=$lt_no_undefined_flag_CXX
12610 # Commands used to finish a libtool library installation in a directory.
12611 finish_cmds=$lt_finish_cmds
12613 # Same as above, but a single script fragment to be evaled but not shown.
12614 finish_eval=$lt_finish_eval
12616 # Take the output of nm and produce a listing of raw symbols and C names.
12617 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12619 # Transform the output of nm in a proper C declaration
12620 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12622 # Transform the output of nm in a C name address pair
12623 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12625 # This is the shared library runtime path variable.
12626 runpath_var=$runpath_var
12628 # This is the shared library path variable.
12629 shlibpath_var=$shlibpath_var
12631 # Is shlibpath searched before the hard-coded library search path?
12632 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12634 # How to hardcode a shared library path into an executable.
12635 hardcode_action=$hardcode_action_CXX
12637 # Whether we should hardcode library paths into libraries.
12638 hardcode_into_libs=$hardcode_into_libs
12640 # Flag to hardcode \$libdir into a binary during linking.
12641 # This must work even if \$libdir does not exist.
12642 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12644 # If ld is used when linking, flag to hardcode \$libdir into
12645 # a binary during linking. This must work even if \$libdir does
12647 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12649 # Whether we need a single -rpath flag with a separated argument.
12650 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12652 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12653 # resulting binary.
12654 hardcode_direct=$hardcode_direct_CXX
12656 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12657 # resulting binary.
12658 hardcode_minus_L=$hardcode_minus_L_CXX
12660 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12661 # the resulting binary.
12662 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12664 # Set to yes if building a shared library automatically hardcodes DIR into the library
12665 # and all subsequent libraries and executables linked against it.
12666 hardcode_automatic=$hardcode_automatic_CXX
12668 # Variables whose values should be saved in libtool wrapper scripts and
12669 # restored at relink time.
12670 variables_saved_for_relink="$variables_saved_for_relink"
12672 # Whether libtool must link a program against all its dependency libraries.
12673 link_all_deplibs=$link_all_deplibs_CXX
12675 # Compile-time system search path for libraries
12676 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12678 # Run-time system search path for libraries
12679 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12681 # Fix the shell variable \$srcfile for the compiler.
12682 fix_srcfile_path="$fix_srcfile_path_CXX"
12684 # Set to yes if exported symbols are required.
12685 always_export_symbols=$always_export_symbols_CXX
12687 # The commands to list exported symbols.
12688 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12690 # The commands to extract the exported symbol list from a shared archive.
12691 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12693 # Symbols that should not be listed in the preloaded symbols.
12694 exclude_expsyms=$lt_exclude_expsyms_CXX
12696 # Symbols that must always be exported.
12697 include_expsyms=$lt_include_expsyms_CXX
12699 # ### END LIBTOOL TAG CONFIG: $tagname
12705 # If there is no Makefile yet, we rely on a make rule to execute
12706 # `config.status --recheck' to rerun these tests and create the
12707 # libtool script then.
12708 test -f Makefile && make "$ltmain"
12713 ac_cpp='$CPP $CPPFLAGS'
12714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12722 with_gnu_ldcxx=$with_gnu_ld
12723 with_gnu_ld=$lt_save_with_gnu_ld
12724 lt_cv_path_LDCXX=$lt_cv_path_LD
12725 lt_cv_path_LD=$lt_save_path_LD
12726 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12727 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12735 if test -n "$F77" && test "X$F77" != "Xno"; then
12738 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12739 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12740 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12743 archive_cmds_need_lc_F77=no
12744 allow_undefined_flag_F77=
12745 always_export_symbols_F77=no
12746 archive_expsym_cmds_F77=
12747 export_dynamic_flag_spec_F77=
12748 hardcode_direct_F77=no
12749 hardcode_libdir_flag_spec_F77=
12750 hardcode_libdir_flag_spec_ld_F77=
12751 hardcode_libdir_separator_F77=
12752 hardcode_minus_L_F77=no
12753 hardcode_automatic_F77=no
12755 module_expsym_cmds_F77=
12756 link_all_deplibs_F77=unknown
12757 old_archive_cmds_F77=$old_archive_cmds
12758 no_undefined_flag_F77=
12759 whole_archive_flag_spec_F77=
12760 enable_shared_with_static_runtimes_F77=no
12762 # Source file extension for f77 test sources.
12765 # Object file extension for compiled f77 test sources.
12769 # Code to be used in simple compile tests
12770 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12772 # Code to be used in simple link tests
12773 lt_simple_link_test_code=" program t\n end\n"
12775 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12777 # If no C compiler was specified, use CC.
12780 # Allow CC to be a program name with arguments.
12784 # Allow CC to be a program name with arguments.
12789 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12791 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12792 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12793 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12794 echo "${ECHO_T}$can_build_shared" >&6
12796 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12797 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12798 test "$can_build_shared" = "no" && enable_shared=no
12800 # On AIX, shared libraries and static libraries use the same namespace, and
12801 # are all built from PIC.
12804 test "$enable_shared" = yes && enable_static=no
12805 if test -n "$RANLIB"; then
12806 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12807 postinstall_cmds='$RANLIB $lib'
12811 test "$enable_shared" = yes && enable_static=no
12814 echo "$as_me:$LINENO: result: $enable_shared" >&5
12815 echo "${ECHO_T}$enable_shared" >&6
12817 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12818 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12819 # Make sure either enable_shared or enable_static is yes.
12820 test "$enable_shared" = yes || enable_static=yes
12821 echo "$as_me:$LINENO: result: $enable_static" >&5
12822 echo "${ECHO_T}$enable_static" >&6
12824 test "$ld_shlibs_F77" = no && can_build_shared=no
12829 lt_prog_compiler_wl_F77=
12830 lt_prog_compiler_pic_F77=
12831 lt_prog_compiler_static_F77=
12833 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12834 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12836 if test "$GCC" = yes; then
12837 lt_prog_compiler_wl_F77='-Wl,'
12838 lt_prog_compiler_static_F77='-static'
12842 # All AIX code is PIC.
12843 if test "$host_cpu" = ia64; then
12844 # AIX 5 now supports IA64 processor
12845 lt_prog_compiler_static_F77='-Bstatic'
12850 # FIXME: we need at least 68020 code to build shared libraries, but
12851 # adding the `-m68020' flag to GCC prevents building anything better,
12853 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12856 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12857 # PIC is the default for these OSes.
12860 mingw* | pw32* | os2*)
12861 # This hack is so that the source file can tell whether it is being
12862 # built for inclusion in a dll (and should export symbols for example).
12863 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12866 darwin* | rhapsody*)
12867 # PIC is the default on this platform
12868 # Common symbols not allowed in MH_DYLIB files
12869 lt_prog_compiler_pic_F77='-fno-common'
12873 # Just because we use GCC doesn't mean we suddenly get shared libraries
12874 # on systems that don't support them.
12875 lt_prog_compiler_can_build_shared_F77=no
12880 if test -d /usr/nec; then
12881 lt_prog_compiler_pic_F77=-Kconform_pic
12886 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12887 # not for PA HP-UX.
12888 case "$host_cpu" in
12893 lt_prog_compiler_pic_F77='-fPIC'
12899 lt_prog_compiler_pic_F77='-fPIC'
12903 # PORTME Check for flag to pass linker flags through the system compiler.
12906 lt_prog_compiler_wl_F77='-Wl,'
12907 if test "$host_cpu" = ia64; then
12908 # AIX 5 now supports IA64 processor
12909 lt_prog_compiler_static_F77='-Bstatic'
12911 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12915 mingw* | pw32* | os2*)
12916 # This hack is so that the source file can tell whether it is being
12917 # built for inclusion in a dll (and should export symbols for example).
12918 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12921 hpux9* | hpux10* | hpux11*)
12922 lt_prog_compiler_wl_F77='-Wl,'
12923 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12924 # not for PA HP-UX.
12925 case "$host_cpu" in
12930 lt_prog_compiler_pic_F77='+Z'
12933 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12934 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12937 irix5* | irix6* | nonstopux*)
12938 lt_prog_compiler_wl_F77='-Wl,'
12939 # PIC (with -KPIC) is the default.
12940 lt_prog_compiler_static_F77='-non_shared'
12944 lt_prog_compiler_pic_F77='-KPIC'
12945 lt_prog_compiler_static_F77='-Bstatic'
12951 lt_prog_compiler_wl_F77='-Wl,'
12952 lt_prog_compiler_pic_F77='-KPIC'
12953 lt_prog_compiler_static_F77='-static'
12956 lt_prog_compiler_wl_F77='-Wl,'
12957 # All Alpha code is PIC.
12958 lt_prog_compiler_static_F77='-non_shared'
12963 osf3* | osf4* | osf5*)
12964 lt_prog_compiler_wl_F77='-Wl,'
12965 # All OSF/1 code is PIC.
12966 lt_prog_compiler_static_F77='-non_shared'
12970 lt_prog_compiler_pic_F77='-Kpic'
12971 lt_prog_compiler_static_F77='-dn'
12975 lt_prog_compiler_wl_F77='-Wl,'
12976 lt_prog_compiler_pic_F77='-KPIC'
12977 lt_prog_compiler_static_F77='-Bstatic'
12981 lt_prog_compiler_wl_F77='-Qoption ld '
12982 lt_prog_compiler_pic_F77='-PIC'
12983 lt_prog_compiler_static_F77='-Bstatic'
12986 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12987 lt_prog_compiler_wl_F77='-Wl,'
12988 lt_prog_compiler_pic_F77='-KPIC'
12989 lt_prog_compiler_static_F77='-Bstatic'
12993 if test -d /usr/nec ;then
12994 lt_prog_compiler_pic_F77='-Kconform_pic'
12995 lt_prog_compiler_static_F77='-Bstatic'
13000 lt_prog_compiler_pic_F77='-pic'
13001 lt_prog_compiler_static_F77='-Bstatic'
13005 lt_prog_compiler_can_build_shared_F77=no
13010 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13011 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13014 # Check to make sure the PIC flag actually works.
13016 if test -n "$lt_prog_compiler_pic_F77"; then
13017 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13018 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13019 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 lt_prog_compiler_pic_works_F77=no
13023 ac_outfile=conftest.$ac_objext
13024 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13025 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13026 # Insert the option either (1) after the last *FLAGS variable, or
13027 # (2) before a word containing "conftest.", or (3) at the end.
13028 # Note that $ac_compile itself does not contain backslashes and begins
13029 # with a dollar sign (not a hyphen), so the echo should work correctly.
13030 # The option is referenced via a variable to avoid confusing sed.
13031 lt_compile=`echo "$ac_compile" | $SED \
13032 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13033 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13034 -e 's:$: $lt_compiler_flag:'`
13035 (eval echo "\"\$as_me:13035: $lt_compile\"" >&5)
13036 (eval "$lt_compile" 2>conftest.err)
13038 cat conftest.err >&5
13039 echo "$as_me:13039: \$? = $ac_status" >&5
13040 if (exit $ac_status) && test -s "$ac_outfile"; then
13041 # The compiler can only warn and ignore the option if not recognized
13042 # So say no if there are warnings
13043 if test ! -s conftest.err; then
13044 lt_prog_compiler_pic_works_F77=yes
13050 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13051 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13053 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13054 case $lt_prog_compiler_pic_F77 in
13056 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13059 lt_prog_compiler_pic_F77=
13060 lt_prog_compiler_can_build_shared_F77=no
13065 # For platforms which do not support PIC, -DPIC is meaningless:
13067 lt_prog_compiler_pic_F77=
13070 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13074 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13075 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13076 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13077 echo $ECHO_N "(cached) $ECHO_C" >&6
13079 lt_cv_prog_compiler_c_o_F77=no
13080 $rm -r conftest 2>/dev/null
13084 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13086 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13087 # that will create temporary files in the current directory regardless of
13088 # the output directory. Thus, making CWD read-only will cause this test
13089 # to fail, enabling locking or at least warning the user not to do parallel
13093 lt_compiler_flag="-o out/conftest2.$ac_objext"
13094 # Insert the option either (1) after the last *FLAGS variable, or
13095 # (2) before a word containing "conftest.", or (3) at the end.
13096 # Note that $ac_compile itself does not contain backslashes and begins
13097 # with a dollar sign (not a hyphen), so the echo should work correctly.
13098 lt_compile=`echo "$ac_compile" | $SED \
13099 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13101 -e 's:$: $lt_compiler_flag:'`
13102 (eval echo "\"\$as_me:13102: $lt_compile\"" >&5)
13103 (eval "$lt_compile" 2>out/conftest.err)
13105 cat out/conftest.err >&5
13106 echo "$as_me:13106: \$? = $ac_status" >&5
13107 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13109 # The compiler can only warn and ignore the option if not recognized
13110 # So say no if there are warnings
13111 if test ! -s out/conftest.err; then
13112 lt_cv_prog_compiler_c_o_F77=yes
13116 $rm conftest* out/*
13123 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13124 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13127 hard_links="nottested"
13128 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13129 # do not overwrite the value of need_locks provided by the user
13130 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13131 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13134 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13136 ln conftest.a conftest.b 2>&5 || hard_links=no
13137 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13138 echo "$as_me:$LINENO: result: $hard_links" >&5
13139 echo "${ECHO_T}$hard_links" >&6
13140 if test "$hard_links" = no; then
13141 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13142 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13149 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13150 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13153 allow_undefined_flag_F77=
13154 enable_shared_with_static_runtimes_F77=no
13156 archive_expsym_cmds_F77=
13157 old_archive_From_new_cmds_F77=
13158 old_archive_from_expsyms_cmds_F77=
13159 export_dynamic_flag_spec_F77=
13160 whole_archive_flag_spec_F77=
13161 thread_safe_flag_spec_F77=
13162 hardcode_libdir_flag_spec_F77=
13163 hardcode_libdir_flag_spec_ld_F77=
13164 hardcode_libdir_separator_F77=
13165 hardcode_direct_F77=no
13166 hardcode_minus_L_F77=no
13167 hardcode_shlibpath_var_F77=unsupported
13168 link_all_deplibs_F77=unknown
13169 hardcode_automatic_F77=no
13171 module_expsym_cmds_F77=
13172 always_export_symbols_F77=no
13173 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13174 # include_expsyms should be a list of space-separated symbols to be *always*
13175 # included in the symbol list
13176 include_expsyms_F77=
13177 # exclude_expsyms can be an extended regexp of symbols to exclude
13178 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13179 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13180 # as well as any symbol that contains `d'.
13181 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13182 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13183 # platforms (ab)use it in PIC code, but their linkers get confused if
13184 # the symbol is explicitly referenced. Since portable code cannot
13185 # rely on this symbol name, it's probably fine to never include it in
13186 # preloaded symbol tables.
13187 extract_expsyms_cmds=
13190 cygwin* | mingw* | pw32*)
13191 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13192 # When not using gcc, we currently assume that we are using
13193 # Microsoft Visual C++.
13194 if test "$GCC" != yes; then
13204 if test "$with_gnu_ld" = yes; then
13205 # If archive_cmds runs LD, not CC, wlarc should be empty
13208 # See if GNU ld supports shared libraries.
13210 aix3* | aix4* | aix5*)
13211 # On AIX/PPC, the GNU linker is very broken
13212 if test "$host_cpu" != ia64; then
13216 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13217 *** to be unable to reliably create shared libraries on AIX.
13218 *** Therefore, libtool is disabling shared libraries support. If you
13219 *** really care for shared libraries, you may want to modify your PATH
13220 *** so that a non-GNU linker is found, and then restart.
13227 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)'
13228 hardcode_libdir_flag_spec_F77='-L$libdir'
13229 hardcode_minus_L_F77=yes
13231 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13232 # that the semantics of dynamic libraries on AmigaOS, at least up
13233 # to version 4, is to share data among multiple programs linked
13234 # with the same dynamic library. Since this doesn't match the
13235 # behavior of shared libraries on other platforms, we can't use
13241 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13242 allow_undefined_flag_F77=unsupported
13243 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13244 # support --undefined. This deserves some investigation. FIXME
13245 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13251 cygwin* | mingw* | pw32*)
13252 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13253 # as there is no search path for DLLs.
13254 hardcode_libdir_flag_spec_F77='-L$libdir'
13255 allow_undefined_flag_F77=unsupported
13256 always_export_symbols_F77=no
13257 enable_shared_with_static_runtimes_F77=yes
13258 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13260 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13261 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13262 # If the export-symbols file already is a .def file (1st line
13263 # is EXPORTS), use it as is; otherwise, prepend...
13264 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13265 cp $export_symbols $output_objdir/$soname.def;
13267 echo EXPORTS > $output_objdir/$soname.def;
13268 cat $export_symbols >> $output_objdir/$soname.def;
13270 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13277 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13278 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13281 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13282 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13287 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13291 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13292 *** create shared libraries on Solaris systems. Therefore, libtool
13293 *** is disabling shared libraries support. We urge you to upgrade GNU
13294 *** binutils to release 2.9.1 or newer. Another option is to modify
13295 *** your PATH or compiler configuration so that the native linker is
13296 *** used, and then restart.
13299 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13300 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13301 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13308 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13310 hardcode_direct_F77=yes
13311 hardcode_shlibpath_var_F77=no
13315 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13316 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13317 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13324 if test "$ld_shlibs_F77" = yes; then
13325 runpath_var=LD_RUN_PATH
13326 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13327 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13328 # ancient GNU ld didn't support --whole-archive et. al.
13329 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13330 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13332 whole_archive_flag_spec_F77=
13336 # PORTME fill in a description of your system's linker (not GNU ld)
13339 allow_undefined_flag_F77=unsupported
13340 always_export_symbols_F77=yes
13341 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'
13342 # Note: this linker hardcodes the directories in LIBPATH if there
13343 # are no directories specified by -L.
13344 hardcode_minus_L_F77=yes
13345 if test "$GCC" = yes && test -z "$link_static_flag"; then
13346 # Neither direct hardcoding nor static linking is supported with a
13348 hardcode_direct_F77=unsupported
13353 if test "$host_cpu" = ia64; then
13354 # On IA64, the linker does run time linking by default, so we don't
13355 # have to do anything special.
13356 aix_use_runtimelinking=no
13357 exp_sym_flag='-Bexport'
13360 # If we're using GNU nm, then we don't want the "-C" option.
13361 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13362 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13363 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'
13365 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'
13367 aix_use_runtimelinking=no
13369 # Test if we are trying to use run time linking or normal
13370 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13371 # need to do runtime linking.
13372 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13373 for ld_flag in $LDFLAGS; do
13374 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13375 aix_use_runtimelinking=yes
13381 exp_sym_flag='-bexport'
13382 no_entry_flag='-bnoentry'
13385 # When large executables or shared objects are built, AIX ld can
13386 # have problems creating the table of contents. If linking a library
13387 # or program results in "error TOC overflow" add -mminimal-toc to
13388 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13389 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13391 archive_cmds_F77=''
13392 hardcode_direct_F77=yes
13393 hardcode_libdir_separator_F77=':'
13394 link_all_deplibs_F77=yes
13396 if test "$GCC" = yes; then
13397 case $host_os in aix4.012|aix4.012.*)
13398 # We only want to do this on AIX 4.2 and lower, the check
13399 # below for broken collect2 doesn't work under 4.3+
13400 collect2name=`${CC} -print-prog-name=collect2`
13401 if test -f "$collect2name" && \
13402 strings "$collect2name" | grep resolve_lib_name >/dev/null
13404 # We have reworked collect2
13405 hardcode_direct_F77=yes
13407 # We have old collect2
13408 hardcode_direct_F77=unsupported
13409 # It fails to find uninstalled libraries when the uninstalled
13410 # path is not listed in the libpath. Setting hardcode_minus_L
13411 # to unsupported forces relinking
13412 hardcode_minus_L_F77=yes
13413 hardcode_libdir_flag_spec_F77='-L$libdir'
13414 hardcode_libdir_separator_F77=
13417 shared_flag='-shared'
13420 if test "$host_cpu" = ia64; then
13421 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13422 # chokes on -Wl,-G. The following line is correct:
13425 if test "$aix_use_runtimelinking" = yes; then
13426 shared_flag='${wl}-G'
13428 shared_flag='${wl}-bM:SRE'
13433 # It seems that -bexpall does not export symbols beginning with
13434 # underscore (_), so it is better to generate a list of symbols to export.
13435 always_export_symbols_F77=yes
13436 if test "$aix_use_runtimelinking" = yes; then
13437 # Warning - without using the other runtime loading flags (-brtl),
13438 # -berok will link without error, but may produce a broken library.
13439 allow_undefined_flag_F77='-berok'
13440 # Determine the default libpath from the value encoded in an empty executable.
13441 cat >conftest.$ac_ext <<_ACEOF
13446 rm -f conftest.$ac_objext conftest$ac_exeext
13447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13448 (eval $ac_link) 2>&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } &&
13452 { ac_try='test -s conftest$ac_exeext'
13453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13454 (eval $ac_try) 2>&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); }; }; then
13459 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13461 # Check for a 64-bit object if we didn't find anything.
13462 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; }
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.$ac_ext >&5
13469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13470 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13472 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13473 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"
13475 if test "$host_cpu" = ia64; then
13476 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13477 allow_undefined_flag_F77="-z nodefs"
13478 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"
13480 # Determine the default libpath from the value encoded in an empty executable.
13481 cat >conftest.$ac_ext <<_ACEOF
13486 rm -f conftest.$ac_objext conftest$ac_exeext
13487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13488 (eval $ac_link) 2>&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); } &&
13492 { ac_try='test -s conftest$ac_exeext'
13493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13494 (eval $ac_try) 2>&5
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); }; }; then
13499 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13501 # Check for a 64-bit object if we didn't find anything.
13502 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; }
13505 echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.$ac_ext >&5
13509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13510 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13512 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13513 # Warning - without using the other run time loading flags,
13514 # -berok will link without error, but may produce a broken library.
13515 no_undefined_flag_F77=' ${wl}-bernotok'
13516 allow_undefined_flag_F77=' ${wl}-berok'
13517 # -bexpall does not export symbols beginning with underscore (_)
13518 always_export_symbols_F77=yes
13519 # Exported symbols can be pulled into shared objects from archives
13520 whole_archive_flag_spec_F77=' '
13521 archive_cmds_need_lc_F77=yes
13522 # This is similar to how AIX traditionally builds it's shared libraries.
13523 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'
13529 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)'
13530 hardcode_libdir_flag_spec_F77='-L$libdir'
13531 hardcode_minus_L_F77=yes
13532 # see comment about different semantics on the GNU ld section
13537 export_dynamic_flag_spec_F77=-rdynamic
13540 cygwin* | mingw* | pw32*)
13541 # When not using gcc, we currently assume that we are using
13542 # Microsoft Visual C++.
13543 # hardcode_libdir_flag_spec is actually meaningless, as there is
13544 # no search path for DLLs.
13545 hardcode_libdir_flag_spec_F77=' '
13546 allow_undefined_flag_F77=unsupported
13547 # Tell ltmain to make .lib files, not .a files.
13549 # Tell ltmain to make .dll files, not .so files.
13551 # FIXME: Setting linknames here is a bad hack.
13552 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13553 # The linker will automatically build a .lib file if we build a DLL.
13554 old_archive_From_new_cmds_F77='true'
13555 # FIXME: Should let the user specify the lib program.
13556 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13557 fix_srcfile_path='`cygpath -w "$srcfile"`'
13558 enable_shared_with_static_runtimes_F77=yes
13561 darwin* | rhapsody*)
13562 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13563 archive_cmds_need_lc_F77=no
13565 rhapsody* | darwin1.[012])
13566 allow_undefined_flag_F77='-undefined suppress'
13569 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13572 # FIXME: Relying on posixy $() will cause problems for
13573 # cross-compilation, but unfortunately the echo tests do not
13574 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13575 # `"' quotes if we put them in here... so don't!
13576 lt_int_apple_cc_single_mod=no
13577 output_verbose_link_cmd='echo'
13578 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13579 lt_int_apple_cc_single_mod=yes
13581 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13582 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13584 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'
13586 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13587 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13588 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13589 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}'
13591 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}'
13593 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}'
13594 hardcode_direct_F77=no
13595 hardcode_automatic_F77=yes
13596 hardcode_shlibpath_var_F77=unsupported
13597 whole_archive_flag_spec_F77='-all_load $convenience'
13598 link_all_deplibs_F77=yes
13603 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13604 hardcode_libdir_flag_spec_F77='-L$libdir'
13605 hardcode_shlibpath_var_F77=no
13612 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13613 # support. Future versions do this automatically, but an explicit c++rt0.o
13614 # does not break anything, and helps significantly (at the cost of a little
13617 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13618 hardcode_libdir_flag_spec_F77='-R$libdir'
13619 hardcode_direct_F77=yes
13620 hardcode_shlibpath_var_F77=no
13623 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13625 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13626 hardcode_direct_F77=yes
13627 hardcode_minus_L_F77=yes
13628 hardcode_shlibpath_var_F77=no
13631 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13633 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13634 hardcode_libdir_flag_spec_F77='-R$libdir'
13635 hardcode_direct_F77=yes
13636 hardcode_shlibpath_var_F77=no
13640 if test "$GCC" = yes; then
13641 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'
13643 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'
13645 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13646 hardcode_libdir_separator_F77=:
13647 hardcode_direct_F77=yes
13649 # hardcode_minus_L: Not really in the search PATH,
13650 # but as the default location of the library.
13651 hardcode_minus_L_F77=yes
13652 export_dynamic_flag_spec_F77='${wl}-E'
13656 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13657 case "$host_cpu" in
13659 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13662 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13666 case "$host_cpu" in
13668 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13671 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13675 if test "$with_gnu_ld" = no; then
13676 case "$host_cpu" in
13678 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13679 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13680 hardcode_libdir_separator_F77=:
13681 hardcode_direct_F77=no
13682 hardcode_shlibpath_var_F77=no
13685 hardcode_libdir_flag_spec_F77='-L$libdir'
13686 hardcode_direct_F77=no
13687 hardcode_shlibpath_var_F77=no
13689 # hardcode_minus_L: Not really in the search PATH,
13690 # but as the default location of the library.
13691 hardcode_minus_L_F77=yes
13694 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13695 hardcode_libdir_separator_F77=:
13696 hardcode_direct_F77=yes
13697 export_dynamic_flag_spec_F77='${wl}-E'
13699 # hardcode_minus_L: Not really in the search PATH,
13700 # but as the default location of the library.
13701 hardcode_minus_L_F77=yes
13707 irix5* | irix6* | nonstopux*)
13708 if test "$GCC" = yes; then
13709 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'
13711 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'
13712 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13714 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13715 hardcode_libdir_separator_F77=:
13716 link_all_deplibs_F77=yes
13720 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13721 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13723 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13725 hardcode_libdir_flag_spec_F77='-R$libdir'
13726 hardcode_direct_F77=yes
13727 hardcode_shlibpath_var_F77=no
13731 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13732 hardcode_direct_F77=yes
13733 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13734 hardcode_libdir_separator_F77=:
13735 hardcode_shlibpath_var_F77=no
13739 hardcode_direct_F77=yes
13740 hardcode_shlibpath_var_F77=no
13741 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13742 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13743 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13744 export_dynamic_flag_spec_F77='${wl}-E'
13747 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13748 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13749 hardcode_libdir_flag_spec_F77='-R$libdir'
13752 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13753 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13760 hardcode_libdir_flag_spec_F77='-L$libdir'
13761 hardcode_minus_L_F77=yes
13762 allow_undefined_flag_F77=unsupported
13763 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'
13764 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13768 if test "$GCC" = yes; then
13769 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13770 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'
13772 allow_undefined_flag_F77=' -expect_unresolved \*'
13773 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'
13775 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13776 hardcode_libdir_separator_F77=:
13779 osf4* | osf5*) # as osf3* with the addition of -msym flag
13780 if test "$GCC" = yes; then
13781 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13782 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'
13783 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13785 allow_undefined_flag_F77=' -expect_unresolved \*'
13786 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'
13787 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~
13788 $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'
13790 # Both c and cxx compiler support -rpath directly
13791 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13793 hardcode_libdir_separator_F77=:
13797 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13798 hardcode_shlibpath_var_F77=no
13799 export_dynamic_flag_spec_F77='${wl}-Bexport'
13800 runpath_var=LD_RUN_PATH
13801 hardcode_runpath_var=yes
13805 no_undefined_flag_F77=' -z text'
13806 if test "$GCC" = yes; then
13807 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13808 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13809 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13811 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13812 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13813 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13815 hardcode_libdir_flag_spec_F77='-R$libdir'
13816 hardcode_shlibpath_var_F77=no
13818 solaris2.[0-5] | solaris2.[0-5].*) ;;
13819 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13820 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13822 link_all_deplibs_F77=yes
13826 if test "x$host_vendor" = xsequent; then
13827 # Use $CC to link under sequent, because it throws in some extra .o
13828 # files that make .init and .fini sections work.
13829 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13831 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13833 hardcode_libdir_flag_spec_F77='-L$libdir'
13834 hardcode_direct_F77=yes
13835 hardcode_minus_L_F77=yes
13836 hardcode_shlibpath_var_F77=no
13840 case $host_vendor in
13842 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13843 hardcode_direct_F77=yes # is this really true???
13846 ## LD is ld it makes a PLAMLIB
13847 ## CC just makes a GrossModule.
13848 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13849 reload_cmds_F77='$CC -r -o $output$reload_objs'
13850 hardcode_direct_F77=no
13853 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13854 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13857 runpath_var='LD_RUN_PATH'
13858 hardcode_shlibpath_var_F77=no
13862 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13863 hardcode_shlibpath_var_F77=no
13864 export_dynamic_flag_spec_F77='-Bexport'
13868 if test -d /usr/nec; then
13869 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13870 hardcode_shlibpath_var_F77=no
13871 runpath_var=LD_RUN_PATH
13872 hardcode_runpath_var=yes
13878 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13879 hardcode_direct_F77=yes
13880 hardcode_minus_L_F77=no
13881 hardcode_shlibpath_var_F77=no
13882 hardcode_runpath_var=yes
13883 runpath_var=LD_RUN_PATH
13886 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13887 no_undefined_flag_F77='${wl}-z ${wl}text'
13888 if test "$GCC" = yes; then
13889 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13891 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13893 runpath_var='LD_RUN_PATH'
13894 hardcode_shlibpath_var_F77=no
13898 no_undefined_flag_F77=' -z text'
13899 # $CC -shared without GNU ld will not create a library from C++
13900 # object files and a static libstdc++, better avoid it by now
13901 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13902 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13903 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13904 hardcode_libdir_flag_spec_F77=
13905 hardcode_shlibpath_var_F77=no
13906 runpath_var='LD_RUN_PATH'
13910 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13911 hardcode_libdir_flag_spec_F77='-L$libdir'
13912 hardcode_shlibpath_var_F77=no
13921 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13922 echo "${ECHO_T}$ld_shlibs_F77" >&6
13923 test "$ld_shlibs_F77" = no && can_build_shared=no
13925 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13926 if test "$GCC" = yes; then
13927 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13931 # Do we need to explicitly link libc?
13933 case "x$archive_cmds_need_lc_F77" in
13935 # Assume -lc should be added
13936 archive_cmds_need_lc_F77=yes
13938 if test "$enable_shared" = yes && test "$GCC" = yes; then
13939 case $archive_cmds_F77 in
13941 # FIXME: we may have to deal with multi-command sequences.
13944 # Test whether the compiler implicitly links with -lc since on some
13945 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13946 # to ld, don't add -lc before -lgcc.
13947 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13948 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13950 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13953 (eval $ac_compile) 2>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); } 2>conftest.err; then
13959 libobjs=conftest.$ac_objext
13961 wl=$lt_prog_compiler_wl_F77
13967 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13968 allow_undefined_flag_F77=
13969 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13970 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); }
13975 archive_cmds_need_lc_F77=no
13977 archive_cmds_need_lc_F77=yes
13979 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13981 cat conftest.err 1>&5
13984 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13985 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13992 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13993 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13994 hardcode_action_F77=
13995 if test -n "$hardcode_libdir_flag_spec_F77" || \
13996 test -n "$runpath_var F77" || \
13997 test "X$hardcode_automatic_F77"="Xyes" ; then
13999 # We can hardcode non-existant directories.
14000 if test "$hardcode_direct_F77" != no &&
14001 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14002 # have to relink, otherwise we might link with an installed library
14003 # when we should be linking with a yet-to-be-installed one
14004 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14005 test "$hardcode_minus_L_F77" != no; then
14006 # Linking always hardcodes the temporary library directory.
14007 hardcode_action_F77=relink
14009 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14010 hardcode_action_F77=immediate
14013 # We cannot hardcode anything, or else we can only hardcode existing
14015 hardcode_action_F77=unsupported
14017 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14018 echo "${ECHO_T}$hardcode_action_F77" >&6
14020 if test "$hardcode_action_F77" = relink; then
14021 # Fast installation is not supported
14022 enable_fast_install=no
14023 elif test "$shlibpath_overrides_runpath" = yes ||
14024 test "$enable_shared" = no; then
14025 # Fast installation is not necessary
14026 enable_fast_install=needless
14031 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14032 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14033 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14034 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14035 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14036 echo "$as_me:$LINENO: result: yes" >&5
14037 echo "${ECHO_T}yes" >&6
14039 # FIXME - insert some real tests, host_os isn't really good enough
14042 if test -n "$STRIP" ; then
14043 striplib="$STRIP -x"
14044 echo "$as_me:$LINENO: result: yes" >&5
14045 echo "${ECHO_T}yes" >&6
14047 echo "$as_me:$LINENO: result: no" >&5
14048 echo "${ECHO_T}no" >&6
14052 echo "$as_me:$LINENO: result: no" >&5
14053 echo "${ECHO_T}no" >&6
14058 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14059 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14060 library_names_spec=
14061 libname_spec='lib$name'
14065 postuninstall_cmds=
14069 shlibpath_overrides_runpath=unknown
14071 dynamic_linker="$host_os ld.so"
14072 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14073 if test "$GCC" = yes; then
14074 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14075 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14076 # if the path contains ";" then we assume it to be the separator
14077 # otherwise default to the standard path separator (i.e. ":") - it is
14078 # assumed that no part of a normal pathname contains ";" but that should
14079 # okay in the real world where ";" in dirpaths is itself problematic.
14080 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14082 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14085 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14087 need_lib_prefix=unknown
14088 hardcode_into_libs=no
14090 # when you set need_version to no, make sure it does not cause -set_version
14091 # flags to be left without arguments
14092 need_version=unknown
14097 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14098 shlibpath_var=LIBPATH
14100 # AIX 3 has no versioning support, so we append a major version to the name.
14101 soname_spec='${libname}${release}${shared_ext}$major'
14108 hardcode_into_libs=yes
14109 if test "$host_cpu" = ia64; then
14110 # AIX 5 supports IA64
14111 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14112 shlibpath_var=LD_LIBRARY_PATH
14114 # With GCC up to 2.95.x, collect2 would create an import file
14115 # for dependence libraries. The import file would start with
14116 # the line `#! .'. This would cause the generated library to
14117 # depend on `.', always an invalid library. This was fixed in
14118 # development snapshots of GCC prior to 3.0.
14120 aix4 | aix4.[01] | aix4.[01].*)
14121 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14123 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14126 can_build_shared=no
14130 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14131 # soname into executable. Probably we can add versioning support to
14132 # collect2, so additional links can be useful in future.
14133 if test "$aix_use_runtimelinking" = yes; then
14134 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14135 # instead of lib<name>.a to let people know that these are not
14136 # typical AIX shared libraries.
14137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14139 # We preserve .a as extension for shared libraries through AIX4.2
14140 # and later when we are not doing run time linking.
14141 library_names_spec='${libname}${release}.a $libname.a'
14142 soname_spec='${libname}${release}${shared_ext}$major'
14144 shlibpath_var=LIBPATH
14149 library_names_spec='$libname.ixlibrary $libname.a'
14150 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14151 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'
14155 library_names_spec='${libname}${shared_ext}'
14156 dynamic_linker="$host_os ld.so"
14157 shlibpath_var=LIBRARY_PATH
14163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14164 soname_spec='${libname}${release}${shared_ext}$major'
14165 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14166 shlibpath_var=LD_LIBRARY_PATH
14167 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14168 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14169 # the default ld.so.conf also contains /usr/contrib/lib and
14170 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14171 # libtool to hard-code these into programs
14174 cygwin* | mingw* | pw32*)
14175 version_type=windows
14180 case $GCC,$host_os in
14181 yes,cygwin* | yes,mingw* | yes,pw32*)
14182 library_names_spec='$libname.dll.a'
14183 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14184 postinstall_cmds='base_file=`basename \${file}`~
14185 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14186 dldir=$destdir/`dirname \$dlpath`~
14187 test -d \$dldir || mkdir -p \$dldir~
14188 $install_prog $dir/$dlname \$dldir/$dlname'
14189 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14190 dlpath=$dir/\$dldll~
14192 shlibpath_overrides_runpath=yes
14196 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14197 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14198 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14201 # MinGW DLLs use traditional 'lib' prefix
14202 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14203 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14204 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14205 # It is most probably a Windows format PATH printed by
14206 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14207 # path with ; separators, and with drive letters. We can handle the
14208 # drive letters (cygwin fileutils understands them), so leave them,
14209 # especially as we might pass files found there to a mingw objdump,
14210 # which wouldn't understand a cygwinified path. Ahh.
14211 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14213 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14217 # pw32 DLLs use 'pw' prefix rather than 'lib'
14218 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14224 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14227 dynamic_linker='Win32 ld.exe'
14228 # FIXME: first we should search . and the directory the executable is in
14232 darwin* | rhapsody*)
14233 dynamic_linker="$host_os dyld"
14234 version_type=darwin
14237 # FIXME: Relying on posixy $() will cause problems for
14238 # cross-compilation, but unfortunately the echo tests do not
14239 # yet detect zsh echo's removal of \ escapes.
14240 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14241 soname_spec='${libname}${release}${major}$shared_ext'
14242 shlibpath_overrides_runpath=yes
14243 shlibpath_var=DYLD_LIBRARY_PATH
14244 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14245 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14246 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14247 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"`
14249 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14257 soname_spec='${libname}${release}${shared_ext}$major'
14258 shlibpath_var=LD_LIBRARY_PATH
14266 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14267 version_type=freebsd-$objformat
14268 case $version_type in
14270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14275 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14279 shlibpath_var=LD_LIBRARY_PATH
14282 shlibpath_overrides_runpath=yes
14284 freebsd3.01* | freebsdelf3.01*)
14285 shlibpath_overrides_runpath=yes
14286 hardcode_into_libs=yes
14289 shlibpath_overrides_runpath=no
14290 hardcode_into_libs=yes
14299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14300 soname_spec='${libname}${release}${shared_ext}$major'
14301 shlibpath_var=LD_LIBRARY_PATH
14302 hardcode_into_libs=yes
14305 hpux9* | hpux10* | hpux11*)
14306 # Give a soname corresponding to the major version so that dld.sl refuses to
14307 # link against other versions.
14311 case "$host_cpu" in
14314 hardcode_into_libs=yes
14315 dynamic_linker="$host_os dld.so"
14316 shlibpath_var=LD_LIBRARY_PATH
14317 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14319 soname_spec='${libname}${release}${shared_ext}$major'
14320 if test "X$HPUX_IA64_MODE" = X32; then
14321 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14323 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14325 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14329 hardcode_into_libs=yes
14330 dynamic_linker="$host_os dld.sl"
14331 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14332 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14334 soname_spec='${libname}${release}${shared_ext}$major'
14335 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14336 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14340 dynamic_linker="$host_os dld.sl"
14341 shlibpath_var=SHLIB_PATH
14342 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14344 soname_spec='${libname}${release}${shared_ext}$major'
14347 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14348 postinstall_cmds='chmod 555 $lib'
14351 irix5* | irix6* | nonstopux*)
14353 nonstopux*) version_type=nonstopux ;;
14355 if test "$lt_cv_prog_gnu_ld" = yes; then
14363 soname_spec='${libname}${release}${shared_ext}$major'
14364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14366 irix5* | nonstopux*)
14367 libsuff= shlibsuff=
14370 case $LD in # libtool.m4 will add one of these switches to LD
14371 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14372 libsuff= shlibsuff= libmagic=32-bit;;
14373 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14374 libsuff=32 shlibsuff=N32 libmagic=N32;;
14375 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14376 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14377 *) libsuff= shlibsuff= libmagic=never-match;;
14381 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14382 shlibpath_overrides_runpath=no
14383 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14384 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14385 hardcode_into_libs=yes
14388 # No shared lib support for Linux oldld, aout, or coff.
14389 linux*oldld* | linux*aout* | linux*coff*)
14393 # This must be Linux ELF.
14398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14399 soname_spec='${libname}${release}${shared_ext}$major'
14400 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14401 shlibpath_var=LD_LIBRARY_PATH
14402 shlibpath_overrides_runpath=no
14403 # This implies no fast_install, which is unacceptable.
14404 # Some rework will be needed to allow for fast_install
14405 # before this can be enabled.
14406 hardcode_into_libs=yes
14408 # We used to test for /lib/ld.so.1 and disable shared libraries on
14409 # powerpc, because MkLinux only supported shared libraries with the
14410 # GNU dynamic linker. Since this was broken with cross compilers,
14411 # most powerpc-linux boxes support dynamic linking these days and
14412 # people can always --disable-shared, the test was removed, and we
14413 # assume the GNU/Linux dynamic linker is in use.
14414 dynamic_linker='GNU/Linux ld.so'
14421 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14423 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14424 dynamic_linker='NetBSD (a.out) ld.so'
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14427 soname_spec='${libname}${release}${shared_ext}$major'
14428 dynamic_linker='NetBSD ld.elf_so'
14430 shlibpath_var=LD_LIBRARY_PATH
14431 shlibpath_overrides_runpath=yes
14432 hardcode_into_libs=yes
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14438 shlibpath_var=LD_LIBRARY_PATH
14439 shlibpath_overrides_runpath=yes
14446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14447 soname_spec='${libname}${release}${shared_ext}$major'
14448 shlibpath_var=LD_LIBRARY_PATH
14449 shlibpath_overrides_runpath=yes
14456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14457 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14458 shlibpath_var=LD_LIBRARY_PATH
14459 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14461 openbsd2.[89] | openbsd2.[89].*)
14462 shlibpath_overrides_runpath=no
14465 shlibpath_overrides_runpath=yes
14469 shlibpath_overrides_runpath=yes
14474 libname_spec='$name'
14477 library_names_spec='$libname${shared_ext} $libname.a'
14478 dynamic_linker='OS/2 ld.exe'
14479 shlibpath_var=LIBPATH
14482 osf3* | osf4* | osf5*)
14486 soname_spec='${libname}${release}${shared_ext}$major'
14487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14488 shlibpath_var=LD_LIBRARY_PATH
14489 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14490 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14495 soname_spec='${libname}${release}${shared_ext}$major'
14496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14497 shlibpath_var=LD_LIBRARY_PATH
14504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14505 soname_spec='${libname}${release}${shared_ext}$major'
14506 shlibpath_var=LD_LIBRARY_PATH
14507 shlibpath_overrides_runpath=yes
14508 hardcode_into_libs=yes
14509 # ldd complains unless libraries are executable
14510 postinstall_cmds='chmod +x $lib'
14515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14516 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14517 shlibpath_var=LD_LIBRARY_PATH
14518 shlibpath_overrides_runpath=yes
14519 if test "$with_gnu_ld" = yes; then
14525 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14528 soname_spec='${libname}${release}${shared_ext}$major'
14529 shlibpath_var=LD_LIBRARY_PATH
14530 case $host_vendor in
14532 shlibpath_overrides_runpath=no
14534 export_dynamic_flag_spec='${wl}-Blargedynsym'
14535 runpath_var=LD_RUN_PATH
14543 shlibpath_overrides_runpath=no
14544 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14550 if test -d /usr/nec ;then
14552 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14553 soname_spec='$libname${shared_ext}.$major'
14554 shlibpath_var=LD_LIBRARY_PATH
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 soname_spec='${libname}${release}${shared_ext}$major'
14562 shlibpath_var=LD_LIBRARY_PATH
14569 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14570 echo "${ECHO_T}$dynamic_linker" >&6
14571 test "$dynamic_linker" = no && can_build_shared=no
14574 # The else clause should only fire when bootstrapping the
14575 # libtool distribution, otherwise you forgot to ship ltmain.sh
14576 # with your package, and you will get complaints that there are
14577 # no rules to generate ltmain.sh.
14578 if test -f "$ltmain"; then
14579 # See if we are running on zsh, and set the options which allow our commands through
14580 # without removal of \ escapes.
14581 if test -n "${ZSH_VERSION+set}" ; then
14582 setopt NO_GLOB_SUBST
14584 # Now quote all the things that may contain metacharacters while being
14585 # careful not to overquote the AC_SUBSTed values. We take copies of the
14586 # variables and quote the copies for generation of the libtool script.
14587 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14588 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14589 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14590 deplibs_check_method reload_flag reload_cmds need_locks \
14591 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14592 lt_cv_sys_global_symbol_to_c_name_address \
14593 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14594 old_postinstall_cmds old_postuninstall_cmds \
14598 lt_prog_compiler_wl_F77 \
14599 lt_prog_compiler_pic_F77 \
14600 lt_prog_compiler_static_F77 \
14601 lt_prog_compiler_no_builtin_flag_F77 \
14602 export_dynamic_flag_spec_F77 \
14603 thread_safe_flag_spec_F77 \
14604 whole_archive_flag_spec_F77 \
14605 enable_shared_with_static_runtimes_F77 \
14606 old_archive_cmds_F77 \
14607 old_archive_from_new_cmds_F77 \
14608 predep_objects_F77 \
14609 postdep_objects_F77 \
14612 compiler_lib_search_path_F77 \
14614 archive_expsym_cmds_F77 \
14615 postinstall_cmds_F77 \
14616 postuninstall_cmds_F77 \
14617 old_archive_from_expsyms_cmds_F77 \
14618 allow_undefined_flag_F77 \
14619 no_undefined_flag_F77 \
14620 export_symbols_cmds_F77 \
14621 hardcode_libdir_flag_spec_F77 \
14622 hardcode_libdir_flag_spec_ld_F77 \
14623 hardcode_libdir_separator_F77 \
14624 hardcode_automatic_F77 \
14626 module_expsym_cmds_F77 \
14627 lt_cv_prog_compiler_c_o_F77 \
14628 exclude_expsyms_F77 \
14629 include_expsyms_F77; do
14632 old_archive_cmds_F77 | \
14633 old_archive_from_new_cmds_F77 | \
14634 archive_cmds_F77 | \
14635 archive_expsym_cmds_F77 | \
14636 module_cmds_F77 | \
14637 module_expsym_cmds_F77 | \
14638 old_archive_from_expsyms_cmds_F77 | \
14639 export_symbols_cmds_F77 | \
14640 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14641 postinstall_cmds | postuninstall_cmds | \
14642 old_postinstall_cmds | old_postuninstall_cmds | \
14643 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14644 # Double-quote double-evaled strings.
14645 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14648 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14654 *'\$0 --fallback-echo"')
14655 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14661 cat <<__EOF__ >> "$cfgfile"
14662 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14664 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14666 # Shell to use when invoking shell scripts.
14669 # Whether or not to build shared libraries.
14670 build_libtool_libs=$enable_shared
14672 # Whether or not to build static libraries.
14673 build_old_libs=$enable_static
14675 # Whether or not to add -lc for building shared libraries.
14676 build_libtool_need_lc=$archive_cmds_need_lc_F77
14678 # Whether or not to disallow shared libs when runtime libs are static
14679 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14681 # Whether or not to optimize for fast installation.
14682 fast_install=$enable_fast_install
14685 host_alias=$host_alias
14688 # An echo program that does not interpret backslashes.
14693 AR_FLAGS=$lt_AR_FLAGS
14698 # A language-specific compiler.
14699 CC=$lt_compiler_F77
14701 # Is the compiler the GNU C compiler?
14707 # The linker used to build libraries.
14710 # Whether we need hard or soft links.
14713 # A BSD-compatible nm program.
14716 # A symbol stripping program
14719 # Used to examine libraries when file_magic_cmd begins "file"
14720 MAGIC_CMD=$MAGIC_CMD
14722 # Used on cygwin: DLL creation program.
14725 # Used on cygwin: object dumper.
14728 # Used on cygwin: assembler.
14731 # The name of the directory that contains temporary libtool files.
14734 # How to create reloadable object files.
14735 reload_flag=$lt_reload_flag
14736 reload_cmds=$lt_reload_cmds
14738 # How to pass a linker flag through the compiler.
14739 wl=$lt_lt_prog_compiler_wl_F77
14741 # Object file suffix (normally "o").
14742 objext="$ac_objext"
14744 # Old archive suffix (normally "a").
14747 # Shared library suffix (normally ".so").
14750 # Executable file suffix (normally "").
14753 # Additional compiler flags for building library objects.
14754 pic_flag=$lt_lt_prog_compiler_pic_F77
14757 # What is the maximum length of a command?
14758 max_cmd_len=$lt_cv_sys_max_cmd_len
14760 # Does compiler simultaneously support -c and -o options?
14761 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14763 # Must we lock files when doing compilation ?
14764 need_locks=$lt_need_locks
14766 # Do we need the lib prefix for modules?
14767 need_lib_prefix=$need_lib_prefix
14769 # Do we need a version for libraries?
14770 need_version=$need_version
14772 # Whether dlopen is supported.
14773 dlopen_support=$enable_dlopen
14775 # Whether dlopen of programs is supported.
14776 dlopen_self=$enable_dlopen_self
14778 # Whether dlopen of statically linked programs is supported.
14779 dlopen_self_static=$enable_dlopen_self_static
14781 # Compiler flag to prevent dynamic linking.
14782 link_static_flag=$lt_lt_prog_compiler_static_F77
14784 # Compiler flag to turn off builtin functions.
14785 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14787 # Compiler flag to allow reflexive dlopens.
14788 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14790 # Compiler flag to generate shared objects directly from archives.
14791 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14793 # Compiler flag to generate thread-safe objects.
14794 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14796 # Library versioning type.
14797 version_type=$version_type
14799 # Format of library name prefix.
14800 libname_spec=$lt_libname_spec
14802 # List of archive names. First name is the real one, the rest are links.
14803 # The last name is the one that the linker finds with -lNAME.
14804 library_names_spec=$lt_library_names_spec
14806 # The coded name of the library, if different from the real name.
14807 soname_spec=$lt_soname_spec
14809 # Commands used to build and install an old-style archive.
14811 old_archive_cmds=$lt_old_archive_cmds_F77
14812 old_postinstall_cmds=$lt_old_postinstall_cmds
14813 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14815 # Create an old-style archive from a shared archive.
14816 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14818 # Create a temporary old-style archive to link instead of a shared archive.
14819 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14821 # Commands used to build and install a shared archive.
14822 archive_cmds=$lt_archive_cmds_F77
14823 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14824 postinstall_cmds=$lt_postinstall_cmds
14825 postuninstall_cmds=$lt_postuninstall_cmds
14827 # Commands used to build a loadable module (assumed same as above if empty)
14828 module_cmds=$lt_module_cmds_F77
14829 module_expsym_cmds=$lt_module_expsym_cmds_F77
14831 # Commands to strip libraries.
14832 old_striplib=$lt_old_striplib
14833 striplib=$lt_striplib
14835 # Dependencies to place before the objects being linked to create a
14837 predep_objects=$lt_predep_objects_F77
14839 # Dependencies to place after the objects being linked to create a
14841 postdep_objects=$lt_postdep_objects_F77
14843 # Dependencies to place before the objects being linked to create a
14845 predeps=$lt_predeps_F77
14847 # Dependencies to place after the objects being linked to create a
14849 postdeps=$lt_postdeps_F77
14851 # The library search path used internally by the compiler when linking
14852 # a shared library.
14853 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14855 # Method to check whether dependent libraries are shared objects.
14856 deplibs_check_method=$lt_deplibs_check_method
14858 # Command to use when deplibs_check_method == file_magic.
14859 file_magic_cmd=$lt_file_magic_cmd
14861 # Flag that allows shared libraries with undefined symbols to be built.
14862 allow_undefined_flag=$lt_allow_undefined_flag_F77
14864 # Flag that forces no undefined symbols.
14865 no_undefined_flag=$lt_no_undefined_flag_F77
14867 # Commands used to finish a libtool library installation in a directory.
14868 finish_cmds=$lt_finish_cmds
14870 # Same as above, but a single script fragment to be evaled but not shown.
14871 finish_eval=$lt_finish_eval
14873 # Take the output of nm and produce a listing of raw symbols and C names.
14874 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14876 # Transform the output of nm in a proper C declaration
14877 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14879 # Transform the output of nm in a C name address pair
14880 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14882 # This is the shared library runtime path variable.
14883 runpath_var=$runpath_var
14885 # This is the shared library path variable.
14886 shlibpath_var=$shlibpath_var
14888 # Is shlibpath searched before the hard-coded library search path?
14889 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14891 # How to hardcode a shared library path into an executable.
14892 hardcode_action=$hardcode_action_F77
14894 # Whether we should hardcode library paths into libraries.
14895 hardcode_into_libs=$hardcode_into_libs
14897 # Flag to hardcode \$libdir into a binary during linking.
14898 # This must work even if \$libdir does not exist.
14899 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14901 # If ld is used when linking, flag to hardcode \$libdir into
14902 # a binary during linking. This must work even if \$libdir does
14904 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14906 # Whether we need a single -rpath flag with a separated argument.
14907 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14909 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14910 # resulting binary.
14911 hardcode_direct=$hardcode_direct_F77
14913 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14914 # resulting binary.
14915 hardcode_minus_L=$hardcode_minus_L_F77
14917 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14918 # the resulting binary.
14919 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14921 # Set to yes if building a shared library automatically hardcodes DIR into the library
14922 # and all subsequent libraries and executables linked against it.
14923 hardcode_automatic=$hardcode_automatic_F77
14925 # Variables whose values should be saved in libtool wrapper scripts and
14926 # restored at relink time.
14927 variables_saved_for_relink="$variables_saved_for_relink"
14929 # Whether libtool must link a program against all its dependency libraries.
14930 link_all_deplibs=$link_all_deplibs_F77
14932 # Compile-time system search path for libraries
14933 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14935 # Run-time system search path for libraries
14936 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14938 # Fix the shell variable \$srcfile for the compiler.
14939 fix_srcfile_path="$fix_srcfile_path_F77"
14941 # Set to yes if exported symbols are required.
14942 always_export_symbols=$always_export_symbols_F77
14944 # The commands to list exported symbols.
14945 export_symbols_cmds=$lt_export_symbols_cmds_F77
14947 # The commands to extract the exported symbol list from a shared archive.
14948 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14950 # Symbols that should not be listed in the preloaded symbols.
14951 exclude_expsyms=$lt_exclude_expsyms_F77
14953 # Symbols that must always be exported.
14954 include_expsyms=$lt_include_expsyms_F77
14956 # ### END LIBTOOL TAG CONFIG: $tagname
14962 # If there is no Makefile yet, we rely on a make rule to execute
14963 # `config.status --recheck' to rerun these tests and create the
14964 # libtool script then.
14965 test -f Makefile && make "$ltmain"
14970 ac_cpp='$CPP $CPPFLAGS'
14971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14983 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14987 # Source file extension for Java test sources.
14990 # Object file extension for compiled Java test sources.
14994 # Code to be used in simple compile tests
14995 lt_simple_compile_test_code="class foo {}\n"
14997 # Code to be used in simple link tests
14998 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15000 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15002 # If no C compiler was specified, use CC.
15005 # Allow CC to be a program name with arguments.
15009 # Allow CC to be a program name with arguments.
15015 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15016 archive_cmds_need_lc_GCJ=no
15019 ## There is no encapsulation within the following macros, do not change
15020 ## the running order or otherwise move them around unless you know exactly
15021 ## what you are doing...
15023 lt_prog_compiler_no_builtin_flag_GCJ=
15025 if test "$GCC" = yes; then
15026 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15028 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15029 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15030 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15031 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 lt_cv_prog_compiler_rtti_exceptions=no
15034 ac_outfile=conftest.$ac_objext
15035 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15036 lt_compiler_flag="-fno-rtti -fno-exceptions"
15037 # Insert the option either (1) after the last *FLAGS variable, or
15038 # (2) before a word containing "conftest.", or (3) at the end.
15039 # Note that $ac_compile itself does not contain backslashes and begins
15040 # with a dollar sign (not a hyphen), so the echo should work correctly.
15041 # The option is referenced via a variable to avoid confusing sed.
15042 lt_compile=`echo "$ac_compile" | $SED \
15043 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15044 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15045 -e 's:$: $lt_compiler_flag:'`
15046 (eval echo "\"\$as_me:15046: $lt_compile\"" >&5)
15047 (eval "$lt_compile" 2>conftest.err)
15049 cat conftest.err >&5
15050 echo "$as_me:15050: \$? = $ac_status" >&5
15051 if (exit $ac_status) && test -s "$ac_outfile"; then
15052 # The compiler can only warn and ignore the option if not recognized
15053 # So say no if there are warnings
15054 if test ! -s conftest.err; then
15055 lt_cv_prog_compiler_rtti_exceptions=yes
15061 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15062 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15064 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15065 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15072 lt_prog_compiler_wl_GCJ=
15073 lt_prog_compiler_pic_GCJ=
15074 lt_prog_compiler_static_GCJ=
15076 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15077 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15079 if test "$GCC" = yes; then
15080 lt_prog_compiler_wl_GCJ='-Wl,'
15081 lt_prog_compiler_static_GCJ='-static'
15085 # All AIX code is PIC.
15086 if test "$host_cpu" = ia64; then
15087 # AIX 5 now supports IA64 processor
15088 lt_prog_compiler_static_GCJ='-Bstatic'
15093 # FIXME: we need at least 68020 code to build shared libraries, but
15094 # adding the `-m68020' flag to GCC prevents building anything better,
15096 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15099 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15100 # PIC is the default for these OSes.
15103 mingw* | pw32* | os2*)
15104 # This hack is so that the source file can tell whether it is being
15105 # built for inclusion in a dll (and should export symbols for example).
15106 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15109 darwin* | rhapsody*)
15110 # PIC is the default on this platform
15111 # Common symbols not allowed in MH_DYLIB files
15112 lt_prog_compiler_pic_GCJ='-fno-common'
15116 # Just because we use GCC doesn't mean we suddenly get shared libraries
15117 # on systems that don't support them.
15118 lt_prog_compiler_can_build_shared_GCJ=no
15123 if test -d /usr/nec; then
15124 lt_prog_compiler_pic_GCJ=-Kconform_pic
15129 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15130 # not for PA HP-UX.
15131 case "$host_cpu" in
15136 lt_prog_compiler_pic_GCJ='-fPIC'
15142 lt_prog_compiler_pic_GCJ='-fPIC'
15146 # PORTME Check for flag to pass linker flags through the system compiler.
15149 lt_prog_compiler_wl_GCJ='-Wl,'
15150 if test "$host_cpu" = ia64; then
15151 # AIX 5 now supports IA64 processor
15152 lt_prog_compiler_static_GCJ='-Bstatic'
15154 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15158 mingw* | pw32* | os2*)
15159 # This hack is so that the source file can tell whether it is being
15160 # built for inclusion in a dll (and should export symbols for example).
15161 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15164 hpux9* | hpux10* | hpux11*)
15165 lt_prog_compiler_wl_GCJ='-Wl,'
15166 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15167 # not for PA HP-UX.
15168 case "$host_cpu" in
15173 lt_prog_compiler_pic_GCJ='+Z'
15176 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15177 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15180 irix5* | irix6* | nonstopux*)
15181 lt_prog_compiler_wl_GCJ='-Wl,'
15182 # PIC (with -KPIC) is the default.
15183 lt_prog_compiler_static_GCJ='-non_shared'
15187 lt_prog_compiler_pic_GCJ='-KPIC'
15188 lt_prog_compiler_static_GCJ='-Bstatic'
15194 lt_prog_compiler_wl_GCJ='-Wl,'
15195 lt_prog_compiler_pic_GCJ='-KPIC'
15196 lt_prog_compiler_static_GCJ='-static'
15199 lt_prog_compiler_wl_GCJ='-Wl,'
15200 # All Alpha code is PIC.
15201 lt_prog_compiler_static_GCJ='-non_shared'
15206 osf3* | osf4* | osf5*)
15207 lt_prog_compiler_wl_GCJ='-Wl,'
15208 # All OSF/1 code is PIC.
15209 lt_prog_compiler_static_GCJ='-non_shared'
15213 lt_prog_compiler_pic_GCJ='-Kpic'
15214 lt_prog_compiler_static_GCJ='-dn'
15218 lt_prog_compiler_wl_GCJ='-Wl,'
15219 lt_prog_compiler_pic_GCJ='-KPIC'
15220 lt_prog_compiler_static_GCJ='-Bstatic'
15224 lt_prog_compiler_wl_GCJ='-Qoption ld '
15225 lt_prog_compiler_pic_GCJ='-PIC'
15226 lt_prog_compiler_static_GCJ='-Bstatic'
15229 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15230 lt_prog_compiler_wl_GCJ='-Wl,'
15231 lt_prog_compiler_pic_GCJ='-KPIC'
15232 lt_prog_compiler_static_GCJ='-Bstatic'
15236 if test -d /usr/nec ;then
15237 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15238 lt_prog_compiler_static_GCJ='-Bstatic'
15243 lt_prog_compiler_pic_GCJ='-pic'
15244 lt_prog_compiler_static_GCJ='-Bstatic'
15248 lt_prog_compiler_can_build_shared_GCJ=no
15253 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15254 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15257 # Check to make sure the PIC flag actually works.
15259 if test -n "$lt_prog_compiler_pic_GCJ"; then
15260 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15261 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15262 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15263 echo $ECHO_N "(cached) $ECHO_C" >&6
15265 lt_prog_compiler_pic_works_GCJ=no
15266 ac_outfile=conftest.$ac_objext
15267 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15268 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15269 # Insert the option either (1) after the last *FLAGS variable, or
15270 # (2) before a word containing "conftest.", or (3) at the end.
15271 # Note that $ac_compile itself does not contain backslashes and begins
15272 # with a dollar sign (not a hyphen), so the echo should work correctly.
15273 # The option is referenced via a variable to avoid confusing sed.
15274 lt_compile=`echo "$ac_compile" | $SED \
15275 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15276 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15277 -e 's:$: $lt_compiler_flag:'`
15278 (eval echo "\"\$as_me:15278: $lt_compile\"" >&5)
15279 (eval "$lt_compile" 2>conftest.err)
15281 cat conftest.err >&5
15282 echo "$as_me:15282: \$? = $ac_status" >&5
15283 if (exit $ac_status) && test -s "$ac_outfile"; then
15284 # The compiler can only warn and ignore the option if not recognized
15285 # So say no if there are warnings
15286 if test ! -s conftest.err; then
15287 lt_prog_compiler_pic_works_GCJ=yes
15293 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15294 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15296 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15297 case $lt_prog_compiler_pic_GCJ in
15299 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15302 lt_prog_compiler_pic_GCJ=
15303 lt_prog_compiler_can_build_shared_GCJ=no
15308 # For platforms which do not support PIC, -DPIC is meaningless:
15310 lt_prog_compiler_pic_GCJ=
15313 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15317 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15318 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15319 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15320 echo $ECHO_N "(cached) $ECHO_C" >&6
15322 lt_cv_prog_compiler_c_o_GCJ=no
15323 $rm -r conftest 2>/dev/null
15327 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15329 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15330 # that will create temporary files in the current directory regardless of
15331 # the output directory. Thus, making CWD read-only will cause this test
15332 # to fail, enabling locking or at least warning the user not to do parallel
15336 lt_compiler_flag="-o out/conftest2.$ac_objext"
15337 # Insert the option either (1) after the last *FLAGS variable, or
15338 # (2) before a word containing "conftest.", or (3) at the end.
15339 # Note that $ac_compile itself does not contain backslashes and begins
15340 # with a dollar sign (not a hyphen), so the echo should work correctly.
15341 lt_compile=`echo "$ac_compile" | $SED \
15342 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15343 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15344 -e 's:$: $lt_compiler_flag:'`
15345 (eval echo "\"\$as_me:15345: $lt_compile\"" >&5)
15346 (eval "$lt_compile" 2>out/conftest.err)
15348 cat out/conftest.err >&5
15349 echo "$as_me:15349: \$? = $ac_status" >&5
15350 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15352 # The compiler can only warn and ignore the option if not recognized
15353 # So say no if there are warnings
15354 if test ! -s out/conftest.err; then
15355 lt_cv_prog_compiler_c_o_GCJ=yes
15359 $rm conftest* out/*
15366 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15367 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15370 hard_links="nottested"
15371 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15372 # do not overwrite the value of need_locks provided by the user
15373 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15374 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15377 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15379 ln conftest.a conftest.b 2>&5 || hard_links=no
15380 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15381 echo "$as_me:$LINENO: result: $hard_links" >&5
15382 echo "${ECHO_T}$hard_links" >&6
15383 if test "$hard_links" = no; then
15384 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15385 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15392 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15393 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15396 allow_undefined_flag_GCJ=
15397 enable_shared_with_static_runtimes_GCJ=no
15399 archive_expsym_cmds_GCJ=
15400 old_archive_From_new_cmds_GCJ=
15401 old_archive_from_expsyms_cmds_GCJ=
15402 export_dynamic_flag_spec_GCJ=
15403 whole_archive_flag_spec_GCJ=
15404 thread_safe_flag_spec_GCJ=
15405 hardcode_libdir_flag_spec_GCJ=
15406 hardcode_libdir_flag_spec_ld_GCJ=
15407 hardcode_libdir_separator_GCJ=
15408 hardcode_direct_GCJ=no
15409 hardcode_minus_L_GCJ=no
15410 hardcode_shlibpath_var_GCJ=unsupported
15411 link_all_deplibs_GCJ=unknown
15412 hardcode_automatic_GCJ=no
15414 module_expsym_cmds_GCJ=
15415 always_export_symbols_GCJ=no
15416 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15417 # include_expsyms should be a list of space-separated symbols to be *always*
15418 # included in the symbol list
15419 include_expsyms_GCJ=
15420 # exclude_expsyms can be an extended regexp of symbols to exclude
15421 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15422 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15423 # as well as any symbol that contains `d'.
15424 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15425 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15426 # platforms (ab)use it in PIC code, but their linkers get confused if
15427 # the symbol is explicitly referenced. Since portable code cannot
15428 # rely on this symbol name, it's probably fine to never include it in
15429 # preloaded symbol tables.
15430 extract_expsyms_cmds=
15433 cygwin* | mingw* | pw32*)
15434 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15435 # When not using gcc, we currently assume that we are using
15436 # Microsoft Visual C++.
15437 if test "$GCC" != yes; then
15447 if test "$with_gnu_ld" = yes; then
15448 # If archive_cmds runs LD, not CC, wlarc should be empty
15451 # See if GNU ld supports shared libraries.
15453 aix3* | aix4* | aix5*)
15454 # On AIX/PPC, the GNU linker is very broken
15455 if test "$host_cpu" != ia64; then
15459 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15460 *** to be unable to reliably create shared libraries on AIX.
15461 *** Therefore, libtool is disabling shared libraries support. If you
15462 *** really care for shared libraries, you may want to modify your PATH
15463 *** so that a non-GNU linker is found, and then restart.
15470 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)'
15471 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15472 hardcode_minus_L_GCJ=yes
15474 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15475 # that the semantics of dynamic libraries on AmigaOS, at least up
15476 # to version 4, is to share data among multiple programs linked
15477 # with the same dynamic library. Since this doesn't match the
15478 # behavior of shared libraries on other platforms, we can't use
15484 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15485 allow_undefined_flag_GCJ=unsupported
15486 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15487 # support --undefined. This deserves some investigation. FIXME
15488 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15494 cygwin* | mingw* | pw32*)
15495 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15496 # as there is no search path for DLLs.
15497 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15498 allow_undefined_flag_GCJ=unsupported
15499 always_export_symbols_GCJ=no
15500 enable_shared_with_static_runtimes_GCJ=yes
15501 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15503 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15504 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15505 # If the export-symbols file already is a .def file (1st line
15506 # is EXPORTS), use it as is; otherwise, prepend...
15507 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15508 cp $export_symbols $output_objdir/$soname.def;
15510 echo EXPORTS > $output_objdir/$soname.def;
15511 cat $export_symbols >> $output_objdir/$soname.def;
15513 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15520 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15521 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15524 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15525 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15530 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15534 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15535 *** create shared libraries on Solaris systems. Therefore, libtool
15536 *** is disabling shared libraries support. We urge you to upgrade GNU
15537 *** binutils to release 2.9.1 or newer. Another option is to modify
15538 *** your PATH or compiler configuration so that the native linker is
15539 *** used, and then restart.
15542 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15543 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15544 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15551 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15553 hardcode_direct_GCJ=yes
15554 hardcode_shlibpath_var_GCJ=no
15558 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15559 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15560 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15567 if test "$ld_shlibs_GCJ" = yes; then
15568 runpath_var=LD_RUN_PATH
15569 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15570 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15571 # ancient GNU ld didn't support --whole-archive et. al.
15572 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15573 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15575 whole_archive_flag_spec_GCJ=
15579 # PORTME fill in a description of your system's linker (not GNU ld)
15582 allow_undefined_flag_GCJ=unsupported
15583 always_export_symbols_GCJ=yes
15584 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'
15585 # Note: this linker hardcodes the directories in LIBPATH if there
15586 # are no directories specified by -L.
15587 hardcode_minus_L_GCJ=yes
15588 if test "$GCC" = yes && test -z "$link_static_flag"; then
15589 # Neither direct hardcoding nor static linking is supported with a
15591 hardcode_direct_GCJ=unsupported
15596 if test "$host_cpu" = ia64; then
15597 # On IA64, the linker does run time linking by default, so we don't
15598 # have to do anything special.
15599 aix_use_runtimelinking=no
15600 exp_sym_flag='-Bexport'
15603 # If we're using GNU nm, then we don't want the "-C" option.
15604 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15605 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15606 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'
15608 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'
15610 aix_use_runtimelinking=no
15612 # Test if we are trying to use run time linking or normal
15613 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15614 # need to do runtime linking.
15615 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15616 for ld_flag in $LDFLAGS; do
15617 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15618 aix_use_runtimelinking=yes
15624 exp_sym_flag='-bexport'
15625 no_entry_flag='-bnoentry'
15628 # When large executables or shared objects are built, AIX ld can
15629 # have problems creating the table of contents. If linking a library
15630 # or program results in "error TOC overflow" add -mminimal-toc to
15631 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15632 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15634 archive_cmds_GCJ=''
15635 hardcode_direct_GCJ=yes
15636 hardcode_libdir_separator_GCJ=':'
15637 link_all_deplibs_GCJ=yes
15639 if test "$GCC" = yes; then
15640 case $host_os in aix4.012|aix4.012.*)
15641 # We only want to do this on AIX 4.2 and lower, the check
15642 # below for broken collect2 doesn't work under 4.3+
15643 collect2name=`${CC} -print-prog-name=collect2`
15644 if test -f "$collect2name" && \
15645 strings "$collect2name" | grep resolve_lib_name >/dev/null
15647 # We have reworked collect2
15648 hardcode_direct_GCJ=yes
15650 # We have old collect2
15651 hardcode_direct_GCJ=unsupported
15652 # It fails to find uninstalled libraries when the uninstalled
15653 # path is not listed in the libpath. Setting hardcode_minus_L
15654 # to unsupported forces relinking
15655 hardcode_minus_L_GCJ=yes
15656 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15657 hardcode_libdir_separator_GCJ=
15660 shared_flag='-shared'
15663 if test "$host_cpu" = ia64; then
15664 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15665 # chokes on -Wl,-G. The following line is correct:
15668 if test "$aix_use_runtimelinking" = yes; then
15669 shared_flag='${wl}-G'
15671 shared_flag='${wl}-bM:SRE'
15676 # It seems that -bexpall does not export symbols beginning with
15677 # underscore (_), so it is better to generate a list of symbols to export.
15678 always_export_symbols_GCJ=yes
15679 if test "$aix_use_runtimelinking" = yes; then
15680 # Warning - without using the other runtime loading flags (-brtl),
15681 # -berok will link without error, but may produce a broken library.
15682 allow_undefined_flag_GCJ='-berok'
15683 # Determine the default libpath from the value encoded in an empty executable.
15684 cat >conftest.$ac_ext <<_ACEOF
15685 #line $LINENO "configure"
15688 cat confdefs.h >>conftest.$ac_ext
15689 cat >>conftest.$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15700 rm -f conftest.$ac_objext conftest$ac_exeext
15701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15702 (eval $ac_link) 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); } &&
15706 { ac_try='test -s conftest$ac_exeext'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; }; then
15713 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15715 # Check for a 64-bit object if we didn't find anything.
15716 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; }
15719 echo "$as_me: failed program was:" >&5
15720 sed 's/^/| /' conftest.$ac_ext >&5
15723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15724 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15726 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15727 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"
15729 if test "$host_cpu" = ia64; then
15730 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15731 allow_undefined_flag_GCJ="-z nodefs"
15732 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"
15734 # Determine the default libpath from the value encoded in an empty executable.
15735 cat >conftest.$ac_ext <<_ACEOF
15736 #line $LINENO "configure"
15739 cat confdefs.h >>conftest.$ac_ext
15740 cat >>conftest.$ac_ext <<_ACEOF
15741 /* end confdefs.h. */
15751 rm -f conftest.$ac_objext conftest$ac_exeext
15752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15753 (eval $ac_link) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try='test -s conftest$ac_exeext'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; }; then
15764 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15766 # Check for a 64-bit object if we didn't find anything.
15767 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; }
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.$ac_ext >&5
15774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15775 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15777 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15778 # Warning - without using the other run time loading flags,
15779 # -berok will link without error, but may produce a broken library.
15780 no_undefined_flag_GCJ=' ${wl}-bernotok'
15781 allow_undefined_flag_GCJ=' ${wl}-berok'
15782 # -bexpall does not export symbols beginning with underscore (_)
15783 always_export_symbols_GCJ=yes
15784 # Exported symbols can be pulled into shared objects from archives
15785 whole_archive_flag_spec_GCJ=' '
15786 archive_cmds_need_lc_GCJ=yes
15787 # This is similar to how AIX traditionally builds it's shared libraries.
15788 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'
15794 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)'
15795 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15796 hardcode_minus_L_GCJ=yes
15797 # see comment about different semantics on the GNU ld section
15802 export_dynamic_flag_spec_GCJ=-rdynamic
15805 cygwin* | mingw* | pw32*)
15806 # When not using gcc, we currently assume that we are using
15807 # Microsoft Visual C++.
15808 # hardcode_libdir_flag_spec is actually meaningless, as there is
15809 # no search path for DLLs.
15810 hardcode_libdir_flag_spec_GCJ=' '
15811 allow_undefined_flag_GCJ=unsupported
15812 # Tell ltmain to make .lib files, not .a files.
15814 # Tell ltmain to make .dll files, not .so files.
15816 # FIXME: Setting linknames here is a bad hack.
15817 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15818 # The linker will automatically build a .lib file if we build a DLL.
15819 old_archive_From_new_cmds_GCJ='true'
15820 # FIXME: Should let the user specify the lib program.
15821 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15822 fix_srcfile_path='`cygpath -w "$srcfile"`'
15823 enable_shared_with_static_runtimes_GCJ=yes
15826 darwin* | rhapsody*)
15827 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15828 archive_cmds_need_lc_GCJ=no
15830 rhapsody* | darwin1.[012])
15831 allow_undefined_flag_GCJ='-undefined suppress'
15834 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15837 # FIXME: Relying on posixy $() will cause problems for
15838 # cross-compilation, but unfortunately the echo tests do not
15839 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15840 # `"' quotes if we put them in here... so don't!
15841 lt_int_apple_cc_single_mod=no
15842 output_verbose_link_cmd='echo'
15843 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15844 lt_int_apple_cc_single_mod=yes
15846 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15847 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15849 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'
15851 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15852 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15853 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15854 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}'
15856 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}'
15858 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}'
15859 hardcode_direct_GCJ=no
15860 hardcode_automatic_GCJ=yes
15861 hardcode_shlibpath_var_GCJ=unsupported
15862 whole_archive_flag_spec_GCJ='-all_load $convenience'
15863 link_all_deplibs_GCJ=yes
15868 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15869 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15870 hardcode_shlibpath_var_GCJ=no
15877 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15878 # support. Future versions do this automatically, but an explicit c++rt0.o
15879 # does not break anything, and helps significantly (at the cost of a little
15882 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15883 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15884 hardcode_direct_GCJ=yes
15885 hardcode_shlibpath_var_GCJ=no
15888 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15890 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15891 hardcode_direct_GCJ=yes
15892 hardcode_minus_L_GCJ=yes
15893 hardcode_shlibpath_var_GCJ=no
15896 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15898 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15899 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15900 hardcode_direct_GCJ=yes
15901 hardcode_shlibpath_var_GCJ=no
15905 if test "$GCC" = yes; then
15906 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'
15908 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'
15910 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15911 hardcode_libdir_separator_GCJ=:
15912 hardcode_direct_GCJ=yes
15914 # hardcode_minus_L: Not really in the search PATH,
15915 # but as the default location of the library.
15916 hardcode_minus_L_GCJ=yes
15917 export_dynamic_flag_spec_GCJ='${wl}-E'
15921 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15922 case "$host_cpu" in
15924 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15927 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15931 case "$host_cpu" in
15933 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15936 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15940 if test "$with_gnu_ld" = no; then
15941 case "$host_cpu" in
15943 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15944 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15945 hardcode_libdir_separator_GCJ=:
15946 hardcode_direct_GCJ=no
15947 hardcode_shlibpath_var_GCJ=no
15950 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15951 hardcode_direct_GCJ=no
15952 hardcode_shlibpath_var_GCJ=no
15954 # hardcode_minus_L: Not really in the search PATH,
15955 # but as the default location of the library.
15956 hardcode_minus_L_GCJ=yes
15959 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15960 hardcode_libdir_separator_GCJ=:
15961 hardcode_direct_GCJ=yes
15962 export_dynamic_flag_spec_GCJ='${wl}-E'
15964 # hardcode_minus_L: Not really in the search PATH,
15965 # but as the default location of the library.
15966 hardcode_minus_L_GCJ=yes
15972 irix5* | irix6* | nonstopux*)
15973 if test "$GCC" = yes; then
15974 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'
15976 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'
15977 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15979 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15980 hardcode_libdir_separator_GCJ=:
15981 link_all_deplibs_GCJ=yes
15985 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15986 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15988 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15990 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15991 hardcode_direct_GCJ=yes
15992 hardcode_shlibpath_var_GCJ=no
15996 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15997 hardcode_direct_GCJ=yes
15998 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15999 hardcode_libdir_separator_GCJ=:
16000 hardcode_shlibpath_var_GCJ=no
16004 hardcode_direct_GCJ=yes
16005 hardcode_shlibpath_var_GCJ=no
16006 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16007 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16008 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16009 export_dynamic_flag_spec_GCJ='${wl}-E'
16012 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16013 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16014 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16017 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16018 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16025 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16026 hardcode_minus_L_GCJ=yes
16027 allow_undefined_flag_GCJ=unsupported
16028 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'
16029 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16033 if test "$GCC" = yes; then
16034 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16035 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'
16037 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16038 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'
16040 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16041 hardcode_libdir_separator_GCJ=:
16044 osf4* | osf5*) # as osf3* with the addition of -msym flag
16045 if test "$GCC" = yes; then
16046 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16047 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'
16048 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16050 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16051 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'
16052 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~
16053 $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'
16055 # Both c and cxx compiler support -rpath directly
16056 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16058 hardcode_libdir_separator_GCJ=:
16062 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16063 hardcode_shlibpath_var_GCJ=no
16064 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16065 runpath_var=LD_RUN_PATH
16066 hardcode_runpath_var=yes
16070 no_undefined_flag_GCJ=' -z text'
16071 if test "$GCC" = yes; then
16072 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16073 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16074 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16076 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16077 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16078 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16080 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16081 hardcode_shlibpath_var_GCJ=no
16083 solaris2.[0-5] | solaris2.[0-5].*) ;;
16084 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16085 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16087 link_all_deplibs_GCJ=yes
16091 if test "x$host_vendor" = xsequent; then
16092 # Use $CC to link under sequent, because it throws in some extra .o
16093 # files that make .init and .fini sections work.
16094 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16096 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16098 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16099 hardcode_direct_GCJ=yes
16100 hardcode_minus_L_GCJ=yes
16101 hardcode_shlibpath_var_GCJ=no
16105 case $host_vendor in
16107 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16108 hardcode_direct_GCJ=yes # is this really true???
16111 ## LD is ld it makes a PLAMLIB
16112 ## CC just makes a GrossModule.
16113 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16114 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16115 hardcode_direct_GCJ=no
16118 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16119 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16122 runpath_var='LD_RUN_PATH'
16123 hardcode_shlibpath_var_GCJ=no
16127 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16128 hardcode_shlibpath_var_GCJ=no
16129 export_dynamic_flag_spec_GCJ='-Bexport'
16133 if test -d /usr/nec; then
16134 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16135 hardcode_shlibpath_var_GCJ=no
16136 runpath_var=LD_RUN_PATH
16137 hardcode_runpath_var=yes
16143 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16144 hardcode_direct_GCJ=yes
16145 hardcode_minus_L_GCJ=no
16146 hardcode_shlibpath_var_GCJ=no
16147 hardcode_runpath_var=yes
16148 runpath_var=LD_RUN_PATH
16151 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16152 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16153 if test "$GCC" = yes; then
16154 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16156 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16158 runpath_var='LD_RUN_PATH'
16159 hardcode_shlibpath_var_GCJ=no
16163 no_undefined_flag_GCJ=' -z text'
16164 # $CC -shared without GNU ld will not create a library from C++
16165 # object files and a static libstdc++, better avoid it by now
16166 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16167 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16168 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16169 hardcode_libdir_flag_spec_GCJ=
16170 hardcode_shlibpath_var_GCJ=no
16171 runpath_var='LD_RUN_PATH'
16175 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16176 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16177 hardcode_shlibpath_var_GCJ=no
16186 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16187 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16188 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16190 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16191 if test "$GCC" = yes; then
16192 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16196 # Do we need to explicitly link libc?
16198 case "x$archive_cmds_need_lc_GCJ" in
16200 # Assume -lc should be added
16201 archive_cmds_need_lc_GCJ=yes
16203 if test "$enable_shared" = yes && test "$GCC" = yes; then
16204 case $archive_cmds_GCJ in
16206 # FIXME: we may have to deal with multi-command sequences.
16209 # Test whether the compiler implicitly links with -lc since on some
16210 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16211 # to ld, don't add -lc before -lgcc.
16212 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16213 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16215 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16218 (eval $ac_compile) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); } 2>conftest.err; then
16224 libobjs=conftest.$ac_objext
16226 wl=$lt_prog_compiler_wl_GCJ
16232 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16233 allow_undefined_flag_GCJ=
16234 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16235 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }
16240 archive_cmds_need_lc_GCJ=no
16242 archive_cmds_need_lc_GCJ=yes
16244 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16246 cat conftest.err 1>&5
16249 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16250 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16257 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16258 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16259 hardcode_action_GCJ=
16260 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16261 test -n "$runpath_var GCJ" || \
16262 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16264 # We can hardcode non-existant directories.
16265 if test "$hardcode_direct_GCJ" != no &&
16266 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16267 # have to relink, otherwise we might link with an installed library
16268 # when we should be linking with a yet-to-be-installed one
16269 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16270 test "$hardcode_minus_L_GCJ" != no; then
16271 # Linking always hardcodes the temporary library directory.
16272 hardcode_action_GCJ=relink
16274 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16275 hardcode_action_GCJ=immediate
16278 # We cannot hardcode anything, or else we can only hardcode existing
16280 hardcode_action_GCJ=unsupported
16282 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16283 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16285 if test "$hardcode_action_GCJ" = relink; then
16286 # Fast installation is not supported
16287 enable_fast_install=no
16288 elif test "$shlibpath_overrides_runpath" = yes ||
16289 test "$enable_shared" = no; then
16290 # Fast installation is not necessary
16291 enable_fast_install=needless
16296 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16297 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16298 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16299 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16300 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16301 echo "$as_me:$LINENO: result: yes" >&5
16302 echo "${ECHO_T}yes" >&6
16304 # FIXME - insert some real tests, host_os isn't really good enough
16307 if test -n "$STRIP" ; then
16308 striplib="$STRIP -x"
16309 echo "$as_me:$LINENO: result: yes" >&5
16310 echo "${ECHO_T}yes" >&6
16312 echo "$as_me:$LINENO: result: no" >&5
16313 echo "${ECHO_T}no" >&6
16317 echo "$as_me:$LINENO: result: no" >&5
16318 echo "${ECHO_T}no" >&6
16323 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16324 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16325 library_names_spec=
16326 libname_spec='lib$name'
16330 postuninstall_cmds=
16334 shlibpath_overrides_runpath=unknown
16336 dynamic_linker="$host_os ld.so"
16337 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16338 if test "$GCC" = yes; then
16339 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16340 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16341 # if the path contains ";" then we assume it to be the separator
16342 # otherwise default to the standard path separator (i.e. ":") - it is
16343 # assumed that no part of a normal pathname contains ";" but that should
16344 # okay in the real world where ";" in dirpaths is itself problematic.
16345 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16347 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16350 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16352 need_lib_prefix=unknown
16353 hardcode_into_libs=no
16355 # when you set need_version to no, make sure it does not cause -set_version
16356 # flags to be left without arguments
16357 need_version=unknown
16362 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16363 shlibpath_var=LIBPATH
16365 # AIX 3 has no versioning support, so we append a major version to the name.
16366 soname_spec='${libname}${release}${shared_ext}$major'
16373 hardcode_into_libs=yes
16374 if test "$host_cpu" = ia64; then
16375 # AIX 5 supports IA64
16376 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16377 shlibpath_var=LD_LIBRARY_PATH
16379 # With GCC up to 2.95.x, collect2 would create an import file
16380 # for dependence libraries. The import file would start with
16381 # the line `#! .'. This would cause the generated library to
16382 # depend on `.', always an invalid library. This was fixed in
16383 # development snapshots of GCC prior to 3.0.
16385 aix4 | aix4.[01] | aix4.[01].*)
16386 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16388 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16391 can_build_shared=no
16395 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16396 # soname into executable. Probably we can add versioning support to
16397 # collect2, so additional links can be useful in future.
16398 if test "$aix_use_runtimelinking" = yes; then
16399 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16400 # instead of lib<name>.a to let people know that these are not
16401 # typical AIX shared libraries.
16402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16404 # We preserve .a as extension for shared libraries through AIX4.2
16405 # and later when we are not doing run time linking.
16406 library_names_spec='${libname}${release}.a $libname.a'
16407 soname_spec='${libname}${release}${shared_ext}$major'
16409 shlibpath_var=LIBPATH
16414 library_names_spec='$libname.ixlibrary $libname.a'
16415 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16416 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'
16420 library_names_spec='${libname}${shared_ext}'
16421 dynamic_linker="$host_os ld.so"
16422 shlibpath_var=LIBRARY_PATH
16428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16429 soname_spec='${libname}${release}${shared_ext}$major'
16430 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16431 shlibpath_var=LD_LIBRARY_PATH
16432 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16433 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16434 # the default ld.so.conf also contains /usr/contrib/lib and
16435 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16436 # libtool to hard-code these into programs
16439 cygwin* | mingw* | pw32*)
16440 version_type=windows
16445 case $GCC,$host_os in
16446 yes,cygwin* | yes,mingw* | yes,pw32*)
16447 library_names_spec='$libname.dll.a'
16448 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16449 postinstall_cmds='base_file=`basename \${file}`~
16450 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16451 dldir=$destdir/`dirname \$dlpath`~
16452 test -d \$dldir || mkdir -p \$dldir~
16453 $install_prog $dir/$dlname \$dldir/$dlname'
16454 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16455 dlpath=$dir/\$dldll~
16457 shlibpath_overrides_runpath=yes
16461 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16462 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16463 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16466 # MinGW DLLs use traditional 'lib' prefix
16467 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16468 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16469 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16470 # It is most probably a Windows format PATH printed by
16471 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16472 # path with ; separators, and with drive letters. We can handle the
16473 # drive letters (cygwin fileutils understands them), so leave them,
16474 # especially as we might pass files found there to a mingw objdump,
16475 # which wouldn't understand a cygwinified path. Ahh.
16476 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16478 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16482 # pw32 DLLs use 'pw' prefix rather than 'lib'
16483 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16489 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16492 dynamic_linker='Win32 ld.exe'
16493 # FIXME: first we should search . and the directory the executable is in
16497 darwin* | rhapsody*)
16498 dynamic_linker="$host_os dyld"
16499 version_type=darwin
16502 # FIXME: Relying on posixy $() will cause problems for
16503 # cross-compilation, but unfortunately the echo tests do not
16504 # yet detect zsh echo's removal of \ escapes.
16505 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16506 soname_spec='${libname}${release}${major}$shared_ext'
16507 shlibpath_overrides_runpath=yes
16508 shlibpath_var=DYLD_LIBRARY_PATH
16509 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16510 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16511 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16512 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"`
16514 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16522 soname_spec='${libname}${release}${shared_ext}$major'
16523 shlibpath_var=LD_LIBRARY_PATH
16531 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16532 version_type=freebsd-$objformat
16533 case $version_type in
16535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16540 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16544 shlibpath_var=LD_LIBRARY_PATH
16547 shlibpath_overrides_runpath=yes
16549 freebsd3.01* | freebsdelf3.01*)
16550 shlibpath_overrides_runpath=yes
16551 hardcode_into_libs=yes
16554 shlibpath_overrides_runpath=no
16555 hardcode_into_libs=yes
16564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16565 soname_spec='${libname}${release}${shared_ext}$major'
16566 shlibpath_var=LD_LIBRARY_PATH
16567 hardcode_into_libs=yes
16570 hpux9* | hpux10* | hpux11*)
16571 # Give a soname corresponding to the major version so that dld.sl refuses to
16572 # link against other versions.
16576 case "$host_cpu" in
16579 hardcode_into_libs=yes
16580 dynamic_linker="$host_os dld.so"
16581 shlibpath_var=LD_LIBRARY_PATH
16582 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16584 soname_spec='${libname}${release}${shared_ext}$major'
16585 if test "X$HPUX_IA64_MODE" = X32; then
16586 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16588 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16590 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16594 hardcode_into_libs=yes
16595 dynamic_linker="$host_os dld.sl"
16596 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16597 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16599 soname_spec='${libname}${release}${shared_ext}$major'
16600 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16601 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16605 dynamic_linker="$host_os dld.sl"
16606 shlibpath_var=SHLIB_PATH
16607 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16609 soname_spec='${libname}${release}${shared_ext}$major'
16612 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16613 postinstall_cmds='chmod 555 $lib'
16616 irix5* | irix6* | nonstopux*)
16618 nonstopux*) version_type=nonstopux ;;
16620 if test "$lt_cv_prog_gnu_ld" = yes; then
16628 soname_spec='${libname}${release}${shared_ext}$major'
16629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16631 irix5* | nonstopux*)
16632 libsuff= shlibsuff=
16635 case $LD in # libtool.m4 will add one of these switches to LD
16636 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16637 libsuff= shlibsuff= libmagic=32-bit;;
16638 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16639 libsuff=32 shlibsuff=N32 libmagic=N32;;
16640 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16641 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16642 *) libsuff= shlibsuff= libmagic=never-match;;
16646 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16647 shlibpath_overrides_runpath=no
16648 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16649 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16650 hardcode_into_libs=yes
16653 # No shared lib support for Linux oldld, aout, or coff.
16654 linux*oldld* | linux*aout* | linux*coff*)
16658 # This must be Linux ELF.
16663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16664 soname_spec='${libname}${release}${shared_ext}$major'
16665 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16666 shlibpath_var=LD_LIBRARY_PATH
16667 shlibpath_overrides_runpath=no
16668 # This implies no fast_install, which is unacceptable.
16669 # Some rework will be needed to allow for fast_install
16670 # before this can be enabled.
16671 hardcode_into_libs=yes
16673 # We used to test for /lib/ld.so.1 and disable shared libraries on
16674 # powerpc, because MkLinux only supported shared libraries with the
16675 # GNU dynamic linker. Since this was broken with cross compilers,
16676 # most powerpc-linux boxes support dynamic linking these days and
16677 # people can always --disable-shared, the test was removed, and we
16678 # assume the GNU/Linux dynamic linker is in use.
16679 dynamic_linker='GNU/Linux ld.so'
16686 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16689 dynamic_linker='NetBSD (a.out) ld.so'
16691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16692 soname_spec='${libname}${release}${shared_ext}$major'
16693 dynamic_linker='NetBSD ld.elf_so'
16695 shlibpath_var=LD_LIBRARY_PATH
16696 shlibpath_overrides_runpath=yes
16697 hardcode_into_libs=yes
16702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16703 shlibpath_var=LD_LIBRARY_PATH
16704 shlibpath_overrides_runpath=yes
16711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16712 soname_spec='${libname}${release}${shared_ext}$major'
16713 shlibpath_var=LD_LIBRARY_PATH
16714 shlibpath_overrides_runpath=yes
16721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16722 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16723 shlibpath_var=LD_LIBRARY_PATH
16724 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16726 openbsd2.[89] | openbsd2.[89].*)
16727 shlibpath_overrides_runpath=no
16730 shlibpath_overrides_runpath=yes
16734 shlibpath_overrides_runpath=yes
16739 libname_spec='$name'
16742 library_names_spec='$libname${shared_ext} $libname.a'
16743 dynamic_linker='OS/2 ld.exe'
16744 shlibpath_var=LIBPATH
16747 osf3* | osf4* | osf5*)
16751 soname_spec='${libname}${release}${shared_ext}$major'
16752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16753 shlibpath_var=LD_LIBRARY_PATH
16754 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16755 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16760 soname_spec='${libname}${release}${shared_ext}$major'
16761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16762 shlibpath_var=LD_LIBRARY_PATH
16769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16770 soname_spec='${libname}${release}${shared_ext}$major'
16771 shlibpath_var=LD_LIBRARY_PATH
16772 shlibpath_overrides_runpath=yes
16773 hardcode_into_libs=yes
16774 # ldd complains unless libraries are executable
16775 postinstall_cmds='chmod +x $lib'
16780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16781 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16782 shlibpath_var=LD_LIBRARY_PATH
16783 shlibpath_overrides_runpath=yes
16784 if test "$with_gnu_ld" = yes; then
16790 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16793 soname_spec='${libname}${release}${shared_ext}$major'
16794 shlibpath_var=LD_LIBRARY_PATH
16795 case $host_vendor in
16797 shlibpath_overrides_runpath=no
16799 export_dynamic_flag_spec='${wl}-Blargedynsym'
16800 runpath_var=LD_RUN_PATH
16808 shlibpath_overrides_runpath=no
16809 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16815 if test -d /usr/nec ;then
16817 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16818 soname_spec='$libname${shared_ext}.$major'
16819 shlibpath_var=LD_LIBRARY_PATH
16825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16826 soname_spec='${libname}${release}${shared_ext}$major'
16827 shlibpath_var=LD_LIBRARY_PATH
16834 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16835 echo "${ECHO_T}$dynamic_linker" >&6
16836 test "$dynamic_linker" = no && can_build_shared=no
16838 if test "x$enable_dlopen" != xyes; then
16839 enable_dlopen=unknown
16840 enable_dlopen_self=unknown
16841 enable_dlopen_self_static=unknown
16848 lt_cv_dlopen="load_add_on"
16850 lt_cv_dlopen_self=yes
16854 lt_cv_dlopen="LoadLibrary"
16859 lt_cv_dlopen="dlopen"
16864 # if libdl is installed we need to link against it
16865 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16866 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16867 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 ac_check_lib_save_LIBS=$LIBS
16872 cat >conftest.$ac_ext <<_ACEOF
16873 #line $LINENO "configure"
16876 cat confdefs.h >>conftest.$ac_ext
16877 cat >>conftest.$ac_ext <<_ACEOF
16878 /* end confdefs.h. */
16880 /* Override any gcc2 internal prototype to avoid an error. */
16884 /* We use char because int might match the return type of a gcc2
16885 builtin and then its argument prototype would still apply. */
16895 rm -f conftest.$ac_objext conftest$ac_exeext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16897 (eval $ac_link) 2>&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); } &&
16901 { ac_try='test -s conftest$ac_exeext'
16902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16903 (eval $ac_try) 2>&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); }; }; then
16907 ac_cv_lib_dl_dlopen=yes
16909 echo "$as_me: failed program was:" >&5
16910 sed 's/^/| /' conftest.$ac_ext >&5
16912 ac_cv_lib_dl_dlopen=no
16914 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16915 LIBS=$ac_check_lib_save_LIBS
16917 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16918 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16919 if test $ac_cv_lib_dl_dlopen = yes; then
16920 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16923 lt_cv_dlopen="dyld"
16925 lt_cv_dlopen_self=yes
16932 echo "$as_me:$LINENO: checking for shl_load" >&5
16933 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16934 if test "${ac_cv_func_shl_load+set}" = set; then
16935 echo $ECHO_N "(cached) $ECHO_C" >&6
16937 cat >conftest.$ac_ext <<_ACEOF
16938 #line $LINENO "configure"
16941 cat confdefs.h >>conftest.$ac_ext
16942 cat >>conftest.$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 /* System header to define __stub macros and hopefully few prototypes,
16945 which can conflict with char shl_load (); below.
16946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16947 <limits.h> exists even on freestanding compilers. */
16949 # include <limits.h>
16951 # include <assert.h>
16953 /* Override any gcc2 internal prototype to avoid an error. */
16958 /* We use char because int might match the return type of a gcc2
16959 builtin and then its argument prototype would still apply. */
16961 /* The GNU C library defines this for functions which it implements
16962 to always fail with ENOSYS. Some functions are actually named
16963 something starting with __ and the normal name is an alias. */
16964 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16967 char (*f) () = shl_load;
16976 return f != shl_load;
16981 rm -f conftest.$ac_objext conftest$ac_exeext
16982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16983 (eval $ac_link) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } &&
16987 { ac_try='test -s conftest$ac_exeext'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; }; then
16993 ac_cv_func_shl_load=yes
16995 echo "$as_me: failed program was:" >&5
16996 sed 's/^/| /' conftest.$ac_ext >&5
16998 ac_cv_func_shl_load=no
17000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17002 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17003 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17004 if test $ac_cv_func_shl_load = yes; then
17005 lt_cv_dlopen="shl_load"
17007 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17008 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17009 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17012 ac_check_lib_save_LIBS=$LIBS
17014 cat >conftest.$ac_ext <<_ACEOF
17015 #line $LINENO "configure"
17018 cat confdefs.h >>conftest.$ac_ext
17019 cat >>conftest.$ac_ext <<_ACEOF
17020 /* end confdefs.h. */
17022 /* Override any gcc2 internal prototype to avoid an error. */
17026 /* We use char because int might match the return type of a gcc2
17027 builtin and then its argument prototype would still apply. */
17037 rm -f conftest.$ac_objext conftest$ac_exeext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17039 (eval $ac_link) 2>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); } &&
17043 { ac_try='test -s conftest$ac_exeext'
17044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17045 (eval $ac_try) 2>&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); }; }; then
17049 ac_cv_lib_dld_shl_load=yes
17051 echo "$as_me: failed program was:" >&5
17052 sed 's/^/| /' conftest.$ac_ext >&5
17054 ac_cv_lib_dld_shl_load=no
17056 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17057 LIBS=$ac_check_lib_save_LIBS
17059 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17060 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17061 if test $ac_cv_lib_dld_shl_load = yes; then
17062 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17064 echo "$as_me:$LINENO: checking for dlopen" >&5
17065 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17066 if test "${ac_cv_func_dlopen+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 cat >conftest.$ac_ext <<_ACEOF
17070 #line $LINENO "configure"
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17076 /* System header to define __stub macros and hopefully few prototypes,
17077 which can conflict with char dlopen (); below.
17078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17079 <limits.h> exists even on freestanding compilers. */
17081 # include <limits.h>
17083 # include <assert.h>
17085 /* Override any gcc2 internal prototype to avoid an error. */
17090 /* We use char because int might match the return type of a gcc2
17091 builtin and then its argument prototype would still apply. */
17093 /* The GNU C library defines this for functions which it implements
17094 to always fail with ENOSYS. Some functions are actually named
17095 something starting with __ and the normal name is an alias. */
17096 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17099 char (*f) () = dlopen;
17108 return f != dlopen;
17113 rm -f conftest.$ac_objext conftest$ac_exeext
17114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17115 (eval $ac_link) 2>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } &&
17119 { ac_try='test -s conftest$ac_exeext'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; }; then
17125 ac_cv_func_dlopen=yes
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.$ac_ext >&5
17130 ac_cv_func_dlopen=no
17132 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17134 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17135 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17136 if test $ac_cv_func_dlopen = yes; then
17137 lt_cv_dlopen="dlopen"
17139 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17140 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17141 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 ac_check_lib_save_LIBS=$LIBS
17146 cat >conftest.$ac_ext <<_ACEOF
17147 #line $LINENO "configure"
17150 cat confdefs.h >>conftest.$ac_ext
17151 cat >>conftest.$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17154 /* Override any gcc2 internal prototype to avoid an error. */
17158 /* We use char because int might match the return type of a gcc2
17159 builtin and then its argument prototype would still apply. */
17169 rm -f conftest.$ac_objext conftest$ac_exeext
17170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17171 (eval $ac_link) 2>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } &&
17175 { ac_try='test -s conftest$ac_exeext'
17176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17177 (eval $ac_try) 2>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); }; }; then
17181 ac_cv_lib_dl_dlopen=yes
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.$ac_ext >&5
17186 ac_cv_lib_dl_dlopen=no
17188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17189 LIBS=$ac_check_lib_save_LIBS
17191 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17192 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17193 if test $ac_cv_lib_dl_dlopen = yes; then
17194 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17196 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17197 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17198 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17199 echo $ECHO_N "(cached) $ECHO_C" >&6
17201 ac_check_lib_save_LIBS=$LIBS
17202 LIBS="-lsvld $LIBS"
17203 cat >conftest.$ac_ext <<_ACEOF
17204 #line $LINENO "configure"
17207 cat confdefs.h >>conftest.$ac_ext
17208 cat >>conftest.$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17211 /* Override any gcc2 internal prototype to avoid an error. */
17215 /* We use char because int might match the return type of a gcc2
17216 builtin and then its argument prototype would still apply. */
17226 rm -f conftest.$ac_objext conftest$ac_exeext
17227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17228 (eval $ac_link) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } &&
17232 { ac_try='test -s conftest$ac_exeext'
17233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17234 (eval $ac_try) 2>&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); }; }; then
17238 ac_cv_lib_svld_dlopen=yes
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.$ac_ext >&5
17243 ac_cv_lib_svld_dlopen=no
17245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17246 LIBS=$ac_check_lib_save_LIBS
17248 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17249 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17250 if test $ac_cv_lib_svld_dlopen = yes; then
17251 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17253 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17254 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17255 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17256 echo $ECHO_N "(cached) $ECHO_C" >&6
17258 ac_check_lib_save_LIBS=$LIBS
17260 cat >conftest.$ac_ext <<_ACEOF
17261 #line $LINENO "configure"
17264 cat confdefs.h >>conftest.$ac_ext
17265 cat >>conftest.$ac_ext <<_ACEOF
17266 /* end confdefs.h. */
17268 /* Override any gcc2 internal prototype to avoid an error. */
17272 /* We use char because int might match the return type of a gcc2
17273 builtin and then its argument prototype would still apply. */
17283 rm -f conftest.$ac_objext conftest$ac_exeext
17284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17285 (eval $ac_link) 2>&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } &&
17289 { ac_try='test -s conftest$ac_exeext'
17290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17291 (eval $ac_try) 2>&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); }; }; then
17295 ac_cv_lib_dld_dld_link=yes
17297 echo "$as_me: failed program was:" >&5
17298 sed 's/^/| /' conftest.$ac_ext >&5
17300 ac_cv_lib_dld_dld_link=no
17302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17303 LIBS=$ac_check_lib_save_LIBS
17305 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17306 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17307 if test $ac_cv_lib_dld_dld_link = yes; then
17308 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17329 if test "x$lt_cv_dlopen" != xno; then
17335 case $lt_cv_dlopen in
17337 save_CPPFLAGS="$CPPFLAGS"
17338 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17340 save_LDFLAGS="$LDFLAGS"
17341 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17344 LIBS="$lt_cv_dlopen_libs $LIBS"
17346 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17347 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17348 if test "${lt_cv_dlopen_self+set}" = set; then
17349 echo $ECHO_N "(cached) $ECHO_C" >&6
17351 if test "$cross_compiling" = yes; then :
17352 lt_cv_dlopen_self=cross
17354 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17355 lt_status=$lt_dlunknown
17356 cat > conftest.$ac_ext <<EOF
17357 #line 17357 "configure"
17358 #include "confdefs.h"
17367 # define LT_DLGLOBAL RTLD_GLOBAL
17370 # define LT_DLGLOBAL DL_GLOBAL
17372 # define LT_DLGLOBAL 0
17376 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17377 find out it does not work in some platform. */
17378 #ifndef LT_DLLAZY_OR_NOW
17380 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17383 # define LT_DLLAZY_OR_NOW DL_LAZY
17386 # define LT_DLLAZY_OR_NOW RTLD_NOW
17389 # define LT_DLLAZY_OR_NOW DL_NOW
17391 # define LT_DLLAZY_OR_NOW 0
17399 extern "C" void exit (int);
17402 void fnord() { int i=42;}
17405 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17406 int status = $lt_dlunknown;
17410 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17411 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17412 /* dlclose (self); */
17418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17419 (eval $ac_link) 2>&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17423 (./conftest; exit; ) 2>/dev/null
17425 case x$lt_status in
17426 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17427 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17428 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17431 # compilation failed
17432 lt_cv_dlopen_self=no
17439 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17440 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17442 if test "x$lt_cv_dlopen_self" = xyes; then
17443 LDFLAGS="$LDFLAGS $link_static_flag"
17444 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17445 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17446 if test "${lt_cv_dlopen_self_static+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 if test "$cross_compiling" = yes; then :
17450 lt_cv_dlopen_self_static=cross
17452 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17453 lt_status=$lt_dlunknown
17454 cat > conftest.$ac_ext <<EOF
17455 #line 17455 "configure"
17456 #include "confdefs.h"
17465 # define LT_DLGLOBAL RTLD_GLOBAL
17468 # define LT_DLGLOBAL DL_GLOBAL
17470 # define LT_DLGLOBAL 0
17474 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17475 find out it does not work in some platform. */
17476 #ifndef LT_DLLAZY_OR_NOW
17478 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17481 # define LT_DLLAZY_OR_NOW DL_LAZY
17484 # define LT_DLLAZY_OR_NOW RTLD_NOW
17487 # define LT_DLLAZY_OR_NOW DL_NOW
17489 # define LT_DLLAZY_OR_NOW 0
17497 extern "C" void exit (int);
17500 void fnord() { int i=42;}
17503 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17504 int status = $lt_dlunknown;
17508 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17509 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17510 /* dlclose (self); */
17516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17517 (eval $ac_link) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17521 (./conftest; exit; ) 2>/dev/null
17523 case x$lt_status in
17524 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17525 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17526 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17529 # compilation failed
17530 lt_cv_dlopen_self_static=no
17537 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17538 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17541 CPPFLAGS="$save_CPPFLAGS"
17542 LDFLAGS="$save_LDFLAGS"
17547 case $lt_cv_dlopen_self in
17548 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17549 *) enable_dlopen_self=unknown ;;
17552 case $lt_cv_dlopen_self_static in
17553 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17554 *) enable_dlopen_self_static=unknown ;;
17559 # The else clause should only fire when bootstrapping the
17560 # libtool distribution, otherwise you forgot to ship ltmain.sh
17561 # with your package, and you will get complaints that there are
17562 # no rules to generate ltmain.sh.
17563 if test -f "$ltmain"; then
17564 # See if we are running on zsh, and set the options which allow our commands through
17565 # without removal of \ escapes.
17566 if test -n "${ZSH_VERSION+set}" ; then
17567 setopt NO_GLOB_SUBST
17569 # Now quote all the things that may contain metacharacters while being
17570 # careful not to overquote the AC_SUBSTed values. We take copies of the
17571 # variables and quote the copies for generation of the libtool script.
17572 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17573 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17574 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17575 deplibs_check_method reload_flag reload_cmds need_locks \
17576 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17577 lt_cv_sys_global_symbol_to_c_name_address \
17578 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17579 old_postinstall_cmds old_postuninstall_cmds \
17583 lt_prog_compiler_wl_GCJ \
17584 lt_prog_compiler_pic_GCJ \
17585 lt_prog_compiler_static_GCJ \
17586 lt_prog_compiler_no_builtin_flag_GCJ \
17587 export_dynamic_flag_spec_GCJ \
17588 thread_safe_flag_spec_GCJ \
17589 whole_archive_flag_spec_GCJ \
17590 enable_shared_with_static_runtimes_GCJ \
17591 old_archive_cmds_GCJ \
17592 old_archive_from_new_cmds_GCJ \
17593 predep_objects_GCJ \
17594 postdep_objects_GCJ \
17597 compiler_lib_search_path_GCJ \
17599 archive_expsym_cmds_GCJ \
17600 postinstall_cmds_GCJ \
17601 postuninstall_cmds_GCJ \
17602 old_archive_from_expsyms_cmds_GCJ \
17603 allow_undefined_flag_GCJ \
17604 no_undefined_flag_GCJ \
17605 export_symbols_cmds_GCJ \
17606 hardcode_libdir_flag_spec_GCJ \
17607 hardcode_libdir_flag_spec_ld_GCJ \
17608 hardcode_libdir_separator_GCJ \
17609 hardcode_automatic_GCJ \
17611 module_expsym_cmds_GCJ \
17612 lt_cv_prog_compiler_c_o_GCJ \
17613 exclude_expsyms_GCJ \
17614 include_expsyms_GCJ; do
17617 old_archive_cmds_GCJ | \
17618 old_archive_from_new_cmds_GCJ | \
17619 archive_cmds_GCJ | \
17620 archive_expsym_cmds_GCJ | \
17621 module_cmds_GCJ | \
17622 module_expsym_cmds_GCJ | \
17623 old_archive_from_expsyms_cmds_GCJ | \
17624 export_symbols_cmds_GCJ | \
17625 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17626 postinstall_cmds | postuninstall_cmds | \
17627 old_postinstall_cmds | old_postuninstall_cmds | \
17628 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17629 # Double-quote double-evaled strings.
17630 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17633 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17639 *'\$0 --fallback-echo"')
17640 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17646 cat <<__EOF__ >> "$cfgfile"
17647 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17649 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17651 # Shell to use when invoking shell scripts.
17654 # Whether or not to build shared libraries.
17655 build_libtool_libs=$enable_shared
17657 # Whether or not to build static libraries.
17658 build_old_libs=$enable_static
17660 # Whether or not to add -lc for building shared libraries.
17661 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17663 # Whether or not to disallow shared libs when runtime libs are static
17664 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17666 # Whether or not to optimize for fast installation.
17667 fast_install=$enable_fast_install
17670 host_alias=$host_alias
17673 # An echo program that does not interpret backslashes.
17678 AR_FLAGS=$lt_AR_FLAGS
17683 # A language-specific compiler.
17684 CC=$lt_compiler_GCJ
17686 # Is the compiler the GNU C compiler?
17692 # The linker used to build libraries.
17695 # Whether we need hard or soft links.
17698 # A BSD-compatible nm program.
17701 # A symbol stripping program
17704 # Used to examine libraries when file_magic_cmd begins "file"
17705 MAGIC_CMD=$MAGIC_CMD
17707 # Used on cygwin: DLL creation program.
17710 # Used on cygwin: object dumper.
17713 # Used on cygwin: assembler.
17716 # The name of the directory that contains temporary libtool files.
17719 # How to create reloadable object files.
17720 reload_flag=$lt_reload_flag
17721 reload_cmds=$lt_reload_cmds
17723 # How to pass a linker flag through the compiler.
17724 wl=$lt_lt_prog_compiler_wl_GCJ
17726 # Object file suffix (normally "o").
17727 objext="$ac_objext"
17729 # Old archive suffix (normally "a").
17732 # Shared library suffix (normally ".so").
17735 # Executable file suffix (normally "").
17738 # Additional compiler flags for building library objects.
17739 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17742 # What is the maximum length of a command?
17743 max_cmd_len=$lt_cv_sys_max_cmd_len
17745 # Does compiler simultaneously support -c and -o options?
17746 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17748 # Must we lock files when doing compilation ?
17749 need_locks=$lt_need_locks
17751 # Do we need the lib prefix for modules?
17752 need_lib_prefix=$need_lib_prefix
17754 # Do we need a version for libraries?
17755 need_version=$need_version
17757 # Whether dlopen is supported.
17758 dlopen_support=$enable_dlopen
17760 # Whether dlopen of programs is supported.
17761 dlopen_self=$enable_dlopen_self
17763 # Whether dlopen of statically linked programs is supported.
17764 dlopen_self_static=$enable_dlopen_self_static
17766 # Compiler flag to prevent dynamic linking.
17767 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17769 # Compiler flag to turn off builtin functions.
17770 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17772 # Compiler flag to allow reflexive dlopens.
17773 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17775 # Compiler flag to generate shared objects directly from archives.
17776 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17778 # Compiler flag to generate thread-safe objects.
17779 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17781 # Library versioning type.
17782 version_type=$version_type
17784 # Format of library name prefix.
17785 libname_spec=$lt_libname_spec
17787 # List of archive names. First name is the real one, the rest are links.
17788 # The last name is the one that the linker finds with -lNAME.
17789 library_names_spec=$lt_library_names_spec
17791 # The coded name of the library, if different from the real name.
17792 soname_spec=$lt_soname_spec
17794 # Commands used to build and install an old-style archive.
17796 old_archive_cmds=$lt_old_archive_cmds_GCJ
17797 old_postinstall_cmds=$lt_old_postinstall_cmds
17798 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17800 # Create an old-style archive from a shared archive.
17801 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17803 # Create a temporary old-style archive to link instead of a shared archive.
17804 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17806 # Commands used to build and install a shared archive.
17807 archive_cmds=$lt_archive_cmds_GCJ
17808 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17809 postinstall_cmds=$lt_postinstall_cmds
17810 postuninstall_cmds=$lt_postuninstall_cmds
17812 # Commands used to build a loadable module (assumed same as above if empty)
17813 module_cmds=$lt_module_cmds_GCJ
17814 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17816 # Commands to strip libraries.
17817 old_striplib=$lt_old_striplib
17818 striplib=$lt_striplib
17820 # Dependencies to place before the objects being linked to create a
17822 predep_objects=$lt_predep_objects_GCJ
17824 # Dependencies to place after the objects being linked to create a
17826 postdep_objects=$lt_postdep_objects_GCJ
17828 # Dependencies to place before the objects being linked to create a
17830 predeps=$lt_predeps_GCJ
17832 # Dependencies to place after the objects being linked to create a
17834 postdeps=$lt_postdeps_GCJ
17836 # The library search path used internally by the compiler when linking
17837 # a shared library.
17838 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17840 # Method to check whether dependent libraries are shared objects.
17841 deplibs_check_method=$lt_deplibs_check_method
17843 # Command to use when deplibs_check_method == file_magic.
17844 file_magic_cmd=$lt_file_magic_cmd
17846 # Flag that allows shared libraries with undefined symbols to be built.
17847 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17849 # Flag that forces no undefined symbols.
17850 no_undefined_flag=$lt_no_undefined_flag_GCJ
17852 # Commands used to finish a libtool library installation in a directory.
17853 finish_cmds=$lt_finish_cmds
17855 # Same as above, but a single script fragment to be evaled but not shown.
17856 finish_eval=$lt_finish_eval
17858 # Take the output of nm and produce a listing of raw symbols and C names.
17859 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17861 # Transform the output of nm in a proper C declaration
17862 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17864 # Transform the output of nm in a C name address pair
17865 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17867 # This is the shared library runtime path variable.
17868 runpath_var=$runpath_var
17870 # This is the shared library path variable.
17871 shlibpath_var=$shlibpath_var
17873 # Is shlibpath searched before the hard-coded library search path?
17874 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17876 # How to hardcode a shared library path into an executable.
17877 hardcode_action=$hardcode_action_GCJ
17879 # Whether we should hardcode library paths into libraries.
17880 hardcode_into_libs=$hardcode_into_libs
17882 # Flag to hardcode \$libdir into a binary during linking.
17883 # This must work even if \$libdir does not exist.
17884 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17886 # If ld is used when linking, flag to hardcode \$libdir into
17887 # a binary during linking. This must work even if \$libdir does
17889 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17891 # Whether we need a single -rpath flag with a separated argument.
17892 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17894 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17895 # resulting binary.
17896 hardcode_direct=$hardcode_direct_GCJ
17898 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17899 # resulting binary.
17900 hardcode_minus_L=$hardcode_minus_L_GCJ
17902 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17903 # the resulting binary.
17904 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17906 # Set to yes if building a shared library automatically hardcodes DIR into the library
17907 # and all subsequent libraries and executables linked against it.
17908 hardcode_automatic=$hardcode_automatic_GCJ
17910 # Variables whose values should be saved in libtool wrapper scripts and
17911 # restored at relink time.
17912 variables_saved_for_relink="$variables_saved_for_relink"
17914 # Whether libtool must link a program against all its dependency libraries.
17915 link_all_deplibs=$link_all_deplibs_GCJ
17917 # Compile-time system search path for libraries
17918 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17920 # Run-time system search path for libraries
17921 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17923 # Fix the shell variable \$srcfile for the compiler.
17924 fix_srcfile_path="$fix_srcfile_path_GCJ"
17926 # Set to yes if exported symbols are required.
17927 always_export_symbols=$always_export_symbols_GCJ
17929 # The commands to list exported symbols.
17930 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17932 # The commands to extract the exported symbol list from a shared archive.
17933 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17935 # Symbols that should not be listed in the preloaded symbols.
17936 exclude_expsyms=$lt_exclude_expsyms_GCJ
17938 # Symbols that must always be exported.
17939 include_expsyms=$lt_include_expsyms_GCJ
17941 # ### END LIBTOOL TAG CONFIG: $tagname
17947 # If there is no Makefile yet, we rely on a make rule to execute
17948 # `config.status --recheck' to rerun these tests and create the
17949 # libtool script then.
17950 test -f Makefile && make "$ltmain"
17955 ac_cpp='$CPP $CPPFLAGS'
17956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17971 # Source file extension for RC test sources.
17974 # Object file extension for compiled RC test sources.
17978 # Code to be used in simple compile tests
17979 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17981 # Code to be used in simple link tests
17982 lt_simple_link_test_code="$lt_simple_compile_test_code"
17984 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17986 # If no C compiler was specified, use CC.
17989 # Allow CC to be a program name with arguments.
17993 # Allow CC to be a program name with arguments.
17998 lt_cv_prog_compiler_c_o_RC=yes
18000 # The else clause should only fire when bootstrapping the
18001 # libtool distribution, otherwise you forgot to ship ltmain.sh
18002 # with your package, and you will get complaints that there are
18003 # no rules to generate ltmain.sh.
18004 if test -f "$ltmain"; then
18005 # See if we are running on zsh, and set the options which allow our commands through
18006 # without removal of \ escapes.
18007 if test -n "${ZSH_VERSION+set}" ; then
18008 setopt NO_GLOB_SUBST
18010 # Now quote all the things that may contain metacharacters while being
18011 # careful not to overquote the AC_SUBSTed values. We take copies of the
18012 # variables and quote the copies for generation of the libtool script.
18013 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18014 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18015 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18016 deplibs_check_method reload_flag reload_cmds need_locks \
18017 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18018 lt_cv_sys_global_symbol_to_c_name_address \
18019 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18020 old_postinstall_cmds old_postuninstall_cmds \
18024 lt_prog_compiler_wl_RC \
18025 lt_prog_compiler_pic_RC \
18026 lt_prog_compiler_static_RC \
18027 lt_prog_compiler_no_builtin_flag_RC \
18028 export_dynamic_flag_spec_RC \
18029 thread_safe_flag_spec_RC \
18030 whole_archive_flag_spec_RC \
18031 enable_shared_with_static_runtimes_RC \
18032 old_archive_cmds_RC \
18033 old_archive_from_new_cmds_RC \
18034 predep_objects_RC \
18035 postdep_objects_RC \
18038 compiler_lib_search_path_RC \
18040 archive_expsym_cmds_RC \
18041 postinstall_cmds_RC \
18042 postuninstall_cmds_RC \
18043 old_archive_from_expsyms_cmds_RC \
18044 allow_undefined_flag_RC \
18045 no_undefined_flag_RC \
18046 export_symbols_cmds_RC \
18047 hardcode_libdir_flag_spec_RC \
18048 hardcode_libdir_flag_spec_ld_RC \
18049 hardcode_libdir_separator_RC \
18050 hardcode_automatic_RC \
18052 module_expsym_cmds_RC \
18053 lt_cv_prog_compiler_c_o_RC \
18054 exclude_expsyms_RC \
18055 include_expsyms_RC; do
18058 old_archive_cmds_RC | \
18059 old_archive_from_new_cmds_RC | \
18060 archive_cmds_RC | \
18061 archive_expsym_cmds_RC | \
18063 module_expsym_cmds_RC | \
18064 old_archive_from_expsyms_cmds_RC | \
18065 export_symbols_cmds_RC | \
18066 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18067 postinstall_cmds | postuninstall_cmds | \
18068 old_postinstall_cmds | old_postuninstall_cmds | \
18069 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18070 # Double-quote double-evaled strings.
18071 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18074 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18080 *'\$0 --fallback-echo"')
18081 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18087 cat <<__EOF__ >> "$cfgfile"
18088 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18090 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18092 # Shell to use when invoking shell scripts.
18095 # Whether or not to build shared libraries.
18096 build_libtool_libs=$enable_shared
18098 # Whether or not to build static libraries.
18099 build_old_libs=$enable_static
18101 # Whether or not to add -lc for building shared libraries.
18102 build_libtool_need_lc=$archive_cmds_need_lc_RC
18104 # Whether or not to disallow shared libs when runtime libs are static
18105 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18107 # Whether or not to optimize for fast installation.
18108 fast_install=$enable_fast_install
18111 host_alias=$host_alias
18114 # An echo program that does not interpret backslashes.
18119 AR_FLAGS=$lt_AR_FLAGS
18124 # A language-specific compiler.
18127 # Is the compiler the GNU C compiler?
18133 # The linker used to build libraries.
18136 # Whether we need hard or soft links.
18139 # A BSD-compatible nm program.
18142 # A symbol stripping program
18145 # Used to examine libraries when file_magic_cmd begins "file"
18146 MAGIC_CMD=$MAGIC_CMD
18148 # Used on cygwin: DLL creation program.
18151 # Used on cygwin: object dumper.
18154 # Used on cygwin: assembler.
18157 # The name of the directory that contains temporary libtool files.
18160 # How to create reloadable object files.
18161 reload_flag=$lt_reload_flag
18162 reload_cmds=$lt_reload_cmds
18164 # How to pass a linker flag through the compiler.
18165 wl=$lt_lt_prog_compiler_wl_RC
18167 # Object file suffix (normally "o").
18168 objext="$ac_objext"
18170 # Old archive suffix (normally "a").
18173 # Shared library suffix (normally ".so").
18176 # Executable file suffix (normally "").
18179 # Additional compiler flags for building library objects.
18180 pic_flag=$lt_lt_prog_compiler_pic_RC
18183 # What is the maximum length of a command?
18184 max_cmd_len=$lt_cv_sys_max_cmd_len
18186 # Does compiler simultaneously support -c and -o options?
18187 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18189 # Must we lock files when doing compilation ?
18190 need_locks=$lt_need_locks
18192 # Do we need the lib prefix for modules?
18193 need_lib_prefix=$need_lib_prefix
18195 # Do we need a version for libraries?
18196 need_version=$need_version
18198 # Whether dlopen is supported.
18199 dlopen_support=$enable_dlopen
18201 # Whether dlopen of programs is supported.
18202 dlopen_self=$enable_dlopen_self
18204 # Whether dlopen of statically linked programs is supported.
18205 dlopen_self_static=$enable_dlopen_self_static
18207 # Compiler flag to prevent dynamic linking.
18208 link_static_flag=$lt_lt_prog_compiler_static_RC
18210 # Compiler flag to turn off builtin functions.
18211 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18213 # Compiler flag to allow reflexive dlopens.
18214 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18216 # Compiler flag to generate shared objects directly from archives.
18217 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18219 # Compiler flag to generate thread-safe objects.
18220 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18222 # Library versioning type.
18223 version_type=$version_type
18225 # Format of library name prefix.
18226 libname_spec=$lt_libname_spec
18228 # List of archive names. First name is the real one, the rest are links.
18229 # The last name is the one that the linker finds with -lNAME.
18230 library_names_spec=$lt_library_names_spec
18232 # The coded name of the library, if different from the real name.
18233 soname_spec=$lt_soname_spec
18235 # Commands used to build and install an old-style archive.
18237 old_archive_cmds=$lt_old_archive_cmds_RC
18238 old_postinstall_cmds=$lt_old_postinstall_cmds
18239 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18241 # Create an old-style archive from a shared archive.
18242 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18244 # Create a temporary old-style archive to link instead of a shared archive.
18245 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18247 # Commands used to build and install a shared archive.
18248 archive_cmds=$lt_archive_cmds_RC
18249 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18250 postinstall_cmds=$lt_postinstall_cmds
18251 postuninstall_cmds=$lt_postuninstall_cmds
18253 # Commands used to build a loadable module (assumed same as above if empty)
18254 module_cmds=$lt_module_cmds_RC
18255 module_expsym_cmds=$lt_module_expsym_cmds_RC
18257 # Commands to strip libraries.
18258 old_striplib=$lt_old_striplib
18259 striplib=$lt_striplib
18261 # Dependencies to place before the objects being linked to create a
18263 predep_objects=$lt_predep_objects_RC
18265 # Dependencies to place after the objects being linked to create a
18267 postdep_objects=$lt_postdep_objects_RC
18269 # Dependencies to place before the objects being linked to create a
18271 predeps=$lt_predeps_RC
18273 # Dependencies to place after the objects being linked to create a
18275 postdeps=$lt_postdeps_RC
18277 # The library search path used internally by the compiler when linking
18278 # a shared library.
18279 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18281 # Method to check whether dependent libraries are shared objects.
18282 deplibs_check_method=$lt_deplibs_check_method
18284 # Command to use when deplibs_check_method == file_magic.
18285 file_magic_cmd=$lt_file_magic_cmd
18287 # Flag that allows shared libraries with undefined symbols to be built.
18288 allow_undefined_flag=$lt_allow_undefined_flag_RC
18290 # Flag that forces no undefined symbols.
18291 no_undefined_flag=$lt_no_undefined_flag_RC
18293 # Commands used to finish a libtool library installation in a directory.
18294 finish_cmds=$lt_finish_cmds
18296 # Same as above, but a single script fragment to be evaled but not shown.
18297 finish_eval=$lt_finish_eval
18299 # Take the output of nm and produce a listing of raw symbols and C names.
18300 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18302 # Transform the output of nm in a proper C declaration
18303 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18305 # Transform the output of nm in a C name address pair
18306 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18308 # This is the shared library runtime path variable.
18309 runpath_var=$runpath_var
18311 # This is the shared library path variable.
18312 shlibpath_var=$shlibpath_var
18314 # Is shlibpath searched before the hard-coded library search path?
18315 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18317 # How to hardcode a shared library path into an executable.
18318 hardcode_action=$hardcode_action_RC
18320 # Whether we should hardcode library paths into libraries.
18321 hardcode_into_libs=$hardcode_into_libs
18323 # Flag to hardcode \$libdir into a binary during linking.
18324 # This must work even if \$libdir does not exist.
18325 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18327 # If ld is used when linking, flag to hardcode \$libdir into
18328 # a binary during linking. This must work even if \$libdir does
18330 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18332 # Whether we need a single -rpath flag with a separated argument.
18333 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18335 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18336 # resulting binary.
18337 hardcode_direct=$hardcode_direct_RC
18339 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18340 # resulting binary.
18341 hardcode_minus_L=$hardcode_minus_L_RC
18343 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18344 # the resulting binary.
18345 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18347 # Set to yes if building a shared library automatically hardcodes DIR into the library
18348 # and all subsequent libraries and executables linked against it.
18349 hardcode_automatic=$hardcode_automatic_RC
18351 # Variables whose values should be saved in libtool wrapper scripts and
18352 # restored at relink time.
18353 variables_saved_for_relink="$variables_saved_for_relink"
18355 # Whether libtool must link a program against all its dependency libraries.
18356 link_all_deplibs=$link_all_deplibs_RC
18358 # Compile-time system search path for libraries
18359 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18361 # Run-time system search path for libraries
18362 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18364 # Fix the shell variable \$srcfile for the compiler.
18365 fix_srcfile_path="$fix_srcfile_path_RC"
18367 # Set to yes if exported symbols are required.
18368 always_export_symbols=$always_export_symbols_RC
18370 # The commands to list exported symbols.
18371 export_symbols_cmds=$lt_export_symbols_cmds_RC
18373 # The commands to extract the exported symbol list from a shared archive.
18374 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18376 # Symbols that should not be listed in the preloaded symbols.
18377 exclude_expsyms=$lt_exclude_expsyms_RC
18379 # Symbols that must always be exported.
18380 include_expsyms=$lt_include_expsyms_RC
18382 # ### END LIBTOOL TAG CONFIG: $tagname
18388 # If there is no Makefile yet, we rely on a make rule to execute
18389 # `config.status --recheck' to rerun these tests and create the
18390 # libtool script then.
18391 test -f Makefile && make "$ltmain"
18396 ac_cpp='$CPP $CPPFLAGS'
18397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18406 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18407 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18408 { (exit 1); exit 1; }; }
18412 # Append the new tag name to the list of available tags.
18413 if test -n "$tagname" ; then
18414 available_tags="$available_tags $tagname"
18420 # Now substitute the updated list of available tags.
18421 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18422 mv "${ofile}T" "$ofile"
18426 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18427 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18428 { (exit 1); exit 1; }; }
18434 # This can be used to rebuild libtool when needed
18435 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18437 # Always use our own libtool.
18438 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18440 # Prevent multiple expansion
18462 # Extract the first word of "pwd", so it can be a program name with args.
18463 set dummy pwd; ac_word=$2
18464 echo "$as_me:$LINENO: checking for $ac_word" >&5
18465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18466 if test "${ac_cv_path_RPWD+set}" = set; then
18467 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18475 for as_dir in $PATH
18478 test -z "$as_dir" && as_dir=.
18479 for ac_exec_ext in '' $ac_executable_extensions; do
18480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18481 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18488 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18492 RPWD=$ac_cv_path_RPWD
18494 if test -n "$RPWD"; then
18495 echo "$as_me:$LINENO: result: $RPWD" >&5
18496 echo "${ECHO_T}$RPWD" >&6
18498 echo "$as_me:$LINENO: result: no" >&5
18499 echo "${ECHO_T}no" >&6
18502 if test ${RPWD} = "false"
18504 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18505 echo "$as_me: error: pwd required but not found" >&2;}
18506 { (exit 1); exit 1; }; }
18509 # Extract the first word of "ar", so it can be a program name with args.
18510 set dummy ar; ac_word=$2
18511 echo "$as_me:$LINENO: checking for $ac_word" >&5
18512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18513 if test "${ac_cv_path_AR+set}" = set; then
18514 echo $ECHO_N "(cached) $ECHO_C" >&6
18518 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18522 for as_dir in $PATH
18525 test -z "$as_dir" && as_dir=.
18526 for ac_exec_ext in '' $ac_executable_extensions; do
18527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18528 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18535 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18541 if test -n "$AR"; then
18542 echo "$as_me:$LINENO: result: $AR" >&5
18543 echo "${ECHO_T}$AR" >&6
18545 echo "$as_me:$LINENO: result: no" >&5
18546 echo "${ECHO_T}no" >&6
18549 if test ${AR} = "false"
18551 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18552 echo "$as_me: error: ar required but not found" >&2;}
18553 { (exit 1); exit 1; }; }
18556 # Extract the first word of "sed", so it can be a program name with args.
18557 set dummy sed; ac_word=$2
18558 echo "$as_me:$LINENO: checking for $ac_word" >&5
18559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18560 if test "${ac_cv_path_SED+set}" = set; then
18561 echo $ECHO_N "(cached) $ECHO_C" >&6
18565 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18569 for as_dir in $PATH
18572 test -z "$as_dir" && as_dir=.
18573 for ac_exec_ext in '' $ac_executable_extensions; do
18574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18575 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18582 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18586 SED=$ac_cv_path_SED
18588 if test -n "$SED"; then
18589 echo "$as_me:$LINENO: result: $SED" >&5
18590 echo "${ECHO_T}$SED" >&6
18592 echo "$as_me:$LINENO: result: no" >&5
18593 echo "${ECHO_T}no" >&6
18596 if test ${SED} = "false"
18598 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18599 echo "$as_me: error: sed required but not found" >&2;}
18600 { (exit 1); exit 1; }; }
18603 # Extract the first word of "rm", so it can be a program name with args.
18604 set dummy rm; ac_word=$2
18605 echo "$as_me:$LINENO: checking for $ac_word" >&5
18606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18607 if test "${ac_cv_path_RM+set}" = set; then
18608 echo $ECHO_N "(cached) $ECHO_C" >&6
18612 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18616 for as_dir in $PATH
18619 test -z "$as_dir" && as_dir=.
18620 for ac_exec_ext in '' $ac_executable_extensions; do
18621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18622 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18629 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18635 if test -n "$RM"; then
18636 echo "$as_me:$LINENO: result: $RM" >&5
18637 echo "${ECHO_T}$RM" >&6
18639 echo "$as_me:$LINENO: result: no" >&5
18640 echo "${ECHO_T}no" >&6
18643 if test ${RM} = "false"
18645 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18646 echo "$as_me: error: rm required but not found" >&2;}
18647 { (exit 1); exit 1; }; }
18650 # Extract the first word of "echo", so it can be a program name with args.
18651 set dummy echo; ac_word=$2
18652 echo "$as_me:$LINENO: checking for $ac_word" >&5
18653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18654 if test "${ac_cv_path_ECHO+set}" = set; then
18655 echo $ECHO_N "(cached) $ECHO_C" >&6
18659 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18663 for as_dir in $PATH
18666 test -z "$as_dir" && as_dir=.
18667 for ac_exec_ext in '' $ac_executable_extensions; do
18668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18669 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18676 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18680 ECHO=$ac_cv_path_ECHO
18682 if test -n "$ECHO"; then
18683 echo "$as_me:$LINENO: result: $ECHO" >&5
18684 echo "${ECHO_T}$ECHO" >&6
18686 echo "$as_me:$LINENO: result: no" >&5
18687 echo "${ECHO_T}no" >&6
18690 if test ${ECHO} = "false"
18692 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18693 echo "$as_me: error: echo required but not found" >&2;}
18694 { (exit 1); exit 1; }; }
18697 # Extract the first word of "mkdir", so it can be a program name with args.
18698 set dummy mkdir; ac_word=$2
18699 echo "$as_me:$LINENO: checking for $ac_word" >&5
18700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18701 if test "${ac_cv_path_MKDIR+set}" = set; then
18702 echo $ECHO_N "(cached) $ECHO_C" >&6
18706 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18710 for as_dir in $PATH
18713 test -z "$as_dir" && as_dir=.
18714 for ac_exec_ext in '' $ac_executable_extensions; do
18715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18716 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18723 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18727 MKDIR=$ac_cv_path_MKDIR
18729 if test -n "$MKDIR"; then
18730 echo "$as_me:$LINENO: result: $MKDIR" >&5
18731 echo "${ECHO_T}$MKDIR" >&6
18733 echo "$as_me:$LINENO: result: no" >&5
18734 echo "${ECHO_T}no" >&6
18737 if test ${MKDIR} = "false"
18739 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18740 echo "$as_me: error: mkdir required but not found" >&2;}
18741 { (exit 1); exit 1; }; }
18744 # Extract the first word of "date", so it can be a program name with args.
18745 set dummy date; ac_word=$2
18746 echo "$as_me:$LINENO: checking for $ac_word" >&5
18747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18748 if test "${ac_cv_path_DATE+set}" = set; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18753 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18757 for as_dir in $PATH
18760 test -z "$as_dir" && as_dir=.
18761 for ac_exec_ext in '' $ac_executable_extensions; do
18762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18763 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18770 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18774 DATE=$ac_cv_path_DATE
18776 if test -n "$DATE"; then
18777 echo "$as_me:$LINENO: result: $DATE" >&5
18778 echo "${ECHO_T}$DATE" >&6
18780 echo "$as_me:$LINENO: result: no" >&5
18781 echo "${ECHO_T}no" >&6
18784 if test ${DATE} = "false"
18786 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18787 echo "$as_me: error: date required but not found" >&2;}
18788 { (exit 1); exit 1; }; }
18791 # Extract the first word of "mv", so it can be a program name with args.
18792 set dummy mv; ac_word=$2
18793 echo "$as_me:$LINENO: checking for $ac_word" >&5
18794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18795 if test "${ac_cv_path_MV+set}" = set; then
18796 echo $ECHO_N "(cached) $ECHO_C" >&6
18800 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18804 for as_dir in $PATH
18807 test -z "$as_dir" && as_dir=.
18808 for ac_exec_ext in '' $ac_executable_extensions; do
18809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18810 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18817 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18823 if test -n "$MV"; then
18824 echo "$as_me:$LINENO: result: $MV" >&5
18825 echo "${ECHO_T}$MV" >&6
18827 echo "$as_me:$LINENO: result: no" >&5
18828 echo "${ECHO_T}no" >&6
18831 if test ${MV} = "false"
18833 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18834 echo "$as_me: error: mv required but not found" >&2;}
18835 { (exit 1); exit 1; }; }
18838 # Extract the first word of "dot", so it can be a program name with args.
18839 set dummy dot; ac_word=$2
18840 echo "$as_me:$LINENO: checking for $ac_word" >&5
18841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18842 if test "${ac_cv_path_DOT+set}" = set; then
18843 echo $ECHO_N "(cached) $ECHO_C" >&6
18847 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18851 for as_dir in $PATH
18854 test -z "$as_dir" && as_dir=.
18855 for ac_exec_ext in '' $ac_executable_extensions; do
18856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18857 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18864 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18868 DOT=$ac_cv_path_DOT
18870 if test -n "$DOT"; then
18871 echo "$as_me:$LINENO: result: $DOT" >&5
18872 echo "${ECHO_T}$DOT" >&6
18874 echo "$as_me:$LINENO: result: no" >&5
18875 echo "${ECHO_T}no" >&6
18879 # Extract the first word of "etags", so it can be a program name with args.
18880 set dummy etags; ac_word=$2
18881 echo "$as_me:$LINENO: checking for $ac_word" >&5
18882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18883 if test "${ac_cv_path_ETAGS+set}" = set; then
18884 echo $ECHO_N "(cached) $ECHO_C" >&6
18888 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18892 for as_dir in $PATH
18895 test -z "$as_dir" && as_dir=.
18896 for ac_exec_ext in '' $ac_executable_extensions; do
18897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18898 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18905 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18909 ETAGS=$ac_cv_path_ETAGS
18911 if test -n "$ETAGS"; then
18912 echo "$as_me:$LINENO: result: $ETAGS" >&5
18913 echo "${ECHO_T}$ETAGS" >&6
18915 echo "$as_me:$LINENO: result: no" >&5
18916 echo "${ECHO_T}no" >&6
18920 # Extract the first word of "python", so it can be a program name with args.
18921 set dummy python; ac_word=$2
18922 echo "$as_me:$LINENO: checking for $ac_word" >&5
18923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18924 if test "${ac_cv_path_PYTHON+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18933 for as_dir in $PATH
18936 test -z "$as_dir" && as_dir=.
18937 for ac_exec_ext in '' $ac_executable_extensions; do
18938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18939 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18946 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18950 PYTHON=$ac_cv_path_PYTHON
18952 if test -n "$PYTHON"; then
18953 echo "$as_me:$LINENO: result: $PYTHON" >&5
18954 echo "${ECHO_T}$PYTHON" >&6
18956 echo "$as_me:$LINENO: result: no" >&5
18957 echo "${ECHO_T}no" >&6
18960 if test ${PYTHON} = "false"
18962 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18963 echo "$as_me: WARNING: python required but not found" >&2;}
18966 # Extract the first word of "qmtest", so it can be a program name with args.
18967 set dummy qmtest; ac_word=$2
18968 echo "$as_me:$LINENO: checking for $ac_word" >&5
18969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18970 if test "${ac_cv_path_QMTEST+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18975 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18979 for as_dir in $PATH
18982 test -z "$as_dir" && as_dir=.
18983 for ac_exec_ext in '' $ac_executable_extensions; do
18984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18985 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18992 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
18996 QMTEST=$ac_cv_path_QMTEST
18998 if test -n "$QMTEST"; then
18999 echo "$as_me:$LINENO: result: $QMTEST" >&5
19000 echo "${ECHO_T}$QMTEST" >&6
19002 echo "$as_me:$LINENO: result: no" >&5
19003 echo "${ECHO_T}no" >&6
19006 if test ${QMTEST} = "false"
19008 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19009 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19012 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19013 pymajor=`echo $pyversion | cut -d. -f1`
19014 pyminor=`echo $pyversion | cut -d. -f2`
19016 if test "$pymajor" -ge "2"
19018 if test "$pymajor" -eq "2"
19020 if test "$pyminor" -lt "2"
19022 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19023 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19024 { (exit 1); exit 1; }; }
19028 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19029 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19030 { (exit 1); exit 1; }; }
19037 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19038 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19039 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19040 echo $ECHO_N "(cached) $ECHO_C" >&6
19042 ac_check_lib_save_LIBS=$LIBS
19044 cat >conftest.$ac_ext <<_ACEOF
19045 #line $LINENO "configure"
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19052 /* Override any gcc2 internal prototype to avoid an error. */
19056 /* We use char because int might match the return type of a gcc2
19057 builtin and then its argument prototype would still apply. */
19067 rm -f conftest.$ac_objext conftest$ac_exeext
19068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19069 (eval $ac_link) 2>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } &&
19073 { ac_try='test -s conftest$ac_exeext'
19074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075 (eval $ac_try) 2>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; }; then
19079 ac_cv_lib_elf_elf_begin=yes
19081 echo "$as_me: failed program was:" >&5
19082 sed 's/^/| /' conftest.$ac_ext >&5
19084 ac_cv_lib_elf_elf_begin=no
19086 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19087 LIBS=$ac_check_lib_save_LIBS
19089 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19090 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19091 if test $ac_cv_lib_elf_elf_begin = yes; then
19092 cat >>confdefs.h <<_ACEOF
19093 #define HAVE_LIBELF 1
19101 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19102 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19103 if test "${ac_cv_search_dlopen+set}" = set; then
19104 echo $ECHO_N "(cached) $ECHO_C" >&6
19106 ac_func_search_save_LIBS=$LIBS
19107 ac_cv_search_dlopen=no
19108 cat >conftest.$ac_ext <<_ACEOF
19109 #line $LINENO "configure"
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19116 /* Override any gcc2 internal prototype to avoid an error. */
19120 /* We use char because int might match the return type of a gcc2
19121 builtin and then its argument prototype would still apply. */
19131 rm -f conftest.$ac_objext conftest$ac_exeext
19132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19133 (eval $ac_link) 2>&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); } &&
19137 { ac_try='test -s conftest$ac_exeext'
19138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19139 (eval $ac_try) 2>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); }; }; then
19143 ac_cv_search_dlopen="none required"
19145 echo "$as_me: failed program was:" >&5
19146 sed 's/^/| /' conftest.$ac_ext >&5
19149 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19150 if test "$ac_cv_search_dlopen" = no; then
19151 for ac_lib in dl; do
19152 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
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="-l$ac_lib"
19191 echo "$as_me: failed program was:" >&5
19192 sed 's/^/| /' conftest.$ac_ext >&5
19195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19198 LIBS=$ac_func_search_save_LIBS
19200 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19201 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19202 if test "$ac_cv_search_dlopen" != no; then
19203 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19205 cat >>confdefs.h <<\_ACEOF
19206 #define HAVE_DLOPEN 1
19210 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
19211 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
19215 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19216 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19217 if test "${ac_cv_search_mallinfo+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 ac_func_search_save_LIBS=$LIBS
19221 ac_cv_search_mallinfo=no
19222 cat >conftest.$ac_ext <<_ACEOF
19223 #line $LINENO "configure"
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19230 /* Override any gcc2 internal prototype to avoid an error. */
19234 /* We use char because int might match the return type of a gcc2
19235 builtin and then its argument prototype would still apply. */
19245 rm -f conftest.$ac_objext conftest$ac_exeext
19246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19247 (eval $ac_link) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try='test -s conftest$ac_exeext'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19257 ac_cv_search_mallinfo="none required"
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19263 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19264 if test "$ac_cv_search_mallinfo" = no; then
19265 for ac_lib in malloc; do
19266 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
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="-l$ac_lib"
19305 echo "$as_me: failed program was:" >&5
19306 sed 's/^/| /' conftest.$ac_ext >&5
19309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19312 LIBS=$ac_func_search_save_LIBS
19314 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19315 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19316 if test "$ac_cv_search_mallinfo" != no; then
19317 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19319 cat >>confdefs.h <<\_ACEOF
19320 #define HAVE_MALLINFO 1
19327 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19328 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19329 if test "${ac_cv_header_stdc+set}" = set; then
19330 echo $ECHO_N "(cached) $ECHO_C" >&6
19332 cat >conftest.$ac_ext <<_ACEOF
19333 #line $LINENO "configure"
19336 cat confdefs.h >>conftest.$ac_ext
19337 cat >>conftest.$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19339 #include <stdlib.h>
19340 #include <stdarg.h>
19341 #include <string.h>
19352 rm -f conftest.$ac_objext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19354 (eval $ac_compile) 2>&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } &&
19358 { ac_try='test -s conftest.$ac_objext'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; }; then
19364 ac_cv_header_stdc=yes
19366 echo "$as_me: failed program was:" >&5
19367 sed 's/^/| /' conftest.$ac_ext >&5
19369 ac_cv_header_stdc=no
19371 rm -f conftest.$ac_objext conftest.$ac_ext
19373 if test $ac_cv_header_stdc = yes; then
19374 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19375 cat >conftest.$ac_ext <<_ACEOF
19376 #line $LINENO "configure"
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 #include <string.h>
19385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19386 $EGREP "memchr" >/dev/null 2>&1; then
19389 ac_cv_header_stdc=no
19395 if test $ac_cv_header_stdc = yes; then
19396 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19397 cat >conftest.$ac_ext <<_ACEOF
19398 #line $LINENO "configure"
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 #include <stdlib.h>
19407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19408 $EGREP "free" >/dev/null 2>&1; then
19411 ac_cv_header_stdc=no
19417 if test $ac_cv_header_stdc = yes; then
19418 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19419 if test "$cross_compiling" = yes; then
19422 cat >conftest.$ac_ext <<_ACEOF
19423 #line $LINENO "configure"
19426 cat confdefs.h >>conftest.$ac_ext
19427 cat >>conftest.$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19430 #if ((' ' & 0x0FF) == 0x020)
19431 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19432 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19434 # define ISLOWER(c) \
19435 (('a' <= (c) && (c) <= 'i') \
19436 || ('j' <= (c) && (c) <= 'r') \
19437 || ('s' <= (c) && (c) <= 'z'))
19438 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19441 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19446 for (i = 0; i < 256; i++)
19447 if (XOR (islower (i), ISLOWER (i))
19448 || toupper (i) != TOUPPER (i))
19453 rm -f conftest$ac_exeext
19454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19455 (eval $ac_link) 2>&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 (eval $ac_try) 2>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); }; }; then
19466 echo "$as_me: program exited with status $ac_status" >&5
19467 echo "$as_me: failed program was:" >&5
19468 sed 's/^/| /' conftest.$ac_ext >&5
19470 ( exit $ac_status )
19471 ac_cv_header_stdc=no
19473 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19477 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19478 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19479 if test $ac_cv_header_stdc = yes; then
19481 cat >>confdefs.h <<\_ACEOF
19482 #define STDC_HEADERS 1
19487 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19488 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19489 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19490 echo $ECHO_N "(cached) $ECHO_C" >&6
19492 cat >conftest.$ac_ext <<_ACEOF
19493 #line $LINENO "configure"
19496 cat confdefs.h >>conftest.$ac_ext
19497 cat >>conftest.$ac_ext <<_ACEOF
19498 /* end confdefs.h. */
19499 #include <sys/types.h>
19500 #include <sys/wait.h>
19501 #ifndef WEXITSTATUS
19502 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19505 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19513 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19518 rm -f conftest.$ac_objext
19519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19520 (eval $ac_compile) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } &&
19524 { ac_try='test -s conftest.$ac_objext'
19525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19526 (eval $ac_try) 2>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; }; then
19530 ac_cv_header_sys_wait_h=yes
19532 echo "$as_me: failed program was:" >&5
19533 sed 's/^/| /' conftest.$ac_ext >&5
19535 ac_cv_header_sys_wait_h=no
19537 rm -f conftest.$ac_objext conftest.$ac_ext
19539 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19540 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19541 if test $ac_cv_header_sys_wait_h = yes; then
19543 cat >>confdefs.h <<\_ACEOF
19544 #define HAVE_SYS_WAIT_H 1
19558 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19562 echo "$as_me:$LINENO: checking for $ac_header" >&5
19563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19565 echo $ECHO_N "(cached) $ECHO_C" >&6
19567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19570 # Is the header compilable?
19571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19573 cat >conftest.$ac_ext <<_ACEOF
19574 #line $LINENO "configure"
19577 cat confdefs.h >>conftest.$ac_ext
19578 cat >>conftest.$ac_ext <<_ACEOF
19579 /* end confdefs.h. */
19580 $ac_includes_default
19581 #include <$ac_header>
19583 rm -f conftest.$ac_objext
19584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19585 (eval $ac_compile) 2>&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); } &&
19589 { ac_try='test -s conftest.$ac_objext'
19590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591 (eval $ac_try) 2>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); }; }; then
19595 ac_header_compiler=yes
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19600 ac_header_compiler=no
19602 rm -f conftest.$ac_objext conftest.$ac_ext
19603 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19604 echo "${ECHO_T}$ac_header_compiler" >&6
19606 # Is the header present?
19607 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19608 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19609 cat >conftest.$ac_ext <<_ACEOF
19610 #line $LINENO "configure"
19613 cat confdefs.h >>conftest.$ac_ext
19614 cat >>conftest.$ac_ext <<_ACEOF
19615 /* end confdefs.h. */
19616 #include <$ac_header>
19618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19619 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19621 grep -v '^ *+' conftest.er1 >conftest.err
19623 cat conftest.err >&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } >/dev/null; then
19626 if test -s conftest.err; then
19627 ac_cpp_err=$ac_c_preproc_warn_flag
19634 if test -z "$ac_cpp_err"; then
19635 ac_header_preproc=yes
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19640 ac_header_preproc=no
19642 rm -f conftest.err conftest.$ac_ext
19643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19644 echo "${ECHO_T}$ac_header_preproc" >&6
19646 # So? What about this header?
19647 case $ac_header_compiler:$ac_header_preproc in
19649 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19650 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19655 ## ------------------------------------ ##
19656 ## Report this to bug-autoconf@gnu.org. ##
19657 ## ------------------------------------ ##
19660 sed "s/^/$as_me: WARNING: /" >&2
19663 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19664 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19665 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19666 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19671 ## ------------------------------------ ##
19672 ## Report this to bug-autoconf@gnu.org. ##
19673 ## ------------------------------------ ##
19676 sed "s/^/$as_me: WARNING: /" >&2
19679 echo "$as_me:$LINENO: checking for $ac_header" >&5
19680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19682 echo $ECHO_N "(cached) $ECHO_C" >&6
19684 eval "$as_ac_Header=$ac_header_preproc"
19686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19691 cat >>confdefs.h <<_ACEOF
19692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19703 for ac_header in malloc.h sys/mman.h sys/resource.h
19705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19707 echo "$as_me:$LINENO: checking for $ac_header" >&5
19708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19710 echo $ECHO_N "(cached) $ECHO_C" >&6
19712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19715 # Is the header compilable?
19716 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19718 cat >conftest.$ac_ext <<_ACEOF
19719 #line $LINENO "configure"
19722 cat confdefs.h >>conftest.$ac_ext
19723 cat >>conftest.$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 $ac_includes_default
19726 #include <$ac_header>
19728 rm -f conftest.$ac_objext
19729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19730 (eval $ac_compile) 2>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try='test -s conftest.$ac_objext'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; }; then
19740 ac_header_compiler=yes
19742 echo "$as_me: failed program was:" >&5
19743 sed 's/^/| /' conftest.$ac_ext >&5
19745 ac_header_compiler=no
19747 rm -f conftest.$ac_objext conftest.$ac_ext
19748 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19749 echo "${ECHO_T}$ac_header_compiler" >&6
19751 # Is the header present?
19752 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19753 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19754 cat >conftest.$ac_ext <<_ACEOF
19755 #line $LINENO "configure"
19758 cat confdefs.h >>conftest.$ac_ext
19759 cat >>conftest.$ac_ext <<_ACEOF
19760 /* end confdefs.h. */
19761 #include <$ac_header>
19763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19766 grep -v '^ *+' conftest.er1 >conftest.err
19768 cat conftest.err >&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); } >/dev/null; then
19771 if test -s conftest.err; then
19772 ac_cpp_err=$ac_c_preproc_warn_flag
19779 if test -z "$ac_cpp_err"; then
19780 ac_header_preproc=yes
19782 echo "$as_me: failed program was:" >&5
19783 sed 's/^/| /' conftest.$ac_ext >&5
19785 ac_header_preproc=no
19787 rm -f conftest.err conftest.$ac_ext
19788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19789 echo "${ECHO_T}$ac_header_preproc" >&6
19791 # So? What about this header?
19792 case $ac_header_compiler:$ac_header_preproc in
19794 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19795 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19797 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19800 ## ------------------------------------ ##
19801 ## Report this to bug-autoconf@gnu.org. ##
19802 ## ------------------------------------ ##
19805 sed "s/^/$as_me: WARNING: /" >&2
19808 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19809 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19810 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19811 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19813 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19816 ## ------------------------------------ ##
19817 ## Report this to bug-autoconf@gnu.org. ##
19818 ## ------------------------------------ ##
19821 sed "s/^/$as_me: WARNING: /" >&2
19824 echo "$as_me:$LINENO: checking for $ac_header" >&5
19825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19827 echo $ECHO_N "(cached) $ECHO_C" >&6
19829 eval "$as_ac_Header=$ac_header_preproc"
19831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19836 cat >>confdefs.h <<_ACEOF
19837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19847 for ac_header in dlfcn.h link.h
19849 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19851 echo "$as_me:$LINENO: checking for $ac_header" >&5
19852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19854 echo $ECHO_N "(cached) $ECHO_C" >&6
19856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19859 # Is the header compilable?
19860 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19861 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19862 cat >conftest.$ac_ext <<_ACEOF
19863 #line $LINENO "configure"
19866 cat confdefs.h >>conftest.$ac_ext
19867 cat >>conftest.$ac_ext <<_ACEOF
19868 /* end confdefs.h. */
19869 $ac_includes_default
19870 #include <$ac_header>
19872 rm -f conftest.$ac_objext
19873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19874 (eval $ac_compile) 2>&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); } &&
19878 { ac_try='test -s conftest.$ac_objext'
19879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19880 (eval $ac_try) 2>&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); }; }; then
19884 ac_header_compiler=yes
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.$ac_ext >&5
19889 ac_header_compiler=no
19891 rm -f conftest.$ac_objext conftest.$ac_ext
19892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19893 echo "${ECHO_T}$ac_header_compiler" >&6
19895 # Is the header present?
19896 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19898 cat >conftest.$ac_ext <<_ACEOF
19899 #line $LINENO "configure"
19902 cat confdefs.h >>conftest.$ac_ext
19903 cat >>conftest.$ac_ext <<_ACEOF
19904 /* end confdefs.h. */
19905 #include <$ac_header>
19907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19910 grep -v '^ *+' conftest.er1 >conftest.err
19912 cat conftest.err >&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); } >/dev/null; then
19915 if test -s conftest.err; then
19916 ac_cpp_err=$ac_c_preproc_warn_flag
19923 if test -z "$ac_cpp_err"; then
19924 ac_header_preproc=yes
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19929 ac_header_preproc=no
19931 rm -f conftest.err conftest.$ac_ext
19932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19933 echo "${ECHO_T}$ac_header_preproc" >&6
19935 # So? What about this header?
19936 case $ac_header_compiler:$ac_header_preproc in
19938 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19939 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19941 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19944 ## ------------------------------------ ##
19945 ## Report this to bug-autoconf@gnu.org. ##
19946 ## ------------------------------------ ##
19949 sed "s/^/$as_me: WARNING: /" >&2
19952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19960 ## ------------------------------------ ##
19961 ## Report this to bug-autoconf@gnu.org. ##
19962 ## ------------------------------------ ##
19965 sed "s/^/$as_me: WARNING: /" >&2
19968 echo "$as_me:$LINENO: checking for $ac_header" >&5
19969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19971 echo $ECHO_N "(cached) $ECHO_C" >&6
19973 eval "$as_ac_Header=$ac_header_preproc"
19975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19980 cat >>confdefs.h <<_ACEOF
19981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19990 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19991 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19992 if test "${ac_cv_c_const+set}" = set; then
19993 echo $ECHO_N "(cached) $ECHO_C" >&6
19995 cat >conftest.$ac_ext <<_ACEOF
19996 #line $LINENO "configure"
19999 cat confdefs.h >>conftest.$ac_ext
20000 cat >>conftest.$ac_ext <<_ACEOF
20001 /* end confdefs.h. */
20006 /* FIXME: Include the comments suggested by Paul. */
20007 #ifndef __cplusplus
20008 /* Ultrix mips cc rejects this. */
20009 typedef int charset[2];
20011 /* SunOS 4.1.1 cc rejects this. */
20012 char const *const *ccp;
20014 /* NEC SVR4.0.2 mips cc rejects this. */
20015 struct point {int x, y;};
20016 static struct point const zero = {0,0};
20017 /* AIX XL C 1.02.0.0 rejects this.
20018 It does not let you subtract one const X* pointer from another in
20019 an arm of an if-expression whose if-part is not a constant
20021 const char *g = "string";
20022 ccp = &g + (g ? g-g : 0);
20023 /* HPUX 7.0 cc rejects these. */
20026 ccp = (char const *const *) p;
20027 { /* SCO 3.2v4 cc rejects this. */
20029 char const *s = 0 ? (char *) 0 : (char const *) 0;
20033 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20034 int x[] = {25, 17};
20035 const int *foo = &x[0];
20038 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20039 typedef const int *iptr;
20043 { /* AIX XL C 1.02.0.0 rejects this saying
20044 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20045 struct s { int j; const int *ap[3]; };
20046 struct s *b; b->j = 5;
20048 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20049 const int foo = 10;
20057 rm -f conftest.$ac_objext
20058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20059 (eval $ac_compile) 2>&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); } &&
20063 { ac_try='test -s conftest.$ac_objext'
20064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20065 (eval $ac_try) 2>&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); }; }; then
20071 echo "$as_me: failed program was:" >&5
20072 sed 's/^/| /' conftest.$ac_ext >&5
20076 rm -f conftest.$ac_objext conftest.$ac_ext
20078 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20079 echo "${ECHO_T}$ac_cv_c_const" >&6
20080 if test $ac_cv_c_const = no; then
20082 cat >>confdefs.h <<\_ACEOF
20088 echo "$as_me:$LINENO: checking for inline" >&5
20089 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20090 if test "${ac_cv_c_inline+set}" = set; then
20091 echo $ECHO_N "(cached) $ECHO_C" >&6
20094 for ac_kw in inline __inline__ __inline; do
20095 cat >conftest.$ac_ext <<_ACEOF
20096 #line $LINENO "configure"
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102 #ifndef __cplusplus
20104 static $ac_kw foo_t static_foo () {return 0; }
20105 $ac_kw foo_t foo () {return 0; }
20109 rm -f conftest.$ac_objext
20110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20111 (eval $ac_compile) 2>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } &&
20115 { ac_try='test -s conftest.$ac_objext'
20116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20117 (eval $ac_try) 2>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); }; }; then
20121 ac_cv_c_inline=$ac_kw; break
20123 echo "$as_me: failed program was:" >&5
20124 sed 's/^/| /' conftest.$ac_ext >&5
20127 rm -f conftest.$ac_objext conftest.$ac_ext
20131 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20132 echo "${ECHO_T}$ac_cv_c_inline" >&6
20133 case $ac_cv_c_inline in
20136 cat >>confdefs.h <<\_ACEOF
20140 *) cat >>confdefs.h <<_ACEOF
20141 #define inline $ac_cv_c_inline
20147 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20148 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20149 if test "${ac_cv_c_bigendian+set}" = set; then
20150 echo $ECHO_N "(cached) $ECHO_C" >&6
20152 # See if sys/param.h defines the BYTE_ORDER macro.
20153 cat >conftest.$ac_ext <<_ACEOF
20154 #line $LINENO "configure"
20157 cat confdefs.h >>conftest.$ac_ext
20158 cat >>conftest.$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160 #include <sys/types.h>
20161 #include <sys/param.h>
20166 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20167 bogus endian macros
20174 rm -f conftest.$ac_objext
20175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20176 (eval $ac_compile) 2>&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); } &&
20180 { ac_try='test -s conftest.$ac_objext'
20181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20182 (eval $ac_try) 2>&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); }; }; then
20186 # It does; now see whether it defined to BIG_ENDIAN or not.
20187 cat >conftest.$ac_ext <<_ACEOF
20188 #line $LINENO "configure"
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 #include <sys/types.h>
20195 #include <sys/param.h>
20200 #if BYTE_ORDER != BIG_ENDIAN
20208 rm -f conftest.$ac_objext
20209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20210 (eval $ac_compile) 2>&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } &&
20214 { ac_try='test -s conftest.$ac_objext'
20215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20216 (eval $ac_try) 2>&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); }; }; then
20220 ac_cv_c_bigendian=yes
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.$ac_ext >&5
20225 ac_cv_c_bigendian=no
20227 rm -f conftest.$ac_objext conftest.$ac_ext
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.$ac_ext >&5
20232 # It does not; compile a test program.
20233 if test "$cross_compiling" = yes; then
20234 # try to guess the endianness by grepping values into an object file
20235 ac_cv_c_bigendian=unknown
20236 cat >conftest.$ac_ext <<_ACEOF
20237 #line $LINENO "configure"
20240 cat confdefs.h >>conftest.$ac_ext
20241 cat >>conftest.$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20244 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20245 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20246 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20247 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20248 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20252 _ascii (); _ebcdic ();
20257 rm -f conftest.$ac_objext
20258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20259 (eval $ac_compile) 2>&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } &&
20263 { ac_try='test -s conftest.$ac_objext'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20270 ac_cv_c_bigendian=yes
20272 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20273 if test "$ac_cv_c_bigendian" = unknown; then
20274 ac_cv_c_bigendian=no
20276 # finding both strings is unlikely to happen, but who knows?
20277 ac_cv_c_bigendian=unknown
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20285 rm -f conftest.$ac_objext conftest.$ac_ext
20287 cat >conftest.$ac_ext <<_ACEOF
20288 #line $LINENO "configure"
20291 cat confdefs.h >>conftest.$ac_ext
20292 cat >>conftest.$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20297 /* Are we little or big endian? From Harbison&Steele. */
20301 char c[sizeof (long)];
20304 exit (u.c[sizeof (long) - 1] == 1);
20307 rm -f conftest$ac_exeext
20308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20309 (eval $ac_link) 2>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 ac_cv_c_bigendian=no
20320 echo "$as_me: program exited with status $ac_status" >&5
20321 echo "$as_me: failed program was:" >&5
20322 sed 's/^/| /' conftest.$ac_ext >&5
20324 ( exit $ac_status )
20325 ac_cv_c_bigendian=yes
20327 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20330 rm -f conftest.$ac_objext conftest.$ac_ext
20332 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20333 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20334 case $ac_cv_c_bigendian in
20337 cat >>confdefs.h <<\_ACEOF
20343 cat >>confdefs.h <<\_ACEOF
20344 #define ENDIAN_LITTLE
20348 { { echo "$as_me:$LINENO: error: unknown endianness
20349 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20350 echo "$as_me: error: unknown endianness
20351 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20352 { (exit 1); exit 1; }; } ;;
20356 echo "$as_me:$LINENO: checking for pid_t" >&5
20357 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20358 if test "${ac_cv_type_pid_t+set}" = set; then
20359 echo $ECHO_N "(cached) $ECHO_C" >&6
20361 cat >conftest.$ac_ext <<_ACEOF
20362 #line $LINENO "configure"
20365 cat confdefs.h >>conftest.$ac_ext
20366 cat >>conftest.$ac_ext <<_ACEOF
20367 /* end confdefs.h. */
20368 $ac_includes_default
20374 if (sizeof (pid_t))
20380 rm -f conftest.$ac_objext
20381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20382 (eval $ac_compile) 2>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } &&
20386 { ac_try='test -s conftest.$ac_objext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 ac_cv_type_pid_t=yes
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20397 ac_cv_type_pid_t=no
20399 rm -f conftest.$ac_objext conftest.$ac_ext
20401 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20402 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20403 if test $ac_cv_type_pid_t = yes; then
20407 cat >>confdefs.h <<_ACEOF
20413 echo "$as_me:$LINENO: checking for size_t" >&5
20414 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20415 if test "${ac_cv_type_size_t+set}" = set; then
20416 echo $ECHO_N "(cached) $ECHO_C" >&6
20418 cat >conftest.$ac_ext <<_ACEOF
20419 #line $LINENO "configure"
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h. */
20425 $ac_includes_default
20431 if (sizeof (size_t))
20437 rm -f conftest.$ac_objext
20438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20439 (eval $ac_compile) 2>&5
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); } &&
20443 { ac_try='test -s conftest.$ac_objext'
20444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20445 (eval $ac_try) 2>&5
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); }; }; then
20449 ac_cv_type_size_t=yes
20451 echo "$as_me: failed program was:" >&5
20452 sed 's/^/| /' conftest.$ac_ext >&5
20454 ac_cv_type_size_t=no
20456 rm -f conftest.$ac_objext conftest.$ac_ext
20458 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20459 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20460 if test $ac_cv_type_size_t = yes; then
20464 cat >>confdefs.h <<_ACEOF
20465 #define size_t unsigned
20470 echo "$as_me:$LINENO: checking for int64_t" >&5
20471 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20472 if test "${ac_cv_type_int64_t+set}" = set; then
20473 echo $ECHO_N "(cached) $ECHO_C" >&6
20475 cat >conftest.$ac_ext <<_ACEOF
20476 #line $LINENO "configure"
20479 cat confdefs.h >>conftest.$ac_ext
20480 cat >>conftest.$ac_ext <<_ACEOF
20481 /* end confdefs.h. */
20482 $ac_includes_default
20488 if (sizeof (int64_t))
20494 rm -f conftest.$ac_objext
20495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20496 (eval $ac_compile) 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); } &&
20500 { ac_try='test -s conftest.$ac_objext'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; }; then
20506 ac_cv_type_int64_t=yes
20508 echo "$as_me: failed program was:" >&5
20509 sed 's/^/| /' conftest.$ac_ext >&5
20511 ac_cv_type_int64_t=no
20513 rm -f conftest.$ac_objext conftest.$ac_ext
20515 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20516 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20517 if test $ac_cv_type_int64_t = yes; then
20519 cat >>confdefs.h <<_ACEOF
20520 #define HAVE_INT64_T 1
20525 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20526 echo "$as_me: error: Type int64_t required but not found" >&2;}
20527 { (exit 1); exit 1; }; }
20530 echo "$as_me:$LINENO: checking for uint64_t" >&5
20531 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20532 if test "${ac_cv_type_uint64_t+set}" = set; then
20533 echo $ECHO_N "(cached) $ECHO_C" >&6
20535 cat >conftest.$ac_ext <<_ACEOF
20536 #line $LINENO "configure"
20539 cat confdefs.h >>conftest.$ac_ext
20540 cat >>conftest.$ac_ext <<_ACEOF
20541 /* end confdefs.h. */
20542 $ac_includes_default
20546 if ((uint64_t *) 0)
20548 if (sizeof (uint64_t))
20554 rm -f conftest.$ac_objext
20555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20556 (eval $ac_compile) 2>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); } &&
20560 { ac_try='test -s conftest.$ac_objext'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; }; then
20566 ac_cv_type_uint64_t=yes
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.$ac_ext >&5
20571 ac_cv_type_uint64_t=no
20573 rm -f conftest.$ac_objext conftest.$ac_ext
20575 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20576 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20577 if test $ac_cv_type_uint64_t = yes; then
20579 cat >>confdefs.h <<_ACEOF
20580 #define HAVE_UINT64_T 1
20585 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20586 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20587 { (exit 1); exit 1; }; }
20590 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20591 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20592 if test "${ac_cv_header_time+set}" = set; then
20593 echo $ECHO_N "(cached) $ECHO_C" >&6
20595 cat >conftest.$ac_ext <<_ACEOF
20596 #line $LINENO "configure"
20599 cat confdefs.h >>conftest.$ac_ext
20600 cat >>conftest.$ac_ext <<_ACEOF
20601 /* end confdefs.h. */
20602 #include <sys/types.h>
20603 #include <sys/time.h>
20609 if ((struct tm *) 0)
20615 rm -f conftest.$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); } &&
20621 { ac_try='test -s conftest.$ac_objext'
20622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; }; then
20627 ac_cv_header_time=yes
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20632 ac_cv_header_time=no
20634 rm -f conftest.$ac_objext conftest.$ac_ext
20636 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20637 echo "${ECHO_T}$ac_cv_header_time" >&6
20638 if test $ac_cv_header_time = yes; then
20640 cat >>confdefs.h <<\_ACEOF
20641 #define TIME_WITH_SYS_TIME 1
20646 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20647 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20648 if test "${ac_cv_struct_tm+set}" = set; then
20649 echo $ECHO_N "(cached) $ECHO_C" >&6
20651 cat >conftest.$ac_ext <<_ACEOF
20652 #line $LINENO "configure"
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20658 #include <sys/types.h>
20664 struct tm *tp; tp->tm_sec;
20669 rm -f conftest.$ac_objext
20670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20671 (eval $ac_compile) 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); } &&
20675 { ac_try='test -s conftest.$ac_objext'
20676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20677 (eval $ac_try) 2>&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); }; }; then
20681 ac_cv_struct_tm=time.h
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.$ac_ext >&5
20686 ac_cv_struct_tm=sys/time.h
20688 rm -f conftest.$ac_objext conftest.$ac_ext
20690 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20691 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20692 if test $ac_cv_struct_tm = sys/time.h; then
20694 cat >>confdefs.h <<\_ACEOF
20695 #define TM_IN_SYS_TIME 1
20705 ac_cpp='$CPP $CPPFLAGS'
20706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20710 if test "$cross_compiling" = yes; then
20711 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20712 See \`config.log' for more details." >&5
20713 echo "$as_me: error: cannot run test program while cross compiling
20714 See \`config.log' for more details." >&2;}
20715 { (exit 1); exit 1; }; }
20717 cat >conftest.$ac_ext <<_ACEOF
20718 #line $LINENO "configure"
20721 cat confdefs.h >>conftest.$ac_ext
20722 cat >>conftest.$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20725 #include <stdlib.h>
20730 volatile double A, B;
20734 sprintf(Buffer, "%a", A);
20738 if (A != 0x1.999999999999ap-4)
20745 rm -f conftest$ac_exeext
20746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20747 (eval $ac_link) 2>&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20752 (eval $ac_try) 2>&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); }; }; then
20758 echo "$as_me: program exited with status $ac_status" >&5
20759 echo "$as_me: failed program was:" >&5
20760 sed 's/^/| /' conftest.$ac_ext >&5
20762 ( exit $ac_status )
20765 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20768 ac_cpp='$CPP $CPPFLAGS'
20769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20773 if test "$ac_c_printf_a" = "yes"; then
20775 cat >>confdefs.h <<\_ACEOF
20776 #define HAVE_PRINTF_A 1
20782 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20783 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20784 if test "${ac_cv_cxx_namespaces+set}" = set; then
20785 echo $ECHO_N "(cached) $ECHO_C" >&6
20790 ac_cpp='$CXXCPP $CPPFLAGS'
20791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20795 cat >conftest.$ac_ext <<_ACEOF
20796 #line $LINENO "configure"
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 namespace Outer { namespace Inner { int i = 0; }}
20806 using namespace Outer::Inner; return i;
20811 rm -f conftest.$ac_objext
20812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20813 (eval $ac_compile) 2>&5
20815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20816 (exit $ac_status); } &&
20817 { ac_try='test -s conftest.$ac_objext'
20818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20819 (eval $ac_try) 2>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; }; then
20823 ac_cv_cxx_namespaces=yes
20825 echo "$as_me: failed program was:" >&5
20826 sed 's/^/| /' conftest.$ac_ext >&5
20828 ac_cv_cxx_namespaces=no
20830 rm -f conftest.$ac_objext conftest.$ac_ext
20832 ac_cpp='$CPP $CPPFLAGS'
20833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20839 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20840 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20841 if test "$ac_cv_cxx_namespaces" = yes; then
20843 cat >>confdefs.h <<\_ACEOF
20844 #define HAVE_NAMESPACES
20849 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class std::hash_map" >&5
20850 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class std::hash_map... $ECHO_C" >&6
20851 if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then
20852 echo $ECHO_N "(cached) $ECHO_C" >&6
20858 ac_cpp='$CXXCPP $CPPFLAGS'
20859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20863 cat >conftest.$ac_ext <<_ACEOF
20864 #line $LINENO "configure"
20867 cat confdefs.h >>conftest.$ac_ext
20868 cat >>conftest.$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20870 #include <ext/hash_map>
20871 #ifdef HAVE_NAMESPACES
20872 using namespace std;
20877 hash_map<int, int> t;
20882 rm -f conftest.$ac_objext
20883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20884 (eval $ac_compile) 2>&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } &&
20888 { ac_try='test -s conftest.$ac_objext'
20889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20890 (eval $ac_try) 2>&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); }; }; then
20894 ac_cv_cxx_have_std_ext_hash_map=yes
20896 echo "$as_me: failed program was:" >&5
20897 sed 's/^/| /' conftest.$ac_ext >&5
20899 ac_cv_cxx_have_std_ext_hash_map=no
20901 rm -f conftest.$ac_objext conftest.$ac_ext
20903 ac_cpp='$CPP $CPPFLAGS'
20904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20909 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_map" >&5
20910 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6
20911 if test "$ac_cv_cxx_have_std_ext_hash_map" = yes; then
20913 cat >>confdefs.h <<\_ACEOF
20914 #define HAVE_STD_EXT_HASH_MAP
20918 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map" >&5
20919 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map... $ECHO_C" >&6
20920 if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then
20921 echo $ECHO_N "(cached) $ECHO_C" >&6
20927 ac_cpp='$CXXCPP $CPPFLAGS'
20928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20932 cat >conftest.$ac_ext <<_ACEOF
20933 #line $LINENO "configure"
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 #include <ext/hash_map>
20940 #ifdef HAVE_NAMESPACES
20941 using namespace __gnu_cxx;
20946 hash_map<int,int> t;
20951 rm -f conftest.$ac_objext
20952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20953 (eval $ac_compile) 2>&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); } &&
20957 { ac_try='test -s conftest.$ac_objext'
20958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20959 (eval $ac_try) 2>&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); }; }; then
20963 ac_cv_cxx_have_gnu_ext_hash_map=yes
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.$ac_ext >&5
20968 ac_cv_cxx_have_gnu_ext_hash_map=no
20970 rm -f conftest.$ac_objext conftest.$ac_ext
20972 ac_cpp='$CPP $CPPFLAGS'
20973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20978 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_map" >&5
20979 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6
20980 if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes; then
20982 cat >>confdefs.h <<\_ACEOF
20983 #define HAVE_GNU_EXT_HASH_MAP
20987 echo "$as_me:$LINENO: checking whether the compiler has <hash_map> defining template class ::hash_map" >&5
20988 echo $ECHO_N "checking whether the compiler has <hash_map> defining template class ::hash_map... $ECHO_C" >&6
20989 if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then
20990 echo $ECHO_N "(cached) $ECHO_C" >&6
20996 ac_cpp='$CXXCPP $CPPFLAGS'
20997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21001 cat >conftest.$ac_ext <<_ACEOF
21002 #line $LINENO "configure"
21005 cat confdefs.h >>conftest.$ac_ext
21006 cat >>conftest.$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008 #include <hash_map>
21012 hash_map<int,int> t;
21017 rm -f conftest.$ac_objext
21018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21019 (eval $ac_compile) 2>&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } &&
21023 { ac_try='test -s conftest.$ac_objext'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 ac_cv_cxx_have_global_hash_map=yes
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.$ac_ext >&5
21034 ac_cv_cxx_have_global_hash_map=no
21036 rm -f conftest.$ac_objext conftest.$ac_ext
21038 ac_cpp='$CPP $CPPFLAGS'
21039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21044 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_map" >&5
21045 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6
21046 if test "$ac_cv_cxx_have_global_hash_map" = yes; then
21048 cat >>confdefs.h <<\_ACEOF
21049 #define HAVE_GLOBAL_HASH_MAP
21053 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class std::hash_set" >&5
21054 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class std::hash_set... $ECHO_C" >&6
21055 if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then
21056 echo $ECHO_N "(cached) $ECHO_C" >&6
21062 ac_cpp='$CXXCPP $CPPFLAGS'
21063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21067 cat >conftest.$ac_ext <<_ACEOF
21068 #line $LINENO "configure"
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 #include <ext/hash_set>
21075 #ifdef HAVE_NAMESPACES
21076 using namespace std;
21086 rm -f conftest.$ac_objext
21087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21088 (eval $ac_compile) 2>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } &&
21092 { ac_try='test -s conftest.$ac_objext'
21093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21094 (eval $ac_try) 2>&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); }; }; then
21098 ac_cv_cxx_have_std_ext_hash_set=yes
21100 echo "$as_me: failed program was:" >&5
21101 sed 's/^/| /' conftest.$ac_ext >&5
21103 ac_cv_cxx_have_std_ext_hash_set=no
21105 rm -f conftest.$ac_objext conftest.$ac_ext
21107 ac_cpp='$CPP $CPPFLAGS'
21108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21113 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_set" >&5
21114 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6
21115 if test "$ac_cv_cxx_have_std_ext_hash_set" = yes; then
21117 cat >>confdefs.h <<\_ACEOF
21118 #define HAVE_STD_EXT_HASH_SET
21122 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set" >&5
21123 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set... $ECHO_C" >&6
21124 if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then
21125 echo $ECHO_N "(cached) $ECHO_C" >&6
21131 ac_cpp='$CXXCPP $CPPFLAGS'
21132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21136 cat >conftest.$ac_ext <<_ACEOF
21137 #line $LINENO "configure"
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 #include <ext/hash_set>
21144 #ifdef HAVE_NAMESPACES
21145 using namespace __gnu_cxx;
21155 rm -f conftest.$ac_objext
21156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21157 (eval $ac_compile) 2>&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } &&
21161 { ac_try='test -s conftest.$ac_objext'
21162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21163 (eval $ac_try) 2>&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); }; }; then
21167 ac_cv_cxx_have_gnu_ext_hash_set=yes
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21172 ac_cv_cxx_have_gnu_ext_hash_set=no
21174 rm -f conftest.$ac_objext conftest.$ac_ext
21176 ac_cpp='$CPP $CPPFLAGS'
21177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21182 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_set" >&5
21183 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6
21184 if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes; then
21186 cat >>confdefs.h <<\_ACEOF
21187 #define HAVE_GNU_EXT_HASH_SET
21191 echo "$as_me:$LINENO: checking whether the compiler has <hash_set> defining template class ::hash_set" >&5
21192 echo $ECHO_N "checking whether the compiler has <hash_set> defining template class ::hash_set... $ECHO_C" >&6
21193 if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then
21194 echo $ECHO_N "(cached) $ECHO_C" >&6
21200 ac_cpp='$CXXCPP $CPPFLAGS'
21201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205 cat >conftest.$ac_ext <<_ACEOF
21206 #line $LINENO "configure"
21209 cat confdefs.h >>conftest.$ac_ext
21210 cat >>conftest.$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21212 #include <hash_set>
21216 hash_set<int> t; return 0;
21221 rm -f conftest.$ac_objext
21222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21223 (eval $ac_compile) 2>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); } &&
21227 { ac_try='test -s conftest.$ac_objext'
21228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21229 (eval $ac_try) 2>&5
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); }; }; then
21233 ac_cv_cxx_have_global_hash_set=yes
21235 echo "$as_me: failed program was:" >&5
21236 sed 's/^/| /' conftest.$ac_ext >&5
21238 ac_cv_cxx_have_global_hash_set=no
21240 rm -f conftest.$ac_objext conftest.$ac_ext
21242 ac_cpp='$CPP $CPPFLAGS'
21243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21248 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_set" >&5
21249 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6
21250 if test "$ac_cv_cxx_have_global_hash_set" = yes; then
21252 cat >>confdefs.h <<\_ACEOF
21253 #define HAVE_GLOBAL_HASH_SET
21257 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21258 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21259 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21260 echo $ECHO_N "(cached) $ECHO_C" >&6
21266 ac_cpp='$CXXCPP $CPPFLAGS'
21267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21271 cat >conftest.$ac_ext <<_ACEOF
21272 #line $LINENO "configure"
21275 cat confdefs.h >>conftest.$ac_ext
21276 cat >>conftest.$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21278 #include <ext/slist>
21279 #ifdef HAVE_NAMESPACES
21280 using namespace std;
21285 slist<int> s; return 0;
21290 rm -f conftest.$ac_objext
21291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21292 (eval $ac_compile) 2>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } &&
21296 { ac_try='test -s conftest.$ac_objext'
21297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298 (eval $ac_try) 2>&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; }; then
21302 ac_cv_cxx_have_ext_slist=std
21304 echo "$as_me: failed program was:" >&5
21305 sed 's/^/| /' conftest.$ac_ext >&5
21307 ac_cv_cxx_have_ext_slist=no
21309 rm -f conftest.$ac_objext conftest.$ac_ext
21310 cat >conftest.$ac_ext <<_ACEOF
21311 #line $LINENO "configure"
21314 cat confdefs.h >>conftest.$ac_ext
21315 cat >>conftest.$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21317 #include <ext/slist>
21318 #ifdef HAVE_NAMESPACES
21319 using namespace __gnu_cxx;
21324 slist<int> s; return 0;
21329 rm -f conftest.$ac_objext
21330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21331 (eval $ac_compile) 2>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } &&
21335 { ac_try='test -s conftest.$ac_objext'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; }; then
21341 ac_cv_cxx_have_ext_slist=gnu
21343 echo "$as_me: failed program was:" >&5
21344 sed 's/^/| /' conftest.$ac_ext >&5
21346 ac_cv_cxx_have_ext_slist=no
21348 rm -f conftest.$ac_objext conftest.$ac_ext
21351 ac_cpp='$CPP $CPPFLAGS'
21352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21358 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21359 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21360 if test "$ac_cv_cxx_have_ext_slist" = std; then
21362 cat >>confdefs.h <<\_ACEOF
21363 #define HAVE_EXT_SLIST std
21367 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21369 cat >>confdefs.h <<\_ACEOF
21370 #define HAVE_EXT_SLIST gnu
21375 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21376 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21377 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21378 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 ac_cpp='$CXXCPP $CPPFLAGS'
21385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21389 cat >conftest.$ac_ext <<_ACEOF
21390 #line $LINENO "configure"
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 #include <iterator>
21397 #ifdef HAVE_NAMESPACES
21398 using namespace std;
21403 iterator<int,int,int> t; return 0;
21408 rm -f conftest.$ac_objext
21409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21410 (eval $ac_compile) 2>&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); } &&
21414 { ac_try='test -s conftest.$ac_objext'
21415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21416 (eval $ac_try) 2>&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); }; }; then
21420 ac_cv_cxx_have_std_iterator=yes
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.$ac_ext >&5
21425 ac_cv_cxx_have_std_iterator=no
21427 rm -f conftest.$ac_objext conftest.$ac_ext
21429 ac_cpp='$CPP $CPPFLAGS'
21430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21436 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21437 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21438 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21440 cat >>confdefs.h <<\_ACEOF
21441 #define HAVE_STD_ITERATOR
21446 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21447 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21448 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21449 echo $ECHO_N "(cached) $ECHO_C" >&6
21455 ac_cpp='$CXXCPP $CPPFLAGS'
21456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21460 cat >conftest.$ac_ext <<_ACEOF
21461 #line $LINENO "configure"
21464 cat confdefs.h >>conftest.$ac_ext
21465 cat >>conftest.$ac_ext <<_ACEOF
21466 /* end confdefs.h. */
21467 #include <iterator>
21468 #ifdef HAVE_NAMESPACES
21469 using namespace std;
21474 bidirectional_iterator<int,int> t; return 0;
21479 rm -f conftest.$ac_objext
21480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21481 (eval $ac_compile) 2>&5
21483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484 (exit $ac_status); } &&
21485 { ac_try='test -s conftest.$ac_objext'
21486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21487 (eval $ac_try) 2>&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); }; }; then
21491 ac_cv_cxx_have_bi_iterator=yes
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21496 ac_cv_cxx_have_bi_iterator=no
21498 rm -f conftest.$ac_objext conftest.$ac_ext
21500 ac_cpp='$CPP $CPPFLAGS'
21501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21507 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21508 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21509 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21511 cat >>confdefs.h <<\_ACEOF
21512 #define HAVE_BI_ITERATOR
21517 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21518 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21519 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21520 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 ac_cpp='$CXXCPP $CPPFLAGS'
21527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21531 cat >conftest.$ac_ext <<_ACEOF
21532 #line $LINENO "configure"
21535 cat confdefs.h >>conftest.$ac_ext
21536 cat >>conftest.$ac_ext <<_ACEOF
21537 /* end confdefs.h. */
21538 #include <iterator>
21539 #ifdef HAVE_NAMESPACES
21540 using namespace std;
21545 forward_iterator<int,int> t; return 0;
21550 rm -f conftest.$ac_objext
21551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21552 (eval $ac_compile) 2>&5
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); } &&
21556 { ac_try='test -s conftest.$ac_objext'
21557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558 (eval $ac_try) 2>&5
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; }; then
21562 ac_cv_cxx_have_fwd_iterator=yes
21564 echo "$as_me: failed program was:" >&5
21565 sed 's/^/| /' conftest.$ac_ext >&5
21567 ac_cv_cxx_have_fwd_iterator=no
21569 rm -f conftest.$ac_objext conftest.$ac_ext
21571 ac_cpp='$CPP $CPPFLAGS'
21572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21578 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21579 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21580 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21582 cat >>confdefs.h <<\_ACEOF
21583 #define HAVE_FWD_ITERATOR
21589 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21590 # for constant arguments. Useless!
21591 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21592 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21593 if test "${ac_cv_working_alloca_h+set}" = set; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21596 cat >conftest.$ac_ext <<_ACEOF
21597 #line $LINENO "configure"
21600 cat confdefs.h >>conftest.$ac_ext
21601 cat >>conftest.$ac_ext <<_ACEOF
21602 /* end confdefs.h. */
21603 #include <alloca.h>
21607 char *p = (char *) alloca (2 * sizeof (int));
21612 rm -f conftest.$ac_objext conftest$ac_exeext
21613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21614 (eval $ac_link) 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); } &&
21618 { ac_try='test -s conftest$ac_exeext'
21619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21620 (eval $ac_try) 2>&5
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); }; }; then
21624 ac_cv_working_alloca_h=yes
21626 echo "$as_me: failed program was:" >&5
21627 sed 's/^/| /' conftest.$ac_ext >&5
21629 ac_cv_working_alloca_h=no
21631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21633 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21634 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21635 if test $ac_cv_working_alloca_h = yes; then
21637 cat >>confdefs.h <<\_ACEOF
21638 #define HAVE_ALLOCA_H 1
21643 echo "$as_me:$LINENO: checking for alloca" >&5
21644 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21645 if test "${ac_cv_func_alloca_works+set}" = set; then
21646 echo $ECHO_N "(cached) $ECHO_C" >&6
21648 cat >conftest.$ac_ext <<_ACEOF
21649 #line $LINENO "configure"
21652 cat confdefs.h >>conftest.$ac_ext
21653 cat >>conftest.$ac_ext <<_ACEOF
21654 /* end confdefs.h. */
21656 # define alloca __builtin_alloca
21659 # include <malloc.h>
21660 # define alloca _alloca
21663 # include <alloca.h>
21668 # ifndef alloca /* predefined by HP cc +Olibcalls */
21679 char *p = (char *) alloca (1);
21684 rm -f conftest.$ac_objext conftest$ac_exeext
21685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21686 (eval $ac_link) 2>&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); } &&
21690 { ac_try='test -s conftest$ac_exeext'
21691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21692 (eval $ac_try) 2>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); }; }; then
21696 ac_cv_func_alloca_works=yes
21698 echo "$as_me: failed program was:" >&5
21699 sed 's/^/| /' conftest.$ac_ext >&5
21701 ac_cv_func_alloca_works=no
21703 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21705 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21706 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21708 if test $ac_cv_func_alloca_works = yes; then
21710 cat >>confdefs.h <<\_ACEOF
21711 #define HAVE_ALLOCA 1
21715 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21716 # that cause trouble. Some versions do not even contain alloca or
21717 # contain a buggy version. If you still want to use their alloca,
21718 # use ar to extract alloca.o from them instead of compiling alloca.c.
21720 ALLOCA=alloca.$ac_objext
21722 cat >>confdefs.h <<\_ACEOF
21727 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21728 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21729 if test "${ac_cv_os_cray+set}" = set; then
21730 echo $ECHO_N "(cached) $ECHO_C" >&6
21732 cat >conftest.$ac_ext <<_ACEOF
21733 #line $LINENO "configure"
21736 cat confdefs.h >>conftest.$ac_ext
21737 cat >>conftest.$ac_ext <<_ACEOF
21738 /* end confdefs.h. */
21739 #if defined(CRAY) && ! defined(CRAY2)
21746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21747 $EGREP "webecray" >/dev/null 2>&1; then
21755 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21756 echo "${ECHO_T}$ac_cv_os_cray" >&6
21757 if test $ac_cv_os_cray = yes; then
21758 for ac_func in _getb67 GETB67 getb67; do
21759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21760 echo "$as_me:$LINENO: checking for $ac_func" >&5
21761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21762 if eval "test \"\${$as_ac_var+set}\" = set"; then
21763 echo $ECHO_N "(cached) $ECHO_C" >&6
21765 cat >conftest.$ac_ext <<_ACEOF
21766 #line $LINENO "configure"
21769 cat confdefs.h >>conftest.$ac_ext
21770 cat >>conftest.$ac_ext <<_ACEOF
21771 /* end confdefs.h. */
21772 /* System header to define __stub macros and hopefully few prototypes,
21773 which can conflict with char $ac_func (); below.
21774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21775 <limits.h> exists even on freestanding compilers. */
21777 # include <limits.h>
21779 # include <assert.h>
21781 /* Override any gcc2 internal prototype to avoid an error. */
21786 /* We use char because int might match the return type of a gcc2
21787 builtin and then its argument prototype would still apply. */
21789 /* The GNU C library defines this for functions which it implements
21790 to always fail with ENOSYS. Some functions are actually named
21791 something starting with __ and the normal name is an alias. */
21792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21795 char (*f) () = $ac_func;
21804 return f != $ac_func;
21809 rm -f conftest.$ac_objext conftest$ac_exeext
21810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21811 (eval $ac_link) 2>&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); } &&
21815 { ac_try='test -s conftest$ac_exeext'
21816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21817 (eval $ac_try) 2>&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); }; }; then
21821 eval "$as_ac_var=yes"
21823 echo "$as_me: failed program was:" >&5
21824 sed 's/^/| /' conftest.$ac_ext >&5
21826 eval "$as_ac_var=no"
21828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21832 if test `eval echo '${'$as_ac_var'}'` = yes; then
21834 cat >>confdefs.h <<_ACEOF
21835 #define CRAY_STACKSEG_END $ac_func
21844 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21845 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21846 if test "${ac_cv_c_stack_direction+set}" = set; then
21847 echo $ECHO_N "(cached) $ECHO_C" >&6
21849 if test "$cross_compiling" = yes; then
21850 ac_cv_c_stack_direction=0
21852 cat >conftest.$ac_ext <<_ACEOF
21853 #line $LINENO "configure"
21856 cat confdefs.h >>conftest.$ac_ext
21857 cat >>conftest.$ac_ext <<_ACEOF
21858 /* end confdefs.h. */
21860 find_stack_direction ()
21862 static char *addr = 0;
21867 return find_stack_direction ();
21870 return (&dummy > addr) ? 1 : -1;
21876 exit (find_stack_direction () < 0);
21879 rm -f conftest$ac_exeext
21880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21881 (eval $ac_link) 2>&5
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21886 (eval $ac_try) 2>&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); }; }; then
21890 ac_cv_c_stack_direction=1
21892 echo "$as_me: program exited with status $ac_status" >&5
21893 echo "$as_me: failed program was:" >&5
21894 sed 's/^/| /' conftest.$ac_ext >&5
21896 ( exit $ac_status )
21897 ac_cv_c_stack_direction=-1
21899 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21902 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21903 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21905 cat >>confdefs.h <<_ACEOF
21906 #define STACK_DIRECTION $ac_cv_c_stack_direction
21912 if test $ac_cv_c_compiler_gnu = yes; then
21913 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21914 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21915 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21916 echo $ECHO_N "(cached) $ECHO_C" >&6
21918 ac_pattern="Autoconf.*'x'"
21919 cat >conftest.$ac_ext <<_ACEOF
21920 #line $LINENO "configure"
21923 cat confdefs.h >>conftest.$ac_ext
21924 cat >>conftest.$ac_ext <<_ACEOF
21925 /* end confdefs.h. */
21929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21930 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21931 ac_cv_prog_gcc_traditional=yes
21933 ac_cv_prog_gcc_traditional=no
21938 if test $ac_cv_prog_gcc_traditional = no; then
21939 cat >conftest.$ac_ext <<_ACEOF
21940 #line $LINENO "configure"
21943 cat confdefs.h >>conftest.$ac_ext
21944 cat >>conftest.$ac_ext <<_ACEOF
21945 /* end confdefs.h. */
21946 #include <termio.h>
21949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21950 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21951 ac_cv_prog_gcc_traditional=yes
21957 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21958 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21959 if test $ac_cv_prog_gcc_traditional = yes; then
21960 CC="$CC -traditional"
21964 echo "$as_me:$LINENO: checking for working memcmp" >&5
21965 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21966 if test "${ac_cv_func_memcmp_working+set}" = set; then
21967 echo $ECHO_N "(cached) $ECHO_C" >&6
21969 if test "$cross_compiling" = yes; then
21970 ac_cv_func_memcmp_working=no
21972 cat >conftest.$ac_ext <<_ACEOF
21973 #line $LINENO "configure"
21976 cat confdefs.h >>conftest.$ac_ext
21977 cat >>conftest.$ac_ext <<_ACEOF
21978 /* end confdefs.h. */
21984 /* Some versions of memcmp are not 8-bit clean. */
21985 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21986 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21989 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21990 or more and with at least one buffer not starting on a 4-byte boundary.
21991 William Lewis provided this test program. */
21996 for (i = 0; i < 4; i++)
22000 strcpy (a, "--------01111111");
22001 strcpy (b, "--------10000000");
22002 if (memcmp (a, b, 16) >= 0)
22012 rm -f conftest$ac_exeext
22013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22014 (eval $ac_link) 2>&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22019 (eval $ac_try) 2>&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; }; then
22023 ac_cv_func_memcmp_working=yes
22025 echo "$as_me: program exited with status $ac_status" >&5
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22029 ( exit $ac_status )
22030 ac_cv_func_memcmp_working=no
22032 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22035 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22036 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
22037 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
22041 for ac_header in stdlib.h unistd.h
22043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22045 echo "$as_me:$LINENO: checking for $ac_header" >&5
22046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22048 echo $ECHO_N "(cached) $ECHO_C" >&6
22050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22053 # Is the header compilable?
22054 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22055 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22056 cat >conftest.$ac_ext <<_ACEOF
22057 #line $LINENO "configure"
22060 cat confdefs.h >>conftest.$ac_ext
22061 cat >>conftest.$ac_ext <<_ACEOF
22062 /* end confdefs.h. */
22063 $ac_includes_default
22064 #include <$ac_header>
22066 rm -f conftest.$ac_objext
22067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22068 (eval $ac_compile) 2>&5
22070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22071 (exit $ac_status); } &&
22072 { ac_try='test -s conftest.$ac_objext'
22073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22074 (eval $ac_try) 2>&5
22076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); }; }; then
22078 ac_header_compiler=yes
22080 echo "$as_me: failed program was:" >&5
22081 sed 's/^/| /' conftest.$ac_ext >&5
22083 ac_header_compiler=no
22085 rm -f conftest.$ac_objext conftest.$ac_ext
22086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22087 echo "${ECHO_T}$ac_header_compiler" >&6
22089 # Is the header present?
22090 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22092 cat >conftest.$ac_ext <<_ACEOF
22093 #line $LINENO "configure"
22096 cat confdefs.h >>conftest.$ac_ext
22097 cat >>conftest.$ac_ext <<_ACEOF
22098 /* end confdefs.h. */
22099 #include <$ac_header>
22101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22104 grep -v '^ *+' conftest.er1 >conftest.err
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } >/dev/null; then
22109 if test -s conftest.err; then
22110 ac_cpp_err=$ac_c_preproc_warn_flag
22117 if test -z "$ac_cpp_err"; then
22118 ac_header_preproc=yes
22120 echo "$as_me: failed program was:" >&5
22121 sed 's/^/| /' conftest.$ac_ext >&5
22123 ac_header_preproc=no
22125 rm -f conftest.err conftest.$ac_ext
22126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22127 echo "${ECHO_T}$ac_header_preproc" >&6
22129 # So? What about this header?
22130 case $ac_header_compiler:$ac_header_preproc in
22132 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22138 ## ------------------------------------ ##
22139 ## Report this to bug-autoconf@gnu.org. ##
22140 ## ------------------------------------ ##
22143 sed "s/^/$as_me: WARNING: /" >&2
22146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22154 ## ------------------------------------ ##
22155 ## Report this to bug-autoconf@gnu.org. ##
22156 ## ------------------------------------ ##
22159 sed "s/^/$as_me: WARNING: /" >&2
22162 echo "$as_me:$LINENO: checking for $ac_header" >&5
22163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22165 echo $ECHO_N "(cached) $ECHO_C" >&6
22167 eval "$as_ac_Header=$ac_header_preproc"
22169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22174 cat >>confdefs.h <<_ACEOF
22175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22183 for ac_func in getpagesize
22185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22186 echo "$as_me:$LINENO: checking for $ac_func" >&5
22187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22188 if eval "test \"\${$as_ac_var+set}\" = set"; then
22189 echo $ECHO_N "(cached) $ECHO_C" >&6
22191 cat >conftest.$ac_ext <<_ACEOF
22192 #line $LINENO "configure"
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198 /* System header to define __stub macros and hopefully few prototypes,
22199 which can conflict with char $ac_func (); below.
22200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22201 <limits.h> exists even on freestanding compilers. */
22203 # include <limits.h>
22205 # include <assert.h>
22207 /* Override any gcc2 internal prototype to avoid an error. */
22212 /* We use char because int might match the return type of a gcc2
22213 builtin and then its argument prototype would still apply. */
22215 /* The GNU C library defines this for functions which it implements
22216 to always fail with ENOSYS. Some functions are actually named
22217 something starting with __ and the normal name is an alias. */
22218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22221 char (*f) () = $ac_func;
22230 return f != $ac_func;
22235 rm -f conftest.$ac_objext conftest$ac_exeext
22236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22237 (eval $ac_link) 2>&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } &&
22241 { ac_try='test -s conftest$ac_exeext'
22242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22243 (eval $ac_try) 2>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); }; }; then
22247 eval "$as_ac_var=yes"
22249 echo "$as_me: failed program was:" >&5
22250 sed 's/^/| /' conftest.$ac_ext >&5
22252 eval "$as_ac_var=no"
22254 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22258 if test `eval echo '${'$as_ac_var'}'` = yes; then
22259 cat >>confdefs.h <<_ACEOF
22260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22266 echo "$as_me:$LINENO: checking for working mmap" >&5
22267 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22268 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22269 echo $ECHO_N "(cached) $ECHO_C" >&6
22271 if test "$cross_compiling" = yes; then
22272 ac_cv_func_mmap_fixed_mapped=no
22274 cat >conftest.$ac_ext <<_ACEOF
22275 #line $LINENO "configure"
22278 cat confdefs.h >>conftest.$ac_ext
22279 cat >>conftest.$ac_ext <<_ACEOF
22280 /* end confdefs.h. */
22281 $ac_includes_default
22282 /* malloc might have been renamed as rpl_malloc. */
22285 /* Thanks to Mike Haertel and Jim Avera for this test.
22286 Here is a matrix of mmap possibilities:
22287 mmap private not fixed
22288 mmap private fixed at somewhere currently unmapped
22289 mmap private fixed at somewhere already mapped
22290 mmap shared not fixed
22291 mmap shared fixed at somewhere currently unmapped
22292 mmap shared fixed at somewhere already mapped
22293 For private mappings, we should verify that changes cannot be read()
22294 back from the file, nor mmap's back from the file at a different
22295 address. (There have been systems where private was not correctly
22296 implemented like the infamous i386 svr4.0, and systems where the
22297 VM page cache was not coherent with the file system buffer cache
22298 like early versions of FreeBSD and possibly contemporary NetBSD.)
22299 For shared mappings, we should conversely verify that changes get
22300 propagated back to all the places they're supposed to be.
22302 Grep wants private fixed already mapped.
22303 The main things grep needs to know about mmap are:
22304 * does it exist and is it safe to write into the mmap'd area
22305 * how to use it (BSD variants) */
22308 #include <sys/mman.h>
22310 #if !STDC_HEADERS && !HAVE_STDLIB_H
22314 /* This mess was copied from the GNU getpagesize.h. */
22315 #if !HAVE_GETPAGESIZE
22316 /* Assume that all systems that can run configure have sys/param.h. */
22317 # if !HAVE_SYS_PARAM_H
22318 # define HAVE_SYS_PARAM_H 1
22321 # ifdef _SC_PAGESIZE
22322 # define getpagesize() sysconf(_SC_PAGESIZE)
22323 # else /* no _SC_PAGESIZE */
22324 # if HAVE_SYS_PARAM_H
22325 # include <sys/param.h>
22326 # ifdef EXEC_PAGESIZE
22327 # define getpagesize() EXEC_PAGESIZE
22328 # else /* no EXEC_PAGESIZE */
22330 # define getpagesize() NBPG * CLSIZE
22333 # endif /* no CLSIZE */
22334 # else /* no NBPG */
22336 # define getpagesize() NBPC
22337 # else /* no NBPC */
22339 # define getpagesize() PAGESIZE
22340 # endif /* PAGESIZE */
22341 # endif /* no NBPC */
22342 # endif /* no NBPG */
22343 # endif /* no EXEC_PAGESIZE */
22344 # else /* no HAVE_SYS_PARAM_H */
22345 # define getpagesize() 8192 /* punt totally */
22346 # endif /* no HAVE_SYS_PARAM_H */
22347 # endif /* no _SC_PAGESIZE */
22349 #endif /* no HAVE_GETPAGESIZE */
22354 char *data, *data2, *data3;
22358 pagesize = getpagesize ();
22360 /* First, make a file with some known garbage in it. */
22361 data = (char *) malloc (pagesize);
22364 for (i = 0; i < pagesize; ++i)
22365 *(data + i) = rand ();
22367 fd = creat ("conftest.mmap", 0600);
22370 if (write (fd, data, pagesize) != pagesize)
22374 /* Next, try to mmap the file at a fixed address which already has
22375 something else allocated at it. If we can, also make sure that
22376 we see the same garbage. */
22377 fd = open ("conftest.mmap", O_RDWR);
22380 data2 = (char *) malloc (2 * pagesize);
22383 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22384 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22385 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22387 for (i = 0; i < pagesize; ++i)
22388 if (*(data + i) != *(data2 + i))
22391 /* Finally, make sure that changes to the mapped area do not
22392 percolate back to the file as seen by read(). (This is a bug on
22393 some variants of i386 svr4.0.) */
22394 for (i = 0; i < pagesize; ++i)
22395 *(data2 + i) = *(data2 + i) + 1;
22396 data3 = (char *) malloc (pagesize);
22399 if (read (fd, data3, pagesize) != pagesize)
22401 for (i = 0; i < pagesize; ++i)
22402 if (*(data + i) != *(data3 + i))
22408 rm -f conftest$ac_exeext
22409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22410 (eval $ac_link) 2>&5
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; }; then
22419 ac_cv_func_mmap_fixed_mapped=yes
22421 echo "$as_me: program exited with status $ac_status" >&5
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22425 ( exit $ac_status )
22426 ac_cv_func_mmap_fixed_mapped=no
22428 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22431 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22432 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22433 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22435 cat >>confdefs.h <<\_ACEOF
22436 #define HAVE_MMAP 1
22440 rm -f conftest.mmap
22442 echo "$as_me:$LINENO: checking for mmap of files" >&5
22443 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22444 if test "${ac_cv_func_mmap_file+set}" = set; then
22445 echo $ECHO_N "(cached) $ECHO_C" >&6
22450 ac_cpp='$CPP $CPPFLAGS'
22451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22455 if test "$cross_compiling" = yes; then
22456 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22457 See \`config.log' for more details." >&5
22458 echo "$as_me: error: cannot run test program while cross compiling
22459 See \`config.log' for more details." >&2;}
22460 { (exit 1); exit 1; }; }
22462 cat >conftest.$ac_ext <<_ACEOF
22463 #line $LINENO "configure"
22466 cat confdefs.h >>conftest.$ac_ext
22467 cat >>conftest.$ac_ext <<_ACEOF
22468 /* end confdefs.h. */
22470 #ifdef HAVE_SYS_TYPES_H
22471 #include <sys/types.h>
22474 #ifdef HAVE_SYS_MMAN_H
22475 #include <sys/mman.h>
22478 #ifdef HAVE_FCNTL_H
22484 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != (int) MAP_FAILED);}
22486 rm -f conftest$ac_exeext
22487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22488 (eval $ac_link) 2>&5
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; }; then
22497 ac_cv_func_mmap_file=yes
22499 echo "$as_me: program exited with status $ac_status" >&5
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.$ac_ext >&5
22503 ( exit $ac_status )
22504 ac_cv_func_mmap_file=no
22506 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22509 ac_cpp='$CPP $CPPFLAGS'
22510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22516 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22517 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22518 if test "$ac_cv_func_mmap_file" = yes; then
22520 cat >>confdefs.h <<\_ACEOF
22521 #define HAVE_MMAP_FILE
22528 if test ${ac_cv_func_mmap_file} = "no"
22530 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22531 echo "$as_me: error: mmap() of files required but not found" >&2;}
22532 { (exit 1); exit 1; }; }
22534 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22535 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22536 if test "${ac_cv_header_mmap_anon+set}" = set; then
22537 echo $ECHO_N "(cached) $ECHO_C" >&6
22542 ac_cpp='$CPP $CPPFLAGS'
22543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22547 cat >conftest.$ac_ext <<_ACEOF
22548 #line $LINENO "configure"
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 #include <sys/mman.h>
22555 #include <unistd.h>
22560 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22565 rm -f conftest.$ac_objext
22566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22567 (eval $ac_compile) 2>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } &&
22571 { ac_try='test -s conftest.$ac_objext'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; }; then
22577 ac_cv_header_mmap_anon=yes
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.$ac_ext >&5
22582 ac_cv_header_mmap_anon=no
22584 rm -f conftest.$ac_objext conftest.$ac_ext
22586 ac_cpp='$CPP $CPPFLAGS'
22587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22593 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22594 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22595 if test "$ac_cv_header_mmap_anon" = yes; then
22597 cat >>confdefs.h <<\_ACEOF
22598 #define HAVE_MMAP_ANONYMOUS
22603 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22604 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22605 if test "${ac_cv_type_signal+set}" = set; then
22606 echo $ECHO_N "(cached) $ECHO_C" >&6
22608 cat >conftest.$ac_ext <<_ACEOF
22609 #line $LINENO "configure"
22612 cat confdefs.h >>conftest.$ac_ext
22613 cat >>conftest.$ac_ext <<_ACEOF
22614 /* end confdefs.h. */
22615 #include <sys/types.h>
22616 #include <signal.h>
22621 extern "C" void (*signal (int, void (*)(int)))(int);
22623 void (*signal ()) ();
22634 rm -f conftest.$ac_objext
22635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22636 (eval $ac_compile) 2>&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); } &&
22640 { ac_try='test -s conftest.$ac_objext'
22641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22642 (eval $ac_try) 2>&5
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); }; }; then
22646 ac_cv_type_signal=void
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22651 ac_cv_type_signal=int
22653 rm -f conftest.$ac_objext conftest.$ac_ext
22655 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22656 echo "${ECHO_T}$ac_cv_type_signal" >&6
22658 cat >>confdefs.h <<_ACEOF
22659 #define RETSIGTYPE $ac_cv_type_signal
22674 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll
22676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22677 echo "$as_me:$LINENO: checking for $ac_func" >&5
22678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22679 if eval "test \"\${$as_ac_var+set}\" = set"; then
22680 echo $ECHO_N "(cached) $ECHO_C" >&6
22682 cat >conftest.$ac_ext <<_ACEOF
22683 #line $LINENO "configure"
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689 /* System header to define __stub macros and hopefully few prototypes,
22690 which can conflict with char $ac_func (); below.
22691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22692 <limits.h> exists even on freestanding compilers. */
22694 # include <limits.h>
22696 # include <assert.h>
22698 /* Override any gcc2 internal prototype to avoid an error. */
22703 /* We use char because int might match the return type of a gcc2
22704 builtin and then its argument prototype would still apply. */
22706 /* The GNU C library defines this for functions which it implements
22707 to always fail with ENOSYS. Some functions are actually named
22708 something starting with __ and the normal name is an alias. */
22709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22712 char (*f) () = $ac_func;
22721 return f != $ac_func;
22726 rm -f conftest.$ac_objext conftest$ac_exeext
22727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22728 (eval $ac_link) 2>&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } &&
22732 { ac_try='test -s conftest$ac_exeext'
22733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734 (eval $ac_try) 2>&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; }; then
22738 eval "$as_ac_var=yes"
22740 echo "$as_me: failed program was:" >&5
22741 sed 's/^/| /' conftest.$ac_ext >&5
22743 eval "$as_ac_var=no"
22745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22749 if test `eval echo '${'$as_ac_var'}'` = yes; then
22750 cat >>confdefs.h <<_ACEOF
22751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22759 echo "$as_me:$LINENO: checking for mmap" >&5
22760 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22761 if test "${ac_cv_func_mmap+set}" = set; then
22762 echo $ECHO_N "(cached) $ECHO_C" >&6
22764 cat >conftest.$ac_ext <<_ACEOF
22765 #line $LINENO "configure"
22768 cat confdefs.h >>conftest.$ac_ext
22769 cat >>conftest.$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22771 /* System header to define __stub macros and hopefully few prototypes,
22772 which can conflict with char mmap (); below.
22773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22774 <limits.h> exists even on freestanding compilers. */
22776 # include <limits.h>
22778 # include <assert.h>
22780 /* Override any gcc2 internal prototype to avoid an error. */
22785 /* We use char because int might match the return type of a gcc2
22786 builtin and then its argument prototype would still apply. */
22788 /* The GNU C library defines this for functions which it implements
22789 to always fail with ENOSYS. Some functions are actually named
22790 something starting with __ and the normal name is an alias. */
22791 #if defined (__stub_mmap) || defined (__stub___mmap)
22794 char (*f) () = mmap;
22808 rm -f conftest.$ac_objext conftest$ac_exeext
22809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22810 (eval $ac_link) 2>&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); } &&
22814 { ac_try='test -s conftest$ac_exeext'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; }; then
22820 ac_cv_func_mmap=yes
22822 echo "$as_me: failed program was:" >&5
22823 sed 's/^/| /' conftest.$ac_ext >&5
22827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22829 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22830 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22831 if test $ac_cv_func_mmap = yes; then
22834 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22835 echo "$as_me: error: Function mmap() required but not found" >&2;}
22836 { (exit 1); exit 1; }; }
22839 echo "$as_me:$LINENO: checking for mprotect" >&5
22840 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22841 if test "${ac_cv_func_mprotect+set}" = set; then
22842 echo $ECHO_N "(cached) $ECHO_C" >&6
22844 cat >conftest.$ac_ext <<_ACEOF
22845 #line $LINENO "configure"
22848 cat confdefs.h >>conftest.$ac_ext
22849 cat >>conftest.$ac_ext <<_ACEOF
22850 /* end confdefs.h. */
22851 /* System header to define __stub macros and hopefully few prototypes,
22852 which can conflict with char mprotect (); below.
22853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22854 <limits.h> exists even on freestanding compilers. */
22856 # include <limits.h>
22858 # include <assert.h>
22860 /* Override any gcc2 internal prototype to avoid an error. */
22865 /* We use char because int might match the return type of a gcc2
22866 builtin and then its argument prototype would still apply. */
22868 /* The GNU C library defines this for functions which it implements
22869 to always fail with ENOSYS. Some functions are actually named
22870 something starting with __ and the normal name is an alias. */
22871 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22874 char (*f) () = mprotect;
22883 return f != mprotect;
22888 rm -f conftest.$ac_objext conftest$ac_exeext
22889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22890 (eval $ac_link) 2>&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); } &&
22894 { ac_try='test -s conftest$ac_exeext'
22895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896 (eval $ac_try) 2>&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); }; }; then
22900 ac_cv_func_mprotect=yes
22902 echo "$as_me: failed program was:" >&5
22903 sed 's/^/| /' conftest.$ac_ext >&5
22905 ac_cv_func_mprotect=no
22907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22909 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22910 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22911 if test $ac_cv_func_mprotect = yes; then
22914 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22915 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22916 { (exit 1); exit 1; }; }
22921 # Check whether --enable-purify or --disable-purify was given.
22922 if test "${enable_purify+set}" = set; then
22923 enableval="$enable_purify"
22928 if test ${enableval} = "no"
22933 ENABLE_PURIFY=ENABLE_PURIFY=1
22937 # Check whether --enable-optimized or --disable-optimized was given.
22938 if test "${enable_optimized+set}" = set; then
22939 enableval="$enable_optimized"
22944 if test ${enableval} = "no"
22949 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22953 # Check whether --enable-spec2000 or --disable-spec2000 was given.
22954 if test "${enable_spec2000+set}" = set; then
22955 enableval="$enable_spec2000"
22960 if test ${enableval} = "no"
22962 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
22964 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22966 USE_SPEC=USE_SPEC=1
22974 if test ${enableval} = ""
22976 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22979 SPEC_ROOT=${enableval}
22982 USE_SPEC=USE_SPEC=1
22986 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22987 if test "${enable_precompiled_bytecode+set}" = set; then
22988 enableval="$enable_precompiled_bytecode"
22993 if test ${enableval} = "no"
22998 UPB=USE_PRECOMPILED_BYTECODE=1
23003 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
23004 if test "${enable_llc_diffs+set}" = set; then
23005 enableval="$enable_llc_diffs"
23010 if test ${enableval} = "no"
23012 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
23019 # Check whether --enable-jit or --disable-jit was given.
23020 if test "${enable_jit+set}" = set; then
23021 enableval="$enable_jit"
23027 if test ${enableval} = "no"
23034 JIT=TARGET_HAS_JIT=1
23038 JIT=TARGET_HAS_JIT=1
23050 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
23051 if test "${with_llvmgccdir+set}" = set; then
23052 withval="$with_llvmgccdir"
23053 LLVMGCCDIR=$withval
23058 # Check whether --with-bcrepos or --without-bcrepos was given.
23059 if test "${with_bcrepos+set}" = set; then
23060 withval="$with_bcrepos"
23064 BCR=/home/vadve/lattner/LLVMPrograms
23069 # Check whether --with-papi or --without-papi was given.
23070 if test "${with_papi+set}" = set; then
23071 withval="$with_papi"
23075 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
23080 # Check whether --with-purify or --without-purify was given.
23081 if test "${with_purify+set}" = set; then
23082 withval="$with_purify"
23088 ac_config_files="$ac_config_files Makefile.config"
23089 cat >confcache <<\_ACEOF
23090 # This file is a shell script that caches the results of configure
23091 # tests run on this system so they can be shared between configure
23092 # scripts and configure runs, see configure's option --config-cache.
23093 # It is not useful on other systems. If it contains results you don't
23094 # want to keep, you may remove or edit it.
23096 # config.status only pays attention to the cache file if you give it
23097 # the --recheck option to rerun configure.
23099 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23100 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23101 # following values.
23105 # The following way of writing the cache mishandles newlines in values,
23106 # but we know of no workaround that is simple, portable, and efficient.
23107 # So, don't put newlines in cache variables' values.
23108 # Ultrix sh set writes to stderr and can't be redirected directly,
23109 # and sets the high bit in the cache file unless we assign to the vars.
23112 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23114 # `set' does not quote correctly, so add quotes (double-quote
23115 # substitution turns \\\\ into \\, and sed turns \\ into \).
23118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23121 # `set' quotes correctly as required by POSIX, so do not add quotes.
23123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23130 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23132 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23134 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23135 if test -w $cache_file; then
23136 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23137 cat confcache >$cache_file
23139 echo "not updating unwritable cache $cache_file"
23144 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23145 # Let make expand exec_prefix.
23146 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23148 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23149 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23150 # trailing colons and then remove the whole line if VPATH becomes empty
23151 # (actually we leave an empty line to preserve line numbers).
23152 if test "x$srcdir" = x.; then
23153 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23154 s/:*\$(srcdir):*/:/;
23155 s/:*\${srcdir}:*/:/;
23157 s/^\([^=]*=[ ]*\):*/\1/;
23163 DEFS=-DHAVE_CONFIG_H
23167 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23168 # 1. Remove the extension, and $U if already installed.
23169 ac_i=`echo "$ac_i" |
23170 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23172 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23173 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23175 LIBOBJS=$ac_libobjs
23177 LTLIBOBJS=$ac_ltlibobjs
23181 : ${CONFIG_STATUS=./config.status}
23182 ac_clean_files_save=$ac_clean_files
23183 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23184 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23185 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23186 cat >$CONFIG_STATUS <<_ACEOF
23188 # Generated by $as_me.
23189 # Run this file to recreate the current configuration.
23190 # Compiler output produced by configure, useful for debugging
23191 # configure, is in config.log if it exists.
23194 ac_cs_recheck=false
23196 SHELL=\${CONFIG_SHELL-$SHELL}
23199 cat >>$CONFIG_STATUS <<\_ACEOF
23200 ## --------------------- ##
23201 ## M4sh Initialization. ##
23202 ## --------------------- ##
23204 # Be Bourne compatible
23205 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23208 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23209 # is contrary to our usage. Disable this feature.
23210 alias -g '${1+"$@"}'='"$@"'
23211 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23215 # Support unset when possible.
23216 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23223 # Work around bugs in pre-3.0 UWIN ksh.
23224 $as_unset ENV MAIL MAILPATH
23231 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23232 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23233 LC_TELEPHONE LC_TIME
23235 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23236 eval $as_var=C; export $as_var
23242 # Required to use basename.
23243 if expr a : '\(a\)' >/dev/null 2>&1; then
23249 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23250 as_basename=basename
23256 # Name of the executable.
23257 as_me=`$as_basename "$0" ||
23258 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23259 X"$0" : 'X\(//\)$' \| \
23260 X"$0" : 'X\(/\)$' \| \
23261 . : '\(.\)' 2>/dev/null ||
23263 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23264 /^X\/\(\/\/\)$/{ s//\1/; q; }
23265 /^X\/\(\/\).*/{ s//\1/; q; }
23269 # PATH needs CR, and LINENO needs CR and PATH.
23270 # Avoid depending upon Character Ranges.
23271 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23272 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23273 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23274 as_cr_digits='0123456789'
23275 as_cr_alnum=$as_cr_Letters$as_cr_digits
23277 # The user is always right.
23278 if test "${PATH_SEPARATOR+set}" != set; then
23279 echo "#! /bin/sh" >conf$$.sh
23280 echo "exit 0" >>conf$$.sh
23282 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23291 as_lineno_1=$LINENO
23292 as_lineno_2=$LINENO
23293 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23294 test "x$as_lineno_1" != "x$as_lineno_2" &&
23295 test "x$as_lineno_3" = "x$as_lineno_2" || {
23296 # Find who we are. Look in the path if we contain no path at all
23299 *[\\/]* ) as_myself=$0 ;;
23300 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23301 for as_dir in $PATH
23304 test -z "$as_dir" && as_dir=.
23305 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23310 # We did not find ourselves, most probably we were run as `sh COMMAND'
23311 # in which case we are not to be found in the path.
23312 if test "x$as_myself" = x; then
23315 if test ! -f "$as_myself"; then
23316 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23317 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23318 { (exit 1); exit 1; }; }
23320 case $CONFIG_SHELL in
23322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23323 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23326 test -z "$as_dir" && as_dir=.
23327 for as_base in sh bash ksh sh5; do
23330 if ("$as_dir/$as_base" -c '
23331 as_lineno_1=$LINENO
23332 as_lineno_2=$LINENO
23333 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23334 test "x$as_lineno_1" != "x$as_lineno_2" &&
23335 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23336 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23337 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23338 CONFIG_SHELL=$as_dir/$as_base
23339 export CONFIG_SHELL
23340 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23348 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23349 # uniformly replaced by the line number. The first 'sed' inserts a
23350 # line-number line before each line; the second 'sed' does the real
23351 # work. The second script uses 'N' to pair each line-number line
23352 # with the numbered line, and appends trailing '-' during
23353 # substitution so that $LINENO is not a special case at line end.
23354 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23355 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23356 sed '=' <$as_myself |
23361 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23364 s,^['$as_cr_digits']*\n,,
23365 ' >$as_me.lineno &&
23366 chmod +x $as_me.lineno ||
23367 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23368 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23369 { (exit 1); exit 1; }; }
23371 # Don't try to exec as it changes $[0], causing all sort of problems
23372 # (the dirname of $[0] is not the place where we might find the
23373 # original and so on. Autoconf is especially sensible to this).
23375 # Exit status is that of the last command.
23380 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23381 *c*,-n*) ECHO_N= ECHO_C='
23383 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23384 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23387 if expr a : '\(a\)' >/dev/null 2>&1; then
23393 rm -f conf$$ conf$$.exe conf$$.file
23395 if ln -s conf$$.file conf$$ 2>/dev/null; then
23396 # We could just check for DJGPP; but this test a) works b) is more generic
23397 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23398 if test -f conf$$.exe; then
23399 # Don't use ln at all; we don't have any links
23404 elif ln conf$$.file conf$$ 2>/dev/null; then
23409 rm -f conf$$ conf$$.exe conf$$.file
23411 if mkdir -p . 2>/dev/null; then
23417 as_executable_p="test -f"
23419 # Sed expression to map a string onto a valid CPP name.
23420 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23422 # Sed expression to map a string onto a valid variable name.
23423 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23427 # We need space, tab and new line, in precisely that order.
23437 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23438 # report actual input values of CONFIG_FILES etc. instead of their
23439 # values after options handling. Logging --version etc. is OK.
23443 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23444 ## Running $as_me. ##
23449 This file was extended by [LLVM] $as_me [1.0], which was
23450 generated by GNU Autoconf 2.57. Invocation command line was
23452 CONFIG_FILES = $CONFIG_FILES
23453 CONFIG_HEADERS = $CONFIG_HEADERS
23454 CONFIG_LINKS = $CONFIG_LINKS
23455 CONFIG_COMMANDS = $CONFIG_COMMANDS
23459 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23463 # Files that config.status was made for.
23464 if test -n "$ac_config_files"; then
23465 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23468 if test -n "$ac_config_headers"; then
23469 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23472 if test -n "$ac_config_links"; then
23473 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23476 if test -n "$ac_config_commands"; then
23477 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23480 cat >>$CONFIG_STATUS <<\_ACEOF
23483 \`$as_me' instantiates files from templates according to the
23484 current configuration.
23486 Usage: $0 [OPTIONS] [FILE]...
23488 -h, --help print this help, then exit
23489 -V, --version print version number, then exit
23490 -q, --quiet do not print progress messages
23491 -d, --debug don't remove temporary files
23492 --recheck update $as_me by reconfiguring in the same conditions
23493 --file=FILE[:TEMPLATE]
23494 instantiate the configuration file FILE
23495 --header=FILE[:TEMPLATE]
23496 instantiate the configuration header FILE
23498 Configuration files:
23501 Configuration headers:
23504 Configuration commands:
23507 Report bugs to <bug-autoconf@gnu.org>."
23510 cat >>$CONFIG_STATUS <<_ACEOF
23512 [LLVM] config.status [1.0]
23513 configured by $0, generated by GNU Autoconf 2.57,
23514 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23516 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23517 Free Software Foundation, Inc.
23518 This config.status script is free software; the Free Software Foundation
23519 gives unlimited permission to copy, distribute and modify it."
23524 cat >>$CONFIG_STATUS <<\_ACEOF
23525 # If no file are specified by the user, then we need to provide default
23526 # value. By we need to know if files were specified by the user.
23532 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23533 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23541 *) # This is not an option, so the user has probably given explicit
23544 ac_need_defaults=false;;
23548 # Handling of the options.
23550 cat >>$CONFIG_STATUS <<\_ACEOF
23551 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23553 --version | --vers* | -V )
23554 echo "$ac_cs_version"; exit 0 ;;
23556 # Conflict between --help and --header
23557 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23558 Try \`$0 --help' for more information." >&5
23559 echo "$as_me: error: ambiguous option: $1
23560 Try \`$0 --help' for more information." >&2;}
23561 { (exit 1); exit 1; }; };;
23562 --help | --hel | -h )
23563 echo "$ac_cs_usage"; exit 0 ;;
23564 --debug | --d* | -d )
23566 --file | --fil | --fi | --f )
23568 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23569 ac_need_defaults=false;;
23570 --header | --heade | --head | --hea )
23572 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23573 ac_need_defaults=false;;
23574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23575 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23578 # This is an error.
23579 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23580 Try \`$0 --help' for more information." >&5
23581 echo "$as_me: error: unrecognized option: $1
23582 Try \`$0 --help' for more information." >&2;}
23583 { (exit 1); exit 1; }; } ;;
23585 *) ac_config_targets="$ac_config_targets $1" ;;
23591 ac_configure_extra_args=
23593 if $ac_cs_silent; then
23595 ac_configure_extra_args="$ac_configure_extra_args --silent"
23599 cat >>$CONFIG_STATUS <<_ACEOF
23600 if \$ac_cs_recheck; then
23601 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23602 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23607 cat >>$CONFIG_STATUS <<_ACEOF
23609 # INIT-COMMANDS section.
23612 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23613 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23614 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23615 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23616 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23617 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23618 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23619 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23620 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23621 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23622 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23623 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23624 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23625 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23626 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23627 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23628 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23629 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23630 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23631 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23632 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23633 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23634 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23635 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23636 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23637 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23638 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23639 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23640 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23641 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23642 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23643 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23644 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23645 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23646 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23647 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23648 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23649 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23650 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23651 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23652 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23653 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23654 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23655 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23656 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23657 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23658 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23659 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23660 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23661 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libprofile/Makefile`
23662 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23663 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23664 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
23665 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
23666 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23667 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23668 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23669 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23670 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23671 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23672 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23673 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23674 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23675 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23676 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23677 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23678 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23679 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23680 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23681 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23682 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23683 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23684 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23685 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23686 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/177.mesa/Makefile`
23687 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23688 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23689 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23690 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23691 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23692 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23693 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23694 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23695 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23696 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23697 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/252.eon/Makefile`
23698 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile`
23699 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23700 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23701 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23702 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23703 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23704 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23705 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23706 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23707 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23708 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23709 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23710 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23711 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23712 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23713 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23714 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23715 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23716 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23717 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23718 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23719 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23720 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23721 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23722 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23723 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23724 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23725 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23726 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23727 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23728 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23729 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23730 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23731 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23732 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23733 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23734 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23735 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23736 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23737 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23738 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23739 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23740 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23741 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23742 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23743 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23744 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23745 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23746 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23747 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23748 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23749 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23750 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23751 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23752 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23753 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23754 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23755 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23756 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23757 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23758 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23759 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23760 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23761 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23762 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23763 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23764 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23765 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23766 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23767 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23768 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23769 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23770 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23771 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-nm/Makefile`
23772 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-prof/Makefile`
23773 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23774 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23775 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23776 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23777 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23778 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23779 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23780 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23781 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23782 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23788 cat >>$CONFIG_STATUS <<\_ACEOF
23789 for ac_config_target in $ac_config_targets
23791 case "$ac_config_target" in
23792 # Handling of arguments.
23793 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23794 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23795 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23796 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23797 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23798 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23799 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23800 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23801 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23802 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23803 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23804 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23805 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23806 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23807 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23808 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23809 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23810 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23811 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23812 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23813 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23814 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23815 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23816 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23817 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23818 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23819 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23820 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23821 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23822 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23823 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23824 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23825 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23826 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23827 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23828 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23829 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23830 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23831 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23832 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23833 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23834 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23835 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23836 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23837 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23838 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23839 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23840 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23841 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23842 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23843 "runtime/libprofile/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libprofile/Makefile" ;;
23844 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23845 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23846 "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
23847 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
23848 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23849 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23850 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23851 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23852 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23853 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23854 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23855 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23856 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23857 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23858 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23859 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23860 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23861 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23862 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23863 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23864 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23865 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23866 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23867 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23868 "test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ;;
23869 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23870 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23871 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23872 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23873 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23874 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23875 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23876 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23877 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23878 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23879 "test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ;;
23880 "test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ;;
23881 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23882 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23883 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23884 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23885 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23886 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23887 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23888 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23889 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23890 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23891 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23892 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23893 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23894 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23895 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23896 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23897 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23898 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23899 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23900 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23901 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23902 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23903 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23904 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23905 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23906 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23907 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23908 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23909 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23910 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23911 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23912 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23913 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23914 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23915 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23916 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23917 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23918 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23919 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23920 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23921 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23922 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23923 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23924 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23925 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23926 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23927 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23928 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23929 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23930 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23931 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23932 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23933 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23934 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23935 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23936 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23937 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23938 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23939 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23940 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23941 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23942 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23943 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23944 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23945 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23946 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23947 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23948 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23949 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23950 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23951 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23952 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23953 "tools/llvm-nm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-nm/Makefile" ;;
23954 "tools/llvm-prof/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-prof/Makefile" ;;
23955 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23956 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23957 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23958 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23959 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23960 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23961 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23962 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23963 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23964 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23965 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23966 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23967 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23968 { (exit 1); exit 1; }; };;
23972 # If the user did not use the arguments to specify the items to instantiate,
23973 # then the envvar interface is used. Set only those that are not.
23974 # We use the long form for the default assignment because of an extremely
23975 # bizarre bug on SunOS 4.1.3.
23976 if $ac_need_defaults; then
23977 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23978 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23979 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23982 # Have a temporary directory for convenience. Make it in the build tree
23983 # simply because there is no reason to put it here, and in addition,
23984 # creating and moving files from /tmp can sometimes cause problems.
23985 # Create a temporary directory, and hook for its removal unless debugging.
23988 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23989 trap '{ (exit 1); exit 1; }' 1 2 13 15
23992 # Create a (secure) tmp directory for tmp files.
23995 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23996 test -n "$tmp" && test -d "$tmp"
23999 tmp=./confstat$$-$RANDOM
24000 (umask 077 && mkdir $tmp)
24003 echo "$me: cannot create a temporary directory in ." >&2
24004 { (exit 1); exit 1; }
24009 cat >>$CONFIG_STATUS <<_ACEOF
24012 # CONFIG_FILES section.
24015 # No need to generate the scripts if there are no CONFIG_FILES.
24016 # This happens for instance when ./config.status config.h
24017 if test -n "\$CONFIG_FILES"; then
24018 # Protect against being on the right side of a sed subst in config.status.
24019 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24020 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24021 s,@SHELL@,$SHELL,;t t
24022 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24023 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24024 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24025 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24026 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24027 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24028 s,@exec_prefix@,$exec_prefix,;t t
24029 s,@prefix@,$prefix,;t t
24030 s,@program_transform_name@,$program_transform_name,;t t
24031 s,@bindir@,$bindir,;t t
24032 s,@sbindir@,$sbindir,;t t
24033 s,@libexecdir@,$libexecdir,;t t
24034 s,@datadir@,$datadir,;t t
24035 s,@sysconfdir@,$sysconfdir,;t t
24036 s,@sharedstatedir@,$sharedstatedir,;t t
24037 s,@localstatedir@,$localstatedir,;t t
24038 s,@libdir@,$libdir,;t t
24039 s,@includedir@,$includedir,;t t
24040 s,@oldincludedir@,$oldincludedir,;t t
24041 s,@infodir@,$infodir,;t t
24042 s,@mandir@,$mandir,;t t
24043 s,@build_alias@,$build_alias,;t t
24044 s,@host_alias@,$host_alias,;t t
24045 s,@target_alias@,$target_alias,;t t
24046 s,@DEFS@,$DEFS,;t t
24047 s,@ECHO_C@,$ECHO_C,;t t
24048 s,@ECHO_N@,$ECHO_N,;t t
24049 s,@ECHO_T@,$ECHO_T,;t t
24050 s,@LIBS@,$LIBS,;t t
24051 s,@subdirs@,$subdirs,;t t
24052 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24053 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24054 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24055 s,@build@,$build,;t t
24056 s,@build_cpu@,$build_cpu,;t t
24057 s,@build_vendor@,$build_vendor,;t t
24058 s,@build_os@,$build_os,;t t
24059 s,@host@,$host,;t t
24060 s,@host_cpu@,$host_cpu,;t t
24061 s,@host_vendor@,$host_vendor,;t t
24062 s,@host_os@,$host_os,;t t
24063 s,@target@,$target,;t t
24064 s,@target_cpu@,$target_cpu,;t t
24065 s,@target_vendor@,$target_vendor,;t t
24066 s,@target_os@,$target_os,;t t
24068 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
24069 s,@ARCH@,$ARCH,;t t
24071 s,@CXXFLAGS@,$CXXFLAGS,;t t
24072 s,@LDFLAGS@,$LDFLAGS,;t t
24073 s,@CPPFLAGS@,$CPPFLAGS,;t t
24074 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
24075 s,@EXEEXT@,$EXEEXT,;t t
24076 s,@OBJEXT@,$OBJEXT,;t t
24078 s,@CFLAGS@,$CFLAGS,;t t
24079 s,@ac_ct_CC@,$ac_ct_CC,;t t
24081 s,@ifGNUmake@,$ifGNUmake,;t t
24083 s,@LEXLIB@,$LEXLIB,;t t
24084 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
24085 s,@YACC@,$YACC,;t t
24086 s,@EGREP@,$EGREP,;t t
24087 s,@LN_S@,$LN_S,;t t
24088 s,@ECHO@,$ECHO,;t t
24090 s,@ac_ct_AR@,$ac_ct_AR,;t t
24091 s,@RANLIB@,$RANLIB,;t t
24092 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24093 s,@STRIP@,$STRIP,;t t
24094 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24095 s,@CXXCPP@,$CXXCPP,;t t
24097 s,@FFLAGS@,$FFLAGS,;t t
24098 s,@ac_ct_F77@,$ac_ct_F77,;t t
24099 s,@LIBTOOL@,$LIBTOOL,;t t
24100 s,@RPWD@,$RPWD,;t t
24103 s,@MKDIR@,$MKDIR,;t t
24104 s,@DATE@,$DATE,;t t
24107 s,@ETAGS@,$ETAGS,;t t
24108 s,@PYTHON@,$PYTHON,;t t
24109 s,@QMTEST@,$QMTEST,;t t
24110 s,@ALLOCA@,$ALLOCA,;t t
24111 s,@LIBOBJS@,$LIBOBJS,;t t
24112 s,@MMAP_FILE@,$MMAP_FILE,;t t
24113 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
24114 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
24115 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
24116 s,@USE_SPEC@,$USE_SPEC,;t t
24118 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
24121 s,@PAPIDIR@,$PAPIDIR,;t t
24122 s,@PURIFY@,$PURIFY,;t t
24123 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24128 cat >>$CONFIG_STATUS <<\_ACEOF
24129 # Split the substitutions into bite-sized pieces for seds with
24130 # small command number limits, like on Digital OSF/1 and HP-UX.
24131 ac_max_sed_lines=48
24132 ac_sed_frag=1 # Number of current file.
24133 ac_beg=1 # First line for current file.
24134 ac_end=$ac_max_sed_lines # Line after last line for current file.
24137 while $ac_more_lines; do
24138 if test $ac_beg -gt 1; then
24139 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24141 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24143 if test ! -s $tmp/subs.frag; then
24144 ac_more_lines=false
24146 # The purpose of the label and of the branching condition is to
24147 # speed up the sed processing (if there are no `@' at all, there
24148 # is no need to browse any of the substitutions).
24149 # These are the two extra sed commands mentioned above.
24151 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24152 if test -z "$ac_sed_cmds"; then
24153 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24155 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24157 ac_sed_frag=`expr $ac_sed_frag + 1`
24159 ac_end=`expr $ac_end + $ac_max_sed_lines`
24162 if test -z "$ac_sed_cmds"; then
24165 fi # test -n "$CONFIG_FILES"
24168 cat >>$CONFIG_STATUS <<\_ACEOF
24169 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24170 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24172 - | *:- | *:-:* ) # input from stdin
24174 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24175 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24176 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24177 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24178 * ) ac_file_in=$ac_file.in ;;
24181 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24182 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24183 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24184 X"$ac_file" : 'X\(//\)[^/]' \| \
24185 X"$ac_file" : 'X\(//\)$' \| \
24186 X"$ac_file" : 'X\(/\)' \| \
24187 . : '\(.\)' 2>/dev/null ||
24189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24190 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24191 /^X\(\/\/\)$/{ s//\1/; q; }
24192 /^X\(\/\).*/{ s//\1/; q; }
24194 { if $as_mkdir_p; then
24199 while test ! -d "$as_dir"; do
24200 as_dirs="$as_dir $as_dirs"
24201 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24202 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24203 X"$as_dir" : 'X\(//\)[^/]' \| \
24204 X"$as_dir" : 'X\(//\)$' \| \
24205 X"$as_dir" : 'X\(/\)' \| \
24206 . : '\(.\)' 2>/dev/null ||
24208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24209 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24210 /^X\(\/\/\)$/{ s//\1/; q; }
24211 /^X\(\/\).*/{ s//\1/; q; }
24214 test ! -n "$as_dirs" || mkdir $as_dirs
24215 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24216 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24217 { (exit 1); exit 1; }; }; }
24221 if test "$ac_dir" != .; then
24222 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24223 # A "../" for each directory in $ac_dir_suffix.
24224 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24226 ac_dir_suffix= ac_top_builddir=
24230 .) # No --srcdir option. We are building in place.
24232 if test -z "$ac_top_builddir"; then
24235 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24237 [\\/]* | ?:[\\/]* ) # Absolute path.
24238 ac_srcdir=$srcdir$ac_dir_suffix;
24239 ac_top_srcdir=$srcdir ;;
24240 *) # Relative path.
24241 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24242 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24244 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24246 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24247 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24248 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24249 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24253 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24254 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24257 if test x"$ac_file" != x-; then
24258 { echo "$as_me:$LINENO: creating $ac_file" >&5
24259 echo "$as_me: creating $ac_file" >&6;}
24262 # Let's still pretend it is `configure' which instantiates (i.e., don't
24263 # use $as_me), people would be surprised to read:
24264 # /* config.h. Generated by config.status. */
24265 if test x"$ac_file" = x-; then
24268 configure_input="$ac_file. "
24270 configure_input=$configure_input"Generated from `echo $ac_file_in |
24271 sed 's,.*/,,'` by configure."
24273 # First look for the input files in the build tree, otherwise in the
24275 ac_file_inputs=`IFS=:
24276 for f in $ac_file_in; do
24278 -) echo $tmp/stdin ;;
24280 # Absolute (can't be DOS-style, as IFS=:)
24281 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24282 echo "$as_me: error: cannot find input file: $f" >&2;}
24283 { (exit 1); exit 1; }; }
24286 if test -f "$f"; then
24289 elif test -f "$srcdir/$f"; then
24294 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24295 echo "$as_me: error: cannot find input file: $f" >&2;}
24296 { (exit 1); exit 1; }; }
24299 done` || { (exit 1); exit 1; }
24301 cat >>$CONFIG_STATUS <<_ACEOF
24305 cat >>$CONFIG_STATUS <<\_ACEOF
24307 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24308 s,@configure_input@,$configure_input,;t t
24309 s,@srcdir@,$ac_srcdir,;t t
24310 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24311 s,@top_srcdir@,$ac_top_srcdir,;t t
24312 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24313 s,@builddir@,$ac_builddir,;t t
24314 s,@abs_builddir@,$ac_abs_builddir,;t t
24315 s,@top_builddir@,$ac_top_builddir,;t t
24316 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24317 s,@INSTALL@,$ac_INSTALL,;t t
24318 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24320 if test x"$ac_file" != x-; then
24321 mv $tmp/out $ac_file
24329 cat >>$CONFIG_STATUS <<\_ACEOF
24332 # CONFIG_HEADER section.
24335 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24336 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24338 # ac_d sets the value in "#define NAME VALUE" lines.
24339 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24340 ac_dB='[ ].*$,\1#\2'
24343 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24344 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24345 ac_uB='$,\1#\2define\3'
24349 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24350 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24352 - | *:- | *:-:* ) # input from stdin
24354 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24355 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24356 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24357 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24358 * ) ac_file_in=$ac_file.in ;;
24361 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24362 echo "$as_me: creating $ac_file" >&6;}
24364 # First look for the input files in the build tree, otherwise in the
24366 ac_file_inputs=`IFS=:
24367 for f in $ac_file_in; do
24369 -) echo $tmp/stdin ;;
24371 # Absolute (can't be DOS-style, as IFS=:)
24372 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24373 echo "$as_me: error: cannot find input file: $f" >&2;}
24374 { (exit 1); exit 1; }; }
24377 if test -f "$f"; then
24380 elif test -f "$srcdir/$f"; then
24385 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24386 echo "$as_me: error: cannot find input file: $f" >&2;}
24387 { (exit 1); exit 1; }; }
24390 done` || { (exit 1); exit 1; }
24391 # Remove the trailing spaces.
24392 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24396 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24397 # `conftest.undefs', that substitutes the proper values into
24398 # config.h.in to produce config.h. The first handles `#define'
24399 # templates, and the second `#undef' templates.
24400 # And first: Protect against being on the right side of a sed subst in
24401 # config.status. Protect against being in an unquoted here document
24402 # in config.status.
24403 rm -f conftest.defines conftest.undefs
24404 # Using a here document instead of a string reduces the quoting nightmare.
24405 # Putting comments in sed scripts is not portable.
24407 # `end' is used to avoid that the second main sed command (meant for
24408 # 0-ary CPP macros) applies to n-ary macro definitions.
24409 # See the Autoconf documentation for `clear'.
24410 cat >confdef2sed.sed <<\_ACEOF
24415 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24417 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24420 # If some macros were called several times there might be several times
24421 # the same #defines, which is useless. Nevertheless, we may not want to
24422 # sort them, since we want the *last* AC-DEFINE to be honored.
24423 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24424 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24425 rm -f confdef2sed.sed
24427 # This sed command replaces #undef with comments. This is necessary, for
24428 # example, in the case of _POSIX_SOURCE, which is predefined and required
24429 # on some systems where configure will not decide to define it.
24430 cat >>conftest.undefs <<\_ACEOF
24431 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24434 # Break up conftest.defines because some shells have a limit on the size
24435 # of here documents, and old seds have small limits too (100 cmds).
24436 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24437 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24438 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24439 echo ' :' >>$CONFIG_STATUS
24440 rm -f conftest.tail
24441 while grep . conftest.defines >/dev/null
24443 # Write a limited-size here document to $tmp/defines.sed.
24444 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24445 # Speed up: don't consider the non `#define' lines.
24446 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24447 # Work around the forget-to-reset-the-flag bug.
24448 echo 't clr' >>$CONFIG_STATUS
24449 echo ': clr' >>$CONFIG_STATUS
24450 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24452 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24454 mv $tmp/out $tmp/in
24456 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24457 rm -f conftest.defines
24458 mv conftest.tail conftest.defines
24460 rm -f conftest.defines
24461 echo ' fi # grep' >>$CONFIG_STATUS
24462 echo >>$CONFIG_STATUS
24464 # Break up conftest.undefs because some shells have a limit on the size
24465 # of here documents, and old seds have small limits too (100 cmds).
24466 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24467 rm -f conftest.tail
24468 while grep . conftest.undefs >/dev/null
24470 # Write a limited-size here document to $tmp/undefs.sed.
24471 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24472 # Speed up: don't consider the non `#undef'
24473 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24474 # Work around the forget-to-reset-the-flag bug.
24475 echo 't clr' >>$CONFIG_STATUS
24476 echo ': clr' >>$CONFIG_STATUS
24477 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24479 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24481 mv $tmp/out $tmp/in
24483 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24484 rm -f conftest.undefs
24485 mv conftest.tail conftest.undefs
24487 rm -f conftest.undefs
24489 cat >>$CONFIG_STATUS <<\_ACEOF
24490 # Let's still pretend it is `configure' which instantiates (i.e., don't
24491 # use $as_me), people would be surprised to read:
24492 # /* config.h. Generated by config.status. */
24493 if test x"$ac_file" = x-; then
24494 echo "/* Generated by configure. */" >$tmp/config.h
24496 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24498 cat $tmp/in >>$tmp/config.h
24500 if test x"$ac_file" != x-; then
24501 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24502 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24503 echo "$as_me: $ac_file is unchanged" >&6;}
24505 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24506 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24507 X"$ac_file" : 'X\(//\)[^/]' \| \
24508 X"$ac_file" : 'X\(//\)$' \| \
24509 X"$ac_file" : 'X\(/\)' \| \
24510 . : '\(.\)' 2>/dev/null ||
24512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24513 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24514 /^X\(\/\/\)$/{ s//\1/; q; }
24515 /^X\(\/\).*/{ s//\1/; q; }
24517 { if $as_mkdir_p; then
24522 while test ! -d "$as_dir"; do
24523 as_dirs="$as_dir $as_dirs"
24524 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24525 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24526 X"$as_dir" : 'X\(//\)[^/]' \| \
24527 X"$as_dir" : 'X\(//\)$' \| \
24528 X"$as_dir" : 'X\(/\)' \| \
24529 . : '\(.\)' 2>/dev/null ||
24531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24532 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24533 /^X\(\/\/\)$/{ s//\1/; q; }
24534 /^X\(\/\).*/{ s//\1/; q; }
24537 test ! -n "$as_dirs" || mkdir $as_dirs
24538 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24539 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24540 { (exit 1); exit 1; }; }; }
24543 mv $tmp/config.h $ac_file
24547 rm -f $tmp/config.h
24551 cat >>$CONFIG_STATUS <<\_ACEOF
24554 # CONFIG_COMMANDS section.
24556 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24557 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24558 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24559 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24560 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24561 X"$ac_dest" : 'X\(//\)[^/]' \| \
24562 X"$ac_dest" : 'X\(//\)$' \| \
24563 X"$ac_dest" : 'X\(/\)' \| \
24564 . : '\(.\)' 2>/dev/null ||
24566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24567 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24568 /^X\(\/\/\)$/{ s//\1/; q; }
24569 /^X\(\/\).*/{ s//\1/; q; }
24573 if test "$ac_dir" != .; then
24574 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24575 # A "../" for each directory in $ac_dir_suffix.
24576 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24578 ac_dir_suffix= ac_top_builddir=
24582 .) # No --srcdir option. We are building in place.
24584 if test -z "$ac_top_builddir"; then
24587 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24589 [\\/]* | ?:[\\/]* ) # Absolute path.
24590 ac_srcdir=$srcdir$ac_dir_suffix;
24591 ac_top_srcdir=$srcdir ;;
24592 *) # Relative path.
24593 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24594 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24596 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24598 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24599 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24600 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24601 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24604 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24605 echo "$as_me: executing $ac_dest commands" >&6;}
24607 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24608 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24609 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24610 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24611 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24612 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24613 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24614 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24615 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24616 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24617 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24618 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24619 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24620 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24621 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24622 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24623 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24624 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24625 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24626 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24627 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24628 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24629 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24630 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24631 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24632 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24633 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24634 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24635 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24636 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24637 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24638 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24639 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24640 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24641 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24642 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24643 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24644 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24645 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24646 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24647 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24648 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24649 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24650 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24651 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24652 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24653 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24654 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24655 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24656 runtime/libprofile/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libprofile/Makefile runtime/libprofile/Makefile ;;
24657 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24658 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24659 test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;;
24660 test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;;
24661 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24662 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24663 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24664 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24665 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24666 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24667 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24668 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24669 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24670 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24671 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24672 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24673 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24674 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24675 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24676 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24677 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24678 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24679 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 ;;
24680 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 ;;
24681 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 ;;
24682 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 ;;
24683 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 ;;
24684 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 ;;
24685 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 ;;
24686 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 ;;
24687 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 ;;
24688 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 ;;
24689 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 ;;
24690 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 ;;
24691 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 ;;
24692 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 ;;
24693 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 ;;
24694 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 ;;
24695 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 ;;
24696 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 ;;
24697 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 ;;
24698 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24699 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24700 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24701 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24702 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 ;;
24703 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 ;;
24704 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 ;;
24705 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24706 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 ;;
24707 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 ;;
24708 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 ;;
24709 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 ;;
24710 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 ;;
24711 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 ;;
24712 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 ;;
24713 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 ;;
24714 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 ;;
24715 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 ;;
24716 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 ;;
24717 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 ;;
24718 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 ;;
24719 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 ;;
24720 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 ;;
24721 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 ;;
24722 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 ;;
24723 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 ;;
24724 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 ;;
24725 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 ;;
24726 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 ;;
24727 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 ;;
24728 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 ;;
24729 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 ;;
24730 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 ;;
24731 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 ;;
24732 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 ;;
24733 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 ;;
24734 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 ;;
24735 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 ;;
24736 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 ;;
24737 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 ;;
24738 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24739 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24740 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24741 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24742 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 ;;
24743 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 ;;
24744 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 ;;
24745 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 ;;
24746 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24747 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24748 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 ;;
24749 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24750 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 ;;
24751 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 ;;
24752 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 ;;
24753 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24754 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24755 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24756 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24757 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24758 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24759 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24760 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24761 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24762 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24763 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24764 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24765 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24766 tools/llvm-nm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-nm/Makefile tools/llvm-nm/Makefile ;;
24767 tools/llvm-prof/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-prof/Makefile tools/llvm-prof/Makefile ;;
24768 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24769 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24770 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24771 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24772 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24773 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24774 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24775 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24776 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24777 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24782 cat >>$CONFIG_STATUS <<\_ACEOF
24784 { (exit 0); exit 0; }
24786 chmod +x $CONFIG_STATUS
24787 ac_clean_files=$ac_clean_files_save
24790 # configure is writing to config.log, and then calls config.status.
24791 # config.status does its own redirection, appending to config.log.
24792 # Unfortunately, on DOS this fails, as config.log is still kept open
24793 # by configure, so config.status won't be able to write to it; its
24794 # output is simply discarded. So we exec the FD to /dev/null,
24795 # effectively closing config.log, so it can be properly (re)opened and
24796 # appended to by config.status. When coming back to configure, we
24797 # need to make the FD available again.
24798 if test "$no_create" != yes; then
24800 ac_config_status_args=
24801 test "$silent" = yes &&
24802 ac_config_status_args="$ac_config_status_args --quiet"
24804 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24806 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24807 # would make configure fail if this is the last instruction.
24808 $ac_cs_success || { (exit 1); exit 1; }
24812 # CONFIG_SUBDIRS section.
24814 if test "$no_recursion" != yes; then
24816 # Remove --cache-file and --srcdir arguments so they do not pile up.
24817 ac_sub_configure_args=
24819 for ac_arg in $ac_configure_args; do
24820 if test -n "$ac_prev"; then
24825 -cache-file | --cache-file | --cache-fil | --cache-fi \
24826 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24827 ac_prev=cache_file ;;
24828 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24829 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24832 --config-cache | -C)
24834 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24836 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24838 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24840 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24842 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24846 # Always prepend --prefix to ensure using the same prefix
24847 # in subdir configurations.
24848 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24851 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24853 # Do not complain, so a configure script can configure whichever
24854 # parts of a large source tree are present.
24855 test -d $srcdir/$ac_dir || continue
24857 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24858 echo "$as_me: configuring in $ac_dir" >&6;}
24859 { if $as_mkdir_p; then
24864 while test ! -d "$as_dir"; do
24865 as_dirs="$as_dir $as_dirs"
24866 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24867 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24868 X"$as_dir" : 'X\(//\)[^/]' \| \
24869 X"$as_dir" : 'X\(//\)$' \| \
24870 X"$as_dir" : 'X\(/\)' \| \
24871 . : '\(.\)' 2>/dev/null ||
24873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24875 /^X\(\/\/\)$/{ s//\1/; q; }
24876 /^X\(\/\).*/{ s//\1/; q; }
24879 test ! -n "$as_dirs" || mkdir $as_dirs
24880 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24881 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24882 { (exit 1); exit 1; }; }; }
24886 if test "$ac_dir" != .; then
24887 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24888 # A "../" for each directory in $ac_dir_suffix.
24889 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24891 ac_dir_suffix= ac_top_builddir=
24895 .) # No --srcdir option. We are building in place.
24897 if test -z "$ac_top_builddir"; then
24900 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24902 [\\/]* | ?:[\\/]* ) # Absolute path.
24903 ac_srcdir=$srcdir$ac_dir_suffix;
24904 ac_top_srcdir=$srcdir ;;
24905 *) # Relative path.
24906 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24907 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24909 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24911 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24912 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24913 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24914 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24919 # Check for guested configure; otherwise get Cygnus style configure.
24920 if test -f $ac_srcdir/configure.gnu; then
24921 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
24922 elif test -f $ac_srcdir/configure; then
24923 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
24924 elif test -f $ac_srcdir/configure.in; then
24925 ac_sub_configure=$ac_configure
24927 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24928 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24932 # The recursion is here.
24933 if test -n "$ac_sub_configure"; then
24934 # Make the cache file name correct relative to the subdirectory.
24935 case $cache_file in
24936 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
24937 *) # Relative path.
24938 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
24941 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24942 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24943 # The eval makes quoting arguments work.
24944 eval $ac_sub_configure $ac_sub_configure_args \
24945 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24946 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24947 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24948 { (exit 1); exit 1; }; }