2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 ac_subdirs_all="$ac_subdirs_all projects/reopt"
430 ac_subdirs_all="$ac_subdirs_all projects/poolalloc"
431 # Factoring default headers for most tests.
432 ac_includes_default="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_unique_file=""Makefile.config.in""
469 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS subdirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR PURIFY LTLIBOBJS'
472 # Initialize some variables set by options.
474 ac_init_version=false
475 # The variables have the same names as the options, with
476 # dashes changed to underlines.
484 program_transform_name=s,x,x,
492 # Installation directory options.
493 # These are left unexpanded so users can "make install exec_prefix=/foo"
494 # and all the variables that are supposed to be based on exec_prefix
495 # by default will actually change.
496 # Use braces instead of parens because sh, perl, etc. also accept them.
497 bindir='${exec_prefix}/bin'
498 sbindir='${exec_prefix}/sbin'
499 libexecdir='${exec_prefix}/libexec'
500 datadir='${prefix}/share'
501 sysconfdir='${prefix}/etc'
502 sharedstatedir='${prefix}/com'
503 localstatedir='${prefix}/var'
504 libdir='${exec_prefix}/lib'
505 includedir='${prefix}/include'
506 oldincludedir='/usr/include'
507 infodir='${prefix}/info'
508 mandir='${prefix}/man'
513 # If the previous option needs an argument, assign it.
514 if test -n "$ac_prev"; then
515 eval "$ac_prev=\$ac_option"
520 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir | --bindir | --bindi | --bind | --bin | --bi)
528 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
531 -build | --build | --buil | --bui | --bu)
532 ac_prev=build_alias ;;
533 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
534 build_alias=$ac_optarg ;;
536 -cache-file | --cache-file | --cache-fil | --cache-fi \
537 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
538 ac_prev=cache_file ;;
539 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
540 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
541 cache_file=$ac_optarg ;;
544 cache_file=config.cache ;;
546 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
548 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
550 datadir=$ac_optarg ;;
552 -disable-* | --disable-*)
553 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559 eval "enable_$ac_feature=no" ;;
561 -enable-* | --enable-*)
562 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566 { (exit 1); exit 1; }; }
567 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
569 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572 eval "enable_$ac_feature='$ac_optarg'" ;;
574 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
575 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
576 | --exec | --exe | --ex)
577 ac_prev=exec_prefix ;;
578 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
579 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
580 | --exec=* | --exe=* | --ex=*)
581 exec_prefix=$ac_optarg ;;
583 -gas | --gas | --ga | --g)
584 # Obsolete; use --with-gas.
587 -help | --help | --hel | --he | -h)
589 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
590 ac_init_help=recursive ;;
591 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
592 ac_init_help=short ;;
594 -host | --host | --hos | --ho)
595 ac_prev=host_alias ;;
596 -host=* | --host=* | --hos=* | --ho=*)
597 host_alias=$ac_optarg ;;
599 -includedir | --includedir | --includedi | --included | --include \
600 | --includ | --inclu | --incl | --inc)
601 ac_prev=includedir ;;
602 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
603 | --includ=* | --inclu=* | --incl=* | --inc=*)
604 includedir=$ac_optarg ;;
606 -infodir | --infodir | --infodi | --infod | --info | --inf)
608 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
609 infodir=$ac_optarg ;;
611 -libdir | --libdir | --libdi | --libd)
613 -libdir=* | --libdir=* | --libdi=* | --libd=*)
616 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
617 | --libexe | --libex | --libe)
618 ac_prev=libexecdir ;;
619 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
620 | --libexe=* | --libex=* | --libe=*)
621 libexecdir=$ac_optarg ;;
623 -localstatedir | --localstatedir | --localstatedi | --localstated \
624 | --localstate | --localstat | --localsta | --localst \
625 | --locals | --local | --loca | --loc | --lo)
626 ac_prev=localstatedir ;;
627 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
628 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
629 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
630 localstatedir=$ac_optarg ;;
632 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
634 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
638 # Obsolete; use --without-fp.
641 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
642 | --no-cr | --no-c | -n)
645 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
646 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
649 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
650 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
651 | --oldin | --oldi | --old | --ol | --o)
652 ac_prev=oldincludedir ;;
653 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
654 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
655 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
656 oldincludedir=$ac_optarg ;;
658 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
660 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
663 -program-prefix | --program-prefix | --program-prefi | --program-pref \
664 | --program-pre | --program-pr | --program-p)
665 ac_prev=program_prefix ;;
666 -program-prefix=* | --program-prefix=* | --program-prefi=* \
667 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
668 program_prefix=$ac_optarg ;;
670 -program-suffix | --program-suffix | --program-suffi | --program-suff \
671 | --program-suf | --program-su | --program-s)
672 ac_prev=program_suffix ;;
673 -program-suffix=* | --program-suffix=* | --program-suffi=* \
674 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
675 program_suffix=$ac_optarg ;;
677 -program-transform-name | --program-transform-name \
678 | --program-transform-nam | --program-transform-na \
679 | --program-transform-n | --program-transform- \
680 | --program-transform | --program-transfor \
681 | --program-transfo | --program-transf \
682 | --program-trans | --program-tran \
683 | --progr-tra | --program-tr | --program-t)
684 ac_prev=program_transform_name ;;
685 -program-transform-name=* | --program-transform-name=* \
686 | --program-transform-nam=* | --program-transform-na=* \
687 | --program-transform-n=* | --program-transform-=* \
688 | --program-transform=* | --program-transfor=* \
689 | --program-transfo=* | --program-transf=* \
690 | --program-trans=* | --program-tran=* \
691 | --progr-tra=* | --program-tr=* | --program-t=*)
692 program_transform_name=$ac_optarg ;;
694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
695 | -silent | --silent | --silen | --sile | --sil)
698 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
700 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
702 sbindir=$ac_optarg ;;
704 -sharedstatedir | --sharedstatedir | --sharedstatedi \
705 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
706 | --sharedst | --shareds | --shared | --share | --shar \
708 ac_prev=sharedstatedir ;;
709 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
710 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
711 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
713 sharedstatedir=$ac_optarg ;;
715 -site | --site | --sit)
717 -site=* | --site=* | --sit=*)
720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
725 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
726 | --syscon | --sysco | --sysc | --sys | --sy)
727 ac_prev=sysconfdir ;;
728 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
729 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
730 sysconfdir=$ac_optarg ;;
732 -target | --target | --targe | --targ | --tar | --ta | --t)
733 ac_prev=target_alias ;;
734 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
735 target_alias=$ac_optarg ;;
737 -v | -verbose | --verbose | --verbos | --verbo | --verb)
740 -version | --version | --versio | --versi | --vers | -V)
744 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
747 { echo "$as_me: error: invalid package name: $ac_package" >&2
748 { (exit 1); exit 1; }; }
749 ac_package=`echo $ac_package| sed 's/-/_/g'`
751 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
754 eval "with_$ac_package='$ac_optarg'" ;;
756 -without-* | --without-*)
757 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
760 { echo "$as_me: error: invalid package name: $ac_package" >&2
761 { (exit 1); exit 1; }; }
762 ac_package=`echo $ac_package | sed 's/-/_/g'`
763 eval "with_$ac_package=no" ;;
766 # Obsolete; use --with-x.
769 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
770 | --x-incl | --x-inc | --x-in | --x-i)
771 ac_prev=x_includes ;;
772 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
773 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
774 x_includes=$ac_optarg ;;
776 -x-libraries | --x-libraries | --x-librarie | --x-librari \
777 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
778 ac_prev=x_libraries ;;
779 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
780 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
781 x_libraries=$ac_optarg ;;
783 -*) { echo "$as_me: error: unrecognized option: $ac_option
784 Try \`$0 --help' for more information." >&2
785 { (exit 1); exit 1; }; }
789 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
792 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793 { (exit 1); exit 1; }; }
794 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
795 eval "$ac_envvar='$ac_optarg'"
799 # FIXME: should be removed in autoconf 3.0.
800 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
809 if test -n "$ac_prev"; then
810 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
811 { echo "$as_me: error: missing argument to $ac_option" >&2
812 { (exit 1); exit 1; }; }
815 # Be sure to have absolute paths.
816 for ac_var in exec_prefix prefix
818 eval ac_val=$`echo $ac_var`
820 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
821 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822 { (exit 1); exit 1; }; };;
826 # Be sure to have absolute paths.
827 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828 localstatedir libdir includedir oldincludedir infodir mandir
830 eval ac_val=$`echo $ac_var`
832 [\\/$]* | ?:[\\/]* ) ;;
833 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
834 { (exit 1); exit 1; }; };;
838 # There might be people who depend on the old broken behavior: `$host'
839 # used to hold the argument of --host etc.
840 # FIXME: To remove some day.
845 # FIXME: To remove some day.
846 if test "x$host_alias" != x; then
847 if test "x$build_alias" = x; then
848 cross_compiling=maybe
849 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
850 If a cross compiler is detected then cross compile mode will be used." >&2
851 elif test "x$build_alias" != "x$host_alias"; then
857 test -n "$host_alias" && ac_tool_prefix=$host_alias-
859 test "$silent" = yes && exec 6>/dev/null
862 # Find the source files, if location was not specified.
863 if test -z "$srcdir"; then
864 ac_srcdir_defaulted=yes
865 # Try the directory containing this script, then its parent.
866 ac_confdir=`(dirname "$0") 2>/dev/null ||
867 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868 X"$0" : 'X\(//\)[^/]' \| \
869 X"$0" : 'X\(//\)$' \| \
870 X"$0" : 'X\(/\)' \| \
871 . : '\(.\)' 2>/dev/null ||
873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875 /^X\(\/\/\)$/{ s//\1/; q; }
876 /^X\(\/\).*/{ s//\1/; q; }
879 if test ! -r $srcdir/$ac_unique_file; then
883 ac_srcdir_defaulted=no
885 if test ! -r $srcdir/$ac_unique_file; then
886 if test "$ac_srcdir_defaulted" = yes; then
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
888 { (exit 1); exit 1; }; }
890 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891 { (exit 1); exit 1; }; }
894 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
895 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896 { (exit 1); exit 1; }; }
897 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898 ac_env_build_alias_set=${build_alias+set}
899 ac_env_build_alias_value=$build_alias
900 ac_cv_env_build_alias_set=${build_alias+set}
901 ac_cv_env_build_alias_value=$build_alias
902 ac_env_host_alias_set=${host_alias+set}
903 ac_env_host_alias_value=$host_alias
904 ac_cv_env_host_alias_set=${host_alias+set}
905 ac_cv_env_host_alias_value=$host_alias
906 ac_env_target_alias_set=${target_alias+set}
907 ac_env_target_alias_value=$target_alias
908 ac_cv_env_target_alias_set=${target_alias+set}
909 ac_cv_env_target_alias_value=$target_alias
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_env_CPPFLAGS_value=$CPPFLAGS
924 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
925 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
926 ac_env_CC_set=${CC+set}
928 ac_cv_env_CC_set=${CC+set}
929 ac_cv_env_CC_value=$CC
930 ac_env_CFLAGS_set=${CFLAGS+set}
931 ac_env_CFLAGS_value=$CFLAGS
932 ac_cv_env_CFLAGS_set=${CFLAGS+set}
933 ac_cv_env_CFLAGS_value=$CFLAGS
934 ac_env_CPP_set=${CPP+set}
935 ac_env_CPP_value=$CPP
936 ac_cv_env_CPP_set=${CPP+set}
937 ac_cv_env_CPP_value=$CPP
938 ac_env_CXXCPP_set=${CXXCPP+set}
939 ac_env_CXXCPP_value=$CXXCPP
940 ac_cv_env_CXXCPP_set=${CXXCPP+set}
941 ac_cv_env_CXXCPP_value=$CXXCPP
942 ac_env_F77_set=${F77+set}
943 ac_env_F77_value=$F77
944 ac_cv_env_F77_set=${F77+set}
945 ac_cv_env_F77_value=$F77
946 ac_env_FFLAGS_set=${FFLAGS+set}
947 ac_env_FFLAGS_value=$FFLAGS
948 ac_cv_env_FFLAGS_set=${FFLAGS+set}
949 ac_cv_env_FFLAGS_value=$FFLAGS
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
958 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1012 --build=BUILD configure for building on BUILD [guessed]
1013 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1014 --target=TARGET configure for building compilers for TARGET [HOST]
1018 if test -n "$ac_init_help"; then
1019 case $ac_init_help in
1020 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1025 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1026 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1027 --enable-shared[=PKGS]
1028 build shared libraries [default=yes]
1029 --enable-static[=PKGS]
1030 build static libraries [default=yes]
1031 --enable-fast-install[=PKGS]
1032 optimize for fast installation [default=yes]
1033 --disable-libtool-lock avoid locking (might break parallel builds)
1034 --enable-purify Compile with purify (default is NO)
1035 --enable-optimized Compile with optimizations enabled (default is NO)
1036 --enable-spec Compile SPEC benchmarks (default is NO)
1037 --enable-precompiled_bytecode
1038 Use pre-compiled bytecode (default is NO)
1039 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1040 --enable-jit Enable Just In Time Compiling (default is YES)
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1045 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1046 --with-pic try to use only PIC/non-PIC objects [default=use
1049 include additional configurations [automatic]
1050 --with-spec Location of SPEC benchmarks
1051 --with-llvmgccdir Location of LLVM GCC front-end
1052 --with-bcrepos Location of Bytecode Repository
1053 --with-papi Location of PAPI
1054 --with-purify Location of purify program
1056 Some influential environment variables:
1057 CXX C++ compiler command
1058 CXXFLAGS C++ compiler flags
1059 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060 nonstandard directory <lib dir>
1061 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062 headers in a nonstandard directory <include dir>
1063 CC C compiler command
1064 CFLAGS C compiler flags
1066 CXXCPP C++ preprocessor
1067 F77 Fortran 77 compiler command
1068 FFLAGS Fortran 77 compiler flags
1070 Use these variables to override the choices made by `configure' or to help
1071 it to find libraries and programs with nonstandard names/locations.
1073 Report bugs to <llvmbugs@cs.uiuc.edu>.
1077 if test "$ac_init_help" = "recursive"; then
1078 # If there are subdirs, report their specific --help.
1080 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1081 test -d $ac_dir || continue
1084 if test "$ac_dir" != .; then
1085 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1086 # A "../" for each directory in $ac_dir_suffix.
1087 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1089 ac_dir_suffix= ac_top_builddir=
1093 .) # No --srcdir option. We are building in place.
1095 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1100 [\\/]* | ?:[\\/]* ) # Absolute path.
1101 ac_srcdir=$srcdir$ac_dir_suffix;
1102 ac_top_srcdir=$srcdir ;;
1104 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1105 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1107 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1109 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1110 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1111 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1112 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1115 # Check for guested configure; otherwise get Cygnus style configure.
1116 if test -f $ac_srcdir/configure.gnu; then
1118 $SHELL $ac_srcdir/configure.gnu --help=recursive
1119 elif test -f $ac_srcdir/configure; then
1121 $SHELL $ac_srcdir/configure --help=recursive
1122 elif test -f $ac_srcdir/configure.ac ||
1123 test -f $ac_srcdir/configure.in; then
1125 $ac_configure --help
1127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1133 test -n "$ac_init_help" && exit 0
1134 if $ac_init_version; then
1136 [LLVM] configure [1.0]
1137 generated by GNU Autoconf 2.57
1139 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1140 Free Software Foundation, Inc.
1141 This configure script is free software; the Free Software Foundation
1142 gives unlimited permission to copy, distribute and modify it.
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1151 It was created by [LLVM] $as_me [1.0], which was
1152 generated by GNU Autoconf 2.57. Invocation command line was
1163 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1169 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1172 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1173 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1174 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1176 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1177 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1178 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186 test -z "$as_dir" && as_dir=.
1187 echo "PATH: $as_dir"
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1211 ac_must_keep_next=false
1217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219 | -silent | --silent | --silen | --sile | --sil)
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1227 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228 if test $ac_must_keep_next = true; then
1229 ac_must_keep_next=false # Got value, back to normal.
1232 *=* | --config-cache | -C | -disable-* | --disable-* \
1233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235 | -with-* | --with-* | -without-* | --without-* | --x)
1236 case "$ac_configure_args0 " in
1237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 -* ) ac_must_keep_next=true ;;
1243 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244 # Get rid of the leading space.
1250 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1251 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log. We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close' the trap.
1258 trap 'exit_status=$?
1259 # Save into config.log some information that might help in debugging.
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1269 # The following way of writing the cache mishandles newlines in values,
1272 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1292 for ac_var in $ac_subst_vars
1294 eval ac_val=$`echo $ac_var`
1295 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -n "$ac_subst_files"; then
1306 for ac_var in $ac_subst_files
1308 eval ac_val=$`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1314 if test -s confdefs.h; then
1321 sed "/^$/d" confdefs.h | sort
1324 test "$ac_signal" != 0 &&
1325 echo "$as_me: caught signal $ac_signal"
1326 echo "$as_me: exit $exit_status"
1328 rm -f core core.* *.core &&
1329 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 for ac_signal in 1 2 13 15; do
1333 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 # Predefined preprocessor variables.
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372 if test "x$prefix" != xNONE; then
1373 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1375 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 for ac_site_file in $CONFIG_SITE; do
1379 if test -r "$ac_site_file"; then
1380 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382 sed 's/^/| /' "$ac_site_file" >&5
1387 if test -r "$cache_file"; then
1388 # Some versions of bash will fail to source /dev/null (special
1389 # files actually), so we avoid doing that.
1390 if test -f "$cache_file"; then
1391 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1394 [\\/]* | ?:[\\/]* ) . $cache_file;;
1395 *) . ./$cache_file;;
1399 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1404 # Check that the precious variables saved in the cache have kept the same
1406 ac_cache_corrupted=false
1407 for ac_var in `(set) 2>&1 |
1408 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410 eval ac_new_set=\$ac_env_${ac_var}_set
1411 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1412 eval ac_new_val="\$ac_env_${ac_var}_value"
1413 case $ac_old_set,$ac_new_set in
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417 ac_cache_corrupted=: ;;
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1424 if test "x$ac_old_val" != "x$ac_new_val"; then
1425 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1426 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1427 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1428 echo "$as_me: former value: $ac_old_val" >&2;}
1429 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1430 echo "$as_me: current value: $ac_new_val" >&2;}
1431 ac_cache_corrupted=:
1434 # Pass precious variables to config.status.
1435 if test "$ac_new_set" = set; then
1437 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1438 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1439 *) ac_arg=$ac_var=$ac_new_val ;;
1441 case " $ac_configure_args " in
1442 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1443 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1447 if $ac_cache_corrupted; then
1448 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1449 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1450 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1451 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1452 { (exit 1); exit 1; }; }
1456 ac_cpp='$CPP $CPPFLAGS'
1457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1489 for ac_dir in autoconf $srcdir/autoconf; do
1490 if test -f $ac_dir/install-sh; then
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1494 elif test -f $ac_dir/install.sh; then
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1498 elif test -f $ac_dir/shtool; then
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1507 { (exit 1); exit 1; }; }
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1514 if test ${srcdir} != "."
1516 if test -f ${srcdir}/include/Config/config.h
1518 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1519 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1520 { (exit 1); exit 1; }; }
1524 if test -d ${srcdir}/projects/reopt
1528 subdirs="$subdirs projects/reopt"
1532 if test -d ${srcdir}/projects/poolalloc
1536 subdirs="$subdirs projects/poolalloc"
1540 ac_config_headers="$ac_config_headers include/Config/config.h"
1542 ac_config_commands="$ac_config_commands Makefile"
1545 ac_config_commands="$ac_config_commands Makefile.common"
1548 ac_config_commands="$ac_config_commands Makefile.rules"
1551 ac_config_commands="$ac_config_commands lib/Makefile"
1554 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1557 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1560 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1563 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1566 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1569 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1572 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1575 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1578 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1581 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1584 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1587 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1590 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1593 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1596 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1599 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1602 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1605 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1608 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1611 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1614 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1617 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1620 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1623 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1626 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1629 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1632 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1635 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1638 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1641 ac_config_commands="$ac_config_commands runtime/Makefile"
1644 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1647 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1650 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1653 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1656 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1659 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1662 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1665 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1668 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1671 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1674 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1677 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1680 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1683 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1686 ac_config_commands="$ac_config_commands test/Makefile"
1689 ac_config_commands="$ac_config_commands test/Makefile.tests"
1692 ac_config_commands="$ac_config_commands test/QMTestDB/QMTest/llvm.py"
1695 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1698 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1701 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1704 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1707 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1710 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1713 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1716 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1719 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1722 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1725 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1728 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1731 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1734 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1737 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1740 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1743 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1746 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1749 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1752 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1755 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1758 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1761 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1764 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1767 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1770 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1773 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1776 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1779 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1782 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1785 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1788 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1791 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1794 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1797 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1800 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1803 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1806 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1809 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1812 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1815 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1818 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1821 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1824 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1827 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1830 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1833 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1836 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1839 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1842 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1845 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1848 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1851 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1854 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1857 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1860 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1863 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1866 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1869 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1872 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1875 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1878 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1881 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1884 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1887 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1890 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1893 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1896 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1899 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1902 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1905 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1908 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1911 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1914 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1917 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1920 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1923 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1926 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1929 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1932 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1935 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1938 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1941 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1944 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1947 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1950 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1953 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1956 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1959 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1962 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1965 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1968 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1971 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1974 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1977 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
1980 ac_config_commands="$ac_config_commands tools/Makefile"
1983 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1986 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1989 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1992 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1995 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1998 ac_config_commands="$ac_config_commands tools/llc/Makefile"
2001 ac_config_commands="$ac_config_commands tools/llee/Makefile"
2004 ac_config_commands="$ac_config_commands tools/lli/Makefile"
2007 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2010 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2013 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2016 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2019 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2022 ac_config_commands="$ac_config_commands www/docs/Makefile"
2025 ac_config_commands="$ac_config_commands projects/Makefile"
2028 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2031 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2034 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2037 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2040 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2043 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2046 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2049 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2052 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2055 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2058 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2061 ac_config_commands="$ac_config_commands support/Makefile"
2064 ac_config_commands="$ac_config_commands support/lib/Makefile"
2067 ac_config_commands="$ac_config_commands support/lib/Support/Makefile"
2070 ac_config_commands="$ac_config_commands support/tools/Makefile"
2073 ac_config_commands="$ac_config_commands support/tools/Burg/Makefile"
2076 ac_config_commands="$ac_config_commands support/tools/Burg/Doc/Makefile"
2079 ac_config_commands="$ac_config_commands support/tools/TableGen/Makefile"
2084 # Find a good install program. We prefer a C program (faster),
2085 # so one script is as good as another. But avoid the broken or
2086 # incompatible versions:
2087 # SysV /etc/install, /usr/sbin/install
2088 # SunOS /usr/etc/install
2089 # IRIX /sbin/install
2091 # AmigaOS /C/install, which installs bootblocks on floppy discs
2092 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2093 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2094 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2095 # ./install, which can be erroneously created by make from ./install.sh.
2096 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2097 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2098 if test -z "$INSTALL"; then
2099 if test "${ac_cv_path_install+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir=.
2107 # Account for people who put trailing slashes in PATH elements.
2109 ./ | .// | /cC/* | \
2110 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2113 # OSF1 and SCO ODT 3.0 have their own names for install.
2114 # Don't use installbsd from OSF since it installs stuff as root
2116 for ac_prog in ginstall scoinst install; do
2117 for ac_exec_ext in '' $ac_executable_extensions; do
2118 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2119 if test $ac_prog = install &&
2120 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2121 # AIX install. It has an incompatible calling convention.
2123 elif test $ac_prog = install &&
2124 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2125 # program-specific install script used by HP pwplus--don't use.
2128 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2140 if test "${ac_cv_path_install+set}" = set; then
2141 INSTALL=$ac_cv_path_install
2143 # As a last resort, use the slow shell script. We don't cache a
2144 # path for INSTALL within a source directory, because that will
2145 # break other packages using the cache if that directory is
2146 # removed, or if the path is relative.
2147 INSTALL=$ac_install_sh
2150 echo "$as_me:$LINENO: result: $INSTALL" >&5
2151 echo "${ECHO_T}$INSTALL" >&6
2153 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2154 # It thinks the first close brace ends the variable substitution.
2155 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2157 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2159 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2162 # Make sure we can run config.sub.
2163 $ac_config_sub sun4 >/dev/null 2>&1 ||
2164 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2165 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2166 { (exit 1); exit 1; }; }
2168 echo "$as_me:$LINENO: checking build system type" >&5
2169 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2170 if test "${ac_cv_build+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 ac_cv_build_alias=$build_alias
2174 test -z "$ac_cv_build_alias" &&
2175 ac_cv_build_alias=`$ac_config_guess`
2176 test -z "$ac_cv_build_alias" &&
2177 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2178 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2179 { (exit 1); exit 1; }; }
2180 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2181 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2182 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2183 { (exit 1); exit 1; }; }
2186 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2187 echo "${ECHO_T}$ac_cv_build" >&6
2189 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2190 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2191 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2194 echo "$as_me:$LINENO: checking host system type" >&5
2195 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2196 if test "${ac_cv_host+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 ac_cv_host_alias=$host_alias
2200 test -z "$ac_cv_host_alias" &&
2201 ac_cv_host_alias=$ac_cv_build_alias
2202 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2203 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2204 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2205 { (exit 1); exit 1; }; }
2208 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2209 echo "${ECHO_T}$ac_cv_host" >&6
2211 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2212 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2213 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2216 echo "$as_me:$LINENO: checking target system type" >&5
2217 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2218 if test "${ac_cv_target+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 ac_cv_target_alias=$target_alias
2222 test "x$ac_cv_target_alias" = "x" &&
2223 ac_cv_target_alias=$ac_cv_host_alias
2224 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2225 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2226 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2227 { (exit 1); exit 1; }; }
2230 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2231 echo "${ECHO_T}$ac_cv_target" >&6
2232 target=$ac_cv_target
2233 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2234 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2235 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2238 # The aliases save the names the user supplied, while $host etc.
2239 # will get canonicalized.
2240 test -n "$target_alias" &&
2241 test "$program_prefix$program_suffix$program_transform_name" = \
2243 program_prefix=${target_alias}-
2248 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2254 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2264 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2273 *sparc*solaris*) ARCH=Sparc
2280 ac_cpp='$CXXCPP $CPPFLAGS'
2281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2284 if test -n "$ac_tool_prefix"; then
2285 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2287 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2288 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2289 echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2291 if test "${ac_cv_prog_CXX+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 if test -n "$CXX"; then
2295 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2304 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 if test -n "$CXX"; then
2315 echo "$as_me:$LINENO: result: $CXX" >&5
2316 echo "${ECHO_T}$CXX" >&6
2318 echo "$as_me:$LINENO: result: no" >&5
2319 echo "${ECHO_T}no" >&6
2322 test -n "$CXX" && break
2325 if test -z "$CXX"; then
2327 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2329 # Extract the first word of "$ac_prog", so it can be a program name with args.
2330 set dummy $ac_prog; ac_word=$2
2331 echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2333 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 if test -n "$ac_ct_CXX"; then
2337 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir=.
2344 for ac_exec_ext in '' $ac_executable_extensions; do
2345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2346 ac_cv_prog_ac_ct_CXX="$ac_prog"
2347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2356 if test -n "$ac_ct_CXX"; then
2357 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2358 echo "${ECHO_T}$ac_ct_CXX" >&6
2360 echo "$as_me:$LINENO: result: no" >&5
2361 echo "${ECHO_T}no" >&6
2364 test -n "$ac_ct_CXX" && break
2366 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2372 # Provide some information about the compiler.
2373 echo "$as_me:$LINENO:" \
2374 "checking for C++ compiler version" >&5
2375 ac_compiler=`set X $ac_compile; echo $2`
2376 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2377 (eval $ac_compiler --version </dev/null >&5) 2>&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); }
2381 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2382 (eval $ac_compiler -v </dev/null >&5) 2>&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }
2386 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2387 (eval $ac_compiler -V </dev/null >&5) 2>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }
2392 cat >conftest.$ac_ext <<_ACEOF
2393 #line $LINENO "configure"
2396 cat confdefs.h >>conftest.$ac_ext
2397 cat >>conftest.$ac_ext <<_ACEOF
2398 /* end confdefs.h. */
2408 ac_clean_files_save=$ac_clean_files
2409 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2410 # Try to create an executable without -o first, disregard a.out.
2411 # It will help us diagnose broken compilers, and finding out an intuition
2413 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2414 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2415 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2416 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2417 (eval $ac_link_default) 2>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; then
2421 # Find the output, starting from the most likely. This scheme is
2422 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2425 # Be careful to initialize this variable, since it used to be cached.
2426 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2428 # b.out is created by i960 compilers.
2429 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2431 test -f "$ac_file" || continue
2433 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2436 # This is the source file.
2439 # We found the default executable, but exeext='' is most
2443 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2444 # FIXME: I believe we export ac_cv_exeext for Libtool,
2445 # but it would be cool to find out if it's true. Does anybody
2446 # maintain Libtool? --akim.
2454 echo "$as_me: failed program was:" >&5
2455 sed 's/^/| /' conftest.$ac_ext >&5
2457 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2458 See \`config.log' for more details." >&5
2459 echo "$as_me: error: C++ compiler cannot create executables
2460 See \`config.log' for more details." >&2;}
2461 { (exit 77); exit 77; }; }
2464 ac_exeext=$ac_cv_exeext
2465 echo "$as_me:$LINENO: result: $ac_file" >&5
2466 echo "${ECHO_T}$ac_file" >&6
2468 # Check the compiler produces executables we can run. If not, either
2469 # the compiler is broken, or we cross compile.
2470 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2471 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2472 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2473 # If not cross compiling, check that we can run a simple program.
2474 if test "$cross_compiling" != yes; then
2475 if { ac_try='./$ac_file'
2476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }; }; then
2483 if test "$cross_compiling" = maybe; then
2486 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2487 If you meant to cross compile, use \`--host'.
2488 See \`config.log' for more details." >&5
2489 echo "$as_me: error: cannot run C++ compiled programs.
2490 If you meant to cross compile, use \`--host'.
2491 See \`config.log' for more details." >&2;}
2492 { (exit 1); exit 1; }; }
2496 echo "$as_me:$LINENO: result: yes" >&5
2497 echo "${ECHO_T}yes" >&6
2499 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2500 ac_clean_files=$ac_clean_files_save
2501 # Check the compiler produces executables we can run. If not, either
2502 # the compiler is broken, or we cross compile.
2503 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2504 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2505 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2506 echo "${ECHO_T}$cross_compiling" >&6
2508 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2509 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2511 (eval $ac_link) 2>&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; then
2515 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2516 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2517 # work properly (i.e., refer to `conftest.exe'), while it won't with
2519 for ac_file in conftest.exe conftest conftest.*; do
2520 test -f "$ac_file" || continue
2522 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2523 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2530 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2531 See \`config.log' for more details." >&5
2532 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2533 See \`config.log' for more details." >&2;}
2534 { (exit 1); exit 1; }; }
2537 rm -f conftest$ac_cv_exeext
2538 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2539 echo "${ECHO_T}$ac_cv_exeext" >&6
2541 rm -f conftest.$ac_ext
2542 EXEEXT=$ac_cv_exeext
2544 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2545 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2546 if test "${ac_cv_objext+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 cat >conftest.$ac_ext <<_ACEOF
2550 #line $LINENO "configure"
2553 cat confdefs.h >>conftest.$ac_ext
2554 cat >>conftest.$ac_ext <<_ACEOF
2555 /* end confdefs.h. */
2565 rm -f conftest.o conftest.obj
2566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2567 (eval $ac_compile) 2>&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; then
2571 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2574 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2579 echo "$as_me: failed program was:" >&5
2580 sed 's/^/| /' conftest.$ac_ext >&5
2582 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2583 See \`config.log' for more details." >&5
2584 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2585 See \`config.log' for more details." >&2;}
2586 { (exit 1); exit 1; }; }
2589 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2591 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2592 echo "${ECHO_T}$ac_cv_objext" >&6
2593 OBJEXT=$ac_cv_objext
2595 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2596 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2597 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2598 echo $ECHO_N "(cached) $ECHO_C" >&6
2600 cat >conftest.$ac_ext <<_ACEOF
2601 #line $LINENO "configure"
2604 cat confdefs.h >>conftest.$ac_ext
2605 cat >>conftest.$ac_ext <<_ACEOF
2606 /* end confdefs.h. */
2619 rm -f conftest.$ac_objext
2620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2621 (eval $ac_compile) 2>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); } &&
2625 { ac_try='test -s conftest.$ac_objext'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; }; then
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2638 rm -f conftest.$ac_objext conftest.$ac_ext
2639 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2642 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2643 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2644 GXX=`test $ac_compiler_gnu = yes && echo yes`
2645 ac_test_CXXFLAGS=${CXXFLAGS+set}
2646 ac_save_CXXFLAGS=$CXXFLAGS
2648 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2649 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2650 if test "${ac_cv_prog_cxx_g+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 cat >conftest.$ac_ext <<_ACEOF
2654 #line $LINENO "configure"
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2669 rm -f conftest.$ac_objext
2670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2671 (eval $ac_compile) 2>&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); } &&
2675 { ac_try='test -s conftest.$ac_objext'
2676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; }; then
2681 ac_cv_prog_cxx_g=yes
2683 echo "$as_me: failed program was:" >&5
2684 sed 's/^/| /' conftest.$ac_ext >&5
2688 rm -f conftest.$ac_objext conftest.$ac_ext
2690 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2691 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2692 if test "$ac_test_CXXFLAGS" = set; then
2693 CXXFLAGS=$ac_save_CXXFLAGS
2694 elif test $ac_cv_prog_cxx_g = yes; then
2695 if test "$GXX" = yes; then
2701 if test "$GXX" = yes; then
2707 for ac_declaration in \
2709 '#include <stdlib.h>' \
2710 'extern "C" void std::exit (int) throw (); using std::exit;' \
2711 'extern "C" void std::exit (int); using std::exit;' \
2712 'extern "C" void exit (int) throw ();' \
2713 'extern "C" void exit (int);' \
2716 cat >conftest.$ac_ext <<_ACEOF
2717 #line $LINENO "configure"
2720 cat confdefs.h >>conftest.$ac_ext
2721 cat >>conftest.$ac_ext <<_ACEOF
2722 /* end confdefs.h. */
2733 rm -f conftest.$ac_objext
2734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2735 (eval $ac_compile) 2>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); } &&
2739 { ac_try='test -s conftest.$ac_objext'
2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2752 rm -f conftest.$ac_objext conftest.$ac_ext
2753 cat >conftest.$ac_ext <<_ACEOF
2754 #line $LINENO "configure"
2757 cat confdefs.h >>conftest.$ac_ext
2758 cat >>conftest.$ac_ext <<_ACEOF
2759 /* end confdefs.h. */
2769 rm -f conftest.$ac_objext
2770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2771 (eval $ac_compile) 2>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); } &&
2775 { ac_try='test -s conftest.$ac_objext'
2776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; }; then
2783 echo "$as_me: failed program was:" >&5
2784 sed 's/^/| /' conftest.$ac_ext >&5
2787 rm -f conftest.$ac_objext conftest.$ac_ext
2790 if test -n "$ac_declaration"; then
2791 echo '#ifdef __cplusplus' >>confdefs.h
2792 echo $ac_declaration >>confdefs.h
2793 echo '#endif' >>confdefs.h
2797 ac_cpp='$CPP $CPPFLAGS'
2798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2803 ac_cpp='$CPP $CPPFLAGS'
2804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2807 if test -n "$ac_tool_prefix"; then
2810 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2811 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2812 echo "$as_me:$LINENO: checking for $ac_word" >&5
2813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2814 if test "${ac_cv_prog_CC+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 if test -n "$CC"; then
2818 ac_cv_prog_CC="$CC" # Let the user override the test.
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir=.
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2827 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 if test -n "$CC"; then
2838 echo "$as_me:$LINENO: result: $CC" >&5
2839 echo "${ECHO_T}$CC" >&6
2841 echo "$as_me:$LINENO: result: no" >&5
2842 echo "${ECHO_T}no" >&6
2845 test -n "$CC" && break
2848 if test -z "$CC"; then
2852 # Extract the first word of "$ac_prog", so it can be a program name with args.
2853 set dummy $ac_prog; ac_word=$2
2854 echo "$as_me:$LINENO: checking for $ac_word" >&5
2855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2856 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2857 echo $ECHO_N "(cached) $ECHO_C" >&6
2859 if test -n "$ac_ct_CC"; then
2860 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 test -z "$as_dir" && as_dir=.
2867 for ac_exec_ext in '' $ac_executable_extensions; do
2868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2869 ac_cv_prog_ac_ct_CC="$ac_prog"
2870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2878 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2879 if test -n "$ac_ct_CC"; then
2880 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2881 echo "${ECHO_T}$ac_ct_CC" >&6
2883 echo "$as_me:$LINENO: result: no" >&5
2884 echo "${ECHO_T}no" >&6
2887 test -n "$ac_ct_CC" && break
2894 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2895 See \`config.log' for more details." >&5
2896 echo "$as_me: error: no acceptable C compiler found in \$PATH
2897 See \`config.log' for more details." >&2;}
2898 { (exit 1); exit 1; }; }
2900 # Provide some information about the compiler.
2901 echo "$as_me:$LINENO:" \
2902 "checking for C compiler version" >&5
2903 ac_compiler=`set X $ac_compile; echo $2`
2904 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2905 (eval $ac_compiler --version </dev/null >&5) 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }
2909 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2910 (eval $ac_compiler -v </dev/null >&5) 2>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }
2914 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2915 (eval $ac_compiler -V </dev/null >&5) 2>&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }
2920 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2921 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2922 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2923 echo $ECHO_N "(cached) $ECHO_C" >&6
2925 cat >conftest.$ac_ext <<_ACEOF
2926 #line $LINENO "configure"
2929 cat confdefs.h >>conftest.$ac_ext
2930 cat >>conftest.$ac_ext <<_ACEOF
2931 /* end confdefs.h. */
2944 rm -f conftest.$ac_objext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946 (eval $ac_compile) 2>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } &&
2950 { ac_try='test -s conftest.$ac_objext'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; }; then
2958 echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2963 rm -f conftest.$ac_objext conftest.$ac_ext
2964 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2967 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2968 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2969 GCC=`test $ac_compiler_gnu = yes && echo yes`
2970 ac_test_CFLAGS=${CFLAGS+set}
2971 ac_save_CFLAGS=$CFLAGS
2973 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2974 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2975 if test "${ac_cv_prog_cc_g+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 cat >conftest.$ac_ext <<_ACEOF
2979 #line $LINENO "configure"
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2994 rm -f conftest.$ac_objext
2995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2996 (eval $ac_compile) 2>&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } &&
3000 { ac_try='test -s conftest.$ac_objext'
3001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); }; }; then
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3013 rm -f conftest.$ac_objext conftest.$ac_ext
3015 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3016 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3017 if test "$ac_test_CFLAGS" = set; then
3018 CFLAGS=$ac_save_CFLAGS
3019 elif test $ac_cv_prog_cc_g = yes; then
3020 if test "$GCC" = yes; then
3026 if test "$GCC" = yes; then
3032 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3033 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3034 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3035 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 ac_cv_prog_cc_stdc=no
3039 cat >conftest.$ac_ext <<_ACEOF
3040 #line $LINENO "configure"
3043 cat confdefs.h >>conftest.$ac_ext
3044 cat >>conftest.$ac_ext <<_ACEOF
3045 /* end confdefs.h. */
3048 #include <sys/types.h>
3049 #include <sys/stat.h>
3050 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3051 struct buf { int x; };
3052 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3053 static char *e (p, i)
3059 static char *f (char * (*g) (char **, int), char **p, ...)
3064 s = g (p, va_arg (v,int));
3068 int test (int i, double x);
3069 struct s1 {int (*f) (int a);};
3070 struct s2 {int (*f) (double a);};
3071 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3077 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3082 # Don't try gcc -ansi; that turns off useful extensions and
3083 # breaks some systems' header files.
3084 # AIX -qlanglvl=ansi
3085 # Ultrix and OSF/1 -std1
3086 # HP-UX 10.20 and later -Ae
3087 # HP-UX older versions -Aa -D_HPUX_SOURCE
3088 # SVR4 -Xc -D__EXTENSIONS__
3089 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3091 CC="$ac_save_CC $ac_arg"
3092 rm -f conftest.$ac_objext
3093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3094 (eval $ac_compile) 2>&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } &&
3098 { ac_try='test -s conftest.$ac_objext'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; }; then
3104 ac_cv_prog_cc_stdc=$ac_arg
3107 echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3111 rm -f conftest.$ac_objext
3113 rm -f conftest.$ac_ext conftest.$ac_objext
3118 case "x$ac_cv_prog_cc_stdc" in
3120 echo "$as_me:$LINENO: result: none needed" >&5
3121 echo "${ECHO_T}none needed" >&6 ;;
3123 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3124 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3125 CC="$CC $ac_cv_prog_cc_stdc" ;;
3128 # Some people use a C++ compiler to compile C. Since we use `exit',
3129 # in C++ we need to declare it. In case someone uses the same compiler
3130 # for both compiling C and C++ we need to have the C++ compiler decide
3131 # the declaration of exit, since it's the most demanding environment.
3132 cat >conftest.$ac_ext <<_ACEOF
3137 rm -f conftest.$ac_objext
3138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3139 (eval $ac_compile) 2>&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } &&
3143 { ac_try='test -s conftest.$ac_objext'
3144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }; }; then
3149 for ac_declaration in \
3151 '#include <stdlib.h>' \
3152 'extern "C" void std::exit (int) throw (); using std::exit;' \
3153 'extern "C" void std::exit (int); using std::exit;' \
3154 'extern "C" void exit (int) throw ();' \
3155 'extern "C" void exit (int);' \
3158 cat >conftest.$ac_ext <<_ACEOF
3159 #line $LINENO "configure"
3162 cat confdefs.h >>conftest.$ac_ext
3163 cat >>conftest.$ac_ext <<_ACEOF
3164 /* end confdefs.h. */
3175 rm -f conftest.$ac_objext
3176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3177 (eval $ac_compile) 2>&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); } &&
3181 { ac_try='test -s conftest.$ac_objext'
3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); }; }; then
3189 echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3194 rm -f conftest.$ac_objext conftest.$ac_ext
3195 cat >conftest.$ac_ext <<_ACEOF
3196 #line $LINENO "configure"
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3211 rm -f conftest.$ac_objext
3212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3213 (eval $ac_compile) 2>&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } &&
3217 { ac_try='test -s conftest.$ac_objext'
3218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; }; then
3225 echo "$as_me: failed program was:" >&5
3226 sed 's/^/| /' conftest.$ac_ext >&5
3229 rm -f conftest.$ac_objext conftest.$ac_ext
3232 if test -n "$ac_declaration"; then
3233 echo '#ifdef __cplusplus' >>confdefs.h
3234 echo $ac_declaration >>confdefs.h
3235 echo '#endif' >>confdefs.h
3239 echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.$ac_ext >&5
3243 rm -f conftest.$ac_objext conftest.$ac_ext
3245 ac_cpp='$CPP $CPPFLAGS'
3246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3251 ac_cpp='$CPP $CPPFLAGS'
3252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3255 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3256 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3257 # On Suns, sometimes $CPP names a directory.
3258 if test -n "$CPP" && test -d "$CPP"; then
3261 if test -z "$CPP"; then
3262 if test "${ac_cv_prog_CPP+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 # Double quotes because CPP needs to be expanded
3266 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3269 for ac_c_preproc_warn_flag in '' yes
3271 # Use a header file that comes with gcc, so configuring glibc
3272 # with a fresh cross-compiler works.
3273 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3274 # <limits.h> exists even on freestanding compilers.
3275 # On the NeXT, cc -E runs the code through the compiler's parser,
3276 # not just through cpp. "Syntax error" is here to catch this case.
3277 cat >conftest.$ac_ext <<_ACEOF
3278 #line $LINENO "configure"
3281 cat confdefs.h >>conftest.$ac_ext
3282 cat >>conftest.$ac_ext <<_ACEOF
3283 /* end confdefs.h. */
3285 # include <limits.h>
3287 # include <assert.h>
3291 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3294 grep -v '^ *+' conftest.er1 >conftest.err
3296 cat conftest.err >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } >/dev/null; then
3299 if test -s conftest.err; then
3300 ac_cpp_err=$ac_c_preproc_warn_flag
3307 if test -z "$ac_cpp_err"; then
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3313 # Broken: fails on valid input.
3316 rm -f conftest.err conftest.$ac_ext
3318 # OK, works on sane cases. Now check whether non-existent headers
3319 # can be detected and how.
3320 cat >conftest.$ac_ext <<_ACEOF
3321 #line $LINENO "configure"
3324 cat confdefs.h >>conftest.$ac_ext
3325 cat >>conftest.$ac_ext <<_ACEOF
3326 /* end confdefs.h. */
3327 #include <ac_nonexistent.h>
3329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3332 grep -v '^ *+' conftest.er1 >conftest.err
3334 cat conftest.err >&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } >/dev/null; then
3337 if test -s conftest.err; then
3338 ac_cpp_err=$ac_c_preproc_warn_flag
3345 if test -z "$ac_cpp_err"; then
3346 # Broken: success on invalid input.
3349 echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.$ac_ext >&5
3352 # Passes both tests.
3356 rm -f conftest.err conftest.$ac_ext
3359 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3360 rm -f conftest.err conftest.$ac_ext
3361 if $ac_preproc_ok; then
3373 echo "$as_me:$LINENO: result: $CPP" >&5
3374 echo "${ECHO_T}$CPP" >&6
3376 for ac_c_preproc_warn_flag in '' yes
3378 # Use a header file that comes with gcc, so configuring glibc
3379 # with a fresh cross-compiler works.
3380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3381 # <limits.h> exists even on freestanding compilers.
3382 # On the NeXT, cc -E runs the code through the compiler's parser,
3383 # not just through cpp. "Syntax error" is here to catch this case.
3384 cat >conftest.$ac_ext <<_ACEOF
3385 #line $LINENO "configure"
3388 cat confdefs.h >>conftest.$ac_ext
3389 cat >>conftest.$ac_ext <<_ACEOF
3390 /* end confdefs.h. */
3392 # include <limits.h>
3394 # include <assert.h>
3398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3401 grep -v '^ *+' conftest.er1 >conftest.err
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } >/dev/null; then
3406 if test -s conftest.err; then
3407 ac_cpp_err=$ac_c_preproc_warn_flag
3414 if test -z "$ac_cpp_err"; then
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3420 # Broken: fails on valid input.
3423 rm -f conftest.err conftest.$ac_ext
3425 # OK, works on sane cases. Now check whether non-existent headers
3426 # can be detected and how.
3427 cat >conftest.$ac_ext <<_ACEOF
3428 #line $LINENO "configure"
3431 cat confdefs.h >>conftest.$ac_ext
3432 cat >>conftest.$ac_ext <<_ACEOF
3433 /* end confdefs.h. */
3434 #include <ac_nonexistent.h>
3436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3439 grep -v '^ *+' conftest.er1 >conftest.err
3441 cat conftest.err >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); } >/dev/null; then
3444 if test -s conftest.err; then
3445 ac_cpp_err=$ac_c_preproc_warn_flag
3452 if test -z "$ac_cpp_err"; then
3453 # Broken: success on invalid input.
3456 echo "$as_me: failed program was:" >&5
3457 sed 's/^/| /' conftest.$ac_ext >&5
3459 # Passes both tests.
3463 rm -f conftest.err conftest.$ac_ext
3466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3467 rm -f conftest.err conftest.$ac_ext
3468 if $ac_preproc_ok; then
3471 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3472 See \`config.log' for more details." >&5
3473 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3474 See \`config.log' for more details." >&2;}
3475 { (exit 1); exit 1; }; }
3479 ac_cpp='$CPP $CPPFLAGS'
3480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3485 if test "$GCC" != "yes"
3487 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3488 echo "$as_me: error: gcc required but not found" >&2;}
3489 { (exit 1); exit 1; }; }
3492 if test "$GXX" != "yes"
3494 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3495 echo "$as_me: error: g++ required but not found" >&2;}
3496 { (exit 1); exit 1; }; }
3499 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3500 if test "$gccmajor" -lt "3"
3502 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3503 echo "$as_me: error: gcc 3.x required" >&2;}
3504 { (exit 1); exit 1; }; }
3507 echo "$as_me:$LINENO: checking for GNU make" >&5
3508 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3509 if test "${_cv_gnu_make_command+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 _cv_gnu_make_command='' ;
3513 for a in "$MAKE" make gmake gnumake ; do
3514 if test -z "$a" ; then continue ; fi ;
3515 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3516 _cv_gnu_make_command=$a ;
3522 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3523 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3524 if test "x$_cv_gnu_make_command" != "x" ; then
3528 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3529 echo "${ECHO_T}\"Not found\"" >&6;
3533 if test -z "$_cv_gnu_make_command"
3535 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3536 echo "$as_me: error: GNU Make required but not found" >&2;}
3537 { (exit 1); exit 1; }; }
3541 echo "$as_me:$LINENO: checking " >&5
3542 echo $ECHO_N "checking ... $ECHO_C" >&6
3543 if test "${ac_cv_has_flex+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 for ac_prog in flex lex
3548 # Extract the first word of "$ac_prog", so it can be a program name with args.
3549 set dummy $ac_prog; ac_word=$2
3550 echo "$as_me:$LINENO: checking for $ac_word" >&5
3551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3552 if test "${ac_cv_prog_LEX+set}" = set; then
3553 echo $ECHO_N "(cached) $ECHO_C" >&6
3555 if test -n "$LEX"; then
3556 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 test -z "$as_dir" && as_dir=.
3563 for ac_exec_ext in '' $ac_executable_extensions; do
3564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3565 ac_cv_prog_LEX="$ac_prog"
3566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 if test -n "$LEX"; then
3576 echo "$as_me:$LINENO: result: $LEX" >&5
3577 echo "${ECHO_T}$LEX" >&6
3579 echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6
3583 test -n "$LEX" && break
3585 test -n "$LEX" || LEX=":"
3587 if test -z "$LEXLIB"
3589 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3590 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3591 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 ac_check_lib_save_LIBS=$LIBS
3596 cat >conftest.$ac_ext <<_ACEOF
3597 #line $LINENO "configure"
3600 cat confdefs.h >>conftest.$ac_ext
3601 cat >>conftest.$ac_ext <<_ACEOF
3602 /* end confdefs.h. */
3604 /* Override any gcc2 internal prototype to avoid an error. */
3608 /* We use char because int might match the return type of a gcc2
3609 builtin and then its argument prototype would still apply. */
3619 rm -f conftest.$ac_objext conftest$ac_exeext
3620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3621 (eval $ac_link) 2>&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } &&
3625 { ac_try='test -s conftest$ac_exeext'
3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); }; }; then
3631 ac_cv_lib_fl_yywrap=yes
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 ac_cv_lib_fl_yywrap=no
3638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3639 LIBS=$ac_check_lib_save_LIBS
3641 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3642 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3643 if test $ac_cv_lib_fl_yywrap = yes; then
3646 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3647 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3648 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3649 echo $ECHO_N "(cached) $ECHO_C" >&6
3651 ac_check_lib_save_LIBS=$LIBS
3653 cat >conftest.$ac_ext <<_ACEOF
3654 #line $LINENO "configure"
3657 cat confdefs.h >>conftest.$ac_ext
3658 cat >>conftest.$ac_ext <<_ACEOF
3659 /* end confdefs.h. */
3661 /* Override any gcc2 internal prototype to avoid an error. */
3665 /* We use char because int might match the return type of a gcc2
3666 builtin and then its argument prototype would still apply. */
3676 rm -f conftest.$ac_objext conftest$ac_exeext
3677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3678 (eval $ac_link) 2>&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } &&
3682 { ac_try='test -s conftest$ac_exeext'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; }; then
3688 ac_cv_lib_l_yywrap=yes
3690 echo "$as_me: failed program was:" >&5
3691 sed 's/^/| /' conftest.$ac_ext >&5
3693 ac_cv_lib_l_yywrap=no
3695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3696 LIBS=$ac_check_lib_save_LIBS
3698 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3699 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3700 if test $ac_cv_lib_l_yywrap = yes; then
3708 if test "x$LEX" != "x:"; then
3709 echo "$as_me:$LINENO: checking lex output file root" >&5
3710 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3711 if test "${ac_cv_prog_lex_root+set}" = set; then
3712 echo $ECHO_N "(cached) $ECHO_C" >&6
3714 # The minimal lex program is just a single line: %%. But some broken lexes
3715 # (Solaris, I think it was) want two %% lines, so accommodate them.
3716 cat >conftest.l <<_ACEOF
3720 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3721 (eval $LEX conftest.l) 2>&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); }
3725 if test -f lex.yy.c; then
3726 ac_cv_prog_lex_root=lex.yy
3727 elif test -f lexyy.c; then
3728 ac_cv_prog_lex_root=lexyy
3730 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3731 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3732 { (exit 1); exit 1; }; }
3735 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3736 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3738 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3740 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3741 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3742 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 # POSIX says lex can declare yytext either as a pointer or an array; the
3746 # default is implementation-dependent. Figure out which it is, since
3747 # not all implementations provide the %pointer and %array declarations.
3748 ac_cv_prog_lex_yytext_pointer=no
3749 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3751 LIBS="$LIBS $LEXLIB"
3752 cat >conftest.$ac_ext <<_ACEOF
3753 `cat $LEX_OUTPUT_ROOT.c`
3755 rm -f conftest.$ac_objext conftest$ac_exeext
3756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3757 (eval $ac_link) 2>&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } &&
3761 { ac_try='test -s conftest$ac_exeext'
3762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); }; }; then
3767 ac_cv_prog_lex_yytext_pointer=yes
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.$ac_ext >&5
3773 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3775 rm -f "${LEX_OUTPUT_ROOT}.c"
3778 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3779 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3780 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3782 cat >>confdefs.h <<\_ACEOF
3783 #define YYTEXT_POINTER 1
3791 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3792 echo "${ECHO_T}$ac_cv_has_flex" >&6
3793 if test "$LEX" != "flex"; then
3794 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3795 echo "$as_me: error: flex not found but required" >&2;}
3796 { (exit 1); exit 1; }; }
3799 echo "$as_me:$LINENO: checking " >&5
3800 echo $ECHO_N "checking ... $ECHO_C" >&6
3801 if test "${ac_cv_has_bison+set}" = set; then
3802 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 for ac_prog in 'bison -y' byacc
3806 # Extract the first word of "$ac_prog", so it can be a program name with args.
3807 set dummy $ac_prog; ac_word=$2
3808 echo "$as_me:$LINENO: checking for $ac_word" >&5
3809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3810 if test "${ac_cv_prog_YACC+set}" = set; then
3811 echo $ECHO_N "(cached) $ECHO_C" >&6
3813 if test -n "$YACC"; then
3814 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 test -z "$as_dir" && as_dir=.
3821 for ac_exec_ext in '' $ac_executable_extensions; do
3822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3823 ac_cv_prog_YACC="$ac_prog"
3824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 YACC=$ac_cv_prog_YACC
3833 if test -n "$YACC"; then
3834 echo "$as_me:$LINENO: result: $YACC" >&5
3835 echo "${ECHO_T}$YACC" >&6
3837 echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6
3841 test -n "$YACC" && break
3843 test -n "$YACC" || YACC="yacc"
3847 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3848 echo "${ECHO_T}$ac_cv_has_bison" >&6
3849 if test "$YACC" != "bison -y"; then
3850 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3851 echo "$as_me: error: bison not found but required" >&2;}
3852 { (exit 1); exit 1; }; }
3859 # Check whether --enable-shared or --disable-shared was given.
3860 if test "${enable_shared+set}" = set; then
3861 enableval="$enable_shared"
3862 p=${PACKAGE-default}
3864 yes) enable_shared=yes ;;
3865 no) enable_shared=no ;;
3868 # Look at the argument we got. We use all the common list separators.
3869 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3870 for pkg in $enableval; do
3872 if test "X$pkg" = "X$p"; then
3883 # Check whether --enable-static or --disable-static was given.
3884 if test "${enable_static+set}" = set; then
3885 enableval="$enable_static"
3886 p=${PACKAGE-default}
3888 yes) enable_static=yes ;;
3889 no) enable_static=no ;;
3892 # Look at the argument we got. We use all the common list separators.
3893 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3894 for pkg in $enableval; do
3896 if test "X$pkg" = "X$p"; then
3907 # Check whether --enable-fast-install or --disable-fast-install was given.
3908 if test "${enable_fast_install+set}" = set; then
3909 enableval="$enable_fast_install"
3910 p=${PACKAGE-default}
3912 yes) enable_fast_install=yes ;;
3913 no) enable_fast_install=no ;;
3915 enable_fast_install=no
3916 # Look at the argument we got. We use all the common list separators.
3917 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3918 for pkg in $enableval; do
3920 if test "X$pkg" = "X$p"; then
3921 enable_fast_install=yes
3928 enable_fast_install=yes
3931 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3932 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3933 if test "${lt_cv_path_SED+set}" = set; then
3934 echo $ECHO_N "(cached) $ECHO_C" >&6
3936 # Loop through the user's path and test for sed and gsed.
3937 # Then use that list of sed's as ones to test for truncation.
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3942 test -z "$as_dir" && as_dir=.
3943 for lt_ac_prog in sed gsed; do
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3946 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3953 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3954 # along with /bin/sed that truncates output.
3955 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3956 test ! -f $lt_ac_sed && break
3957 cat /dev/null > conftest.in
3959 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3960 # Check for GNU sed and select it if it is found.
3961 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3962 lt_cv_path_SED=$lt_ac_sed
3966 cat conftest.in conftest.in >conftest.tmp
3967 mv conftest.tmp conftest.in
3968 cp conftest.in conftest.nl
3970 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3971 cmp -s conftest.out conftest.nl || break
3972 # 10000 chars as input seems more than enough
3973 test $lt_ac_count -gt 10 && break
3974 lt_ac_count=`expr $lt_ac_count + 1`
3975 if test $lt_ac_count -gt $lt_ac_max; then
3976 lt_ac_max=$lt_ac_count
3977 lt_cv_path_SED=$lt_ac_sed
3985 echo "$as_me:$LINENO: result: $SED" >&5
3986 echo "${ECHO_T}$SED" >&6
3988 echo "$as_me:$LINENO: checking for egrep" >&5
3989 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3990 if test "${ac_cv_prog_egrep+set}" = set; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3994 then ac_cv_prog_egrep='grep -E'
3995 else ac_cv_prog_egrep='egrep'
3998 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3999 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4000 EGREP=$ac_cv_prog_egrep
4004 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4005 if test "${with_gnu_ld+set}" = set; then
4006 withval="$with_gnu_ld"
4007 test "$withval" = no || with_gnu_ld=yes
4012 if test "$GCC" = yes; then
4013 # Check if gcc -print-prog-name=ld gives a path.
4014 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4015 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4018 # gcc leaves a trailing carriage return which upsets mingw
4019 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4021 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4024 # Accept absolute paths.
4026 re_direlt='/[^/][^/]*/\.\./'
4027 # Canonicalize the path of ld
4028 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4029 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4030 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4032 test -z "$LD" && LD="$ac_prog"
4035 # If it fails, then pretend we aren't using GCC.
4039 # If it is relative, then search for the first ld in PATH.
4043 elif test "$with_gnu_ld" = yes; then
4044 echo "$as_me:$LINENO: checking for GNU ld" >&5
4045 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4047 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4048 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4050 if test "${lt_cv_path_LD+set}" = set; then
4051 echo $ECHO_N "(cached) $ECHO_C" >&6
4053 if test -z "$LD"; then
4054 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4055 for ac_dir in $PATH; do
4057 test -z "$ac_dir" && ac_dir=.
4058 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4059 lt_cv_path_LD="$ac_dir/$ac_prog"
4060 # Check to see if the program is GNU ld. I'd rather use --version,
4061 # but apparently some GNU ld's only accept -v.
4062 # Break only if it was the GNU/non-GNU ld that we prefer.
4063 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4064 *GNU* | *'with BFD'*)
4065 test "$with_gnu_ld" != no && break
4068 test "$with_gnu_ld" != yes && break
4075 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4080 if test -n "$LD"; then
4081 echo "$as_me:$LINENO: result: $LD" >&5
4082 echo "${ECHO_T}$LD" >&6
4084 echo "$as_me:$LINENO: result: no" >&5
4085 echo "${ECHO_T}no" >&6
4087 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4088 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4089 { (exit 1); exit 1; }; }
4090 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4091 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4092 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4096 case `"$LD" -v 2>&1 </dev/null` in
4097 *GNU* | *'with BFD'*)
4098 lt_cv_prog_gnu_ld=yes
4101 lt_cv_prog_gnu_ld=no
4105 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4106 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4107 with_gnu_ld=$lt_cv_prog_gnu_ld
4110 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4111 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4112 if test "${lt_cv_ld_reload_flag+set}" = set; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4115 lt_cv_ld_reload_flag='-r'
4117 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4118 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4119 reload_flag=$lt_cv_ld_reload_flag
4120 case $reload_flag in
4122 *) reload_flag=" $reload_flag" ;;
4124 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4126 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4127 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4128 if test "${lt_cv_path_NM+set}" = set; then
4129 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 if test -n "$NM"; then
4132 # Let the user override the test.
4135 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4136 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4138 test -z "$ac_dir" && ac_dir=.
4139 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4140 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4141 # Check to see if the nm accepts a BSD-compat flag.
4142 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4143 # nm: unknown option "B" ignored
4144 # Tru64's nm complains that /dev/null is an invalid object file
4145 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4146 */dev/null* | *'Invalid file or object type'*)
4147 lt_cv_path_NM="$tmp_nm -B"
4151 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4153 lt_cv_path_NM="$tmp_nm -p"
4157 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4158 continue # so that we can try to find one that supports BSD flags
4165 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4168 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4169 echo "${ECHO_T}$lt_cv_path_NM" >&6
4172 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4173 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4175 if test "$LN_S" = "ln -s"; then
4176 echo "$as_me:$LINENO: result: yes" >&5
4177 echo "${ECHO_T}yes" >&6
4179 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4180 echo "${ECHO_T}no, using $LN_S" >&6
4183 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4184 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4185 if test "${lt_cv_deplibs_check_method+set}" = set; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 lt_cv_file_magic_cmd='$MAGIC_CMD'
4189 lt_cv_file_magic_test_file=
4190 lt_cv_deplibs_check_method='unknown'
4191 # Need to set the preceding variable on all platforms that support
4192 # interlibrary dependencies.
4193 # 'none' -- dependencies not supported.
4194 # `unknown' -- same as none, but documents that we really don't know.
4195 # 'pass_all' -- all dependencies passed with no checks.
4196 # 'test_compile' -- check by making test program.
4197 # 'file_magic [[regex]]' -- check by looking for files in library path
4198 # which responds to the $file_magic_cmd with a given extended regex.
4199 # If you have `file' or equivalent on your system and you're not sure
4200 # whether `pass_all' will *always* work, you probably want this one.
4204 lt_cv_deplibs_check_method=pass_all
4208 lt_cv_deplibs_check_method=pass_all
4212 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4213 lt_cv_file_magic_cmd='/usr/bin/file -L'
4214 lt_cv_file_magic_test_file=/shlib/libc.so
4217 cygwin* | mingw* | pw32*)
4218 # win32_libid is a shell function defined in ltmain.sh
4219 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4220 lt_cv_file_magic_cmd='win32_libid'
4223 darwin* | rhapsody*)
4224 # this will be overwritten by pass_all, but leave it in just in case
4225 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4226 lt_cv_file_magic_cmd='/usr/bin/file -L'
4228 rhapsody* | darwin1.[012])
4229 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4232 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4235 lt_cv_deplibs_check_method=pass_all
4239 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4242 # Not sure whether the presence of OpenBSD here was a mistake.
4243 # Let's accept both of them until this is cleared up.
4244 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4245 lt_cv_file_magic_cmd=/usr/bin/file
4246 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4250 lt_cv_deplibs_check_method=pass_all
4255 lt_cv_deplibs_check_method=pass_all
4258 hpux10.20* | hpux11*)
4259 lt_cv_file_magic_cmd=/usr/bin/file
4262 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4263 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4266 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]'
4267 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4270 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4271 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4276 irix5* | irix6* | nonstopux*)
4278 irix5* | nonstopux*)
4279 # this will be overridden with pass_all, but let us keep it just in case
4280 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4284 *-32|*"-32 ") libmagic=32-bit;;
4285 *-n32|*"-n32 ") libmagic=N32;;
4286 *-64|*"-64 ") libmagic=64-bit;;
4287 *) libmagic=never-match;;
4289 # this will be overridden with pass_all, but let us keep it just in case
4290 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4293 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4294 lt_cv_deplibs_check_method=pass_all
4297 # This must be Linux ELF.
4300 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4301 lt_cv_deplibs_check_method=pass_all ;;
4303 # glibc up to 2.1.1 does not perform some relocations on ARM
4304 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4306 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4310 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4311 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4318 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4319 lt_cv_file_magic_cmd=/usr/bin/file
4320 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4324 lt_cv_deplibs_check_method=unknown
4328 lt_cv_file_magic_cmd=/usr/bin/file
4329 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4330 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4331 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4333 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4337 osf3* | osf4* | osf5*)
4338 # this will be overridden with pass_all, but let us keep it just in case
4339 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4340 lt_cv_file_magic_test_file=/shlib/libc.so
4341 lt_cv_deplibs_check_method=pass_all
4345 lt_cv_deplibs_check_method=pass_all
4349 lt_cv_deplibs_check_method=pass_all
4350 lt_cv_file_magic_test_file=/lib/libc.so
4353 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4354 case $host_vendor in
4356 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]'
4357 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4360 lt_cv_deplibs_check_method=pass_all
4363 lt_cv_file_magic_cmd='/bin/file'
4364 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4367 lt_cv_file_magic_cmd='/bin/file'
4368 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4369 lt_cv_file_magic_test_file=/lib/libc.so
4372 lt_cv_deplibs_check_method=pass_all
4377 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4378 lt_cv_deplibs_check_method=pass_all
4383 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4384 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4385 file_magic_cmd=$lt_cv_file_magic_cmd
4386 deplibs_check_method=$lt_cv_deplibs_check_method
4387 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4392 # If no C compiler was specified, use CC.
4395 # Allow CC to be a program name with arguments.
4398 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4399 if test "${enable_libtool_lock+set}" = set; then
4400 enableval="$enable_libtool_lock"
4403 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4405 # Some flags need to be propagated to the compiler or linker for good
4409 # Find out which ABI we are using.
4410 echo 'int i;' > 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 case `/usr/bin/file conftest.$ac_objext` in
4428 # Find out which ABI we are using.
4429 echo '#line 4429 "configure"' > conftest.$ac_ext
4430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4431 (eval $ac_compile) 2>&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); }; then
4435 if test "$lt_cv_prog_gnu_ld" = yes; then
4436 case `/usr/bin/file conftest.$ac_objext` in
4438 LD="${LD-ld} -melf32bsmip"
4441 LD="${LD-ld} -melf32bmipn32"
4444 LD="${LD-ld} -melf64bmip"
4448 case `/usr/bin/file conftest.$ac_objext` in
4464 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4465 # Find out which ABI we are using.
4466 echo 'int i;' > conftest.$ac_ext
4467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4468 (eval $ac_compile) 2>&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); }; then
4472 case "`/usr/bin/file conftest.o`" in
4476 LD="${LD-ld} -m elf_i386"
4479 LD="${LD-ld} -m elf32ppclinux"
4482 LD="${LD-ld} -m elf_s390"
4485 LD="${LD-ld} -m elf32_sparc"
4492 LD="${LD-ld} -m elf_x86_64"
4494 ppc*-*linux*|powerpc*-*linux*)
4495 LD="${LD-ld} -m elf64ppc"
4498 LD="${LD-ld} -m elf64_s390"
4501 LD="${LD-ld} -m elf64_sparc"
4511 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4512 SAVE_CFLAGS="$CFLAGS"
4513 CFLAGS="$CFLAGS -belf"
4514 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4515 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4516 if test "${lt_cv_cc_needs_belf+set}" = set; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 ac_cpp='$CPP $CPPFLAGS'
4521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4525 cat >conftest.$ac_ext <<_ACEOF
4526 #line $LINENO "configure"
4529 cat confdefs.h >>conftest.$ac_ext
4530 cat >>conftest.$ac_ext <<_ACEOF
4531 /* end confdefs.h. */
4541 rm -f conftest.$ac_objext conftest$ac_exeext
4542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4543 (eval $ac_link) 2>&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } &&
4547 { ac_try='test -s conftest$ac_exeext'
4548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); }; }; then
4553 lt_cv_cc_needs_belf=yes
4555 echo "$as_me: failed program was:" >&5
4556 sed 's/^/| /' conftest.$ac_ext >&5
4558 lt_cv_cc_needs_belf=no
4560 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4562 ac_cpp='$CPP $CPPFLAGS'
4563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4568 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4569 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4570 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4571 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4572 CFLAGS="$SAVE_CFLAGS"
4578 need_locks="$enable_libtool_lock"
4582 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4583 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4584 if test "${ac_cv_header_stdc+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 cat >conftest.$ac_ext <<_ACEOF
4588 #line $LINENO "configure"
4591 cat confdefs.h >>conftest.$ac_ext
4592 cat >>conftest.$ac_ext <<_ACEOF
4593 /* end confdefs.h. */
4607 rm -f conftest.$ac_objext
4608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4609 (eval $ac_compile) 2>&5
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); } &&
4613 { ac_try='test -s conftest.$ac_objext'
4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; }; then
4619 ac_cv_header_stdc=yes
4621 echo "$as_me: failed program was:" >&5
4622 sed 's/^/| /' conftest.$ac_ext >&5
4624 ac_cv_header_stdc=no
4626 rm -f conftest.$ac_objext conftest.$ac_ext
4628 if test $ac_cv_header_stdc = yes; then
4629 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4630 cat >conftest.$ac_ext <<_ACEOF
4631 #line $LINENO "configure"
4634 cat confdefs.h >>conftest.$ac_ext
4635 cat >>conftest.$ac_ext <<_ACEOF
4636 /* end confdefs.h. */
4640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4641 $EGREP "memchr" >/dev/null 2>&1; then
4644 ac_cv_header_stdc=no
4650 if test $ac_cv_header_stdc = yes; then
4651 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4652 cat >conftest.$ac_ext <<_ACEOF
4653 #line $LINENO "configure"
4656 cat confdefs.h >>conftest.$ac_ext
4657 cat >>conftest.$ac_ext <<_ACEOF
4658 /* end confdefs.h. */
4662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4663 $EGREP "free" >/dev/null 2>&1; then
4666 ac_cv_header_stdc=no
4672 if test $ac_cv_header_stdc = yes; then
4673 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4674 if test "$cross_compiling" = yes; then
4677 cat >conftest.$ac_ext <<_ACEOF
4678 #line $LINENO "configure"
4681 cat confdefs.h >>conftest.$ac_ext
4682 cat >>conftest.$ac_ext <<_ACEOF
4683 /* end confdefs.h. */
4685 #if ((' ' & 0x0FF) == 0x020)
4686 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4687 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4689 # define ISLOWER(c) \
4690 (('a' <= (c) && (c) <= 'i') \
4691 || ('j' <= (c) && (c) <= 'r') \
4692 || ('s' <= (c) && (c) <= 'z'))
4693 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4696 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4701 for (i = 0; i < 256; i++)
4702 if (XOR (islower (i), ISLOWER (i))
4703 || toupper (i) != TOUPPER (i))
4708 rm -f conftest$ac_exeext
4709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4710 (eval $ac_link) 2>&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; }; then
4721 echo "$as_me: program exited with status $ac_status" >&5
4722 echo "$as_me: failed program was:" >&5
4723 sed 's/^/| /' conftest.$ac_ext >&5
4726 ac_cv_header_stdc=no
4728 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4732 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4733 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4734 if test $ac_cv_header_stdc = yes; then
4736 cat >>confdefs.h <<\_ACEOF
4737 #define STDC_HEADERS 1
4742 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4752 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4753 inttypes.h stdint.h unistd.h
4755 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4756 echo "$as_me:$LINENO: checking for $ac_header" >&5
4757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4761 cat >conftest.$ac_ext <<_ACEOF
4762 #line $LINENO "configure"
4765 cat confdefs.h >>conftest.$ac_ext
4766 cat >>conftest.$ac_ext <<_ACEOF
4767 /* end confdefs.h. */
4768 $ac_includes_default
4770 #include <$ac_header>
4772 rm -f conftest.$ac_objext
4773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4774 (eval $ac_compile) 2>&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); } &&
4778 { ac_try='test -s conftest.$ac_objext'
4779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); }; }; then
4784 eval "$as_ac_Header=yes"
4786 echo "$as_me: failed program was:" >&5
4787 sed 's/^/| /' conftest.$ac_ext >&5
4789 eval "$as_ac_Header=no"
4791 rm -f conftest.$ac_objext conftest.$ac_ext
4793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4796 cat >>confdefs.h <<_ACEOF
4797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4806 for ac_header in dlfcn.h
4808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4810 echo "$as_me:$LINENO: checking for $ac_header" >&5
4811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4818 # Is the header compilable?
4819 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4821 cat >conftest.$ac_ext <<_ACEOF
4822 #line $LINENO "configure"
4825 cat confdefs.h >>conftest.$ac_ext
4826 cat >>conftest.$ac_ext <<_ACEOF
4827 /* end confdefs.h. */
4828 $ac_includes_default
4829 #include <$ac_header>
4831 rm -f conftest.$ac_objext
4832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4833 (eval $ac_compile) 2>&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); } &&
4837 { ac_try='test -s conftest.$ac_objext'
4838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); }; }; then
4843 ac_header_compiler=yes
4845 echo "$as_me: failed program was:" >&5
4846 sed 's/^/| /' conftest.$ac_ext >&5
4848 ac_header_compiler=no
4850 rm -f conftest.$ac_objext conftest.$ac_ext
4851 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4852 echo "${ECHO_T}$ac_header_compiler" >&6
4854 # Is the header present?
4855 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4856 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4857 cat >conftest.$ac_ext <<_ACEOF
4858 #line $LINENO "configure"
4861 cat confdefs.h >>conftest.$ac_ext
4862 cat >>conftest.$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4864 #include <$ac_header>
4866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4869 grep -v '^ *+' conftest.er1 >conftest.err
4871 cat conftest.err >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } >/dev/null; then
4874 if test -s conftest.err; then
4875 ac_cpp_err=$ac_c_preproc_warn_flag
4882 if test -z "$ac_cpp_err"; then
4883 ac_header_preproc=yes
4885 echo "$as_me: failed program was:" >&5
4886 sed 's/^/| /' conftest.$ac_ext >&5
4888 ac_header_preproc=no
4890 rm -f conftest.err conftest.$ac_ext
4891 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4892 echo "${ECHO_T}$ac_header_preproc" >&6
4894 # So? What about this header?
4895 case $ac_header_compiler:$ac_header_preproc in
4897 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4898 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4903 ## ------------------------------------ ##
4904 ## Report this to bug-autoconf@gnu.org. ##
4905 ## ------------------------------------ ##
4908 sed "s/^/$as_me: WARNING: /" >&2
4911 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4913 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4914 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4919 ## ------------------------------------ ##
4920 ## Report this to bug-autoconf@gnu.org. ##
4921 ## ------------------------------------ ##
4924 sed "s/^/$as_me: WARNING: /" >&2
4927 echo "$as_me:$LINENO: checking for $ac_header" >&5
4928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 eval "$as_ac_Header=$ac_header_preproc"
4934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4939 cat >>confdefs.h <<_ACEOF
4940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4948 ac_cpp='$CXXCPP $CPPFLAGS'
4949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4952 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4953 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4954 if test -z "$CXXCPP"; then
4955 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4956 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 # Double quotes because CXXCPP needs to be expanded
4959 for CXXCPP in "$CXX -E" "/lib/cpp"
4962 for ac_cxx_preproc_warn_flag in '' yes
4964 # Use a header file that comes with gcc, so configuring glibc
4965 # with a fresh cross-compiler works.
4966 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4967 # <limits.h> exists even on freestanding compilers.
4968 # On the NeXT, cc -E runs the code through the compiler's parser,
4969 # not just through cpp. "Syntax error" is here to catch this case.
4970 cat >conftest.$ac_ext <<_ACEOF
4971 #line $LINENO "configure"
4974 cat confdefs.h >>conftest.$ac_ext
4975 cat >>conftest.$ac_ext <<_ACEOF
4976 /* end confdefs.h. */
4978 # include <limits.h>
4980 # include <assert.h>
4984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4987 grep -v '^ *+' conftest.er1 >conftest.err
4989 cat conftest.err >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); } >/dev/null; then
4992 if test -s conftest.err; then
4993 ac_cpp_err=$ac_cxx_preproc_warn_flag
5000 if test -z "$ac_cpp_err"; then
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.$ac_ext >&5
5006 # Broken: fails on valid input.
5009 rm -f conftest.err conftest.$ac_ext
5011 # OK, works on sane cases. Now check whether non-existent headers
5012 # can be detected and how.
5013 cat >conftest.$ac_ext <<_ACEOF
5014 #line $LINENO "configure"
5017 cat confdefs.h >>conftest.$ac_ext
5018 cat >>conftest.$ac_ext <<_ACEOF
5019 /* end confdefs.h. */
5020 #include <ac_nonexistent.h>
5022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5025 grep -v '^ *+' conftest.er1 >conftest.err
5027 cat conftest.err >&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); } >/dev/null; then
5030 if test -s conftest.err; then
5031 ac_cpp_err=$ac_cxx_preproc_warn_flag
5038 if test -z "$ac_cpp_err"; then
5039 # Broken: success on invalid input.
5042 echo "$as_me: failed program was:" >&5
5043 sed 's/^/| /' conftest.$ac_ext >&5
5045 # Passes both tests.
5049 rm -f conftest.err conftest.$ac_ext
5052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5053 rm -f conftest.err conftest.$ac_ext
5054 if $ac_preproc_ok; then
5059 ac_cv_prog_CXXCPP=$CXXCPP
5062 CXXCPP=$ac_cv_prog_CXXCPP
5064 ac_cv_prog_CXXCPP=$CXXCPP
5066 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5067 echo "${ECHO_T}$CXXCPP" >&6
5069 for ac_cxx_preproc_warn_flag in '' yes
5071 # Use a header file that comes with gcc, so configuring glibc
5072 # with a fresh cross-compiler works.
5073 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5074 # <limits.h> exists even on freestanding compilers.
5075 # On the NeXT, cc -E runs the code through the compiler's parser,
5076 # not just through cpp. "Syntax error" is here to catch this case.
5077 cat >conftest.$ac_ext <<_ACEOF
5078 #line $LINENO "configure"
5081 cat confdefs.h >>conftest.$ac_ext
5082 cat >>conftest.$ac_ext <<_ACEOF
5083 /* end confdefs.h. */
5085 # include <limits.h>
5087 # include <assert.h>
5091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5094 grep -v '^ *+' conftest.er1 >conftest.err
5096 cat conftest.err >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); } >/dev/null; then
5099 if test -s conftest.err; then
5100 ac_cpp_err=$ac_cxx_preproc_warn_flag
5107 if test -z "$ac_cpp_err"; then
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.$ac_ext >&5
5113 # Broken: fails on valid input.
5116 rm -f conftest.err conftest.$ac_ext
5118 # OK, works on sane cases. Now check whether non-existent headers
5119 # can be detected and how.
5120 cat >conftest.$ac_ext <<_ACEOF
5121 #line $LINENO "configure"
5124 cat confdefs.h >>conftest.$ac_ext
5125 cat >>conftest.$ac_ext <<_ACEOF
5126 /* end confdefs.h. */
5127 #include <ac_nonexistent.h>
5129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5132 grep -v '^ *+' conftest.er1 >conftest.err
5134 cat conftest.err >&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); } >/dev/null; then
5137 if test -s conftest.err; then
5138 ac_cpp_err=$ac_cxx_preproc_warn_flag
5145 if test -z "$ac_cpp_err"; then
5146 # Broken: success on invalid input.
5149 echo "$as_me: failed program was:" >&5
5150 sed 's/^/| /' conftest.$ac_ext >&5
5152 # Passes both tests.
5156 rm -f conftest.err conftest.$ac_ext
5159 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5160 rm -f conftest.err conftest.$ac_ext
5161 if $ac_preproc_ok; then
5164 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5165 See \`config.log' for more details." >&5
5166 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5167 See \`config.log' for more details." >&2;}
5168 { (exit 1); exit 1; }; }
5172 ac_cpp='$CXXCPP $CPPFLAGS'
5173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5179 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5180 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5181 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5182 if test -n "$ac_tool_prefix"; then
5183 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5185 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5186 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5187 echo "$as_me:$LINENO: checking for $ac_word" >&5
5188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5189 if test "${ac_cv_prog_F77+set}" = set; then
5190 echo $ECHO_N "(cached) $ECHO_C" >&6
5192 if test -n "$F77"; then
5193 ac_cv_prog_F77="$F77" # Let the user override the test.
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir=.
5200 for ac_exec_ext in '' $ac_executable_extensions; do
5201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5202 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 if test -n "$F77"; then
5213 echo "$as_me:$LINENO: result: $F77" >&5
5214 echo "${ECHO_T}$F77" >&6
5216 echo "$as_me:$LINENO: result: no" >&5
5217 echo "${ECHO_T}no" >&6
5220 test -n "$F77" && break
5223 if test -z "$F77"; then
5225 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5227 # Extract the first word of "$ac_prog", so it can be a program name with args.
5228 set dummy $ac_prog; ac_word=$2
5229 echo "$as_me:$LINENO: checking for $ac_word" >&5
5230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5231 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5234 if test -n "$ac_ct_F77"; then
5235 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_ac_ct_F77="$ac_prog"
5245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5254 if test -n "$ac_ct_F77"; then
5255 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5256 echo "${ECHO_T}$ac_ct_F77" >&6
5258 echo "$as_me:$LINENO: result: no" >&5
5259 echo "${ECHO_T}no" >&6
5262 test -n "$ac_ct_F77" && break
5269 # Provide some information about the compiler.
5270 echo "$as_me:5270:" \
5271 "checking for Fortran 77 compiler version" >&5
5272 ac_compiler=`set X $ac_compile; echo $2`
5273 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5274 (eval $ac_compiler --version </dev/null >&5) 2>&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); }
5278 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5279 (eval $ac_compiler -v </dev/null >&5) 2>&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); }
5283 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5284 (eval $ac_compiler -V </dev/null >&5) 2>&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }
5289 # If we don't use `.F' as extension, the preprocessor is not run on the
5293 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5294 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5295 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6
5298 cat >conftest.$ac_ext <<_ACEOF
5306 rm -f conftest.$ac_objext
5307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5308 (eval $ac_compile) 2>&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } &&
5312 { ac_try='test -s conftest.$ac_objext'
5313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); }; }; then
5320 echo "$as_me: failed program was:" >&5
5321 sed 's/^/| /' conftest.$ac_ext >&5
5325 rm -f conftest.$ac_objext conftest.$ac_ext
5326 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5329 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5330 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5332 G77=`test $ac_compiler_gnu = yes && echo yes`
5333 ac_test_FFLAGS=${FFLAGS+set}
5334 ac_save_FFLAGS=$FFLAGS
5336 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5337 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5338 if test "${ac_cv_prog_f77_g+set}" = set; then
5339 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 cat >conftest.$ac_ext <<_ACEOF
5347 rm -f conftest.$ac_objext
5348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5349 (eval $ac_compile) 2>&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); } &&
5353 { ac_try='test -s conftest.$ac_objext'
5354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 (exit $ac_status); }; }; then
5359 ac_cv_prog_f77_g=yes
5361 echo "$as_me: failed program was:" >&5
5362 sed 's/^/| /' conftest.$ac_ext >&5
5366 rm -f conftest.$ac_objext conftest.$ac_ext
5369 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5370 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5371 if test "$ac_test_FFLAGS" = set; then
5372 FFLAGS=$ac_save_FFLAGS
5373 elif test $ac_cv_prog_f77_g = yes; then
5374 if test "$G77" = yes; then
5380 if test "$G77" = yes; then
5387 ac_cpp='$CPP $CPPFLAGS'
5388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5394 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5396 # find the maximum length of command line arguments
5397 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5398 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5399 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5400 echo $ECHO_N "(cached) $ECHO_C" >&6
5407 # On DJGPP, this test can blow up pretty badly due to problems in libc
5408 # (any single argument exceeding 2000 bytes causes a buffer overrun
5409 # during glob expansion). Even if it were fixed, the result of this
5410 # check would be larger than it should be.
5411 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5415 # Under GNU Hurd, this test is not required because there is
5416 # no limit to the length of command line arguments.
5417 # Libtool will interpret -1 as no limit whatsoever
5418 lt_cv_sys_max_cmd_len=-1;
5422 # On Win9x/ME, this test blows up -- it succeeds, but takes
5423 # about 5 minutes as the teststring grows exponentially.
5424 # Worse, since 9x/ME are not pre-emptively multitasking,
5425 # you end up with a "frozen" computer, even though with patience
5426 # the test eventually succeeds (with a max line length of 256k).
5427 # Instead, let's just punt: use the minimum linelength reported by
5428 # all of the supported platforms: 8192 (on NT/2K/XP).
5429 lt_cv_sys_max_cmd_len=8192;
5433 # If test is not a shell built-in, we'll probably end up computing a
5434 # maximum length that is only half of the actual maximum length, but
5436 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5437 = "XX$testring") >/dev/null 2>&1 &&
5438 new_result=`expr "X$testring" : ".*" 2>&1` &&
5439 lt_cv_sys_max_cmd_len=$new_result &&
5440 test $i != 17 # 1/2 MB should be enough
5443 testring=$testring$testring
5446 # Add a significant safety factor because C++ compilers can tack on massive
5447 # amounts of additional arguments before passing them to the linker.
5448 # It appears as though 1/2 is a usable value.
5449 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5455 if test -n $lt_cv_sys_max_cmd_len ; then
5456 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5457 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5459 echo "$as_me:$LINENO: result: none" >&5
5460 echo "${ECHO_T}none" >&6
5466 # Check for command to grab the raw symbol name followed by C symbol from nm.
5467 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5468 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5469 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5470 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 # These are sane defaults that work on at least a few old systems.
5474 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5476 # Character class describing NM global symbol codes.
5477 symcode='[BCDEGRST]'
5479 # Regexp to match symbols that can be accessed directly from C.
5480 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5482 # Transform the above into a raw symbol and a C symbol.
5483 symxfrm='\1 \2\3 \3'
5485 # Transform an extracted symbol line into a proper C declaration
5486 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5488 # Transform an extracted symbol line into symbol name and symbol address
5489 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'"
5491 # Define system-specific variables.
5496 cygwin* | mingw* | pw32*)
5497 symcode='[ABCDGISTW]'
5499 hpux*) # Its linker distinguishes data from code symbols
5500 if test "$host_cpu" = ia64; then
5501 symcode='[ABCDEGRST]'
5503 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5504 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'"
5507 symcode='[BCDEGRST]'
5510 symcode='[BCDEGQRST]'
5520 # Handle CRLF in mingw tool chain
5524 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5528 # If we're using GNU nm, then use its standard symbol codes.
5529 case `$NM -V 2>&1` in
5530 *GNU* | *'with BFD'*)
5531 symcode='[ABCDGISTW]' ;;
5534 # Try without a prefix undercore, then with it.
5535 for ac_symprfx in "" "_"; do
5537 # Write the raw and C identifiers.
5538 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5540 # Check to see that the pipe works correctly.
5544 cat > conftest.$ac_ext <<EOF
5549 void nm_test_func(){}
5553 int main(){nm_test_var='a';nm_test_func();return(0);}
5556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5557 (eval $ac_compile) 2>&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); }; then
5561 # Now try to grab the symbols.
5563 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5564 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); } && test -s "$nlist"; then
5568 # Try sorting and uniquifying the output.
5569 if sort "$nlist" | uniq > "$nlist"T; then
5570 mv -f "$nlist"T "$nlist"
5575 # Make sure that we snagged all the symbols we need.
5576 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5577 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5578 cat <<EOF > conftest.$ac_ext
5584 # Now generate the symbol file.
5585 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5587 cat <<EOF >> conftest.$ac_ext
5588 #if defined (__STDC__) && __STDC__
5589 # define lt_ptr_t void *
5591 # define lt_ptr_t char *
5595 /* The mapping between symbol names and symbols. */
5600 lt_preloaded_symbols[] =
5603 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5604 cat <<\EOF >> conftest.$ac_ext
5612 # Now try linking the two files.
5613 mv conftest.$ac_objext conftstm.$ac_objext
5614 lt_save_LIBS="$LIBS"
5615 lt_save_CFLAGS="$CFLAGS"
5616 LIBS="conftstm.$ac_objext"
5617 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5619 (eval $ac_link) 2>&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5625 LIBS="$lt_save_LIBS"
5626 CFLAGS="$lt_save_CFLAGS"
5628 echo "cannot find nm_test_func in $nlist" >&5
5631 echo "cannot find nm_test_var in $nlist" >&5
5634 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5637 echo "$progname: failed program was:" >&5
5638 cat conftest.$ac_ext >&5
5640 rm -f conftest* conftst*
5642 # Do not use the global_symbol_pipe unless it works.
5643 if test "$pipe_works" = yes; then
5646 lt_cv_sys_global_symbol_pipe=
5652 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5653 lt_cv_sys_global_symbol_to_cdecl=
5655 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5656 echo "$as_me:$LINENO: result: failed" >&5
5657 echo "${ECHO_T}failed" >&6
5659 echo "$as_me:$LINENO: result: ok" >&5
5660 echo "${ECHO_T}ok" >&6
5663 echo "$as_me:$LINENO: checking for objdir" >&5
5664 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5665 if test "${lt_cv_objdir+set}" = set; then
5666 echo $ECHO_N "(cached) $ECHO_C" >&6
5668 rm -f .libs 2>/dev/null
5669 mkdir .libs 2>/dev/null
5670 if test -d .libs; then
5673 # MS-DOS does not allow filenames that begin with a dot.
5676 rmdir .libs 2>/dev/null
5678 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5679 echo "${ECHO_T}$lt_cv_objdir" >&6
5680 objdir=$lt_cv_objdir
5688 # AIX sometimes has problems with the GCC collect2 program. For some
5689 # reason, if we set the COLLECT_NAMES environment variable, the problems
5690 # vanish in a puff of smoke.
5691 if test "X${COLLECT_NAMES+set}" != Xset; then
5693 export COLLECT_NAMES
5698 # Sed substitution that helps us do robust quoting. It backslashifies
5699 # metacharacters that are still active within double-quoted strings.
5700 Xsed='sed -e s/^X//'
5701 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5703 # Same as above, but do not quote variable references.
5704 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5706 # Sed substitution to delay expansion of an escaped shell variable in a
5707 # double_quote_subst'ed string.
5708 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5710 # Sed substitution to avoid accidental globbing in evaled expressions
5711 no_glob_subst='s/\*/\\\*/g'
5718 can_build_shared=yes
5720 # All known linkers require a `.a' archive for static linking (except M$VC,
5721 # which needs '.lib').
5723 ltmain="$ac_aux_dir/ltmain.sh"
5724 ofile="$default_ofile"
5725 with_gnu_ld="$lt_cv_prog_gnu_ld"
5727 if test -n "$ac_tool_prefix"; then
5728 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5729 set dummy ${ac_tool_prefix}ar; ac_word=$2
5730 echo "$as_me:$LINENO: checking for $ac_word" >&5
5731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5732 if test "${ac_cv_prog_AR+set}" = set; then
5733 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 if test -n "$AR"; then
5736 ac_cv_prog_AR="$AR" # Let the user override the test.
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 test -z "$as_dir" && as_dir=.
5743 for ac_exec_ext in '' $ac_executable_extensions; do
5744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_prog_AR="${ac_tool_prefix}ar"
5746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 if test -n "$AR"; then
5756 echo "$as_me:$LINENO: result: $AR" >&5
5757 echo "${ECHO_T}$AR" >&6
5759 echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6
5764 if test -z "$ac_cv_prog_AR"; then
5766 # Extract the first word of "ar", so it can be a program name with args.
5767 set dummy ar; ac_word=$2
5768 echo "$as_me:$LINENO: checking for $ac_word" >&5
5769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5770 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 if test -n "$ac_ct_AR"; then
5774 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_ac_ct_AR="ar"
5784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5793 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5794 if test -n "$ac_ct_AR"; then
5795 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5796 echo "${ECHO_T}$ac_ct_AR" >&6
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5807 if test -n "$ac_tool_prefix"; then
5808 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5809 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5810 echo "$as_me:$LINENO: checking for $ac_word" >&5
5811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5812 if test "${ac_cv_prog_RANLIB+set}" = set; then
5813 echo $ECHO_N "(cached) $ECHO_C" >&6
5815 if test -n "$RANLIB"; then
5816 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 RANLIB=$ac_cv_prog_RANLIB
5835 if test -n "$RANLIB"; then
5836 echo "$as_me:$LINENO: result: $RANLIB" >&5
5837 echo "${ECHO_T}$RANLIB" >&6
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5844 if test -z "$ac_cv_prog_RANLIB"; then
5845 ac_ct_RANLIB=$RANLIB
5846 # Extract the first word of "ranlib", so it can be a program name with args.
5847 set dummy ranlib; ac_word=$2
5848 echo "$as_me:$LINENO: checking for $ac_word" >&5
5849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5850 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5851 echo $ECHO_N "(cached) $ECHO_C" >&6
5853 if test -n "$ac_ct_RANLIB"; then
5854 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5863 ac_cv_prog_ac_ct_RANLIB="ranlib"
5864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5873 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5874 if test -n "$ac_ct_RANLIB"; then
5875 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5876 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5882 RANLIB=$ac_ct_RANLIB
5884 RANLIB="$ac_cv_prog_RANLIB"
5887 if test -n "$ac_tool_prefix"; then
5888 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5889 set dummy ${ac_tool_prefix}strip; ac_word=$2
5890 echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5892 if test "${ac_cv_prog_STRIP+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 if test -n "$STRIP"; then
5896 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5905 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 STRIP=$ac_cv_prog_STRIP
5915 if test -n "$STRIP"; then
5916 echo "$as_me:$LINENO: result: $STRIP" >&5
5917 echo "${ECHO_T}$STRIP" >&6
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5924 if test -z "$ac_cv_prog_STRIP"; then
5926 # Extract the first word of "strip", so it can be a program name with args.
5927 set dummy strip; ac_word=$2
5928 echo "$as_me:$LINENO: checking for $ac_word" >&5
5929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5930 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5931 echo $ECHO_N "(cached) $ECHO_C" >&6
5933 if test -n "$ac_ct_STRIP"; then
5934 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5943 ac_cv_prog_ac_ct_STRIP="strip"
5944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5950 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5953 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5954 if test -n "$ac_ct_STRIP"; then
5955 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5956 echo "${ECHO_T}$ac_ct_STRIP" >&6
5958 echo "$as_me:$LINENO: result: no" >&5
5959 echo "${ECHO_T}no" >&6
5964 STRIP="$ac_cv_prog_STRIP"
5969 old_CFLAGS="$CFLAGS"
5971 # Set sane defaults for various variables
5972 test -z "$AR" && AR=ar
5973 test -z "$AR_FLAGS" && AR_FLAGS=cru
5974 test -z "$AS" && AS=as
5975 test -z "$CC" && CC=cc
5976 test -z "$LTCC" && LTCC=$CC
5977 test -z "$DLLTOOL" && DLLTOOL=dlltool
5978 test -z "$LD" && LD=ld
5979 test -z "$LN_S" && LN_S="ln -s"
5980 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5981 test -z "$NM" && NM=nm
5982 test -z "$SED" && SED=sed
5983 test -z "$OBJDUMP" && OBJDUMP=objdump
5984 test -z "$RANLIB" && RANLIB=:
5985 test -z "$STRIP" && STRIP=:
5986 test -z "$ac_objext" && ac_objext=o
5988 # Determine commands to create old-style static archives.
5989 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5990 old_postinstall_cmds='chmod 644 $oldlib'
5991 old_postuninstall_cmds=
5993 if test -n "$RANLIB"; then
5996 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5999 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
6002 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6005 # Only perform the check for file, if the check method requires it
6006 case $deplibs_check_method in
6008 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6009 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6010 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6011 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6012 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6019 lt_save_MAGIC_CMD="$MAGIC_CMD"
6020 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6021 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6022 for ac_dir in $ac_dummy; do
6024 test -z "$ac_dir" && ac_dir=.
6025 if test -f $ac_dir/${ac_tool_prefix}file; then
6026 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6027 if test -n "$file_magic_test_file"; then
6028 case $deplibs_check_method in
6030 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6031 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6032 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6033 $EGREP "$file_magic_regex" > /dev/null; then
6038 *** Warning: the command libtool uses to detect shared libraries,
6039 *** $file_magic_cmd, produces output that libtool cannot recognize.
6040 *** The result is that libtool may fail to recognize shared libraries
6041 *** as such. This will affect the creation of libtool libraries that
6042 *** depend on shared libraries, but programs linked with such libtool
6043 *** libraries will work regardless of this problem. Nevertheless, you
6044 *** may want to report the problem to your system manager and/or to
6045 *** bug-libtool@gnu.org
6055 MAGIC_CMD="$lt_save_MAGIC_CMD"
6060 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6061 if test -n "$MAGIC_CMD"; then
6062 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6063 echo "${ECHO_T}$MAGIC_CMD" >&6
6065 echo "$as_me:$LINENO: result: no" >&5
6066 echo "${ECHO_T}no" >&6
6069 if test -z "$lt_cv_path_MAGIC_CMD"; then
6070 if test -n "$ac_tool_prefix"; then
6071 echo "$as_me:$LINENO: checking for file" >&5
6072 echo $ECHO_N "checking for file... $ECHO_C" >&6
6073 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6074 echo $ECHO_N "(cached) $ECHO_C" >&6
6078 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6081 lt_save_MAGIC_CMD="$MAGIC_CMD"
6082 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6083 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6084 for ac_dir in $ac_dummy; do
6086 test -z "$ac_dir" && ac_dir=.
6087 if test -f $ac_dir/file; then
6088 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6089 if test -n "$file_magic_test_file"; then
6090 case $deplibs_check_method in
6092 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6093 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6094 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6095 $EGREP "$file_magic_regex" > /dev/null; then
6100 *** Warning: the command libtool uses to detect shared libraries,
6101 *** $file_magic_cmd, produces output that libtool cannot recognize.
6102 *** The result is that libtool may fail to recognize shared libraries
6103 *** as such. This will affect the creation of libtool libraries that
6104 *** depend on shared libraries, but programs linked with such libtool
6105 *** libraries will work regardless of this problem. Nevertheless, you
6106 *** may want to report the problem to your system manager and/or to
6107 *** bug-libtool@gnu.org
6117 MAGIC_CMD="$lt_save_MAGIC_CMD"
6122 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6123 if test -n "$MAGIC_CMD"; then
6124 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6125 echo "${ECHO_T}$MAGIC_CMD" >&6
6127 echo "$as_me:$LINENO: result: no" >&5
6128 echo "${ECHO_T}no" >&6
6143 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6144 if test "${enable_libtool_lock+set}" = set; then
6145 enableval="$enable_libtool_lock"
6148 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6151 # Check whether --with-pic or --without-pic was given.
6152 if test "${with_pic+set}" = set; then
6158 test -z "$pic_mode" && pic_mode=default
6160 # Use C for the default configuration in the libtool script
6164 ac_cpp='$CPP $CPPFLAGS'
6165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6170 # Source file extension for C test sources.
6173 # Object file extension for compiled C test sources.
6177 # Code to be used in simple compile tests
6178 lt_simple_compile_test_code="int some_variable = 0;\n"
6180 # Code to be used in simple link tests
6181 lt_simple_link_test_code='int main(){return(0);}\n'
6184 # If no C compiler was specified, use CC.
6187 # Allow CC to be a program name with arguments.
6192 # Check for any special shared library compilation flags.
6195 if test "$GCC" = no; then
6198 lt_prog_cc_shlib='-belf'
6202 if test -n "$lt_prog_cc_shlib"; then
6203 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6204 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6205 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6207 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6208 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6209 lt_cv_prog_cc_can_build_shared=no
6215 # Check to make sure the static flag actually works.
6217 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6218 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6219 if test "${lt_prog_compiler_static_works+set}" = set; then
6220 echo $ECHO_N "(cached) $ECHO_C" >&6
6222 lt_prog_compiler_static_works=no
6223 save_LDFLAGS="$LDFLAGS"
6224 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6225 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6226 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6227 # The compiler can only warn and ignore the option if not recognized
6228 # So say no if there are warnings
6229 if test -s conftest.err; then
6230 # Append any errors to the config.log.
6231 cat conftest.err 1>&5
6233 lt_prog_compiler_static_works=yes
6237 LDFLAGS="$save_LDFLAGS"
6240 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6241 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6243 if test x"$lt_prog_compiler_static_works" = xyes; then
6246 lt_prog_compiler_static=
6252 ## There is no encapsulation within the following macros, do not change
6253 ## the running order or otherwise move them around unless you know exactly
6254 ## what you are doing...
6256 lt_prog_compiler_no_builtin_flag=
6258 if test "$GCC" = yes; then
6259 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6261 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6262 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6263 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6264 echo $ECHO_N "(cached) $ECHO_C" >&6
6266 lt_cv_prog_compiler_rtti_exceptions=no
6267 ac_outfile=conftest.$ac_objext
6268 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6269 lt_compiler_flag="-fno-rtti -fno-exceptions"
6270 # Insert the option either (1) after the last *FLAGS variable, or
6271 # (2) before a word containing "conftest.", or (3) at the end.
6272 # Note that $ac_compile itself does not contain backslashes and begins
6273 # with a dollar sign (not a hyphen), so the echo should work correctly.
6274 # The option is referenced via a variable to avoid confusing sed.
6275 lt_compile=`echo "$ac_compile" | $SED \
6276 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6278 -e 's:$: $lt_compiler_flag:'`
6279 (eval echo "\"\$as_me:6279: $lt_compile\"" >&5)
6280 (eval "$lt_compile" 2>conftest.err)
6282 cat conftest.err >&5
6283 echo "$as_me:6283: \$? = $ac_status" >&5
6284 if (exit $ac_status) && test -s "$ac_outfile"; then
6285 # The compiler can only warn and ignore the option if not recognized
6286 # So say no if there are warnings
6287 if test ! -s conftest.err; then
6288 lt_cv_prog_compiler_rtti_exceptions=yes
6294 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6295 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6297 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6298 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6305 lt_prog_compiler_wl=
6306 lt_prog_compiler_pic=
6307 lt_prog_compiler_static=
6309 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6310 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6312 if test "$GCC" = yes; then
6313 lt_prog_compiler_wl='-Wl,'
6314 lt_prog_compiler_static='-static'
6318 # All AIX code is PIC.
6319 if test "$host_cpu" = ia64; then
6320 # AIX 5 now supports IA64 processor
6321 lt_prog_compiler_static='-Bstatic'
6326 # FIXME: we need at least 68020 code to build shared libraries, but
6327 # adding the `-m68020' flag to GCC prevents building anything better,
6329 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6332 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6333 # PIC is the default for these OSes.
6336 mingw* | pw32* | os2*)
6337 # This hack is so that the source file can tell whether it is being
6338 # built for inclusion in a dll (and should export symbols for example).
6339 lt_prog_compiler_pic='-DDLL_EXPORT'
6342 darwin* | rhapsody*)
6343 # PIC is the default on this platform
6344 # Common symbols not allowed in MH_DYLIB files
6345 lt_prog_compiler_pic='-fno-common'
6349 # Just because we use GCC doesn't mean we suddenly get shared libraries
6350 # on systems that don't support them.
6351 lt_prog_compiler_can_build_shared=no
6356 if test -d /usr/nec; then
6357 lt_prog_compiler_pic=-Kconform_pic
6362 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6369 lt_prog_compiler_pic='-fPIC'
6375 lt_prog_compiler_pic='-fPIC'
6379 # PORTME Check for flag to pass linker flags through the system compiler.
6382 lt_prog_compiler_wl='-Wl,'
6383 if test "$host_cpu" = ia64; then
6384 # AIX 5 now supports IA64 processor
6385 lt_prog_compiler_static='-Bstatic'
6387 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6391 mingw* | pw32* | os2*)
6392 # This hack is so that the source file can tell whether it is being
6393 # built for inclusion in a dll (and should export symbols for example).
6394 lt_prog_compiler_pic='-DDLL_EXPORT'
6397 hpux9* | hpux10* | hpux11*)
6398 lt_prog_compiler_wl='-Wl,'
6399 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6406 lt_prog_compiler_pic='+Z'
6409 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6410 lt_prog_compiler_static='${wl}-a ${wl}archive'
6413 irix5* | irix6* | nonstopux*)
6414 lt_prog_compiler_wl='-Wl,'
6415 # PIC (with -KPIC) is the default.
6416 lt_prog_compiler_static='-non_shared'
6420 lt_prog_compiler_pic='-KPIC'
6421 lt_prog_compiler_static='-Bstatic'
6427 lt_prog_compiler_wl='-Wl,'
6428 lt_prog_compiler_pic='-KPIC'
6429 lt_prog_compiler_static='-static'
6432 lt_prog_compiler_wl='-Wl,'
6433 # All Alpha code is PIC.
6434 lt_prog_compiler_static='-non_shared'
6439 osf3* | osf4* | osf5*)
6440 lt_prog_compiler_wl='-Wl,'
6441 # All OSF/1 code is PIC.
6442 lt_prog_compiler_static='-non_shared'
6446 lt_prog_compiler_pic='-Kpic'
6447 lt_prog_compiler_static='-dn'
6451 lt_prog_compiler_wl='-Wl,'
6452 lt_prog_compiler_pic='-KPIC'
6453 lt_prog_compiler_static='-Bstatic'
6457 lt_prog_compiler_wl='-Qoption ld '
6458 lt_prog_compiler_pic='-PIC'
6459 lt_prog_compiler_static='-Bstatic'
6462 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6463 lt_prog_compiler_wl='-Wl,'
6464 lt_prog_compiler_pic='-KPIC'
6465 lt_prog_compiler_static='-Bstatic'
6469 if test -d /usr/nec ;then
6470 lt_prog_compiler_pic='-Kconform_pic'
6471 lt_prog_compiler_static='-Bstatic'
6476 lt_prog_compiler_pic='-pic'
6477 lt_prog_compiler_static='-Bstatic'
6481 lt_prog_compiler_can_build_shared=no
6486 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6487 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6490 # Check to make sure the PIC flag actually works.
6492 if test -n "$lt_prog_compiler_pic"; then
6493 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6494 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6495 if test "${lt_prog_compiler_pic_works+set}" = set; then
6496 echo $ECHO_N "(cached) $ECHO_C" >&6
6498 lt_prog_compiler_pic_works=no
6499 ac_outfile=conftest.$ac_objext
6500 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6501 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6502 # Insert the option either (1) after the last *FLAGS variable, or
6503 # (2) before a word containing "conftest.", or (3) at the end.
6504 # Note that $ac_compile itself does not contain backslashes and begins
6505 # with a dollar sign (not a hyphen), so the echo should work correctly.
6506 # The option is referenced via a variable to avoid confusing sed.
6507 lt_compile=`echo "$ac_compile" | $SED \
6508 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6509 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6510 -e 's:$: $lt_compiler_flag:'`
6511 (eval echo "\"\$as_me:6511: $lt_compile\"" >&5)
6512 (eval "$lt_compile" 2>conftest.err)
6514 cat conftest.err >&5
6515 echo "$as_me:6515: \$? = $ac_status" >&5
6516 if (exit $ac_status) && test -s "$ac_outfile"; then
6517 # The compiler can only warn and ignore the option if not recognized
6518 # So say no if there are warnings
6519 if test ! -s conftest.err; then
6520 lt_prog_compiler_pic_works=yes
6526 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6527 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6529 if test x"$lt_prog_compiler_pic_works" = xyes; then
6530 case $lt_prog_compiler_pic in
6532 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6535 lt_prog_compiler_pic=
6536 lt_prog_compiler_can_build_shared=no
6541 # For platforms which do not support PIC, -DPIC is meaningless:
6543 lt_prog_compiler_pic=
6546 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6550 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6551 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6552 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6553 echo $ECHO_N "(cached) $ECHO_C" >&6
6555 lt_cv_prog_compiler_c_o=no
6556 $rm -r conftest 2>/dev/null
6560 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6562 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6563 # that will create temporary files in the current directory regardless of
6564 # the output directory. Thus, making CWD read-only will cause this test
6565 # to fail, enabling locking or at least warning the user not to do parallel
6569 lt_compiler_flag="-o out/conftest2.$ac_objext"
6570 # Insert the option either (1) after the last *FLAGS variable, or
6571 # (2) before a word containing "conftest.", or (3) at the end.
6572 # Note that $ac_compile itself does not contain backslashes and begins
6573 # with a dollar sign (not a hyphen), so the echo should work correctly.
6574 lt_compile=`echo "$ac_compile" | $SED \
6575 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6576 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6577 -e 's:$: $lt_compiler_flag:'`
6578 (eval echo "\"\$as_me:6578: $lt_compile\"" >&5)
6579 (eval "$lt_compile" 2>out/conftest.err)
6581 cat out/conftest.err >&5
6582 echo "$as_me:6582: \$? = $ac_status" >&5
6583 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6585 # The compiler can only warn and ignore the option if not recognized
6586 # So say no if there are warnings
6587 if test ! -s out/conftest.err; then
6588 lt_cv_prog_compiler_c_o=yes
6599 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6600 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6603 hard_links="nottested"
6604 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6605 # do not overwrite the value of need_locks provided by the user
6606 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6607 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6610 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6612 ln conftest.a conftest.b 2>&5 || hard_links=no
6613 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6614 echo "$as_me:$LINENO: result: $hard_links" >&5
6615 echo "${ECHO_T}$hard_links" >&6
6616 if test "$hard_links" = no; then
6617 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6618 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6625 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6626 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6629 allow_undefined_flag=
6630 enable_shared_with_static_runtimes=no
6632 archive_expsym_cmds=
6633 old_archive_From_new_cmds=
6634 old_archive_from_expsyms_cmds=
6635 export_dynamic_flag_spec=
6636 whole_archive_flag_spec=
6637 thread_safe_flag_spec=
6638 hardcode_libdir_flag_spec=
6639 hardcode_libdir_flag_spec_ld=
6640 hardcode_libdir_separator=
6643 hardcode_shlibpath_var=unsupported
6644 link_all_deplibs=unknown
6645 hardcode_automatic=no
6648 always_export_symbols=no
6649 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6650 # include_expsyms should be a list of space-separated symbols to be *always*
6651 # included in the symbol list
6653 # exclude_expsyms can be an extended regexp of symbols to exclude
6654 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6655 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6656 # as well as any symbol that contains `d'.
6657 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6658 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6659 # platforms (ab)use it in PIC code, but their linkers get confused if
6660 # the symbol is explicitly referenced. Since portable code cannot
6661 # rely on this symbol name, it's probably fine to never include it in
6662 # preloaded symbol tables.
6663 extract_expsyms_cmds=
6666 cygwin* | mingw* | pw32*)
6667 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6668 # When not using gcc, we currently assume that we are using
6669 # Microsoft Visual C++.
6670 if test "$GCC" != yes; then
6680 if test "$with_gnu_ld" = yes; then
6681 # If archive_cmds runs LD, not CC, wlarc should be empty
6684 # See if GNU ld supports shared libraries.
6686 aix3* | aix4* | aix5*)
6687 # On AIX/PPC, the GNU linker is very broken
6688 if test "$host_cpu" != ia64; then
6692 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6693 *** to be unable to reliably create shared libraries on AIX.
6694 *** Therefore, libtool is disabling shared libraries support. If you
6695 *** really care for shared libraries, you may want to modify your PATH
6696 *** so that a non-GNU linker is found, and then restart.
6703 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)'
6704 hardcode_libdir_flag_spec='-L$libdir'
6705 hardcode_minus_L=yes
6707 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6708 # that the semantics of dynamic libraries on AmigaOS, at least up
6709 # to version 4, is to share data among multiple programs linked
6710 # with the same dynamic library. Since this doesn't match the
6711 # behavior of shared libraries on other platforms, we can't use
6717 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6718 allow_undefined_flag=unsupported
6719 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6720 # support --undefined. This deserves some investigation. FIXME
6721 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6727 cygwin* | mingw* | pw32*)
6728 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6729 # as there is no search path for DLLs.
6730 hardcode_libdir_flag_spec='-L$libdir'
6731 allow_undefined_flag=unsupported
6732 always_export_symbols=no
6733 enable_shared_with_static_runtimes=yes
6734 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6736 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6737 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6738 # If the export-symbols file already is a .def file (1st line
6739 # is EXPORTS), use it as is; otherwise, prepend...
6740 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6741 cp $export_symbols $output_objdir/$soname.def;
6743 echo EXPORTS > $output_objdir/$soname.def;
6744 cat $export_symbols >> $output_objdir/$soname.def;
6746 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6753 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6754 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
6763 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6767 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6768 *** create shared libraries on Solaris systems. Therefore, libtool
6769 *** is disabling shared libraries support. We urge you to upgrade GNU
6770 *** binutils to release 2.9.1 or newer. Another option is to modify
6771 *** your PATH or compiler configuration so that the native linker is
6772 *** used, and then restart.
6775 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6776 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6777 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6784 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6787 hardcode_shlibpath_var=no
6791 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6792 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6793 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6800 if test "$ld_shlibs" = yes; then
6801 runpath_var=LD_RUN_PATH
6802 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6803 export_dynamic_flag_spec='${wl}--export-dynamic'
6804 # ancient GNU ld didn't support --whole-archive et. al.
6805 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6806 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6808 whole_archive_flag_spec=
6812 # PORTME fill in a description of your system's linker (not GNU ld)
6815 allow_undefined_flag=unsupported
6816 always_export_symbols=yes
6817 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'
6818 # Note: this linker hardcodes the directories in LIBPATH if there
6819 # are no directories specified by -L.
6820 hardcode_minus_L=yes
6821 if test "$GCC" = yes && test -z "$link_static_flag"; then
6822 # Neither direct hardcoding nor static linking is supported with a
6824 hardcode_direct=unsupported
6829 if test "$host_cpu" = ia64; then
6830 # On IA64, the linker does run time linking by default, so we don't
6831 # have to do anything special.
6832 aix_use_runtimelinking=no
6833 exp_sym_flag='-Bexport'
6836 # If we're using GNU nm, then we don't want the "-C" option.
6837 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6838 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6839 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'
6841 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'
6843 aix_use_runtimelinking=no
6845 # Test if we are trying to use run time linking or normal
6846 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6847 # need to do runtime linking.
6848 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6849 for ld_flag in $LDFLAGS; do
6850 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6851 aix_use_runtimelinking=yes
6857 exp_sym_flag='-bexport'
6858 no_entry_flag='-bnoentry'
6861 # When large executables or shared objects are built, AIX ld can
6862 # have problems creating the table of contents. If linking a library
6863 # or program results in "error TOC overflow" add -mminimal-toc to
6864 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6865 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6869 hardcode_libdir_separator=':'
6870 link_all_deplibs=yes
6872 if test "$GCC" = yes; then
6873 case $host_os in aix4.012|aix4.012.*)
6874 # We only want to do this on AIX 4.2 and lower, the check
6875 # below for broken collect2 doesn't work under 4.3+
6876 collect2name=`${CC} -print-prog-name=collect2`
6877 if test -f "$collect2name" && \
6878 strings "$collect2name" | grep resolve_lib_name >/dev/null
6880 # We have reworked collect2
6883 # We have old collect2
6884 hardcode_direct=unsupported
6885 # It fails to find uninstalled libraries when the uninstalled
6886 # path is not listed in the libpath. Setting hardcode_minus_L
6887 # to unsupported forces relinking
6888 hardcode_minus_L=yes
6889 hardcode_libdir_flag_spec='-L$libdir'
6890 hardcode_libdir_separator=
6893 shared_flag='-shared'
6896 if test "$host_cpu" = ia64; then
6897 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6898 # chokes on -Wl,-G. The following line is correct:
6901 if test "$aix_use_runtimelinking" = yes; then
6902 shared_flag='${wl}-G'
6904 shared_flag='${wl}-bM:SRE'
6909 # It seems that -bexpall does not export symbols beginning with
6910 # underscore (_), so it is better to generate a list of symbols to export.
6911 always_export_symbols=yes
6912 if test "$aix_use_runtimelinking" = yes; then
6913 # Warning - without using the other runtime loading flags (-brtl),
6914 # -berok will link without error, but may produce a broken library.
6915 allow_undefined_flag='-berok'
6916 # Determine the default libpath from the value encoded in an empty executable.
6917 cat >conftest.$ac_ext <<_ACEOF
6918 #line $LINENO "configure"
6921 cat confdefs.h >>conftest.$ac_ext
6922 cat >>conftest.$ac_ext <<_ACEOF
6923 /* end confdefs.h. */
6933 rm -f conftest.$ac_objext conftest$ac_exeext
6934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6935 (eval $ac_link) 2>&5
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); } &&
6939 { ac_try='test -s conftest$ac_exeext'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; }; then
6946 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6948 # Check for a 64-bit object if we didn't find anything.
6949 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; }
6952 echo "$as_me: failed program was:" >&5
6953 sed 's/^/| /' conftest.$ac_ext >&5
6956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6957 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6959 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6960 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"
6962 if test "$host_cpu" = ia64; then
6963 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6964 allow_undefined_flag="-z nodefs"
6965 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"
6967 # Determine the default libpath from the value encoded in an empty executable.
6968 cat >conftest.$ac_ext <<_ACEOF
6969 #line $LINENO "configure"
6972 cat confdefs.h >>conftest.$ac_ext
6973 cat >>conftest.$ac_ext <<_ACEOF
6974 /* end confdefs.h. */
6984 rm -f conftest.$ac_objext conftest$ac_exeext
6985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6986 (eval $ac_link) 2>&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); } &&
6990 { ac_try='test -s conftest$ac_exeext'
6991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); }; }; then
6997 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6999 # Check for a 64-bit object if we didn't find anything.
7000 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; }
7003 echo "$as_me: failed program was:" >&5
7004 sed 's/^/| /' conftest.$ac_ext >&5
7007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7008 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7010 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7011 # Warning - without using the other run time loading flags,
7012 # -berok will link without error, but may produce a broken library.
7013 no_undefined_flag=' ${wl}-bernotok'
7014 allow_undefined_flag=' ${wl}-berok'
7015 # -bexpall does not export symbols beginning with underscore (_)
7016 always_export_symbols=yes
7017 # Exported symbols can be pulled into shared objects from archives
7018 whole_archive_flag_spec=' '
7019 archive_cmds_need_lc=yes
7020 # This is similar to how AIX traditionally builds it's shared libraries.
7021 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'
7027 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)'
7028 hardcode_libdir_flag_spec='-L$libdir'
7029 hardcode_minus_L=yes
7030 # see comment about different semantics on the GNU ld section
7035 export_dynamic_flag_spec=-rdynamic
7038 cygwin* | mingw* | pw32*)
7039 # When not using gcc, we currently assume that we are using
7040 # Microsoft Visual C++.
7041 # hardcode_libdir_flag_spec is actually meaningless, as there is
7042 # no search path for DLLs.
7043 hardcode_libdir_flag_spec=' '
7044 allow_undefined_flag=unsupported
7045 # Tell ltmain to make .lib files, not .a files.
7047 # Tell ltmain to make .dll files, not .so files.
7049 # FIXME: Setting linknames here is a bad hack.
7050 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7051 # The linker will automatically build a .lib file if we build a DLL.
7052 old_archive_From_new_cmds='true'
7053 # FIXME: Should let the user specify the lib program.
7054 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7055 fix_srcfile_path='`cygpath -w "$srcfile"`'
7056 enable_shared_with_static_runtimes=yes
7059 darwin* | rhapsody*)
7060 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7061 archive_cmds_need_lc=no
7063 rhapsody* | darwin1.[012])
7064 allow_undefined_flag='-undefined suppress'
7067 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7070 # FIXME: Relying on posixy $() will cause problems for
7071 # cross-compilation, but unfortunately the echo tests do not
7072 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7073 # `"' quotes if we put them in here... so don't!
7074 lt_int_apple_cc_single_mod=no
7075 output_verbose_link_cmd='echo'
7076 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7077 lt_int_apple_cc_single_mod=yes
7079 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7080 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7082 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'
7084 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7085 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7086 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7087 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}'
7089 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}'
7091 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}'
7093 hardcode_automatic=yes
7094 hardcode_shlibpath_var=unsupported
7095 whole_archive_flag_spec='-all_load $convenience'
7096 link_all_deplibs=yes
7101 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7102 hardcode_libdir_flag_spec='-L$libdir'
7103 hardcode_shlibpath_var=no
7110 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7111 # support. Future versions do this automatically, but an explicit c++rt0.o
7112 # does not break anything, and helps significantly (at the cost of a little
7115 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7116 hardcode_libdir_flag_spec='-R$libdir'
7118 hardcode_shlibpath_var=no
7121 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7123 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7125 hardcode_minus_L=yes
7126 hardcode_shlibpath_var=no
7129 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7131 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7132 hardcode_libdir_flag_spec='-R$libdir'
7134 hardcode_shlibpath_var=no
7138 if test "$GCC" = yes; then
7139 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'
7141 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'
7143 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7144 hardcode_libdir_separator=:
7147 # hardcode_minus_L: Not really in the search PATH,
7148 # but as the default location of the library.
7149 hardcode_minus_L=yes
7150 export_dynamic_flag_spec='${wl}-E'
7154 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7157 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7160 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7166 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7169 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7173 if test "$with_gnu_ld" = no; then
7176 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7177 hardcode_libdir_flag_spec_ld='+b $libdir'
7178 hardcode_libdir_separator=:
7180 hardcode_shlibpath_var=no
7183 hardcode_libdir_flag_spec='-L$libdir'
7185 hardcode_shlibpath_var=no
7187 # hardcode_minus_L: Not really in the search PATH,
7188 # but as the default location of the library.
7189 hardcode_minus_L=yes
7192 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7193 hardcode_libdir_separator=:
7195 export_dynamic_flag_spec='${wl}-E'
7197 # hardcode_minus_L: Not really in the search PATH,
7198 # but as the default location of the library.
7199 hardcode_minus_L=yes
7205 irix5* | irix6* | nonstopux*)
7206 if test "$GCC" = yes; then
7207 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'
7209 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'
7210 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7212 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7213 hardcode_libdir_separator=:
7214 link_all_deplibs=yes
7218 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7219 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7221 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7223 hardcode_libdir_flag_spec='-R$libdir'
7225 hardcode_shlibpath_var=no
7229 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7231 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7232 hardcode_libdir_separator=:
7233 hardcode_shlibpath_var=no
7238 hardcode_shlibpath_var=no
7239 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7240 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7241 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7242 export_dynamic_flag_spec='${wl}-E'
7245 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7246 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7247 hardcode_libdir_flag_spec='-R$libdir'
7250 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7251 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7258 hardcode_libdir_flag_spec='-L$libdir'
7259 hardcode_minus_L=yes
7260 allow_undefined_flag=unsupported
7261 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'
7262 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7266 if test "$GCC" = yes; then
7267 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7268 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'
7270 allow_undefined_flag=' -expect_unresolved \*'
7271 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'
7273 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7274 hardcode_libdir_separator=:
7277 osf4* | osf5*) # as osf3* with the addition of -msym flag
7278 if test "$GCC" = yes; then
7279 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7280 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'
7281 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7283 allow_undefined_flag=' -expect_unresolved \*'
7284 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'
7285 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7286 $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'
7288 # Both c and cxx compiler support -rpath directly
7289 hardcode_libdir_flag_spec='-rpath $libdir'
7291 hardcode_libdir_separator=:
7295 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7296 hardcode_shlibpath_var=no
7297 export_dynamic_flag_spec='${wl}-Bexport'
7298 runpath_var=LD_RUN_PATH
7299 hardcode_runpath_var=yes
7303 no_undefined_flag=' -z text'
7304 if test "$GCC" = yes; then
7305 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7306 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7307 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7309 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7310 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7311 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7313 hardcode_libdir_flag_spec='-R$libdir'
7314 hardcode_shlibpath_var=no
7316 solaris2.[0-5] | solaris2.[0-5].*) ;;
7317 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7318 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7320 link_all_deplibs=yes
7324 if test "x$host_vendor" = xsequent; then
7325 # Use $CC to link under sequent, because it throws in some extra .o
7326 # files that make .init and .fini sections work.
7327 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7329 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7331 hardcode_libdir_flag_spec='-L$libdir'
7333 hardcode_minus_L=yes
7334 hardcode_shlibpath_var=no
7338 case $host_vendor in
7340 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7341 hardcode_direct=yes # is this really true???
7344 ## LD is ld it makes a PLAMLIB
7345 ## CC just makes a GrossModule.
7346 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7347 reload_cmds='$CC -r -o $output$reload_objs'
7351 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7352 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7355 runpath_var='LD_RUN_PATH'
7356 hardcode_shlibpath_var=no
7360 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7361 hardcode_shlibpath_var=no
7362 export_dynamic_flag_spec='-Bexport'
7366 if test -d /usr/nec; then
7367 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7368 hardcode_shlibpath_var=no
7369 runpath_var=LD_RUN_PATH
7370 hardcode_runpath_var=yes
7376 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7379 hardcode_shlibpath_var=no
7380 hardcode_runpath_var=yes
7381 runpath_var=LD_RUN_PATH
7384 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7385 no_undefined_flag='${wl}-z ${wl}text'
7386 if test "$GCC" = yes; then
7387 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7389 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7391 runpath_var='LD_RUN_PATH'
7392 hardcode_shlibpath_var=no
7396 no_undefined_flag=' -z text'
7397 # $CC -shared without GNU ld will not create a library from C++
7398 # object files and a static libstdc++, better avoid it by now
7399 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7400 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7401 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7402 hardcode_libdir_flag_spec=
7403 hardcode_shlibpath_var=no
7404 runpath_var='LD_RUN_PATH'
7408 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7409 hardcode_libdir_flag_spec='-L$libdir'
7410 hardcode_shlibpath_var=no
7419 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7420 echo "${ECHO_T}$ld_shlibs" >&6
7421 test "$ld_shlibs" = no && can_build_shared=no
7423 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7424 if test "$GCC" = yes; then
7425 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7429 # Do we need to explicitly link libc?
7431 case "x$archive_cmds_need_lc" in
7433 # Assume -lc should be added
7434 archive_cmds_need_lc=yes
7436 if test "$enable_shared" = yes && test "$GCC" = yes; then
7437 case $archive_cmds in
7439 # FIXME: we may have to deal with multi-command sequences.
7442 # Test whether the compiler implicitly links with -lc since on some
7443 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7444 # to ld, don't add -lc before -lgcc.
7445 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7446 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7448 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7451 (eval $ac_compile) 2>&5
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); } 2>conftest.err; then
7457 libobjs=conftest.$ac_objext
7459 wl=$lt_prog_compiler_wl
7465 lt_save_allow_undefined_flag=$allow_undefined_flag
7466 allow_undefined_flag=
7467 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7468 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 (exit $ac_status); }
7473 archive_cmds_need_lc=no
7475 archive_cmds_need_lc=yes
7477 allow_undefined_flag=$lt_save_allow_undefined_flag
7479 cat conftest.err 1>&5
7482 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7483 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7490 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7491 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7493 if test -n "$hardcode_libdir_flag_spec" || \
7494 test -n "$runpath_var " || \
7495 test "X$hardcode_automatic"="Xyes" ; then
7497 # We can hardcode non-existant directories.
7498 if test "$hardcode_direct" != no &&
7499 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7500 # have to relink, otherwise we might link with an installed library
7501 # when we should be linking with a yet-to-be-installed one
7502 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7503 test "$hardcode_minus_L" != no; then
7504 # Linking always hardcodes the temporary library directory.
7505 hardcode_action=relink
7507 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7508 hardcode_action=immediate
7511 # We cannot hardcode anything, or else we can only hardcode existing
7513 hardcode_action=unsupported
7515 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7516 echo "${ECHO_T}$hardcode_action" >&6
7518 if test "$hardcode_action" = relink; then
7519 # Fast installation is not supported
7520 enable_fast_install=no
7521 elif test "$shlibpath_overrides_runpath" = yes ||
7522 test "$enable_shared" = no; then
7523 # Fast installation is not necessary
7524 enable_fast_install=needless
7529 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7530 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7531 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7532 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7533 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7534 echo "$as_me:$LINENO: result: yes" >&5
7535 echo "${ECHO_T}yes" >&6
7537 # FIXME - insert some real tests, host_os isn't really good enough
7540 if test -n "$STRIP" ; then
7541 striplib="$STRIP -x"
7542 echo "$as_me:$LINENO: result: yes" >&5
7543 echo "${ECHO_T}yes" >&6
7545 echo "$as_me:$LINENO: result: no" >&5
7546 echo "${ECHO_T}no" >&6
7550 echo "$as_me:$LINENO: result: no" >&5
7551 echo "${ECHO_T}no" >&6
7556 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7557 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7559 libname_spec='lib$name'
7567 shlibpath_overrides_runpath=unknown
7569 dynamic_linker="$host_os ld.so"
7570 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7571 if test "$GCC" = yes; then
7572 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7573 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7574 # if the path contains ";" then we assume it to be the separator
7575 # otherwise default to the standard path separator (i.e. ":") - it is
7576 # assumed that no part of a normal pathname contains ";" but that should
7577 # okay in the real world where ";" in dirpaths is itself problematic.
7578 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7580 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7583 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7585 need_lib_prefix=unknown
7586 hardcode_into_libs=no
7588 # when you set need_version to no, make sure it does not cause -set_version
7589 # flags to be left without arguments
7590 need_version=unknown
7595 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7596 shlibpath_var=LIBPATH
7598 # AIX 3 has no versioning support, so we append a major version to the name.
7599 soname_spec='${libname}${release}${shared_ext}$major'
7606 hardcode_into_libs=yes
7607 if test "$host_cpu" = ia64; then
7608 # AIX 5 supports IA64
7609 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7610 shlibpath_var=LD_LIBRARY_PATH
7612 # With GCC up to 2.95.x, collect2 would create an import file
7613 # for dependence libraries. The import file would start with
7614 # the line `#! .'. This would cause the generated library to
7615 # depend on `.', always an invalid library. This was fixed in
7616 # development snapshots of GCC prior to 3.0.
7618 aix4 | aix4.[01] | aix4.[01].*)
7619 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7621 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7628 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7629 # soname into executable. Probably we can add versioning support to
7630 # collect2, so additional links can be useful in future.
7631 if test "$aix_use_runtimelinking" = yes; then
7632 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7633 # instead of lib<name>.a to let people know that these are not
7634 # typical AIX shared libraries.
7635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7637 # We preserve .a as extension for shared libraries through AIX4.2
7638 # and later when we are not doing run time linking.
7639 library_names_spec='${libname}${release}.a $libname.a'
7640 soname_spec='${libname}${release}${shared_ext}$major'
7642 shlibpath_var=LIBPATH
7647 library_names_spec='$libname.ixlibrary $libname.a'
7648 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7649 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'
7653 library_names_spec='${libname}${shared_ext}'
7654 dynamic_linker="$host_os ld.so"
7655 shlibpath_var=LIBRARY_PATH
7661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7662 soname_spec='${libname}${release}${shared_ext}$major'
7663 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7664 shlibpath_var=LD_LIBRARY_PATH
7665 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7666 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7667 # the default ld.so.conf also contains /usr/contrib/lib and
7668 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7669 # libtool to hard-code these into programs
7672 cygwin* | mingw* | pw32*)
7673 version_type=windows
7678 case $GCC,$host_os in
7679 yes,cygwin* | yes,mingw* | yes,pw32*)
7680 library_names_spec='$libname.dll.a'
7681 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7682 postinstall_cmds='base_file=`basename \${file}`~
7683 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7684 dldir=$destdir/`dirname \$dlpath`~
7685 test -d \$dldir || mkdir -p \$dldir~
7686 $install_prog $dir/$dlname \$dldir/$dlname'
7687 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7688 dlpath=$dir/\$dldll~
7690 shlibpath_overrides_runpath=yes
7694 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7695 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7696 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7699 # MinGW DLLs use traditional 'lib' prefix
7700 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7701 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7702 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7703 # It is most probably a Windows format PATH printed by
7704 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7705 # path with ; separators, and with drive letters. We can handle the
7706 # drive letters (cygwin fileutils understands them), so leave them,
7707 # especially as we might pass files found there to a mingw objdump,
7708 # which wouldn't understand a cygwinified path. Ahh.
7709 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7711 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7715 # pw32 DLLs use 'pw' prefix rather than 'lib'
7716 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7722 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7725 dynamic_linker='Win32 ld.exe'
7726 # FIXME: first we should search . and the directory the executable is in
7730 darwin* | rhapsody*)
7731 dynamic_linker="$host_os dyld"
7735 # FIXME: Relying on posixy $() will cause problems for
7736 # cross-compilation, but unfortunately the echo tests do not
7737 # yet detect zsh echo's removal of \ escapes.
7738 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7739 soname_spec='${libname}${release}${major}$shared_ext'
7740 shlibpath_overrides_runpath=yes
7741 shlibpath_var=DYLD_LIBRARY_PATH
7742 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7743 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7744 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7745 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"`
7747 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7755 soname_spec='${libname}${release}${shared_ext}$major'
7756 shlibpath_var=LD_LIBRARY_PATH
7764 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7765 version_type=freebsd-$objformat
7766 case $version_type in
7768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7773 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7777 shlibpath_var=LD_LIBRARY_PATH
7780 shlibpath_overrides_runpath=yes
7782 freebsd3.01* | freebsdelf3.01*)
7783 shlibpath_overrides_runpath=yes
7784 hardcode_into_libs=yes
7787 shlibpath_overrides_runpath=no
7788 hardcode_into_libs=yes
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 shlibpath_var=LD_LIBRARY_PATH
7800 hardcode_into_libs=yes
7803 hpux9* | hpux10* | hpux11*)
7804 # Give a soname corresponding to the major version so that dld.sl refuses to
7805 # link against other versions.
7812 hardcode_into_libs=yes
7813 dynamic_linker="$host_os dld.so"
7814 shlibpath_var=LD_LIBRARY_PATH
7815 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7817 soname_spec='${libname}${release}${shared_ext}$major'
7818 if test "X$HPUX_IA64_MODE" = X32; then
7819 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7821 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7823 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7827 hardcode_into_libs=yes
7828 dynamic_linker="$host_os dld.sl"
7829 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7830 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7832 soname_spec='${libname}${release}${shared_ext}$major'
7833 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7834 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7838 dynamic_linker="$host_os dld.sl"
7839 shlibpath_var=SHLIB_PATH
7840 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7842 soname_spec='${libname}${release}${shared_ext}$major'
7845 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7846 postinstall_cmds='chmod 555 $lib'
7849 irix5* | irix6* | nonstopux*)
7851 nonstopux*) version_type=nonstopux ;;
7853 if test "$lt_cv_prog_gnu_ld" = yes; then
7861 soname_spec='${libname}${release}${shared_ext}$major'
7862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7864 irix5* | nonstopux*)
7868 case $LD in # libtool.m4 will add one of these switches to LD
7869 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7870 libsuff= shlibsuff= libmagic=32-bit;;
7871 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7872 libsuff=32 shlibsuff=N32 libmagic=N32;;
7873 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7874 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7875 *) libsuff= shlibsuff= libmagic=never-match;;
7879 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7880 shlibpath_overrides_runpath=no
7881 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7882 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7883 hardcode_into_libs=yes
7886 # No shared lib support for Linux oldld, aout, or coff.
7887 linux*oldld* | linux*aout* | linux*coff*)
7891 # This must be Linux ELF.
7896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7897 soname_spec='${libname}${release}${shared_ext}$major'
7898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7899 shlibpath_var=LD_LIBRARY_PATH
7900 shlibpath_overrides_runpath=no
7901 # This implies no fast_install, which is unacceptable.
7902 # Some rework will be needed to allow for fast_install
7903 # before this can be enabled.
7904 hardcode_into_libs=yes
7906 # We used to test for /lib/ld.so.1 and disable shared libraries on
7907 # powerpc, because MkLinux only supported shared libraries with the
7908 # GNU dynamic linker. Since this was broken with cross compilers,
7909 # most powerpc-linux boxes support dynamic linking these days and
7910 # people can always --disable-shared, the test was removed, and we
7911 # assume the GNU/Linux dynamic linker is in use.
7912 dynamic_linker='GNU/Linux ld.so'
7919 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7921 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7922 dynamic_linker='NetBSD (a.out) ld.so'
7924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7925 soname_spec='${libname}${release}${shared_ext}$major'
7926 dynamic_linker='NetBSD ld.elf_so'
7928 shlibpath_var=LD_LIBRARY_PATH
7929 shlibpath_overrides_runpath=yes
7930 hardcode_into_libs=yes
7935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7936 shlibpath_var=LD_LIBRARY_PATH
7937 shlibpath_overrides_runpath=yes
7944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7945 soname_spec='${libname}${release}${shared_ext}$major'
7946 shlibpath_var=LD_LIBRARY_PATH
7947 shlibpath_overrides_runpath=yes
7954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7955 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7956 shlibpath_var=LD_LIBRARY_PATH
7957 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7959 openbsd2.[89] | openbsd2.[89].*)
7960 shlibpath_overrides_runpath=no
7963 shlibpath_overrides_runpath=yes
7967 shlibpath_overrides_runpath=yes
7972 libname_spec='$name'
7975 library_names_spec='$libname${shared_ext} $libname.a'
7976 dynamic_linker='OS/2 ld.exe'
7977 shlibpath_var=LIBPATH
7980 osf3* | osf4* | osf5*)
7984 soname_spec='${libname}${release}${shared_ext}$major'
7985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7986 shlibpath_var=LD_LIBRARY_PATH
7987 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7988 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7993 soname_spec='${libname}${release}${shared_ext}$major'
7994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7995 shlibpath_var=LD_LIBRARY_PATH
8002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8003 soname_spec='${libname}${release}${shared_ext}$major'
8004 shlibpath_var=LD_LIBRARY_PATH
8005 shlibpath_overrides_runpath=yes
8006 hardcode_into_libs=yes
8007 # ldd complains unless libraries are executable
8008 postinstall_cmds='chmod +x $lib'
8013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8014 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8015 shlibpath_var=LD_LIBRARY_PATH
8016 shlibpath_overrides_runpath=yes
8017 if test "$with_gnu_ld" = yes; then
8023 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8026 soname_spec='${libname}${release}${shared_ext}$major'
8027 shlibpath_var=LD_LIBRARY_PATH
8028 case $host_vendor in
8030 shlibpath_overrides_runpath=no
8032 export_dynamic_flag_spec='${wl}-Blargedynsym'
8033 runpath_var=LD_RUN_PATH
8041 shlibpath_overrides_runpath=no
8042 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8048 if test -d /usr/nec ;then
8050 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8051 soname_spec='$libname${shared_ext}.$major'
8052 shlibpath_var=LD_LIBRARY_PATH
8058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8059 soname_spec='${libname}${release}${shared_ext}$major'
8060 shlibpath_var=LD_LIBRARY_PATH
8067 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8068 echo "${ECHO_T}$dynamic_linker" >&6
8069 test "$dynamic_linker" = no && can_build_shared=no
8071 if test "x$enable_dlopen" != xyes; then
8072 enable_dlopen=unknown
8073 enable_dlopen_self=unknown
8074 enable_dlopen_self_static=unknown
8081 lt_cv_dlopen="load_add_on"
8083 lt_cv_dlopen_self=yes
8087 lt_cv_dlopen="LoadLibrary"
8092 lt_cv_dlopen="dlopen"
8097 # if libdl is installed we need to link against it
8098 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8099 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8100 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8101 echo $ECHO_N "(cached) $ECHO_C" >&6
8103 ac_check_lib_save_LIBS=$LIBS
8105 cat >conftest.$ac_ext <<_ACEOF
8106 #line $LINENO "configure"
8109 cat confdefs.h >>conftest.$ac_ext
8110 cat >>conftest.$ac_ext <<_ACEOF
8111 /* end confdefs.h. */
8113 /* Override any gcc2 internal prototype to avoid an error. */
8117 /* We use char because int might match the return type of a gcc2
8118 builtin and then its argument prototype would still apply. */
8128 rm -f conftest.$ac_objext conftest$ac_exeext
8129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8130 (eval $ac_link) 2>&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); } &&
8134 { ac_try='test -s conftest$ac_exeext'
8135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }; }; then
8140 ac_cv_lib_dl_dlopen=yes
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.$ac_ext >&5
8145 ac_cv_lib_dl_dlopen=no
8147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8148 LIBS=$ac_check_lib_save_LIBS
8150 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8151 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8152 if test $ac_cv_lib_dl_dlopen = yes; then
8153 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8158 lt_cv_dlopen_self=yes
8165 echo "$as_me:$LINENO: checking for shl_load" >&5
8166 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8167 if test "${ac_cv_func_shl_load+set}" = set; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6
8170 cat >conftest.$ac_ext <<_ACEOF
8171 #line $LINENO "configure"
8174 cat confdefs.h >>conftest.$ac_ext
8175 cat >>conftest.$ac_ext <<_ACEOF
8176 /* end confdefs.h. */
8177 /* System header to define __stub macros and hopefully few prototypes,
8178 which can conflict with char shl_load (); below.
8179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8180 <limits.h> exists even on freestanding compilers. */
8182 # include <limits.h>
8184 # include <assert.h>
8186 /* Override any gcc2 internal prototype to avoid an error. */
8191 /* We use char because int might match the return type of a gcc2
8192 builtin and then its argument prototype would still apply. */
8194 /* The GNU C library defines this for functions which it implements
8195 to always fail with ENOSYS. Some functions are actually named
8196 something starting with __ and the normal name is an alias. */
8197 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8200 char (*f) () = shl_load;
8209 return f != shl_load;
8214 rm -f conftest.$ac_objext conftest$ac_exeext
8215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8216 (eval $ac_link) 2>&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 (exit $ac_status); } &&
8220 { ac_try='test -s conftest$ac_exeext'
8221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); }; }; then
8226 ac_cv_func_shl_load=yes
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.$ac_ext >&5
8231 ac_cv_func_shl_load=no
8233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8235 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8236 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8237 if test $ac_cv_func_shl_load = yes; then
8238 lt_cv_dlopen="shl_load"
8240 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8241 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8242 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8243 echo $ECHO_N "(cached) $ECHO_C" >&6
8245 ac_check_lib_save_LIBS=$LIBS
8247 cat >conftest.$ac_ext <<_ACEOF
8248 #line $LINENO "configure"
8251 cat confdefs.h >>conftest.$ac_ext
8252 cat >>conftest.$ac_ext <<_ACEOF
8253 /* end confdefs.h. */
8255 /* Override any gcc2 internal prototype to avoid an error. */
8259 /* We use char because int might match the return type of a gcc2
8260 builtin and then its argument prototype would still apply. */
8270 rm -f conftest.$ac_objext conftest$ac_exeext
8271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8272 (eval $ac_link) 2>&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); } &&
8276 { ac_try='test -s conftest$ac_exeext'
8277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); }; }; then
8282 ac_cv_lib_dld_shl_load=yes
8284 echo "$as_me: failed program was:" >&5
8285 sed 's/^/| /' conftest.$ac_ext >&5
8287 ac_cv_lib_dld_shl_load=no
8289 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8290 LIBS=$ac_check_lib_save_LIBS
8292 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8293 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8294 if test $ac_cv_lib_dld_shl_load = yes; then
8295 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8297 echo "$as_me:$LINENO: checking for dlopen" >&5
8298 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8299 if test "${ac_cv_func_dlopen+set}" = set; then
8300 echo $ECHO_N "(cached) $ECHO_C" >&6
8302 cat >conftest.$ac_ext <<_ACEOF
8303 #line $LINENO "configure"
8306 cat confdefs.h >>conftest.$ac_ext
8307 cat >>conftest.$ac_ext <<_ACEOF
8308 /* end confdefs.h. */
8309 /* System header to define __stub macros and hopefully few prototypes,
8310 which can conflict with char dlopen (); below.
8311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8312 <limits.h> exists even on freestanding compilers. */
8314 # include <limits.h>
8316 # include <assert.h>
8318 /* Override any gcc2 internal prototype to avoid an error. */
8323 /* We use char because int might match the return type of a gcc2
8324 builtin and then its argument prototype would still apply. */
8326 /* The GNU C library defines this for functions which it implements
8327 to always fail with ENOSYS. Some functions are actually named
8328 something starting with __ and the normal name is an alias. */
8329 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8332 char (*f) () = dlopen;
8346 rm -f conftest.$ac_objext conftest$ac_exeext
8347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8348 (eval $ac_link) 2>&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); } &&
8352 { ac_try='test -s conftest$ac_exeext'
8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }; }; then
8358 ac_cv_func_dlopen=yes
8360 echo "$as_me: failed program was:" >&5
8361 sed 's/^/| /' conftest.$ac_ext >&5
8363 ac_cv_func_dlopen=no
8365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8367 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8368 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8369 if test $ac_cv_func_dlopen = yes; then
8370 lt_cv_dlopen="dlopen"
8372 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8373 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8374 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8375 echo $ECHO_N "(cached) $ECHO_C" >&6
8377 ac_check_lib_save_LIBS=$LIBS
8379 cat >conftest.$ac_ext <<_ACEOF
8380 #line $LINENO "configure"
8383 cat confdefs.h >>conftest.$ac_ext
8384 cat >>conftest.$ac_ext <<_ACEOF
8385 /* end confdefs.h. */
8387 /* Override any gcc2 internal prototype to avoid an error. */
8391 /* We use char because int might match the return type of a gcc2
8392 builtin and then its argument prototype would still apply. */
8402 rm -f conftest.$ac_objext conftest$ac_exeext
8403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8404 (eval $ac_link) 2>&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); } &&
8408 { ac_try='test -s conftest$ac_exeext'
8409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); }; }; then
8414 ac_cv_lib_dl_dlopen=yes
8416 echo "$as_me: failed program was:" >&5
8417 sed 's/^/| /' conftest.$ac_ext >&5
8419 ac_cv_lib_dl_dlopen=no
8421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8422 LIBS=$ac_check_lib_save_LIBS
8424 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8425 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8426 if test $ac_cv_lib_dl_dlopen = yes; then
8427 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8429 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8430 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8431 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8434 ac_check_lib_save_LIBS=$LIBS
8436 cat >conftest.$ac_ext <<_ACEOF
8437 #line $LINENO "configure"
8440 cat confdefs.h >>conftest.$ac_ext
8441 cat >>conftest.$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8444 /* Override any gcc2 internal prototype to avoid an error. */
8448 /* We use char because int might match the return type of a gcc2
8449 builtin and then its argument prototype would still apply. */
8459 rm -f conftest.$ac_objext conftest$ac_exeext
8460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8461 (eval $ac_link) 2>&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); } &&
8465 { ac_try='test -s conftest$ac_exeext'
8466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); }; }; then
8471 ac_cv_lib_svld_dlopen=yes
8473 echo "$as_me: failed program was:" >&5
8474 sed 's/^/| /' conftest.$ac_ext >&5
8476 ac_cv_lib_svld_dlopen=no
8478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8479 LIBS=$ac_check_lib_save_LIBS
8481 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8482 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8483 if test $ac_cv_lib_svld_dlopen = yes; then
8484 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8486 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8487 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8488 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8491 ac_check_lib_save_LIBS=$LIBS
8493 cat >conftest.$ac_ext <<_ACEOF
8494 #line $LINENO "configure"
8497 cat confdefs.h >>conftest.$ac_ext
8498 cat >>conftest.$ac_ext <<_ACEOF
8499 /* end confdefs.h. */
8501 /* Override any gcc2 internal prototype to avoid an error. */
8505 /* We use char because int might match the return type of a gcc2
8506 builtin and then its argument prototype would still apply. */
8516 rm -f conftest.$ac_objext conftest$ac_exeext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8518 (eval $ac_link) 2>&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } &&
8522 { ac_try='test -s conftest$ac_exeext'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; }; then
8528 ac_cv_lib_dld_dld_link=yes
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.$ac_ext >&5
8533 ac_cv_lib_dld_dld_link=no
8535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8536 LIBS=$ac_check_lib_save_LIBS
8538 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8539 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8540 if test $ac_cv_lib_dld_dld_link = yes; then
8541 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8562 if test "x$lt_cv_dlopen" != xno; then
8568 case $lt_cv_dlopen in
8570 save_CPPFLAGS="$CPPFLAGS"
8571 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8573 save_LDFLAGS="$LDFLAGS"
8574 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8577 LIBS="$lt_cv_dlopen_libs $LIBS"
8579 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8580 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8581 if test "${lt_cv_dlopen_self+set}" = set; then
8582 echo $ECHO_N "(cached) $ECHO_C" >&6
8584 if test "$cross_compiling" = yes; then :
8585 lt_cv_dlopen_self=cross
8587 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8588 lt_status=$lt_dlunknown
8589 cat > conftest.$ac_ext <<EOF
8590 #line 8590 "configure"
8591 #include "confdefs.h"
8600 # define LT_DLGLOBAL RTLD_GLOBAL
8603 # define LT_DLGLOBAL DL_GLOBAL
8605 # define LT_DLGLOBAL 0
8609 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8610 find out it does not work in some platform. */
8611 #ifndef LT_DLLAZY_OR_NOW
8613 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8616 # define LT_DLLAZY_OR_NOW DL_LAZY
8619 # define LT_DLLAZY_OR_NOW RTLD_NOW
8622 # define LT_DLLAZY_OR_NOW DL_NOW
8624 # define LT_DLLAZY_OR_NOW 0
8632 extern "C" void exit (int);
8635 void fnord() { int i=42;}
8638 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8639 int status = $lt_dlunknown;
8643 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8644 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8645 /* dlclose (self); */
8651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8652 (eval $ac_link) 2>&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8656 (./conftest; exit; ) 2>/dev/null
8659 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8660 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8661 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8664 # compilation failed
8665 lt_cv_dlopen_self=no
8672 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8673 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8675 if test "x$lt_cv_dlopen_self" = xyes; then
8676 LDFLAGS="$LDFLAGS $link_static_flag"
8677 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8678 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8679 if test "${lt_cv_dlopen_self_static+set}" = set; then
8680 echo $ECHO_N "(cached) $ECHO_C" >&6
8682 if test "$cross_compiling" = yes; then :
8683 lt_cv_dlopen_self_static=cross
8685 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8686 lt_status=$lt_dlunknown
8687 cat > conftest.$ac_ext <<EOF
8688 #line 8688 "configure"
8689 #include "confdefs.h"
8698 # define LT_DLGLOBAL RTLD_GLOBAL
8701 # define LT_DLGLOBAL DL_GLOBAL
8703 # define LT_DLGLOBAL 0
8707 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8708 find out it does not work in some platform. */
8709 #ifndef LT_DLLAZY_OR_NOW
8711 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8714 # define LT_DLLAZY_OR_NOW DL_LAZY
8717 # define LT_DLLAZY_OR_NOW RTLD_NOW
8720 # define LT_DLLAZY_OR_NOW DL_NOW
8722 # define LT_DLLAZY_OR_NOW 0
8730 extern "C" void exit (int);
8733 void fnord() { int i=42;}
8736 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8737 int status = $lt_dlunknown;
8741 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8742 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8743 /* dlclose (self); */
8749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8750 (eval $ac_link) 2>&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8754 (./conftest; exit; ) 2>/dev/null
8757 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8758 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8759 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8762 # compilation failed
8763 lt_cv_dlopen_self_static=no
8770 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8771 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8774 CPPFLAGS="$save_CPPFLAGS"
8775 LDFLAGS="$save_LDFLAGS"
8780 case $lt_cv_dlopen_self in
8781 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8782 *) enable_dlopen_self=unknown ;;
8785 case $lt_cv_dlopen_self_static in
8786 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8787 *) enable_dlopen_self_static=unknown ;;
8792 # Report which librarie types wil actually be built
8793 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8794 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8795 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8796 echo "${ECHO_T}$can_build_shared" >&6
8798 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8799 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8800 test "$can_build_shared" = "no" && enable_shared=no
8802 # On AIX, shared libraries and static libraries use the same namespace, and
8803 # are all built from PIC.
8806 test "$enable_shared" = yes && enable_static=no
8807 if test -n "$RANLIB"; then
8808 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8809 postinstall_cmds='$RANLIB $lib'
8814 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8815 test "$enable_shared" = yes && enable_static=no
8818 darwin* | rhapsody*)
8819 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8820 archive_cmds_need_lc=no
8822 rhapsody* | darwin1.[012])
8823 allow_undefined_flag='-undefined suppress'
8826 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8829 # FIXME: Relying on posixy $() will cause problems for
8830 # cross-compilation, but unfortunately the echo tests do not
8831 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8832 # `"' quotes if we put them in here... so don't!
8833 output_verbose_link_cmd='echo'
8834 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8835 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8836 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8837 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}'
8838 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}'
8840 hardcode_automatic=yes
8841 hardcode_shlibpath_var=unsupported
8842 whole_archive_flag_spec='-all_load $convenience'
8843 link_all_deplibs=yes
8847 echo "$as_me:$LINENO: result: $enable_shared" >&5
8848 echo "${ECHO_T}$enable_shared" >&6
8850 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8851 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8852 # Make sure either enable_shared or enable_static is yes.
8853 test "$enable_shared" = yes || enable_static=yes
8854 echo "$as_me:$LINENO: result: $enable_static" >&5
8855 echo "${ECHO_T}$enable_static" >&6
8857 # The else clause should only fire when bootstrapping the
8858 # libtool distribution, otherwise you forgot to ship ltmain.sh
8859 # with your package, and you will get complaints that there are
8860 # no rules to generate ltmain.sh.
8861 if test -f "$ltmain"; then
8862 # See if we are running on zsh, and set the options which allow our commands through
8863 # without removal of \ escapes.
8864 if test -n "${ZSH_VERSION+set}" ; then
8865 setopt NO_GLOB_SUBST
8867 # Now quote all the things that may contain metacharacters while being
8868 # careful not to overquote the AC_SUBSTed values. We take copies of the
8869 # variables and quote the copies for generation of the libtool script.
8870 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8871 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8872 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8873 deplibs_check_method reload_flag reload_cmds need_locks \
8874 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8875 lt_cv_sys_global_symbol_to_c_name_address \
8876 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8877 old_postinstall_cmds old_postuninstall_cmds \
8881 lt_prog_compiler_wl \
8882 lt_prog_compiler_pic \
8883 lt_prog_compiler_static \
8884 lt_prog_compiler_no_builtin_flag \
8885 export_dynamic_flag_spec \
8886 thread_safe_flag_spec \
8887 whole_archive_flag_spec \
8888 enable_shared_with_static_runtimes \
8890 old_archive_from_new_cmds \
8895 compiler_lib_search_path \
8897 archive_expsym_cmds \
8899 postuninstall_cmds \
8900 old_archive_from_expsyms_cmds \
8901 allow_undefined_flag \
8903 export_symbols_cmds \
8904 hardcode_libdir_flag_spec \
8905 hardcode_libdir_flag_spec_ld \
8906 hardcode_libdir_separator \
8907 hardcode_automatic \
8909 module_expsym_cmds \
8910 lt_cv_prog_compiler_c_o \
8915 old_archive_cmds | \
8916 old_archive_from_new_cmds | \
8918 archive_expsym_cmds | \
8920 module_expsym_cmds | \
8921 old_archive_from_expsyms_cmds | \
8922 export_symbols_cmds | \
8923 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8924 postinstall_cmds | postuninstall_cmds | \
8925 old_postinstall_cmds | old_postuninstall_cmds | \
8926 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8927 # Double-quote double-evaled strings.
8928 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8931 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8937 *'\$0 --fallback-echo"')
8938 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8943 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8945 { echo "$as_me:$LINENO: creating $ofile" >&5
8946 echo "$as_me: creating $ofile" >&6;}
8948 cat <<__EOF__ >> "$cfgfile"
8951 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8952 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8953 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8955 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8956 # Free Software Foundation, Inc.
8958 # This file is part of GNU Libtool:
8959 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8961 # This program is free software; you can redistribute it and/or modify
8962 # it under the terms of the GNU General Public License as published by
8963 # the Free Software Foundation; either version 2 of the License, or
8964 # (at your option) any later version.
8966 # This program is distributed in the hope that it will be useful, but
8967 # WITHOUT ANY WARRANTY; without even the implied warranty of
8968 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8969 # General Public License for more details.
8971 # You should have received a copy of the GNU General Public License
8972 # along with this program; if not, write to the Free Software
8973 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8975 # As a special exception to the GNU General Public License, if you
8976 # distribute this file as part of a program that contains a
8977 # configuration script generated by Autoconf, you may include it under
8978 # the same distribution terms that you use for the rest of that program.
8980 # A sed program that does not truncate output.
8983 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8984 Xsed="$SED -e s/^X//"
8986 # The HP-UX ksh and POSIX shell print the target directory to stdout
8988 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8990 # The names of the tagged configurations supported by this script.
8993 # ### BEGIN LIBTOOL CONFIG
8995 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8997 # Shell to use when invoking shell scripts.
9000 # Whether or not to build shared libraries.
9001 build_libtool_libs=$enable_shared
9003 # Whether or not to build static libraries.
9004 build_old_libs=$enable_static
9006 # Whether or not to add -lc for building shared libraries.
9007 build_libtool_need_lc=$archive_cmds_need_lc
9009 # Whether or not to disallow shared libs when runtime libs are static
9010 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9012 # Whether or not to optimize for fast installation.
9013 fast_install=$enable_fast_install
9016 host_alias=$host_alias
9019 # An echo program that does not interpret backslashes.
9024 AR_FLAGS=$lt_AR_FLAGS
9029 # A language-specific compiler.
9032 # Is the compiler the GNU C compiler?
9038 # The linker used to build libraries.
9041 # Whether we need hard or soft links.
9044 # A BSD-compatible nm program.
9047 # A symbol stripping program
9050 # Used to examine libraries when file_magic_cmd begins "file"
9051 MAGIC_CMD=$MAGIC_CMD
9053 # Used on cygwin: DLL creation program.
9056 # Used on cygwin: object dumper.
9059 # Used on cygwin: assembler.
9062 # The name of the directory that contains temporary libtool files.
9065 # How to create reloadable object files.
9066 reload_flag=$lt_reload_flag
9067 reload_cmds=$lt_reload_cmds
9069 # How to pass a linker flag through the compiler.
9070 wl=$lt_lt_prog_compiler_wl
9072 # Object file suffix (normally "o").
9075 # Old archive suffix (normally "a").
9078 # Shared library suffix (normally ".so").
9081 # Executable file suffix (normally "").
9084 # Additional compiler flags for building library objects.
9085 pic_flag=$lt_lt_prog_compiler_pic
9088 # What is the maximum length of a command?
9089 max_cmd_len=$lt_cv_sys_max_cmd_len
9091 # Does compiler simultaneously support -c and -o options?
9092 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9094 # Must we lock files when doing compilation ?
9095 need_locks=$lt_need_locks
9097 # Do we need the lib prefix for modules?
9098 need_lib_prefix=$need_lib_prefix
9100 # Do we need a version for libraries?
9101 need_version=$need_version
9103 # Whether dlopen is supported.
9104 dlopen_support=$enable_dlopen
9106 # Whether dlopen of programs is supported.
9107 dlopen_self=$enable_dlopen_self
9109 # Whether dlopen of statically linked programs is supported.
9110 dlopen_self_static=$enable_dlopen_self_static
9112 # Compiler flag to prevent dynamic linking.
9113 link_static_flag=$lt_lt_prog_compiler_static
9115 # Compiler flag to turn off builtin functions.
9116 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9118 # Compiler flag to allow reflexive dlopens.
9119 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9121 # Compiler flag to generate shared objects directly from archives.
9122 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9124 # Compiler flag to generate thread-safe objects.
9125 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9127 # Library versioning type.
9128 version_type=$version_type
9130 # Format of library name prefix.
9131 libname_spec=$lt_libname_spec
9133 # List of archive names. First name is the real one, the rest are links.
9134 # The last name is the one that the linker finds with -lNAME.
9135 library_names_spec=$lt_library_names_spec
9137 # The coded name of the library, if different from the real name.
9138 soname_spec=$lt_soname_spec
9140 # Commands used to build and install an old-style archive.
9142 old_archive_cmds=$lt_old_archive_cmds
9143 old_postinstall_cmds=$lt_old_postinstall_cmds
9144 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9146 # Create an old-style archive from a shared archive.
9147 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9149 # Create a temporary old-style archive to link instead of a shared archive.
9150 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9152 # Commands used to build and install a shared archive.
9153 archive_cmds=$lt_archive_cmds
9154 archive_expsym_cmds=$lt_archive_expsym_cmds
9155 postinstall_cmds=$lt_postinstall_cmds
9156 postuninstall_cmds=$lt_postuninstall_cmds
9158 # Commands used to build a loadable module (assumed same as above if empty)
9159 module_cmds=$lt_module_cmds
9160 module_expsym_cmds=$lt_module_expsym_cmds
9162 # Commands to strip libraries.
9163 old_striplib=$lt_old_striplib
9164 striplib=$lt_striplib
9166 # Dependencies to place before the objects being linked to create a
9168 predep_objects=$lt_predep_objects
9170 # Dependencies to place after the objects being linked to create a
9172 postdep_objects=$lt_postdep_objects
9174 # Dependencies to place before the objects being linked to create a
9178 # Dependencies to place after the objects being linked to create a
9180 postdeps=$lt_postdeps
9182 # The library search path used internally by the compiler when linking
9184 compiler_lib_search_path=$lt_compiler_lib_search_path
9186 # Method to check whether dependent libraries are shared objects.
9187 deplibs_check_method=$lt_deplibs_check_method
9189 # Command to use when deplibs_check_method == file_magic.
9190 file_magic_cmd=$lt_file_magic_cmd
9192 # Flag that allows shared libraries with undefined symbols to be built.
9193 allow_undefined_flag=$lt_allow_undefined_flag
9195 # Flag that forces no undefined symbols.
9196 no_undefined_flag=$lt_no_undefined_flag
9198 # Commands used to finish a libtool library installation in a directory.
9199 finish_cmds=$lt_finish_cmds
9201 # Same as above, but a single script fragment to be evaled but not shown.
9202 finish_eval=$lt_finish_eval
9204 # Take the output of nm and produce a listing of raw symbols and C names.
9205 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9207 # Transform the output of nm in a proper C declaration
9208 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9210 # Transform the output of nm in a C name address pair
9211 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9213 # This is the shared library runtime path variable.
9214 runpath_var=$runpath_var
9216 # This is the shared library path variable.
9217 shlibpath_var=$shlibpath_var
9219 # Is shlibpath searched before the hard-coded library search path?
9220 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9222 # How to hardcode a shared library path into an executable.
9223 hardcode_action=$hardcode_action
9225 # Whether we should hardcode library paths into libraries.
9226 hardcode_into_libs=$hardcode_into_libs
9228 # Flag to hardcode \$libdir into a binary during linking.
9229 # This must work even if \$libdir does not exist.
9230 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9232 # If ld is used when linking, flag to hardcode \$libdir into
9233 # a binary during linking. This must work even if \$libdir does
9235 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9237 # Whether we need a single -rpath flag with a separated argument.
9238 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9240 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9242 hardcode_direct=$hardcode_direct
9244 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9246 hardcode_minus_L=$hardcode_minus_L
9248 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9249 # the resulting binary.
9250 hardcode_shlibpath_var=$hardcode_shlibpath_var
9252 # Set to yes if building a shared library automatically hardcodes DIR into the library
9253 # and all subsequent libraries and executables linked against it.
9254 hardcode_automatic=$hardcode_automatic
9256 # Variables whose values should be saved in libtool wrapper scripts and
9257 # restored at relink time.
9258 variables_saved_for_relink="$variables_saved_for_relink"
9260 # Whether libtool must link a program against all its dependency libraries.
9261 link_all_deplibs=$link_all_deplibs
9263 # Compile-time system search path for libraries
9264 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9266 # Run-time system search path for libraries
9267 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9269 # Fix the shell variable \$srcfile for the compiler.
9270 fix_srcfile_path="$fix_srcfile_path"
9272 # Set to yes if exported symbols are required.
9273 always_export_symbols=$always_export_symbols
9275 # The commands to list exported symbols.
9276 export_symbols_cmds=$lt_export_symbols_cmds
9278 # The commands to extract the exported symbol list from a shared archive.
9279 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9281 # Symbols that should not be listed in the preloaded symbols.
9282 exclude_expsyms=$lt_exclude_expsyms
9284 # Symbols that must always be exported.
9285 include_expsyms=$lt_include_expsyms
9287 # ### END LIBTOOL CONFIG
9294 cat <<\EOF >> "$cfgfile"
9296 # AIX sometimes has problems with the GCC collect2 program. For some
9297 # reason, if we set the COLLECT_NAMES environment variable, the problems
9298 # vanish in a puff of smoke.
9299 if test "X${COLLECT_NAMES+set}" != Xset; then
9301 export COLLECT_NAMES
9307 # We use sed instead of cat because bash on DJGPP gets confused if
9308 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9309 # text mode, it properly converts lines to CR/LF. This bash problem
9310 # is reportedly fixed, but why not run on old versions too?
9311 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9313 mv -f "$cfgfile" "$ofile" || \
9314 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9318 # If there is no Makefile yet, we rely on a make rule to execute
9319 # `config.status --recheck' to rerun these tests and create the
9320 # libtool script then.
9321 test -f Makefile && make "$ltmain"
9326 ac_cpp='$CPP $CPPFLAGS'
9327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9334 # Check whether --with-tags or --without-tags was given.
9335 if test "${with_tags+set}" = set; then
9336 withval="$with_tags"
9340 if test -f "$ltmain" && test -n "$tagnames"; then
9341 if test ! -f "${ofile}"; then
9342 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9343 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9346 if test -z "$LTCC"; then
9347 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9348 if test -z "$LTCC"; then
9349 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9350 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9352 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9353 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9357 # Extract list of available tagged configurations in $ofile.
9358 # Note that this assumes the entire list is on one line.
9359 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9361 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9362 for tagname in $tagnames; do
9364 # Check whether tagname contains only valid characters
9365 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9367 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9368 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9369 { (exit 1); exit 1; }; }
9373 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9375 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9376 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9377 { (exit 1); exit 1; }; }
9380 # Update the list of available tags.
9381 if test -n "$tagname"; then
9382 echo appending configuration tag \"$tagname\" to $ofile
9386 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9388 ac_cpp='$CXXCPP $CPPFLAGS'
9389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9396 archive_cmds_need_lc_CXX=no
9397 allow_undefined_flag_CXX=
9398 always_export_symbols_CXX=no
9399 archive_expsym_cmds_CXX=
9400 export_dynamic_flag_spec_CXX=
9401 hardcode_direct_CXX=no
9402 hardcode_libdir_flag_spec_CXX=
9403 hardcode_libdir_flag_spec_ld_CXX=
9404 hardcode_libdir_separator_CXX=
9405 hardcode_minus_L_CXX=no
9406 hardcode_automatic_CXX=no
9408 module_expsym_cmds_CXX=
9409 link_all_deplibs_CXX=unknown
9410 old_archive_cmds_CXX=$old_archive_cmds
9411 no_undefined_flag_CXX=
9412 whole_archive_flag_spec_CXX=
9413 enable_shared_with_static_runtimes_CXX=no
9415 # Dependencies to place before and after the object being linked:
9417 postdep_objects_CXX=
9420 compiler_lib_search_path_CXX=
9422 # Source file extension for C++ test sources.
9425 # Object file extension for compiled C++ test sources.
9429 # Code to be used in simple compile tests
9430 lt_simple_compile_test_code="int some_variable = 0;\n"
9432 # Code to be used in simple link tests
9433 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9435 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9437 # If no C compiler was specified, use CC.
9440 # Allow CC to be a program name with arguments.
9444 # Allow CC to be a program name with arguments.
9449 lt_save_with_gnu_ld=$with_gnu_ld
9450 lt_save_path_LD=$lt_cv_path_LD
9451 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9452 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9454 unset lt_cv_prog_gnu_ld
9456 if test -n "${lt_cv_path_LDCXX+set}"; then
9457 lt_cv_path_LD=$lt_cv_path_LDCXX
9461 test -z "${LDCXX+set}" || LD=$LDCXX
9465 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9467 # We don't want -fno-exception wen compiling C++ code, so set the
9468 # no_builtin_flag separately
9469 if test "$GXX" = yes; then
9470 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9472 lt_prog_compiler_no_builtin_flag_CXX=
9475 if test "$GXX" = yes; then
9476 # Set up default GNU C++ configuration
9479 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9480 if test "${with_gnu_ld+set}" = set; then
9481 withval="$with_gnu_ld"
9482 test "$withval" = no || with_gnu_ld=yes
9487 if test "$GCC" = yes; then
9488 # Check if gcc -print-prog-name=ld gives a path.
9489 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9490 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9493 # gcc leaves a trailing carriage return which upsets mingw
9494 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9496 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9499 # Accept absolute paths.
9501 re_direlt='/[^/][^/]*/\.\./'
9502 # Canonicalize the path of ld
9503 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9504 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9505 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9507 test -z "$LD" && LD="$ac_prog"
9510 # If it fails, then pretend we aren't using GCC.
9514 # If it is relative, then search for the first ld in PATH.
9518 elif test "$with_gnu_ld" = yes; then
9519 echo "$as_me:$LINENO: checking for GNU ld" >&5
9520 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9522 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9523 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9525 if test "${lt_cv_path_LD+set}" = set; then
9526 echo $ECHO_N "(cached) $ECHO_C" >&6
9528 if test -z "$LD"; then
9529 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9530 for ac_dir in $PATH; do
9532 test -z "$ac_dir" && ac_dir=.
9533 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9534 lt_cv_path_LD="$ac_dir/$ac_prog"
9535 # Check to see if the program is GNU ld. I'd rather use --version,
9536 # but apparently some GNU ld's only accept -v.
9537 # Break only if it was the GNU/non-GNU ld that we prefer.
9538 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9539 *GNU* | *'with BFD'*)
9540 test "$with_gnu_ld" != no && break
9543 test "$with_gnu_ld" != yes && break
9550 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9555 if test -n "$LD"; then
9556 echo "$as_me:$LINENO: result: $LD" >&5
9557 echo "${ECHO_T}$LD" >&6
9559 echo "$as_me:$LINENO: result: no" >&5
9560 echo "${ECHO_T}no" >&6
9562 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9563 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9564 { (exit 1); exit 1; }; }
9565 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9566 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9567 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9570 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9571 case `"$LD" -v 2>&1 </dev/null` in
9572 *GNU* | *'with BFD'*)
9573 lt_cv_prog_gnu_ld=yes
9576 lt_cv_prog_gnu_ld=no
9580 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9581 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9582 with_gnu_ld=$lt_cv_prog_gnu_ld
9586 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9587 # archiving commands below assume that GNU ld is being used.
9588 if test "$with_gnu_ld" = yes; then
9589 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9590 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'
9592 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9593 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9595 # If archive_cmds runs LD, not CC, wlarc should be empty
9596 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9597 # investigate it a little bit more. (MM)
9600 # ancient GNU ld didn't support --whole-archive et. al.
9601 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9602 grep 'no-whole-archive' > /dev/null; then
9603 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9605 whole_archive_flag_spec_CXX=
9611 # A generic and very simple default shared library creation
9612 # command for GNU C++ for the case where it uses the native
9613 # linker, instead of GNU ld. If possible, this setting should
9614 # overridden to take advantage of the native linker features on
9615 # the platform it is being used on.
9616 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9619 # Commands to make compiler produce verbose output that lists
9620 # what "hidden" libraries, object files and flags are used when
9621 # linking a shared library.
9622 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9630 # PORTME: fill in a description of your system's C++ link characteristics
9631 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9632 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9636 # FIXME: insert proper C++ library support
9640 if test "$host_cpu" = ia64; then
9641 # On IA64, the linker does run time linking by default, so we don't
9642 # have to do anything special.
9643 aix_use_runtimelinking=no
9644 exp_sym_flag='-Bexport'
9647 aix_use_runtimelinking=no
9649 # Test if we are trying to use run time linking or normal
9650 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9651 # need to do runtime linking.
9652 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9653 for ld_flag in $LDFLAGS; do
9656 aix_use_runtimelinking=yes
9663 exp_sym_flag='-bexport'
9664 no_entry_flag='-bnoentry'
9667 # When large executables or shared objects are built, AIX ld can
9668 # have problems creating the table of contents. If linking a library
9669 # or program results in "error TOC overflow" add -mminimal-toc to
9670 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9671 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9674 hardcode_direct_CXX=yes
9675 hardcode_libdir_separator_CXX=':'
9676 link_all_deplibs_CXX=yes
9678 if test "$GXX" = yes; then
9679 case $host_os in aix4.012|aix4.012.*)
9680 # We only want to do this on AIX 4.2 and lower, the check
9681 # below for broken collect2 doesn't work under 4.3+
9682 collect2name=`${CC} -print-prog-name=collect2`
9683 if test -f "$collect2name" && \
9684 strings "$collect2name" | grep resolve_lib_name >/dev/null
9686 # We have reworked collect2
9687 hardcode_direct_CXX=yes
9689 # We have old collect2
9690 hardcode_direct_CXX=unsupported
9691 # It fails to find uninstalled libraries when the uninstalled
9692 # path is not listed in the libpath. Setting hardcode_minus_L
9693 # to unsupported forces relinking
9694 hardcode_minus_L_CXX=yes
9695 hardcode_libdir_flag_spec_CXX='-L$libdir'
9696 hardcode_libdir_separator_CXX=
9699 shared_flag='-shared'
9702 if test "$host_cpu" = ia64; then
9703 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9704 # chokes on -Wl,-G. The following line is correct:
9707 if test "$aix_use_runtimelinking" = yes; then
9708 shared_flag='${wl}-G'
9710 shared_flag='${wl}-bM:SRE'
9715 # It seems that -bexpall does not export symbols beginning with
9716 # underscore (_), so it is better to generate a list of symbols to export.
9717 always_export_symbols_CXX=yes
9718 if test "$aix_use_runtimelinking" = yes; then
9719 # Warning - without using the other runtime loading flags (-brtl),
9720 # -berok will link without error, but may produce a broken library.
9721 allow_undefined_flag_CXX='-berok'
9722 # Determine the default libpath from the value encoded in an empty executable.
9723 cat >conftest.$ac_ext <<_ACEOF
9724 #line $LINENO "configure"
9727 cat confdefs.h >>conftest.$ac_ext
9728 cat >>conftest.$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9739 rm -f conftest.$ac_objext conftest$ac_exeext
9740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9741 (eval $ac_link) 2>&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); } &&
9745 { ac_try='test -s conftest$ac_exeext'
9746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); }; }; then
9752 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9754 # Check for a 64-bit object if we didn't find anything.
9755 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; }
9758 echo "$as_me: failed program was:" >&5
9759 sed 's/^/| /' conftest.$ac_ext >&5
9762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9763 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9765 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9767 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"
9769 if test "$host_cpu" = ia64; then
9770 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9771 allow_undefined_flag_CXX="-z nodefs"
9772 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"
9774 # Determine the default libpath from the value encoded in an empty executable.
9775 cat >conftest.$ac_ext <<_ACEOF
9776 #line $LINENO "configure"
9779 cat confdefs.h >>conftest.$ac_ext
9780 cat >>conftest.$ac_ext <<_ACEOF
9781 /* end confdefs.h. */
9791 rm -f conftest.$ac_objext conftest$ac_exeext
9792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9793 (eval $ac_link) 2>&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } &&
9797 { ac_try='test -s conftest$ac_exeext'
9798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); }; }; then
9804 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9806 # Check for a 64-bit object if we didn't find anything.
9807 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; }
9810 echo "$as_me: failed program was:" >&5
9811 sed 's/^/| /' conftest.$ac_ext >&5
9814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9815 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9817 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9818 # Warning - without using the other run time loading flags,
9819 # -berok will link without error, but may produce a broken library.
9820 no_undefined_flag_CXX=' ${wl}-bernotok'
9821 allow_undefined_flag_CXX=' ${wl}-berok'
9822 # -bexpall does not export symbols beginning with underscore (_)
9823 always_export_symbols_CXX=yes
9824 # Exported symbols can be pulled into shared objects from archives
9825 whole_archive_flag_spec_CXX=' '
9826 archive_cmds_need_lc_CXX=yes
9827 # This is similar to how AIX traditionally builds it's shared libraries.
9828 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'
9833 case $cc_basename in
9835 # FIXME: insert proper C++ library support
9841 cygwin* | mingw* | pw32*)
9842 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9843 # as there is no search path for DLLs.
9844 hardcode_libdir_flag_spec_CXX='-L$libdir'
9845 allow_undefined_flag_CXX=unsupported
9846 always_export_symbols_CXX=no
9847 enable_shared_with_static_runtimes_CXX=yes
9849 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9850 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'
9851 # If the export-symbols file already is a .def file (1st line
9852 # is EXPORTS), use it as is; otherwise, prepend...
9853 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9854 cp $export_symbols $output_objdir/$soname.def;
9856 echo EXPORTS > $output_objdir/$soname.def;
9857 cat $export_symbols >> $output_objdir/$soname.def;
9859 $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'
9865 darwin* | rhapsody*)
9866 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9867 archive_cmds_need_lc_CXX=no
9869 rhapsody* | darwin1.[012])
9870 allow_undefined_flag_CXX='-undefined suppress'
9873 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9876 lt_int_apple_cc_single_mod=no
9877 output_verbose_link_cmd='echo'
9878 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9879 lt_int_apple_cc_single_mod=yes
9881 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9882 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9884 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'
9886 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9888 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9889 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9890 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}'
9892 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}'
9894 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}'
9895 hardcode_direct_CXX=no
9896 hardcode_automatic_CXX=yes
9897 hardcode_shlibpath_var_CXX=unsupported
9898 whole_archive_flag_spec_CXX='-all_load $convenience'
9899 link_all_deplibs_CXX=yes
9904 case $cc_basename in
9906 # FIXME: insert proper C++ library support
9910 # Green Hills C++ Compiler
9911 # FIXME: insert proper C++ library support
9915 # FIXME: insert proper C++ library support
9921 # C++ shared libraries reported to be fairly broken before switch to ELF
9925 archive_cmds_need_lc_CXX=no
9928 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9935 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9936 hardcode_libdir_separator_CXX=:
9937 export_dynamic_flag_spec_CXX='${wl}-E'
9938 hardcode_direct_CXX=yes
9939 hardcode_minus_L_CXX=yes # Not in the search PATH,
9940 # but as the default
9941 # location of the library.
9943 case $cc_basename in
9945 # FIXME: insert proper C++ library support
9949 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'
9950 # Commands to make compiler produce verbose output that lists
9951 # what "hidden" libraries, object files and flags are used when
9952 # linking a shared library.
9954 # There doesn't appear to be a way to prevent this compiler from
9955 # explicitly linking system object files so we need to strip them
9956 # from the output so that they don't get included in the library
9958 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'
9961 if test "$GXX" = yes; then
9962 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'
9964 # FIXME: insert proper C++ library support
9971 if test $with_gnu_ld = no; then
9974 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9975 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9976 hardcode_libdir_separator_CXX=:
9979 hardcode_libdir_flag_spec_CXX='-L$libdir'
9982 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9983 hardcode_libdir_separator_CXX=:
9984 export_dynamic_flag_spec_CXX='${wl}-E'
9990 hardcode_direct_CXX=no
9991 hardcode_shlibpath_var_CXX=no
9994 hardcode_direct_CXX=no
9995 hardcode_shlibpath_var_CXX=no
9996 hardcode_minus_L_CXX=yes # Not in the search PATH,
9997 # but as the default
9998 # location of the library.
10001 hardcode_direct_CXX=yes
10002 hardcode_minus_L_CXX=yes # Not in the search PATH,
10003 # but as the default
10004 # location of the library.
10008 case $cc_basename in
10010 # FIXME: insert proper C++ library support
10014 case "$host_cpu" in
10016 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10019 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10022 # Commands to make compiler produce verbose output that lists
10023 # what "hidden" libraries, object files and flags are used when
10024 # linking a shared library.
10026 # There doesn't appear to be a way to prevent this compiler from
10027 # explicitly linking system object files so we need to strip them
10028 # from the output so that they don't get included in the library
10030 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'
10033 if test "$GXX" = yes; then
10034 if test $with_gnu_ld = no; then
10035 case "$host_cpu" in
10037 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10040 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'
10045 # FIXME: insert proper C++ library support
10052 case $cc_basename in
10055 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'
10057 # Archives containing C++ object files must be created using
10058 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10059 # necessary to make sure instantiated templates are included
10061 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10064 if test "$GXX" = yes; then
10065 if test "$with_gnu_ld" = no; then
10066 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'
10068 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'
10071 link_all_deplibs_CXX=yes
10074 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10075 hardcode_libdir_separator_CXX=:
10078 case $cc_basename in
10080 # Kuck and Associates, Inc. (KAI) C++ Compiler
10082 # KCC will only create a shared library if the output file
10083 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10084 # to its proper name (with version) after linking.
10085 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'
10086 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'
10087 # Commands to make compiler produce verbose output that lists
10088 # what "hidden" libraries, object files and flags are used when
10089 # linking a shared library.
10091 # There doesn't appear to be a way to prevent this compiler from
10092 # explicitly linking system object files so we need to strip them
10093 # from the output so that they don't get included in the library
10095 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'
10097 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10098 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10100 # Archives containing C++ object files must be created using
10101 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10102 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10107 archive_cmds_need_lc_CXX=no
10108 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10109 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'
10110 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10111 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10112 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10116 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10117 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'
10119 runpath_var=LD_RUN_PATH
10120 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10121 hardcode_libdir_separator_CXX=:
10123 # Commands to make compiler produce verbose output that lists
10124 # what "hidden" libraries, object files and flags are used when
10125 # linking a shared library.
10127 # There doesn't appear to be a way to prevent this compiler from
10128 # explicitly linking system object files so we need to strip them
10129 # from the output so that they don't get included in the library
10131 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'
10136 # FIXME: insert proper C++ library support
10140 # FIXME: insert proper C++ library support
10144 case $cc_basename in
10146 # FIXME: insert proper C++ library support
10150 # FIXME: insert proper C++ library support
10156 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10157 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10159 hardcode_libdir_flag_spec_CXX='-R$libdir'
10160 hardcode_direct_CXX=yes
10161 hardcode_shlibpath_var_CXX=no
10163 # Workaround some broken pre-1.5 toolchains
10164 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10167 case $cc_basename in
10169 # Kuck and Associates, Inc. (KAI) C++ Compiler
10171 # KCC will only create a shared library if the output file
10172 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10173 # to its proper name (with version) after linking.
10174 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'
10176 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10177 hardcode_libdir_separator_CXX=:
10179 # Archives containing C++ object files must be created using
10180 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10181 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10185 # Rational C++ 2.4.1
10186 # FIXME: insert proper C++ library support
10190 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10191 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'
10193 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10194 hardcode_libdir_separator_CXX=:
10196 # Commands to make compiler produce verbose output that lists
10197 # what "hidden" libraries, object files and flags are used when
10198 # linking a shared library.
10200 # There doesn't appear to be a way to prevent this compiler from
10201 # explicitly linking system object files so we need to strip them
10202 # from the output so that they don't get included in the library
10204 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'
10207 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10208 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10209 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'
10211 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10212 hardcode_libdir_separator_CXX=:
10214 # Commands to make compiler produce verbose output that lists
10215 # what "hidden" libraries, object files and flags are used when
10216 # linking a shared library.
10217 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10220 # FIXME: insert proper C++ library support
10227 case $cc_basename in
10229 # Kuck and Associates, Inc. (KAI) C++ Compiler
10231 # KCC will only create a shared library if the output file
10232 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10233 # to its proper name (with version) after linking.
10234 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'
10236 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10237 hardcode_libdir_separator_CXX=:
10239 # Archives containing C++ object files must be created using
10240 # the KAI C++ compiler.
10241 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10244 # Rational C++ 2.4.1
10245 # FIXME: insert proper C++ library support
10249 allow_undefined_flag_CXX=' -expect_unresolved \*'
10250 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'
10251 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10252 echo "-hidden">> $lib.exp~
10253 $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~
10256 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10257 hardcode_libdir_separator_CXX=:
10259 # Commands to make compiler produce verbose output that lists
10260 # what "hidden" libraries, object files and flags are used when
10261 # linking a shared library.
10263 # There doesn't appear to be a way to prevent this compiler from
10264 # explicitly linking system object files so we need to strip them
10265 # from the output so that they don't get included in the library
10267 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'
10270 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10271 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10272 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'
10274 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10275 hardcode_libdir_separator_CXX=:
10277 # Commands to make compiler produce verbose output that lists
10278 # what "hidden" libraries, object files and flags are used when
10279 # linking a shared library.
10280 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10283 # FIXME: insert proper C++ library support
10290 # FIXME: insert proper C++ library support
10294 archive_cmds_need_lc_CXX=no
10295 case $cc_basename in
10297 # FIXME: insert proper C++ library support
10301 # FIXME: insert proper C++ library support
10307 case $cc_basename in
10310 # FIXME: insert proper C++ library support
10315 # FIXME: insert proper C++ library support
10319 # FIXME: insert proper C++ library support
10325 case $cc_basename in
10327 # Sun C++ 4.2, 5.x and Centerline C++
10328 no_undefined_flag_CXX=' -zdefs'
10329 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10330 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10331 $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'
10333 hardcode_libdir_flag_spec_CXX='-R$libdir'
10334 hardcode_shlibpath_var_CXX=no
10336 solaris2.0-5 | solaris2.0-5.*) ;;
10338 # The C++ compiler is used as linker so we must use $wl
10339 # flag to pass the commands to the underlying system
10341 # Supported since Solaris 2.6 (maybe 2.5.1?)
10342 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10345 link_all_deplibs_CXX=yes
10347 # Commands to make compiler produce verbose output that lists
10348 # what "hidden" libraries, object files and flags are used when
10349 # linking a shared library.
10351 # There doesn't appear to be a way to prevent this compiler from
10352 # explicitly linking system object files so we need to strip them
10353 # from the output so that they don't get included in the library
10355 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'
10357 # Archives containing C++ object files must be created using
10358 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10359 # necessary to make sure instantiated templates are included
10361 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10364 # Green Hills C++ Compiler
10365 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10367 # The C++ compiler must be used to create the archive.
10368 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10371 # GNU C++ compiler with Solaris linker
10372 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10373 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10374 if $CC --version | grep -v '^2\.7' > /dev/null; then
10375 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10376 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10377 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10379 # Commands to make compiler produce verbose output that lists
10380 # what "hidden" libraries, object files and flags are used when
10381 # linking a shared library.
10382 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10384 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10386 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10387 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10388 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10390 # Commands to make compiler produce verbose output that lists
10391 # what "hidden" libraries, object files and flags are used when
10392 # linking a shared library.
10393 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10396 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10401 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10402 archive_cmds_need_lc_CXX=no
10405 case $cc_basename in
10407 # NonStop-UX NCC 3.20
10408 # FIXME: insert proper C++ library support
10412 # FIXME: insert proper C++ library support
10418 # FIXME: insert proper C++ library support
10422 # FIXME: insert proper C++ library support
10426 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10427 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10428 test "$ld_shlibs_CXX" = no && can_build_shared=no
10434 ## There is no encapsulation within the following macros, do not change
10435 ## the running order or otherwise move them around unless you know exactly
10436 ## what you are doing...
10438 cat > conftest.$ac_ext <<EOF
10442 Foo (void) { a = 0; }
10448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10449 (eval $ac_compile) 2>&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); }; then
10453 # Parse the compiler output and extract the necessary
10454 # objects, libraries and library flags.
10456 # Sentinel used to keep track of whether or not we are before
10457 # the conftest object file.
10458 pre_test_object_deps_done=no
10460 # The `*' in the case matches for architectures that use `case' in
10461 # $output_verbose_cmd can trigger glob expansion during the loop
10462 # eval without this substitution.
10463 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10465 for p in `eval $output_verbose_link_cmd`; do
10469 # Some compilers place space between "-{L,R}" and the path.
10470 # Remove the space.
10471 if test $p = "-L" \
10472 || test $p = "-R"; then
10479 if test "$pre_test_object_deps_done" = no; then
10482 # Internal compiler library paths should come after those
10483 # provided the user. The postdeps already come after the
10484 # user supplied libs so there is no need to process them.
10485 if test -z "$compiler_lib_search_path_CXX"; then
10486 compiler_lib_search_path_CXX="${prev}${p}"
10488 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10491 # The "-l" case would never come before the object being
10492 # linked, so don't bother handling this case.
10495 if test -z "$postdeps_CXX"; then
10496 postdeps_CXX="${prev}${p}"
10498 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10504 # This assumes that the test object file only shows up
10505 # once in the compiler output.
10506 if test "$p" = "conftest.$objext"; then
10507 pre_test_object_deps_done=yes
10511 if test "$pre_test_object_deps_done" = no; then
10512 if test -z "$predep_objects_CXX"; then
10513 predep_objects_CXX="$p"
10515 predep_objects_CXX="$predep_objects_CXX $p"
10518 if test -z "$postdep_objects_CXX"; then
10519 postdep_objects_CXX="$p"
10521 postdep_objects_CXX="$postdep_objects_CXX $p"
10526 *) ;; # Ignore the rest.
10534 echo "libtool.m4: error: problem compiling CXX test program"
10537 $rm -f confest.$objext
10539 case " $postdeps_CXX " in
10540 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10543 lt_prog_compiler_wl_CXX=
10544 lt_prog_compiler_pic_CXX=
10545 lt_prog_compiler_static_CXX=
10547 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10548 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10550 # C++ specific cases for pic, static, wl, etc.
10551 if test "$GXX" = yes; then
10552 lt_prog_compiler_wl_CXX='-Wl,'
10553 lt_prog_compiler_static_CXX='-static'
10557 # All AIX code is PIC.
10558 if test "$host_cpu" = ia64; then
10559 # AIX 5 now supports IA64 processor
10560 lt_prog_compiler_static_CXX='-Bstatic'
10564 # FIXME: we need at least 68020 code to build shared libraries, but
10565 # adding the `-m68020' flag to GCC prevents building anything better,
10567 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10569 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10570 # PIC is the default for these OSes.
10572 mingw* | os2* | pw32*)
10573 # This hack is so that the source file can tell whether it is being
10574 # built for inclusion in a dll (and should export symbols for example).
10575 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10577 darwin* | rhapsody*)
10578 # PIC is the default on this platform
10579 # Common symbols not allowed in MH_DYLIB files
10580 lt_prog_compiler_pic_CXX='-fno-common'
10583 # DJGPP does not support shared libraries at all
10584 lt_prog_compiler_pic_CXX=
10587 if test -d /usr/nec; then
10588 lt_prog_compiler_pic_CXX=-Kconform_pic
10592 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10593 # not for PA HP-UX.
10594 case "$host_cpu" in
10598 lt_prog_compiler_pic_CXX='-fPIC'
10603 lt_prog_compiler_pic_CXX='-fPIC'
10609 # All AIX code is PIC.
10610 if test "$host_cpu" = ia64; then
10611 # AIX 5 now supports IA64 processor
10612 lt_prog_compiler_static_CXX='-Bstatic'
10614 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10618 case $cc_basename in
10620 # Green Hills C++ Compiler
10621 # _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"
10626 case $cc_basename in
10628 lt_prog_compiler_pic_CXX='-KPIC'
10631 # Green Hills C++ Compiler
10632 lt_prog_compiler_pic_CXX='-pic'
10639 # FreeBSD uses GNU C++
10641 hpux9* | hpux10* | hpux11*)
10642 case $cc_basename in
10644 lt_prog_compiler_wl_CXX='-Wl,'
10645 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10646 if test "$host_cpu" != ia64; then
10647 lt_prog_compiler_pic_CXX='+Z'
10651 lt_prog_compiler_wl_CXX='-Wl,'
10652 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10653 case "$host_cpu" in
10658 lt_prog_compiler_pic_CXX='+Z'
10666 irix5* | irix6* | nonstopux*)
10667 case $cc_basename in
10669 lt_prog_compiler_wl_CXX='-Wl,'
10670 lt_prog_compiler_static_CXX='-non_shared'
10671 # CC pic flag -KPIC is the default.
10678 case $cc_basename in
10681 lt_prog_compiler_wl_CXX='--backend -Wl,'
10682 lt_prog_compiler_pic_CXX='-fPIC'
10686 lt_prog_compiler_wl_CXX='-Wl,'
10687 lt_prog_compiler_pic_CXX='-KPIC'
10688 lt_prog_compiler_static_CXX='-static'
10692 # Make sure the PIC flag is empty. It appears that all Alpha
10693 # Linux and Compaq Tru64 Unix objects are PIC.
10694 lt_prog_compiler_pic_CXX=
10695 lt_prog_compiler_static_CXX='-non_shared'
10706 case $cc_basename in
10708 lt_prog_compiler_pic_CXX='-W c,exportall'
10716 osf3* | osf4* | osf5*)
10717 case $cc_basename in
10719 lt_prog_compiler_wl_CXX='--backend -Wl,'
10722 # Rational C++ 2.4.1
10723 lt_prog_compiler_pic_CXX='-pic'
10726 # Digital/Compaq C++
10727 lt_prog_compiler_wl_CXX='-Wl,'
10728 # Make sure the PIC flag is empty. It appears that all Alpha
10729 # Linux and Compaq Tru64 Unix objects are PIC.
10730 lt_prog_compiler_pic_CXX=
10731 lt_prog_compiler_static_CXX='-non_shared'
10740 case $cc_basename in
10742 lt_prog_compiler_pic_CXX='-fPIC'
10749 case $cc_basename in
10751 # Sun C++ 4.2, 5.x and Centerline C++
10752 lt_prog_compiler_pic_CXX='-KPIC'
10753 lt_prog_compiler_static_CXX='-Bstatic'
10754 lt_prog_compiler_wl_CXX='-Qoption ld '
10757 # Green Hills C++ Compiler
10758 lt_prog_compiler_pic_CXX='-PIC'
10765 case $cc_basename in
10768 lt_prog_compiler_pic_CXX='-pic'
10769 lt_prog_compiler_static_CXX='-Bstatic'
10773 lt_prog_compiler_pic_CXX='-pic'
10780 case $cc_basename in
10782 # NonStop-UX NCC 3.20
10783 lt_prog_compiler_pic_CXX='-KPIC'
10794 lt_prog_compiler_can_build_shared_CXX=no
10799 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10800 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10803 # Check to make sure the PIC flag actually works.
10805 if test -n "$lt_prog_compiler_pic_CXX"; then
10806 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10807 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10808 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 lt_prog_compiler_pic_works_CXX=no
10812 ac_outfile=conftest.$ac_objext
10813 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10814 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10815 # Insert the option either (1) after the last *FLAGS variable, or
10816 # (2) before a word containing "conftest.", or (3) at the end.
10817 # Note that $ac_compile itself does not contain backslashes and begins
10818 # with a dollar sign (not a hyphen), so the echo should work correctly.
10819 # The option is referenced via a variable to avoid confusing sed.
10820 lt_compile=`echo "$ac_compile" | $SED \
10821 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10822 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10823 -e 's:$: $lt_compiler_flag:'`
10824 (eval echo "\"\$as_me:10824: $lt_compile\"" >&5)
10825 (eval "$lt_compile" 2>conftest.err)
10827 cat conftest.err >&5
10828 echo "$as_me:10828: \$? = $ac_status" >&5
10829 if (exit $ac_status) && test -s "$ac_outfile"; then
10830 # The compiler can only warn and ignore the option if not recognized
10831 # So say no if there are warnings
10832 if test ! -s conftest.err; then
10833 lt_prog_compiler_pic_works_CXX=yes
10839 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10840 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10842 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10843 case $lt_prog_compiler_pic_CXX in
10845 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10848 lt_prog_compiler_pic_CXX=
10849 lt_prog_compiler_can_build_shared_CXX=no
10854 # For platforms which do not support PIC, -DPIC is meaningless:
10856 lt_prog_compiler_pic_CXX=
10859 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10863 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10864 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10865 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10866 echo $ECHO_N "(cached) $ECHO_C" >&6
10868 lt_cv_prog_compiler_c_o_CXX=no
10869 $rm -r conftest 2>/dev/null
10873 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10875 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10876 # that will create temporary files in the current directory regardless of
10877 # the output directory. Thus, making CWD read-only will cause this test
10878 # to fail, enabling locking or at least warning the user not to do parallel
10882 lt_compiler_flag="-o out/conftest2.$ac_objext"
10883 # Insert the option either (1) after the last *FLAGS variable, or
10884 # (2) before a word containing "conftest.", or (3) at the end.
10885 # Note that $ac_compile itself does not contain backslashes and begins
10886 # with a dollar sign (not a hyphen), so the echo should work correctly.
10887 lt_compile=`echo "$ac_compile" | $SED \
10888 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10889 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10890 -e 's:$: $lt_compiler_flag:'`
10891 (eval echo "\"\$as_me:10891: $lt_compile\"" >&5)
10892 (eval "$lt_compile" 2>out/conftest.err)
10894 cat out/conftest.err >&5
10895 echo "$as_me:10895: \$? = $ac_status" >&5
10896 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10898 # The compiler can only warn and ignore the option if not recognized
10899 # So say no if there are warnings
10900 if test ! -s out/conftest.err; then
10901 lt_cv_prog_compiler_c_o_CXX=yes
10905 $rm conftest* out/*
10912 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10913 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10916 hard_links="nottested"
10917 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10918 # do not overwrite the value of need_locks provided by the user
10919 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10920 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10923 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10925 ln conftest.a conftest.b 2>&5 || hard_links=no
10926 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10927 echo "$as_me:$LINENO: result: $hard_links" >&5
10928 echo "${ECHO_T}$hard_links" >&6
10929 if test "$hard_links" = no; then
10930 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10931 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10938 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10939 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10941 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10944 # If we're using GNU nm, then we don't want the "-C" option.
10945 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10946 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10947 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'
10949 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'
10953 export_symbols_cmds_CXX="$ltdll_cmds"
10956 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10959 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10963 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10964 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10965 test "$ld_shlibs_CXX" = no && can_build_shared=no
10967 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10968 if test "$GCC" = yes; then
10969 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10973 # Do we need to explicitly link libc?
10975 case "x$archive_cmds_need_lc_CXX" in
10977 # Assume -lc should be added
10978 archive_cmds_need_lc_CXX=yes
10980 if test "$enable_shared" = yes && test "$GCC" = yes; then
10981 case $archive_cmds_CXX in
10983 # FIXME: we may have to deal with multi-command sequences.
10986 # Test whether the compiler implicitly links with -lc since on some
10987 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10988 # to ld, don't add -lc before -lgcc.
10989 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10990 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10992 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10995 (eval $ac_compile) 2>&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } 2>conftest.err; then
11001 libobjs=conftest.$ac_objext
11003 wl=$lt_prog_compiler_wl_CXX
11009 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11010 allow_undefined_flag_CXX=
11011 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11012 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }
11017 archive_cmds_need_lc_CXX=no
11019 archive_cmds_need_lc_CXX=yes
11021 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11023 cat conftest.err 1>&5
11026 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11027 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11034 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11035 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11036 hardcode_action_CXX=
11037 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11038 test -n "$runpath_var CXX" || \
11039 test "X$hardcode_automatic_CXX"="Xyes" ; then
11041 # We can hardcode non-existant directories.
11042 if test "$hardcode_direct_CXX" != no &&
11043 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11044 # have to relink, otherwise we might link with an installed library
11045 # when we should be linking with a yet-to-be-installed one
11046 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11047 test "$hardcode_minus_L_CXX" != no; then
11048 # Linking always hardcodes the temporary library directory.
11049 hardcode_action_CXX=relink
11051 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11052 hardcode_action_CXX=immediate
11055 # We cannot hardcode anything, or else we can only hardcode existing
11057 hardcode_action_CXX=unsupported
11059 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11060 echo "${ECHO_T}$hardcode_action_CXX" >&6
11062 if test "$hardcode_action_CXX" = relink; then
11063 # Fast installation is not supported
11064 enable_fast_install=no
11065 elif test "$shlibpath_overrides_runpath" = yes ||
11066 test "$enable_shared" = no; then
11067 # Fast installation is not necessary
11068 enable_fast_install=needless
11073 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11074 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11075 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11076 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11077 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11078 echo "$as_me:$LINENO: result: yes" >&5
11079 echo "${ECHO_T}yes" >&6
11081 # FIXME - insert some real tests, host_os isn't really good enough
11084 if test -n "$STRIP" ; then
11085 striplib="$STRIP -x"
11086 echo "$as_me:$LINENO: result: yes" >&5
11087 echo "${ECHO_T}yes" >&6
11089 echo "$as_me:$LINENO: result: no" >&5
11090 echo "${ECHO_T}no" >&6
11094 echo "$as_me:$LINENO: result: no" >&5
11095 echo "${ECHO_T}no" >&6
11100 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11101 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11102 library_names_spec=
11103 libname_spec='lib$name'
11107 postuninstall_cmds=
11111 shlibpath_overrides_runpath=unknown
11113 dynamic_linker="$host_os ld.so"
11114 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11115 if test "$GCC" = yes; then
11116 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11117 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11118 # if the path contains ";" then we assume it to be the separator
11119 # otherwise default to the standard path separator (i.e. ":") - it is
11120 # assumed that no part of a normal pathname contains ";" but that should
11121 # okay in the real world where ";" in dirpaths is itself problematic.
11122 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11124 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11127 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11129 need_lib_prefix=unknown
11130 hardcode_into_libs=no
11132 # when you set need_version to no, make sure it does not cause -set_version
11133 # flags to be left without arguments
11134 need_version=unknown
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11140 shlibpath_var=LIBPATH
11142 # AIX 3 has no versioning support, so we append a major version to the name.
11143 soname_spec='${libname}${release}${shared_ext}$major'
11150 hardcode_into_libs=yes
11151 if test "$host_cpu" = ia64; then
11152 # AIX 5 supports IA64
11153 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11154 shlibpath_var=LD_LIBRARY_PATH
11156 # With GCC up to 2.95.x, collect2 would create an import file
11157 # for dependence libraries. The import file would start with
11158 # the line `#! .'. This would cause the generated library to
11159 # depend on `.', always an invalid library. This was fixed in
11160 # development snapshots of GCC prior to 3.0.
11162 aix4 | aix4.[01] | aix4.[01].*)
11163 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11165 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11168 can_build_shared=no
11172 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11173 # soname into executable. Probably we can add versioning support to
11174 # collect2, so additional links can be useful in future.
11175 if test "$aix_use_runtimelinking" = yes; then
11176 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11177 # instead of lib<name>.a to let people know that these are not
11178 # typical AIX shared libraries.
11179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11181 # We preserve .a as extension for shared libraries through AIX4.2
11182 # and later when we are not doing run time linking.
11183 library_names_spec='${libname}${release}.a $libname.a'
11184 soname_spec='${libname}${release}${shared_ext}$major'
11186 shlibpath_var=LIBPATH
11191 library_names_spec='$libname.ixlibrary $libname.a'
11192 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11193 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'
11197 library_names_spec='${libname}${shared_ext}'
11198 dynamic_linker="$host_os ld.so"
11199 shlibpath_var=LIBRARY_PATH
11205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11206 soname_spec='${libname}${release}${shared_ext}$major'
11207 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11208 shlibpath_var=LD_LIBRARY_PATH
11209 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11210 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11211 # the default ld.so.conf also contains /usr/contrib/lib and
11212 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11213 # libtool to hard-code these into programs
11216 cygwin* | mingw* | pw32*)
11217 version_type=windows
11222 case $GCC,$host_os in
11223 yes,cygwin* | yes,mingw* | yes,pw32*)
11224 library_names_spec='$libname.dll.a'
11225 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11226 postinstall_cmds='base_file=`basename \${file}`~
11227 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11228 dldir=$destdir/`dirname \$dlpath`~
11229 test -d \$dldir || mkdir -p \$dldir~
11230 $install_prog $dir/$dlname \$dldir/$dlname'
11231 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11232 dlpath=$dir/\$dldll~
11234 shlibpath_overrides_runpath=yes
11238 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11239 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11240 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11243 # MinGW DLLs use traditional 'lib' prefix
11244 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11245 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11246 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11247 # It is most probably a Windows format PATH printed by
11248 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11249 # path with ; separators, and with drive letters. We can handle the
11250 # drive letters (cygwin fileutils understands them), so leave them,
11251 # especially as we might pass files found there to a mingw objdump,
11252 # which wouldn't understand a cygwinified path. Ahh.
11253 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11255 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11259 # pw32 DLLs use 'pw' prefix rather than 'lib'
11260 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11266 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11269 dynamic_linker='Win32 ld.exe'
11270 # FIXME: first we should search . and the directory the executable is in
11274 darwin* | rhapsody*)
11275 dynamic_linker="$host_os dyld"
11276 version_type=darwin
11279 # FIXME: Relying on posixy $() will cause problems for
11280 # cross-compilation, but unfortunately the echo tests do not
11281 # yet detect zsh echo's removal of \ escapes.
11282 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11283 soname_spec='${libname}${release}${major}$shared_ext'
11284 shlibpath_overrides_runpath=yes
11285 shlibpath_var=DYLD_LIBRARY_PATH
11286 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11287 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11288 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11289 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"`
11291 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11299 soname_spec='${libname}${release}${shared_ext}$major'
11300 shlibpath_var=LD_LIBRARY_PATH
11308 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11309 version_type=freebsd-$objformat
11310 case $version_type in
11312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11317 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11321 shlibpath_var=LD_LIBRARY_PATH
11324 shlibpath_overrides_runpath=yes
11326 freebsd3.01* | freebsdelf3.01*)
11327 shlibpath_overrides_runpath=yes
11328 hardcode_into_libs=yes
11331 shlibpath_overrides_runpath=no
11332 hardcode_into_libs=yes
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 shlibpath_var=LD_LIBRARY_PATH
11344 hardcode_into_libs=yes
11347 hpux9* | hpux10* | hpux11*)
11348 # Give a soname corresponding to the major version so that dld.sl refuses to
11349 # link against other versions.
11353 case "$host_cpu" in
11356 hardcode_into_libs=yes
11357 dynamic_linker="$host_os dld.so"
11358 shlibpath_var=LD_LIBRARY_PATH
11359 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361 soname_spec='${libname}${release}${shared_ext}$major'
11362 if test "X$HPUX_IA64_MODE" = X32; then
11363 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11365 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11367 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11371 hardcode_into_libs=yes
11372 dynamic_linker="$host_os dld.sl"
11373 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11374 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11376 soname_spec='${libname}${release}${shared_ext}$major'
11377 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11378 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11382 dynamic_linker="$host_os dld.sl"
11383 shlibpath_var=SHLIB_PATH
11384 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11386 soname_spec='${libname}${release}${shared_ext}$major'
11389 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11390 postinstall_cmds='chmod 555 $lib'
11393 irix5* | irix6* | nonstopux*)
11395 nonstopux*) version_type=nonstopux ;;
11397 if test "$lt_cv_prog_gnu_ld" = yes; then
11405 soname_spec='${libname}${release}${shared_ext}$major'
11406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11408 irix5* | nonstopux*)
11409 libsuff= shlibsuff=
11412 case $LD in # libtool.m4 will add one of these switches to LD
11413 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11414 libsuff= shlibsuff= libmagic=32-bit;;
11415 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11416 libsuff=32 shlibsuff=N32 libmagic=N32;;
11417 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11418 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11419 *) libsuff= shlibsuff= libmagic=never-match;;
11423 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11424 shlibpath_overrides_runpath=no
11425 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11426 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11427 hardcode_into_libs=yes
11430 # No shared lib support for Linux oldld, aout, or coff.
11431 linux*oldld* | linux*aout* | linux*coff*)
11435 # This must be Linux ELF.
11440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11441 soname_spec='${libname}${release}${shared_ext}$major'
11442 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11443 shlibpath_var=LD_LIBRARY_PATH
11444 shlibpath_overrides_runpath=no
11445 # This implies no fast_install, which is unacceptable.
11446 # Some rework will be needed to allow for fast_install
11447 # before this can be enabled.
11448 hardcode_into_libs=yes
11450 # We used to test for /lib/ld.so.1 and disable shared libraries on
11451 # powerpc, because MkLinux only supported shared libraries with the
11452 # GNU dynamic linker. Since this was broken with cross compilers,
11453 # most powerpc-linux boxes support dynamic linking these days and
11454 # people can always --disable-shared, the test was removed, and we
11455 # assume the GNU/Linux dynamic linker is in use.
11456 dynamic_linker='GNU/Linux ld.so'
11463 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11465 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11466 dynamic_linker='NetBSD (a.out) ld.so'
11468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11469 soname_spec='${libname}${release}${shared_ext}$major'
11470 dynamic_linker='NetBSD ld.elf_so'
11472 shlibpath_var=LD_LIBRARY_PATH
11473 shlibpath_overrides_runpath=yes
11474 hardcode_into_libs=yes
11479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11480 shlibpath_var=LD_LIBRARY_PATH
11481 shlibpath_overrides_runpath=yes
11488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11489 soname_spec='${libname}${release}${shared_ext}$major'
11490 shlibpath_var=LD_LIBRARY_PATH
11491 shlibpath_overrides_runpath=yes
11498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11500 shlibpath_var=LD_LIBRARY_PATH
11501 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11503 openbsd2.[89] | openbsd2.[89].*)
11504 shlibpath_overrides_runpath=no
11507 shlibpath_overrides_runpath=yes
11511 shlibpath_overrides_runpath=yes
11516 libname_spec='$name'
11519 library_names_spec='$libname${shared_ext} $libname.a'
11520 dynamic_linker='OS/2 ld.exe'
11521 shlibpath_var=LIBPATH
11524 osf3* | osf4* | osf5*)
11528 soname_spec='${libname}${release}${shared_ext}$major'
11529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11530 shlibpath_var=LD_LIBRARY_PATH
11531 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11532 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11537 soname_spec='${libname}${release}${shared_ext}$major'
11538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11539 shlibpath_var=LD_LIBRARY_PATH
11546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11547 soname_spec='${libname}${release}${shared_ext}$major'
11548 shlibpath_var=LD_LIBRARY_PATH
11549 shlibpath_overrides_runpath=yes
11550 hardcode_into_libs=yes
11551 # ldd complains unless libraries are executable
11552 postinstall_cmds='chmod +x $lib'
11557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11558 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11559 shlibpath_var=LD_LIBRARY_PATH
11560 shlibpath_overrides_runpath=yes
11561 if test "$with_gnu_ld" = yes; then
11567 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11570 soname_spec='${libname}${release}${shared_ext}$major'
11571 shlibpath_var=LD_LIBRARY_PATH
11572 case $host_vendor in
11574 shlibpath_overrides_runpath=no
11576 export_dynamic_flag_spec='${wl}-Blargedynsym'
11577 runpath_var=LD_RUN_PATH
11585 shlibpath_overrides_runpath=no
11586 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11592 if test -d /usr/nec ;then
11594 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11595 soname_spec='$libname${shared_ext}.$major'
11596 shlibpath_var=LD_LIBRARY_PATH
11602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11603 soname_spec='${libname}${release}${shared_ext}$major'
11604 shlibpath_var=LD_LIBRARY_PATH
11611 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11612 echo "${ECHO_T}$dynamic_linker" >&6
11613 test "$dynamic_linker" = no && can_build_shared=no
11615 if test "x$enable_dlopen" != xyes; then
11616 enable_dlopen=unknown
11617 enable_dlopen_self=unknown
11618 enable_dlopen_self_static=unknown
11625 lt_cv_dlopen="load_add_on"
11627 lt_cv_dlopen_self=yes
11631 lt_cv_dlopen="LoadLibrary"
11636 lt_cv_dlopen="dlopen"
11641 # if libdl is installed we need to link against it
11642 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11643 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11644 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11645 echo $ECHO_N "(cached) $ECHO_C" >&6
11647 ac_check_lib_save_LIBS=$LIBS
11649 cat >conftest.$ac_ext <<_ACEOF
11650 #line $LINENO "configure"
11653 cat confdefs.h >>conftest.$ac_ext
11654 cat >>conftest.$ac_ext <<_ACEOF
11655 /* end confdefs.h. */
11657 /* Override any gcc2 internal prototype to avoid an error. */
11661 /* We use char because int might match the return type of a gcc2
11662 builtin and then its argument prototype would still apply. */
11672 rm -f conftest.$ac_objext conftest$ac_exeext
11673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11674 (eval $ac_link) 2>&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); } &&
11678 { ac_try='test -s conftest$ac_exeext'
11679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11680 (eval $ac_try) 2>&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); }; }; then
11684 ac_cv_lib_dl_dlopen=yes
11686 echo "$as_me: failed program was:" >&5
11687 sed 's/^/| /' conftest.$ac_ext >&5
11689 ac_cv_lib_dl_dlopen=no
11691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11692 LIBS=$ac_check_lib_save_LIBS
11694 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11695 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11696 if test $ac_cv_lib_dl_dlopen = yes; then
11697 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11700 lt_cv_dlopen="dyld"
11702 lt_cv_dlopen_self=yes
11709 echo "$as_me:$LINENO: checking for shl_load" >&5
11710 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11711 if test "${ac_cv_func_shl_load+set}" = set; then
11712 echo $ECHO_N "(cached) $ECHO_C" >&6
11714 cat >conftest.$ac_ext <<_ACEOF
11715 #line $LINENO "configure"
11718 cat confdefs.h >>conftest.$ac_ext
11719 cat >>conftest.$ac_ext <<_ACEOF
11720 /* end confdefs.h. */
11721 /* System header to define __stub macros and hopefully few prototypes,
11722 which can conflict with char shl_load (); below.
11723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11724 <limits.h> exists even on freestanding compilers. */
11726 # include <limits.h>
11728 # include <assert.h>
11730 /* Override any gcc2 internal prototype to avoid an error. */
11735 /* We use char because int might match the return type of a gcc2
11736 builtin and then its argument prototype would still apply. */
11738 /* The GNU C library defines this for functions which it implements
11739 to always fail with ENOSYS. Some functions are actually named
11740 something starting with __ and the normal name is an alias. */
11741 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11744 char (*f) () = shl_load;
11753 return f != shl_load;
11758 rm -f conftest.$ac_objext conftest$ac_exeext
11759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11760 (eval $ac_link) 2>&5
11762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763 (exit $ac_status); } &&
11764 { ac_try='test -s conftest$ac_exeext'
11765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11766 (eval $ac_try) 2>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); }; }; then
11770 ac_cv_func_shl_load=yes
11772 echo "$as_me: failed program was:" >&5
11773 sed 's/^/| /' conftest.$ac_ext >&5
11775 ac_cv_func_shl_load=no
11777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11779 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11780 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11781 if test $ac_cv_func_shl_load = yes; then
11782 lt_cv_dlopen="shl_load"
11784 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11785 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11786 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11787 echo $ECHO_N "(cached) $ECHO_C" >&6
11789 ac_check_lib_save_LIBS=$LIBS
11791 cat >conftest.$ac_ext <<_ACEOF
11792 #line $LINENO "configure"
11795 cat confdefs.h >>conftest.$ac_ext
11796 cat >>conftest.$ac_ext <<_ACEOF
11797 /* end confdefs.h. */
11799 /* Override any gcc2 internal prototype to avoid an error. */
11803 /* We use char because int might match the return type of a gcc2
11804 builtin and then its argument prototype would still apply. */
11814 rm -f conftest.$ac_objext conftest$ac_exeext
11815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11816 (eval $ac_link) 2>&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); } &&
11820 { ac_try='test -s conftest$ac_exeext'
11821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11822 (eval $ac_try) 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); }; }; then
11826 ac_cv_lib_dld_shl_load=yes
11828 echo "$as_me: failed program was:" >&5
11829 sed 's/^/| /' conftest.$ac_ext >&5
11831 ac_cv_lib_dld_shl_load=no
11833 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11834 LIBS=$ac_check_lib_save_LIBS
11836 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11837 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11838 if test $ac_cv_lib_dld_shl_load = yes; then
11839 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11841 echo "$as_me:$LINENO: checking for dlopen" >&5
11842 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11843 if test "${ac_cv_func_dlopen+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11846 cat >conftest.$ac_ext <<_ACEOF
11847 #line $LINENO "configure"
11850 cat confdefs.h >>conftest.$ac_ext
11851 cat >>conftest.$ac_ext <<_ACEOF
11852 /* end confdefs.h. */
11853 /* System header to define __stub macros and hopefully few prototypes,
11854 which can conflict with char dlopen (); below.
11855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11856 <limits.h> exists even on freestanding compilers. */
11858 # include <limits.h>
11860 # include <assert.h>
11862 /* Override any gcc2 internal prototype to avoid an error. */
11867 /* We use char because int might match the return type of a gcc2
11868 builtin and then its argument prototype would still apply. */
11870 /* The GNU C library defines this for functions which it implements
11871 to always fail with ENOSYS. Some functions are actually named
11872 something starting with __ and the normal name is an alias. */
11873 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11876 char (*f) () = dlopen;
11885 return f != dlopen;
11890 rm -f conftest.$ac_objext conftest$ac_exeext
11891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11892 (eval $ac_link) 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); } &&
11896 { ac_try='test -s conftest$ac_exeext'
11897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11898 (eval $ac_try) 2>&5
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 (exit $ac_status); }; }; then
11902 ac_cv_func_dlopen=yes
11904 echo "$as_me: failed program was:" >&5
11905 sed 's/^/| /' conftest.$ac_ext >&5
11907 ac_cv_func_dlopen=no
11909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11911 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11912 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11913 if test $ac_cv_func_dlopen = yes; then
11914 lt_cv_dlopen="dlopen"
11916 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11917 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11918 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 ac_check_lib_save_LIBS=$LIBS
11923 cat >conftest.$ac_ext <<_ACEOF
11924 #line $LINENO "configure"
11927 cat confdefs.h >>conftest.$ac_ext
11928 cat >>conftest.$ac_ext <<_ACEOF
11929 /* end confdefs.h. */
11931 /* Override any gcc2 internal prototype to avoid an error. */
11935 /* We use char because int might match the return type of a gcc2
11936 builtin and then its argument prototype would still apply. */
11946 rm -f conftest.$ac_objext conftest$ac_exeext
11947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11948 (eval $ac_link) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } &&
11952 { ac_try='test -s conftest$ac_exeext'
11953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954 (eval $ac_try) 2>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; }; then
11958 ac_cv_lib_dl_dlopen=yes
11960 echo "$as_me: failed program was:" >&5
11961 sed 's/^/| /' conftest.$ac_ext >&5
11963 ac_cv_lib_dl_dlopen=no
11965 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11966 LIBS=$ac_check_lib_save_LIBS
11968 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11969 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11970 if test $ac_cv_lib_dl_dlopen = yes; then
11971 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11973 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11974 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11975 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11976 echo $ECHO_N "(cached) $ECHO_C" >&6
11978 ac_check_lib_save_LIBS=$LIBS
11979 LIBS="-lsvld $LIBS"
11980 cat >conftest.$ac_ext <<_ACEOF
11981 #line $LINENO "configure"
11984 cat confdefs.h >>conftest.$ac_ext
11985 cat >>conftest.$ac_ext <<_ACEOF
11986 /* end confdefs.h. */
11988 /* Override any gcc2 internal prototype to avoid an error. */
11992 /* We use char because int might match the return type of a gcc2
11993 builtin and then its argument prototype would still apply. */
12003 rm -f conftest.$ac_objext conftest$ac_exeext
12004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12005 (eval $ac_link) 2>&5
12007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12008 (exit $ac_status); } &&
12009 { ac_try='test -s conftest$ac_exeext'
12010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12011 (eval $ac_try) 2>&5
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); }; }; then
12015 ac_cv_lib_svld_dlopen=yes
12017 echo "$as_me: failed program was:" >&5
12018 sed 's/^/| /' conftest.$ac_ext >&5
12020 ac_cv_lib_svld_dlopen=no
12022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_lib_save_LIBS
12025 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12026 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12027 if test $ac_cv_lib_svld_dlopen = yes; then
12028 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12030 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12031 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12032 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
12035 ac_check_lib_save_LIBS=$LIBS
12037 cat >conftest.$ac_ext <<_ACEOF
12038 #line $LINENO "configure"
12041 cat confdefs.h >>conftest.$ac_ext
12042 cat >>conftest.$ac_ext <<_ACEOF
12043 /* end confdefs.h. */
12045 /* Override any gcc2 internal prototype to avoid an error. */
12049 /* We use char because int might match the return type of a gcc2
12050 builtin and then its argument prototype would still apply. */
12060 rm -f conftest.$ac_objext conftest$ac_exeext
12061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12062 (eval $ac_link) 2>&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); } &&
12066 { ac_try='test -s conftest$ac_exeext'
12067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12068 (eval $ac_try) 2>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); }; }; then
12072 ac_cv_lib_dld_dld_link=yes
12074 echo "$as_me: failed program was:" >&5
12075 sed 's/^/| /' conftest.$ac_ext >&5
12077 ac_cv_lib_dld_dld_link=no
12079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12080 LIBS=$ac_check_lib_save_LIBS
12082 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12083 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12084 if test $ac_cv_lib_dld_dld_link = yes; then
12085 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12106 if test "x$lt_cv_dlopen" != xno; then
12112 case $lt_cv_dlopen in
12114 save_CPPFLAGS="$CPPFLAGS"
12115 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12117 save_LDFLAGS="$LDFLAGS"
12118 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12121 LIBS="$lt_cv_dlopen_libs $LIBS"
12123 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12124 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12125 if test "${lt_cv_dlopen_self+set}" = set; then
12126 echo $ECHO_N "(cached) $ECHO_C" >&6
12128 if test "$cross_compiling" = yes; then :
12129 lt_cv_dlopen_self=cross
12131 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12132 lt_status=$lt_dlunknown
12133 cat > conftest.$ac_ext <<EOF
12134 #line 12134 "configure"
12135 #include "confdefs.h"
12144 # define LT_DLGLOBAL RTLD_GLOBAL
12147 # define LT_DLGLOBAL DL_GLOBAL
12149 # define LT_DLGLOBAL 0
12153 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12154 find out it does not work in some platform. */
12155 #ifndef LT_DLLAZY_OR_NOW
12157 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12160 # define LT_DLLAZY_OR_NOW DL_LAZY
12163 # define LT_DLLAZY_OR_NOW RTLD_NOW
12166 # define LT_DLLAZY_OR_NOW DL_NOW
12168 # define LT_DLLAZY_OR_NOW 0
12176 extern "C" void exit (int);
12179 void fnord() { int i=42;}
12182 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12183 int status = $lt_dlunknown;
12187 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12188 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12189 /* dlclose (self); */
12195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12196 (eval $ac_link) 2>&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12200 (./conftest; exit; ) 2>/dev/null
12202 case x$lt_status in
12203 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12204 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12205 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12208 # compilation failed
12209 lt_cv_dlopen_self=no
12216 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12217 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12219 if test "x$lt_cv_dlopen_self" = xyes; then
12220 LDFLAGS="$LDFLAGS $link_static_flag"
12221 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12222 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12223 if test "${lt_cv_dlopen_self_static+set}" = set; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 if test "$cross_compiling" = yes; then :
12227 lt_cv_dlopen_self_static=cross
12229 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12230 lt_status=$lt_dlunknown
12231 cat > conftest.$ac_ext <<EOF
12232 #line 12232 "configure"
12233 #include "confdefs.h"
12242 # define LT_DLGLOBAL RTLD_GLOBAL
12245 # define LT_DLGLOBAL DL_GLOBAL
12247 # define LT_DLGLOBAL 0
12251 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12252 find out it does not work in some platform. */
12253 #ifndef LT_DLLAZY_OR_NOW
12255 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12258 # define LT_DLLAZY_OR_NOW DL_LAZY
12261 # define LT_DLLAZY_OR_NOW RTLD_NOW
12264 # define LT_DLLAZY_OR_NOW DL_NOW
12266 # define LT_DLLAZY_OR_NOW 0
12274 extern "C" void exit (int);
12277 void fnord() { int i=42;}
12280 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12281 int status = $lt_dlunknown;
12285 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12286 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12287 /* dlclose (self); */
12293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12294 (eval $ac_link) 2>&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12298 (./conftest; exit; ) 2>/dev/null
12300 case x$lt_status in
12301 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12302 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12303 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12306 # compilation failed
12307 lt_cv_dlopen_self_static=no
12314 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12315 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12318 CPPFLAGS="$save_CPPFLAGS"
12319 LDFLAGS="$save_LDFLAGS"
12324 case $lt_cv_dlopen_self in
12325 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12326 *) enable_dlopen_self=unknown ;;
12329 case $lt_cv_dlopen_self_static in
12330 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12331 *) enable_dlopen_self_static=unknown ;;
12336 # The else clause should only fire when bootstrapping the
12337 # libtool distribution, otherwise you forgot to ship ltmain.sh
12338 # with your package, and you will get complaints that there are
12339 # no rules to generate ltmain.sh.
12340 if test -f "$ltmain"; then
12341 # See if we are running on zsh, and set the options which allow our commands through
12342 # without removal of \ escapes.
12343 if test -n "${ZSH_VERSION+set}" ; then
12344 setopt NO_GLOB_SUBST
12346 # Now quote all the things that may contain metacharacters while being
12347 # careful not to overquote the AC_SUBSTed values. We take copies of the
12348 # variables and quote the copies for generation of the libtool script.
12349 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12350 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12351 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12352 deplibs_check_method reload_flag reload_cmds need_locks \
12353 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12354 lt_cv_sys_global_symbol_to_c_name_address \
12355 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12356 old_postinstall_cmds old_postuninstall_cmds \
12360 lt_prog_compiler_wl_CXX \
12361 lt_prog_compiler_pic_CXX \
12362 lt_prog_compiler_static_CXX \
12363 lt_prog_compiler_no_builtin_flag_CXX \
12364 export_dynamic_flag_spec_CXX \
12365 thread_safe_flag_spec_CXX \
12366 whole_archive_flag_spec_CXX \
12367 enable_shared_with_static_runtimes_CXX \
12368 old_archive_cmds_CXX \
12369 old_archive_from_new_cmds_CXX \
12370 predep_objects_CXX \
12371 postdep_objects_CXX \
12374 compiler_lib_search_path_CXX \
12376 archive_expsym_cmds_CXX \
12377 postinstall_cmds_CXX \
12378 postuninstall_cmds_CXX \
12379 old_archive_from_expsyms_cmds_CXX \
12380 allow_undefined_flag_CXX \
12381 no_undefined_flag_CXX \
12382 export_symbols_cmds_CXX \
12383 hardcode_libdir_flag_spec_CXX \
12384 hardcode_libdir_flag_spec_ld_CXX \
12385 hardcode_libdir_separator_CXX \
12386 hardcode_automatic_CXX \
12388 module_expsym_cmds_CXX \
12389 lt_cv_prog_compiler_c_o_CXX \
12390 exclude_expsyms_CXX \
12391 include_expsyms_CXX; do
12394 old_archive_cmds_CXX | \
12395 old_archive_from_new_cmds_CXX | \
12396 archive_cmds_CXX | \
12397 archive_expsym_cmds_CXX | \
12398 module_cmds_CXX | \
12399 module_expsym_cmds_CXX | \
12400 old_archive_from_expsyms_cmds_CXX | \
12401 export_symbols_cmds_CXX | \
12402 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12403 postinstall_cmds | postuninstall_cmds | \
12404 old_postinstall_cmds | old_postuninstall_cmds | \
12405 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12406 # Double-quote double-evaled strings.
12407 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12410 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12416 *'\$0 --fallback-echo"')
12417 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12423 cat <<__EOF__ >> "$cfgfile"
12424 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12426 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12428 # Shell to use when invoking shell scripts.
12431 # Whether or not to build shared libraries.
12432 build_libtool_libs=$enable_shared
12434 # Whether or not to build static libraries.
12435 build_old_libs=$enable_static
12437 # Whether or not to add -lc for building shared libraries.
12438 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12440 # Whether or not to disallow shared libs when runtime libs are static
12441 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12443 # Whether or not to optimize for fast installation.
12444 fast_install=$enable_fast_install
12447 host_alias=$host_alias
12450 # An echo program that does not interpret backslashes.
12455 AR_FLAGS=$lt_AR_FLAGS
12460 # A language-specific compiler.
12461 CC=$lt_compiler_CXX
12463 # Is the compiler the GNU C compiler?
12469 # The linker used to build libraries.
12472 # Whether we need hard or soft links.
12475 # A BSD-compatible nm program.
12478 # A symbol stripping program
12481 # Used to examine libraries when file_magic_cmd begins "file"
12482 MAGIC_CMD=$MAGIC_CMD
12484 # Used on cygwin: DLL creation program.
12487 # Used on cygwin: object dumper.
12490 # Used on cygwin: assembler.
12493 # The name of the directory that contains temporary libtool files.
12496 # How to create reloadable object files.
12497 reload_flag=$lt_reload_flag
12498 reload_cmds=$lt_reload_cmds
12500 # How to pass a linker flag through the compiler.
12501 wl=$lt_lt_prog_compiler_wl_CXX
12503 # Object file suffix (normally "o").
12504 objext="$ac_objext"
12506 # Old archive suffix (normally "a").
12509 # Shared library suffix (normally ".so").
12512 # Executable file suffix (normally "").
12515 # Additional compiler flags for building library objects.
12516 pic_flag=$lt_lt_prog_compiler_pic_CXX
12519 # What is the maximum length of a command?
12520 max_cmd_len=$lt_cv_sys_max_cmd_len
12522 # Does compiler simultaneously support -c and -o options?
12523 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12525 # Must we lock files when doing compilation ?
12526 need_locks=$lt_need_locks
12528 # Do we need the lib prefix for modules?
12529 need_lib_prefix=$need_lib_prefix
12531 # Do we need a version for libraries?
12532 need_version=$need_version
12534 # Whether dlopen is supported.
12535 dlopen_support=$enable_dlopen
12537 # Whether dlopen of programs is supported.
12538 dlopen_self=$enable_dlopen_self
12540 # Whether dlopen of statically linked programs is supported.
12541 dlopen_self_static=$enable_dlopen_self_static
12543 # Compiler flag to prevent dynamic linking.
12544 link_static_flag=$lt_lt_prog_compiler_static_CXX
12546 # Compiler flag to turn off builtin functions.
12547 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12549 # Compiler flag to allow reflexive dlopens.
12550 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12552 # Compiler flag to generate shared objects directly from archives.
12553 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12555 # Compiler flag to generate thread-safe objects.
12556 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12558 # Library versioning type.
12559 version_type=$version_type
12561 # Format of library name prefix.
12562 libname_spec=$lt_libname_spec
12564 # List of archive names. First name is the real one, the rest are links.
12565 # The last name is the one that the linker finds with -lNAME.
12566 library_names_spec=$lt_library_names_spec
12568 # The coded name of the library, if different from the real name.
12569 soname_spec=$lt_soname_spec
12571 # Commands used to build and install an old-style archive.
12573 old_archive_cmds=$lt_old_archive_cmds_CXX
12574 old_postinstall_cmds=$lt_old_postinstall_cmds
12575 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12577 # Create an old-style archive from a shared archive.
12578 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12580 # Create a temporary old-style archive to link instead of a shared archive.
12581 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12583 # Commands used to build and install a shared archive.
12584 archive_cmds=$lt_archive_cmds_CXX
12585 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12586 postinstall_cmds=$lt_postinstall_cmds
12587 postuninstall_cmds=$lt_postuninstall_cmds
12589 # Commands used to build a loadable module (assumed same as above if empty)
12590 module_cmds=$lt_module_cmds_CXX
12591 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12593 # Commands to strip libraries.
12594 old_striplib=$lt_old_striplib
12595 striplib=$lt_striplib
12597 # Dependencies to place before the objects being linked to create a
12599 predep_objects=$lt_predep_objects_CXX
12601 # Dependencies to place after the objects being linked to create a
12603 postdep_objects=$lt_postdep_objects_CXX
12605 # Dependencies to place before the objects being linked to create a
12607 predeps=$lt_predeps_CXX
12609 # Dependencies to place after the objects being linked to create a
12611 postdeps=$lt_postdeps_CXX
12613 # The library search path used internally by the compiler when linking
12614 # a shared library.
12615 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12617 # Method to check whether dependent libraries are shared objects.
12618 deplibs_check_method=$lt_deplibs_check_method
12620 # Command to use when deplibs_check_method == file_magic.
12621 file_magic_cmd=$lt_file_magic_cmd
12623 # Flag that allows shared libraries with undefined symbols to be built.
12624 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12626 # Flag that forces no undefined symbols.
12627 no_undefined_flag=$lt_no_undefined_flag_CXX
12629 # Commands used to finish a libtool library installation in a directory.
12630 finish_cmds=$lt_finish_cmds
12632 # Same as above, but a single script fragment to be evaled but not shown.
12633 finish_eval=$lt_finish_eval
12635 # Take the output of nm and produce a listing of raw symbols and C names.
12636 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12638 # Transform the output of nm in a proper C declaration
12639 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12641 # Transform the output of nm in a C name address pair
12642 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12644 # This is the shared library runtime path variable.
12645 runpath_var=$runpath_var
12647 # This is the shared library path variable.
12648 shlibpath_var=$shlibpath_var
12650 # Is shlibpath searched before the hard-coded library search path?
12651 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12653 # How to hardcode a shared library path into an executable.
12654 hardcode_action=$hardcode_action_CXX
12656 # Whether we should hardcode library paths into libraries.
12657 hardcode_into_libs=$hardcode_into_libs
12659 # Flag to hardcode \$libdir into a binary during linking.
12660 # This must work even if \$libdir does not exist.
12661 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12663 # If ld is used when linking, flag to hardcode \$libdir into
12664 # a binary during linking. This must work even if \$libdir does
12666 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12668 # Whether we need a single -rpath flag with a separated argument.
12669 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12671 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12672 # resulting binary.
12673 hardcode_direct=$hardcode_direct_CXX
12675 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12676 # resulting binary.
12677 hardcode_minus_L=$hardcode_minus_L_CXX
12679 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12680 # the resulting binary.
12681 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12683 # Set to yes if building a shared library automatically hardcodes DIR into the library
12684 # and all subsequent libraries and executables linked against it.
12685 hardcode_automatic=$hardcode_automatic_CXX
12687 # Variables whose values should be saved in libtool wrapper scripts and
12688 # restored at relink time.
12689 variables_saved_for_relink="$variables_saved_for_relink"
12691 # Whether libtool must link a program against all its dependency libraries.
12692 link_all_deplibs=$link_all_deplibs_CXX
12694 # Compile-time system search path for libraries
12695 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12697 # Run-time system search path for libraries
12698 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12700 # Fix the shell variable \$srcfile for the compiler.
12701 fix_srcfile_path="$fix_srcfile_path_CXX"
12703 # Set to yes if exported symbols are required.
12704 always_export_symbols=$always_export_symbols_CXX
12706 # The commands to list exported symbols.
12707 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12709 # The commands to extract the exported symbol list from a shared archive.
12710 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12712 # Symbols that should not be listed in the preloaded symbols.
12713 exclude_expsyms=$lt_exclude_expsyms_CXX
12715 # Symbols that must always be exported.
12716 include_expsyms=$lt_include_expsyms_CXX
12718 # ### END LIBTOOL TAG CONFIG: $tagname
12724 # If there is no Makefile yet, we rely on a make rule to execute
12725 # `config.status --recheck' to rerun these tests and create the
12726 # libtool script then.
12727 test -f Makefile && make "$ltmain"
12732 ac_cpp='$CPP $CPPFLAGS'
12733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12741 with_gnu_ldcxx=$with_gnu_ld
12742 with_gnu_ld=$lt_save_with_gnu_ld
12743 lt_cv_path_LDCXX=$lt_cv_path_LD
12744 lt_cv_path_LD=$lt_save_path_LD
12745 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12746 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12754 if test -n "$F77" && test "X$F77" != "Xno"; then
12757 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12758 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12759 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12762 archive_cmds_need_lc_F77=no
12763 allow_undefined_flag_F77=
12764 always_export_symbols_F77=no
12765 archive_expsym_cmds_F77=
12766 export_dynamic_flag_spec_F77=
12767 hardcode_direct_F77=no
12768 hardcode_libdir_flag_spec_F77=
12769 hardcode_libdir_flag_spec_ld_F77=
12770 hardcode_libdir_separator_F77=
12771 hardcode_minus_L_F77=no
12772 hardcode_automatic_F77=no
12774 module_expsym_cmds_F77=
12775 link_all_deplibs_F77=unknown
12776 old_archive_cmds_F77=$old_archive_cmds
12777 no_undefined_flag_F77=
12778 whole_archive_flag_spec_F77=
12779 enable_shared_with_static_runtimes_F77=no
12781 # Source file extension for f77 test sources.
12784 # Object file extension for compiled f77 test sources.
12788 # Code to be used in simple compile tests
12789 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12791 # Code to be used in simple link tests
12792 lt_simple_link_test_code=" program t\n end\n"
12794 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12796 # If no C compiler was specified, use CC.
12799 # Allow CC to be a program name with arguments.
12803 # Allow CC to be a program name with arguments.
12808 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12810 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12811 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12812 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12813 echo "${ECHO_T}$can_build_shared" >&6
12815 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12816 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12817 test "$can_build_shared" = "no" && enable_shared=no
12819 # On AIX, shared libraries and static libraries use the same namespace, and
12820 # are all built from PIC.
12823 test "$enable_shared" = yes && enable_static=no
12824 if test -n "$RANLIB"; then
12825 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12826 postinstall_cmds='$RANLIB $lib'
12830 test "$enable_shared" = yes && enable_static=no
12833 echo "$as_me:$LINENO: result: $enable_shared" >&5
12834 echo "${ECHO_T}$enable_shared" >&6
12836 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12837 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12838 # Make sure either enable_shared or enable_static is yes.
12839 test "$enable_shared" = yes || enable_static=yes
12840 echo "$as_me:$LINENO: result: $enable_static" >&5
12841 echo "${ECHO_T}$enable_static" >&6
12843 test "$ld_shlibs_F77" = no && can_build_shared=no
12848 lt_prog_compiler_wl_F77=
12849 lt_prog_compiler_pic_F77=
12850 lt_prog_compiler_static_F77=
12852 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12853 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12855 if test "$GCC" = yes; then
12856 lt_prog_compiler_wl_F77='-Wl,'
12857 lt_prog_compiler_static_F77='-static'
12861 # All AIX code is PIC.
12862 if test "$host_cpu" = ia64; then
12863 # AIX 5 now supports IA64 processor
12864 lt_prog_compiler_static_F77='-Bstatic'
12869 # FIXME: we need at least 68020 code to build shared libraries, but
12870 # adding the `-m68020' flag to GCC prevents building anything better,
12872 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12875 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12876 # PIC is the default for these OSes.
12879 mingw* | pw32* | os2*)
12880 # This hack is so that the source file can tell whether it is being
12881 # built for inclusion in a dll (and should export symbols for example).
12882 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12885 darwin* | rhapsody*)
12886 # PIC is the default on this platform
12887 # Common symbols not allowed in MH_DYLIB files
12888 lt_prog_compiler_pic_F77='-fno-common'
12892 # Just because we use GCC doesn't mean we suddenly get shared libraries
12893 # on systems that don't support them.
12894 lt_prog_compiler_can_build_shared_F77=no
12899 if test -d /usr/nec; then
12900 lt_prog_compiler_pic_F77=-Kconform_pic
12905 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12906 # not for PA HP-UX.
12907 case "$host_cpu" in
12912 lt_prog_compiler_pic_F77='-fPIC'
12918 lt_prog_compiler_pic_F77='-fPIC'
12922 # PORTME Check for flag to pass linker flags through the system compiler.
12925 lt_prog_compiler_wl_F77='-Wl,'
12926 if test "$host_cpu" = ia64; then
12927 # AIX 5 now supports IA64 processor
12928 lt_prog_compiler_static_F77='-Bstatic'
12930 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12934 mingw* | pw32* | os2*)
12935 # This hack is so that the source file can tell whether it is being
12936 # built for inclusion in a dll (and should export symbols for example).
12937 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12940 hpux9* | hpux10* | hpux11*)
12941 lt_prog_compiler_wl_F77='-Wl,'
12942 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12943 # not for PA HP-UX.
12944 case "$host_cpu" in
12949 lt_prog_compiler_pic_F77='+Z'
12952 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12953 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12956 irix5* | irix6* | nonstopux*)
12957 lt_prog_compiler_wl_F77='-Wl,'
12958 # PIC (with -KPIC) is the default.
12959 lt_prog_compiler_static_F77='-non_shared'
12963 lt_prog_compiler_pic_F77='-KPIC'
12964 lt_prog_compiler_static_F77='-Bstatic'
12970 lt_prog_compiler_wl_F77='-Wl,'
12971 lt_prog_compiler_pic_F77='-KPIC'
12972 lt_prog_compiler_static_F77='-static'
12975 lt_prog_compiler_wl_F77='-Wl,'
12976 # All Alpha code is PIC.
12977 lt_prog_compiler_static_F77='-non_shared'
12982 osf3* | osf4* | osf5*)
12983 lt_prog_compiler_wl_F77='-Wl,'
12984 # All OSF/1 code is PIC.
12985 lt_prog_compiler_static_F77='-non_shared'
12989 lt_prog_compiler_pic_F77='-Kpic'
12990 lt_prog_compiler_static_F77='-dn'
12994 lt_prog_compiler_wl_F77='-Wl,'
12995 lt_prog_compiler_pic_F77='-KPIC'
12996 lt_prog_compiler_static_F77='-Bstatic'
13000 lt_prog_compiler_wl_F77='-Qoption ld '
13001 lt_prog_compiler_pic_F77='-PIC'
13002 lt_prog_compiler_static_F77='-Bstatic'
13005 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13006 lt_prog_compiler_wl_F77='-Wl,'
13007 lt_prog_compiler_pic_F77='-KPIC'
13008 lt_prog_compiler_static_F77='-Bstatic'
13012 if test -d /usr/nec ;then
13013 lt_prog_compiler_pic_F77='-Kconform_pic'
13014 lt_prog_compiler_static_F77='-Bstatic'
13019 lt_prog_compiler_pic_F77='-pic'
13020 lt_prog_compiler_static_F77='-Bstatic'
13024 lt_prog_compiler_can_build_shared_F77=no
13029 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13030 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13033 # Check to make sure the PIC flag actually works.
13035 if test -n "$lt_prog_compiler_pic_F77"; then
13036 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13037 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13038 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13041 lt_prog_compiler_pic_works_F77=no
13042 ac_outfile=conftest.$ac_objext
13043 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13044 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13045 # Insert the option either (1) after the last *FLAGS variable, or
13046 # (2) before a word containing "conftest.", or (3) at the end.
13047 # Note that $ac_compile itself does not contain backslashes and begins
13048 # with a dollar sign (not a hyphen), so the echo should work correctly.
13049 # The option is referenced via a variable to avoid confusing sed.
13050 lt_compile=`echo "$ac_compile" | $SED \
13051 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13052 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13053 -e 's:$: $lt_compiler_flag:'`
13054 (eval echo "\"\$as_me:13054: $lt_compile\"" >&5)
13055 (eval "$lt_compile" 2>conftest.err)
13057 cat conftest.err >&5
13058 echo "$as_me:13058: \$? = $ac_status" >&5
13059 if (exit $ac_status) && test -s "$ac_outfile"; then
13060 # The compiler can only warn and ignore the option if not recognized
13061 # So say no if there are warnings
13062 if test ! -s conftest.err; then
13063 lt_prog_compiler_pic_works_F77=yes
13069 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13070 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13072 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13073 case $lt_prog_compiler_pic_F77 in
13075 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13078 lt_prog_compiler_pic_F77=
13079 lt_prog_compiler_can_build_shared_F77=no
13084 # For platforms which do not support PIC, -DPIC is meaningless:
13086 lt_prog_compiler_pic_F77=
13089 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13093 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13094 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13095 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 lt_cv_prog_compiler_c_o_F77=no
13099 $rm -r conftest 2>/dev/null
13103 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13105 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13106 # that will create temporary files in the current directory regardless of
13107 # the output directory. Thus, making CWD read-only will cause this test
13108 # to fail, enabling locking or at least warning the user not to do parallel
13112 lt_compiler_flag="-o out/conftest2.$ac_objext"
13113 # Insert the option either (1) after the last *FLAGS variable, or
13114 # (2) before a word containing "conftest.", or (3) at the end.
13115 # Note that $ac_compile itself does not contain backslashes and begins
13116 # with a dollar sign (not a hyphen), so the echo should work correctly.
13117 lt_compile=`echo "$ac_compile" | $SED \
13118 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13119 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13120 -e 's:$: $lt_compiler_flag:'`
13121 (eval echo "\"\$as_me:13121: $lt_compile\"" >&5)
13122 (eval "$lt_compile" 2>out/conftest.err)
13124 cat out/conftest.err >&5
13125 echo "$as_me:13125: \$? = $ac_status" >&5
13126 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13128 # The compiler can only warn and ignore the option if not recognized
13129 # So say no if there are warnings
13130 if test ! -s out/conftest.err; then
13131 lt_cv_prog_compiler_c_o_F77=yes
13135 $rm conftest* out/*
13142 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13143 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13146 hard_links="nottested"
13147 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13148 # do not overwrite the value of need_locks provided by the user
13149 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13150 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13153 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13155 ln conftest.a conftest.b 2>&5 || hard_links=no
13156 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13157 echo "$as_me:$LINENO: result: $hard_links" >&5
13158 echo "${ECHO_T}$hard_links" >&6
13159 if test "$hard_links" = no; then
13160 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13161 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13168 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13169 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13172 allow_undefined_flag_F77=
13173 enable_shared_with_static_runtimes_F77=no
13175 archive_expsym_cmds_F77=
13176 old_archive_From_new_cmds_F77=
13177 old_archive_from_expsyms_cmds_F77=
13178 export_dynamic_flag_spec_F77=
13179 whole_archive_flag_spec_F77=
13180 thread_safe_flag_spec_F77=
13181 hardcode_libdir_flag_spec_F77=
13182 hardcode_libdir_flag_spec_ld_F77=
13183 hardcode_libdir_separator_F77=
13184 hardcode_direct_F77=no
13185 hardcode_minus_L_F77=no
13186 hardcode_shlibpath_var_F77=unsupported
13187 link_all_deplibs_F77=unknown
13188 hardcode_automatic_F77=no
13190 module_expsym_cmds_F77=
13191 always_export_symbols_F77=no
13192 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13193 # include_expsyms should be a list of space-separated symbols to be *always*
13194 # included in the symbol list
13195 include_expsyms_F77=
13196 # exclude_expsyms can be an extended regexp of symbols to exclude
13197 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13198 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13199 # as well as any symbol that contains `d'.
13200 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13201 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13202 # platforms (ab)use it in PIC code, but their linkers get confused if
13203 # the symbol is explicitly referenced. Since portable code cannot
13204 # rely on this symbol name, it's probably fine to never include it in
13205 # preloaded symbol tables.
13206 extract_expsyms_cmds=
13209 cygwin* | mingw* | pw32*)
13210 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13211 # When not using gcc, we currently assume that we are using
13212 # Microsoft Visual C++.
13213 if test "$GCC" != yes; then
13223 if test "$with_gnu_ld" = yes; then
13224 # If archive_cmds runs LD, not CC, wlarc should be empty
13227 # See if GNU ld supports shared libraries.
13229 aix3* | aix4* | aix5*)
13230 # On AIX/PPC, the GNU linker is very broken
13231 if test "$host_cpu" != ia64; then
13235 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13236 *** to be unable to reliably create shared libraries on AIX.
13237 *** Therefore, libtool is disabling shared libraries support. If you
13238 *** really care for shared libraries, you may want to modify your PATH
13239 *** so that a non-GNU linker is found, and then restart.
13246 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)'
13247 hardcode_libdir_flag_spec_F77='-L$libdir'
13248 hardcode_minus_L_F77=yes
13250 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13251 # that the semantics of dynamic libraries on AmigaOS, at least up
13252 # to version 4, is to share data among multiple programs linked
13253 # with the same dynamic library. Since this doesn't match the
13254 # behavior of shared libraries on other platforms, we can't use
13260 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13261 allow_undefined_flag_F77=unsupported
13262 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13263 # support --undefined. This deserves some investigation. FIXME
13264 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13270 cygwin* | mingw* | pw32*)
13271 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13272 # as there is no search path for DLLs.
13273 hardcode_libdir_flag_spec_F77='-L$libdir'
13274 allow_undefined_flag_F77=unsupported
13275 always_export_symbols_F77=no
13276 enable_shared_with_static_runtimes_F77=yes
13277 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13279 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13280 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13281 # If the export-symbols file already is a .def file (1st line
13282 # is EXPORTS), use it as is; otherwise, prepend...
13283 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13284 cp $export_symbols $output_objdir/$soname.def;
13286 echo EXPORTS > $output_objdir/$soname.def;
13287 cat $export_symbols >> $output_objdir/$soname.def;
13289 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13296 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13297 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
13306 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13310 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13311 *** create shared libraries on Solaris systems. Therefore, libtool
13312 *** is disabling shared libraries support. We urge you to upgrade GNU
13313 *** binutils to release 2.9.1 or newer. Another option is to modify
13314 *** your PATH or compiler configuration so that the native linker is
13315 *** used, and then restart.
13318 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13319 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13320 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13327 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13329 hardcode_direct_F77=yes
13330 hardcode_shlibpath_var_F77=no
13334 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13335 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13336 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13343 if test "$ld_shlibs_F77" = yes; then
13344 runpath_var=LD_RUN_PATH
13345 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13346 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13347 # ancient GNU ld didn't support --whole-archive et. al.
13348 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13349 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13351 whole_archive_flag_spec_F77=
13355 # PORTME fill in a description of your system's linker (not GNU ld)
13358 allow_undefined_flag_F77=unsupported
13359 always_export_symbols_F77=yes
13360 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'
13361 # Note: this linker hardcodes the directories in LIBPATH if there
13362 # are no directories specified by -L.
13363 hardcode_minus_L_F77=yes
13364 if test "$GCC" = yes && test -z "$link_static_flag"; then
13365 # Neither direct hardcoding nor static linking is supported with a
13367 hardcode_direct_F77=unsupported
13372 if test "$host_cpu" = ia64; then
13373 # On IA64, the linker does run time linking by default, so we don't
13374 # have to do anything special.
13375 aix_use_runtimelinking=no
13376 exp_sym_flag='-Bexport'
13379 # If we're using GNU nm, then we don't want the "-C" option.
13380 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13381 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13382 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'
13384 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'
13386 aix_use_runtimelinking=no
13388 # Test if we are trying to use run time linking or normal
13389 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13390 # need to do runtime linking.
13391 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13392 for ld_flag in $LDFLAGS; do
13393 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13394 aix_use_runtimelinking=yes
13400 exp_sym_flag='-bexport'
13401 no_entry_flag='-bnoentry'
13404 # When large executables or shared objects are built, AIX ld can
13405 # have problems creating the table of contents. If linking a library
13406 # or program results in "error TOC overflow" add -mminimal-toc to
13407 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13408 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13410 archive_cmds_F77=''
13411 hardcode_direct_F77=yes
13412 hardcode_libdir_separator_F77=':'
13413 link_all_deplibs_F77=yes
13415 if test "$GCC" = yes; then
13416 case $host_os in aix4.012|aix4.012.*)
13417 # We only want to do this on AIX 4.2 and lower, the check
13418 # below for broken collect2 doesn't work under 4.3+
13419 collect2name=`${CC} -print-prog-name=collect2`
13420 if test -f "$collect2name" && \
13421 strings "$collect2name" | grep resolve_lib_name >/dev/null
13423 # We have reworked collect2
13424 hardcode_direct_F77=yes
13426 # We have old collect2
13427 hardcode_direct_F77=unsupported
13428 # It fails to find uninstalled libraries when the uninstalled
13429 # path is not listed in the libpath. Setting hardcode_minus_L
13430 # to unsupported forces relinking
13431 hardcode_minus_L_F77=yes
13432 hardcode_libdir_flag_spec_F77='-L$libdir'
13433 hardcode_libdir_separator_F77=
13436 shared_flag='-shared'
13439 if test "$host_cpu" = ia64; then
13440 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13441 # chokes on -Wl,-G. The following line is correct:
13444 if test "$aix_use_runtimelinking" = yes; then
13445 shared_flag='${wl}-G'
13447 shared_flag='${wl}-bM:SRE'
13452 # It seems that -bexpall does not export symbols beginning with
13453 # underscore (_), so it is better to generate a list of symbols to export.
13454 always_export_symbols_F77=yes
13455 if test "$aix_use_runtimelinking" = yes; then
13456 # Warning - without using the other runtime loading flags (-brtl),
13457 # -berok will link without error, but may produce a broken library.
13458 allow_undefined_flag_F77='-berok'
13459 # Determine the default libpath from the value encoded in an empty executable.
13460 cat >conftest.$ac_ext <<_ACEOF
13465 rm -f conftest.$ac_objext conftest$ac_exeext
13466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13467 (eval $ac_link) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } &&
13471 { ac_try='test -s conftest$ac_exeext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13478 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13480 # Check for a 64-bit object if we didn't find anything.
13481 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; }
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.$ac_ext >&5
13488 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13489 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13491 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13492 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"
13494 if test "$host_cpu" = ia64; then
13495 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13496 allow_undefined_flag_F77="-z nodefs"
13497 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"
13499 # Determine the default libpath from the value encoded in an empty executable.
13500 cat >conftest.$ac_ext <<_ACEOF
13505 rm -f conftest.$ac_objext conftest$ac_exeext
13506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13507 (eval $ac_link) 2>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); } &&
13511 { ac_try='test -s conftest$ac_exeext'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; }; then
13518 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13520 # Check for a 64-bit object if we didn't find anything.
13521 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; }
13524 echo "$as_me: failed program was:" >&5
13525 sed 's/^/| /' conftest.$ac_ext >&5
13528 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13529 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13531 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13532 # Warning - without using the other run time loading flags,
13533 # -berok will link without error, but may produce a broken library.
13534 no_undefined_flag_F77=' ${wl}-bernotok'
13535 allow_undefined_flag_F77=' ${wl}-berok'
13536 # -bexpall does not export symbols beginning with underscore (_)
13537 always_export_symbols_F77=yes
13538 # Exported symbols can be pulled into shared objects from archives
13539 whole_archive_flag_spec_F77=' '
13540 archive_cmds_need_lc_F77=yes
13541 # This is similar to how AIX traditionally builds it's shared libraries.
13542 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'
13548 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)'
13549 hardcode_libdir_flag_spec_F77='-L$libdir'
13550 hardcode_minus_L_F77=yes
13551 # see comment about different semantics on the GNU ld section
13556 export_dynamic_flag_spec_F77=-rdynamic
13559 cygwin* | mingw* | pw32*)
13560 # When not using gcc, we currently assume that we are using
13561 # Microsoft Visual C++.
13562 # hardcode_libdir_flag_spec is actually meaningless, as there is
13563 # no search path for DLLs.
13564 hardcode_libdir_flag_spec_F77=' '
13565 allow_undefined_flag_F77=unsupported
13566 # Tell ltmain to make .lib files, not .a files.
13568 # Tell ltmain to make .dll files, not .so files.
13570 # FIXME: Setting linknames here is a bad hack.
13571 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13572 # The linker will automatically build a .lib file if we build a DLL.
13573 old_archive_From_new_cmds_F77='true'
13574 # FIXME: Should let the user specify the lib program.
13575 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13576 fix_srcfile_path='`cygpath -w "$srcfile"`'
13577 enable_shared_with_static_runtimes_F77=yes
13580 darwin* | rhapsody*)
13581 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13582 archive_cmds_need_lc_F77=no
13584 rhapsody* | darwin1.[012])
13585 allow_undefined_flag_F77='-undefined suppress'
13588 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13591 # FIXME: Relying on posixy $() will cause problems for
13592 # cross-compilation, but unfortunately the echo tests do not
13593 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13594 # `"' quotes if we put them in here... so don't!
13595 lt_int_apple_cc_single_mod=no
13596 output_verbose_link_cmd='echo'
13597 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13598 lt_int_apple_cc_single_mod=yes
13600 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13601 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13603 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'
13605 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13606 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13607 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13608 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}'
13610 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}'
13612 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}'
13613 hardcode_direct_F77=no
13614 hardcode_automatic_F77=yes
13615 hardcode_shlibpath_var_F77=unsupported
13616 whole_archive_flag_spec_F77='-all_load $convenience'
13617 link_all_deplibs_F77=yes
13622 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13623 hardcode_libdir_flag_spec_F77='-L$libdir'
13624 hardcode_shlibpath_var_F77=no
13631 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13632 # support. Future versions do this automatically, but an explicit c++rt0.o
13633 # does not break anything, and helps significantly (at the cost of a little
13636 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13637 hardcode_libdir_flag_spec_F77='-R$libdir'
13638 hardcode_direct_F77=yes
13639 hardcode_shlibpath_var_F77=no
13642 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13644 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13645 hardcode_direct_F77=yes
13646 hardcode_minus_L_F77=yes
13647 hardcode_shlibpath_var_F77=no
13650 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13652 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13653 hardcode_libdir_flag_spec_F77='-R$libdir'
13654 hardcode_direct_F77=yes
13655 hardcode_shlibpath_var_F77=no
13659 if test "$GCC" = yes; then
13660 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'
13662 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'
13664 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13665 hardcode_libdir_separator_F77=:
13666 hardcode_direct_F77=yes
13668 # hardcode_minus_L: Not really in the search PATH,
13669 # but as the default location of the library.
13670 hardcode_minus_L_F77=yes
13671 export_dynamic_flag_spec_F77='${wl}-E'
13675 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13676 case "$host_cpu" in
13678 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13681 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13685 case "$host_cpu" in
13687 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13690 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13694 if test "$with_gnu_ld" = no; then
13695 case "$host_cpu" in
13697 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13698 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13699 hardcode_libdir_separator_F77=:
13700 hardcode_direct_F77=no
13701 hardcode_shlibpath_var_F77=no
13704 hardcode_libdir_flag_spec_F77='-L$libdir'
13705 hardcode_direct_F77=no
13706 hardcode_shlibpath_var_F77=no
13708 # hardcode_minus_L: Not really in the search PATH,
13709 # but as the default location of the library.
13710 hardcode_minus_L_F77=yes
13713 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13714 hardcode_libdir_separator_F77=:
13715 hardcode_direct_F77=yes
13716 export_dynamic_flag_spec_F77='${wl}-E'
13718 # hardcode_minus_L: Not really in the search PATH,
13719 # but as the default location of the library.
13720 hardcode_minus_L_F77=yes
13726 irix5* | irix6* | nonstopux*)
13727 if test "$GCC" = yes; then
13728 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'
13730 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'
13731 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13733 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13734 hardcode_libdir_separator_F77=:
13735 link_all_deplibs_F77=yes
13739 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13740 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13742 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13744 hardcode_libdir_flag_spec_F77='-R$libdir'
13745 hardcode_direct_F77=yes
13746 hardcode_shlibpath_var_F77=no
13750 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13751 hardcode_direct_F77=yes
13752 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13753 hardcode_libdir_separator_F77=:
13754 hardcode_shlibpath_var_F77=no
13758 hardcode_direct_F77=yes
13759 hardcode_shlibpath_var_F77=no
13760 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13761 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13762 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13763 export_dynamic_flag_spec_F77='${wl}-E'
13766 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13767 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13768 hardcode_libdir_flag_spec_F77='-R$libdir'
13771 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13772 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13779 hardcode_libdir_flag_spec_F77='-L$libdir'
13780 hardcode_minus_L_F77=yes
13781 allow_undefined_flag_F77=unsupported
13782 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'
13783 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13787 if test "$GCC" = yes; then
13788 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13789 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'
13791 allow_undefined_flag_F77=' -expect_unresolved \*'
13792 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'
13794 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13795 hardcode_libdir_separator_F77=:
13798 osf4* | osf5*) # as osf3* with the addition of -msym flag
13799 if test "$GCC" = yes; then
13800 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13801 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'
13802 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13804 allow_undefined_flag_F77=' -expect_unresolved \*'
13805 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'
13806 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~
13807 $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'
13809 # Both c and cxx compiler support -rpath directly
13810 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13812 hardcode_libdir_separator_F77=:
13816 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13817 hardcode_shlibpath_var_F77=no
13818 export_dynamic_flag_spec_F77='${wl}-Bexport'
13819 runpath_var=LD_RUN_PATH
13820 hardcode_runpath_var=yes
13824 no_undefined_flag_F77=' -z text'
13825 if test "$GCC" = yes; then
13826 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13827 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13828 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13830 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13831 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13832 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13834 hardcode_libdir_flag_spec_F77='-R$libdir'
13835 hardcode_shlibpath_var_F77=no
13837 solaris2.[0-5] | solaris2.[0-5].*) ;;
13838 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13839 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13841 link_all_deplibs_F77=yes
13845 if test "x$host_vendor" = xsequent; then
13846 # Use $CC to link under sequent, because it throws in some extra .o
13847 # files that make .init and .fini sections work.
13848 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13850 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13852 hardcode_libdir_flag_spec_F77='-L$libdir'
13853 hardcode_direct_F77=yes
13854 hardcode_minus_L_F77=yes
13855 hardcode_shlibpath_var_F77=no
13859 case $host_vendor in
13861 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13862 hardcode_direct_F77=yes # is this really true???
13865 ## LD is ld it makes a PLAMLIB
13866 ## CC just makes a GrossModule.
13867 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13868 reload_cmds_F77='$CC -r -o $output$reload_objs'
13869 hardcode_direct_F77=no
13872 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13873 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13876 runpath_var='LD_RUN_PATH'
13877 hardcode_shlibpath_var_F77=no
13881 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13882 hardcode_shlibpath_var_F77=no
13883 export_dynamic_flag_spec_F77='-Bexport'
13887 if test -d /usr/nec; then
13888 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13889 hardcode_shlibpath_var_F77=no
13890 runpath_var=LD_RUN_PATH
13891 hardcode_runpath_var=yes
13897 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13898 hardcode_direct_F77=yes
13899 hardcode_minus_L_F77=no
13900 hardcode_shlibpath_var_F77=no
13901 hardcode_runpath_var=yes
13902 runpath_var=LD_RUN_PATH
13905 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13906 no_undefined_flag_F77='${wl}-z ${wl}text'
13907 if test "$GCC" = yes; then
13908 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13910 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13912 runpath_var='LD_RUN_PATH'
13913 hardcode_shlibpath_var_F77=no
13917 no_undefined_flag_F77=' -z text'
13918 # $CC -shared without GNU ld will not create a library from C++
13919 # object files and a static libstdc++, better avoid it by now
13920 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13921 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13922 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13923 hardcode_libdir_flag_spec_F77=
13924 hardcode_shlibpath_var_F77=no
13925 runpath_var='LD_RUN_PATH'
13929 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13930 hardcode_libdir_flag_spec_F77='-L$libdir'
13931 hardcode_shlibpath_var_F77=no
13940 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13941 echo "${ECHO_T}$ld_shlibs_F77" >&6
13942 test "$ld_shlibs_F77" = no && can_build_shared=no
13944 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13945 if test "$GCC" = yes; then
13946 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13950 # Do we need to explicitly link libc?
13952 case "x$archive_cmds_need_lc_F77" in
13954 # Assume -lc should be added
13955 archive_cmds_need_lc_F77=yes
13957 if test "$enable_shared" = yes && test "$GCC" = yes; then
13958 case $archive_cmds_F77 in
13960 # FIXME: we may have to deal with multi-command sequences.
13963 # Test whether the compiler implicitly links with -lc since on some
13964 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13965 # to ld, don't add -lc before -lgcc.
13966 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13967 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13969 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13972 (eval $ac_compile) 2>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } 2>conftest.err; then
13978 libobjs=conftest.$ac_objext
13980 wl=$lt_prog_compiler_wl_F77
13986 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13987 allow_undefined_flag_F77=
13988 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13989 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }
13994 archive_cmds_need_lc_F77=no
13996 archive_cmds_need_lc_F77=yes
13998 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14000 cat conftest.err 1>&5
14003 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14004 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14011 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14012 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14013 hardcode_action_F77=
14014 if test -n "$hardcode_libdir_flag_spec_F77" || \
14015 test -n "$runpath_var F77" || \
14016 test "X$hardcode_automatic_F77"="Xyes" ; then
14018 # We can hardcode non-existant directories.
14019 if test "$hardcode_direct_F77" != no &&
14020 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14021 # have to relink, otherwise we might link with an installed library
14022 # when we should be linking with a yet-to-be-installed one
14023 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14024 test "$hardcode_minus_L_F77" != no; then
14025 # Linking always hardcodes the temporary library directory.
14026 hardcode_action_F77=relink
14028 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14029 hardcode_action_F77=immediate
14032 # We cannot hardcode anything, or else we can only hardcode existing
14034 hardcode_action_F77=unsupported
14036 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14037 echo "${ECHO_T}$hardcode_action_F77" >&6
14039 if test "$hardcode_action_F77" = relink; then
14040 # Fast installation is not supported
14041 enable_fast_install=no
14042 elif test "$shlibpath_overrides_runpath" = yes ||
14043 test "$enable_shared" = no; then
14044 # Fast installation is not necessary
14045 enable_fast_install=needless
14050 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14051 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14052 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14053 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14054 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14055 echo "$as_me:$LINENO: result: yes" >&5
14056 echo "${ECHO_T}yes" >&6
14058 # FIXME - insert some real tests, host_os isn't really good enough
14061 if test -n "$STRIP" ; then
14062 striplib="$STRIP -x"
14063 echo "$as_me:$LINENO: result: yes" >&5
14064 echo "${ECHO_T}yes" >&6
14066 echo "$as_me:$LINENO: result: no" >&5
14067 echo "${ECHO_T}no" >&6
14071 echo "$as_me:$LINENO: result: no" >&5
14072 echo "${ECHO_T}no" >&6
14077 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14078 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14079 library_names_spec=
14080 libname_spec='lib$name'
14084 postuninstall_cmds=
14088 shlibpath_overrides_runpath=unknown
14090 dynamic_linker="$host_os ld.so"
14091 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14092 if test "$GCC" = yes; then
14093 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14094 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14095 # if the path contains ";" then we assume it to be the separator
14096 # otherwise default to the standard path separator (i.e. ":") - it is
14097 # assumed that no part of a normal pathname contains ";" but that should
14098 # okay in the real world where ";" in dirpaths is itself problematic.
14099 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14101 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14104 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14106 need_lib_prefix=unknown
14107 hardcode_into_libs=no
14109 # when you set need_version to no, make sure it does not cause -set_version
14110 # flags to be left without arguments
14111 need_version=unknown
14116 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14117 shlibpath_var=LIBPATH
14119 # AIX 3 has no versioning support, so we append a major version to the name.
14120 soname_spec='${libname}${release}${shared_ext}$major'
14127 hardcode_into_libs=yes
14128 if test "$host_cpu" = ia64; then
14129 # AIX 5 supports IA64
14130 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14131 shlibpath_var=LD_LIBRARY_PATH
14133 # With GCC up to 2.95.x, collect2 would create an import file
14134 # for dependence libraries. The import file would start with
14135 # the line `#! .'. This would cause the generated library to
14136 # depend on `.', always an invalid library. This was fixed in
14137 # development snapshots of GCC prior to 3.0.
14139 aix4 | aix4.[01] | aix4.[01].*)
14140 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14142 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14145 can_build_shared=no
14149 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14150 # soname into executable. Probably we can add versioning support to
14151 # collect2, so additional links can be useful in future.
14152 if test "$aix_use_runtimelinking" = yes; then
14153 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14154 # instead of lib<name>.a to let people know that these are not
14155 # typical AIX shared libraries.
14156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14158 # We preserve .a as extension for shared libraries through AIX4.2
14159 # and later when we are not doing run time linking.
14160 library_names_spec='${libname}${release}.a $libname.a'
14161 soname_spec='${libname}${release}${shared_ext}$major'
14163 shlibpath_var=LIBPATH
14168 library_names_spec='$libname.ixlibrary $libname.a'
14169 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14170 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'
14174 library_names_spec='${libname}${shared_ext}'
14175 dynamic_linker="$host_os ld.so"
14176 shlibpath_var=LIBRARY_PATH
14182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14183 soname_spec='${libname}${release}${shared_ext}$major'
14184 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14185 shlibpath_var=LD_LIBRARY_PATH
14186 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14187 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14188 # the default ld.so.conf also contains /usr/contrib/lib and
14189 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14190 # libtool to hard-code these into programs
14193 cygwin* | mingw* | pw32*)
14194 version_type=windows
14199 case $GCC,$host_os in
14200 yes,cygwin* | yes,mingw* | yes,pw32*)
14201 library_names_spec='$libname.dll.a'
14202 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14203 postinstall_cmds='base_file=`basename \${file}`~
14204 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14205 dldir=$destdir/`dirname \$dlpath`~
14206 test -d \$dldir || mkdir -p \$dldir~
14207 $install_prog $dir/$dlname \$dldir/$dlname'
14208 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14209 dlpath=$dir/\$dldll~
14211 shlibpath_overrides_runpath=yes
14215 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14216 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14217 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14220 # MinGW DLLs use traditional 'lib' prefix
14221 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14222 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14223 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14224 # It is most probably a Windows format PATH printed by
14225 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14226 # path with ; separators, and with drive letters. We can handle the
14227 # drive letters (cygwin fileutils understands them), so leave them,
14228 # especially as we might pass files found there to a mingw objdump,
14229 # which wouldn't understand a cygwinified path. Ahh.
14230 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14232 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14236 # pw32 DLLs use 'pw' prefix rather than 'lib'
14237 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14243 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14246 dynamic_linker='Win32 ld.exe'
14247 # FIXME: first we should search . and the directory the executable is in
14251 darwin* | rhapsody*)
14252 dynamic_linker="$host_os dyld"
14253 version_type=darwin
14256 # FIXME: Relying on posixy $() will cause problems for
14257 # cross-compilation, but unfortunately the echo tests do not
14258 # yet detect zsh echo's removal of \ escapes.
14259 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14260 soname_spec='${libname}${release}${major}$shared_ext'
14261 shlibpath_overrides_runpath=yes
14262 shlibpath_var=DYLD_LIBRARY_PATH
14263 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14264 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14265 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14266 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"`
14268 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14276 soname_spec='${libname}${release}${shared_ext}$major'
14277 shlibpath_var=LD_LIBRARY_PATH
14285 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14286 version_type=freebsd-$objformat
14287 case $version_type in
14289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14294 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14298 shlibpath_var=LD_LIBRARY_PATH
14301 shlibpath_overrides_runpath=yes
14303 freebsd3.01* | freebsdelf3.01*)
14304 shlibpath_overrides_runpath=yes
14305 hardcode_into_libs=yes
14308 shlibpath_overrides_runpath=no
14309 hardcode_into_libs=yes
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 shlibpath_var=LD_LIBRARY_PATH
14321 hardcode_into_libs=yes
14324 hpux9* | hpux10* | hpux11*)
14325 # Give a soname corresponding to the major version so that dld.sl refuses to
14326 # link against other versions.
14330 case "$host_cpu" in
14333 hardcode_into_libs=yes
14334 dynamic_linker="$host_os dld.so"
14335 shlibpath_var=LD_LIBRARY_PATH
14336 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14338 soname_spec='${libname}${release}${shared_ext}$major'
14339 if test "X$HPUX_IA64_MODE" = X32; then
14340 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14342 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14344 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14348 hardcode_into_libs=yes
14349 dynamic_linker="$host_os dld.sl"
14350 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14351 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14353 soname_spec='${libname}${release}${shared_ext}$major'
14354 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14359 dynamic_linker="$host_os dld.sl"
14360 shlibpath_var=SHLIB_PATH
14361 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14363 soname_spec='${libname}${release}${shared_ext}$major'
14366 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14367 postinstall_cmds='chmod 555 $lib'
14370 irix5* | irix6* | nonstopux*)
14372 nonstopux*) version_type=nonstopux ;;
14374 if test "$lt_cv_prog_gnu_ld" = yes; then
14382 soname_spec='${libname}${release}${shared_ext}$major'
14383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14385 irix5* | nonstopux*)
14386 libsuff= shlibsuff=
14389 case $LD in # libtool.m4 will add one of these switches to LD
14390 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14391 libsuff= shlibsuff= libmagic=32-bit;;
14392 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14393 libsuff=32 shlibsuff=N32 libmagic=N32;;
14394 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14395 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14396 *) libsuff= shlibsuff= libmagic=never-match;;
14400 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14401 shlibpath_overrides_runpath=no
14402 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14403 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14404 hardcode_into_libs=yes
14407 # No shared lib support for Linux oldld, aout, or coff.
14408 linux*oldld* | linux*aout* | linux*coff*)
14412 # This must be Linux ELF.
14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14418 soname_spec='${libname}${release}${shared_ext}$major'
14419 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14420 shlibpath_var=LD_LIBRARY_PATH
14421 shlibpath_overrides_runpath=no
14422 # This implies no fast_install, which is unacceptable.
14423 # Some rework will be needed to allow for fast_install
14424 # before this can be enabled.
14425 hardcode_into_libs=yes
14427 # We used to test for /lib/ld.so.1 and disable shared libraries on
14428 # powerpc, because MkLinux only supported shared libraries with the
14429 # GNU dynamic linker. Since this was broken with cross compilers,
14430 # most powerpc-linux boxes support dynamic linking these days and
14431 # people can always --disable-shared, the test was removed, and we
14432 # assume the GNU/Linux dynamic linker is in use.
14433 dynamic_linker='GNU/Linux ld.so'
14440 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14442 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14443 dynamic_linker='NetBSD (a.out) ld.so'
14445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14446 soname_spec='${libname}${release}${shared_ext}$major'
14447 dynamic_linker='NetBSD ld.elf_so'
14449 shlibpath_var=LD_LIBRARY_PATH
14450 shlibpath_overrides_runpath=yes
14451 hardcode_into_libs=yes
14456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14457 shlibpath_var=LD_LIBRARY_PATH
14458 shlibpath_overrides_runpath=yes
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 shlibpath_var=LD_LIBRARY_PATH
14468 shlibpath_overrides_runpath=yes
14475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14476 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14477 shlibpath_var=LD_LIBRARY_PATH
14478 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14480 openbsd2.[89] | openbsd2.[89].*)
14481 shlibpath_overrides_runpath=no
14484 shlibpath_overrides_runpath=yes
14488 shlibpath_overrides_runpath=yes
14493 libname_spec='$name'
14496 library_names_spec='$libname${shared_ext} $libname.a'
14497 dynamic_linker='OS/2 ld.exe'
14498 shlibpath_var=LIBPATH
14501 osf3* | osf4* | osf5*)
14505 soname_spec='${libname}${release}${shared_ext}$major'
14506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14507 shlibpath_var=LD_LIBRARY_PATH
14508 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14509 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14514 soname_spec='${libname}${release}${shared_ext}$major'
14515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14516 shlibpath_var=LD_LIBRARY_PATH
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14525 shlibpath_var=LD_LIBRARY_PATH
14526 shlibpath_overrides_runpath=yes
14527 hardcode_into_libs=yes
14528 # ldd complains unless libraries are executable
14529 postinstall_cmds='chmod +x $lib'
14534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14535 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14536 shlibpath_var=LD_LIBRARY_PATH
14537 shlibpath_overrides_runpath=yes
14538 if test "$with_gnu_ld" = yes; then
14544 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14547 soname_spec='${libname}${release}${shared_ext}$major'
14548 shlibpath_var=LD_LIBRARY_PATH
14549 case $host_vendor in
14551 shlibpath_overrides_runpath=no
14553 export_dynamic_flag_spec='${wl}-Blargedynsym'
14554 runpath_var=LD_RUN_PATH
14562 shlibpath_overrides_runpath=no
14563 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14569 if test -d /usr/nec ;then
14571 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14572 soname_spec='$libname${shared_ext}.$major'
14573 shlibpath_var=LD_LIBRARY_PATH
14579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14580 soname_spec='${libname}${release}${shared_ext}$major'
14581 shlibpath_var=LD_LIBRARY_PATH
14588 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14589 echo "${ECHO_T}$dynamic_linker" >&6
14590 test "$dynamic_linker" = no && can_build_shared=no
14593 # The else clause should only fire when bootstrapping the
14594 # libtool distribution, otherwise you forgot to ship ltmain.sh
14595 # with your package, and you will get complaints that there are
14596 # no rules to generate ltmain.sh.
14597 if test -f "$ltmain"; then
14598 # See if we are running on zsh, and set the options which allow our commands through
14599 # without removal of \ escapes.
14600 if test -n "${ZSH_VERSION+set}" ; then
14601 setopt NO_GLOB_SUBST
14603 # Now quote all the things that may contain metacharacters while being
14604 # careful not to overquote the AC_SUBSTed values. We take copies of the
14605 # variables and quote the copies for generation of the libtool script.
14606 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14607 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14608 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14609 deplibs_check_method reload_flag reload_cmds need_locks \
14610 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14611 lt_cv_sys_global_symbol_to_c_name_address \
14612 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14613 old_postinstall_cmds old_postuninstall_cmds \
14617 lt_prog_compiler_wl_F77 \
14618 lt_prog_compiler_pic_F77 \
14619 lt_prog_compiler_static_F77 \
14620 lt_prog_compiler_no_builtin_flag_F77 \
14621 export_dynamic_flag_spec_F77 \
14622 thread_safe_flag_spec_F77 \
14623 whole_archive_flag_spec_F77 \
14624 enable_shared_with_static_runtimes_F77 \
14625 old_archive_cmds_F77 \
14626 old_archive_from_new_cmds_F77 \
14627 predep_objects_F77 \
14628 postdep_objects_F77 \
14631 compiler_lib_search_path_F77 \
14633 archive_expsym_cmds_F77 \
14634 postinstall_cmds_F77 \
14635 postuninstall_cmds_F77 \
14636 old_archive_from_expsyms_cmds_F77 \
14637 allow_undefined_flag_F77 \
14638 no_undefined_flag_F77 \
14639 export_symbols_cmds_F77 \
14640 hardcode_libdir_flag_spec_F77 \
14641 hardcode_libdir_flag_spec_ld_F77 \
14642 hardcode_libdir_separator_F77 \
14643 hardcode_automatic_F77 \
14645 module_expsym_cmds_F77 \
14646 lt_cv_prog_compiler_c_o_F77 \
14647 exclude_expsyms_F77 \
14648 include_expsyms_F77; do
14651 old_archive_cmds_F77 | \
14652 old_archive_from_new_cmds_F77 | \
14653 archive_cmds_F77 | \
14654 archive_expsym_cmds_F77 | \
14655 module_cmds_F77 | \
14656 module_expsym_cmds_F77 | \
14657 old_archive_from_expsyms_cmds_F77 | \
14658 export_symbols_cmds_F77 | \
14659 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14660 postinstall_cmds | postuninstall_cmds | \
14661 old_postinstall_cmds | old_postuninstall_cmds | \
14662 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14663 # Double-quote double-evaled strings.
14664 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14667 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14673 *'\$0 --fallback-echo"')
14674 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14680 cat <<__EOF__ >> "$cfgfile"
14681 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14683 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14685 # Shell to use when invoking shell scripts.
14688 # Whether or not to build shared libraries.
14689 build_libtool_libs=$enable_shared
14691 # Whether or not to build static libraries.
14692 build_old_libs=$enable_static
14694 # Whether or not to add -lc for building shared libraries.
14695 build_libtool_need_lc=$archive_cmds_need_lc_F77
14697 # Whether or not to disallow shared libs when runtime libs are static
14698 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14700 # Whether or not to optimize for fast installation.
14701 fast_install=$enable_fast_install
14704 host_alias=$host_alias
14707 # An echo program that does not interpret backslashes.
14712 AR_FLAGS=$lt_AR_FLAGS
14717 # A language-specific compiler.
14718 CC=$lt_compiler_F77
14720 # Is the compiler the GNU C compiler?
14726 # The linker used to build libraries.
14729 # Whether we need hard or soft links.
14732 # A BSD-compatible nm program.
14735 # A symbol stripping program
14738 # Used to examine libraries when file_magic_cmd begins "file"
14739 MAGIC_CMD=$MAGIC_CMD
14741 # Used on cygwin: DLL creation program.
14744 # Used on cygwin: object dumper.
14747 # Used on cygwin: assembler.
14750 # The name of the directory that contains temporary libtool files.
14753 # How to create reloadable object files.
14754 reload_flag=$lt_reload_flag
14755 reload_cmds=$lt_reload_cmds
14757 # How to pass a linker flag through the compiler.
14758 wl=$lt_lt_prog_compiler_wl_F77
14760 # Object file suffix (normally "o").
14761 objext="$ac_objext"
14763 # Old archive suffix (normally "a").
14766 # Shared library suffix (normally ".so").
14769 # Executable file suffix (normally "").
14772 # Additional compiler flags for building library objects.
14773 pic_flag=$lt_lt_prog_compiler_pic_F77
14776 # What is the maximum length of a command?
14777 max_cmd_len=$lt_cv_sys_max_cmd_len
14779 # Does compiler simultaneously support -c and -o options?
14780 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14782 # Must we lock files when doing compilation ?
14783 need_locks=$lt_need_locks
14785 # Do we need the lib prefix for modules?
14786 need_lib_prefix=$need_lib_prefix
14788 # Do we need a version for libraries?
14789 need_version=$need_version
14791 # Whether dlopen is supported.
14792 dlopen_support=$enable_dlopen
14794 # Whether dlopen of programs is supported.
14795 dlopen_self=$enable_dlopen_self
14797 # Whether dlopen of statically linked programs is supported.
14798 dlopen_self_static=$enable_dlopen_self_static
14800 # Compiler flag to prevent dynamic linking.
14801 link_static_flag=$lt_lt_prog_compiler_static_F77
14803 # Compiler flag to turn off builtin functions.
14804 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14806 # Compiler flag to allow reflexive dlopens.
14807 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14809 # Compiler flag to generate shared objects directly from archives.
14810 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14812 # Compiler flag to generate thread-safe objects.
14813 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14815 # Library versioning type.
14816 version_type=$version_type
14818 # Format of library name prefix.
14819 libname_spec=$lt_libname_spec
14821 # List of archive names. First name is the real one, the rest are links.
14822 # The last name is the one that the linker finds with -lNAME.
14823 library_names_spec=$lt_library_names_spec
14825 # The coded name of the library, if different from the real name.
14826 soname_spec=$lt_soname_spec
14828 # Commands used to build and install an old-style archive.
14830 old_archive_cmds=$lt_old_archive_cmds_F77
14831 old_postinstall_cmds=$lt_old_postinstall_cmds
14832 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14834 # Create an old-style archive from a shared archive.
14835 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14837 # Create a temporary old-style archive to link instead of a shared archive.
14838 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14840 # Commands used to build and install a shared archive.
14841 archive_cmds=$lt_archive_cmds_F77
14842 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14843 postinstall_cmds=$lt_postinstall_cmds
14844 postuninstall_cmds=$lt_postuninstall_cmds
14846 # Commands used to build a loadable module (assumed same as above if empty)
14847 module_cmds=$lt_module_cmds_F77
14848 module_expsym_cmds=$lt_module_expsym_cmds_F77
14850 # Commands to strip libraries.
14851 old_striplib=$lt_old_striplib
14852 striplib=$lt_striplib
14854 # Dependencies to place before the objects being linked to create a
14856 predep_objects=$lt_predep_objects_F77
14858 # Dependencies to place after the objects being linked to create a
14860 postdep_objects=$lt_postdep_objects_F77
14862 # Dependencies to place before the objects being linked to create a
14864 predeps=$lt_predeps_F77
14866 # Dependencies to place after the objects being linked to create a
14868 postdeps=$lt_postdeps_F77
14870 # The library search path used internally by the compiler when linking
14871 # a shared library.
14872 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14874 # Method to check whether dependent libraries are shared objects.
14875 deplibs_check_method=$lt_deplibs_check_method
14877 # Command to use when deplibs_check_method == file_magic.
14878 file_magic_cmd=$lt_file_magic_cmd
14880 # Flag that allows shared libraries with undefined symbols to be built.
14881 allow_undefined_flag=$lt_allow_undefined_flag_F77
14883 # Flag that forces no undefined symbols.
14884 no_undefined_flag=$lt_no_undefined_flag_F77
14886 # Commands used to finish a libtool library installation in a directory.
14887 finish_cmds=$lt_finish_cmds
14889 # Same as above, but a single script fragment to be evaled but not shown.
14890 finish_eval=$lt_finish_eval
14892 # Take the output of nm and produce a listing of raw symbols and C names.
14893 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14895 # Transform the output of nm in a proper C declaration
14896 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14898 # Transform the output of nm in a C name address pair
14899 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14901 # This is the shared library runtime path variable.
14902 runpath_var=$runpath_var
14904 # This is the shared library path variable.
14905 shlibpath_var=$shlibpath_var
14907 # Is shlibpath searched before the hard-coded library search path?
14908 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14910 # How to hardcode a shared library path into an executable.
14911 hardcode_action=$hardcode_action_F77
14913 # Whether we should hardcode library paths into libraries.
14914 hardcode_into_libs=$hardcode_into_libs
14916 # Flag to hardcode \$libdir into a binary during linking.
14917 # This must work even if \$libdir does not exist.
14918 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14920 # If ld is used when linking, flag to hardcode \$libdir into
14921 # a binary during linking. This must work even if \$libdir does
14923 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14925 # Whether we need a single -rpath flag with a separated argument.
14926 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14928 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14929 # resulting binary.
14930 hardcode_direct=$hardcode_direct_F77
14932 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14933 # resulting binary.
14934 hardcode_minus_L=$hardcode_minus_L_F77
14936 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14937 # the resulting binary.
14938 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14940 # Set to yes if building a shared library automatically hardcodes DIR into the library
14941 # and all subsequent libraries and executables linked against it.
14942 hardcode_automatic=$hardcode_automatic_F77
14944 # Variables whose values should be saved in libtool wrapper scripts and
14945 # restored at relink time.
14946 variables_saved_for_relink="$variables_saved_for_relink"
14948 # Whether libtool must link a program against all its dependency libraries.
14949 link_all_deplibs=$link_all_deplibs_F77
14951 # Compile-time system search path for libraries
14952 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14954 # Run-time system search path for libraries
14955 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14957 # Fix the shell variable \$srcfile for the compiler.
14958 fix_srcfile_path="$fix_srcfile_path_F77"
14960 # Set to yes if exported symbols are required.
14961 always_export_symbols=$always_export_symbols_F77
14963 # The commands to list exported symbols.
14964 export_symbols_cmds=$lt_export_symbols_cmds_F77
14966 # The commands to extract the exported symbol list from a shared archive.
14967 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14969 # Symbols that should not be listed in the preloaded symbols.
14970 exclude_expsyms=$lt_exclude_expsyms_F77
14972 # Symbols that must always be exported.
14973 include_expsyms=$lt_include_expsyms_F77
14975 # ### END LIBTOOL TAG CONFIG: $tagname
14981 # If there is no Makefile yet, we rely on a make rule to execute
14982 # `config.status --recheck' to rerun these tests and create the
14983 # libtool script then.
14984 test -f Makefile && make "$ltmain"
14989 ac_cpp='$CPP $CPPFLAGS'
14990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15002 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15006 # Source file extension for Java test sources.
15009 # Object file extension for compiled Java test sources.
15013 # Code to be used in simple compile tests
15014 lt_simple_compile_test_code="class foo {}\n"
15016 # Code to be used in simple link tests
15017 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15019 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15021 # If no C compiler was specified, use CC.
15024 # Allow CC to be a program name with arguments.
15028 # Allow CC to be a program name with arguments.
15034 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15035 archive_cmds_need_lc_GCJ=no
15038 ## There is no encapsulation within the following macros, do not change
15039 ## the running order or otherwise move them around unless you know exactly
15040 ## what you are doing...
15042 lt_prog_compiler_no_builtin_flag_GCJ=
15044 if test "$GCC" = yes; then
15045 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15047 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15048 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15049 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15050 echo $ECHO_N "(cached) $ECHO_C" >&6
15052 lt_cv_prog_compiler_rtti_exceptions=no
15053 ac_outfile=conftest.$ac_objext
15054 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15055 lt_compiler_flag="-fno-rtti -fno-exceptions"
15056 # Insert the option either (1) after the last *FLAGS variable, or
15057 # (2) before a word containing "conftest.", or (3) at the end.
15058 # Note that $ac_compile itself does not contain backslashes and begins
15059 # with a dollar sign (not a hyphen), so the echo should work correctly.
15060 # The option is referenced via a variable to avoid confusing sed.
15061 lt_compile=`echo "$ac_compile" | $SED \
15062 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15063 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15064 -e 's:$: $lt_compiler_flag:'`
15065 (eval echo "\"\$as_me:15065: $lt_compile\"" >&5)
15066 (eval "$lt_compile" 2>conftest.err)
15068 cat conftest.err >&5
15069 echo "$as_me:15069: \$? = $ac_status" >&5
15070 if (exit $ac_status) && test -s "$ac_outfile"; then
15071 # The compiler can only warn and ignore the option if not recognized
15072 # So say no if there are warnings
15073 if test ! -s conftest.err; then
15074 lt_cv_prog_compiler_rtti_exceptions=yes
15080 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15081 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15083 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15084 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15091 lt_prog_compiler_wl_GCJ=
15092 lt_prog_compiler_pic_GCJ=
15093 lt_prog_compiler_static_GCJ=
15095 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15096 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15098 if test "$GCC" = yes; then
15099 lt_prog_compiler_wl_GCJ='-Wl,'
15100 lt_prog_compiler_static_GCJ='-static'
15104 # All AIX code is PIC.
15105 if test "$host_cpu" = ia64; then
15106 # AIX 5 now supports IA64 processor
15107 lt_prog_compiler_static_GCJ='-Bstatic'
15112 # FIXME: we need at least 68020 code to build shared libraries, but
15113 # adding the `-m68020' flag to GCC prevents building anything better,
15115 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15118 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15119 # PIC is the default for these OSes.
15122 mingw* | pw32* | os2*)
15123 # This hack is so that the source file can tell whether it is being
15124 # built for inclusion in a dll (and should export symbols for example).
15125 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15128 darwin* | rhapsody*)
15129 # PIC is the default on this platform
15130 # Common symbols not allowed in MH_DYLIB files
15131 lt_prog_compiler_pic_GCJ='-fno-common'
15135 # Just because we use GCC doesn't mean we suddenly get shared libraries
15136 # on systems that don't support them.
15137 lt_prog_compiler_can_build_shared_GCJ=no
15142 if test -d /usr/nec; then
15143 lt_prog_compiler_pic_GCJ=-Kconform_pic
15148 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15149 # not for PA HP-UX.
15150 case "$host_cpu" in
15155 lt_prog_compiler_pic_GCJ='-fPIC'
15161 lt_prog_compiler_pic_GCJ='-fPIC'
15165 # PORTME Check for flag to pass linker flags through the system compiler.
15168 lt_prog_compiler_wl_GCJ='-Wl,'
15169 if test "$host_cpu" = ia64; then
15170 # AIX 5 now supports IA64 processor
15171 lt_prog_compiler_static_GCJ='-Bstatic'
15173 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15177 mingw* | pw32* | os2*)
15178 # This hack is so that the source file can tell whether it is being
15179 # built for inclusion in a dll (and should export symbols for example).
15180 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15183 hpux9* | hpux10* | hpux11*)
15184 lt_prog_compiler_wl_GCJ='-Wl,'
15185 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15186 # not for PA HP-UX.
15187 case "$host_cpu" in
15192 lt_prog_compiler_pic_GCJ='+Z'
15195 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15196 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15199 irix5* | irix6* | nonstopux*)
15200 lt_prog_compiler_wl_GCJ='-Wl,'
15201 # PIC (with -KPIC) is the default.
15202 lt_prog_compiler_static_GCJ='-non_shared'
15206 lt_prog_compiler_pic_GCJ='-KPIC'
15207 lt_prog_compiler_static_GCJ='-Bstatic'
15213 lt_prog_compiler_wl_GCJ='-Wl,'
15214 lt_prog_compiler_pic_GCJ='-KPIC'
15215 lt_prog_compiler_static_GCJ='-static'
15218 lt_prog_compiler_wl_GCJ='-Wl,'
15219 # All Alpha code is PIC.
15220 lt_prog_compiler_static_GCJ='-non_shared'
15225 osf3* | osf4* | osf5*)
15226 lt_prog_compiler_wl_GCJ='-Wl,'
15227 # All OSF/1 code is PIC.
15228 lt_prog_compiler_static_GCJ='-non_shared'
15232 lt_prog_compiler_pic_GCJ='-Kpic'
15233 lt_prog_compiler_static_GCJ='-dn'
15237 lt_prog_compiler_wl_GCJ='-Wl,'
15238 lt_prog_compiler_pic_GCJ='-KPIC'
15239 lt_prog_compiler_static_GCJ='-Bstatic'
15243 lt_prog_compiler_wl_GCJ='-Qoption ld '
15244 lt_prog_compiler_pic_GCJ='-PIC'
15245 lt_prog_compiler_static_GCJ='-Bstatic'
15248 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15249 lt_prog_compiler_wl_GCJ='-Wl,'
15250 lt_prog_compiler_pic_GCJ='-KPIC'
15251 lt_prog_compiler_static_GCJ='-Bstatic'
15255 if test -d /usr/nec ;then
15256 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15257 lt_prog_compiler_static_GCJ='-Bstatic'
15262 lt_prog_compiler_pic_GCJ='-pic'
15263 lt_prog_compiler_static_GCJ='-Bstatic'
15267 lt_prog_compiler_can_build_shared_GCJ=no
15272 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15273 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15276 # Check to make sure the PIC flag actually works.
15278 if test -n "$lt_prog_compiler_pic_GCJ"; then
15279 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15280 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15281 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15282 echo $ECHO_N "(cached) $ECHO_C" >&6
15284 lt_prog_compiler_pic_works_GCJ=no
15285 ac_outfile=conftest.$ac_objext
15286 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15287 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15288 # Insert the option either (1) after the last *FLAGS variable, or
15289 # (2) before a word containing "conftest.", or (3) at the end.
15290 # Note that $ac_compile itself does not contain backslashes and begins
15291 # with a dollar sign (not a hyphen), so the echo should work correctly.
15292 # The option is referenced via a variable to avoid confusing sed.
15293 lt_compile=`echo "$ac_compile" | $SED \
15294 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15295 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15296 -e 's:$: $lt_compiler_flag:'`
15297 (eval echo "\"\$as_me:15297: $lt_compile\"" >&5)
15298 (eval "$lt_compile" 2>conftest.err)
15300 cat conftest.err >&5
15301 echo "$as_me:15301: \$? = $ac_status" >&5
15302 if (exit $ac_status) && test -s "$ac_outfile"; then
15303 # The compiler can only warn and ignore the option if not recognized
15304 # So say no if there are warnings
15305 if test ! -s conftest.err; then
15306 lt_prog_compiler_pic_works_GCJ=yes
15312 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15313 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15315 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15316 case $lt_prog_compiler_pic_GCJ in
15318 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15321 lt_prog_compiler_pic_GCJ=
15322 lt_prog_compiler_can_build_shared_GCJ=no
15327 # For platforms which do not support PIC, -DPIC is meaningless:
15329 lt_prog_compiler_pic_GCJ=
15332 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15336 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15337 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15338 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15339 echo $ECHO_N "(cached) $ECHO_C" >&6
15341 lt_cv_prog_compiler_c_o_GCJ=no
15342 $rm -r conftest 2>/dev/null
15346 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15348 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15349 # that will create temporary files in the current directory regardless of
15350 # the output directory. Thus, making CWD read-only will cause this test
15351 # to fail, enabling locking or at least warning the user not to do parallel
15355 lt_compiler_flag="-o out/conftest2.$ac_objext"
15356 # Insert the option either (1) after the last *FLAGS variable, or
15357 # (2) before a word containing "conftest.", or (3) at the end.
15358 # Note that $ac_compile itself does not contain backslashes and begins
15359 # with a dollar sign (not a hyphen), so the echo should work correctly.
15360 lt_compile=`echo "$ac_compile" | $SED \
15361 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15363 -e 's:$: $lt_compiler_flag:'`
15364 (eval echo "\"\$as_me:15364: $lt_compile\"" >&5)
15365 (eval "$lt_compile" 2>out/conftest.err)
15367 cat out/conftest.err >&5
15368 echo "$as_me:15368: \$? = $ac_status" >&5
15369 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15371 # The compiler can only warn and ignore the option if not recognized
15372 # So say no if there are warnings
15373 if test ! -s out/conftest.err; then
15374 lt_cv_prog_compiler_c_o_GCJ=yes
15378 $rm conftest* out/*
15385 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15386 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15389 hard_links="nottested"
15390 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15391 # do not overwrite the value of need_locks provided by the user
15392 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15393 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15396 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15398 ln conftest.a conftest.b 2>&5 || hard_links=no
15399 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15400 echo "$as_me:$LINENO: result: $hard_links" >&5
15401 echo "${ECHO_T}$hard_links" >&6
15402 if test "$hard_links" = no; then
15403 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15404 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15411 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15412 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15415 allow_undefined_flag_GCJ=
15416 enable_shared_with_static_runtimes_GCJ=no
15418 archive_expsym_cmds_GCJ=
15419 old_archive_From_new_cmds_GCJ=
15420 old_archive_from_expsyms_cmds_GCJ=
15421 export_dynamic_flag_spec_GCJ=
15422 whole_archive_flag_spec_GCJ=
15423 thread_safe_flag_spec_GCJ=
15424 hardcode_libdir_flag_spec_GCJ=
15425 hardcode_libdir_flag_spec_ld_GCJ=
15426 hardcode_libdir_separator_GCJ=
15427 hardcode_direct_GCJ=no
15428 hardcode_minus_L_GCJ=no
15429 hardcode_shlibpath_var_GCJ=unsupported
15430 link_all_deplibs_GCJ=unknown
15431 hardcode_automatic_GCJ=no
15433 module_expsym_cmds_GCJ=
15434 always_export_symbols_GCJ=no
15435 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15436 # include_expsyms should be a list of space-separated symbols to be *always*
15437 # included in the symbol list
15438 include_expsyms_GCJ=
15439 # exclude_expsyms can be an extended regexp of symbols to exclude
15440 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15441 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15442 # as well as any symbol that contains `d'.
15443 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15444 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15445 # platforms (ab)use it in PIC code, but their linkers get confused if
15446 # the symbol is explicitly referenced. Since portable code cannot
15447 # rely on this symbol name, it's probably fine to never include it in
15448 # preloaded symbol tables.
15449 extract_expsyms_cmds=
15452 cygwin* | mingw* | pw32*)
15453 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15454 # When not using gcc, we currently assume that we are using
15455 # Microsoft Visual C++.
15456 if test "$GCC" != yes; then
15466 if test "$with_gnu_ld" = yes; then
15467 # If archive_cmds runs LD, not CC, wlarc should be empty
15470 # See if GNU ld supports shared libraries.
15472 aix3* | aix4* | aix5*)
15473 # On AIX/PPC, the GNU linker is very broken
15474 if test "$host_cpu" != ia64; then
15478 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15479 *** to be unable to reliably create shared libraries on AIX.
15480 *** Therefore, libtool is disabling shared libraries support. If you
15481 *** really care for shared libraries, you may want to modify your PATH
15482 *** so that a non-GNU linker is found, and then restart.
15489 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)'
15490 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15491 hardcode_minus_L_GCJ=yes
15493 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15494 # that the semantics of dynamic libraries on AmigaOS, at least up
15495 # to version 4, is to share data among multiple programs linked
15496 # with the same dynamic library. Since this doesn't match the
15497 # behavior of shared libraries on other platforms, we can't use
15503 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15504 allow_undefined_flag_GCJ=unsupported
15505 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15506 # support --undefined. This deserves some investigation. FIXME
15507 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15513 cygwin* | mingw* | pw32*)
15514 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15515 # as there is no search path for DLLs.
15516 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15517 allow_undefined_flag_GCJ=unsupported
15518 always_export_symbols_GCJ=no
15519 enable_shared_with_static_runtimes_GCJ=yes
15520 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15522 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15523 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15524 # If the export-symbols file already is a .def file (1st line
15525 # is EXPORTS), use it as is; otherwise, prepend...
15526 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15527 cp $export_symbols $output_objdir/$soname.def;
15529 echo EXPORTS > $output_objdir/$soname.def;
15530 cat $export_symbols >> $output_objdir/$soname.def;
15532 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15539 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15540 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
15549 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15553 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15554 *** create shared libraries on Solaris systems. Therefore, libtool
15555 *** is disabling shared libraries support. We urge you to upgrade GNU
15556 *** binutils to release 2.9.1 or newer. Another option is to modify
15557 *** your PATH or compiler configuration so that the native linker is
15558 *** used, and then restart.
15561 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15562 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15563 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15570 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15572 hardcode_direct_GCJ=yes
15573 hardcode_shlibpath_var_GCJ=no
15577 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15578 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15579 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15586 if test "$ld_shlibs_GCJ" = yes; then
15587 runpath_var=LD_RUN_PATH
15588 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15589 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15590 # ancient GNU ld didn't support --whole-archive et. al.
15591 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15592 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15594 whole_archive_flag_spec_GCJ=
15598 # PORTME fill in a description of your system's linker (not GNU ld)
15601 allow_undefined_flag_GCJ=unsupported
15602 always_export_symbols_GCJ=yes
15603 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'
15604 # Note: this linker hardcodes the directories in LIBPATH if there
15605 # are no directories specified by -L.
15606 hardcode_minus_L_GCJ=yes
15607 if test "$GCC" = yes && test -z "$link_static_flag"; then
15608 # Neither direct hardcoding nor static linking is supported with a
15610 hardcode_direct_GCJ=unsupported
15615 if test "$host_cpu" = ia64; then
15616 # On IA64, the linker does run time linking by default, so we don't
15617 # have to do anything special.
15618 aix_use_runtimelinking=no
15619 exp_sym_flag='-Bexport'
15622 # If we're using GNU nm, then we don't want the "-C" option.
15623 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15624 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15625 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'
15627 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'
15629 aix_use_runtimelinking=no
15631 # Test if we are trying to use run time linking or normal
15632 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15633 # need to do runtime linking.
15634 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15635 for ld_flag in $LDFLAGS; do
15636 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15637 aix_use_runtimelinking=yes
15643 exp_sym_flag='-bexport'
15644 no_entry_flag='-bnoentry'
15647 # When large executables or shared objects are built, AIX ld can
15648 # have problems creating the table of contents. If linking a library
15649 # or program results in "error TOC overflow" add -mminimal-toc to
15650 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15651 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15653 archive_cmds_GCJ=''
15654 hardcode_direct_GCJ=yes
15655 hardcode_libdir_separator_GCJ=':'
15656 link_all_deplibs_GCJ=yes
15658 if test "$GCC" = yes; then
15659 case $host_os in aix4.012|aix4.012.*)
15660 # We only want to do this on AIX 4.2 and lower, the check
15661 # below for broken collect2 doesn't work under 4.3+
15662 collect2name=`${CC} -print-prog-name=collect2`
15663 if test -f "$collect2name" && \
15664 strings "$collect2name" | grep resolve_lib_name >/dev/null
15666 # We have reworked collect2
15667 hardcode_direct_GCJ=yes
15669 # We have old collect2
15670 hardcode_direct_GCJ=unsupported
15671 # It fails to find uninstalled libraries when the uninstalled
15672 # path is not listed in the libpath. Setting hardcode_minus_L
15673 # to unsupported forces relinking
15674 hardcode_minus_L_GCJ=yes
15675 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15676 hardcode_libdir_separator_GCJ=
15679 shared_flag='-shared'
15682 if test "$host_cpu" = ia64; then
15683 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15684 # chokes on -Wl,-G. The following line is correct:
15687 if test "$aix_use_runtimelinking" = yes; then
15688 shared_flag='${wl}-G'
15690 shared_flag='${wl}-bM:SRE'
15695 # It seems that -bexpall does not export symbols beginning with
15696 # underscore (_), so it is better to generate a list of symbols to export.
15697 always_export_symbols_GCJ=yes
15698 if test "$aix_use_runtimelinking" = yes; then
15699 # Warning - without using the other runtime loading flags (-brtl),
15700 # -berok will link without error, but may produce a broken library.
15701 allow_undefined_flag_GCJ='-berok'
15702 # Determine the default libpath from the value encoded in an empty executable.
15703 cat >conftest.$ac_ext <<_ACEOF
15704 #line $LINENO "configure"
15707 cat confdefs.h >>conftest.$ac_ext
15708 cat >>conftest.$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15719 rm -f conftest.$ac_objext conftest$ac_exeext
15720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15721 (eval $ac_link) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); } &&
15725 { ac_try='test -s conftest$ac_exeext'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; }; then
15732 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15734 # Check for a 64-bit object if we didn't find anything.
15735 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; }
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.$ac_ext >&5
15742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15743 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15745 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15746 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"
15748 if test "$host_cpu" = ia64; then
15749 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15750 allow_undefined_flag_GCJ="-z nodefs"
15751 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"
15753 # Determine the default libpath from the value encoded in an empty executable.
15754 cat >conftest.$ac_ext <<_ACEOF
15755 #line $LINENO "configure"
15758 cat confdefs.h >>conftest.$ac_ext
15759 cat >>conftest.$ac_ext <<_ACEOF
15760 /* end confdefs.h. */
15770 rm -f conftest.$ac_objext conftest$ac_exeext
15771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15772 (eval $ac_link) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } &&
15776 { ac_try='test -s conftest$ac_exeext'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15783 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15785 # Check for a 64-bit object if we didn't find anything.
15786 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; }
15789 echo "$as_me: failed program was:" >&5
15790 sed 's/^/| /' conftest.$ac_ext >&5
15793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15794 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15796 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15797 # Warning - without using the other run time loading flags,
15798 # -berok will link without error, but may produce a broken library.
15799 no_undefined_flag_GCJ=' ${wl}-bernotok'
15800 allow_undefined_flag_GCJ=' ${wl}-berok'
15801 # -bexpall does not export symbols beginning with underscore (_)
15802 always_export_symbols_GCJ=yes
15803 # Exported symbols can be pulled into shared objects from archives
15804 whole_archive_flag_spec_GCJ=' '
15805 archive_cmds_need_lc_GCJ=yes
15806 # This is similar to how AIX traditionally builds it's shared libraries.
15807 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'
15813 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)'
15814 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15815 hardcode_minus_L_GCJ=yes
15816 # see comment about different semantics on the GNU ld section
15821 export_dynamic_flag_spec_GCJ=-rdynamic
15824 cygwin* | mingw* | pw32*)
15825 # When not using gcc, we currently assume that we are using
15826 # Microsoft Visual C++.
15827 # hardcode_libdir_flag_spec is actually meaningless, as there is
15828 # no search path for DLLs.
15829 hardcode_libdir_flag_spec_GCJ=' '
15830 allow_undefined_flag_GCJ=unsupported
15831 # Tell ltmain to make .lib files, not .a files.
15833 # Tell ltmain to make .dll files, not .so files.
15835 # FIXME: Setting linknames here is a bad hack.
15836 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15837 # The linker will automatically build a .lib file if we build a DLL.
15838 old_archive_From_new_cmds_GCJ='true'
15839 # FIXME: Should let the user specify the lib program.
15840 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15841 fix_srcfile_path='`cygpath -w "$srcfile"`'
15842 enable_shared_with_static_runtimes_GCJ=yes
15845 darwin* | rhapsody*)
15846 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15847 archive_cmds_need_lc_GCJ=no
15849 rhapsody* | darwin1.[012])
15850 allow_undefined_flag_GCJ='-undefined suppress'
15853 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15856 # FIXME: Relying on posixy $() will cause problems for
15857 # cross-compilation, but unfortunately the echo tests do not
15858 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15859 # `"' quotes if we put them in here... so don't!
15860 lt_int_apple_cc_single_mod=no
15861 output_verbose_link_cmd='echo'
15862 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15863 lt_int_apple_cc_single_mod=yes
15865 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15866 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15868 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'
15870 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15871 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15872 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15873 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}'
15875 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}'
15877 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}'
15878 hardcode_direct_GCJ=no
15879 hardcode_automatic_GCJ=yes
15880 hardcode_shlibpath_var_GCJ=unsupported
15881 whole_archive_flag_spec_GCJ='-all_load $convenience'
15882 link_all_deplibs_GCJ=yes
15887 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15888 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15889 hardcode_shlibpath_var_GCJ=no
15896 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15897 # support. Future versions do this automatically, but an explicit c++rt0.o
15898 # does not break anything, and helps significantly (at the cost of a little
15901 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15902 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15903 hardcode_direct_GCJ=yes
15904 hardcode_shlibpath_var_GCJ=no
15907 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15909 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15910 hardcode_direct_GCJ=yes
15911 hardcode_minus_L_GCJ=yes
15912 hardcode_shlibpath_var_GCJ=no
15915 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15917 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15918 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15919 hardcode_direct_GCJ=yes
15920 hardcode_shlibpath_var_GCJ=no
15924 if test "$GCC" = yes; then
15925 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'
15927 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'
15929 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15930 hardcode_libdir_separator_GCJ=:
15931 hardcode_direct_GCJ=yes
15933 # hardcode_minus_L: Not really in the search PATH,
15934 # but as the default location of the library.
15935 hardcode_minus_L_GCJ=yes
15936 export_dynamic_flag_spec_GCJ='${wl}-E'
15940 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15941 case "$host_cpu" in
15943 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15946 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15950 case "$host_cpu" in
15952 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15955 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15959 if test "$with_gnu_ld" = no; then
15960 case "$host_cpu" in
15962 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15963 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15964 hardcode_libdir_separator_GCJ=:
15965 hardcode_direct_GCJ=no
15966 hardcode_shlibpath_var_GCJ=no
15969 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15970 hardcode_direct_GCJ=no
15971 hardcode_shlibpath_var_GCJ=no
15973 # hardcode_minus_L: Not really in the search PATH,
15974 # but as the default location of the library.
15975 hardcode_minus_L_GCJ=yes
15978 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15979 hardcode_libdir_separator_GCJ=:
15980 hardcode_direct_GCJ=yes
15981 export_dynamic_flag_spec_GCJ='${wl}-E'
15983 # hardcode_minus_L: Not really in the search PATH,
15984 # but as the default location of the library.
15985 hardcode_minus_L_GCJ=yes
15991 irix5* | irix6* | nonstopux*)
15992 if test "$GCC" = yes; then
15993 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'
15995 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'
15996 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15998 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15999 hardcode_libdir_separator_GCJ=:
16000 link_all_deplibs_GCJ=yes
16004 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16005 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16007 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16009 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16010 hardcode_direct_GCJ=yes
16011 hardcode_shlibpath_var_GCJ=no
16015 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16016 hardcode_direct_GCJ=yes
16017 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16018 hardcode_libdir_separator_GCJ=:
16019 hardcode_shlibpath_var_GCJ=no
16023 hardcode_direct_GCJ=yes
16024 hardcode_shlibpath_var_GCJ=no
16025 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16026 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16027 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16028 export_dynamic_flag_spec_GCJ='${wl}-E'
16031 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16032 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16033 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16036 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16037 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16044 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16045 hardcode_minus_L_GCJ=yes
16046 allow_undefined_flag_GCJ=unsupported
16047 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'
16048 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16052 if test "$GCC" = yes; then
16053 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16054 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'
16056 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16057 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'
16059 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16060 hardcode_libdir_separator_GCJ=:
16063 osf4* | osf5*) # as osf3* with the addition of -msym flag
16064 if test "$GCC" = yes; then
16065 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16066 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'
16067 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16069 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16070 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'
16071 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~
16072 $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'
16074 # Both c and cxx compiler support -rpath directly
16075 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16077 hardcode_libdir_separator_GCJ=:
16081 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16082 hardcode_shlibpath_var_GCJ=no
16083 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16084 runpath_var=LD_RUN_PATH
16085 hardcode_runpath_var=yes
16089 no_undefined_flag_GCJ=' -z text'
16090 if test "$GCC" = yes; then
16091 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16092 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16093 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16095 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16096 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16097 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16099 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16100 hardcode_shlibpath_var_GCJ=no
16102 solaris2.[0-5] | solaris2.[0-5].*) ;;
16103 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16104 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16106 link_all_deplibs_GCJ=yes
16110 if test "x$host_vendor" = xsequent; then
16111 # Use $CC to link under sequent, because it throws in some extra .o
16112 # files that make .init and .fini sections work.
16113 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16115 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16117 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16118 hardcode_direct_GCJ=yes
16119 hardcode_minus_L_GCJ=yes
16120 hardcode_shlibpath_var_GCJ=no
16124 case $host_vendor in
16126 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16127 hardcode_direct_GCJ=yes # is this really true???
16130 ## LD is ld it makes a PLAMLIB
16131 ## CC just makes a GrossModule.
16132 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16133 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16134 hardcode_direct_GCJ=no
16137 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16138 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16141 runpath_var='LD_RUN_PATH'
16142 hardcode_shlibpath_var_GCJ=no
16146 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16147 hardcode_shlibpath_var_GCJ=no
16148 export_dynamic_flag_spec_GCJ='-Bexport'
16152 if test -d /usr/nec; then
16153 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16154 hardcode_shlibpath_var_GCJ=no
16155 runpath_var=LD_RUN_PATH
16156 hardcode_runpath_var=yes
16162 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16163 hardcode_direct_GCJ=yes
16164 hardcode_minus_L_GCJ=no
16165 hardcode_shlibpath_var_GCJ=no
16166 hardcode_runpath_var=yes
16167 runpath_var=LD_RUN_PATH
16170 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16171 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16172 if test "$GCC" = yes; then
16173 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16175 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16177 runpath_var='LD_RUN_PATH'
16178 hardcode_shlibpath_var_GCJ=no
16182 no_undefined_flag_GCJ=' -z text'
16183 # $CC -shared without GNU ld will not create a library from C++
16184 # object files and a static libstdc++, better avoid it by now
16185 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16186 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16187 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16188 hardcode_libdir_flag_spec_GCJ=
16189 hardcode_shlibpath_var_GCJ=no
16190 runpath_var='LD_RUN_PATH'
16194 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16195 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16196 hardcode_shlibpath_var_GCJ=no
16205 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16206 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16207 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16209 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16210 if test "$GCC" = yes; then
16211 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16215 # Do we need to explicitly link libc?
16217 case "x$archive_cmds_need_lc_GCJ" in
16219 # Assume -lc should be added
16220 archive_cmds_need_lc_GCJ=yes
16222 if test "$enable_shared" = yes && test "$GCC" = yes; then
16223 case $archive_cmds_GCJ in
16225 # FIXME: we may have to deal with multi-command sequences.
16228 # Test whether the compiler implicitly links with -lc since on some
16229 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16230 # to ld, don't add -lc before -lgcc.
16231 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16232 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16234 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16237 (eval $ac_compile) 2>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } 2>conftest.err; then
16243 libobjs=conftest.$ac_objext
16245 wl=$lt_prog_compiler_wl_GCJ
16251 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16252 allow_undefined_flag_GCJ=
16253 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16254 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }
16259 archive_cmds_need_lc_GCJ=no
16261 archive_cmds_need_lc_GCJ=yes
16263 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16265 cat conftest.err 1>&5
16268 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16269 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16276 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16277 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16278 hardcode_action_GCJ=
16279 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16280 test -n "$runpath_var GCJ" || \
16281 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16283 # We can hardcode non-existant directories.
16284 if test "$hardcode_direct_GCJ" != no &&
16285 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16286 # have to relink, otherwise we might link with an installed library
16287 # when we should be linking with a yet-to-be-installed one
16288 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16289 test "$hardcode_minus_L_GCJ" != no; then
16290 # Linking always hardcodes the temporary library directory.
16291 hardcode_action_GCJ=relink
16293 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16294 hardcode_action_GCJ=immediate
16297 # We cannot hardcode anything, or else we can only hardcode existing
16299 hardcode_action_GCJ=unsupported
16301 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16302 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16304 if test "$hardcode_action_GCJ" = relink; then
16305 # Fast installation is not supported
16306 enable_fast_install=no
16307 elif test "$shlibpath_overrides_runpath" = yes ||
16308 test "$enable_shared" = no; then
16309 # Fast installation is not necessary
16310 enable_fast_install=needless
16315 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16316 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16317 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16318 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16319 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16320 echo "$as_me:$LINENO: result: yes" >&5
16321 echo "${ECHO_T}yes" >&6
16323 # FIXME - insert some real tests, host_os isn't really good enough
16326 if test -n "$STRIP" ; then
16327 striplib="$STRIP -x"
16328 echo "$as_me:$LINENO: result: yes" >&5
16329 echo "${ECHO_T}yes" >&6
16331 echo "$as_me:$LINENO: result: no" >&5
16332 echo "${ECHO_T}no" >&6
16336 echo "$as_me:$LINENO: result: no" >&5
16337 echo "${ECHO_T}no" >&6
16342 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16343 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16344 library_names_spec=
16345 libname_spec='lib$name'
16349 postuninstall_cmds=
16353 shlibpath_overrides_runpath=unknown
16355 dynamic_linker="$host_os ld.so"
16356 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16357 if test "$GCC" = yes; then
16358 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16359 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16360 # if the path contains ";" then we assume it to be the separator
16361 # otherwise default to the standard path separator (i.e. ":") - it is
16362 # assumed that no part of a normal pathname contains ";" but that should
16363 # okay in the real world where ";" in dirpaths is itself problematic.
16364 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16366 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16369 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16371 need_lib_prefix=unknown
16372 hardcode_into_libs=no
16374 # when you set need_version to no, make sure it does not cause -set_version
16375 # flags to be left without arguments
16376 need_version=unknown
16381 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16382 shlibpath_var=LIBPATH
16384 # AIX 3 has no versioning support, so we append a major version to the name.
16385 soname_spec='${libname}${release}${shared_ext}$major'
16392 hardcode_into_libs=yes
16393 if test "$host_cpu" = ia64; then
16394 # AIX 5 supports IA64
16395 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16396 shlibpath_var=LD_LIBRARY_PATH
16398 # With GCC up to 2.95.x, collect2 would create an import file
16399 # for dependence libraries. The import file would start with
16400 # the line `#! .'. This would cause the generated library to
16401 # depend on `.', always an invalid library. This was fixed in
16402 # development snapshots of GCC prior to 3.0.
16404 aix4 | aix4.[01] | aix4.[01].*)
16405 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16407 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16410 can_build_shared=no
16414 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16415 # soname into executable. Probably we can add versioning support to
16416 # collect2, so additional links can be useful in future.
16417 if test "$aix_use_runtimelinking" = yes; then
16418 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16419 # instead of lib<name>.a to let people know that these are not
16420 # typical AIX shared libraries.
16421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16423 # We preserve .a as extension for shared libraries through AIX4.2
16424 # and later when we are not doing run time linking.
16425 library_names_spec='${libname}${release}.a $libname.a'
16426 soname_spec='${libname}${release}${shared_ext}$major'
16428 shlibpath_var=LIBPATH
16433 library_names_spec='$libname.ixlibrary $libname.a'
16434 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16435 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'
16439 library_names_spec='${libname}${shared_ext}'
16440 dynamic_linker="$host_os ld.so"
16441 shlibpath_var=LIBRARY_PATH
16447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16448 soname_spec='${libname}${release}${shared_ext}$major'
16449 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16450 shlibpath_var=LD_LIBRARY_PATH
16451 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16452 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16453 # the default ld.so.conf also contains /usr/contrib/lib and
16454 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16455 # libtool to hard-code these into programs
16458 cygwin* | mingw* | pw32*)
16459 version_type=windows
16464 case $GCC,$host_os in
16465 yes,cygwin* | yes,mingw* | yes,pw32*)
16466 library_names_spec='$libname.dll.a'
16467 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16468 postinstall_cmds='base_file=`basename \${file}`~
16469 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16470 dldir=$destdir/`dirname \$dlpath`~
16471 test -d \$dldir || mkdir -p \$dldir~
16472 $install_prog $dir/$dlname \$dldir/$dlname'
16473 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16474 dlpath=$dir/\$dldll~
16476 shlibpath_overrides_runpath=yes
16480 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16481 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16482 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16485 # MinGW DLLs use traditional 'lib' prefix
16486 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16487 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16488 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16489 # It is most probably a Windows format PATH printed by
16490 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16491 # path with ; separators, and with drive letters. We can handle the
16492 # drive letters (cygwin fileutils understands them), so leave them,
16493 # especially as we might pass files found there to a mingw objdump,
16494 # which wouldn't understand a cygwinified path. Ahh.
16495 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16497 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16501 # pw32 DLLs use 'pw' prefix rather than 'lib'
16502 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16508 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16511 dynamic_linker='Win32 ld.exe'
16512 # FIXME: first we should search . and the directory the executable is in
16516 darwin* | rhapsody*)
16517 dynamic_linker="$host_os dyld"
16518 version_type=darwin
16521 # FIXME: Relying on posixy $() will cause problems for
16522 # cross-compilation, but unfortunately the echo tests do not
16523 # yet detect zsh echo's removal of \ escapes.
16524 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16525 soname_spec='${libname}${release}${major}$shared_ext'
16526 shlibpath_overrides_runpath=yes
16527 shlibpath_var=DYLD_LIBRARY_PATH
16528 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16529 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16530 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16531 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"`
16533 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16541 soname_spec='${libname}${release}${shared_ext}$major'
16542 shlibpath_var=LD_LIBRARY_PATH
16550 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16551 version_type=freebsd-$objformat
16552 case $version_type in
16554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16559 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16563 shlibpath_var=LD_LIBRARY_PATH
16566 shlibpath_overrides_runpath=yes
16568 freebsd3.01* | freebsdelf3.01*)
16569 shlibpath_overrides_runpath=yes
16570 hardcode_into_libs=yes
16573 shlibpath_overrides_runpath=no
16574 hardcode_into_libs=yes
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 shlibpath_var=LD_LIBRARY_PATH
16586 hardcode_into_libs=yes
16589 hpux9* | hpux10* | hpux11*)
16590 # Give a soname corresponding to the major version so that dld.sl refuses to
16591 # link against other versions.
16595 case "$host_cpu" in
16598 hardcode_into_libs=yes
16599 dynamic_linker="$host_os dld.so"
16600 shlibpath_var=LD_LIBRARY_PATH
16601 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16603 soname_spec='${libname}${release}${shared_ext}$major'
16604 if test "X$HPUX_IA64_MODE" = X32; then
16605 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16607 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16609 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16613 hardcode_into_libs=yes
16614 dynamic_linker="$host_os dld.sl"
16615 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16616 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16618 soname_spec='${libname}${release}${shared_ext}$major'
16619 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16620 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16624 dynamic_linker="$host_os dld.sl"
16625 shlibpath_var=SHLIB_PATH
16626 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16628 soname_spec='${libname}${release}${shared_ext}$major'
16631 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16632 postinstall_cmds='chmod 555 $lib'
16635 irix5* | irix6* | nonstopux*)
16637 nonstopux*) version_type=nonstopux ;;
16639 if test "$lt_cv_prog_gnu_ld" = yes; then
16647 soname_spec='${libname}${release}${shared_ext}$major'
16648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16650 irix5* | nonstopux*)
16651 libsuff= shlibsuff=
16654 case $LD in # libtool.m4 will add one of these switches to LD
16655 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16656 libsuff= shlibsuff= libmagic=32-bit;;
16657 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16658 libsuff=32 shlibsuff=N32 libmagic=N32;;
16659 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16660 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16661 *) libsuff= shlibsuff= libmagic=never-match;;
16665 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16666 shlibpath_overrides_runpath=no
16667 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16668 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16669 hardcode_into_libs=yes
16672 # No shared lib support for Linux oldld, aout, or coff.
16673 linux*oldld* | linux*aout* | linux*coff*)
16677 # This must be Linux ELF.
16682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16683 soname_spec='${libname}${release}${shared_ext}$major'
16684 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16685 shlibpath_var=LD_LIBRARY_PATH
16686 shlibpath_overrides_runpath=no
16687 # This implies no fast_install, which is unacceptable.
16688 # Some rework will be needed to allow for fast_install
16689 # before this can be enabled.
16690 hardcode_into_libs=yes
16692 # We used to test for /lib/ld.so.1 and disable shared libraries on
16693 # powerpc, because MkLinux only supported shared libraries with the
16694 # GNU dynamic linker. Since this was broken with cross compilers,
16695 # most powerpc-linux boxes support dynamic linking these days and
16696 # people can always --disable-shared, the test was removed, and we
16697 # assume the GNU/Linux dynamic linker is in use.
16698 dynamic_linker='GNU/Linux ld.so'
16705 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16707 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16708 dynamic_linker='NetBSD (a.out) ld.so'
16710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16711 soname_spec='${libname}${release}${shared_ext}$major'
16712 dynamic_linker='NetBSD ld.elf_so'
16714 shlibpath_var=LD_LIBRARY_PATH
16715 shlibpath_overrides_runpath=yes
16716 hardcode_into_libs=yes
16721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16722 shlibpath_var=LD_LIBRARY_PATH
16723 shlibpath_overrides_runpath=yes
16730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16731 soname_spec='${libname}${release}${shared_ext}$major'
16732 shlibpath_var=LD_LIBRARY_PATH
16733 shlibpath_overrides_runpath=yes
16740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16741 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16742 shlibpath_var=LD_LIBRARY_PATH
16743 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16745 openbsd2.[89] | openbsd2.[89].*)
16746 shlibpath_overrides_runpath=no
16749 shlibpath_overrides_runpath=yes
16753 shlibpath_overrides_runpath=yes
16758 libname_spec='$name'
16761 library_names_spec='$libname${shared_ext} $libname.a'
16762 dynamic_linker='OS/2 ld.exe'
16763 shlibpath_var=LIBPATH
16766 osf3* | osf4* | osf5*)
16770 soname_spec='${libname}${release}${shared_ext}$major'
16771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16772 shlibpath_var=LD_LIBRARY_PATH
16773 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16774 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16779 soname_spec='${libname}${release}${shared_ext}$major'
16780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16781 shlibpath_var=LD_LIBRARY_PATH
16788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16789 soname_spec='${libname}${release}${shared_ext}$major'
16790 shlibpath_var=LD_LIBRARY_PATH
16791 shlibpath_overrides_runpath=yes
16792 hardcode_into_libs=yes
16793 # ldd complains unless libraries are executable
16794 postinstall_cmds='chmod +x $lib'
16799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16800 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16801 shlibpath_var=LD_LIBRARY_PATH
16802 shlibpath_overrides_runpath=yes
16803 if test "$with_gnu_ld" = yes; then
16809 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16812 soname_spec='${libname}${release}${shared_ext}$major'
16813 shlibpath_var=LD_LIBRARY_PATH
16814 case $host_vendor in
16816 shlibpath_overrides_runpath=no
16818 export_dynamic_flag_spec='${wl}-Blargedynsym'
16819 runpath_var=LD_RUN_PATH
16827 shlibpath_overrides_runpath=no
16828 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16834 if test -d /usr/nec ;then
16836 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16837 soname_spec='$libname${shared_ext}.$major'
16838 shlibpath_var=LD_LIBRARY_PATH
16844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16845 soname_spec='${libname}${release}${shared_ext}$major'
16846 shlibpath_var=LD_LIBRARY_PATH
16853 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16854 echo "${ECHO_T}$dynamic_linker" >&6
16855 test "$dynamic_linker" = no && can_build_shared=no
16857 if test "x$enable_dlopen" != xyes; then
16858 enable_dlopen=unknown
16859 enable_dlopen_self=unknown
16860 enable_dlopen_self_static=unknown
16867 lt_cv_dlopen="load_add_on"
16869 lt_cv_dlopen_self=yes
16873 lt_cv_dlopen="LoadLibrary"
16878 lt_cv_dlopen="dlopen"
16883 # if libdl is installed we need to link against it
16884 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16885 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16886 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16887 echo $ECHO_N "(cached) $ECHO_C" >&6
16889 ac_check_lib_save_LIBS=$LIBS
16891 cat >conftest.$ac_ext <<_ACEOF
16892 #line $LINENO "configure"
16895 cat confdefs.h >>conftest.$ac_ext
16896 cat >>conftest.$ac_ext <<_ACEOF
16897 /* end confdefs.h. */
16899 /* Override any gcc2 internal prototype to avoid an error. */
16903 /* We use char because int might match the return type of a gcc2
16904 builtin and then its argument prototype would still apply. */
16914 rm -f conftest.$ac_objext conftest$ac_exeext
16915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16916 (eval $ac_link) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } &&
16920 { ac_try='test -s conftest$ac_exeext'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; }; then
16926 ac_cv_lib_dl_dlopen=yes
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16931 ac_cv_lib_dl_dlopen=no
16933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16934 LIBS=$ac_check_lib_save_LIBS
16936 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16937 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16938 if test $ac_cv_lib_dl_dlopen = yes; then
16939 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16942 lt_cv_dlopen="dyld"
16944 lt_cv_dlopen_self=yes
16951 echo "$as_me:$LINENO: checking for shl_load" >&5
16952 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16953 if test "${ac_cv_func_shl_load+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16956 cat >conftest.$ac_ext <<_ACEOF
16957 #line $LINENO "configure"
16960 cat confdefs.h >>conftest.$ac_ext
16961 cat >>conftest.$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 /* System header to define __stub macros and hopefully few prototypes,
16964 which can conflict with char shl_load (); below.
16965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16966 <limits.h> exists even on freestanding compilers. */
16968 # include <limits.h>
16970 # include <assert.h>
16972 /* Override any gcc2 internal prototype to avoid an error. */
16977 /* We use char because int might match the return type of a gcc2
16978 builtin and then its argument prototype would still apply. */
16980 /* The GNU C library defines this for functions which it implements
16981 to always fail with ENOSYS. Some functions are actually named
16982 something starting with __ and the normal name is an alias. */
16983 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16986 char (*f) () = shl_load;
16995 return f != shl_load;
17000 rm -f conftest.$ac_objext conftest$ac_exeext
17001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17002 (eval $ac_link) 2>&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } &&
17006 { ac_try='test -s conftest$ac_exeext'
17007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008 (eval $ac_try) 2>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); }; }; then
17012 ac_cv_func_shl_load=yes
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.$ac_ext >&5
17017 ac_cv_func_shl_load=no
17019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17021 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17022 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17023 if test $ac_cv_func_shl_load = yes; then
17024 lt_cv_dlopen="shl_load"
17026 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17027 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17028 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 ac_check_lib_save_LIBS=$LIBS
17033 cat >conftest.$ac_ext <<_ACEOF
17034 #line $LINENO "configure"
17037 cat confdefs.h >>conftest.$ac_ext
17038 cat >>conftest.$ac_ext <<_ACEOF
17039 /* end confdefs.h. */
17041 /* Override any gcc2 internal prototype to avoid an error. */
17045 /* We use char because int might match the return type of a gcc2
17046 builtin and then its argument prototype would still apply. */
17056 rm -f conftest.$ac_objext conftest$ac_exeext
17057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17058 (eval $ac_link) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } &&
17062 { ac_try='test -s conftest$ac_exeext'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; }; then
17068 ac_cv_lib_dld_shl_load=yes
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.$ac_ext >&5
17073 ac_cv_lib_dld_shl_load=no
17075 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17076 LIBS=$ac_check_lib_save_LIBS
17078 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17079 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17080 if test $ac_cv_lib_dld_shl_load = yes; then
17081 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17083 echo "$as_me:$LINENO: checking for dlopen" >&5
17084 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17085 if test "${ac_cv_func_dlopen+set}" = set; then
17086 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 cat >conftest.$ac_ext <<_ACEOF
17089 #line $LINENO "configure"
17092 cat confdefs.h >>conftest.$ac_ext
17093 cat >>conftest.$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17095 /* System header to define __stub macros and hopefully few prototypes,
17096 which can conflict with char dlopen (); below.
17097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17098 <limits.h> exists even on freestanding compilers. */
17100 # include <limits.h>
17102 # include <assert.h>
17104 /* Override any gcc2 internal prototype to avoid an error. */
17109 /* We use char because int might match the return type of a gcc2
17110 builtin and then its argument prototype would still apply. */
17112 /* The GNU C library defines this for functions which it implements
17113 to always fail with ENOSYS. Some functions are actually named
17114 something starting with __ and the normal name is an alias. */
17115 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17118 char (*f) () = dlopen;
17127 return f != dlopen;
17132 rm -f conftest.$ac_objext conftest$ac_exeext
17133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17134 (eval $ac_link) 2>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); } &&
17138 { ac_try='test -s conftest$ac_exeext'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; }; then
17144 ac_cv_func_dlopen=yes
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.$ac_ext >&5
17149 ac_cv_func_dlopen=no
17151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17153 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17154 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17155 if test $ac_cv_func_dlopen = yes; then
17156 lt_cv_dlopen="dlopen"
17158 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17159 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17160 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17163 ac_check_lib_save_LIBS=$LIBS
17165 cat >conftest.$ac_ext <<_ACEOF
17166 #line $LINENO "configure"
17169 cat confdefs.h >>conftest.$ac_ext
17170 cat >>conftest.$ac_ext <<_ACEOF
17171 /* end confdefs.h. */
17173 /* Override any gcc2 internal prototype to avoid an error. */
17177 /* We use char because int might match the return type of a gcc2
17178 builtin and then its argument prototype would still apply. */
17188 rm -f conftest.$ac_objext conftest$ac_exeext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17190 (eval $ac_link) 2>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } &&
17194 { ac_try='test -s conftest$ac_exeext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 ac_cv_lib_dl_dlopen=yes
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17205 ac_cv_lib_dl_dlopen=no
17207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17208 LIBS=$ac_check_lib_save_LIBS
17210 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17211 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17212 if test $ac_cv_lib_dl_dlopen = yes; then
17213 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17215 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17216 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17217 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17220 ac_check_lib_save_LIBS=$LIBS
17221 LIBS="-lsvld $LIBS"
17222 cat >conftest.$ac_ext <<_ACEOF
17223 #line $LINENO "configure"
17226 cat confdefs.h >>conftest.$ac_ext
17227 cat >>conftest.$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17230 /* Override any gcc2 internal prototype to avoid an error. */
17234 /* We use char because int might match the return type of a gcc2
17235 builtin and then its argument prototype would still apply. */
17245 rm -f conftest.$ac_objext conftest$ac_exeext
17246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17247 (eval $ac_link) 2>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } &&
17251 { ac_try='test -s conftest$ac_exeext'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; }; then
17257 ac_cv_lib_svld_dlopen=yes
17259 echo "$as_me: failed program was:" >&5
17260 sed 's/^/| /' conftest.$ac_ext >&5
17262 ac_cv_lib_svld_dlopen=no
17264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17265 LIBS=$ac_check_lib_save_LIBS
17267 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17268 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17269 if test $ac_cv_lib_svld_dlopen = yes; then
17270 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17272 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17273 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17274 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17275 echo $ECHO_N "(cached) $ECHO_C" >&6
17277 ac_check_lib_save_LIBS=$LIBS
17279 cat >conftest.$ac_ext <<_ACEOF
17280 #line $LINENO "configure"
17283 cat confdefs.h >>conftest.$ac_ext
17284 cat >>conftest.$ac_ext <<_ACEOF
17285 /* end confdefs.h. */
17287 /* Override any gcc2 internal prototype to avoid an error. */
17291 /* We use char because int might match the return type of a gcc2
17292 builtin and then its argument prototype would still apply. */
17302 rm -f conftest.$ac_objext conftest$ac_exeext
17303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17304 (eval $ac_link) 2>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); } &&
17308 { ac_try='test -s conftest$ac_exeext'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; }; then
17314 ac_cv_lib_dld_dld_link=yes
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.$ac_ext >&5
17319 ac_cv_lib_dld_dld_link=no
17321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17322 LIBS=$ac_check_lib_save_LIBS
17324 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17325 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17326 if test $ac_cv_lib_dld_dld_link = yes; then
17327 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17348 if test "x$lt_cv_dlopen" != xno; then
17354 case $lt_cv_dlopen in
17356 save_CPPFLAGS="$CPPFLAGS"
17357 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17359 save_LDFLAGS="$LDFLAGS"
17360 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17363 LIBS="$lt_cv_dlopen_libs $LIBS"
17365 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17366 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17367 if test "${lt_cv_dlopen_self+set}" = set; then
17368 echo $ECHO_N "(cached) $ECHO_C" >&6
17370 if test "$cross_compiling" = yes; then :
17371 lt_cv_dlopen_self=cross
17373 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17374 lt_status=$lt_dlunknown
17375 cat > conftest.$ac_ext <<EOF
17376 #line 17376 "configure"
17377 #include "confdefs.h"
17386 # define LT_DLGLOBAL RTLD_GLOBAL
17389 # define LT_DLGLOBAL DL_GLOBAL
17391 # define LT_DLGLOBAL 0
17395 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17396 find out it does not work in some platform. */
17397 #ifndef LT_DLLAZY_OR_NOW
17399 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17402 # define LT_DLLAZY_OR_NOW DL_LAZY
17405 # define LT_DLLAZY_OR_NOW RTLD_NOW
17408 # define LT_DLLAZY_OR_NOW DL_NOW
17410 # define LT_DLLAZY_OR_NOW 0
17418 extern "C" void exit (int);
17421 void fnord() { int i=42;}
17424 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17425 int status = $lt_dlunknown;
17429 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17430 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17431 /* dlclose (self); */
17437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17438 (eval $ac_link) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17442 (./conftest; exit; ) 2>/dev/null
17444 case x$lt_status in
17445 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17446 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17447 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17450 # compilation failed
17451 lt_cv_dlopen_self=no
17458 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17459 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17461 if test "x$lt_cv_dlopen_self" = xyes; then
17462 LDFLAGS="$LDFLAGS $link_static_flag"
17463 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17464 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17465 if test "${lt_cv_dlopen_self_static+set}" = set; then
17466 echo $ECHO_N "(cached) $ECHO_C" >&6
17468 if test "$cross_compiling" = yes; then :
17469 lt_cv_dlopen_self_static=cross
17471 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17472 lt_status=$lt_dlunknown
17473 cat > conftest.$ac_ext <<EOF
17474 #line 17474 "configure"
17475 #include "confdefs.h"
17484 # define LT_DLGLOBAL RTLD_GLOBAL
17487 # define LT_DLGLOBAL DL_GLOBAL
17489 # define LT_DLGLOBAL 0
17493 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17494 find out it does not work in some platform. */
17495 #ifndef LT_DLLAZY_OR_NOW
17497 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17500 # define LT_DLLAZY_OR_NOW DL_LAZY
17503 # define LT_DLLAZY_OR_NOW RTLD_NOW
17506 # define LT_DLLAZY_OR_NOW DL_NOW
17508 # define LT_DLLAZY_OR_NOW 0
17516 extern "C" void exit (int);
17519 void fnord() { int i=42;}
17522 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17523 int status = $lt_dlunknown;
17527 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17528 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17529 /* dlclose (self); */
17535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17536 (eval $ac_link) 2>&5
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17540 (./conftest; exit; ) 2>/dev/null
17542 case x$lt_status in
17543 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17544 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17545 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17548 # compilation failed
17549 lt_cv_dlopen_self_static=no
17556 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17557 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17560 CPPFLAGS="$save_CPPFLAGS"
17561 LDFLAGS="$save_LDFLAGS"
17566 case $lt_cv_dlopen_self in
17567 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17568 *) enable_dlopen_self=unknown ;;
17571 case $lt_cv_dlopen_self_static in
17572 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17573 *) enable_dlopen_self_static=unknown ;;
17578 # The else clause should only fire when bootstrapping the
17579 # libtool distribution, otherwise you forgot to ship ltmain.sh
17580 # with your package, and you will get complaints that there are
17581 # no rules to generate ltmain.sh.
17582 if test -f "$ltmain"; then
17583 # See if we are running on zsh, and set the options which allow our commands through
17584 # without removal of \ escapes.
17585 if test -n "${ZSH_VERSION+set}" ; then
17586 setopt NO_GLOB_SUBST
17588 # Now quote all the things that may contain metacharacters while being
17589 # careful not to overquote the AC_SUBSTed values. We take copies of the
17590 # variables and quote the copies for generation of the libtool script.
17591 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17592 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17593 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17594 deplibs_check_method reload_flag reload_cmds need_locks \
17595 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17596 lt_cv_sys_global_symbol_to_c_name_address \
17597 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17598 old_postinstall_cmds old_postuninstall_cmds \
17602 lt_prog_compiler_wl_GCJ \
17603 lt_prog_compiler_pic_GCJ \
17604 lt_prog_compiler_static_GCJ \
17605 lt_prog_compiler_no_builtin_flag_GCJ \
17606 export_dynamic_flag_spec_GCJ \
17607 thread_safe_flag_spec_GCJ \
17608 whole_archive_flag_spec_GCJ \
17609 enable_shared_with_static_runtimes_GCJ \
17610 old_archive_cmds_GCJ \
17611 old_archive_from_new_cmds_GCJ \
17612 predep_objects_GCJ \
17613 postdep_objects_GCJ \
17616 compiler_lib_search_path_GCJ \
17618 archive_expsym_cmds_GCJ \
17619 postinstall_cmds_GCJ \
17620 postuninstall_cmds_GCJ \
17621 old_archive_from_expsyms_cmds_GCJ \
17622 allow_undefined_flag_GCJ \
17623 no_undefined_flag_GCJ \
17624 export_symbols_cmds_GCJ \
17625 hardcode_libdir_flag_spec_GCJ \
17626 hardcode_libdir_flag_spec_ld_GCJ \
17627 hardcode_libdir_separator_GCJ \
17628 hardcode_automatic_GCJ \
17630 module_expsym_cmds_GCJ \
17631 lt_cv_prog_compiler_c_o_GCJ \
17632 exclude_expsyms_GCJ \
17633 include_expsyms_GCJ; do
17636 old_archive_cmds_GCJ | \
17637 old_archive_from_new_cmds_GCJ | \
17638 archive_cmds_GCJ | \
17639 archive_expsym_cmds_GCJ | \
17640 module_cmds_GCJ | \
17641 module_expsym_cmds_GCJ | \
17642 old_archive_from_expsyms_cmds_GCJ | \
17643 export_symbols_cmds_GCJ | \
17644 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17645 postinstall_cmds | postuninstall_cmds | \
17646 old_postinstall_cmds | old_postuninstall_cmds | \
17647 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17648 # Double-quote double-evaled strings.
17649 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17652 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17658 *'\$0 --fallback-echo"')
17659 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17665 cat <<__EOF__ >> "$cfgfile"
17666 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17668 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17670 # Shell to use when invoking shell scripts.
17673 # Whether or not to build shared libraries.
17674 build_libtool_libs=$enable_shared
17676 # Whether or not to build static libraries.
17677 build_old_libs=$enable_static
17679 # Whether or not to add -lc for building shared libraries.
17680 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17682 # Whether or not to disallow shared libs when runtime libs are static
17683 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17685 # Whether or not to optimize for fast installation.
17686 fast_install=$enable_fast_install
17689 host_alias=$host_alias
17692 # An echo program that does not interpret backslashes.
17697 AR_FLAGS=$lt_AR_FLAGS
17702 # A language-specific compiler.
17703 CC=$lt_compiler_GCJ
17705 # Is the compiler the GNU C compiler?
17711 # The linker used to build libraries.
17714 # Whether we need hard or soft links.
17717 # A BSD-compatible nm program.
17720 # A symbol stripping program
17723 # Used to examine libraries when file_magic_cmd begins "file"
17724 MAGIC_CMD=$MAGIC_CMD
17726 # Used on cygwin: DLL creation program.
17729 # Used on cygwin: object dumper.
17732 # Used on cygwin: assembler.
17735 # The name of the directory that contains temporary libtool files.
17738 # How to create reloadable object files.
17739 reload_flag=$lt_reload_flag
17740 reload_cmds=$lt_reload_cmds
17742 # How to pass a linker flag through the compiler.
17743 wl=$lt_lt_prog_compiler_wl_GCJ
17745 # Object file suffix (normally "o").
17746 objext="$ac_objext"
17748 # Old archive suffix (normally "a").
17751 # Shared library suffix (normally ".so").
17754 # Executable file suffix (normally "").
17757 # Additional compiler flags for building library objects.
17758 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17761 # What is the maximum length of a command?
17762 max_cmd_len=$lt_cv_sys_max_cmd_len
17764 # Does compiler simultaneously support -c and -o options?
17765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17767 # Must we lock files when doing compilation ?
17768 need_locks=$lt_need_locks
17770 # Do we need the lib prefix for modules?
17771 need_lib_prefix=$need_lib_prefix
17773 # Do we need a version for libraries?
17774 need_version=$need_version
17776 # Whether dlopen is supported.
17777 dlopen_support=$enable_dlopen
17779 # Whether dlopen of programs is supported.
17780 dlopen_self=$enable_dlopen_self
17782 # Whether dlopen of statically linked programs is supported.
17783 dlopen_self_static=$enable_dlopen_self_static
17785 # Compiler flag to prevent dynamic linking.
17786 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17788 # Compiler flag to turn off builtin functions.
17789 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17791 # Compiler flag to allow reflexive dlopens.
17792 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17794 # Compiler flag to generate shared objects directly from archives.
17795 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17797 # Compiler flag to generate thread-safe objects.
17798 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17800 # Library versioning type.
17801 version_type=$version_type
17803 # Format of library name prefix.
17804 libname_spec=$lt_libname_spec
17806 # List of archive names. First name is the real one, the rest are links.
17807 # The last name is the one that the linker finds with -lNAME.
17808 library_names_spec=$lt_library_names_spec
17810 # The coded name of the library, if different from the real name.
17811 soname_spec=$lt_soname_spec
17813 # Commands used to build and install an old-style archive.
17815 old_archive_cmds=$lt_old_archive_cmds_GCJ
17816 old_postinstall_cmds=$lt_old_postinstall_cmds
17817 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17819 # Create an old-style archive from a shared archive.
17820 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17822 # Create a temporary old-style archive to link instead of a shared archive.
17823 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17825 # Commands used to build and install a shared archive.
17826 archive_cmds=$lt_archive_cmds_GCJ
17827 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17828 postinstall_cmds=$lt_postinstall_cmds
17829 postuninstall_cmds=$lt_postuninstall_cmds
17831 # Commands used to build a loadable module (assumed same as above if empty)
17832 module_cmds=$lt_module_cmds_GCJ
17833 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17835 # Commands to strip libraries.
17836 old_striplib=$lt_old_striplib
17837 striplib=$lt_striplib
17839 # Dependencies to place before the objects being linked to create a
17841 predep_objects=$lt_predep_objects_GCJ
17843 # Dependencies to place after the objects being linked to create a
17845 postdep_objects=$lt_postdep_objects_GCJ
17847 # Dependencies to place before the objects being linked to create a
17849 predeps=$lt_predeps_GCJ
17851 # Dependencies to place after the objects being linked to create a
17853 postdeps=$lt_postdeps_GCJ
17855 # The library search path used internally by the compiler when linking
17856 # a shared library.
17857 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17859 # Method to check whether dependent libraries are shared objects.
17860 deplibs_check_method=$lt_deplibs_check_method
17862 # Command to use when deplibs_check_method == file_magic.
17863 file_magic_cmd=$lt_file_magic_cmd
17865 # Flag that allows shared libraries with undefined symbols to be built.
17866 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17868 # Flag that forces no undefined symbols.
17869 no_undefined_flag=$lt_no_undefined_flag_GCJ
17871 # Commands used to finish a libtool library installation in a directory.
17872 finish_cmds=$lt_finish_cmds
17874 # Same as above, but a single script fragment to be evaled but not shown.
17875 finish_eval=$lt_finish_eval
17877 # Take the output of nm and produce a listing of raw symbols and C names.
17878 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17880 # Transform the output of nm in a proper C declaration
17881 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17883 # Transform the output of nm in a C name address pair
17884 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17886 # This is the shared library runtime path variable.
17887 runpath_var=$runpath_var
17889 # This is the shared library path variable.
17890 shlibpath_var=$shlibpath_var
17892 # Is shlibpath searched before the hard-coded library search path?
17893 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17895 # How to hardcode a shared library path into an executable.
17896 hardcode_action=$hardcode_action_GCJ
17898 # Whether we should hardcode library paths into libraries.
17899 hardcode_into_libs=$hardcode_into_libs
17901 # Flag to hardcode \$libdir into a binary during linking.
17902 # This must work even if \$libdir does not exist.
17903 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17905 # If ld is used when linking, flag to hardcode \$libdir into
17906 # a binary during linking. This must work even if \$libdir does
17908 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17910 # Whether we need a single -rpath flag with a separated argument.
17911 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17913 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17914 # resulting binary.
17915 hardcode_direct=$hardcode_direct_GCJ
17917 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17918 # resulting binary.
17919 hardcode_minus_L=$hardcode_minus_L_GCJ
17921 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17922 # the resulting binary.
17923 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17925 # Set to yes if building a shared library automatically hardcodes DIR into the library
17926 # and all subsequent libraries and executables linked against it.
17927 hardcode_automatic=$hardcode_automatic_GCJ
17929 # Variables whose values should be saved in libtool wrapper scripts and
17930 # restored at relink time.
17931 variables_saved_for_relink="$variables_saved_for_relink"
17933 # Whether libtool must link a program against all its dependency libraries.
17934 link_all_deplibs=$link_all_deplibs_GCJ
17936 # Compile-time system search path for libraries
17937 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17939 # Run-time system search path for libraries
17940 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17942 # Fix the shell variable \$srcfile for the compiler.
17943 fix_srcfile_path="$fix_srcfile_path_GCJ"
17945 # Set to yes if exported symbols are required.
17946 always_export_symbols=$always_export_symbols_GCJ
17948 # The commands to list exported symbols.
17949 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17951 # The commands to extract the exported symbol list from a shared archive.
17952 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17954 # Symbols that should not be listed in the preloaded symbols.
17955 exclude_expsyms=$lt_exclude_expsyms_GCJ
17957 # Symbols that must always be exported.
17958 include_expsyms=$lt_include_expsyms_GCJ
17960 # ### END LIBTOOL TAG CONFIG: $tagname
17966 # If there is no Makefile yet, we rely on a make rule to execute
17967 # `config.status --recheck' to rerun these tests and create the
17968 # libtool script then.
17969 test -f Makefile && make "$ltmain"
17974 ac_cpp='$CPP $CPPFLAGS'
17975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17990 # Source file extension for RC test sources.
17993 # Object file extension for compiled RC test sources.
17997 # Code to be used in simple compile tests
17998 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18000 # Code to be used in simple link tests
18001 lt_simple_link_test_code="$lt_simple_compile_test_code"
18003 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18005 # If no C compiler was specified, use CC.
18008 # Allow CC to be a program name with arguments.
18012 # Allow CC to be a program name with arguments.
18017 lt_cv_prog_compiler_c_o_RC=yes
18019 # The else clause should only fire when bootstrapping the
18020 # libtool distribution, otherwise you forgot to ship ltmain.sh
18021 # with your package, and you will get complaints that there are
18022 # no rules to generate ltmain.sh.
18023 if test -f "$ltmain"; then
18024 # See if we are running on zsh, and set the options which allow our commands through
18025 # without removal of \ escapes.
18026 if test -n "${ZSH_VERSION+set}" ; then
18027 setopt NO_GLOB_SUBST
18029 # Now quote all the things that may contain metacharacters while being
18030 # careful not to overquote the AC_SUBSTed values. We take copies of the
18031 # variables and quote the copies for generation of the libtool script.
18032 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18033 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18034 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18035 deplibs_check_method reload_flag reload_cmds need_locks \
18036 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18037 lt_cv_sys_global_symbol_to_c_name_address \
18038 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18039 old_postinstall_cmds old_postuninstall_cmds \
18043 lt_prog_compiler_wl_RC \
18044 lt_prog_compiler_pic_RC \
18045 lt_prog_compiler_static_RC \
18046 lt_prog_compiler_no_builtin_flag_RC \
18047 export_dynamic_flag_spec_RC \
18048 thread_safe_flag_spec_RC \
18049 whole_archive_flag_spec_RC \
18050 enable_shared_with_static_runtimes_RC \
18051 old_archive_cmds_RC \
18052 old_archive_from_new_cmds_RC \
18053 predep_objects_RC \
18054 postdep_objects_RC \
18057 compiler_lib_search_path_RC \
18059 archive_expsym_cmds_RC \
18060 postinstall_cmds_RC \
18061 postuninstall_cmds_RC \
18062 old_archive_from_expsyms_cmds_RC \
18063 allow_undefined_flag_RC \
18064 no_undefined_flag_RC \
18065 export_symbols_cmds_RC \
18066 hardcode_libdir_flag_spec_RC \
18067 hardcode_libdir_flag_spec_ld_RC \
18068 hardcode_libdir_separator_RC \
18069 hardcode_automatic_RC \
18071 module_expsym_cmds_RC \
18072 lt_cv_prog_compiler_c_o_RC \
18073 exclude_expsyms_RC \
18074 include_expsyms_RC; do
18077 old_archive_cmds_RC | \
18078 old_archive_from_new_cmds_RC | \
18079 archive_cmds_RC | \
18080 archive_expsym_cmds_RC | \
18082 module_expsym_cmds_RC | \
18083 old_archive_from_expsyms_cmds_RC | \
18084 export_symbols_cmds_RC | \
18085 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18086 postinstall_cmds | postuninstall_cmds | \
18087 old_postinstall_cmds | old_postuninstall_cmds | \
18088 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18089 # Double-quote double-evaled strings.
18090 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18093 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18099 *'\$0 --fallback-echo"')
18100 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18106 cat <<__EOF__ >> "$cfgfile"
18107 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18109 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18111 # Shell to use when invoking shell scripts.
18114 # Whether or not to build shared libraries.
18115 build_libtool_libs=$enable_shared
18117 # Whether or not to build static libraries.
18118 build_old_libs=$enable_static
18120 # Whether or not to add -lc for building shared libraries.
18121 build_libtool_need_lc=$archive_cmds_need_lc_RC
18123 # Whether or not to disallow shared libs when runtime libs are static
18124 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18126 # Whether or not to optimize for fast installation.
18127 fast_install=$enable_fast_install
18130 host_alias=$host_alias
18133 # An echo program that does not interpret backslashes.
18138 AR_FLAGS=$lt_AR_FLAGS
18143 # A language-specific compiler.
18146 # Is the compiler the GNU C compiler?
18152 # The linker used to build libraries.
18155 # Whether we need hard or soft links.
18158 # A BSD-compatible nm program.
18161 # A symbol stripping program
18164 # Used to examine libraries when file_magic_cmd begins "file"
18165 MAGIC_CMD=$MAGIC_CMD
18167 # Used on cygwin: DLL creation program.
18170 # Used on cygwin: object dumper.
18173 # Used on cygwin: assembler.
18176 # The name of the directory that contains temporary libtool files.
18179 # How to create reloadable object files.
18180 reload_flag=$lt_reload_flag
18181 reload_cmds=$lt_reload_cmds
18183 # How to pass a linker flag through the compiler.
18184 wl=$lt_lt_prog_compiler_wl_RC
18186 # Object file suffix (normally "o").
18187 objext="$ac_objext"
18189 # Old archive suffix (normally "a").
18192 # Shared library suffix (normally ".so").
18195 # Executable file suffix (normally "").
18198 # Additional compiler flags for building library objects.
18199 pic_flag=$lt_lt_prog_compiler_pic_RC
18202 # What is the maximum length of a command?
18203 max_cmd_len=$lt_cv_sys_max_cmd_len
18205 # Does compiler simultaneously support -c and -o options?
18206 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18208 # Must we lock files when doing compilation ?
18209 need_locks=$lt_need_locks
18211 # Do we need the lib prefix for modules?
18212 need_lib_prefix=$need_lib_prefix
18214 # Do we need a version for libraries?
18215 need_version=$need_version
18217 # Whether dlopen is supported.
18218 dlopen_support=$enable_dlopen
18220 # Whether dlopen of programs is supported.
18221 dlopen_self=$enable_dlopen_self
18223 # Whether dlopen of statically linked programs is supported.
18224 dlopen_self_static=$enable_dlopen_self_static
18226 # Compiler flag to prevent dynamic linking.
18227 link_static_flag=$lt_lt_prog_compiler_static_RC
18229 # Compiler flag to turn off builtin functions.
18230 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18232 # Compiler flag to allow reflexive dlopens.
18233 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18235 # Compiler flag to generate shared objects directly from archives.
18236 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18238 # Compiler flag to generate thread-safe objects.
18239 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18241 # Library versioning type.
18242 version_type=$version_type
18244 # Format of library name prefix.
18245 libname_spec=$lt_libname_spec
18247 # List of archive names. First name is the real one, the rest are links.
18248 # The last name is the one that the linker finds with -lNAME.
18249 library_names_spec=$lt_library_names_spec
18251 # The coded name of the library, if different from the real name.
18252 soname_spec=$lt_soname_spec
18254 # Commands used to build and install an old-style archive.
18256 old_archive_cmds=$lt_old_archive_cmds_RC
18257 old_postinstall_cmds=$lt_old_postinstall_cmds
18258 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18260 # Create an old-style archive from a shared archive.
18261 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18263 # Create a temporary old-style archive to link instead of a shared archive.
18264 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18266 # Commands used to build and install a shared archive.
18267 archive_cmds=$lt_archive_cmds_RC
18268 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18269 postinstall_cmds=$lt_postinstall_cmds
18270 postuninstall_cmds=$lt_postuninstall_cmds
18272 # Commands used to build a loadable module (assumed same as above if empty)
18273 module_cmds=$lt_module_cmds_RC
18274 module_expsym_cmds=$lt_module_expsym_cmds_RC
18276 # Commands to strip libraries.
18277 old_striplib=$lt_old_striplib
18278 striplib=$lt_striplib
18280 # Dependencies to place before the objects being linked to create a
18282 predep_objects=$lt_predep_objects_RC
18284 # Dependencies to place after the objects being linked to create a
18286 postdep_objects=$lt_postdep_objects_RC
18288 # Dependencies to place before the objects being linked to create a
18290 predeps=$lt_predeps_RC
18292 # Dependencies to place after the objects being linked to create a
18294 postdeps=$lt_postdeps_RC
18296 # The library search path used internally by the compiler when linking
18297 # a shared library.
18298 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18300 # Method to check whether dependent libraries are shared objects.
18301 deplibs_check_method=$lt_deplibs_check_method
18303 # Command to use when deplibs_check_method == file_magic.
18304 file_magic_cmd=$lt_file_magic_cmd
18306 # Flag that allows shared libraries with undefined symbols to be built.
18307 allow_undefined_flag=$lt_allow_undefined_flag_RC
18309 # Flag that forces no undefined symbols.
18310 no_undefined_flag=$lt_no_undefined_flag_RC
18312 # Commands used to finish a libtool library installation in a directory.
18313 finish_cmds=$lt_finish_cmds
18315 # Same as above, but a single script fragment to be evaled but not shown.
18316 finish_eval=$lt_finish_eval
18318 # Take the output of nm and produce a listing of raw symbols and C names.
18319 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18321 # Transform the output of nm in a proper C declaration
18322 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18324 # Transform the output of nm in a C name address pair
18325 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18327 # This is the shared library runtime path variable.
18328 runpath_var=$runpath_var
18330 # This is the shared library path variable.
18331 shlibpath_var=$shlibpath_var
18333 # Is shlibpath searched before the hard-coded library search path?
18334 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18336 # How to hardcode a shared library path into an executable.
18337 hardcode_action=$hardcode_action_RC
18339 # Whether we should hardcode library paths into libraries.
18340 hardcode_into_libs=$hardcode_into_libs
18342 # Flag to hardcode \$libdir into a binary during linking.
18343 # This must work even if \$libdir does not exist.
18344 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18346 # If ld is used when linking, flag to hardcode \$libdir into
18347 # a binary during linking. This must work even if \$libdir does
18349 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18351 # Whether we need a single -rpath flag with a separated argument.
18352 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18354 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18355 # resulting binary.
18356 hardcode_direct=$hardcode_direct_RC
18358 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18359 # resulting binary.
18360 hardcode_minus_L=$hardcode_minus_L_RC
18362 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18363 # the resulting binary.
18364 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18366 # Set to yes if building a shared library automatically hardcodes DIR into the library
18367 # and all subsequent libraries and executables linked against it.
18368 hardcode_automatic=$hardcode_automatic_RC
18370 # Variables whose values should be saved in libtool wrapper scripts and
18371 # restored at relink time.
18372 variables_saved_for_relink="$variables_saved_for_relink"
18374 # Whether libtool must link a program against all its dependency libraries.
18375 link_all_deplibs=$link_all_deplibs_RC
18377 # Compile-time system search path for libraries
18378 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18380 # Run-time system search path for libraries
18381 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18383 # Fix the shell variable \$srcfile for the compiler.
18384 fix_srcfile_path="$fix_srcfile_path_RC"
18386 # Set to yes if exported symbols are required.
18387 always_export_symbols=$always_export_symbols_RC
18389 # The commands to list exported symbols.
18390 export_symbols_cmds=$lt_export_symbols_cmds_RC
18392 # The commands to extract the exported symbol list from a shared archive.
18393 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18395 # Symbols that should not be listed in the preloaded symbols.
18396 exclude_expsyms=$lt_exclude_expsyms_RC
18398 # Symbols that must always be exported.
18399 include_expsyms=$lt_include_expsyms_RC
18401 # ### END LIBTOOL TAG CONFIG: $tagname
18407 # If there is no Makefile yet, we rely on a make rule to execute
18408 # `config.status --recheck' to rerun these tests and create the
18409 # libtool script then.
18410 test -f Makefile && make "$ltmain"
18415 ac_cpp='$CPP $CPPFLAGS'
18416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18425 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18426 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18427 { (exit 1); exit 1; }; }
18431 # Append the new tag name to the list of available tags.
18432 if test -n "$tagname" ; then
18433 available_tags="$available_tags $tagname"
18439 # Now substitute the updated list of available tags.
18440 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18441 mv "${ofile}T" "$ofile"
18445 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18446 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18447 { (exit 1); exit 1; }; }
18453 # This can be used to rebuild libtool when needed
18454 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18456 # Always use our own libtool.
18457 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18459 # Prevent multiple expansion
18481 # Extract the first word of "pwd", so it can be a program name with args.
18482 set dummy pwd; ac_word=$2
18483 echo "$as_me:$LINENO: checking for $ac_word" >&5
18484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18485 if test "${ac_cv_path_RPWD+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18494 for as_dir in $PATH
18497 test -z "$as_dir" && as_dir=.
18498 for ac_exec_ext in '' $ac_executable_extensions; do
18499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18500 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18507 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18511 RPWD=$ac_cv_path_RPWD
18513 if test -n "$RPWD"; then
18514 echo "$as_me:$LINENO: result: $RPWD" >&5
18515 echo "${ECHO_T}$RPWD" >&6
18517 echo "$as_me:$LINENO: result: no" >&5
18518 echo "${ECHO_T}no" >&6
18521 if test ${RPWD} = "false"
18523 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18524 echo "$as_me: error: pwd required but not found" >&2;}
18525 { (exit 1); exit 1; }; }
18528 # Extract the first word of "ar", so it can be a program name with args.
18529 set dummy ar; ac_word=$2
18530 echo "$as_me:$LINENO: checking for $ac_word" >&5
18531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18532 if test "${ac_cv_path_AR+set}" = set; then
18533 echo $ECHO_N "(cached) $ECHO_C" >&6
18537 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18541 for as_dir in $PATH
18544 test -z "$as_dir" && as_dir=.
18545 for ac_exec_ext in '' $ac_executable_extensions; do
18546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18547 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18554 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18560 if test -n "$AR"; then
18561 echo "$as_me:$LINENO: result: $AR" >&5
18562 echo "${ECHO_T}$AR" >&6
18564 echo "$as_me:$LINENO: result: no" >&5
18565 echo "${ECHO_T}no" >&6
18568 if test ${AR} = "false"
18570 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18571 echo "$as_me: error: ar required but not found" >&2;}
18572 { (exit 1); exit 1; }; }
18575 # Extract the first word of "sed", so it can be a program name with args.
18576 set dummy sed; ac_word=$2
18577 echo "$as_me:$LINENO: checking for $ac_word" >&5
18578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18579 if test "${ac_cv_path_SED+set}" = set; then
18580 echo $ECHO_N "(cached) $ECHO_C" >&6
18584 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18588 for as_dir in $PATH
18591 test -z "$as_dir" && as_dir=.
18592 for ac_exec_ext in '' $ac_executable_extensions; do
18593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18594 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18601 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18605 SED=$ac_cv_path_SED
18607 if test -n "$SED"; then
18608 echo "$as_me:$LINENO: result: $SED" >&5
18609 echo "${ECHO_T}$SED" >&6
18611 echo "$as_me:$LINENO: result: no" >&5
18612 echo "${ECHO_T}no" >&6
18615 if test ${SED} = "false"
18617 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18618 echo "$as_me: error: sed required but not found" >&2;}
18619 { (exit 1); exit 1; }; }
18622 # Extract the first word of "rm", so it can be a program name with args.
18623 set dummy rm; ac_word=$2
18624 echo "$as_me:$LINENO: checking for $ac_word" >&5
18625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18626 if test "${ac_cv_path_RM+set}" = set; then
18627 echo $ECHO_N "(cached) $ECHO_C" >&6
18631 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18635 for as_dir in $PATH
18638 test -z "$as_dir" && as_dir=.
18639 for ac_exec_ext in '' $ac_executable_extensions; do
18640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18641 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18648 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18654 if test -n "$RM"; then
18655 echo "$as_me:$LINENO: result: $RM" >&5
18656 echo "${ECHO_T}$RM" >&6
18658 echo "$as_me:$LINENO: result: no" >&5
18659 echo "${ECHO_T}no" >&6
18662 if test ${RM} = "false"
18664 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18665 echo "$as_me: error: rm required but not found" >&2;}
18666 { (exit 1); exit 1; }; }
18669 # Extract the first word of "echo", so it can be a program name with args.
18670 set dummy echo; ac_word=$2
18671 echo "$as_me:$LINENO: checking for $ac_word" >&5
18672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18673 if test "${ac_cv_path_ECHO+set}" = set; then
18674 echo $ECHO_N "(cached) $ECHO_C" >&6
18678 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18682 for as_dir in $PATH
18685 test -z "$as_dir" && as_dir=.
18686 for ac_exec_ext in '' $ac_executable_extensions; do
18687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18688 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18695 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18699 ECHO=$ac_cv_path_ECHO
18701 if test -n "$ECHO"; then
18702 echo "$as_me:$LINENO: result: $ECHO" >&5
18703 echo "${ECHO_T}$ECHO" >&6
18705 echo "$as_me:$LINENO: result: no" >&5
18706 echo "${ECHO_T}no" >&6
18709 if test ${ECHO} = "false"
18711 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18712 echo "$as_me: error: echo required but not found" >&2;}
18713 { (exit 1); exit 1; }; }
18716 # Extract the first word of "mkdir", so it can be a program name with args.
18717 set dummy mkdir; ac_word=$2
18718 echo "$as_me:$LINENO: checking for $ac_word" >&5
18719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18720 if test "${ac_cv_path_MKDIR+set}" = set; then
18721 echo $ECHO_N "(cached) $ECHO_C" >&6
18725 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18729 for as_dir in $PATH
18732 test -z "$as_dir" && as_dir=.
18733 for ac_exec_ext in '' $ac_executable_extensions; do
18734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18735 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18742 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18746 MKDIR=$ac_cv_path_MKDIR
18748 if test -n "$MKDIR"; then
18749 echo "$as_me:$LINENO: result: $MKDIR" >&5
18750 echo "${ECHO_T}$MKDIR" >&6
18752 echo "$as_me:$LINENO: result: no" >&5
18753 echo "${ECHO_T}no" >&6
18756 if test ${MKDIR} = "false"
18758 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18759 echo "$as_me: error: mkdir required but not found" >&2;}
18760 { (exit 1); exit 1; }; }
18763 # Extract the first word of "date", so it can be a program name with args.
18764 set dummy date; ac_word=$2
18765 echo "$as_me:$LINENO: checking for $ac_word" >&5
18766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18767 if test "${ac_cv_path_DATE+set}" = set; then
18768 echo $ECHO_N "(cached) $ECHO_C" >&6
18772 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18776 for as_dir in $PATH
18779 test -z "$as_dir" && as_dir=.
18780 for ac_exec_ext in '' $ac_executable_extensions; do
18781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18782 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18789 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18793 DATE=$ac_cv_path_DATE
18795 if test -n "$DATE"; then
18796 echo "$as_me:$LINENO: result: $DATE" >&5
18797 echo "${ECHO_T}$DATE" >&6
18799 echo "$as_me:$LINENO: result: no" >&5
18800 echo "${ECHO_T}no" >&6
18803 if test ${DATE} = "false"
18805 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18806 echo "$as_me: error: date required but not found" >&2;}
18807 { (exit 1); exit 1; }; }
18810 # Extract the first word of "mv", so it can be a program name with args.
18811 set dummy mv; ac_word=$2
18812 echo "$as_me:$LINENO: checking for $ac_word" >&5
18813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18814 if test "${ac_cv_path_MV+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18819 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18823 for as_dir in $PATH
18826 test -z "$as_dir" && as_dir=.
18827 for ac_exec_ext in '' $ac_executable_extensions; do
18828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18829 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18836 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18842 if test -n "$MV"; then
18843 echo "$as_me:$LINENO: result: $MV" >&5
18844 echo "${ECHO_T}$MV" >&6
18846 echo "$as_me:$LINENO: result: no" >&5
18847 echo "${ECHO_T}no" >&6
18850 if test ${MV} = "false"
18852 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18853 echo "$as_me: error: mv required but not found" >&2;}
18854 { (exit 1); exit 1; }; }
18857 # Extract the first word of "dot", so it can be a program name with args.
18858 set dummy dot; ac_word=$2
18859 echo "$as_me:$LINENO: checking for $ac_word" >&5
18860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18861 if test "${ac_cv_path_DOT+set}" = set; then
18862 echo $ECHO_N "(cached) $ECHO_C" >&6
18866 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18870 for as_dir in $PATH
18873 test -z "$as_dir" && as_dir=.
18874 for ac_exec_ext in '' $ac_executable_extensions; do
18875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18876 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18883 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18887 DOT=$ac_cv_path_DOT
18889 if test -n "$DOT"; then
18890 echo "$as_me:$LINENO: result: $DOT" >&5
18891 echo "${ECHO_T}$DOT" >&6
18893 echo "$as_me:$LINENO: result: no" >&5
18894 echo "${ECHO_T}no" >&6
18898 # Extract the first word of "etags", so it can be a program name with args.
18899 set dummy etags; ac_word=$2
18900 echo "$as_me:$LINENO: checking for $ac_word" >&5
18901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18902 if test "${ac_cv_path_ETAGS+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18907 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18911 for as_dir in $PATH
18914 test -z "$as_dir" && as_dir=.
18915 for ac_exec_ext in '' $ac_executable_extensions; do
18916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18917 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18924 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18928 ETAGS=$ac_cv_path_ETAGS
18930 if test -n "$ETAGS"; then
18931 echo "$as_me:$LINENO: result: $ETAGS" >&5
18932 echo "${ECHO_T}$ETAGS" >&6
18934 echo "$as_me:$LINENO: result: no" >&5
18935 echo "${ECHO_T}no" >&6
18939 # Extract the first word of "python", so it can be a program name with args.
18940 set dummy python; ac_word=$2
18941 echo "$as_me:$LINENO: checking for $ac_word" >&5
18942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18943 if test "${ac_cv_path_PYTHON+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18952 for as_dir in $PATH
18955 test -z "$as_dir" && as_dir=.
18956 for ac_exec_ext in '' $ac_executable_extensions; do
18957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18958 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18965 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18969 PYTHON=$ac_cv_path_PYTHON
18971 if test -n "$PYTHON"; then
18972 echo "$as_me:$LINENO: result: $PYTHON" >&5
18973 echo "${ECHO_T}$PYTHON" >&6
18975 echo "$as_me:$LINENO: result: no" >&5
18976 echo "${ECHO_T}no" >&6
18979 if test ${PYTHON} = "false"
18981 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18982 echo "$as_me: WARNING: python required but not found" >&2;}
18985 # Extract the first word of "qmtest", so it can be a program name with args.
18986 set dummy qmtest; ac_word=$2
18987 echo "$as_me:$LINENO: checking for $ac_word" >&5
18988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18989 if test "${ac_cv_path_QMTEST+set}" = set; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18994 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18998 for as_dir in $PATH
19001 test -z "$as_dir" && as_dir=.
19002 for ac_exec_ext in '' $ac_executable_extensions; do
19003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19004 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19011 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19015 QMTEST=$ac_cv_path_QMTEST
19017 if test -n "$QMTEST"; then
19018 echo "$as_me:$LINENO: result: $QMTEST" >&5
19019 echo "${ECHO_T}$QMTEST" >&6
19021 echo "$as_me:$LINENO: result: no" >&5
19022 echo "${ECHO_T}no" >&6
19025 if test ${QMTEST} = "false"
19027 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19028 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19031 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19032 pymajor=`echo $pyversion | cut -d. -f1`
19033 pyminor=`echo $pyversion | cut -d. -f2`
19035 if test "$pymajor" -ge "2"
19037 if test "$pymajor" -eq "2"
19039 if test "$pyminor" -lt "2"
19041 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19042 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19043 { (exit 1); exit 1; }; }
19047 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19048 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19049 { (exit 1); exit 1; }; }
19056 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19057 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19058 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19061 ac_check_lib_save_LIBS=$LIBS
19063 cat >conftest.$ac_ext <<_ACEOF
19064 #line $LINENO "configure"
19067 cat confdefs.h >>conftest.$ac_ext
19068 cat >>conftest.$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19071 /* Override any gcc2 internal prototype to avoid an error. */
19075 /* We use char because int might match the return type of a gcc2
19076 builtin and then its argument prototype would still apply. */
19086 rm -f conftest.$ac_objext conftest$ac_exeext
19087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19088 (eval $ac_link) 2>&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } &&
19092 { ac_try='test -s conftest$ac_exeext'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; }; then
19098 ac_cv_lib_elf_elf_begin=yes
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19103 ac_cv_lib_elf_elf_begin=no
19105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19106 LIBS=$ac_check_lib_save_LIBS
19108 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19109 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19110 if test $ac_cv_lib_elf_elf_begin = yes; then
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_LIBELF 1
19120 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19121 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19122 if test "${ac_cv_search_dlopen+set}" = set; then
19123 echo $ECHO_N "(cached) $ECHO_C" >&6
19125 ac_func_search_save_LIBS=$LIBS
19126 ac_cv_search_dlopen=no
19127 cat >conftest.$ac_ext <<_ACEOF
19128 #line $LINENO "configure"
19131 cat confdefs.h >>conftest.$ac_ext
19132 cat >>conftest.$ac_ext <<_ACEOF
19133 /* end confdefs.h. */
19135 /* Override any gcc2 internal prototype to avoid an error. */
19139 /* We use char because int might match the return type of a gcc2
19140 builtin and then its argument prototype would still apply. */
19150 rm -f conftest.$ac_objext conftest$ac_exeext
19151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19152 (eval $ac_link) 2>&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); } &&
19156 { ac_try='test -s conftest$ac_exeext'
19157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158 (eval $ac_try) 2>&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); }; }; then
19162 ac_cv_search_dlopen="none required"
19164 echo "$as_me: failed program was:" >&5
19165 sed 's/^/| /' conftest.$ac_ext >&5
19168 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19169 if test "$ac_cv_search_dlopen" = no; then
19170 for ac_lib in dl; do
19171 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19172 cat >conftest.$ac_ext <<_ACEOF
19173 #line $LINENO "configure"
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19180 /* Override any gcc2 internal prototype to avoid an error. */
19184 /* We use char because int might match the return type of a gcc2
19185 builtin and then its argument prototype would still apply. */
19195 rm -f conftest.$ac_objext conftest$ac_exeext
19196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19197 (eval $ac_link) 2>&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); } &&
19201 { ac_try='test -s conftest$ac_exeext'
19202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 ac_cv_search_dlopen="-l$ac_lib"
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19217 LIBS=$ac_func_search_save_LIBS
19219 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19220 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19221 if test "$ac_cv_search_dlopen" != no; then
19222 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19225 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19226 echo "$as_me: error: dlopen() required but not found" >&2;}
19227 { (exit 1); exit 1; }; }
19231 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19232 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19233 if test "${ac_cv_search_mallinfo+set}" = set; then
19234 echo $ECHO_N "(cached) $ECHO_C" >&6
19236 ac_func_search_save_LIBS=$LIBS
19237 ac_cv_search_mallinfo=no
19238 cat >conftest.$ac_ext <<_ACEOF
19239 #line $LINENO "configure"
19242 cat confdefs.h >>conftest.$ac_ext
19243 cat >>conftest.$ac_ext <<_ACEOF
19244 /* end confdefs.h. */
19246 /* Override any gcc2 internal prototype to avoid an error. */
19250 /* We use char because int might match the return type of a gcc2
19251 builtin and then its argument prototype would still apply. */
19261 rm -f conftest.$ac_objext conftest$ac_exeext
19262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19263 (eval $ac_link) 2>&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } &&
19267 { ac_try='test -s conftest$ac_exeext'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269 (eval $ac_try) 2>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; }; then
19273 ac_cv_search_mallinfo="none required"
19275 echo "$as_me: failed program was:" >&5
19276 sed 's/^/| /' conftest.$ac_ext >&5
19279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19280 if test "$ac_cv_search_mallinfo" = no; then
19281 for ac_lib in malloc; do
19282 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19283 cat >conftest.$ac_ext <<_ACEOF
19284 #line $LINENO "configure"
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19291 /* Override any gcc2 internal prototype to avoid an error. */
19295 /* We use char because int might match the return type of a gcc2
19296 builtin and then its argument prototype would still apply. */
19306 rm -f conftest.$ac_objext conftest$ac_exeext
19307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19308 (eval $ac_link) 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); } &&
19312 { ac_try='test -s conftest$ac_exeext'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 ac_cv_search_mallinfo="-l$ac_lib"
19321 echo "$as_me: failed program was:" >&5
19322 sed 's/^/| /' conftest.$ac_ext >&5
19325 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19328 LIBS=$ac_func_search_save_LIBS
19330 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19331 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19332 if test "$ac_cv_search_mallinfo" != no; then
19333 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19334 cat >>confdefs.h <<\_ACEOF
19335 #define HAVE_MALLINFO 1
19342 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19343 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19344 if test "${ac_cv_header_stdc+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19347 cat >conftest.$ac_ext <<_ACEOF
19348 #line $LINENO "configure"
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19354 #include <stdlib.h>
19355 #include <stdarg.h>
19356 #include <string.h>
19367 rm -f conftest.$ac_objext
19368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19369 (eval $ac_compile) 2>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); } &&
19373 { ac_try='test -s conftest.$ac_objext'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; }; then
19379 ac_cv_header_stdc=yes
19381 echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.$ac_ext >&5
19384 ac_cv_header_stdc=no
19386 rm -f conftest.$ac_objext conftest.$ac_ext
19388 if test $ac_cv_header_stdc = yes; then
19389 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19390 cat >conftest.$ac_ext <<_ACEOF
19391 #line $LINENO "configure"
19394 cat confdefs.h >>conftest.$ac_ext
19395 cat >>conftest.$ac_ext <<_ACEOF
19396 /* end confdefs.h. */
19397 #include <string.h>
19400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19401 $EGREP "memchr" >/dev/null 2>&1; then
19404 ac_cv_header_stdc=no
19410 if test $ac_cv_header_stdc = yes; then
19411 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19412 cat >conftest.$ac_ext <<_ACEOF
19413 #line $LINENO "configure"
19416 cat confdefs.h >>conftest.$ac_ext
19417 cat >>conftest.$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419 #include <stdlib.h>
19422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19423 $EGREP "free" >/dev/null 2>&1; then
19426 ac_cv_header_stdc=no
19432 if test $ac_cv_header_stdc = yes; then
19433 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19434 if test "$cross_compiling" = yes; then
19437 cat >conftest.$ac_ext <<_ACEOF
19438 #line $LINENO "configure"
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19445 #if ((' ' & 0x0FF) == 0x020)
19446 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19447 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19449 # define ISLOWER(c) \
19450 (('a' <= (c) && (c) <= 'i') \
19451 || ('j' <= (c) && (c) <= 'r') \
19452 || ('s' <= (c) && (c) <= 'z'))
19453 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19456 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19461 for (i = 0; i < 256; i++)
19462 if (XOR (islower (i), ISLOWER (i))
19463 || toupper (i) != TOUPPER (i))
19468 rm -f conftest$ac_exeext
19469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19470 (eval $ac_link) 2>&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; }; then
19481 echo "$as_me: program exited with status $ac_status" >&5
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.$ac_ext >&5
19485 ( exit $ac_status )
19486 ac_cv_header_stdc=no
19488 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19492 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19493 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19494 if test $ac_cv_header_stdc = yes; then
19496 cat >>confdefs.h <<\_ACEOF
19497 #define STDC_HEADERS 1
19502 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19503 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19504 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19507 cat >conftest.$ac_ext <<_ACEOF
19508 #line $LINENO "configure"
19511 cat confdefs.h >>conftest.$ac_ext
19512 cat >>conftest.$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514 #include <sys/types.h>
19515 #include <sys/wait.h>
19516 #ifndef WEXITSTATUS
19517 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19520 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19528 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19533 rm -f conftest.$ac_objext
19534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19535 (eval $ac_compile) 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } &&
19539 { ac_try='test -s conftest.$ac_objext'
19540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541 (eval $ac_try) 2>&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; }; then
19545 ac_cv_header_sys_wait_h=yes
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19550 ac_cv_header_sys_wait_h=no
19552 rm -f conftest.$ac_objext conftest.$ac_ext
19554 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19555 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19556 if test $ac_cv_header_sys_wait_h = yes; then
19558 cat >>confdefs.h <<\_ACEOF
19559 #define HAVE_SYS_WAIT_H 1
19573 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19577 echo "$as_me:$LINENO: checking for $ac_header" >&5
19578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19580 echo $ECHO_N "(cached) $ECHO_C" >&6
19582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19585 # Is the header compilable?
19586 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19587 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19588 cat >conftest.$ac_ext <<_ACEOF
19589 #line $LINENO "configure"
19592 cat confdefs.h >>conftest.$ac_ext
19593 cat >>conftest.$ac_ext <<_ACEOF
19594 /* end confdefs.h. */
19595 $ac_includes_default
19596 #include <$ac_header>
19598 rm -f conftest.$ac_objext
19599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19600 (eval $ac_compile) 2>&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); } &&
19604 { ac_try='test -s conftest.$ac_objext'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; }; then
19610 ac_header_compiler=yes
19612 echo "$as_me: failed program was:" >&5
19613 sed 's/^/| /' conftest.$ac_ext >&5
19615 ac_header_compiler=no
19617 rm -f conftest.$ac_objext conftest.$ac_ext
19618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19619 echo "${ECHO_T}$ac_header_compiler" >&6
19621 # Is the header present?
19622 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19623 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19624 cat >conftest.$ac_ext <<_ACEOF
19625 #line $LINENO "configure"
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 #include <$ac_header>
19633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19636 grep -v '^ *+' conftest.er1 >conftest.err
19638 cat conftest.err >&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); } >/dev/null; then
19641 if test -s conftest.err; then
19642 ac_cpp_err=$ac_c_preproc_warn_flag
19649 if test -z "$ac_cpp_err"; then
19650 ac_header_preproc=yes
19652 echo "$as_me: failed program was:" >&5
19653 sed 's/^/| /' conftest.$ac_ext >&5
19655 ac_header_preproc=no
19657 rm -f conftest.err conftest.$ac_ext
19658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19659 echo "${ECHO_T}$ac_header_preproc" >&6
19661 # So? What about this header?
19662 case $ac_header_compiler:$ac_header_preproc in
19664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19665 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19670 ## ------------------------------------ ##
19671 ## Report this to bug-autoconf@gnu.org. ##
19672 ## ------------------------------------ ##
19675 sed "s/^/$as_me: WARNING: /" >&2
19678 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19679 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19680 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19681 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19686 ## ------------------------------------ ##
19687 ## Report this to bug-autoconf@gnu.org. ##
19688 ## ------------------------------------ ##
19691 sed "s/^/$as_me: WARNING: /" >&2
19694 echo "$as_me:$LINENO: checking for $ac_header" >&5
19695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19697 echo $ECHO_N "(cached) $ECHO_C" >&6
19699 eval "$as_ac_Header=$ac_header_preproc"
19701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19706 cat >>confdefs.h <<_ACEOF
19707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19719 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19723 echo "$as_me:$LINENO: checking for $ac_header" >&5
19724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19731 # Is the header compilable?
19732 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19734 cat >conftest.$ac_ext <<_ACEOF
19735 #line $LINENO "configure"
19738 cat confdefs.h >>conftest.$ac_ext
19739 cat >>conftest.$ac_ext <<_ACEOF
19740 /* end confdefs.h. */
19741 $ac_includes_default
19742 #include <$ac_header>
19744 rm -f conftest.$ac_objext
19745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19746 (eval $ac_compile) 2>&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); } &&
19750 { ac_try='test -s conftest.$ac_objext'
19751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19752 (eval $ac_try) 2>&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); }; }; then
19756 ac_header_compiler=yes
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19761 ac_header_compiler=no
19763 rm -f conftest.$ac_objext conftest.$ac_ext
19764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19765 echo "${ECHO_T}$ac_header_compiler" >&6
19767 # Is the header present?
19768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19770 cat >conftest.$ac_ext <<_ACEOF
19771 #line $LINENO "configure"
19774 cat confdefs.h >>conftest.$ac_ext
19775 cat >>conftest.$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19777 #include <$ac_header>
19779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19782 grep -v '^ *+' conftest.er1 >conftest.err
19784 cat conftest.err >&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } >/dev/null; then
19787 if test -s conftest.err; then
19788 ac_cpp_err=$ac_c_preproc_warn_flag
19795 if test -z "$ac_cpp_err"; then
19796 ac_header_preproc=yes
19798 echo "$as_me: failed program was:" >&5
19799 sed 's/^/| /' conftest.$ac_ext >&5
19801 ac_header_preproc=no
19803 rm -f conftest.err conftest.$ac_ext
19804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19805 echo "${ECHO_T}$ac_header_preproc" >&6
19807 # So? What about this header?
19808 case $ac_header_compiler:$ac_header_preproc in
19810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&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: WARNING: $ac_header: present but cannot be compiled" >&5
19825 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19826 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19827 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19832 ## ------------------------------------ ##
19833 ## Report this to bug-autoconf@gnu.org. ##
19834 ## ------------------------------------ ##
19837 sed "s/^/$as_me: WARNING: /" >&2
19840 echo "$as_me:$LINENO: checking for $ac_header" >&5
19841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19843 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 eval "$as_ac_Header=$ac_header_preproc"
19847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19852 cat >>confdefs.h <<_ACEOF
19853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19863 for ac_header in dlfcn.h link.h
19865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19867 echo "$as_me:$LINENO: checking for $ac_header" >&5
19868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19870 echo $ECHO_N "(cached) $ECHO_C" >&6
19872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19875 # Is the header compilable?
19876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19878 cat >conftest.$ac_ext <<_ACEOF
19879 #line $LINENO "configure"
19882 cat confdefs.h >>conftest.$ac_ext
19883 cat >>conftest.$ac_ext <<_ACEOF
19884 /* end confdefs.h. */
19885 $ac_includes_default
19886 #include <$ac_header>
19888 rm -f conftest.$ac_objext
19889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19890 (eval $ac_compile) 2>&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); } &&
19894 { ac_try='test -s conftest.$ac_objext'
19895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19896 (eval $ac_try) 2>&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); }; }; then
19900 ac_header_compiler=yes
19902 echo "$as_me: failed program was:" >&5
19903 sed 's/^/| /' conftest.$ac_ext >&5
19905 ac_header_compiler=no
19907 rm -f conftest.$ac_objext conftest.$ac_ext
19908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19909 echo "${ECHO_T}$ac_header_compiler" >&6
19911 # Is the header present?
19912 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19914 cat >conftest.$ac_ext <<_ACEOF
19915 #line $LINENO "configure"
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 #include <$ac_header>
19923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19926 grep -v '^ *+' conftest.er1 >conftest.err
19928 cat conftest.err >&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); } >/dev/null; then
19931 if test -s conftest.err; then
19932 ac_cpp_err=$ac_c_preproc_warn_flag
19939 if test -z "$ac_cpp_err"; then
19940 ac_header_preproc=yes
19942 echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.$ac_ext >&5
19945 ac_header_preproc=no
19947 rm -f conftest.err conftest.$ac_ext
19948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19949 echo "${ECHO_T}$ac_header_preproc" >&6
19951 # So? What about this header?
19952 case $ac_header_compiler:$ac_header_preproc in
19954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19955 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&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: WARNING: $ac_header: present but cannot be compiled" >&5
19969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19971 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19973 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19976 ## ------------------------------------ ##
19977 ## Report this to bug-autoconf@gnu.org. ##
19978 ## ------------------------------------ ##
19981 sed "s/^/$as_me: WARNING: /" >&2
19984 echo "$as_me:$LINENO: checking for $ac_header" >&5
19985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19987 echo $ECHO_N "(cached) $ECHO_C" >&6
19989 eval "$as_ac_Header=$ac_header_preproc"
19991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19996 cat >>confdefs.h <<_ACEOF
19997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20006 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20007 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20008 if test "${ac_cv_c_const+set}" = set; then
20009 echo $ECHO_N "(cached) $ECHO_C" >&6
20011 cat >conftest.$ac_ext <<_ACEOF
20012 #line $LINENO "configure"
20015 cat confdefs.h >>conftest.$ac_ext
20016 cat >>conftest.$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20022 /* FIXME: Include the comments suggested by Paul. */
20023 #ifndef __cplusplus
20024 /* Ultrix mips cc rejects this. */
20025 typedef int charset[2];
20027 /* SunOS 4.1.1 cc rejects this. */
20028 char const *const *ccp;
20030 /* NEC SVR4.0.2 mips cc rejects this. */
20031 struct point {int x, y;};
20032 static struct point const zero = {0,0};
20033 /* AIX XL C 1.02.0.0 rejects this.
20034 It does not let you subtract one const X* pointer from another in
20035 an arm of an if-expression whose if-part is not a constant
20037 const char *g = "string";
20038 ccp = &g + (g ? g-g : 0);
20039 /* HPUX 7.0 cc rejects these. */
20042 ccp = (char const *const *) p;
20043 { /* SCO 3.2v4 cc rejects this. */
20045 char const *s = 0 ? (char *) 0 : (char const *) 0;
20049 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20050 int x[] = {25, 17};
20051 const int *foo = &x[0];
20054 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20055 typedef const int *iptr;
20059 { /* AIX XL C 1.02.0.0 rejects this saying
20060 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20061 struct s { int j; const int *ap[3]; };
20062 struct s *b; b->j = 5;
20064 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20065 const int foo = 10;
20073 rm -f conftest.$ac_objext
20074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20075 (eval $ac_compile) 2>&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } &&
20079 { ac_try='test -s conftest.$ac_objext'
20080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20081 (eval $ac_try) 2>&5
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); }; }; then
20087 echo "$as_me: failed program was:" >&5
20088 sed 's/^/| /' conftest.$ac_ext >&5
20092 rm -f conftest.$ac_objext conftest.$ac_ext
20094 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20095 echo "${ECHO_T}$ac_cv_c_const" >&6
20096 if test $ac_cv_c_const = no; then
20098 cat >>confdefs.h <<\_ACEOF
20104 echo "$as_me:$LINENO: checking for inline" >&5
20105 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20106 if test "${ac_cv_c_inline+set}" = set; then
20107 echo $ECHO_N "(cached) $ECHO_C" >&6
20110 for ac_kw in inline __inline__ __inline; do
20111 cat >conftest.$ac_ext <<_ACEOF
20112 #line $LINENO "configure"
20115 cat confdefs.h >>conftest.$ac_ext
20116 cat >>conftest.$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20118 #ifndef __cplusplus
20120 static $ac_kw foo_t static_foo () {return 0; }
20121 $ac_kw foo_t foo () {return 0; }
20125 rm -f conftest.$ac_objext
20126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20127 (eval $ac_compile) 2>&5
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); } &&
20131 { ac_try='test -s conftest.$ac_objext'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; }; then
20137 ac_cv_c_inline=$ac_kw; break
20139 echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.$ac_ext >&5
20143 rm -f conftest.$ac_objext conftest.$ac_ext
20147 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20148 echo "${ECHO_T}$ac_cv_c_inline" >&6
20149 case $ac_cv_c_inline in
20152 cat >>confdefs.h <<\_ACEOF
20156 *) cat >>confdefs.h <<_ACEOF
20157 #define inline $ac_cv_c_inline
20163 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20164 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20165 if test "${ac_cv_c_bigendian+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 # See if sys/param.h defines the BYTE_ORDER macro.
20169 cat >conftest.$ac_ext <<_ACEOF
20170 #line $LINENO "configure"
20173 cat confdefs.h >>conftest.$ac_ext
20174 cat >>conftest.$ac_ext <<_ACEOF
20175 /* end confdefs.h. */
20176 #include <sys/types.h>
20177 #include <sys/param.h>
20182 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20183 bogus endian macros
20190 rm -f conftest.$ac_objext
20191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20192 (eval $ac_compile) 2>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try='test -s conftest.$ac_objext'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; }; then
20202 # It does; now see whether it defined to BIG_ENDIAN or not.
20203 cat >conftest.$ac_ext <<_ACEOF
20204 #line $LINENO "configure"
20207 cat confdefs.h >>conftest.$ac_ext
20208 cat >>conftest.$ac_ext <<_ACEOF
20209 /* end confdefs.h. */
20210 #include <sys/types.h>
20211 #include <sys/param.h>
20216 #if BYTE_ORDER != BIG_ENDIAN
20224 rm -f conftest.$ac_objext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20226 (eval $ac_compile) 2>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } &&
20230 { ac_try='test -s conftest.$ac_objext'
20231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232 (eval $ac_try) 2>&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; }; then
20236 ac_cv_c_bigendian=yes
20238 echo "$as_me: failed program was:" >&5
20239 sed 's/^/| /' conftest.$ac_ext >&5
20241 ac_cv_c_bigendian=no
20243 rm -f conftest.$ac_objext conftest.$ac_ext
20245 echo "$as_me: failed program was:" >&5
20246 sed 's/^/| /' conftest.$ac_ext >&5
20248 # It does not; compile a test program.
20249 if test "$cross_compiling" = yes; then
20250 # try to guess the endianness by grepping values into an object file
20251 ac_cv_c_bigendian=unknown
20252 cat >conftest.$ac_ext <<_ACEOF
20253 #line $LINENO "configure"
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20260 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20261 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20262 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20263 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20264 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20268 _ascii (); _ebcdic ();
20273 rm -f conftest.$ac_objext
20274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20275 (eval $ac_compile) 2>&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } &&
20279 { ac_try='test -s conftest.$ac_objext'
20280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20281 (eval $ac_try) 2>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); }; }; then
20285 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20286 ac_cv_c_bigendian=yes
20288 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20289 if test "$ac_cv_c_bigendian" = unknown; then
20290 ac_cv_c_bigendian=no
20292 # finding both strings is unlikely to happen, but who knows?
20293 ac_cv_c_bigendian=unknown
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.$ac_ext >&5
20301 rm -f conftest.$ac_objext conftest.$ac_ext
20303 cat >conftest.$ac_ext <<_ACEOF
20304 #line $LINENO "configure"
20307 cat confdefs.h >>conftest.$ac_ext
20308 cat >>conftest.$ac_ext <<_ACEOF
20309 /* end confdefs.h. */
20313 /* Are we little or big endian? From Harbison&Steele. */
20317 char c[sizeof (long)];
20320 exit (u.c[sizeof (long) - 1] == 1);
20323 rm -f conftest$ac_exeext
20324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20325 (eval $ac_link) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330 (eval $ac_try) 2>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; }; then
20334 ac_cv_c_bigendian=no
20336 echo "$as_me: program exited with status $ac_status" >&5
20337 echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.$ac_ext >&5
20340 ( exit $ac_status )
20341 ac_cv_c_bigendian=yes
20343 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20346 rm -f conftest.$ac_objext conftest.$ac_ext
20348 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20349 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20350 case $ac_cv_c_bigendian in
20352 cat >>confdefs.h <<\_ACEOF
20353 #define ENDIAN_BIG 1
20357 cat >>confdefs.h <<\_ACEOF
20358 #define ENDIAN_LITTLE 1
20362 { { echo "$as_me:$LINENO: error: unknown endianness
20363 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20364 echo "$as_me: error: unknown endianness
20365 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20366 { (exit 1); exit 1; }; } ;;
20370 echo "$as_me:$LINENO: checking for pid_t" >&5
20371 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20372 if test "${ac_cv_type_pid_t+set}" = set; then
20373 echo $ECHO_N "(cached) $ECHO_C" >&6
20375 cat >conftest.$ac_ext <<_ACEOF
20376 #line $LINENO "configure"
20379 cat confdefs.h >>conftest.$ac_ext
20380 cat >>conftest.$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 $ac_includes_default
20388 if (sizeof (pid_t))
20394 rm -f conftest.$ac_objext
20395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20396 (eval $ac_compile) 2>&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); } &&
20400 { ac_try='test -s conftest.$ac_objext'
20401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20402 (eval $ac_try) 2>&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); }; }; then
20406 ac_cv_type_pid_t=yes
20408 echo "$as_me: failed program was:" >&5
20409 sed 's/^/| /' conftest.$ac_ext >&5
20411 ac_cv_type_pid_t=no
20413 rm -f conftest.$ac_objext conftest.$ac_ext
20415 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20416 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20417 if test $ac_cv_type_pid_t = yes; then
20421 cat >>confdefs.h <<_ACEOF
20427 echo "$as_me:$LINENO: checking for size_t" >&5
20428 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20429 if test "${ac_cv_type_size_t+set}" = set; then
20430 echo $ECHO_N "(cached) $ECHO_C" >&6
20432 cat >conftest.$ac_ext <<_ACEOF
20433 #line $LINENO "configure"
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 $ac_includes_default
20445 if (sizeof (size_t))
20451 rm -f conftest.$ac_objext
20452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20453 (eval $ac_compile) 2>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); } &&
20457 { ac_try='test -s conftest.$ac_objext'
20458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459 (eval $ac_try) 2>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); }; }; then
20463 ac_cv_type_size_t=yes
20465 echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.$ac_ext >&5
20468 ac_cv_type_size_t=no
20470 rm -f conftest.$ac_objext conftest.$ac_ext
20472 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20473 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20474 if test $ac_cv_type_size_t = yes; then
20478 cat >>confdefs.h <<_ACEOF
20479 #define size_t unsigned
20484 echo "$as_me:$LINENO: checking for int64_t" >&5
20485 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20486 if test "${ac_cv_type_int64_t+set}" = set; then
20487 echo $ECHO_N "(cached) $ECHO_C" >&6
20489 cat >conftest.$ac_ext <<_ACEOF
20490 #line $LINENO "configure"
20493 cat confdefs.h >>conftest.$ac_ext
20494 cat >>conftest.$ac_ext <<_ACEOF
20495 /* end confdefs.h. */
20496 $ac_includes_default
20502 if (sizeof (int64_t))
20508 rm -f conftest.$ac_objext
20509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20510 (eval $ac_compile) 2>&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } &&
20514 { ac_try='test -s conftest.$ac_objext'
20515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20516 (eval $ac_try) 2>&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); }; }; then
20520 ac_cv_type_int64_t=yes
20522 echo "$as_me: failed program was:" >&5
20523 sed 's/^/| /' conftest.$ac_ext >&5
20525 ac_cv_type_int64_t=no
20527 rm -f conftest.$ac_objext conftest.$ac_ext
20529 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20530 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20531 if test $ac_cv_type_int64_t = yes; then
20533 cat >>confdefs.h <<_ACEOF
20534 #define HAVE_INT64_T 1
20539 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20540 echo "$as_me: error: Type int64_t required but not found" >&2;}
20541 { (exit 1); exit 1; }; }
20544 echo "$as_me:$LINENO: checking for uint64_t" >&5
20545 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20546 if test "${ac_cv_type_uint64_t+set}" = set; then
20547 echo $ECHO_N "(cached) $ECHO_C" >&6
20549 cat >conftest.$ac_ext <<_ACEOF
20550 #line $LINENO "configure"
20553 cat confdefs.h >>conftest.$ac_ext
20554 cat >>conftest.$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20556 $ac_includes_default
20560 if ((uint64_t *) 0)
20562 if (sizeof (uint64_t))
20568 rm -f conftest.$ac_objext
20569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20570 (eval $ac_compile) 2>&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } &&
20574 { ac_try='test -s conftest.$ac_objext'
20575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576 (eval $ac_try) 2>&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; }; then
20580 ac_cv_type_uint64_t=yes
20582 echo "$as_me: failed program was:" >&5
20583 sed 's/^/| /' conftest.$ac_ext >&5
20585 ac_cv_type_uint64_t=no
20587 rm -f conftest.$ac_objext conftest.$ac_ext
20589 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20590 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20591 if test $ac_cv_type_uint64_t = yes; then
20593 cat >>confdefs.h <<_ACEOF
20594 #define HAVE_UINT64_T 1
20599 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20600 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20601 { (exit 1); exit 1; }; }
20604 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20605 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20606 if test "${ac_cv_header_time+set}" = set; then
20607 echo $ECHO_N "(cached) $ECHO_C" >&6
20609 cat >conftest.$ac_ext <<_ACEOF
20610 #line $LINENO "configure"
20613 cat confdefs.h >>conftest.$ac_ext
20614 cat >>conftest.$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20616 #include <sys/types.h>
20617 #include <sys/time.h>
20623 if ((struct tm *) 0)
20629 rm -f conftest.$ac_objext
20630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20631 (eval $ac_compile) 2>&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } &&
20635 { ac_try='test -s conftest.$ac_objext'
20636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20637 (eval $ac_try) 2>&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); }; }; then
20641 ac_cv_header_time=yes
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.$ac_ext >&5
20646 ac_cv_header_time=no
20648 rm -f conftest.$ac_objext conftest.$ac_ext
20650 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20651 echo "${ECHO_T}$ac_cv_header_time" >&6
20652 if test $ac_cv_header_time = yes; then
20654 cat >>confdefs.h <<\_ACEOF
20655 #define TIME_WITH_SYS_TIME 1
20660 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20661 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20662 if test "${ac_cv_struct_tm+set}" = set; then
20663 echo $ECHO_N "(cached) $ECHO_C" >&6
20665 cat >conftest.$ac_ext <<_ACEOF
20666 #line $LINENO "configure"
20669 cat confdefs.h >>conftest.$ac_ext
20670 cat >>conftest.$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672 #include <sys/types.h>
20678 struct tm *tp; tp->tm_sec;
20683 rm -f conftest.$ac_objext
20684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20685 (eval $ac_compile) 2>&5
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); } &&
20689 { ac_try='test -s conftest.$ac_objext'
20690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691 (eval $ac_try) 2>&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; }; then
20695 ac_cv_struct_tm=time.h
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20700 ac_cv_struct_tm=sys/time.h
20702 rm -f conftest.$ac_objext conftest.$ac_ext
20704 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20705 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20706 if test $ac_cv_struct_tm = sys/time.h; then
20708 cat >>confdefs.h <<\_ACEOF
20709 #define TM_IN_SYS_TIME 1
20715 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20716 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20717 if test "${ac_cv_cxx_namespaces+set}" = set; then
20718 echo $ECHO_N "(cached) $ECHO_C" >&6
20723 ac_cpp='$CXXCPP $CPPFLAGS'
20724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20728 cat >conftest.$ac_ext <<_ACEOF
20729 #line $LINENO "configure"
20732 cat confdefs.h >>conftest.$ac_ext
20733 cat >>conftest.$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 namespace Outer { namespace Inner { int i = 0; }}
20739 using namespace Outer::Inner; return i;
20744 rm -f conftest.$ac_objext
20745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20746 (eval $ac_compile) 2>&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); } &&
20750 { ac_try='test -s conftest.$ac_objext'
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
20756 ac_cv_cxx_namespaces=yes
20758 echo "$as_me: failed program was:" >&5
20759 sed 's/^/| /' conftest.$ac_ext >&5
20761 ac_cv_cxx_namespaces=no
20763 rm -f conftest.$ac_objext conftest.$ac_ext
20765 ac_cpp='$CPP $CPPFLAGS'
20766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20772 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20773 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20774 if test "$ac_cv_cxx_namespaces" = yes; then
20776 cat >>confdefs.h <<\_ACEOF
20777 #define HAVE_NAMESPACES
20782 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20783 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20784 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20785 echo $ECHO_N "(cached) $ECHO_C" >&6
20791 ac_cpp='$CXXCPP $CPPFLAGS'
20792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20796 cat >conftest.$ac_ext <<_ACEOF
20797 #line $LINENO "configure"
20800 cat confdefs.h >>conftest.$ac_ext
20801 cat >>conftest.$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 #include <ext/hash_map>
20804 #ifdef HAVE_NAMESPACES
20805 using namespace std;
20810 hash_map<int, int> t; return 0;
20815 rm -f conftest.$ac_objext
20816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20817 (eval $ac_compile) 2>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } &&
20821 { ac_try='test -s conftest.$ac_objext'
20822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20823 (eval $ac_try) 2>&5
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); }; }; then
20827 ac_cv_cxx_have_ext_hash_map=std
20829 echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.$ac_ext >&5
20832 ac_cv_cxx_have_ext_hash_map=no
20834 rm -f conftest.$ac_objext conftest.$ac_ext
20835 cat >conftest.$ac_ext <<_ACEOF
20836 #line $LINENO "configure"
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 #include <ext/hash_map>
20843 #ifdef HAVE_NAMESPACES
20844 using namespace __gnu_cxx;
20849 hash_map<int, int> t; return 0;
20854 rm -f conftest.$ac_objext
20855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20856 (eval $ac_compile) 2>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try='test -s conftest.$ac_objext'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; }; then
20866 ac_cv_cxx_have_ext_hash_map=gnu
20868 echo "$as_me: failed program was:" >&5
20869 sed 's/^/| /' conftest.$ac_ext >&5
20871 ac_cv_cxx_have_ext_hash_map=no
20873 rm -f conftest.$ac_objext conftest.$ac_ext
20875 ac_cpp='$CPP $CPPFLAGS'
20876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20882 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20883 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20884 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20886 cat >>confdefs.h <<\_ACEOF
20887 #define HAVE_STD_EXT_HASH_MAP
20891 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20893 cat >>confdefs.h <<\_ACEOF
20894 #define HAVE_GNU_EXT_HASH_MAP
20899 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20900 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20901 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20902 echo $ECHO_N "(cached) $ECHO_C" >&6
20908 ac_cpp='$CXXCPP $CPPFLAGS'
20909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20913 cat >conftest.$ac_ext <<_ACEOF
20914 #line $LINENO "configure"
20917 cat confdefs.h >>conftest.$ac_ext
20918 cat >>conftest.$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920 #include <ext/hash_set>
20921 #ifdef HAVE_NAMESPACES
20922 using namespace std;
20927 hash_set<int> t; return 0;
20932 rm -f conftest.$ac_objext
20933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20934 (eval $ac_compile) 2>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } &&
20938 { ac_try='test -s conftest.$ac_objext'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; }; then
20944 ac_cv_cxx_have_ext_hash_set=std
20946 echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.$ac_ext >&5
20949 ac_cv_cxx_have_ext_hash_set=no
20951 rm -f conftest.$ac_objext conftest.$ac_ext
20952 cat >conftest.$ac_ext <<_ACEOF
20953 #line $LINENO "configure"
20956 cat confdefs.h >>conftest.$ac_ext
20957 cat >>conftest.$ac_ext <<_ACEOF
20958 /* end confdefs.h. */
20959 #include <ext/hash_set>
20960 #ifdef HAVE_NAMESPACES
20961 using namespace __gnu_cxx;
20966 hash_set<int> t; return 0;
20971 rm -f conftest.$ac_objext
20972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20973 (eval $ac_compile) 2>&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); } &&
20977 { ac_try='test -s conftest.$ac_objext'
20978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20979 (eval $ac_try) 2>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); }; }; then
20983 ac_cv_cxx_have_ext_hash_set=gnu
20985 echo "$as_me: failed program was:" >&5
20986 sed 's/^/| /' conftest.$ac_ext >&5
20988 ac_cv_cxx_have_ext_hash_set=no
20990 rm -f conftest.$ac_objext conftest.$ac_ext
20992 ac_cpp='$CPP $CPPFLAGS'
20993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20999 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
21000 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
21001 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
21003 cat >>confdefs.h <<\_ACEOF
21004 #define HAVE_STD_EXT_HASH_SET
21008 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21010 cat >>confdefs.h <<\_ACEOF
21011 #define HAVE_GNU_EXT_HASH_SET
21016 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21017 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21018 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21019 echo $ECHO_N "(cached) $ECHO_C" >&6
21025 ac_cpp='$CXXCPP $CPPFLAGS'
21026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21030 cat >conftest.$ac_ext <<_ACEOF
21031 #line $LINENO "configure"
21034 cat confdefs.h >>conftest.$ac_ext
21035 cat >>conftest.$ac_ext <<_ACEOF
21036 /* end confdefs.h. */
21037 #include <ext/slist>
21038 #ifdef HAVE_NAMESPACES
21039 using namespace std;
21044 slist<int> s; return 0;
21049 rm -f conftest.$ac_objext
21050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21051 (eval $ac_compile) 2>&5
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); } &&
21055 { ac_try='test -s conftest.$ac_objext'
21056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21057 (eval $ac_try) 2>&5
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); }; }; then
21061 ac_cv_cxx_have_ext_slist=std
21063 echo "$as_me: failed program was:" >&5
21064 sed 's/^/| /' conftest.$ac_ext >&5
21066 ac_cv_cxx_have_ext_slist=no
21068 rm -f conftest.$ac_objext conftest.$ac_ext
21069 cat >conftest.$ac_ext <<_ACEOF
21070 #line $LINENO "configure"
21073 cat confdefs.h >>conftest.$ac_ext
21074 cat >>conftest.$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21076 #include <ext/slist>
21077 #ifdef HAVE_NAMESPACES
21078 using namespace __gnu_cxx;
21083 slist<int> s; return 0;
21088 rm -f conftest.$ac_objext
21089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21090 (eval $ac_compile) 2>&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } &&
21094 { ac_try='test -s conftest.$ac_objext'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; }; then
21100 ac_cv_cxx_have_ext_slist=gnu
21102 echo "$as_me: failed program was:" >&5
21103 sed 's/^/| /' conftest.$ac_ext >&5
21105 ac_cv_cxx_have_ext_slist=no
21107 rm -f conftest.$ac_objext conftest.$ac_ext
21110 ac_cpp='$CPP $CPPFLAGS'
21111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21117 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21118 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21119 if test "$ac_cv_cxx_have_ext_slist" = std; then
21121 cat >>confdefs.h <<\_ACEOF
21122 #define HAVE_EXT_SLIST std
21126 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21128 cat >>confdefs.h <<\_ACEOF
21129 #define HAVE_EXT_SLIST gnu
21134 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21135 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21136 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21137 echo $ECHO_N "(cached) $ECHO_C" >&6
21143 ac_cpp='$CXXCPP $CPPFLAGS'
21144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21148 cat >conftest.$ac_ext <<_ACEOF
21149 #line $LINENO "configure"
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 #include <iterator>
21156 #ifdef HAVE_NAMESPACES
21157 using namespace std;
21162 iterator<int,int,int> t; return 0;
21167 rm -f conftest.$ac_objext
21168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21169 (eval $ac_compile) 2>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); } &&
21173 { ac_try='test -s conftest.$ac_objext'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; }; then
21179 ac_cv_cxx_have_std_iterator=yes
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21184 ac_cv_cxx_have_std_iterator=no
21186 rm -f conftest.$ac_objext conftest.$ac_ext
21188 ac_cpp='$CPP $CPPFLAGS'
21189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21195 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21196 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21197 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21199 cat >>confdefs.h <<\_ACEOF
21200 #define HAVE_STD_ITERATOR
21205 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21206 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21207 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21208 echo $ECHO_N "(cached) $ECHO_C" >&6
21214 ac_cpp='$CXXCPP $CPPFLAGS'
21215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21219 cat >conftest.$ac_ext <<_ACEOF
21220 #line $LINENO "configure"
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 #include <iterator>
21227 #ifdef HAVE_NAMESPACES
21228 using namespace std;
21233 bidirectional_iterator<int,int> t; return 0;
21238 rm -f conftest.$ac_objext
21239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21240 (eval $ac_compile) 2>&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); } &&
21244 { ac_try='test -s conftest.$ac_objext'
21245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246 (eval $ac_try) 2>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; }; then
21250 ac_cv_cxx_have_bi_iterator=yes
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.$ac_ext >&5
21255 ac_cv_cxx_have_bi_iterator=no
21257 rm -f conftest.$ac_objext conftest.$ac_ext
21259 ac_cpp='$CPP $CPPFLAGS'
21260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21266 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21267 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21268 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21270 cat >>confdefs.h <<\_ACEOF
21271 #define HAVE_BI_ITERATOR
21276 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21277 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21278 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21279 echo $ECHO_N "(cached) $ECHO_C" >&6
21285 ac_cpp='$CXXCPP $CPPFLAGS'
21286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21290 cat >conftest.$ac_ext <<_ACEOF
21291 #line $LINENO "configure"
21294 cat confdefs.h >>conftest.$ac_ext
21295 cat >>conftest.$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297 #include <iterator>
21298 #ifdef HAVE_NAMESPACES
21299 using namespace std;
21304 forward_iterator<int,int> t; return 0;
21309 rm -f conftest.$ac_objext
21310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21311 (eval $ac_compile) 2>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); } &&
21315 { ac_try='test -s conftest.$ac_objext'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; }; then
21321 ac_cv_cxx_have_fwd_iterator=yes
21323 echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.$ac_ext >&5
21326 ac_cv_cxx_have_fwd_iterator=no
21328 rm -f conftest.$ac_objext conftest.$ac_ext
21330 ac_cpp='$CPP $CPPFLAGS'
21331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21337 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21338 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21339 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21341 cat >>confdefs.h <<\_ACEOF
21342 #define HAVE_FWD_ITERATOR
21348 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21349 # for constant arguments. Useless!
21350 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21351 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21352 if test "${ac_cv_working_alloca_h+set}" = set; then
21353 echo $ECHO_N "(cached) $ECHO_C" >&6
21355 cat >conftest.$ac_ext <<_ACEOF
21356 #line $LINENO "configure"
21359 cat confdefs.h >>conftest.$ac_ext
21360 cat >>conftest.$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 #include <alloca.h>
21366 char *p = (char *) alloca (2 * sizeof (int));
21371 rm -f conftest.$ac_objext conftest$ac_exeext
21372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21373 (eval $ac_link) 2>&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); } &&
21377 { ac_try='test -s conftest$ac_exeext'
21378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21379 (eval $ac_try) 2>&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); }; }; then
21383 ac_cv_working_alloca_h=yes
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.$ac_ext >&5
21388 ac_cv_working_alloca_h=no
21390 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21392 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21393 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21394 if test $ac_cv_working_alloca_h = yes; then
21396 cat >>confdefs.h <<\_ACEOF
21397 #define HAVE_ALLOCA_H 1
21402 echo "$as_me:$LINENO: checking for alloca" >&5
21403 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21404 if test "${ac_cv_func_alloca_works+set}" = set; then
21405 echo $ECHO_N "(cached) $ECHO_C" >&6
21407 cat >conftest.$ac_ext <<_ACEOF
21408 #line $LINENO "configure"
21411 cat confdefs.h >>conftest.$ac_ext
21412 cat >>conftest.$ac_ext <<_ACEOF
21413 /* end confdefs.h. */
21415 # define alloca __builtin_alloca
21418 # include <malloc.h>
21419 # define alloca _alloca
21422 # include <alloca.h>
21427 # ifndef alloca /* predefined by HP cc +Olibcalls */
21438 char *p = (char *) alloca (1);
21443 rm -f conftest.$ac_objext conftest$ac_exeext
21444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21445 (eval $ac_link) 2>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try='test -s conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_func_alloca_works=yes
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.$ac_ext >&5
21460 ac_cv_func_alloca_works=no
21462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21464 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21465 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21467 if test $ac_cv_func_alloca_works = yes; then
21469 cat >>confdefs.h <<\_ACEOF
21470 #define HAVE_ALLOCA 1
21474 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21475 # that cause trouble. Some versions do not even contain alloca or
21476 # contain a buggy version. If you still want to use their alloca,
21477 # use ar to extract alloca.o from them instead of compiling alloca.c.
21479 ALLOCA=alloca.$ac_objext
21481 cat >>confdefs.h <<\_ACEOF
21486 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21487 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21488 if test "${ac_cv_os_cray+set}" = set; then
21489 echo $ECHO_N "(cached) $ECHO_C" >&6
21491 cat >conftest.$ac_ext <<_ACEOF
21492 #line $LINENO "configure"
21495 cat confdefs.h >>conftest.$ac_ext
21496 cat >>conftest.$ac_ext <<_ACEOF
21497 /* end confdefs.h. */
21498 #if defined(CRAY) && ! defined(CRAY2)
21505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21506 $EGREP "webecray" >/dev/null 2>&1; then
21514 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21515 echo "${ECHO_T}$ac_cv_os_cray" >&6
21516 if test $ac_cv_os_cray = yes; then
21517 for ac_func in _getb67 GETB67 getb67; do
21518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21519 echo "$as_me:$LINENO: checking for $ac_func" >&5
21520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21521 if eval "test \"\${$as_ac_var+set}\" = set"; then
21522 echo $ECHO_N "(cached) $ECHO_C" >&6
21524 cat >conftest.$ac_ext <<_ACEOF
21525 #line $LINENO "configure"
21528 cat confdefs.h >>conftest.$ac_ext
21529 cat >>conftest.$ac_ext <<_ACEOF
21530 /* end confdefs.h. */
21531 /* System header to define __stub macros and hopefully few prototypes,
21532 which can conflict with char $ac_func (); below.
21533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21534 <limits.h> exists even on freestanding compilers. */
21536 # include <limits.h>
21538 # include <assert.h>
21540 /* Override any gcc2 internal prototype to avoid an error. */
21545 /* We use char because int might match the return type of a gcc2
21546 builtin and then its argument prototype would still apply. */
21548 /* The GNU C library defines this for functions which it implements
21549 to always fail with ENOSYS. Some functions are actually named
21550 something starting with __ and the normal name is an alias. */
21551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21554 char (*f) () = $ac_func;
21563 return f != $ac_func;
21568 rm -f conftest.$ac_objext conftest$ac_exeext
21569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21570 (eval $ac_link) 2>&5
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); } &&
21574 { ac_try='test -s conftest$ac_exeext'
21575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21576 (eval $ac_try) 2>&5
21578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579 (exit $ac_status); }; }; then
21580 eval "$as_ac_var=yes"
21582 echo "$as_me: failed program was:" >&5
21583 sed 's/^/| /' conftest.$ac_ext >&5
21585 eval "$as_ac_var=no"
21587 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21591 if test `eval echo '${'$as_ac_var'}'` = yes; then
21593 cat >>confdefs.h <<_ACEOF
21594 #define CRAY_STACKSEG_END $ac_func
21603 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21604 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21605 if test "${ac_cv_c_stack_direction+set}" = set; then
21606 echo $ECHO_N "(cached) $ECHO_C" >&6
21608 if test "$cross_compiling" = yes; then
21609 ac_cv_c_stack_direction=0
21611 cat >conftest.$ac_ext <<_ACEOF
21612 #line $LINENO "configure"
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21619 find_stack_direction ()
21621 static char *addr = 0;
21626 return find_stack_direction ();
21629 return (&dummy > addr) ? 1 : -1;
21635 exit (find_stack_direction () < 0);
21638 rm -f conftest$ac_exeext
21639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21640 (eval $ac_link) 2>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21645 (eval $ac_try) 2>&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); }; }; then
21649 ac_cv_c_stack_direction=1
21651 echo "$as_me: program exited with status $ac_status" >&5
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.$ac_ext >&5
21655 ( exit $ac_status )
21656 ac_cv_c_stack_direction=-1
21658 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21661 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21662 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21664 cat >>confdefs.h <<_ACEOF
21665 #define STACK_DIRECTION $ac_cv_c_stack_direction
21671 if test $ac_cv_c_compiler_gnu = yes; then
21672 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21673 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21674 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21675 echo $ECHO_N "(cached) $ECHO_C" >&6
21677 ac_pattern="Autoconf.*'x'"
21678 cat >conftest.$ac_ext <<_ACEOF
21679 #line $LINENO "configure"
21682 cat confdefs.h >>conftest.$ac_ext
21683 cat >>conftest.$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21689 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21690 ac_cv_prog_gcc_traditional=yes
21692 ac_cv_prog_gcc_traditional=no
21697 if test $ac_cv_prog_gcc_traditional = no; then
21698 cat >conftest.$ac_ext <<_ACEOF
21699 #line $LINENO "configure"
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 #include <termio.h>
21708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21709 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21710 ac_cv_prog_gcc_traditional=yes
21716 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21717 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21718 if test $ac_cv_prog_gcc_traditional = yes; then
21719 CC="$CC -traditional"
21723 echo "$as_me:$LINENO: checking for working memcmp" >&5
21724 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21725 if test "${ac_cv_func_memcmp_working+set}" = set; then
21726 echo $ECHO_N "(cached) $ECHO_C" >&6
21728 if test "$cross_compiling" = yes; then
21729 ac_cv_func_memcmp_working=no
21731 cat >conftest.$ac_ext <<_ACEOF
21732 #line $LINENO "configure"
21735 cat confdefs.h >>conftest.$ac_ext
21736 cat >>conftest.$ac_ext <<_ACEOF
21737 /* end confdefs.h. */
21743 /* Some versions of memcmp are not 8-bit clean. */
21744 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21745 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21748 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21749 or more and with at least one buffer not starting on a 4-byte boundary.
21750 William Lewis provided this test program. */
21755 for (i = 0; i < 4; i++)
21759 strcpy (a, "--------01111111");
21760 strcpy (b, "--------10000000");
21761 if (memcmp (a, b, 16) >= 0)
21771 rm -f conftest$ac_exeext
21772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21773 (eval $ac_link) 2>&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778 (eval $ac_try) 2>&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; }; then
21782 ac_cv_func_memcmp_working=yes
21784 echo "$as_me: program exited with status $ac_status" >&5
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.$ac_ext >&5
21788 ( exit $ac_status )
21789 ac_cv_func_memcmp_working=no
21791 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21794 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21795 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21796 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21800 for ac_header in stdlib.h unistd.h
21802 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21804 echo "$as_me:$LINENO: checking for $ac_header" >&5
21805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21807 echo $ECHO_N "(cached) $ECHO_C" >&6
21809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21812 # Is the header compilable?
21813 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21814 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21815 cat >conftest.$ac_ext <<_ACEOF
21816 #line $LINENO "configure"
21819 cat confdefs.h >>conftest.$ac_ext
21820 cat >>conftest.$ac_ext <<_ACEOF
21821 /* end confdefs.h. */
21822 $ac_includes_default
21823 #include <$ac_header>
21825 rm -f conftest.$ac_objext
21826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21827 (eval $ac_compile) 2>&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); } &&
21831 { ac_try='test -s conftest.$ac_objext'
21832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21833 (eval $ac_try) 2>&5
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); }; }; then
21837 ac_header_compiler=yes
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.$ac_ext >&5
21842 ac_header_compiler=no
21844 rm -f conftest.$ac_objext conftest.$ac_ext
21845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21846 echo "${ECHO_T}$ac_header_compiler" >&6
21848 # Is the header present?
21849 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21850 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21851 cat >conftest.$ac_ext <<_ACEOF
21852 #line $LINENO "configure"
21855 cat confdefs.h >>conftest.$ac_ext
21856 cat >>conftest.$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21858 #include <$ac_header>
21860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21861 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21863 grep -v '^ *+' conftest.er1 >conftest.err
21865 cat conftest.err >&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } >/dev/null; then
21868 if test -s conftest.err; then
21869 ac_cpp_err=$ac_c_preproc_warn_flag
21876 if test -z "$ac_cpp_err"; then
21877 ac_header_preproc=yes
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21882 ac_header_preproc=no
21884 rm -f conftest.err conftest.$ac_ext
21885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21886 echo "${ECHO_T}$ac_header_preproc" >&6
21888 # So? What about this header?
21889 case $ac_header_compiler:$ac_header_preproc in
21891 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21892 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21897 ## ------------------------------------ ##
21898 ## Report this to bug-autoconf@gnu.org. ##
21899 ## ------------------------------------ ##
21902 sed "s/^/$as_me: WARNING: /" >&2
21905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21910 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21913 ## ------------------------------------ ##
21914 ## Report this to bug-autoconf@gnu.org. ##
21915 ## ------------------------------------ ##
21918 sed "s/^/$as_me: WARNING: /" >&2
21921 echo "$as_me:$LINENO: checking for $ac_header" >&5
21922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21924 echo $ECHO_N "(cached) $ECHO_C" >&6
21926 eval "$as_ac_Header=$ac_header_preproc"
21928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21933 cat >>confdefs.h <<_ACEOF
21934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21942 for ac_func in getpagesize
21944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21945 echo "$as_me:$LINENO: checking for $ac_func" >&5
21946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21947 if eval "test \"\${$as_ac_var+set}\" = set"; then
21948 echo $ECHO_N "(cached) $ECHO_C" >&6
21950 cat >conftest.$ac_ext <<_ACEOF
21951 #line $LINENO "configure"
21954 cat confdefs.h >>conftest.$ac_ext
21955 cat >>conftest.$ac_ext <<_ACEOF
21956 /* end confdefs.h. */
21957 /* System header to define __stub macros and hopefully few prototypes,
21958 which can conflict with char $ac_func (); below.
21959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21960 <limits.h> exists even on freestanding compilers. */
21962 # include <limits.h>
21964 # include <assert.h>
21966 /* Override any gcc2 internal prototype to avoid an error. */
21971 /* We use char because int might match the return type of a gcc2
21972 builtin and then its argument prototype would still apply. */
21974 /* The GNU C library defines this for functions which it implements
21975 to always fail with ENOSYS. Some functions are actually named
21976 something starting with __ and the normal name is an alias. */
21977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21980 char (*f) () = $ac_func;
21989 return f != $ac_func;
21994 rm -f conftest.$ac_objext conftest$ac_exeext
21995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21996 (eval $ac_link) 2>&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); } &&
22000 { ac_try='test -s conftest$ac_exeext'
22001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22002 (eval $ac_try) 2>&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; }; then
22006 eval "$as_ac_var=yes"
22008 echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22011 eval "$as_ac_var=no"
22013 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22017 if test `eval echo '${'$as_ac_var'}'` = yes; then
22018 cat >>confdefs.h <<_ACEOF
22019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22025 echo "$as_me:$LINENO: checking for working mmap" >&5
22026 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22027 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22028 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 if test "$cross_compiling" = yes; then
22031 ac_cv_func_mmap_fixed_mapped=no
22033 cat >conftest.$ac_ext <<_ACEOF
22034 #line $LINENO "configure"
22037 cat confdefs.h >>conftest.$ac_ext
22038 cat >>conftest.$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040 $ac_includes_default
22041 /* malloc might have been renamed as rpl_malloc. */
22044 /* Thanks to Mike Haertel and Jim Avera for this test.
22045 Here is a matrix of mmap possibilities:
22046 mmap private not fixed
22047 mmap private fixed at somewhere currently unmapped
22048 mmap private fixed at somewhere already mapped
22049 mmap shared not fixed
22050 mmap shared fixed at somewhere currently unmapped
22051 mmap shared fixed at somewhere already mapped
22052 For private mappings, we should verify that changes cannot be read()
22053 back from the file, nor mmap's back from the file at a different
22054 address. (There have been systems where private was not correctly
22055 implemented like the infamous i386 svr4.0, and systems where the
22056 VM page cache was not coherent with the file system buffer cache
22057 like early versions of FreeBSD and possibly contemporary NetBSD.)
22058 For shared mappings, we should conversely verify that changes get
22059 propagated back to all the places they're supposed to be.
22061 Grep wants private fixed already mapped.
22062 The main things grep needs to know about mmap are:
22063 * does it exist and is it safe to write into the mmap'd area
22064 * how to use it (BSD variants) */
22067 #include <sys/mman.h>
22069 #if !STDC_HEADERS && !HAVE_STDLIB_H
22073 /* This mess was copied from the GNU getpagesize.h. */
22074 #if !HAVE_GETPAGESIZE
22075 /* Assume that all systems that can run configure have sys/param.h. */
22076 # if !HAVE_SYS_PARAM_H
22077 # define HAVE_SYS_PARAM_H 1
22080 # ifdef _SC_PAGESIZE
22081 # define getpagesize() sysconf(_SC_PAGESIZE)
22082 # else /* no _SC_PAGESIZE */
22083 # if HAVE_SYS_PARAM_H
22084 # include <sys/param.h>
22085 # ifdef EXEC_PAGESIZE
22086 # define getpagesize() EXEC_PAGESIZE
22087 # else /* no EXEC_PAGESIZE */
22089 # define getpagesize() NBPG * CLSIZE
22092 # endif /* no CLSIZE */
22093 # else /* no NBPG */
22095 # define getpagesize() NBPC
22096 # else /* no NBPC */
22098 # define getpagesize() PAGESIZE
22099 # endif /* PAGESIZE */
22100 # endif /* no NBPC */
22101 # endif /* no NBPG */
22102 # endif /* no EXEC_PAGESIZE */
22103 # else /* no HAVE_SYS_PARAM_H */
22104 # define getpagesize() 8192 /* punt totally */
22105 # endif /* no HAVE_SYS_PARAM_H */
22106 # endif /* no _SC_PAGESIZE */
22108 #endif /* no HAVE_GETPAGESIZE */
22113 char *data, *data2, *data3;
22117 pagesize = getpagesize ();
22119 /* First, make a file with some known garbage in it. */
22120 data = (char *) malloc (pagesize);
22123 for (i = 0; i < pagesize; ++i)
22124 *(data + i) = rand ();
22126 fd = creat ("conftest.mmap", 0600);
22129 if (write (fd, data, pagesize) != pagesize)
22133 /* Next, try to mmap the file at a fixed address which already has
22134 something else allocated at it. If we can, also make sure that
22135 we see the same garbage. */
22136 fd = open ("conftest.mmap", O_RDWR);
22139 data2 = (char *) malloc (2 * pagesize);
22142 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22143 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22144 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22146 for (i = 0; i < pagesize; ++i)
22147 if (*(data + i) != *(data2 + i))
22150 /* Finally, make sure that changes to the mapped area do not
22151 percolate back to the file as seen by read(). (This is a bug on
22152 some variants of i386 svr4.0.) */
22153 for (i = 0; i < pagesize; ++i)
22154 *(data2 + i) = *(data2 + i) + 1;
22155 data3 = (char *) malloc (pagesize);
22158 if (read (fd, data3, pagesize) != pagesize)
22160 for (i = 0; i < pagesize; ++i)
22161 if (*(data + i) != *(data3 + i))
22167 rm -f conftest$ac_exeext
22168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22169 (eval $ac_link) 2>&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22174 (eval $ac_try) 2>&5
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; }; then
22178 ac_cv_func_mmap_fixed_mapped=yes
22180 echo "$as_me: program exited with status $ac_status" >&5
22181 echo "$as_me: failed program was:" >&5
22182 sed 's/^/| /' conftest.$ac_ext >&5
22184 ( exit $ac_status )
22185 ac_cv_func_mmap_fixed_mapped=no
22187 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22190 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22191 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22192 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22194 cat >>confdefs.h <<\_ACEOF
22195 #define HAVE_MMAP 1
22199 rm -f conftest.mmap
22201 echo "$as_me:$LINENO: checking for mmap of files" >&5
22202 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22203 if test "${ac_cv_func_mmap_file+set}" = set; then
22204 echo $ECHO_N "(cached) $ECHO_C" >&6
22209 ac_cpp='$CPP $CPPFLAGS'
22210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22214 if test "$cross_compiling" = yes; then
22215 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22216 See \`config.log' for more details." >&5
22217 echo "$as_me: error: cannot run test program while cross compiling
22218 See \`config.log' for more details." >&2;}
22219 { (exit 1); exit 1; }; }
22221 cat >conftest.$ac_ext <<_ACEOF
22222 #line $LINENO "configure"
22225 cat confdefs.h >>conftest.$ac_ext
22226 cat >>conftest.$ac_ext <<_ACEOF
22227 /* end confdefs.h. */
22229 #ifdef HAVE_SYS_MMAN_H
22230 #include <sys/mman.h>
22233 #ifdef HAVE_SYS_TYPES_H
22234 #include <sys/types.h>
22237 #ifdef HAVE_FCNTL_H
22243 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22245 rm -f conftest$ac_exeext
22246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22247 (eval $ac_link) 2>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22252 (eval $ac_try) 2>&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); }; }; then
22256 ac_cv_func_mmap_file=yes
22258 echo "$as_me: program exited with status $ac_status" >&5
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.$ac_ext >&5
22262 ( exit $ac_status )
22263 ac_cv_func_mmap_file=no
22265 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22268 ac_cpp='$CPP $CPPFLAGS'
22269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22275 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22276 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22277 if test "$ac_cv_func_mmap_file" = yes; then
22278 cat >>confdefs.h <<\_ACEOF
22279 #define HAVE_MMAP_FILE 1
22286 if test ${ac_cv_func_mmap_file} = "no"
22288 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22289 echo "$as_me: error: mmap() of files required but not found" >&2;}
22290 { (exit 1); exit 1; }; }
22292 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22293 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22294 if test "${ac_cv_header_mmap_anon+set}" = set; then
22295 echo $ECHO_N "(cached) $ECHO_C" >&6
22300 ac_cpp='$CPP $CPPFLAGS'
22301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22305 cat >conftest.$ac_ext <<_ACEOF
22306 #line $LINENO "configure"
22309 cat confdefs.h >>conftest.$ac_ext
22310 cat >>conftest.$ac_ext <<_ACEOF
22311 /* end confdefs.h. */
22312 #include <sys/mman.h>
22313 #include <unistd.h>
22318 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22323 rm -f conftest.$ac_objext
22324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22325 (eval $ac_compile) 2>&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); } &&
22329 { ac_try='test -s conftest.$ac_objext'
22330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22331 (eval $ac_try) 2>&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); }; }; then
22335 ac_cv_header_mmap_anon=yes
22337 echo "$as_me: failed program was:" >&5
22338 sed 's/^/| /' conftest.$ac_ext >&5
22340 ac_cv_header_mmap_anon=no
22342 rm -f conftest.$ac_objext conftest.$ac_ext
22344 ac_cpp='$CPP $CPPFLAGS'
22345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22351 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22352 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22353 if test "$ac_cv_header_mmap_anon" = yes; then
22354 cat >>confdefs.h <<\_ACEOF
22355 #define HAVE_MMAP_ANONYMOUS 1
22360 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22361 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22362 if test "${ac_cv_type_signal+set}" = set; then
22363 echo $ECHO_N "(cached) $ECHO_C" >&6
22365 cat >conftest.$ac_ext <<_ACEOF
22366 #line $LINENO "configure"
22369 cat confdefs.h >>conftest.$ac_ext
22370 cat >>conftest.$ac_ext <<_ACEOF
22371 /* end confdefs.h. */
22372 #include <sys/types.h>
22373 #include <signal.h>
22378 extern "C" void (*signal (int, void (*)(int)))(int);
22380 void (*signal ()) ();
22391 rm -f conftest.$ac_objext
22392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22393 (eval $ac_compile) 2>&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); } &&
22397 { ac_try='test -s conftest.$ac_objext'
22398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399 (eval $ac_try) 2>&5
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; }; then
22403 ac_cv_type_signal=void
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22408 ac_cv_type_signal=int
22410 rm -f conftest.$ac_objext conftest.$ac_ext
22412 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22413 echo "${ECHO_T}$ac_cv_type_signal" >&6
22415 cat >>confdefs.h <<_ACEOF
22416 #define RETSIGTYPE $ac_cv_type_signal
22429 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22432 echo "$as_me:$LINENO: checking for $ac_func" >&5
22433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22434 if eval "test \"\${$as_ac_var+set}\" = set"; then
22435 echo $ECHO_N "(cached) $ECHO_C" >&6
22437 cat >conftest.$ac_ext <<_ACEOF
22438 #line $LINENO "configure"
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 /* System header to define __stub macros and hopefully few prototypes,
22445 which can conflict with char $ac_func (); below.
22446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22447 <limits.h> exists even on freestanding compilers. */
22449 # include <limits.h>
22451 # include <assert.h>
22453 /* Override any gcc2 internal prototype to avoid an error. */
22458 /* We use char because int might match the return type of a gcc2
22459 builtin and then its argument prototype would still apply. */
22461 /* The GNU C library defines this for functions which it implements
22462 to always fail with ENOSYS. Some functions are actually named
22463 something starting with __ and the normal name is an alias. */
22464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22467 char (*f) () = $ac_func;
22476 return f != $ac_func;
22481 rm -f conftest.$ac_objext conftest$ac_exeext
22482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22483 (eval $ac_link) 2>&5
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); } &&
22487 { ac_try='test -s conftest$ac_exeext'
22488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22489 (eval $ac_try) 2>&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); }; }; then
22493 eval "$as_ac_var=yes"
22495 echo "$as_me: failed program was:" >&5
22496 sed 's/^/| /' conftest.$ac_ext >&5
22498 eval "$as_ac_var=no"
22500 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22504 if test `eval echo '${'$as_ac_var'}'` = yes; then
22505 cat >>confdefs.h <<_ACEOF
22506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22514 echo "$as_me:$LINENO: checking for mmap" >&5
22515 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22516 if test "${ac_cv_func_mmap+set}" = set; then
22517 echo $ECHO_N "(cached) $ECHO_C" >&6
22519 cat >conftest.$ac_ext <<_ACEOF
22520 #line $LINENO "configure"
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526 /* System header to define __stub macros and hopefully few prototypes,
22527 which can conflict with char mmap (); below.
22528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22529 <limits.h> exists even on freestanding compilers. */
22531 # include <limits.h>
22533 # include <assert.h>
22535 /* Override any gcc2 internal prototype to avoid an error. */
22540 /* We use char because int might match the return type of a gcc2
22541 builtin and then its argument prototype would still apply. */
22543 /* The GNU C library defines this for functions which it implements
22544 to always fail with ENOSYS. Some functions are actually named
22545 something starting with __ and the normal name is an alias. */
22546 #if defined (__stub_mmap) || defined (__stub___mmap)
22549 char (*f) () = mmap;
22563 rm -f conftest.$ac_objext conftest$ac_exeext
22564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22565 (eval $ac_link) 2>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } &&
22569 { ac_try='test -s conftest$ac_exeext'
22570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22571 (eval $ac_try) 2>&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); }; }; then
22575 ac_cv_func_mmap=yes
22577 echo "$as_me: failed program was:" >&5
22578 sed 's/^/| /' conftest.$ac_ext >&5
22582 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22584 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22585 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22586 if test $ac_cv_func_mmap = yes; then
22589 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22590 echo "$as_me: error: Function mmap() required but not found" >&2;}
22591 { (exit 1); exit 1; }; }
22594 echo "$as_me:$LINENO: checking for mprotect" >&5
22595 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22596 if test "${ac_cv_func_mprotect+set}" = set; then
22597 echo $ECHO_N "(cached) $ECHO_C" >&6
22599 cat >conftest.$ac_ext <<_ACEOF
22600 #line $LINENO "configure"
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 /* System header to define __stub macros and hopefully few prototypes,
22607 which can conflict with char mprotect (); below.
22608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22609 <limits.h> exists even on freestanding compilers. */
22611 # include <limits.h>
22613 # include <assert.h>
22615 /* Override any gcc2 internal prototype to avoid an error. */
22620 /* We use char because int might match the return type of a gcc2
22621 builtin and then its argument prototype would still apply. */
22623 /* The GNU C library defines this for functions which it implements
22624 to always fail with ENOSYS. Some functions are actually named
22625 something starting with __ and the normal name is an alias. */
22626 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22629 char (*f) () = mprotect;
22638 return f != mprotect;
22643 rm -f conftest.$ac_objext conftest$ac_exeext
22644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22645 (eval $ac_link) 2>&5
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); } &&
22649 { ac_try='test -s conftest$ac_exeext'
22650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22651 (eval $ac_try) 2>&5
22653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 (exit $ac_status); }; }; then
22655 ac_cv_func_mprotect=yes
22657 echo "$as_me: failed program was:" >&5
22658 sed 's/^/| /' conftest.$ac_ext >&5
22660 ac_cv_func_mprotect=no
22662 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22664 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22665 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22666 if test $ac_cv_func_mprotect = yes; then
22669 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22670 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22671 { (exit 1); exit 1; }; }
22676 # Check whether --enable-purify or --disable-purify was given.
22677 if test "${enable_purify+set}" = set; then
22678 enableval="$enable_purify"
22683 if test ${enableval} = "no"
22688 ENABLE_PURIFY=ENABLE_PURIFY=1
22692 # Check whether --enable-optimized or --disable-optimized was given.
22693 if test "${enable_optimized+set}" = set; then
22694 enableval="$enable_optimized"
22699 if test ${enableval} = "no"
22704 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22708 # Check whether --enable-spec or --disable-spec was given.
22709 if test "${enable_spec+set}" = set; then
22710 enableval="$enable_spec"
22715 if test ${enableval} = "no"
22720 USE_SPEC=USE_SPEC=1
22724 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22725 if test "${enable_precompiled_bytecode+set}" = set; then
22726 enableval="$enable_precompiled_bytecode"
22731 if test ${enableval} = "no"
22736 UPB=USE_PRECOMPILED_BYTECODE=1
22741 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22742 if test "${enable_llc_diffs+set}" = set; then
22743 enableval="$enable_llc_diffs"
22748 if test ${enableval} = "no"
22750 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22757 # Check whether --enable-jit or --disable-jit was given.
22758 if test "${enable_jit+set}" = set; then
22759 enableval="$enable_jit"
22765 if test ${enableval} = "no"
22772 JIT=TARGET_HAS_JIT=1
22776 JIT=TARGET_HAS_JIT=1
22788 # Check whether --with-spec or --without-spec was given.
22789 if test "${with_spec+set}" = set; then
22790 withval="$with_spec"
22794 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22799 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22800 if test "${with_llvmgccdir+set}" = set; then
22801 withval="$with_llvmgccdir"
22802 LLVMGCCDIR=$withval
22807 # Check whether --with-bcrepos or --without-bcrepos was given.
22808 if test "${with_bcrepos+set}" = set; then
22809 withval="$with_bcrepos"
22813 BCR=/home/vadve/lattner/LLVMPrograms
22818 # Check whether --with-papi or --without-papi was given.
22819 if test "${with_papi+set}" = set; then
22820 withval="$with_papi"
22824 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22829 # Check whether --with-purify or --without-purify was given.
22830 if test "${with_purify+set}" = set; then
22831 withval="$with_purify"
22837 ac_config_files="$ac_config_files Makefile.config"
22838 cat >confcache <<\_ACEOF
22839 # This file is a shell script that caches the results of configure
22840 # tests run on this system so they can be shared between configure
22841 # scripts and configure runs, see configure's option --config-cache.
22842 # It is not useful on other systems. If it contains results you don't
22843 # want to keep, you may remove or edit it.
22845 # config.status only pays attention to the cache file if you give it
22846 # the --recheck option to rerun configure.
22848 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22849 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22850 # following values.
22854 # The following way of writing the cache mishandles newlines in values,
22855 # but we know of no workaround that is simple, portable, and efficient.
22856 # So, don't put newlines in cache variables' values.
22857 # Ultrix sh set writes to stderr and can't be redirected directly,
22858 # and sets the high bit in the cache file unless we assign to the vars.
22861 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22863 # `set' does not quote correctly, so add quotes (double-quote
22864 # substitution turns \\\\ into \\, and sed turns \\ into \).
22867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22870 # `set' quotes correctly as required by POSIX, so do not add quotes.
22872 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22879 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22881 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22883 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22884 if test -w $cache_file; then
22885 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22886 cat confcache >$cache_file
22888 echo "not updating unwritable cache $cache_file"
22893 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22894 # Let make expand exec_prefix.
22895 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22897 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22898 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22899 # trailing colons and then remove the whole line if VPATH becomes empty
22900 # (actually we leave an empty line to preserve line numbers).
22901 if test "x$srcdir" = x.; then
22902 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22903 s/:*\$(srcdir):*/:/;
22904 s/:*\${srcdir}:*/:/;
22906 s/^\([^=]*=[ ]*\):*/\1/;
22912 DEFS=-DHAVE_CONFIG_H
22916 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22917 # 1. Remove the extension, and $U if already installed.
22918 ac_i=`echo "$ac_i" |
22919 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22921 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22922 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22924 LIBOBJS=$ac_libobjs
22926 LTLIBOBJS=$ac_ltlibobjs
22930 : ${CONFIG_STATUS=./config.status}
22931 ac_clean_files_save=$ac_clean_files
22932 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22933 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22934 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22935 cat >$CONFIG_STATUS <<_ACEOF
22937 # Generated by $as_me.
22938 # Run this file to recreate the current configuration.
22939 # Compiler output produced by configure, useful for debugging
22940 # configure, is in config.log if it exists.
22943 ac_cs_recheck=false
22945 SHELL=\${CONFIG_SHELL-$SHELL}
22948 cat >>$CONFIG_STATUS <<\_ACEOF
22949 ## --------------------- ##
22950 ## M4sh Initialization. ##
22951 ## --------------------- ##
22953 # Be Bourne compatible
22954 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22957 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22958 # is contrary to our usage. Disable this feature.
22959 alias -g '${1+"$@"}'='"$@"'
22960 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22964 # Support unset when possible.
22965 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22972 # Work around bugs in pre-3.0 UWIN ksh.
22973 $as_unset ENV MAIL MAILPATH
22980 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22981 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22982 LC_TELEPHONE LC_TIME
22984 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22985 eval $as_var=C; export $as_var
22991 # Required to use basename.
22992 if expr a : '\(a\)' >/dev/null 2>&1; then
22998 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22999 as_basename=basename
23005 # Name of the executable.
23006 as_me=`$as_basename "$0" ||
23007 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23008 X"$0" : 'X\(//\)$' \| \
23009 X"$0" : 'X\(/\)$' \| \
23010 . : '\(.\)' 2>/dev/null ||
23012 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23013 /^X\/\(\/\/\)$/{ s//\1/; q; }
23014 /^X\/\(\/\).*/{ s//\1/; q; }
23018 # PATH needs CR, and LINENO needs CR and PATH.
23019 # Avoid depending upon Character Ranges.
23020 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23021 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23022 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23023 as_cr_digits='0123456789'
23024 as_cr_alnum=$as_cr_Letters$as_cr_digits
23026 # The user is always right.
23027 if test "${PATH_SEPARATOR+set}" != set; then
23028 echo "#! /bin/sh" >conf$$.sh
23029 echo "exit 0" >>conf$$.sh
23031 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23040 as_lineno_1=$LINENO
23041 as_lineno_2=$LINENO
23042 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23043 test "x$as_lineno_1" != "x$as_lineno_2" &&
23044 test "x$as_lineno_3" = "x$as_lineno_2" || {
23045 # Find who we are. Look in the path if we contain no path at all
23048 *[\\/]* ) as_myself=$0 ;;
23049 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23050 for as_dir in $PATH
23053 test -z "$as_dir" && as_dir=.
23054 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23059 # We did not find ourselves, most probably we were run as `sh COMMAND'
23060 # in which case we are not to be found in the path.
23061 if test "x$as_myself" = x; then
23064 if test ! -f "$as_myself"; then
23065 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23066 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23067 { (exit 1); exit 1; }; }
23069 case $CONFIG_SHELL in
23071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23072 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23075 test -z "$as_dir" && as_dir=.
23076 for as_base in sh bash ksh sh5; do
23079 if ("$as_dir/$as_base" -c '
23080 as_lineno_1=$LINENO
23081 as_lineno_2=$LINENO
23082 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23083 test "x$as_lineno_1" != "x$as_lineno_2" &&
23084 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23085 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23086 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23087 CONFIG_SHELL=$as_dir/$as_base
23088 export CONFIG_SHELL
23089 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23097 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23098 # uniformly replaced by the line number. The first 'sed' inserts a
23099 # line-number line before each line; the second 'sed' does the real
23100 # work. The second script uses 'N' to pair each line-number line
23101 # with the numbered line, and appends trailing '-' during
23102 # substitution so that $LINENO is not a special case at line end.
23103 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23104 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23105 sed '=' <$as_myself |
23110 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23113 s,^['$as_cr_digits']*\n,,
23114 ' >$as_me.lineno &&
23115 chmod +x $as_me.lineno ||
23116 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23117 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23118 { (exit 1); exit 1; }; }
23120 # Don't try to exec as it changes $[0], causing all sort of problems
23121 # (the dirname of $[0] is not the place where we might find the
23122 # original and so on. Autoconf is especially sensible to this).
23124 # Exit status is that of the last command.
23129 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23130 *c*,-n*) ECHO_N= ECHO_C='
23132 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23133 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23136 if expr a : '\(a\)' >/dev/null 2>&1; then
23142 rm -f conf$$ conf$$.exe conf$$.file
23144 if ln -s conf$$.file conf$$ 2>/dev/null; then
23145 # We could just check for DJGPP; but this test a) works b) is more generic
23146 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23147 if test -f conf$$.exe; then
23148 # Don't use ln at all; we don't have any links
23153 elif ln conf$$.file conf$$ 2>/dev/null; then
23158 rm -f conf$$ conf$$.exe conf$$.file
23160 if mkdir -p . 2>/dev/null; then
23166 as_executable_p="test -f"
23168 # Sed expression to map a string onto a valid CPP name.
23169 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23171 # Sed expression to map a string onto a valid variable name.
23172 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23176 # We need space, tab and new line, in precisely that order.
23186 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23187 # report actual input values of CONFIG_FILES etc. instead of their
23188 # values after options handling. Logging --version etc. is OK.
23192 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23193 ## Running $as_me. ##
23198 This file was extended by [LLVM] $as_me [1.0], which was
23199 generated by GNU Autoconf 2.57. Invocation command line was
23201 CONFIG_FILES = $CONFIG_FILES
23202 CONFIG_HEADERS = $CONFIG_HEADERS
23203 CONFIG_LINKS = $CONFIG_LINKS
23204 CONFIG_COMMANDS = $CONFIG_COMMANDS
23208 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23212 # Files that config.status was made for.
23213 if test -n "$ac_config_files"; then
23214 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23217 if test -n "$ac_config_headers"; then
23218 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23221 if test -n "$ac_config_links"; then
23222 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23225 if test -n "$ac_config_commands"; then
23226 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23229 cat >>$CONFIG_STATUS <<\_ACEOF
23232 \`$as_me' instantiates files from templates according to the
23233 current configuration.
23235 Usage: $0 [OPTIONS] [FILE]...
23237 -h, --help print this help, then exit
23238 -V, --version print version number, then exit
23239 -q, --quiet do not print progress messages
23240 -d, --debug don't remove temporary files
23241 --recheck update $as_me by reconfiguring in the same conditions
23242 --file=FILE[:TEMPLATE]
23243 instantiate the configuration file FILE
23244 --header=FILE[:TEMPLATE]
23245 instantiate the configuration header FILE
23247 Configuration files:
23250 Configuration headers:
23253 Configuration commands:
23256 Report bugs to <bug-autoconf@gnu.org>."
23259 cat >>$CONFIG_STATUS <<_ACEOF
23261 [LLVM] config.status [1.0]
23262 configured by $0, generated by GNU Autoconf 2.57,
23263 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23265 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23266 Free Software Foundation, Inc.
23267 This config.status script is free software; the Free Software Foundation
23268 gives unlimited permission to copy, distribute and modify it."
23273 cat >>$CONFIG_STATUS <<\_ACEOF
23274 # If no file are specified by the user, then we need to provide default
23275 # value. By we need to know if files were specified by the user.
23281 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23282 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23290 *) # This is not an option, so the user has probably given explicit
23293 ac_need_defaults=false;;
23297 # Handling of the options.
23299 cat >>$CONFIG_STATUS <<\_ACEOF
23300 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23302 --version | --vers* | -V )
23303 echo "$ac_cs_version"; exit 0 ;;
23305 # Conflict between --help and --header
23306 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23307 Try \`$0 --help' for more information." >&5
23308 echo "$as_me: error: ambiguous option: $1
23309 Try \`$0 --help' for more information." >&2;}
23310 { (exit 1); exit 1; }; };;
23311 --help | --hel | -h )
23312 echo "$ac_cs_usage"; exit 0 ;;
23313 --debug | --d* | -d )
23315 --file | --fil | --fi | --f )
23317 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23318 ac_need_defaults=false;;
23319 --header | --heade | --head | --hea )
23321 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23322 ac_need_defaults=false;;
23323 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23324 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23327 # This is an error.
23328 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23329 Try \`$0 --help' for more information." >&5
23330 echo "$as_me: error: unrecognized option: $1
23331 Try \`$0 --help' for more information." >&2;}
23332 { (exit 1); exit 1; }; } ;;
23334 *) ac_config_targets="$ac_config_targets $1" ;;
23340 ac_configure_extra_args=
23342 if $ac_cs_silent; then
23344 ac_configure_extra_args="$ac_configure_extra_args --silent"
23348 cat >>$CONFIG_STATUS <<_ACEOF
23349 if \$ac_cs_recheck; then
23350 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23351 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23356 cat >>$CONFIG_STATUS <<_ACEOF
23358 # INIT-COMMANDS section.
23361 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTestDB/QMTest/llvm.py`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname support/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname support/lib/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname support/lib/Support/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Makefile`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Burg/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Burg/Doc/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/TableGen/Makefile`
23546 cat >>$CONFIG_STATUS <<\_ACEOF
23547 for ac_config_target in $ac_config_targets
23549 case "$ac_config_target" in
23550 # Handling of arguments.
23551 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23552 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23553 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23554 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23555 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23556 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23557 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23558 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23559 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23560 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23561 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23562 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23563 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23564 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23565 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23566 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23567 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23568 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23569 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23570 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23571 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23572 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23573 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23574 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23575 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23576 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23577 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23578 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23579 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23580 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23581 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23582 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23583 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23584 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23585 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23586 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23587 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23588 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23589 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23590 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23591 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23592 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23593 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23594 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23595 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23596 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23597 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23598 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23599 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23600 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23601 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23602 "test/QMTestDB/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTestDB/QMTest/llvm.py" ;;
23603 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23604 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23605 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23606 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23607 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23608 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23609 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23610 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23611 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23612 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23613 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23614 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23615 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23616 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23617 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23618 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23619 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23620 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23621 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23622 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23623 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23624 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23625 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23626 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23627 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23628 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23629 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23630 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23631 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23632 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23633 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23634 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23635 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23636 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23637 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23638 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23639 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23640 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23641 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23642 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23643 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23644 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23645 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23646 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23647 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23648 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23649 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23650 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23651 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23652 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23653 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23654 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23655 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23656 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23657 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23658 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23659 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23660 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23661 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23662 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23663 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23664 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23665 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23666 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23667 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23668 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23669 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23670 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23671 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23672 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23673 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23674 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23675 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23676 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23677 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23678 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23679 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23680 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23681 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23682 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23683 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23684 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23685 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23686 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23687 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23688 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23689 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23690 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23691 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23692 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23693 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23694 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23695 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23696 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23697 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23698 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23699 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23700 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23701 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23702 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23703 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23704 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23705 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23706 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23707 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23708 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23709 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23710 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23711 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23712 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23713 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23714 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23715 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23716 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23717 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23718 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23719 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23720 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23721 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23722 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23723 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23724 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23725 "support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/Makefile" ;;
23726 "support/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/lib/Makefile" ;;
23727 "support/lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/lib/Support/Makefile" ;;
23728 "support/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Makefile" ;;
23729 "support/tools/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Burg/Makefile" ;;
23730 "support/tools/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Burg/Doc/Makefile" ;;
23731 "support/tools/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/TableGen/Makefile" ;;
23732 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23733 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23734 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23735 { (exit 1); exit 1; }; };;
23739 # If the user did not use the arguments to specify the items to instantiate,
23740 # then the envvar interface is used. Set only those that are not.
23741 # We use the long form for the default assignment because of an extremely
23742 # bizarre bug on SunOS 4.1.3.
23743 if $ac_need_defaults; then
23744 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23745 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23746 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23749 # Have a temporary directory for convenience. Make it in the build tree
23750 # simply because there is no reason to put it here, and in addition,
23751 # creating and moving files from /tmp can sometimes cause problems.
23752 # Create a temporary directory, and hook for its removal unless debugging.
23755 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23756 trap '{ (exit 1); exit 1; }' 1 2 13 15
23759 # Create a (secure) tmp directory for tmp files.
23762 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23763 test -n "$tmp" && test -d "$tmp"
23766 tmp=./confstat$$-$RANDOM
23767 (umask 077 && mkdir $tmp)
23770 echo "$me: cannot create a temporary directory in ." >&2
23771 { (exit 1); exit 1; }
23776 cat >>$CONFIG_STATUS <<_ACEOF
23779 # CONFIG_FILES section.
23782 # No need to generate the scripts if there are no CONFIG_FILES.
23783 # This happens for instance when ./config.status config.h
23784 if test -n "\$CONFIG_FILES"; then
23785 # Protect against being on the right side of a sed subst in config.status.
23786 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23787 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23788 s,@SHELL@,$SHELL,;t t
23789 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23790 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23791 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23792 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23793 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23794 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23795 s,@exec_prefix@,$exec_prefix,;t t
23796 s,@prefix@,$prefix,;t t
23797 s,@program_transform_name@,$program_transform_name,;t t
23798 s,@bindir@,$bindir,;t t
23799 s,@sbindir@,$sbindir,;t t
23800 s,@libexecdir@,$libexecdir,;t t
23801 s,@datadir@,$datadir,;t t
23802 s,@sysconfdir@,$sysconfdir,;t t
23803 s,@sharedstatedir@,$sharedstatedir,;t t
23804 s,@localstatedir@,$localstatedir,;t t
23805 s,@libdir@,$libdir,;t t
23806 s,@includedir@,$includedir,;t t
23807 s,@oldincludedir@,$oldincludedir,;t t
23808 s,@infodir@,$infodir,;t t
23809 s,@mandir@,$mandir,;t t
23810 s,@build_alias@,$build_alias,;t t
23811 s,@host_alias@,$host_alias,;t t
23812 s,@target_alias@,$target_alias,;t t
23813 s,@DEFS@,$DEFS,;t t
23814 s,@ECHO_C@,$ECHO_C,;t t
23815 s,@ECHO_N@,$ECHO_N,;t t
23816 s,@ECHO_T@,$ECHO_T,;t t
23817 s,@LIBS@,$LIBS,;t t
23818 s,@subdirs@,$subdirs,;t t
23819 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23820 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23821 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23822 s,@build@,$build,;t t
23823 s,@build_cpu@,$build_cpu,;t t
23824 s,@build_vendor@,$build_vendor,;t t
23825 s,@build_os@,$build_os,;t t
23826 s,@host@,$host,;t t
23827 s,@host_cpu@,$host_cpu,;t t
23828 s,@host_vendor@,$host_vendor,;t t
23829 s,@host_os@,$host_os,;t t
23830 s,@target@,$target,;t t
23831 s,@target_cpu@,$target_cpu,;t t
23832 s,@target_vendor@,$target_vendor,;t t
23833 s,@target_os@,$target_os,;t t
23835 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23836 s,@ARCH@,$ARCH,;t t
23838 s,@CXXFLAGS@,$CXXFLAGS,;t t
23839 s,@LDFLAGS@,$LDFLAGS,;t t
23840 s,@CPPFLAGS@,$CPPFLAGS,;t t
23841 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23842 s,@EXEEXT@,$EXEEXT,;t t
23843 s,@OBJEXT@,$OBJEXT,;t t
23845 s,@CFLAGS@,$CFLAGS,;t t
23846 s,@ac_ct_CC@,$ac_ct_CC,;t t
23848 s,@ifGNUmake@,$ifGNUmake,;t t
23850 s,@LEXLIB@,$LEXLIB,;t t
23851 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23852 s,@YACC@,$YACC,;t t
23853 s,@EGREP@,$EGREP,;t t
23854 s,@LN_S@,$LN_S,;t t
23855 s,@ECHO@,$ECHO,;t t
23857 s,@ac_ct_AR@,$ac_ct_AR,;t t
23858 s,@RANLIB@,$RANLIB,;t t
23859 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23860 s,@STRIP@,$STRIP,;t t
23861 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23862 s,@CXXCPP@,$CXXCPP,;t t
23864 s,@FFLAGS@,$FFLAGS,;t t
23865 s,@ac_ct_F77@,$ac_ct_F77,;t t
23866 s,@LIBTOOL@,$LIBTOOL,;t t
23867 s,@RPWD@,$RPWD,;t t
23870 s,@MKDIR@,$MKDIR,;t t
23871 s,@DATE@,$DATE,;t t
23874 s,@ETAGS@,$ETAGS,;t t
23875 s,@PYTHON@,$PYTHON,;t t
23876 s,@QMTEST@,$QMTEST,;t t
23877 s,@ALLOCA@,$ALLOCA,;t t
23878 s,@LIBOBJS@,$LIBOBJS,;t t
23879 s,@MMAP_FILE@,$MMAP_FILE,;t t
23880 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23881 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23882 s,@USE_SPEC@,$USE_SPEC,;t t
23884 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23886 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23888 s,@PAPIDIR@,$PAPIDIR,;t t
23889 s,@PURIFY@,$PURIFY,;t t
23890 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23895 cat >>$CONFIG_STATUS <<\_ACEOF
23896 # Split the substitutions into bite-sized pieces for seds with
23897 # small command number limits, like on Digital OSF/1 and HP-UX.
23898 ac_max_sed_lines=48
23899 ac_sed_frag=1 # Number of current file.
23900 ac_beg=1 # First line for current file.
23901 ac_end=$ac_max_sed_lines # Line after last line for current file.
23904 while $ac_more_lines; do
23905 if test $ac_beg -gt 1; then
23906 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23908 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23910 if test ! -s $tmp/subs.frag; then
23911 ac_more_lines=false
23913 # The purpose of the label and of the branching condition is to
23914 # speed up the sed processing (if there are no `@' at all, there
23915 # is no need to browse any of the substitutions).
23916 # These are the two extra sed commands mentioned above.
23918 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23919 if test -z "$ac_sed_cmds"; then
23920 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23922 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23924 ac_sed_frag=`expr $ac_sed_frag + 1`
23926 ac_end=`expr $ac_end + $ac_max_sed_lines`
23929 if test -z "$ac_sed_cmds"; then
23932 fi # test -n "$CONFIG_FILES"
23935 cat >>$CONFIG_STATUS <<\_ACEOF
23936 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23937 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23939 - | *:- | *:-:* ) # input from stdin
23941 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23942 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23943 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23944 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23945 * ) ac_file_in=$ac_file.in ;;
23948 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23949 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23950 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23951 X"$ac_file" : 'X\(//\)[^/]' \| \
23952 X"$ac_file" : 'X\(//\)$' \| \
23953 X"$ac_file" : 'X\(/\)' \| \
23954 . : '\(.\)' 2>/dev/null ||
23956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23957 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23958 /^X\(\/\/\)$/{ s//\1/; q; }
23959 /^X\(\/\).*/{ s//\1/; q; }
23961 { if $as_mkdir_p; then
23966 while test ! -d "$as_dir"; do
23967 as_dirs="$as_dir $as_dirs"
23968 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23969 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23970 X"$as_dir" : 'X\(//\)[^/]' \| \
23971 X"$as_dir" : 'X\(//\)$' \| \
23972 X"$as_dir" : 'X\(/\)' \| \
23973 . : '\(.\)' 2>/dev/null ||
23975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23977 /^X\(\/\/\)$/{ s//\1/; q; }
23978 /^X\(\/\).*/{ s//\1/; q; }
23981 test ! -n "$as_dirs" || mkdir $as_dirs
23982 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23983 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23984 { (exit 1); exit 1; }; }; }
23988 if test "$ac_dir" != .; then
23989 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23990 # A "../" for each directory in $ac_dir_suffix.
23991 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23993 ac_dir_suffix= ac_top_builddir=
23997 .) # No --srcdir option. We are building in place.
23999 if test -z "$ac_top_builddir"; then
24002 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24004 [\\/]* | ?:[\\/]* ) # Absolute path.
24005 ac_srcdir=$srcdir$ac_dir_suffix;
24006 ac_top_srcdir=$srcdir ;;
24007 *) # Relative path.
24008 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24009 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24011 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24013 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24014 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24015 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24016 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24020 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24021 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24024 if test x"$ac_file" != x-; then
24025 { echo "$as_me:$LINENO: creating $ac_file" >&5
24026 echo "$as_me: creating $ac_file" >&6;}
24029 # Let's still pretend it is `configure' which instantiates (i.e., don't
24030 # use $as_me), people would be surprised to read:
24031 # /* config.h. Generated by config.status. */
24032 if test x"$ac_file" = x-; then
24035 configure_input="$ac_file. "
24037 configure_input=$configure_input"Generated from `echo $ac_file_in |
24038 sed 's,.*/,,'` by configure."
24040 # First look for the input files in the build tree, otherwise in the
24042 ac_file_inputs=`IFS=:
24043 for f in $ac_file_in; do
24045 -) echo $tmp/stdin ;;
24047 # Absolute (can't be DOS-style, as IFS=:)
24048 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24049 echo "$as_me: error: cannot find input file: $f" >&2;}
24050 { (exit 1); exit 1; }; }
24053 if test -f "$f"; then
24056 elif test -f "$srcdir/$f"; then
24061 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24062 echo "$as_me: error: cannot find input file: $f" >&2;}
24063 { (exit 1); exit 1; }; }
24066 done` || { (exit 1); exit 1; }
24068 cat >>$CONFIG_STATUS <<_ACEOF
24072 cat >>$CONFIG_STATUS <<\_ACEOF
24074 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24075 s,@configure_input@,$configure_input,;t t
24076 s,@srcdir@,$ac_srcdir,;t t
24077 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24078 s,@top_srcdir@,$ac_top_srcdir,;t t
24079 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24080 s,@builddir@,$ac_builddir,;t t
24081 s,@abs_builddir@,$ac_abs_builddir,;t t
24082 s,@top_builddir@,$ac_top_builddir,;t t
24083 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24084 s,@INSTALL@,$ac_INSTALL,;t t
24085 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24087 if test x"$ac_file" != x-; then
24088 mv $tmp/out $ac_file
24096 cat >>$CONFIG_STATUS <<\_ACEOF
24099 # CONFIG_HEADER section.
24102 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24103 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24105 # ac_d sets the value in "#define NAME VALUE" lines.
24106 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24107 ac_dB='[ ].*$,\1#\2'
24110 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24111 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24112 ac_uB='$,\1#\2define\3'
24116 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24117 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24119 - | *:- | *:-:* ) # input from stdin
24121 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24122 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24123 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24124 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24125 * ) ac_file_in=$ac_file.in ;;
24128 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24129 echo "$as_me: creating $ac_file" >&6;}
24131 # First look for the input files in the build tree, otherwise in the
24133 ac_file_inputs=`IFS=:
24134 for f in $ac_file_in; do
24136 -) echo $tmp/stdin ;;
24138 # Absolute (can't be DOS-style, as IFS=:)
24139 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24140 echo "$as_me: error: cannot find input file: $f" >&2;}
24141 { (exit 1); exit 1; }; }
24144 if test -f "$f"; then
24147 elif test -f "$srcdir/$f"; then
24152 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24153 echo "$as_me: error: cannot find input file: $f" >&2;}
24154 { (exit 1); exit 1; }; }
24157 done` || { (exit 1); exit 1; }
24158 # Remove the trailing spaces.
24159 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24163 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24164 # `conftest.undefs', that substitutes the proper values into
24165 # config.h.in to produce config.h. The first handles `#define'
24166 # templates, and the second `#undef' templates.
24167 # And first: Protect against being on the right side of a sed subst in
24168 # config.status. Protect against being in an unquoted here document
24169 # in config.status.
24170 rm -f conftest.defines conftest.undefs
24171 # Using a here document instead of a string reduces the quoting nightmare.
24172 # Putting comments in sed scripts is not portable.
24174 # `end' is used to avoid that the second main sed command (meant for
24175 # 0-ary CPP macros) applies to n-ary macro definitions.
24176 # See the Autoconf documentation for `clear'.
24177 cat >confdef2sed.sed <<\_ACEOF
24182 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24184 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24187 # If some macros were called several times there might be several times
24188 # the same #defines, which is useless. Nevertheless, we may not want to
24189 # sort them, since we want the *last* AC-DEFINE to be honored.
24190 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24191 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24192 rm -f confdef2sed.sed
24194 # This sed command replaces #undef with comments. This is necessary, for
24195 # example, in the case of _POSIX_SOURCE, which is predefined and required
24196 # on some systems where configure will not decide to define it.
24197 cat >>conftest.undefs <<\_ACEOF
24198 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24201 # Break up conftest.defines because some shells have a limit on the size
24202 # of here documents, and old seds have small limits too (100 cmds).
24203 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24204 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24205 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24206 echo ' :' >>$CONFIG_STATUS
24207 rm -f conftest.tail
24208 while grep . conftest.defines >/dev/null
24210 # Write a limited-size here document to $tmp/defines.sed.
24211 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24212 # Speed up: don't consider the non `#define' lines.
24213 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24214 # Work around the forget-to-reset-the-flag bug.
24215 echo 't clr' >>$CONFIG_STATUS
24216 echo ': clr' >>$CONFIG_STATUS
24217 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24219 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24221 mv $tmp/out $tmp/in
24223 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24224 rm -f conftest.defines
24225 mv conftest.tail conftest.defines
24227 rm -f conftest.defines
24228 echo ' fi # grep' >>$CONFIG_STATUS
24229 echo >>$CONFIG_STATUS
24231 # Break up conftest.undefs because some shells have a limit on the size
24232 # of here documents, and old seds have small limits too (100 cmds).
24233 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24234 rm -f conftest.tail
24235 while grep . conftest.undefs >/dev/null
24237 # Write a limited-size here document to $tmp/undefs.sed.
24238 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24239 # Speed up: don't consider the non `#undef'
24240 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24241 # Work around the forget-to-reset-the-flag bug.
24242 echo 't clr' >>$CONFIG_STATUS
24243 echo ': clr' >>$CONFIG_STATUS
24244 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24246 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24248 mv $tmp/out $tmp/in
24250 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24251 rm -f conftest.undefs
24252 mv conftest.tail conftest.undefs
24254 rm -f conftest.undefs
24256 cat >>$CONFIG_STATUS <<\_ACEOF
24257 # Let's still pretend it is `configure' which instantiates (i.e., don't
24258 # use $as_me), people would be surprised to read:
24259 # /* config.h. Generated by config.status. */
24260 if test x"$ac_file" = x-; then
24261 echo "/* Generated by configure. */" >$tmp/config.h
24263 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24265 cat $tmp/in >>$tmp/config.h
24267 if test x"$ac_file" != x-; then
24268 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24269 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24270 echo "$as_me: $ac_file is unchanged" >&6;}
24272 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24273 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24274 X"$ac_file" : 'X\(//\)[^/]' \| \
24275 X"$ac_file" : 'X\(//\)$' \| \
24276 X"$ac_file" : 'X\(/\)' \| \
24277 . : '\(.\)' 2>/dev/null ||
24279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24281 /^X\(\/\/\)$/{ s//\1/; q; }
24282 /^X\(\/\).*/{ s//\1/; q; }
24284 { if $as_mkdir_p; then
24289 while test ! -d "$as_dir"; do
24290 as_dirs="$as_dir $as_dirs"
24291 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24293 X"$as_dir" : 'X\(//\)[^/]' \| \
24294 X"$as_dir" : 'X\(//\)$' \| \
24295 X"$as_dir" : 'X\(/\)' \| \
24296 . : '\(.\)' 2>/dev/null ||
24298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24299 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24300 /^X\(\/\/\)$/{ s//\1/; q; }
24301 /^X\(\/\).*/{ s//\1/; q; }
24304 test ! -n "$as_dirs" || mkdir $as_dirs
24305 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24306 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24307 { (exit 1); exit 1; }; }; }
24310 mv $tmp/config.h $ac_file
24314 rm -f $tmp/config.h
24318 cat >>$CONFIG_STATUS <<\_ACEOF
24321 # CONFIG_COMMANDS section.
24323 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24324 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24325 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24326 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24327 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24328 X"$ac_dest" : 'X\(//\)[^/]' \| \
24329 X"$ac_dest" : 'X\(//\)$' \| \
24330 X"$ac_dest" : 'X\(/\)' \| \
24331 . : '\(.\)' 2>/dev/null ||
24333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24334 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24335 /^X\(\/\/\)$/{ s//\1/; q; }
24336 /^X\(\/\).*/{ s//\1/; q; }
24340 if test "$ac_dir" != .; then
24341 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24342 # A "../" for each directory in $ac_dir_suffix.
24343 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24345 ac_dir_suffix= ac_top_builddir=
24349 .) # No --srcdir option. We are building in place.
24351 if test -z "$ac_top_builddir"; then
24354 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24356 [\\/]* | ?:[\\/]* ) # Absolute path.
24357 ac_srcdir=$srcdir$ac_dir_suffix;
24358 ac_top_srcdir=$srcdir ;;
24359 *) # Relative path.
24360 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24361 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24363 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24365 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24366 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24367 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24368 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24371 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24372 echo "$as_me: executing $ac_dest commands" >&6;}
24374 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24375 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24376 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24377 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24378 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24379 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24380 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24381 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24382 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24383 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24384 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24385 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24386 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24387 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24388 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24389 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24390 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24391 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24392 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24393 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24394 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24395 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24396 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24397 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24398 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24399 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24400 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24401 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24402 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24403 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24404 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24405 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24406 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24407 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24408 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24409 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24410 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24411 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24412 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24413 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24414 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24415 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24416 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24417 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24418 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24419 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24420 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24421 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24422 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24423 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24424 test/QMTestDB/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTestDB/QMTest/llvm.py test/QMTestDB/QMTest/llvm.py ;;
24425 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24426 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24427 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24428 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24429 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24430 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24431 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24432 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24433 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24434 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24435 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24436 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24437 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24438 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24439 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24440 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24441 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24442 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24443 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 ;;
24444 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 ;;
24445 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 ;;
24446 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 ;;
24447 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 ;;
24448 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 ;;
24449 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 ;;
24450 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 ;;
24451 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 ;;
24452 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 ;;
24453 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 ;;
24454 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 ;;
24455 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 ;;
24456 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 ;;
24457 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 ;;
24458 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 ;;
24459 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24460 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24461 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24462 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24463 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 ;;
24464 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 ;;
24465 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 ;;
24466 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24467 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 ;;
24468 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 ;;
24469 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 ;;
24470 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 ;;
24471 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 ;;
24472 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 ;;
24473 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 ;;
24474 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 ;;
24475 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 ;;
24476 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 ;;
24477 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 ;;
24478 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 ;;
24479 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 ;;
24480 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 ;;
24481 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 ;;
24482 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 ;;
24483 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 ;;
24484 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 ;;
24485 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 ;;
24486 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 ;;
24487 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 ;;
24488 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 ;;
24489 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 ;;
24490 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 ;;
24491 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 ;;
24492 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 ;;
24493 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 ;;
24494 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 ;;
24495 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 ;;
24496 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 ;;
24497 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 ;;
24498 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 ;;
24499 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24500 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24501 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24502 test/Programs/NoSource/Moria-5.5.2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Moria-5.5.2/Makefile test/Programs/NoSource/Moria-5.5.2/Makefile ;;
24503 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24504 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24505 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24506 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24507 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24508 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24509 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 ;;
24510 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 ;;
24511 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 ;;
24512 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 ;;
24513 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24514 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24515 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 ;;
24516 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24517 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 ;;
24518 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 ;;
24519 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 ;;
24520 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24521 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24522 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24523 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24524 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24525 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24526 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24527 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24528 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24529 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24530 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24531 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24532 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24533 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24534 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24535 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24536 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24537 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24538 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24539 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24540 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24541 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24542 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24543 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24544 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24545 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24546 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24547 support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/Makefile support/Makefile ;;
24548 support/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/lib/Makefile support/lib/Makefile ;;
24549 support/lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/lib/Support/Makefile support/lib/Support/Makefile ;;
24550 support/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Makefile support/tools/Makefile ;;
24551 support/tools/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Burg/Makefile support/tools/Burg/Makefile ;;
24552 support/tools/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Burg/Doc/Makefile support/tools/Burg/Doc/Makefile ;;
24553 support/tools/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/TableGen/Makefile support/tools/TableGen/Makefile ;;
24558 cat >>$CONFIG_STATUS <<\_ACEOF
24560 { (exit 0); exit 0; }
24562 chmod +x $CONFIG_STATUS
24563 ac_clean_files=$ac_clean_files_save
24566 # configure is writing to config.log, and then calls config.status.
24567 # config.status does its own redirection, appending to config.log.
24568 # Unfortunately, on DOS this fails, as config.log is still kept open
24569 # by configure, so config.status won't be able to write to it; its
24570 # output is simply discarded. So we exec the FD to /dev/null,
24571 # effectively closing config.log, so it can be properly (re)opened and
24572 # appended to by config.status. When coming back to configure, we
24573 # need to make the FD available again.
24574 if test "$no_create" != yes; then
24576 ac_config_status_args=
24577 test "$silent" = yes &&
24578 ac_config_status_args="$ac_config_status_args --quiet"
24580 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24582 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24583 # would make configure fail if this is the last instruction.
24584 $ac_cs_success || { (exit 1); exit 1; }
24588 # CONFIG_SUBDIRS section.
24590 if test "$no_recursion" != yes; then
24592 # Remove --cache-file and --srcdir arguments so they do not pile up.
24593 ac_sub_configure_args=
24595 for ac_arg in $ac_configure_args; do
24596 if test -n "$ac_prev"; then
24601 -cache-file | --cache-file | --cache-fil | --cache-fi \
24602 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24603 ac_prev=cache_file ;;
24604 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24605 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24608 --config-cache | -C)
24610 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24612 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24614 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24616 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24618 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24622 # Always prepend --prefix to ensure using the same prefix
24623 # in subdir configurations.
24624 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24627 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24629 # Do not complain, so a configure script can configure whichever
24630 # parts of a large source tree are present.
24631 test -d $srcdir/$ac_dir || continue
24633 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24634 echo "$as_me: configuring in $ac_dir" >&6;}
24635 { if $as_mkdir_p; then
24640 while test ! -d "$as_dir"; do
24641 as_dirs="$as_dir $as_dirs"
24642 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24643 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24644 X"$as_dir" : 'X\(//\)[^/]' \| \
24645 X"$as_dir" : 'X\(//\)$' \| \
24646 X"$as_dir" : 'X\(/\)' \| \
24647 . : '\(.\)' 2>/dev/null ||
24649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24650 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24651 /^X\(\/\/\)$/{ s//\1/; q; }
24652 /^X\(\/\).*/{ s//\1/; q; }
24655 test ! -n "$as_dirs" || mkdir $as_dirs
24656 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24657 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24658 { (exit 1); exit 1; }; }; }
24662 if test "$ac_dir" != .; then
24663 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24664 # A "../" for each directory in $ac_dir_suffix.
24665 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24667 ac_dir_suffix= ac_top_builddir=
24671 .) # No --srcdir option. We are building in place.
24673 if test -z "$ac_top_builddir"; then
24676 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24678 [\\/]* | ?:[\\/]* ) # Absolute path.
24679 ac_srcdir=$srcdir$ac_dir_suffix;
24680 ac_top_srcdir=$srcdir ;;
24681 *) # Relative path.
24682 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24683 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24685 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24687 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24688 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24689 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24690 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24695 # Check for guested configure; otherwise get Cygnus style configure.
24696 if test -f $ac_srcdir/configure.gnu; then
24697 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
24698 elif test -f $ac_srcdir/configure; then
24699 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
24700 elif test -f $ac_srcdir/configure.in; then
24701 ac_sub_configure=$ac_configure
24703 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24704 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24708 # The recursion is here.
24709 if test -n "$ac_sub_configure"; then
24710 # Make the cache file name correct relative to the subdirectory.
24711 case $cache_file in
24712 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
24713 *) # Relative path.
24714 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
24717 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24718 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24719 # The eval makes quoting arguments work.
24720 eval $ac_sub_configure $ac_sub_configure_args \
24721 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24722 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24723 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24724 { (exit 1); exit 1; }; }