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/Support/Makefile"
1611 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1614 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1617 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1620 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1623 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1626 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1629 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1632 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1635 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1638 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1641 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1644 ac_config_commands="$ac_config_commands runtime/Makefile"
1647 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1650 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1653 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1656 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1659 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1662 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1665 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1668 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1671 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1674 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1677 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1680 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1683 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1686 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1689 ac_config_commands="$ac_config_commands test/Makefile"
1692 ac_config_commands="$ac_config_commands test/Makefile.tests"
1695 ac_config_commands="$ac_config_commands test/QMTest/llvm.py"
1698 ac_config_commands="$ac_config_commands test/QMTest/llvmdb.py"
1701 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1704 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1707 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1710 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1713 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1716 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1719 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1722 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1725 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1728 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1731 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1734 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1737 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1740 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1743 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1746 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1749 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1752 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1755 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1758 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1761 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1764 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1767 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1770 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1773 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1776 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1779 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1782 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1785 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1788 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1791 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1794 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1797 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1800 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1803 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1806 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1809 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1812 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1815 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1818 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1821 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1824 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1827 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1830 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1833 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1836 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1839 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1842 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1845 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1848 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1851 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1854 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1857 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1860 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1863 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1866 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1869 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1872 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1875 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1878 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1881 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1884 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1887 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1890 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1893 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1896 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1899 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1902 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1905 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1908 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1911 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1914 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1917 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1920 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1923 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1926 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1929 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1932 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1935 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1938 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1941 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1944 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1947 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1950 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1953 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1956 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1959 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1962 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1965 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1968 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1971 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1974 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1977 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1980 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1983 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
1986 ac_config_commands="$ac_config_commands tools/Makefile"
1989 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1992 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1995 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1998 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
2001 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
2004 ac_config_commands="$ac_config_commands tools/llc/Makefile"
2007 ac_config_commands="$ac_config_commands tools/llee/Makefile"
2010 ac_config_commands="$ac_config_commands tools/lli/Makefile"
2013 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2016 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2019 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2022 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2025 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2028 ac_config_commands="$ac_config_commands utils/Makefile"
2031 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2034 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2037 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2040 ac_config_commands="$ac_config_commands www/docs/Makefile"
2043 ac_config_commands="$ac_config_commands projects/Makefile"
2046 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2049 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2052 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2055 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2058 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2061 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2064 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2067 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2070 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2073 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2076 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2081 # Find a good install program. We prefer a C program (faster),
2082 # so one script is as good as another. But avoid the broken or
2083 # incompatible versions:
2084 # SysV /etc/install, /usr/sbin/install
2085 # SunOS /usr/etc/install
2086 # IRIX /sbin/install
2088 # AmigaOS /C/install, which installs bootblocks on floppy discs
2089 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2090 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2091 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2092 # ./install, which can be erroneously created by make from ./install.sh.
2093 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2094 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2095 if test -z "$INSTALL"; then
2096 if test "${ac_cv_path_install+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir=.
2104 # Account for people who put trailing slashes in PATH elements.
2106 ./ | .// | /cC/* | \
2107 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2110 # OSF1 and SCO ODT 3.0 have their own names for install.
2111 # Don't use installbsd from OSF since it installs stuff as root
2113 for ac_prog in ginstall scoinst install; do
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2116 if test $ac_prog = install &&
2117 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2118 # AIX install. It has an incompatible calling convention.
2120 elif test $ac_prog = install &&
2121 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2122 # program-specific install script used by HP pwplus--don't use.
2125 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2137 if test "${ac_cv_path_install+set}" = set; then
2138 INSTALL=$ac_cv_path_install
2140 # As a last resort, use the slow shell script. We don't cache a
2141 # path for INSTALL within a source directory, because that will
2142 # break other packages using the cache if that directory is
2143 # removed, or if the path is relative.
2144 INSTALL=$ac_install_sh
2147 echo "$as_me:$LINENO: result: $INSTALL" >&5
2148 echo "${ECHO_T}$INSTALL" >&6
2150 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2151 # It thinks the first close brace ends the variable substitution.
2152 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2154 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2156 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2159 # Make sure we can run config.sub.
2160 $ac_config_sub sun4 >/dev/null 2>&1 ||
2161 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2162 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2163 { (exit 1); exit 1; }; }
2165 echo "$as_me:$LINENO: checking build system type" >&5
2166 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2167 if test "${ac_cv_build+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 ac_cv_build_alias=$build_alias
2171 test -z "$ac_cv_build_alias" &&
2172 ac_cv_build_alias=`$ac_config_guess`
2173 test -z "$ac_cv_build_alias" &&
2174 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2175 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2176 { (exit 1); exit 1; }; }
2177 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2178 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2179 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2180 { (exit 1); exit 1; }; }
2183 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2184 echo "${ECHO_T}$ac_cv_build" >&6
2186 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2187 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2188 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2191 echo "$as_me:$LINENO: checking host system type" >&5
2192 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2193 if test "${ac_cv_host+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2196 ac_cv_host_alias=$host_alias
2197 test -z "$ac_cv_host_alias" &&
2198 ac_cv_host_alias=$ac_cv_build_alias
2199 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2200 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2201 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2202 { (exit 1); exit 1; }; }
2205 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2206 echo "${ECHO_T}$ac_cv_host" >&6
2208 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2209 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2210 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2213 echo "$as_me:$LINENO: checking target system type" >&5
2214 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2215 if test "${ac_cv_target+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 ac_cv_target_alias=$target_alias
2219 test "x$ac_cv_target_alias" = "x" &&
2220 ac_cv_target_alias=$ac_cv_host_alias
2221 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2222 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2223 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2224 { (exit 1); exit 1; }; }
2227 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2228 echo "${ECHO_T}$ac_cv_target" >&6
2229 target=$ac_cv_target
2230 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2231 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2232 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2235 # The aliases save the names the user supplied, while $host etc.
2236 # will get canonicalized.
2237 test -n "$target_alias" &&
2238 test "$program_prefix$program_suffix$program_transform_name" = \
2240 program_prefix=${target_alias}-
2245 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2251 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2261 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2270 *sparc*solaris*) ARCH=Sparc
2277 ac_cpp='$CXXCPP $CPPFLAGS'
2278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2281 if test -n "$ac_tool_prefix"; then
2282 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2285 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2286 echo "$as_me:$LINENO: checking for $ac_word" >&5
2287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2288 if test "${ac_cv_prog_CXX+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 if test -n "$CXX"; then
2292 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2301 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 if test -n "$CXX"; then
2312 echo "$as_me:$LINENO: result: $CXX" >&5
2313 echo "${ECHO_T}$CXX" >&6
2315 echo "$as_me:$LINENO: result: no" >&5
2316 echo "${ECHO_T}no" >&6
2319 test -n "$CXX" && break
2322 if test -z "$CXX"; then
2324 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2326 # Extract the first word of "$ac_prog", so it can be a program name with args.
2327 set dummy $ac_prog; ac_word=$2
2328 echo "$as_me:$LINENO: checking for $ac_word" >&5
2329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2330 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2331 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 if test -n "$ac_ct_CXX"; then
2334 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2340 test -z "$as_dir" && as_dir=.
2341 for ac_exec_ext in '' $ac_executable_extensions; do
2342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2343 ac_cv_prog_ac_ct_CXX="$ac_prog"
2344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2353 if test -n "$ac_ct_CXX"; then
2354 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2355 echo "${ECHO_T}$ac_ct_CXX" >&6
2357 echo "$as_me:$LINENO: result: no" >&5
2358 echo "${ECHO_T}no" >&6
2361 test -n "$ac_ct_CXX" && break
2363 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2369 # Provide some information about the compiler.
2370 echo "$as_me:$LINENO:" \
2371 "checking for C++ compiler version" >&5
2372 ac_compiler=`set X $ac_compile; echo $2`
2373 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2374 (eval $ac_compiler --version </dev/null >&5) 2>&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); }
2378 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2379 (eval $ac_compiler -v </dev/null >&5) 2>&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }
2383 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2384 (eval $ac_compiler -V </dev/null >&5) 2>&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }
2389 cat >conftest.$ac_ext <<_ACEOF
2390 #line $LINENO "configure"
2393 cat confdefs.h >>conftest.$ac_ext
2394 cat >>conftest.$ac_ext <<_ACEOF
2395 /* end confdefs.h. */
2405 ac_clean_files_save=$ac_clean_files
2406 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2407 # Try to create an executable without -o first, disregard a.out.
2408 # It will help us diagnose broken compilers, and finding out an intuition
2410 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2411 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2412 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2413 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2414 (eval $ac_link_default) 2>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }; then
2418 # Find the output, starting from the most likely. This scheme is
2419 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2422 # Be careful to initialize this variable, since it used to be cached.
2423 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2425 # b.out is created by i960 compilers.
2426 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2428 test -f "$ac_file" || continue
2430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2433 # This is the source file.
2436 # We found the default executable, but exeext='' is most
2440 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2441 # FIXME: I believe we export ac_cv_exeext for Libtool,
2442 # but it would be cool to find out if it's true. Does anybody
2443 # maintain Libtool? --akim.
2451 echo "$as_me: failed program was:" >&5
2452 sed 's/^/| /' conftest.$ac_ext >&5
2454 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2455 See \`config.log' for more details." >&5
2456 echo "$as_me: error: C++ compiler cannot create executables
2457 See \`config.log' for more details." >&2;}
2458 { (exit 77); exit 77; }; }
2461 ac_exeext=$ac_cv_exeext
2462 echo "$as_me:$LINENO: result: $ac_file" >&5
2463 echo "${ECHO_T}$ac_file" >&6
2465 # Check the compiler produces executables we can run. If not, either
2466 # the compiler is broken, or we cross compile.
2467 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2468 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2469 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2470 # If not cross compiling, check that we can run a simple program.
2471 if test "$cross_compiling" != yes; then
2472 if { ac_try='./$ac_file'
2473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477 (exit $ac_status); }; }; then
2480 if test "$cross_compiling" = maybe; then
2483 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2484 If you meant to cross compile, use \`--host'.
2485 See \`config.log' for more details." >&5
2486 echo "$as_me: error: cannot run C++ compiled programs.
2487 If you meant to cross compile, use \`--host'.
2488 See \`config.log' for more details." >&2;}
2489 { (exit 1); exit 1; }; }
2493 echo "$as_me:$LINENO: result: yes" >&5
2494 echo "${ECHO_T}yes" >&6
2496 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2497 ac_clean_files=$ac_clean_files_save
2498 # Check the compiler produces executables we can run. If not, either
2499 # the compiler is broken, or we cross compile.
2500 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2501 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2502 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2503 echo "${ECHO_T}$cross_compiling" >&6
2505 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2506 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2508 (eval $ac_link) 2>&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; then
2512 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2513 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2514 # work properly (i.e., refer to `conftest.exe'), while it won't with
2516 for ac_file in conftest.exe conftest conftest.*; do
2517 test -f "$ac_file" || continue
2519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2520 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2527 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2528 See \`config.log' for more details." >&5
2529 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2530 See \`config.log' for more details." >&2;}
2531 { (exit 1); exit 1; }; }
2534 rm -f conftest$ac_cv_exeext
2535 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2536 echo "${ECHO_T}$ac_cv_exeext" >&6
2538 rm -f conftest.$ac_ext
2539 EXEEXT=$ac_cv_exeext
2541 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2542 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2543 if test "${ac_cv_objext+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 cat >conftest.$ac_ext <<_ACEOF
2547 #line $LINENO "configure"
2550 cat confdefs.h >>conftest.$ac_ext
2551 cat >>conftest.$ac_ext <<_ACEOF
2552 /* end confdefs.h. */
2562 rm -f conftest.o conftest.obj
2563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564 (eval $ac_compile) 2>&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); }; then
2568 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2571 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2576 echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2579 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2580 See \`config.log' for more details." >&5
2581 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2582 See \`config.log' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2586 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2588 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2589 echo "${ECHO_T}$ac_cv_objext" >&6
2590 OBJEXT=$ac_cv_objext
2592 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2593 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2594 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 cat >conftest.$ac_ext <<_ACEOF
2598 #line $LINENO "configure"
2601 cat confdefs.h >>conftest.$ac_ext
2602 cat >>conftest.$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2616 rm -f conftest.$ac_objext
2617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2618 (eval $ac_compile) 2>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); } &&
2622 { ac_try='test -s conftest.$ac_objext'
2623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }; }; then
2630 echo "$as_me: failed program was:" >&5
2631 sed 's/^/| /' conftest.$ac_ext >&5
2635 rm -f conftest.$ac_objext conftest.$ac_ext
2636 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2639 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2640 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2641 GXX=`test $ac_compiler_gnu = yes && echo yes`
2642 ac_test_CXXFLAGS=${CXXFLAGS+set}
2643 ac_save_CXXFLAGS=$CXXFLAGS
2645 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2646 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2647 if test "${ac_cv_prog_cxx_g+set}" = set; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2650 cat >conftest.$ac_ext <<_ACEOF
2651 #line $LINENO "configure"
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2666 rm -f conftest.$ac_objext
2667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2668 (eval $ac_compile) 2>&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); } &&
2672 { ac_try='test -s conftest.$ac_objext'
2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; }; then
2678 ac_cv_prog_cxx_g=yes
2680 echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.$ac_ext >&5
2685 rm -f conftest.$ac_objext conftest.$ac_ext
2687 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2688 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2689 if test "$ac_test_CXXFLAGS" = set; then
2690 CXXFLAGS=$ac_save_CXXFLAGS
2691 elif test $ac_cv_prog_cxx_g = yes; then
2692 if test "$GXX" = yes; then
2698 if test "$GXX" = yes; then
2704 for ac_declaration in \
2706 '#include <stdlib.h>' \
2707 'extern "C" void std::exit (int) throw (); using std::exit;' \
2708 'extern "C" void std::exit (int); using std::exit;' \
2709 'extern "C" void exit (int) throw ();' \
2710 'extern "C" void exit (int);' \
2713 cat >conftest.$ac_ext <<_ACEOF
2714 #line $LINENO "configure"
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2730 rm -f conftest.$ac_objext
2731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2732 (eval $ac_compile) 2>&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); } &&
2736 { ac_try='test -s conftest.$ac_objext'
2737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }; }; then
2744 echo "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2749 rm -f conftest.$ac_objext conftest.$ac_ext
2750 cat >conftest.$ac_ext <<_ACEOF
2751 #line $LINENO "configure"
2754 cat confdefs.h >>conftest.$ac_ext
2755 cat >>conftest.$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2766 rm -f conftest.$ac_objext
2767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2768 (eval $ac_compile) 2>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } &&
2772 { ac_try='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2780 echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.$ac_ext >&5
2784 rm -f conftest.$ac_objext conftest.$ac_ext
2787 if test -n "$ac_declaration"; then
2788 echo '#ifdef __cplusplus' >>confdefs.h
2789 echo $ac_declaration >>confdefs.h
2790 echo '#endif' >>confdefs.h
2794 ac_cpp='$CPP $CPPFLAGS'
2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2800 ac_cpp='$CPP $CPPFLAGS'
2801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2804 if test -n "$ac_tool_prefix"; then
2807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2809 echo "$as_me:$LINENO: checking for $ac_word" >&5
2810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2811 if test "${ac_cv_prog_CC+set}" = set; then
2812 echo $ECHO_N "(cached) $ECHO_C" >&6
2814 if test -n "$CC"; then
2815 ac_cv_prog_CC="$CC" # Let the user override the test.
2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir=.
2822 for ac_exec_ext in '' $ac_executable_extensions; do
2823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2824 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 if test -n "$CC"; then
2835 echo "$as_me:$LINENO: result: $CC" >&5
2836 echo "${ECHO_T}$CC" >&6
2838 echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6
2842 test -n "$CC" && break
2845 if test -z "$CC"; then
2849 # Extract the first word of "$ac_prog", so it can be a program name with args.
2850 set dummy $ac_prog; ac_word=$2
2851 echo "$as_me:$LINENO: checking for $ac_word" >&5
2852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2853 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 if test -n "$ac_ct_CC"; then
2857 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir=.
2864 for ac_exec_ext in '' $ac_executable_extensions; do
2865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2866 ac_cv_prog_ac_ct_CC="$ac_prog"
2867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2875 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2876 if test -n "$ac_ct_CC"; then
2877 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2878 echo "${ECHO_T}$ac_ct_CC" >&6
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2884 test -n "$ac_ct_CC" && break
2891 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2892 See \`config.log' for more details." >&5
2893 echo "$as_me: error: no acceptable C compiler found in \$PATH
2894 See \`config.log' for more details." >&2;}
2895 { (exit 1); exit 1; }; }
2897 # Provide some information about the compiler.
2898 echo "$as_me:$LINENO:" \
2899 "checking for C compiler version" >&5
2900 ac_compiler=`set X $ac_compile; echo $2`
2901 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2902 (eval $ac_compiler --version </dev/null >&5) 2>&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }
2906 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2907 (eval $ac_compiler -v </dev/null >&5) 2>&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); }
2911 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2912 (eval $ac_compiler -V </dev/null >&5) 2>&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }
2917 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2918 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2919 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2920 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 cat >conftest.$ac_ext <<_ACEOF
2923 #line $LINENO "configure"
2926 cat confdefs.h >>conftest.$ac_ext
2927 cat >>conftest.$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2941 rm -f conftest.$ac_objext
2942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2943 (eval $ac_compile) 2>&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); } &&
2947 { ac_try='test -s conftest.$ac_objext'
2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; }; then
2955 echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2960 rm -f conftest.$ac_objext conftest.$ac_ext
2961 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2964 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2965 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2966 GCC=`test $ac_compiler_gnu = yes && echo yes`
2967 ac_test_CFLAGS=${CFLAGS+set}
2968 ac_save_CFLAGS=$CFLAGS
2970 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2971 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2972 if test "${ac_cv_prog_cc_g+set}" = set; then
2973 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 cat >conftest.$ac_ext <<_ACEOF
2976 #line $LINENO "configure"
2979 cat confdefs.h >>conftest.$ac_ext
2980 cat >>conftest.$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2991 rm -f conftest.$ac_objext
2992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2993 (eval $ac_compile) 2>&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); } &&
2997 { ac_try='test -s conftest.$ac_objext'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; }; then
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3010 rm -f conftest.$ac_objext conftest.$ac_ext
3012 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3013 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3014 if test "$ac_test_CFLAGS" = set; then
3015 CFLAGS=$ac_save_CFLAGS
3016 elif test $ac_cv_prog_cc_g = yes; then
3017 if test "$GCC" = yes; then
3023 if test "$GCC" = yes; then
3029 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3030 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3031 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 ac_cv_prog_cc_stdc=no
3036 cat >conftest.$ac_ext <<_ACEOF
3037 #line $LINENO "configure"
3040 cat confdefs.h >>conftest.$ac_ext
3041 cat >>conftest.$ac_ext <<_ACEOF
3042 /* end confdefs.h. */
3045 #include <sys/types.h>
3046 #include <sys/stat.h>
3047 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3048 struct buf { int x; };
3049 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3050 static char *e (p, i)
3056 static char *f (char * (*g) (char **, int), char **p, ...)
3061 s = g (p, va_arg (v,int));
3065 int test (int i, double x);
3066 struct s1 {int (*f) (int a);};
3067 struct s2 {int (*f) (double a);};
3068 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3074 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3079 # Don't try gcc -ansi; that turns off useful extensions and
3080 # breaks some systems' header files.
3081 # AIX -qlanglvl=ansi
3082 # Ultrix and OSF/1 -std1
3083 # HP-UX 10.20 and later -Ae
3084 # HP-UX older versions -Aa -D_HPUX_SOURCE
3085 # SVR4 -Xc -D__EXTENSIONS__
3086 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3088 CC="$ac_save_CC $ac_arg"
3089 rm -f conftest.$ac_objext
3090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3091 (eval $ac_compile) 2>&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); } &&
3095 { ac_try='test -s conftest.$ac_objext'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; }; then
3101 ac_cv_prog_cc_stdc=$ac_arg
3104 echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3108 rm -f conftest.$ac_objext
3110 rm -f conftest.$ac_ext conftest.$ac_objext
3115 case "x$ac_cv_prog_cc_stdc" in
3117 echo "$as_me:$LINENO: result: none needed" >&5
3118 echo "${ECHO_T}none needed" >&6 ;;
3120 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3121 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3122 CC="$CC $ac_cv_prog_cc_stdc" ;;
3125 # Some people use a C++ compiler to compile C. Since we use `exit',
3126 # in C++ we need to declare it. In case someone uses the same compiler
3127 # for both compiling C and C++ we need to have the C++ compiler decide
3128 # the declaration of exit, since it's the most demanding environment.
3129 cat >conftest.$ac_ext <<_ACEOF
3134 rm -f conftest.$ac_objext
3135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3136 (eval $ac_compile) 2>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } &&
3140 { ac_try='test -s conftest.$ac_objext'
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; }; then
3146 for ac_declaration in \
3148 '#include <stdlib.h>' \
3149 'extern "C" void std::exit (int) throw (); using std::exit;' \
3150 'extern "C" void std::exit (int); using std::exit;' \
3151 'extern "C" void exit (int) throw ();' \
3152 'extern "C" void exit (int);' \
3155 cat >conftest.$ac_ext <<_ACEOF
3156 #line $LINENO "configure"
3159 cat confdefs.h >>conftest.$ac_ext
3160 cat >>conftest.$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3172 rm -f conftest.$ac_objext
3173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3174 (eval $ac_compile) 2>&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); } &&
3178 { ac_try='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3191 rm -f conftest.$ac_objext conftest.$ac_ext
3192 cat >conftest.$ac_ext <<_ACEOF
3193 #line $LINENO "configure"
3196 cat confdefs.h >>conftest.$ac_ext
3197 cat >>conftest.$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3208 rm -f conftest.$ac_objext
3209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3210 (eval $ac_compile) 2>&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); } &&
3214 { ac_try='test -s conftest.$ac_objext'
3215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; }; then
3222 echo "$as_me: failed program was:" >&5
3223 sed 's/^/| /' conftest.$ac_ext >&5
3226 rm -f conftest.$ac_objext conftest.$ac_ext
3229 if test -n "$ac_declaration"; then
3230 echo '#ifdef __cplusplus' >>confdefs.h
3231 echo $ac_declaration >>confdefs.h
3232 echo '#endif' >>confdefs.h
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3240 rm -f conftest.$ac_objext conftest.$ac_ext
3242 ac_cpp='$CPP $CPPFLAGS'
3243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3248 ac_cpp='$CPP $CPPFLAGS'
3249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3252 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3253 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3254 # On Suns, sometimes $CPP names a directory.
3255 if test -n "$CPP" && test -d "$CPP"; then
3258 if test -z "$CPP"; then
3259 if test "${ac_cv_prog_CPP+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 # Double quotes because CPP needs to be expanded
3263 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3266 for ac_c_preproc_warn_flag in '' yes
3268 # Use a header file that comes with gcc, so configuring glibc
3269 # with a fresh cross-compiler works.
3270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3271 # <limits.h> exists even on freestanding compilers.
3272 # On the NeXT, cc -E runs the code through the compiler's parser,
3273 # not just through cpp. "Syntax error" is here to catch this case.
3274 cat >conftest.$ac_ext <<_ACEOF
3275 #line $LINENO "configure"
3278 cat confdefs.h >>conftest.$ac_ext
3279 cat >>conftest.$ac_ext <<_ACEOF
3280 /* end confdefs.h. */
3282 # include <limits.h>
3284 # include <assert.h>
3288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3291 grep -v '^ *+' conftest.er1 >conftest.err
3293 cat conftest.err >&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); } >/dev/null; then
3296 if test -s conftest.err; then
3297 ac_cpp_err=$ac_c_preproc_warn_flag
3304 if test -z "$ac_cpp_err"; then
3307 echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.$ac_ext >&5
3310 # Broken: fails on valid input.
3313 rm -f conftest.err conftest.$ac_ext
3315 # OK, works on sane cases. Now check whether non-existent headers
3316 # can be detected and how.
3317 cat >conftest.$ac_ext <<_ACEOF
3318 #line $LINENO "configure"
3321 cat confdefs.h >>conftest.$ac_ext
3322 cat >>conftest.$ac_ext <<_ACEOF
3323 /* end confdefs.h. */
3324 #include <ac_nonexistent.h>
3326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3329 grep -v '^ *+' conftest.er1 >conftest.err
3331 cat conftest.err >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); } >/dev/null; then
3334 if test -s conftest.err; then
3335 ac_cpp_err=$ac_c_preproc_warn_flag
3342 if test -z "$ac_cpp_err"; then
3343 # Broken: success on invalid input.
3346 echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3349 # Passes both tests.
3353 rm -f conftest.err conftest.$ac_ext
3356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3357 rm -f conftest.err conftest.$ac_ext
3358 if $ac_preproc_ok; then
3370 echo "$as_me:$LINENO: result: $CPP" >&5
3371 echo "${ECHO_T}$CPP" >&6
3373 for ac_c_preproc_warn_flag in '' yes
3375 # Use a header file that comes with gcc, so configuring glibc
3376 # with a fresh cross-compiler works.
3377 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3378 # <limits.h> exists even on freestanding compilers.
3379 # On the NeXT, cc -E runs the code through the compiler's parser,
3380 # not just through cpp. "Syntax error" is here to catch this case.
3381 cat >conftest.$ac_ext <<_ACEOF
3382 #line $LINENO "configure"
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3389 # include <limits.h>
3391 # include <assert.h>
3395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3398 grep -v '^ *+' conftest.er1 >conftest.err
3400 cat conftest.err >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } >/dev/null; then
3403 if test -s conftest.err; then
3404 ac_cpp_err=$ac_c_preproc_warn_flag
3411 if test -z "$ac_cpp_err"; then
3414 echo "$as_me: failed program was:" >&5
3415 sed 's/^/| /' conftest.$ac_ext >&5
3417 # Broken: fails on valid input.
3420 rm -f conftest.err conftest.$ac_ext
3422 # OK, works on sane cases. Now check whether non-existent headers
3423 # can be detected and how.
3424 cat >conftest.$ac_ext <<_ACEOF
3425 #line $LINENO "configure"
3428 cat confdefs.h >>conftest.$ac_ext
3429 cat >>conftest.$ac_ext <<_ACEOF
3430 /* end confdefs.h. */
3431 #include <ac_nonexistent.h>
3433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3436 grep -v '^ *+' conftest.er1 >conftest.err
3438 cat conftest.err >&5
3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440 (exit $ac_status); } >/dev/null; then
3441 if test -s conftest.err; then
3442 ac_cpp_err=$ac_c_preproc_warn_flag
3449 if test -z "$ac_cpp_err"; then
3450 # Broken: success on invalid input.
3453 echo "$as_me: failed program was:" >&5
3454 sed 's/^/| /' conftest.$ac_ext >&5
3456 # Passes both tests.
3460 rm -f conftest.err conftest.$ac_ext
3463 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3464 rm -f conftest.err conftest.$ac_ext
3465 if $ac_preproc_ok; then
3468 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3469 See \`config.log' for more details." >&5
3470 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3471 See \`config.log' for more details." >&2;}
3472 { (exit 1); exit 1; }; }
3476 ac_cpp='$CPP $CPPFLAGS'
3477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3482 if test "$GCC" != "yes"
3484 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3485 echo "$as_me: error: gcc required but not found" >&2;}
3486 { (exit 1); exit 1; }; }
3489 if test "$GXX" != "yes"
3491 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3492 echo "$as_me: error: g++ required but not found" >&2;}
3493 { (exit 1); exit 1; }; }
3496 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3497 if test "$gccmajor" -lt "3"
3499 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3500 echo "$as_me: error: gcc 3.x required" >&2;}
3501 { (exit 1); exit 1; }; }
3504 echo "$as_me:$LINENO: checking for GNU make" >&5
3505 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3506 if test "${_cv_gnu_make_command+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 _cv_gnu_make_command='' ;
3510 for a in "$MAKE" make gmake gnumake ; do
3511 if test -z "$a" ; then continue ; fi ;
3512 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3513 _cv_gnu_make_command=$a ;
3519 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3520 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3521 if test "x$_cv_gnu_make_command" != "x" ; then
3525 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3526 echo "${ECHO_T}\"Not found\"" >&6;
3530 if test -z "$_cv_gnu_make_command"
3532 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3533 echo "$as_me: error: GNU Make required but not found" >&2;}
3534 { (exit 1); exit 1; }; }
3538 echo "$as_me:$LINENO: checking " >&5
3539 echo $ECHO_N "checking ... $ECHO_C" >&6
3540 if test "${ac_cv_has_flex+set}" = set; then
3541 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 for ac_prog in flex lex
3545 # Extract the first word of "$ac_prog", so it can be a program name with args.
3546 set dummy $ac_prog; ac_word=$2
3547 echo "$as_me:$LINENO: checking for $ac_word" >&5
3548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3549 if test "${ac_cv_prog_LEX+set}" = set; then
3550 echo $ECHO_N "(cached) $ECHO_C" >&6
3552 if test -n "$LEX"; then
3553 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir=.
3560 for ac_exec_ext in '' $ac_executable_extensions; do
3561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3562 ac_cv_prog_LEX="$ac_prog"
3563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 if test -n "$LEX"; then
3573 echo "$as_me:$LINENO: result: $LEX" >&5
3574 echo "${ECHO_T}$LEX" >&6
3576 echo "$as_me:$LINENO: result: no" >&5
3577 echo "${ECHO_T}no" >&6
3580 test -n "$LEX" && break
3582 test -n "$LEX" || LEX=":"
3584 if test -z "$LEXLIB"
3586 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3587 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3588 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 ac_check_lib_save_LIBS=$LIBS
3593 cat >conftest.$ac_ext <<_ACEOF
3594 #line $LINENO "configure"
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3601 /* Override any gcc2 internal prototype to avoid an error. */
3605 /* We use char because int might match the return type of a gcc2
3606 builtin and then its argument prototype would still apply. */
3616 rm -f conftest.$ac_objext conftest$ac_exeext
3617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3618 (eval $ac_link) 2>&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); } &&
3622 { ac_try='test -s conftest$ac_exeext'
3623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); }; }; then
3628 ac_cv_lib_fl_yywrap=yes
3630 echo "$as_me: failed program was:" >&5
3631 sed 's/^/| /' conftest.$ac_ext >&5
3633 ac_cv_lib_fl_yywrap=no
3635 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3636 LIBS=$ac_check_lib_save_LIBS
3638 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3639 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3640 if test $ac_cv_lib_fl_yywrap = yes; then
3643 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3644 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3645 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 ac_check_lib_save_LIBS=$LIBS
3650 cat >conftest.$ac_ext <<_ACEOF
3651 #line $LINENO "configure"
3654 cat confdefs.h >>conftest.$ac_ext
3655 cat >>conftest.$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3658 /* Override any gcc2 internal prototype to avoid an error. */
3662 /* We use char because int might match the return type of a gcc2
3663 builtin and then its argument prototype would still apply. */
3673 rm -f conftest.$ac_objext conftest$ac_exeext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3675 (eval $ac_link) 2>&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); } &&
3679 { ac_try='test -s conftest$ac_exeext'
3680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }; }; then
3685 ac_cv_lib_l_yywrap=yes
3687 echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.$ac_ext >&5
3690 ac_cv_lib_l_yywrap=no
3692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3693 LIBS=$ac_check_lib_save_LIBS
3695 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3696 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3697 if test $ac_cv_lib_l_yywrap = yes; then
3705 if test "x$LEX" != "x:"; then
3706 echo "$as_me:$LINENO: checking lex output file root" >&5
3707 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3708 if test "${ac_cv_prog_lex_root+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3711 # The minimal lex program is just a single line: %%. But some broken lexes
3712 # (Solaris, I think it was) want two %% lines, so accommodate them.
3713 cat >conftest.l <<_ACEOF
3717 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3718 (eval $LEX conftest.l) 2>&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); }
3722 if test -f lex.yy.c; then
3723 ac_cv_prog_lex_root=lex.yy
3724 elif test -f lexyy.c; then
3725 ac_cv_prog_lex_root=lexyy
3727 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3728 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3729 { (exit 1); exit 1; }; }
3732 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3733 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3735 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3737 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3738 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3739 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 # POSIX says lex can declare yytext either as a pointer or an array; the
3743 # default is implementation-dependent. Figure out which it is, since
3744 # not all implementations provide the %pointer and %array declarations.
3745 ac_cv_prog_lex_yytext_pointer=no
3746 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3748 LIBS="$LIBS $LEXLIB"
3749 cat >conftest.$ac_ext <<_ACEOF
3750 `cat $LEX_OUTPUT_ROOT.c`
3752 rm -f conftest.$ac_objext conftest$ac_exeext
3753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3754 (eval $ac_link) 2>&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); } &&
3758 { ac_try='test -s conftest$ac_exeext'
3759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); }; }; then
3764 ac_cv_prog_lex_yytext_pointer=yes
3766 echo "$as_me: failed program was:" >&5
3767 sed 's/^/| /' conftest.$ac_ext >&5
3770 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3772 rm -f "${LEX_OUTPUT_ROOT}.c"
3775 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3776 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3777 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3779 cat >>confdefs.h <<\_ACEOF
3780 #define YYTEXT_POINTER 1
3788 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3789 echo "${ECHO_T}$ac_cv_has_flex" >&6
3790 if test "$LEX" != "flex"; then
3791 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3792 echo "$as_me: error: flex not found but required" >&2;}
3793 { (exit 1); exit 1; }; }
3796 echo "$as_me:$LINENO: checking " >&5
3797 echo $ECHO_N "checking ... $ECHO_C" >&6
3798 if test "${ac_cv_has_bison+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 for ac_prog in 'bison -y' byacc
3803 # Extract the first word of "$ac_prog", so it can be a program name with args.
3804 set dummy $ac_prog; ac_word=$2
3805 echo "$as_me:$LINENO: checking for $ac_word" >&5
3806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3807 if test "${ac_cv_prog_YACC+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 if test -n "$YACC"; then
3811 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir=.
3818 for ac_exec_ext in '' $ac_executable_extensions; do
3819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_YACC="$ac_prog"
3821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3829 YACC=$ac_cv_prog_YACC
3830 if test -n "$YACC"; then
3831 echo "$as_me:$LINENO: result: $YACC" >&5
3832 echo "${ECHO_T}$YACC" >&6
3834 echo "$as_me:$LINENO: result: no" >&5
3835 echo "${ECHO_T}no" >&6
3838 test -n "$YACC" && break
3840 test -n "$YACC" || YACC="yacc"
3844 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3845 echo "${ECHO_T}$ac_cv_has_bison" >&6
3846 if test "$YACC" != "bison -y"; then
3847 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3848 echo "$as_me: error: bison not found but required" >&2;}
3849 { (exit 1); exit 1; }; }
3856 # Check whether --enable-shared or --disable-shared was given.
3857 if test "${enable_shared+set}" = set; then
3858 enableval="$enable_shared"
3859 p=${PACKAGE-default}
3861 yes) enable_shared=yes ;;
3862 no) enable_shared=no ;;
3865 # Look at the argument we got. We use all the common list separators.
3866 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3867 for pkg in $enableval; do
3869 if test "X$pkg" = "X$p"; then
3880 # Check whether --enable-static or --disable-static was given.
3881 if test "${enable_static+set}" = set; then
3882 enableval="$enable_static"
3883 p=${PACKAGE-default}
3885 yes) enable_static=yes ;;
3886 no) enable_static=no ;;
3889 # Look at the argument we got. We use all the common list separators.
3890 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3891 for pkg in $enableval; do
3893 if test "X$pkg" = "X$p"; then
3904 # Check whether --enable-fast-install or --disable-fast-install was given.
3905 if test "${enable_fast_install+set}" = set; then
3906 enableval="$enable_fast_install"
3907 p=${PACKAGE-default}
3909 yes) enable_fast_install=yes ;;
3910 no) enable_fast_install=no ;;
3912 enable_fast_install=no
3913 # Look at the argument we got. We use all the common list separators.
3914 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3915 for pkg in $enableval; do
3917 if test "X$pkg" = "X$p"; then
3918 enable_fast_install=yes
3925 enable_fast_install=yes
3928 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3929 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3930 if test "${lt_cv_path_SED+set}" = set; then
3931 echo $ECHO_N "(cached) $ECHO_C" >&6
3933 # Loop through the user's path and test for sed and gsed.
3934 # Then use that list of sed's as ones to test for truncation.
3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir=.
3940 for lt_ac_prog in sed gsed; do
3941 for ac_exec_ext in '' $ac_executable_extensions; do
3942 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3943 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3950 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3951 # along with /bin/sed that truncates output.
3952 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3953 test ! -f $lt_ac_sed && break
3954 cat /dev/null > conftest.in
3956 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3957 # Check for GNU sed and select it if it is found.
3958 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3959 lt_cv_path_SED=$lt_ac_sed
3963 cat conftest.in conftest.in >conftest.tmp
3964 mv conftest.tmp conftest.in
3965 cp conftest.in conftest.nl
3967 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3968 cmp -s conftest.out conftest.nl || break
3969 # 10000 chars as input seems more than enough
3970 test $lt_ac_count -gt 10 && break
3971 lt_ac_count=`expr $lt_ac_count + 1`
3972 if test $lt_ac_count -gt $lt_ac_max; then
3973 lt_ac_max=$lt_ac_count
3974 lt_cv_path_SED=$lt_ac_sed
3982 echo "$as_me:$LINENO: result: $SED" >&5
3983 echo "${ECHO_T}$SED" >&6
3985 echo "$as_me:$LINENO: checking for egrep" >&5
3986 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3987 if test "${ac_cv_prog_egrep+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3990 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3991 then ac_cv_prog_egrep='grep -E'
3992 else ac_cv_prog_egrep='egrep'
3995 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3996 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3997 EGREP=$ac_cv_prog_egrep
4001 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4002 if test "${with_gnu_ld+set}" = set; then
4003 withval="$with_gnu_ld"
4004 test "$withval" = no || with_gnu_ld=yes
4009 if test "$GCC" = yes; then
4010 # Check if gcc -print-prog-name=ld gives a path.
4011 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4012 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4015 # gcc leaves a trailing carriage return which upsets mingw
4016 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4018 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4021 # Accept absolute paths.
4023 re_direlt='/[^/][^/]*/\.\./'
4024 # Canonicalize the path of ld
4025 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4026 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4027 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4029 test -z "$LD" && LD="$ac_prog"
4032 # If it fails, then pretend we aren't using GCC.
4036 # If it is relative, then search for the first ld in PATH.
4040 elif test "$with_gnu_ld" = yes; then
4041 echo "$as_me:$LINENO: checking for GNU ld" >&5
4042 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4044 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4045 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4047 if test "${lt_cv_path_LD+set}" = set; then
4048 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 if test -z "$LD"; then
4051 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4052 for ac_dir in $PATH; do
4054 test -z "$ac_dir" && ac_dir=.
4055 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4056 lt_cv_path_LD="$ac_dir/$ac_prog"
4057 # Check to see if the program is GNU ld. I'd rather use --version,
4058 # but apparently some GNU ld's only accept -v.
4059 # Break only if it was the GNU/non-GNU ld that we prefer.
4060 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4061 *GNU* | *'with BFD'*)
4062 test "$with_gnu_ld" != no && break
4065 test "$with_gnu_ld" != yes && break
4072 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4077 if test -n "$LD"; then
4078 echo "$as_me:$LINENO: result: $LD" >&5
4079 echo "${ECHO_T}$LD" >&6
4081 echo "$as_me:$LINENO: result: no" >&5
4082 echo "${ECHO_T}no" >&6
4084 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4085 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4086 { (exit 1); exit 1; }; }
4087 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4088 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4089 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4090 echo $ECHO_N "(cached) $ECHO_C" >&6
4092 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4093 case `"$LD" -v 2>&1 </dev/null` in
4094 *GNU* | *'with BFD'*)
4095 lt_cv_prog_gnu_ld=yes
4098 lt_cv_prog_gnu_ld=no
4102 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4103 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4104 with_gnu_ld=$lt_cv_prog_gnu_ld
4107 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4108 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4109 if test "${lt_cv_ld_reload_flag+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 lt_cv_ld_reload_flag='-r'
4114 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4115 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4116 reload_flag=$lt_cv_ld_reload_flag
4117 case $reload_flag in
4119 *) reload_flag=" $reload_flag" ;;
4121 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4123 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4124 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4125 if test "${lt_cv_path_NM+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 if test -n "$NM"; then
4129 # Let the user override the test.
4132 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4133 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4135 test -z "$ac_dir" && ac_dir=.
4136 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4137 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4138 # Check to see if the nm accepts a BSD-compat flag.
4139 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4140 # nm: unknown option "B" ignored
4141 # Tru64's nm complains that /dev/null is an invalid object file
4142 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4143 */dev/null* | *'Invalid file or object type'*)
4144 lt_cv_path_NM="$tmp_nm -B"
4148 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4150 lt_cv_path_NM="$tmp_nm -p"
4154 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4155 continue # so that we can try to find one that supports BSD flags
4162 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4165 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4166 echo "${ECHO_T}$lt_cv_path_NM" >&6
4169 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4170 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4172 if test "$LN_S" = "ln -s"; then
4173 echo "$as_me:$LINENO: result: yes" >&5
4174 echo "${ECHO_T}yes" >&6
4176 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4177 echo "${ECHO_T}no, using $LN_S" >&6
4180 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4181 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4182 if test "${lt_cv_deplibs_check_method+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 lt_cv_file_magic_cmd='$MAGIC_CMD'
4186 lt_cv_file_magic_test_file=
4187 lt_cv_deplibs_check_method='unknown'
4188 # Need to set the preceding variable on all platforms that support
4189 # interlibrary dependencies.
4190 # 'none' -- dependencies not supported.
4191 # `unknown' -- same as none, but documents that we really don't know.
4192 # 'pass_all' -- all dependencies passed with no checks.
4193 # 'test_compile' -- check by making test program.
4194 # 'file_magic [[regex]]' -- check by looking for files in library path
4195 # which responds to the $file_magic_cmd with a given extended regex.
4196 # If you have `file' or equivalent on your system and you're not sure
4197 # whether `pass_all' will *always* work, you probably want this one.
4201 lt_cv_deplibs_check_method=pass_all
4205 lt_cv_deplibs_check_method=pass_all
4209 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4210 lt_cv_file_magic_cmd='/usr/bin/file -L'
4211 lt_cv_file_magic_test_file=/shlib/libc.so
4214 cygwin* | mingw* | pw32*)
4215 # win32_libid is a shell function defined in ltmain.sh
4216 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4217 lt_cv_file_magic_cmd='win32_libid'
4220 darwin* | rhapsody*)
4221 # this will be overwritten by pass_all, but leave it in just in case
4222 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4223 lt_cv_file_magic_cmd='/usr/bin/file -L'
4225 rhapsody* | darwin1.[012])
4226 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4229 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4232 lt_cv_deplibs_check_method=pass_all
4236 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4239 # Not sure whether the presence of OpenBSD here was a mistake.
4240 # Let's accept both of them until this is cleared up.
4241 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4242 lt_cv_file_magic_cmd=/usr/bin/file
4243 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4247 lt_cv_deplibs_check_method=pass_all
4252 lt_cv_deplibs_check_method=pass_all
4255 hpux10.20* | hpux11*)
4256 lt_cv_file_magic_cmd=/usr/bin/file
4259 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4260 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4263 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]'
4264 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4267 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4268 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4273 irix5* | irix6* | nonstopux*)
4275 irix5* | nonstopux*)
4276 # this will be overridden with pass_all, but let us keep it just in case
4277 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4281 *-32|*"-32 ") libmagic=32-bit;;
4282 *-n32|*"-n32 ") libmagic=N32;;
4283 *-64|*"-64 ") libmagic=64-bit;;
4284 *) libmagic=never-match;;
4286 # this will be overridden with pass_all, but let us keep it just in case
4287 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4290 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4291 lt_cv_deplibs_check_method=pass_all
4294 # This must be Linux ELF.
4297 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4298 lt_cv_deplibs_check_method=pass_all ;;
4300 # glibc up to 2.1.1 does not perform some relocations on ARM
4301 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4303 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4307 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4308 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4310 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4315 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4316 lt_cv_file_magic_cmd=/usr/bin/file
4317 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4321 lt_cv_deplibs_check_method=unknown
4325 lt_cv_file_magic_cmd=/usr/bin/file
4326 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4327 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4328 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4330 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4334 osf3* | osf4* | osf5*)
4335 # this will be overridden with pass_all, but let us keep it just in case
4336 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4337 lt_cv_file_magic_test_file=/shlib/libc.so
4338 lt_cv_deplibs_check_method=pass_all
4342 lt_cv_deplibs_check_method=pass_all
4346 lt_cv_deplibs_check_method=pass_all
4347 lt_cv_file_magic_test_file=/lib/libc.so
4350 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4351 case $host_vendor in
4353 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]'
4354 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4357 lt_cv_deplibs_check_method=pass_all
4360 lt_cv_file_magic_cmd='/bin/file'
4361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4364 lt_cv_file_magic_cmd='/bin/file'
4365 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4366 lt_cv_file_magic_test_file=/lib/libc.so
4369 lt_cv_deplibs_check_method=pass_all
4374 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4375 lt_cv_deplibs_check_method=pass_all
4380 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4381 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4382 file_magic_cmd=$lt_cv_file_magic_cmd
4383 deplibs_check_method=$lt_cv_deplibs_check_method
4384 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4389 # If no C compiler was specified, use CC.
4392 # Allow CC to be a program name with arguments.
4395 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4396 if test "${enable_libtool_lock+set}" = set; then
4397 enableval="$enable_libtool_lock"
4400 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4402 # Some flags need to be propagated to the compiler or linker for good
4406 # Find out which ABI we are using.
4407 echo 'int i;' > conftest.$ac_ext
4408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4409 (eval $ac_compile) 2>&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); }; then
4413 case `/usr/bin/file conftest.$ac_objext` in
4425 # Find out which ABI we are using.
4426 echo '#line 4426 "configure"' > conftest.$ac_ext
4427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4428 (eval $ac_compile) 2>&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); }; then
4432 if test "$lt_cv_prog_gnu_ld" = yes; then
4433 case `/usr/bin/file conftest.$ac_objext` in
4435 LD="${LD-ld} -melf32bsmip"
4438 LD="${LD-ld} -melf32bmipn32"
4441 LD="${LD-ld} -melf64bmip"
4445 case `/usr/bin/file conftest.$ac_objext` in
4461 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4462 # Find out which ABI we are using.
4463 echo 'int i;' > conftest.$ac_ext
4464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4465 (eval $ac_compile) 2>&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; then
4469 case "`/usr/bin/file conftest.o`" in
4473 LD="${LD-ld} -m elf_i386"
4476 LD="${LD-ld} -m elf32ppclinux"
4479 LD="${LD-ld} -m elf_s390"
4482 LD="${LD-ld} -m elf32_sparc"
4489 LD="${LD-ld} -m elf_x86_64"
4491 ppc*-*linux*|powerpc*-*linux*)
4492 LD="${LD-ld} -m elf64ppc"
4495 LD="${LD-ld} -m elf64_s390"
4498 LD="${LD-ld} -m elf64_sparc"
4508 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4509 SAVE_CFLAGS="$CFLAGS"
4510 CFLAGS="$CFLAGS -belf"
4511 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4512 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4513 if test "${lt_cv_cc_needs_belf+set}" = set; then
4514 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 ac_cpp='$CPP $CPPFLAGS'
4518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4522 cat >conftest.$ac_ext <<_ACEOF
4523 #line $LINENO "configure"
4526 cat confdefs.h >>conftest.$ac_ext
4527 cat >>conftest.$ac_ext <<_ACEOF
4528 /* end confdefs.h. */
4538 rm -f conftest.$ac_objext conftest$ac_exeext
4539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4540 (eval $ac_link) 2>&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); } &&
4544 { ac_try='test -s conftest$ac_exeext'
4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4550 lt_cv_cc_needs_belf=yes
4552 echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.$ac_ext >&5
4555 lt_cv_cc_needs_belf=no
4557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4559 ac_cpp='$CPP $CPPFLAGS'
4560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4565 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4566 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4567 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4568 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4569 CFLAGS="$SAVE_CFLAGS"
4575 need_locks="$enable_libtool_lock"
4579 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4580 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4581 if test "${ac_cv_header_stdc+set}" = set; then
4582 echo $ECHO_N "(cached) $ECHO_C" >&6
4584 cat >conftest.$ac_ext <<_ACEOF
4585 #line $LINENO "configure"
4588 cat confdefs.h >>conftest.$ac_ext
4589 cat >>conftest.$ac_ext <<_ACEOF
4590 /* end confdefs.h. */
4604 rm -f conftest.$ac_objext
4605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4606 (eval $ac_compile) 2>&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } &&
4610 { ac_try='test -s conftest.$ac_objext'
4611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); }; }; then
4616 ac_cv_header_stdc=yes
4618 echo "$as_me: failed program was:" >&5
4619 sed 's/^/| /' conftest.$ac_ext >&5
4621 ac_cv_header_stdc=no
4623 rm -f conftest.$ac_objext conftest.$ac_ext
4625 if test $ac_cv_header_stdc = yes; then
4626 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4627 cat >conftest.$ac_ext <<_ACEOF
4628 #line $LINENO "configure"
4631 cat confdefs.h >>conftest.$ac_ext
4632 cat >>conftest.$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4638 $EGREP "memchr" >/dev/null 2>&1; then
4641 ac_cv_header_stdc=no
4647 if test $ac_cv_header_stdc = yes; then
4648 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4649 cat >conftest.$ac_ext <<_ACEOF
4650 #line $LINENO "configure"
4653 cat confdefs.h >>conftest.$ac_ext
4654 cat >>conftest.$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4660 $EGREP "free" >/dev/null 2>&1; then
4663 ac_cv_header_stdc=no
4669 if test $ac_cv_header_stdc = yes; then
4670 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4671 if test "$cross_compiling" = yes; then
4674 cat >conftest.$ac_ext <<_ACEOF
4675 #line $LINENO "configure"
4678 cat confdefs.h >>conftest.$ac_ext
4679 cat >>conftest.$ac_ext <<_ACEOF
4680 /* end confdefs.h. */
4682 #if ((' ' & 0x0FF) == 0x020)
4683 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4684 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4686 # define ISLOWER(c) \
4687 (('a' <= (c) && (c) <= 'i') \
4688 || ('j' <= (c) && (c) <= 'r') \
4689 || ('s' <= (c) && (c) <= 'z'))
4690 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4693 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4698 for (i = 0; i < 256; i++)
4699 if (XOR (islower (i), ISLOWER (i))
4700 || toupper (i) != TOUPPER (i))
4705 rm -f conftest$ac_exeext
4706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4707 (eval $ac_link) 2>&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); }; }; then
4718 echo "$as_me: program exited with status $ac_status" >&5
4719 echo "$as_me: failed program was:" >&5
4720 sed 's/^/| /' conftest.$ac_ext >&5
4723 ac_cv_header_stdc=no
4725 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4729 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4730 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4731 if test $ac_cv_header_stdc = yes; then
4733 cat >>confdefs.h <<\_ACEOF
4734 #define STDC_HEADERS 1
4739 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4749 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4750 inttypes.h stdint.h unistd.h
4752 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4753 echo "$as_me:$LINENO: checking for $ac_header" >&5
4754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4758 cat >conftest.$ac_ext <<_ACEOF
4759 #line $LINENO "configure"
4762 cat confdefs.h >>conftest.$ac_ext
4763 cat >>conftest.$ac_ext <<_ACEOF
4764 /* end confdefs.h. */
4765 $ac_includes_default
4767 #include <$ac_header>
4769 rm -f conftest.$ac_objext
4770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4771 (eval $ac_compile) 2>&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } &&
4775 { ac_try='test -s conftest.$ac_objext'
4776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; }; then
4781 eval "$as_ac_Header=yes"
4783 echo "$as_me: failed program was:" >&5
4784 sed 's/^/| /' conftest.$ac_ext >&5
4786 eval "$as_ac_Header=no"
4788 rm -f conftest.$ac_objext conftest.$ac_ext
4790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4793 cat >>confdefs.h <<_ACEOF
4794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4803 for ac_header in dlfcn.h
4805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4807 echo "$as_me:$LINENO: checking for $ac_header" >&5
4808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4815 # Is the header compilable?
4816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4818 cat >conftest.$ac_ext <<_ACEOF
4819 #line $LINENO "configure"
4822 cat confdefs.h >>conftest.$ac_ext
4823 cat >>conftest.$ac_ext <<_ACEOF
4824 /* end confdefs.h. */
4825 $ac_includes_default
4826 #include <$ac_header>
4828 rm -f conftest.$ac_objext
4829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4830 (eval $ac_compile) 2>&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } &&
4834 { ac_try='test -s conftest.$ac_objext'
4835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); }; }; then
4840 ac_header_compiler=yes
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 ac_header_compiler=no
4847 rm -f conftest.$ac_objext conftest.$ac_ext
4848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4849 echo "${ECHO_T}$ac_header_compiler" >&6
4851 # Is the header present?
4852 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4853 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4854 cat >conftest.$ac_ext <<_ACEOF
4855 #line $LINENO "configure"
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4861 #include <$ac_header>
4863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4866 grep -v '^ *+' conftest.er1 >conftest.err
4868 cat conftest.err >&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); } >/dev/null; then
4871 if test -s conftest.err; then
4872 ac_cpp_err=$ac_c_preproc_warn_flag
4879 if test -z "$ac_cpp_err"; then
4880 ac_header_preproc=yes
4882 echo "$as_me: failed program was:" >&5
4883 sed 's/^/| /' conftest.$ac_ext >&5
4885 ac_header_preproc=no
4887 rm -f conftest.err conftest.$ac_ext
4888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4889 echo "${ECHO_T}$ac_header_preproc" >&6
4891 # So? What about this header?
4892 case $ac_header_compiler:$ac_header_preproc in
4894 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4895 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4900 ## ------------------------------------ ##
4901 ## Report this to bug-autoconf@gnu.org. ##
4902 ## ------------------------------------ ##
4905 sed "s/^/$as_me: WARNING: /" >&2
4908 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4910 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4911 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4916 ## ------------------------------------ ##
4917 ## Report this to bug-autoconf@gnu.org. ##
4918 ## ------------------------------------ ##
4921 sed "s/^/$as_me: WARNING: /" >&2
4924 echo "$as_me:$LINENO: checking for $ac_header" >&5
4925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4929 eval "$as_ac_Header=$ac_header_preproc"
4931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4936 cat >>confdefs.h <<_ACEOF
4937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4945 ac_cpp='$CXXCPP $CPPFLAGS'
4946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4949 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4950 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4951 if test -z "$CXXCPP"; then
4952 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4953 echo $ECHO_N "(cached) $ECHO_C" >&6
4955 # Double quotes because CXXCPP needs to be expanded
4956 for CXXCPP in "$CXX -E" "/lib/cpp"
4959 for ac_cxx_preproc_warn_flag in '' yes
4961 # Use a header file that comes with gcc, so configuring glibc
4962 # with a fresh cross-compiler works.
4963 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4964 # <limits.h> exists even on freestanding compilers.
4965 # On the NeXT, cc -E runs the code through the compiler's parser,
4966 # not just through cpp. "Syntax error" is here to catch this case.
4967 cat >conftest.$ac_ext <<_ACEOF
4968 #line $LINENO "configure"
4971 cat confdefs.h >>conftest.$ac_ext
4972 cat >>conftest.$ac_ext <<_ACEOF
4973 /* end confdefs.h. */
4975 # include <limits.h>
4977 # include <assert.h>
4981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4982 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4984 grep -v '^ *+' conftest.er1 >conftest.err
4986 cat conftest.err >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } >/dev/null; then
4989 if test -s conftest.err; then
4990 ac_cpp_err=$ac_cxx_preproc_warn_flag
4997 if test -z "$ac_cpp_err"; then
5000 echo "$as_me: failed program was:" >&5
5001 sed 's/^/| /' conftest.$ac_ext >&5
5003 # Broken: fails on valid input.
5006 rm -f conftest.err conftest.$ac_ext
5008 # OK, works on sane cases. Now check whether non-existent headers
5009 # can be detected and how.
5010 cat >conftest.$ac_ext <<_ACEOF
5011 #line $LINENO "configure"
5014 cat confdefs.h >>conftest.$ac_ext
5015 cat >>conftest.$ac_ext <<_ACEOF
5016 /* end confdefs.h. */
5017 #include <ac_nonexistent.h>
5019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5022 grep -v '^ *+' conftest.er1 >conftest.err
5024 cat conftest.err >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } >/dev/null; then
5027 if test -s conftest.err; then
5028 ac_cpp_err=$ac_cxx_preproc_warn_flag
5035 if test -z "$ac_cpp_err"; then
5036 # Broken: success on invalid input.
5039 echo "$as_me: failed program was:" >&5
5040 sed 's/^/| /' conftest.$ac_ext >&5
5042 # Passes both tests.
5046 rm -f conftest.err conftest.$ac_ext
5049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5050 rm -f conftest.err conftest.$ac_ext
5051 if $ac_preproc_ok; then
5056 ac_cv_prog_CXXCPP=$CXXCPP
5059 CXXCPP=$ac_cv_prog_CXXCPP
5061 ac_cv_prog_CXXCPP=$CXXCPP
5063 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5064 echo "${ECHO_T}$CXXCPP" >&6
5066 for ac_cxx_preproc_warn_flag in '' yes
5068 # Use a header file that comes with gcc, so configuring glibc
5069 # with a fresh cross-compiler works.
5070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5071 # <limits.h> exists even on freestanding compilers.
5072 # On the NeXT, cc -E runs the code through the compiler's parser,
5073 # not just through cpp. "Syntax error" is here to catch this case.
5074 cat >conftest.$ac_ext <<_ACEOF
5075 #line $LINENO "configure"
5078 cat confdefs.h >>conftest.$ac_ext
5079 cat >>conftest.$ac_ext <<_ACEOF
5080 /* end confdefs.h. */
5082 # include <limits.h>
5084 # include <assert.h>
5088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5089 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5091 grep -v '^ *+' conftest.er1 >conftest.err
5093 cat conftest.err >&5
5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095 (exit $ac_status); } >/dev/null; then
5096 if test -s conftest.err; then
5097 ac_cpp_err=$ac_cxx_preproc_warn_flag
5104 if test -z "$ac_cpp_err"; then
5107 echo "$as_me: failed program was:" >&5
5108 sed 's/^/| /' conftest.$ac_ext >&5
5110 # Broken: fails on valid input.
5113 rm -f conftest.err conftest.$ac_ext
5115 # OK, works on sane cases. Now check whether non-existent headers
5116 # can be detected and how.
5117 cat >conftest.$ac_ext <<_ACEOF
5118 #line $LINENO "configure"
5121 cat confdefs.h >>conftest.$ac_ext
5122 cat >>conftest.$ac_ext <<_ACEOF
5123 /* end confdefs.h. */
5124 #include <ac_nonexistent.h>
5126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5129 grep -v '^ *+' conftest.er1 >conftest.err
5131 cat conftest.err >&5
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); } >/dev/null; then
5134 if test -s conftest.err; then
5135 ac_cpp_err=$ac_cxx_preproc_warn_flag
5142 if test -z "$ac_cpp_err"; then
5143 # Broken: success on invalid input.
5146 echo "$as_me: failed program was:" >&5
5147 sed 's/^/| /' conftest.$ac_ext >&5
5149 # Passes both tests.
5153 rm -f conftest.err conftest.$ac_ext
5156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5157 rm -f conftest.err conftest.$ac_ext
5158 if $ac_preproc_ok; then
5161 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5162 See \`config.log' for more details." >&5
5163 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5164 See \`config.log' for more details." >&2;}
5165 { (exit 1); exit 1; }; }
5169 ac_cpp='$CXXCPP $CPPFLAGS'
5170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5176 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5177 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5178 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5179 if test -n "$ac_tool_prefix"; then
5180 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5184 echo "$as_me:$LINENO: checking for $ac_word" >&5
5185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5186 if test "${ac_cv_prog_F77+set}" = set; then
5187 echo $ECHO_N "(cached) $ECHO_C" >&6
5189 if test -n "$F77"; then
5190 ac_cv_prog_F77="$F77" # Let the user override the test.
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir=.
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 if test -n "$F77"; then
5210 echo "$as_me:$LINENO: result: $F77" >&5
5211 echo "${ECHO_T}$F77" >&6
5213 echo "$as_me:$LINENO: result: no" >&5
5214 echo "${ECHO_T}no" >&6
5217 test -n "$F77" && break
5220 if test -z "$F77"; then
5222 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5224 # Extract the first word of "$ac_prog", so it can be a program name with args.
5225 set dummy $ac_prog; ac_word=$2
5226 echo "$as_me:$LINENO: checking for $ac_word" >&5
5227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5228 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5229 echo $ECHO_N "(cached) $ECHO_C" >&6
5231 if test -n "$ac_ct_F77"; then
5232 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_ac_ct_F77="$ac_prog"
5242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5251 if test -n "$ac_ct_F77"; then
5252 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5253 echo "${ECHO_T}$ac_ct_F77" >&6
5255 echo "$as_me:$LINENO: result: no" >&5
5256 echo "${ECHO_T}no" >&6
5259 test -n "$ac_ct_F77" && break
5266 # Provide some information about the compiler.
5267 echo "$as_me:5267:" \
5268 "checking for Fortran 77 compiler version" >&5
5269 ac_compiler=`set X $ac_compile; echo $2`
5270 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5271 (eval $ac_compiler --version </dev/null >&5) 2>&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }
5275 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5276 (eval $ac_compiler -v </dev/null >&5) 2>&5
5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); }
5280 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5281 (eval $ac_compiler -V </dev/null >&5) 2>&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }
5286 # If we don't use `.F' as extension, the preprocessor is not run on the
5290 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5291 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5292 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5293 echo $ECHO_N "(cached) $ECHO_C" >&6
5295 cat >conftest.$ac_ext <<_ACEOF
5303 rm -f conftest.$ac_objext
5304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5305 (eval $ac_compile) 2>&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); } &&
5309 { ac_try='test -s conftest.$ac_objext'
5310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }; }; then
5317 echo "$as_me: failed program was:" >&5
5318 sed 's/^/| /' conftest.$ac_ext >&5
5322 rm -f conftest.$ac_objext conftest.$ac_ext
5323 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5326 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5327 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5329 G77=`test $ac_compiler_gnu = yes && echo yes`
5330 ac_test_FFLAGS=${FFLAGS+set}
5331 ac_save_FFLAGS=$FFLAGS
5333 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5334 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5335 if test "${ac_cv_prog_f77_g+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5339 cat >conftest.$ac_ext <<_ACEOF
5344 rm -f conftest.$ac_objext
5345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5346 (eval $ac_compile) 2>&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } &&
5350 { ac_try='test -s conftest.$ac_objext'
5351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); }; }; then
5356 ac_cv_prog_f77_g=yes
5358 echo "$as_me: failed program was:" >&5
5359 sed 's/^/| /' conftest.$ac_ext >&5
5363 rm -f conftest.$ac_objext conftest.$ac_ext
5366 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5367 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5368 if test "$ac_test_FFLAGS" = set; then
5369 FFLAGS=$ac_save_FFLAGS
5370 elif test $ac_cv_prog_f77_g = yes; then
5371 if test "$G77" = yes; then
5377 if test "$G77" = yes; then
5384 ac_cpp='$CPP $CPPFLAGS'
5385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5391 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5393 # find the maximum length of command line arguments
5394 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5395 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5396 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5404 # On DJGPP, this test can blow up pretty badly due to problems in libc
5405 # (any single argument exceeding 2000 bytes causes a buffer overrun
5406 # during glob expansion). Even if it were fixed, the result of this
5407 # check would be larger than it should be.
5408 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5412 # Under GNU Hurd, this test is not required because there is
5413 # no limit to the length of command line arguments.
5414 # Libtool will interpret -1 as no limit whatsoever
5415 lt_cv_sys_max_cmd_len=-1;
5419 # On Win9x/ME, this test blows up -- it succeeds, but takes
5420 # about 5 minutes as the teststring grows exponentially.
5421 # Worse, since 9x/ME are not pre-emptively multitasking,
5422 # you end up with a "frozen" computer, even though with patience
5423 # the test eventually succeeds (with a max line length of 256k).
5424 # Instead, let's just punt: use the minimum linelength reported by
5425 # all of the supported platforms: 8192 (on NT/2K/XP).
5426 lt_cv_sys_max_cmd_len=8192;
5430 # If test is not a shell built-in, we'll probably end up computing a
5431 # maximum length that is only half of the actual maximum length, but
5433 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5434 = "XX$testring") >/dev/null 2>&1 &&
5435 new_result=`expr "X$testring" : ".*" 2>&1` &&
5436 lt_cv_sys_max_cmd_len=$new_result &&
5437 test $i != 17 # 1/2 MB should be enough
5440 testring=$testring$testring
5443 # Add a significant safety factor because C++ compilers can tack on massive
5444 # amounts of additional arguments before passing them to the linker.
5445 # It appears as though 1/2 is a usable value.
5446 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5452 if test -n $lt_cv_sys_max_cmd_len ; then
5453 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5454 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5456 echo "$as_me:$LINENO: result: none" >&5
5457 echo "${ECHO_T}none" >&6
5463 # Check for command to grab the raw symbol name followed by C symbol from nm.
5464 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5465 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5466 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5467 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 # These are sane defaults that work on at least a few old systems.
5471 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5473 # Character class describing NM global symbol codes.
5474 symcode='[BCDEGRST]'
5476 # Regexp to match symbols that can be accessed directly from C.
5477 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5479 # Transform the above into a raw symbol and a C symbol.
5480 symxfrm='\1 \2\3 \3'
5482 # Transform an extracted symbol line into a proper C declaration
5483 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5485 # Transform an extracted symbol line into symbol name and symbol address
5486 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5488 # Define system-specific variables.
5493 cygwin* | mingw* | pw32*)
5494 symcode='[ABCDGISTW]'
5496 hpux*) # Its linker distinguishes data from code symbols
5497 if test "$host_cpu" = ia64; then
5498 symcode='[ABCDEGRST]'
5500 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5501 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'"
5504 symcode='[BCDEGRST]'
5507 symcode='[BCDEGQRST]'
5517 # Handle CRLF in mingw tool chain
5521 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5525 # If we're using GNU nm, then use its standard symbol codes.
5526 case `$NM -V 2>&1` in
5527 *GNU* | *'with BFD'*)
5528 symcode='[ABCDGISTW]' ;;
5531 # Try without a prefix undercore, then with it.
5532 for ac_symprfx in "" "_"; do
5534 # Write the raw and C identifiers.
5535 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5537 # Check to see that the pipe works correctly.
5541 cat > conftest.$ac_ext <<EOF
5546 void nm_test_func(){}
5550 int main(){nm_test_var='a';nm_test_func();return(0);}
5553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5554 (eval $ac_compile) 2>&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }; then
5558 # Now try to grab the symbols.
5560 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5561 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); } && test -s "$nlist"; then
5565 # Try sorting and uniquifying the output.
5566 if sort "$nlist" | uniq > "$nlist"T; then
5567 mv -f "$nlist"T "$nlist"
5572 # Make sure that we snagged all the symbols we need.
5573 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5574 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5575 cat <<EOF > conftest.$ac_ext
5581 # Now generate the symbol file.
5582 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5584 cat <<EOF >> conftest.$ac_ext
5585 #if defined (__STDC__) && __STDC__
5586 # define lt_ptr_t void *
5588 # define lt_ptr_t char *
5592 /* The mapping between symbol names and symbols. */
5597 lt_preloaded_symbols[] =
5600 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5601 cat <<\EOF >> conftest.$ac_ext
5609 # Now try linking the two files.
5610 mv conftest.$ac_objext conftstm.$ac_objext
5611 lt_save_LIBS="$LIBS"
5612 lt_save_CFLAGS="$CFLAGS"
5613 LIBS="conftstm.$ac_objext"
5614 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5616 (eval $ac_link) 2>&5
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5622 LIBS="$lt_save_LIBS"
5623 CFLAGS="$lt_save_CFLAGS"
5625 echo "cannot find nm_test_func in $nlist" >&5
5628 echo "cannot find nm_test_var in $nlist" >&5
5631 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5634 echo "$progname: failed program was:" >&5
5635 cat conftest.$ac_ext >&5
5637 rm -f conftest* conftst*
5639 # Do not use the global_symbol_pipe unless it works.
5640 if test "$pipe_works" = yes; then
5643 lt_cv_sys_global_symbol_pipe=
5649 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5650 lt_cv_sys_global_symbol_to_cdecl=
5652 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5653 echo "$as_me:$LINENO: result: failed" >&5
5654 echo "${ECHO_T}failed" >&6
5656 echo "$as_me:$LINENO: result: ok" >&5
5657 echo "${ECHO_T}ok" >&6
5660 echo "$as_me:$LINENO: checking for objdir" >&5
5661 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5662 if test "${lt_cv_objdir+set}" = set; then
5663 echo $ECHO_N "(cached) $ECHO_C" >&6
5665 rm -f .libs 2>/dev/null
5666 mkdir .libs 2>/dev/null
5667 if test -d .libs; then
5670 # MS-DOS does not allow filenames that begin with a dot.
5673 rmdir .libs 2>/dev/null
5675 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5676 echo "${ECHO_T}$lt_cv_objdir" >&6
5677 objdir=$lt_cv_objdir
5685 # AIX sometimes has problems with the GCC collect2 program. For some
5686 # reason, if we set the COLLECT_NAMES environment variable, the problems
5687 # vanish in a puff of smoke.
5688 if test "X${COLLECT_NAMES+set}" != Xset; then
5690 export COLLECT_NAMES
5695 # Sed substitution that helps us do robust quoting. It backslashifies
5696 # metacharacters that are still active within double-quoted strings.
5697 Xsed='sed -e s/^X//'
5698 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5700 # Same as above, but do not quote variable references.
5701 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5703 # Sed substitution to delay expansion of an escaped shell variable in a
5704 # double_quote_subst'ed string.
5705 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5707 # Sed substitution to avoid accidental globbing in evaled expressions
5708 no_glob_subst='s/\*/\\\*/g'
5715 can_build_shared=yes
5717 # All known linkers require a `.a' archive for static linking (except M$VC,
5718 # which needs '.lib').
5720 ltmain="$ac_aux_dir/ltmain.sh"
5721 ofile="$default_ofile"
5722 with_gnu_ld="$lt_cv_prog_gnu_ld"
5724 if test -n "$ac_tool_prefix"; then
5725 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5726 set dummy ${ac_tool_prefix}ar; ac_word=$2
5727 echo "$as_me:$LINENO: checking for $ac_word" >&5
5728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5729 if test "${ac_cv_prog_AR+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5732 if test -n "$AR"; then
5733 ac_cv_prog_AR="$AR" # Let the user override the test.
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 test -z "$as_dir" && as_dir=.
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5742 ac_cv_prog_AR="${ac_tool_prefix}ar"
5743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 if test -n "$AR"; then
5753 echo "$as_me:$LINENO: result: $AR" >&5
5754 echo "${ECHO_T}$AR" >&6
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5761 if test -z "$ac_cv_prog_AR"; then
5763 # Extract the first word of "ar", so it can be a program name with args.
5764 set dummy ar; ac_word=$2
5765 echo "$as_me:$LINENO: checking for $ac_word" >&5
5766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5767 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5768 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 if test -n "$ac_ct_AR"; then
5771 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_ac_ct_AR="ar"
5781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5790 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5791 if test -n "$ac_ct_AR"; then
5792 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5793 echo "${ECHO_T}$ac_ct_AR" >&6
5795 echo "$as_me:$LINENO: result: no" >&5
5796 echo "${ECHO_T}no" >&6
5804 if test -n "$ac_tool_prefix"; then
5805 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5806 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5807 echo "$as_me:$LINENO: checking for $ac_word" >&5
5808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5809 if test "${ac_cv_prog_RANLIB+set}" = set; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5812 if test -n "$RANLIB"; then
5813 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 test -z "$as_dir" && as_dir=.
5820 for ac_exec_ext in '' $ac_executable_extensions; do
5821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5822 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 RANLIB=$ac_cv_prog_RANLIB
5832 if test -n "$RANLIB"; then
5833 echo "$as_me:$LINENO: result: $RANLIB" >&5
5834 echo "${ECHO_T}$RANLIB" >&6
5836 echo "$as_me:$LINENO: result: no" >&5
5837 echo "${ECHO_T}no" >&6
5841 if test -z "$ac_cv_prog_RANLIB"; then
5842 ac_ct_RANLIB=$RANLIB
5843 # Extract the first word of "ranlib", so it can be a program name with args.
5844 set dummy ranlib; ac_word=$2
5845 echo "$as_me:$LINENO: checking for $ac_word" >&5
5846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5847 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5848 echo $ECHO_N "(cached) $ECHO_C" >&6
5850 if test -n "$ac_ct_RANLIB"; then
5851 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 test -z "$as_dir" && as_dir=.
5858 for ac_exec_ext in '' $ac_executable_extensions; do
5859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5860 ac_cv_prog_ac_ct_RANLIB="ranlib"
5861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5870 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5871 if test -n "$ac_ct_RANLIB"; then
5872 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5873 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5879 RANLIB=$ac_ct_RANLIB
5881 RANLIB="$ac_cv_prog_RANLIB"
5884 if test -n "$ac_tool_prefix"; then
5885 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5886 set dummy ${ac_tool_prefix}strip; ac_word=$2
5887 echo "$as_me:$LINENO: checking for $ac_word" >&5
5888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5889 if test "${ac_cv_prog_STRIP+set}" = set; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5892 if test -n "$STRIP"; then
5893 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 test -z "$as_dir" && as_dir=.
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5902 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 STRIP=$ac_cv_prog_STRIP
5912 if test -n "$STRIP"; then
5913 echo "$as_me:$LINENO: result: $STRIP" >&5
5914 echo "${ECHO_T}$STRIP" >&6
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5921 if test -z "$ac_cv_prog_STRIP"; then
5923 # Extract the first word of "strip", so it can be a program name with args.
5924 set dummy strip; ac_word=$2
5925 echo "$as_me:$LINENO: checking for $ac_word" >&5
5926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5927 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5928 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 if test -n "$ac_ct_STRIP"; then
5931 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5940 ac_cv_prog_ac_ct_STRIP="strip"
5941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5950 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5951 if test -n "$ac_ct_STRIP"; then
5952 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5953 echo "${ECHO_T}$ac_ct_STRIP" >&6
5955 echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6
5961 STRIP="$ac_cv_prog_STRIP"
5966 old_CFLAGS="$CFLAGS"
5968 # Set sane defaults for various variables
5969 test -z "$AR" && AR=ar
5970 test -z "$AR_FLAGS" && AR_FLAGS=cru
5971 test -z "$AS" && AS=as
5972 test -z "$CC" && CC=cc
5973 test -z "$LTCC" && LTCC=$CC
5974 test -z "$DLLTOOL" && DLLTOOL=dlltool
5975 test -z "$LD" && LD=ld
5976 test -z "$LN_S" && LN_S="ln -s"
5977 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5978 test -z "$NM" && NM=nm
5979 test -z "$SED" && SED=sed
5980 test -z "$OBJDUMP" && OBJDUMP=objdump
5981 test -z "$RANLIB" && RANLIB=:
5982 test -z "$STRIP" && STRIP=:
5983 test -z "$ac_objext" && ac_objext=o
5985 # Determine commands to create old-style static archives.
5986 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5987 old_postinstall_cmds='chmod 644 $oldlib'
5988 old_postuninstall_cmds=
5990 if test -n "$RANLIB"; then
5993 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5996 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5999 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6002 # Only perform the check for file, if the check method requires it
6003 case $deplibs_check_method in
6005 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6006 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6007 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6008 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6009 echo $ECHO_N "(cached) $ECHO_C" >&6
6013 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6016 lt_save_MAGIC_CMD="$MAGIC_CMD"
6017 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6018 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6019 for ac_dir in $ac_dummy; do
6021 test -z "$ac_dir" && ac_dir=.
6022 if test -f $ac_dir/${ac_tool_prefix}file; then
6023 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6024 if test -n "$file_magic_test_file"; then
6025 case $deplibs_check_method in
6027 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6028 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6029 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6030 $EGREP "$file_magic_regex" > /dev/null; then
6035 *** Warning: the command libtool uses to detect shared libraries,
6036 *** $file_magic_cmd, produces output that libtool cannot recognize.
6037 *** The result is that libtool may fail to recognize shared libraries
6038 *** as such. This will affect the creation of libtool libraries that
6039 *** depend on shared libraries, but programs linked with such libtool
6040 *** libraries will work regardless of this problem. Nevertheless, you
6041 *** may want to report the problem to your system manager and/or to
6042 *** bug-libtool@gnu.org
6052 MAGIC_CMD="$lt_save_MAGIC_CMD"
6057 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6058 if test -n "$MAGIC_CMD"; then
6059 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6060 echo "${ECHO_T}$MAGIC_CMD" >&6
6062 echo "$as_me:$LINENO: result: no" >&5
6063 echo "${ECHO_T}no" >&6
6066 if test -z "$lt_cv_path_MAGIC_CMD"; then
6067 if test -n "$ac_tool_prefix"; then
6068 echo "$as_me:$LINENO: checking for file" >&5
6069 echo $ECHO_N "checking for file... $ECHO_C" >&6
6070 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6075 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6078 lt_save_MAGIC_CMD="$MAGIC_CMD"
6079 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6080 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6081 for ac_dir in $ac_dummy; do
6083 test -z "$ac_dir" && ac_dir=.
6084 if test -f $ac_dir/file; then
6085 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6086 if test -n "$file_magic_test_file"; then
6087 case $deplibs_check_method in
6089 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6090 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6091 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6092 $EGREP "$file_magic_regex" > /dev/null; then
6097 *** Warning: the command libtool uses to detect shared libraries,
6098 *** $file_magic_cmd, produces output that libtool cannot recognize.
6099 *** The result is that libtool may fail to recognize shared libraries
6100 *** as such. This will affect the creation of libtool libraries that
6101 *** depend on shared libraries, but programs linked with such libtool
6102 *** libraries will work regardless of this problem. Nevertheless, you
6103 *** may want to report the problem to your system manager and/or to
6104 *** bug-libtool@gnu.org
6114 MAGIC_CMD="$lt_save_MAGIC_CMD"
6119 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6120 if test -n "$MAGIC_CMD"; then
6121 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6122 echo "${ECHO_T}$MAGIC_CMD" >&6
6124 echo "$as_me:$LINENO: result: no" >&5
6125 echo "${ECHO_T}no" >&6
6140 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6141 if test "${enable_libtool_lock+set}" = set; then
6142 enableval="$enable_libtool_lock"
6145 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6148 # Check whether --with-pic or --without-pic was given.
6149 if test "${with_pic+set}" = set; then
6155 test -z "$pic_mode" && pic_mode=default
6157 # Use C for the default configuration in the libtool script
6161 ac_cpp='$CPP $CPPFLAGS'
6162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6167 # Source file extension for C test sources.
6170 # Object file extension for compiled C test sources.
6174 # Code to be used in simple compile tests
6175 lt_simple_compile_test_code="int some_variable = 0;\n"
6177 # Code to be used in simple link tests
6178 lt_simple_link_test_code='int main(){return(0);}\n'
6181 # If no C compiler was specified, use CC.
6184 # Allow CC to be a program name with arguments.
6189 # Check for any special shared library compilation flags.
6192 if test "$GCC" = no; then
6195 lt_prog_cc_shlib='-belf'
6199 if test -n "$lt_prog_cc_shlib"; then
6200 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6201 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6202 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6204 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6205 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6206 lt_cv_prog_cc_can_build_shared=no
6212 # Check to make sure the static flag actually works.
6214 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6215 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6216 if test "${lt_prog_compiler_static_works+set}" = set; then
6217 echo $ECHO_N "(cached) $ECHO_C" >&6
6219 lt_prog_compiler_static_works=no
6220 save_LDFLAGS="$LDFLAGS"
6221 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6222 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6223 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6224 # The compiler can only warn and ignore the option if not recognized
6225 # So say no if there are warnings
6226 if test -s conftest.err; then
6227 # Append any errors to the config.log.
6228 cat conftest.err 1>&5
6230 lt_prog_compiler_static_works=yes
6234 LDFLAGS="$save_LDFLAGS"
6237 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6238 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6240 if test x"$lt_prog_compiler_static_works" = xyes; then
6243 lt_prog_compiler_static=
6249 ## There is no encapsulation within the following macros, do not change
6250 ## the running order or otherwise move them around unless you know exactly
6251 ## what you are doing...
6253 lt_prog_compiler_no_builtin_flag=
6255 if test "$GCC" = yes; then
6256 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6258 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6259 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6260 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6261 echo $ECHO_N "(cached) $ECHO_C" >&6
6263 lt_cv_prog_compiler_rtti_exceptions=no
6264 ac_outfile=conftest.$ac_objext
6265 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6266 lt_compiler_flag="-fno-rtti -fno-exceptions"
6267 # Insert the option either (1) after the last *FLAGS variable, or
6268 # (2) before a word containing "conftest.", or (3) at the end.
6269 # Note that $ac_compile itself does not contain backslashes and begins
6270 # with a dollar sign (not a hyphen), so the echo should work correctly.
6271 # The option is referenced via a variable to avoid confusing sed.
6272 lt_compile=`echo "$ac_compile" | $SED \
6273 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6274 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6275 -e 's:$: $lt_compiler_flag:'`
6276 (eval echo "\"\$as_me:6276: $lt_compile\"" >&5)
6277 (eval "$lt_compile" 2>conftest.err)
6279 cat conftest.err >&5
6280 echo "$as_me:6280: \$? = $ac_status" >&5
6281 if (exit $ac_status) && test -s "$ac_outfile"; then
6282 # The compiler can only warn and ignore the option if not recognized
6283 # So say no if there are warnings
6284 if test ! -s conftest.err; then
6285 lt_cv_prog_compiler_rtti_exceptions=yes
6291 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6292 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6294 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6295 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6302 lt_prog_compiler_wl=
6303 lt_prog_compiler_pic=
6304 lt_prog_compiler_static=
6306 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6307 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6309 if test "$GCC" = yes; then
6310 lt_prog_compiler_wl='-Wl,'
6311 lt_prog_compiler_static='-static'
6315 # All AIX code is PIC.
6316 if test "$host_cpu" = ia64; then
6317 # AIX 5 now supports IA64 processor
6318 lt_prog_compiler_static='-Bstatic'
6323 # FIXME: we need at least 68020 code to build shared libraries, but
6324 # adding the `-m68020' flag to GCC prevents building anything better,
6326 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6329 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6330 # PIC is the default for these OSes.
6333 mingw* | pw32* | os2*)
6334 # This hack is so that the source file can tell whether it is being
6335 # built for inclusion in a dll (and should export symbols for example).
6336 lt_prog_compiler_pic='-DDLL_EXPORT'
6339 darwin* | rhapsody*)
6340 # PIC is the default on this platform
6341 # Common symbols not allowed in MH_DYLIB files
6342 lt_prog_compiler_pic='-fno-common'
6346 # Just because we use GCC doesn't mean we suddenly get shared libraries
6347 # on systems that don't support them.
6348 lt_prog_compiler_can_build_shared=no
6353 if test -d /usr/nec; then
6354 lt_prog_compiler_pic=-Kconform_pic
6359 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6366 lt_prog_compiler_pic='-fPIC'
6372 lt_prog_compiler_pic='-fPIC'
6376 # PORTME Check for flag to pass linker flags through the system compiler.
6379 lt_prog_compiler_wl='-Wl,'
6380 if test "$host_cpu" = ia64; then
6381 # AIX 5 now supports IA64 processor
6382 lt_prog_compiler_static='-Bstatic'
6384 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6388 mingw* | pw32* | os2*)
6389 # This hack is so that the source file can tell whether it is being
6390 # built for inclusion in a dll (and should export symbols for example).
6391 lt_prog_compiler_pic='-DDLL_EXPORT'
6394 hpux9* | hpux10* | hpux11*)
6395 lt_prog_compiler_wl='-Wl,'
6396 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6403 lt_prog_compiler_pic='+Z'
6406 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6407 lt_prog_compiler_static='${wl}-a ${wl}archive'
6410 irix5* | irix6* | nonstopux*)
6411 lt_prog_compiler_wl='-Wl,'
6412 # PIC (with -KPIC) is the default.
6413 lt_prog_compiler_static='-non_shared'
6417 lt_prog_compiler_pic='-KPIC'
6418 lt_prog_compiler_static='-Bstatic'
6424 lt_prog_compiler_wl='-Wl,'
6425 lt_prog_compiler_pic='-KPIC'
6426 lt_prog_compiler_static='-static'
6429 lt_prog_compiler_wl='-Wl,'
6430 # All Alpha code is PIC.
6431 lt_prog_compiler_static='-non_shared'
6436 osf3* | osf4* | osf5*)
6437 lt_prog_compiler_wl='-Wl,'
6438 # All OSF/1 code is PIC.
6439 lt_prog_compiler_static='-non_shared'
6443 lt_prog_compiler_pic='-Kpic'
6444 lt_prog_compiler_static='-dn'
6448 lt_prog_compiler_wl='-Wl,'
6449 lt_prog_compiler_pic='-KPIC'
6450 lt_prog_compiler_static='-Bstatic'
6454 lt_prog_compiler_wl='-Qoption ld '
6455 lt_prog_compiler_pic='-PIC'
6456 lt_prog_compiler_static='-Bstatic'
6459 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6460 lt_prog_compiler_wl='-Wl,'
6461 lt_prog_compiler_pic='-KPIC'
6462 lt_prog_compiler_static='-Bstatic'
6466 if test -d /usr/nec ;then
6467 lt_prog_compiler_pic='-Kconform_pic'
6468 lt_prog_compiler_static='-Bstatic'
6473 lt_prog_compiler_pic='-pic'
6474 lt_prog_compiler_static='-Bstatic'
6478 lt_prog_compiler_can_build_shared=no
6483 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6484 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6487 # Check to make sure the PIC flag actually works.
6489 if test -n "$lt_prog_compiler_pic"; then
6490 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6491 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6492 if test "${lt_prog_compiler_pic_works+set}" = set; then
6493 echo $ECHO_N "(cached) $ECHO_C" >&6
6495 lt_prog_compiler_pic_works=no
6496 ac_outfile=conftest.$ac_objext
6497 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6498 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6499 # Insert the option either (1) after the last *FLAGS variable, or
6500 # (2) before a word containing "conftest.", or (3) at the end.
6501 # Note that $ac_compile itself does not contain backslashes and begins
6502 # with a dollar sign (not a hyphen), so the echo should work correctly.
6503 # The option is referenced via a variable to avoid confusing sed.
6504 lt_compile=`echo "$ac_compile" | $SED \
6505 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6506 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6507 -e 's:$: $lt_compiler_flag:'`
6508 (eval echo "\"\$as_me:6508: $lt_compile\"" >&5)
6509 (eval "$lt_compile" 2>conftest.err)
6511 cat conftest.err >&5
6512 echo "$as_me:6512: \$? = $ac_status" >&5
6513 if (exit $ac_status) && test -s "$ac_outfile"; then
6514 # The compiler can only warn and ignore the option if not recognized
6515 # So say no if there are warnings
6516 if test ! -s conftest.err; then
6517 lt_prog_compiler_pic_works=yes
6523 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6524 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6526 if test x"$lt_prog_compiler_pic_works" = xyes; then
6527 case $lt_prog_compiler_pic in
6529 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6532 lt_prog_compiler_pic=
6533 lt_prog_compiler_can_build_shared=no
6538 # For platforms which do not support PIC, -DPIC is meaningless:
6540 lt_prog_compiler_pic=
6543 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6547 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6548 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6549 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6550 echo $ECHO_N "(cached) $ECHO_C" >&6
6552 lt_cv_prog_compiler_c_o=no
6553 $rm -r conftest 2>/dev/null
6557 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6559 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6560 # that will create temporary files in the current directory regardless of
6561 # the output directory. Thus, making CWD read-only will cause this test
6562 # to fail, enabling locking or at least warning the user not to do parallel
6566 lt_compiler_flag="-o out/conftest2.$ac_objext"
6567 # Insert the option either (1) after the last *FLAGS variable, or
6568 # (2) before a word containing "conftest.", or (3) at the end.
6569 # Note that $ac_compile itself does not contain backslashes and begins
6570 # with a dollar sign (not a hyphen), so the echo should work correctly.
6571 lt_compile=`echo "$ac_compile" | $SED \
6572 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6574 -e 's:$: $lt_compiler_flag:'`
6575 (eval echo "\"\$as_me:6575: $lt_compile\"" >&5)
6576 (eval "$lt_compile" 2>out/conftest.err)
6578 cat out/conftest.err >&5
6579 echo "$as_me:6579: \$? = $ac_status" >&5
6580 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6582 # The compiler can only warn and ignore the option if not recognized
6583 # So say no if there are warnings
6584 if test ! -s out/conftest.err; then
6585 lt_cv_prog_compiler_c_o=yes
6596 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6597 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6600 hard_links="nottested"
6601 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6602 # do not overwrite the value of need_locks provided by the user
6603 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6604 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6607 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6609 ln conftest.a conftest.b 2>&5 || hard_links=no
6610 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6611 echo "$as_me:$LINENO: result: $hard_links" >&5
6612 echo "${ECHO_T}$hard_links" >&6
6613 if test "$hard_links" = no; then
6614 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6615 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6622 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6623 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6626 allow_undefined_flag=
6627 enable_shared_with_static_runtimes=no
6629 archive_expsym_cmds=
6630 old_archive_From_new_cmds=
6631 old_archive_from_expsyms_cmds=
6632 export_dynamic_flag_spec=
6633 whole_archive_flag_spec=
6634 thread_safe_flag_spec=
6635 hardcode_libdir_flag_spec=
6636 hardcode_libdir_flag_spec_ld=
6637 hardcode_libdir_separator=
6640 hardcode_shlibpath_var=unsupported
6641 link_all_deplibs=unknown
6642 hardcode_automatic=no
6645 always_export_symbols=no
6646 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6647 # include_expsyms should be a list of space-separated symbols to be *always*
6648 # included in the symbol list
6650 # exclude_expsyms can be an extended regexp of symbols to exclude
6651 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6652 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6653 # as well as any symbol that contains `d'.
6654 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6655 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6656 # platforms (ab)use it in PIC code, but their linkers get confused if
6657 # the symbol is explicitly referenced. Since portable code cannot
6658 # rely on this symbol name, it's probably fine to never include it in
6659 # preloaded symbol tables.
6660 extract_expsyms_cmds=
6663 cygwin* | mingw* | pw32*)
6664 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6665 # When not using gcc, we currently assume that we are using
6666 # Microsoft Visual C++.
6667 if test "$GCC" != yes; then
6677 if test "$with_gnu_ld" = yes; then
6678 # If archive_cmds runs LD, not CC, wlarc should be empty
6681 # See if GNU ld supports shared libraries.
6683 aix3* | aix4* | aix5*)
6684 # On AIX/PPC, the GNU linker is very broken
6685 if test "$host_cpu" != ia64; then
6689 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6690 *** to be unable to reliably create shared libraries on AIX.
6691 *** Therefore, libtool is disabling shared libraries support. If you
6692 *** really care for shared libraries, you may want to modify your PATH
6693 *** so that a non-GNU linker is found, and then restart.
6700 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)'
6701 hardcode_libdir_flag_spec='-L$libdir'
6702 hardcode_minus_L=yes
6704 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6705 # that the semantics of dynamic libraries on AmigaOS, at least up
6706 # to version 4, is to share data among multiple programs linked
6707 # with the same dynamic library. Since this doesn't match the
6708 # behavior of shared libraries on other platforms, we can't use
6714 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6715 allow_undefined_flag=unsupported
6716 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6717 # support --undefined. This deserves some investigation. FIXME
6718 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6724 cygwin* | mingw* | pw32*)
6725 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6726 # as there is no search path for DLLs.
6727 hardcode_libdir_flag_spec='-L$libdir'
6728 allow_undefined_flag=unsupported
6729 always_export_symbols=no
6730 enable_shared_with_static_runtimes=yes
6731 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6733 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6734 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6735 # If the export-symbols file already is a .def file (1st line
6736 # is EXPORTS), use it as is; otherwise, prepend...
6737 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6738 cp $export_symbols $output_objdir/$soname.def;
6740 echo EXPORTS > $output_objdir/$soname.def;
6741 cat $export_symbols >> $output_objdir/$soname.def;
6743 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6750 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6751 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6754 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6755 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6760 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6764 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6765 *** create shared libraries on Solaris systems. Therefore, libtool
6766 *** is disabling shared libraries support. We urge you to upgrade GNU
6767 *** binutils to release 2.9.1 or newer. Another option is to modify
6768 *** your PATH or compiler configuration so that the native linker is
6769 *** used, and then restart.
6772 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6773 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6774 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6781 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6784 hardcode_shlibpath_var=no
6788 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6789 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6790 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6797 if test "$ld_shlibs" = yes; then
6798 runpath_var=LD_RUN_PATH
6799 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6800 export_dynamic_flag_spec='${wl}--export-dynamic'
6801 # ancient GNU ld didn't support --whole-archive et. al.
6802 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6803 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6805 whole_archive_flag_spec=
6809 # PORTME fill in a description of your system's linker (not GNU ld)
6812 allow_undefined_flag=unsupported
6813 always_export_symbols=yes
6814 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'
6815 # Note: this linker hardcodes the directories in LIBPATH if there
6816 # are no directories specified by -L.
6817 hardcode_minus_L=yes
6818 if test "$GCC" = yes && test -z "$link_static_flag"; then
6819 # Neither direct hardcoding nor static linking is supported with a
6821 hardcode_direct=unsupported
6826 if test "$host_cpu" = ia64; then
6827 # On IA64, the linker does run time linking by default, so we don't
6828 # have to do anything special.
6829 aix_use_runtimelinking=no
6830 exp_sym_flag='-Bexport'
6833 # If we're using GNU nm, then we don't want the "-C" option.
6834 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6835 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6836 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'
6838 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'
6840 aix_use_runtimelinking=no
6842 # Test if we are trying to use run time linking or normal
6843 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6844 # need to do runtime linking.
6845 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6846 for ld_flag in $LDFLAGS; do
6847 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6848 aix_use_runtimelinking=yes
6854 exp_sym_flag='-bexport'
6855 no_entry_flag='-bnoentry'
6858 # When large executables or shared objects are built, AIX ld can
6859 # have problems creating the table of contents. If linking a library
6860 # or program results in "error TOC overflow" add -mminimal-toc to
6861 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6862 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6866 hardcode_libdir_separator=':'
6867 link_all_deplibs=yes
6869 if test "$GCC" = yes; then
6870 case $host_os in aix4.012|aix4.012.*)
6871 # We only want to do this on AIX 4.2 and lower, the check
6872 # below for broken collect2 doesn't work under 4.3+
6873 collect2name=`${CC} -print-prog-name=collect2`
6874 if test -f "$collect2name" && \
6875 strings "$collect2name" | grep resolve_lib_name >/dev/null
6877 # We have reworked collect2
6880 # We have old collect2
6881 hardcode_direct=unsupported
6882 # It fails to find uninstalled libraries when the uninstalled
6883 # path is not listed in the libpath. Setting hardcode_minus_L
6884 # to unsupported forces relinking
6885 hardcode_minus_L=yes
6886 hardcode_libdir_flag_spec='-L$libdir'
6887 hardcode_libdir_separator=
6890 shared_flag='-shared'
6893 if test "$host_cpu" = ia64; then
6894 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6895 # chokes on -Wl,-G. The following line is correct:
6898 if test "$aix_use_runtimelinking" = yes; then
6899 shared_flag='${wl}-G'
6901 shared_flag='${wl}-bM:SRE'
6906 # It seems that -bexpall does not export symbols beginning with
6907 # underscore (_), so it is better to generate a list of symbols to export.
6908 always_export_symbols=yes
6909 if test "$aix_use_runtimelinking" = yes; then
6910 # Warning - without using the other runtime loading flags (-brtl),
6911 # -berok will link without error, but may produce a broken library.
6912 allow_undefined_flag='-berok'
6913 # Determine the default libpath from the value encoded in an empty executable.
6914 cat >conftest.$ac_ext <<_ACEOF
6915 #line $LINENO "configure"
6918 cat confdefs.h >>conftest.$ac_ext
6919 cat >>conftest.$ac_ext <<_ACEOF
6920 /* end confdefs.h. */
6930 rm -f conftest.$ac_objext conftest$ac_exeext
6931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6932 (eval $ac_link) 2>&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); } &&
6936 { ac_try='test -s conftest$ac_exeext'
6937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); }; }; then
6943 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6945 # Check for a 64-bit object if we didn't find anything.
6946 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; }
6949 echo "$as_me: failed program was:" >&5
6950 sed 's/^/| /' conftest.$ac_ext >&5
6953 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6954 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6956 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6957 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"
6959 if test "$host_cpu" = ia64; then
6960 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6961 allow_undefined_flag="-z nodefs"
6962 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"
6964 # Determine the default libpath from the value encoded in an empty executable.
6965 cat >conftest.$ac_ext <<_ACEOF
6966 #line $LINENO "configure"
6969 cat confdefs.h >>conftest.$ac_ext
6970 cat >>conftest.$ac_ext <<_ACEOF
6971 /* end confdefs.h. */
6981 rm -f conftest.$ac_objext conftest$ac_exeext
6982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6983 (eval $ac_link) 2>&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); } &&
6987 { ac_try='test -s conftest$ac_exeext'
6988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); }; }; then
6994 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6996 # Check for a 64-bit object if we didn't find anything.
6997 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; }
7000 echo "$as_me: failed program was:" >&5
7001 sed 's/^/| /' conftest.$ac_ext >&5
7004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7005 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7007 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7008 # Warning - without using the other run time loading flags,
7009 # -berok will link without error, but may produce a broken library.
7010 no_undefined_flag=' ${wl}-bernotok'
7011 allow_undefined_flag=' ${wl}-berok'
7012 # -bexpall does not export symbols beginning with underscore (_)
7013 always_export_symbols=yes
7014 # Exported symbols can be pulled into shared objects from archives
7015 whole_archive_flag_spec=' '
7016 archive_cmds_need_lc=yes
7017 # This is similar to how AIX traditionally builds it's shared libraries.
7018 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'
7024 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)'
7025 hardcode_libdir_flag_spec='-L$libdir'
7026 hardcode_minus_L=yes
7027 # see comment about different semantics on the GNU ld section
7032 export_dynamic_flag_spec=-rdynamic
7035 cygwin* | mingw* | pw32*)
7036 # When not using gcc, we currently assume that we are using
7037 # Microsoft Visual C++.
7038 # hardcode_libdir_flag_spec is actually meaningless, as there is
7039 # no search path for DLLs.
7040 hardcode_libdir_flag_spec=' '
7041 allow_undefined_flag=unsupported
7042 # Tell ltmain to make .lib files, not .a files.
7044 # Tell ltmain to make .dll files, not .so files.
7046 # FIXME: Setting linknames here is a bad hack.
7047 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7048 # The linker will automatically build a .lib file if we build a DLL.
7049 old_archive_From_new_cmds='true'
7050 # FIXME: Should let the user specify the lib program.
7051 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7052 fix_srcfile_path='`cygpath -w "$srcfile"`'
7053 enable_shared_with_static_runtimes=yes
7056 darwin* | rhapsody*)
7057 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7058 archive_cmds_need_lc=no
7060 rhapsody* | darwin1.[012])
7061 allow_undefined_flag='-undefined suppress'
7064 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7067 # FIXME: Relying on posixy $() will cause problems for
7068 # cross-compilation, but unfortunately the echo tests do not
7069 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7070 # `"' quotes if we put them in here... so don't!
7071 lt_int_apple_cc_single_mod=no
7072 output_verbose_link_cmd='echo'
7073 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7074 lt_int_apple_cc_single_mod=yes
7076 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7077 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7079 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'
7081 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7082 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7083 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7084 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}'
7086 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}'
7088 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}'
7090 hardcode_automatic=yes
7091 hardcode_shlibpath_var=unsupported
7092 whole_archive_flag_spec='-all_load $convenience'
7093 link_all_deplibs=yes
7098 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7099 hardcode_libdir_flag_spec='-L$libdir'
7100 hardcode_shlibpath_var=no
7107 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7108 # support. Future versions do this automatically, but an explicit c++rt0.o
7109 # does not break anything, and helps significantly (at the cost of a little
7112 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7113 hardcode_libdir_flag_spec='-R$libdir'
7115 hardcode_shlibpath_var=no
7118 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7120 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7122 hardcode_minus_L=yes
7123 hardcode_shlibpath_var=no
7126 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7128 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7129 hardcode_libdir_flag_spec='-R$libdir'
7131 hardcode_shlibpath_var=no
7135 if test "$GCC" = yes; then
7136 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'
7138 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'
7140 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7141 hardcode_libdir_separator=:
7144 # hardcode_minus_L: Not really in the search PATH,
7145 # but as the default location of the library.
7146 hardcode_minus_L=yes
7147 export_dynamic_flag_spec='${wl}-E'
7151 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7154 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7157 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7163 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7166 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7170 if test "$with_gnu_ld" = no; then
7173 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7174 hardcode_libdir_flag_spec_ld='+b $libdir'
7175 hardcode_libdir_separator=:
7177 hardcode_shlibpath_var=no
7180 hardcode_libdir_flag_spec='-L$libdir'
7182 hardcode_shlibpath_var=no
7184 # hardcode_minus_L: Not really in the search PATH,
7185 # but as the default location of the library.
7186 hardcode_minus_L=yes
7189 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7190 hardcode_libdir_separator=:
7192 export_dynamic_flag_spec='${wl}-E'
7194 # hardcode_minus_L: Not really in the search PATH,
7195 # but as the default location of the library.
7196 hardcode_minus_L=yes
7202 irix5* | irix6* | nonstopux*)
7203 if test "$GCC" = yes; then
7204 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'
7206 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'
7207 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7209 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7210 hardcode_libdir_separator=:
7211 link_all_deplibs=yes
7215 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7216 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7218 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7220 hardcode_libdir_flag_spec='-R$libdir'
7222 hardcode_shlibpath_var=no
7226 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7228 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7229 hardcode_libdir_separator=:
7230 hardcode_shlibpath_var=no
7235 hardcode_shlibpath_var=no
7236 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7237 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7238 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7239 export_dynamic_flag_spec='${wl}-E'
7242 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7243 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7244 hardcode_libdir_flag_spec='-R$libdir'
7247 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7248 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7255 hardcode_libdir_flag_spec='-L$libdir'
7256 hardcode_minus_L=yes
7257 allow_undefined_flag=unsupported
7258 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'
7259 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7263 if test "$GCC" = yes; then
7264 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7265 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'
7267 allow_undefined_flag=' -expect_unresolved \*'
7268 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'
7270 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7271 hardcode_libdir_separator=:
7274 osf4* | osf5*) # as osf3* with the addition of -msym flag
7275 if test "$GCC" = yes; then
7276 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7277 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'
7278 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7280 allow_undefined_flag=' -expect_unresolved \*'
7281 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'
7282 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7283 $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'
7285 # Both c and cxx compiler support -rpath directly
7286 hardcode_libdir_flag_spec='-rpath $libdir'
7288 hardcode_libdir_separator=:
7292 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7293 hardcode_shlibpath_var=no
7294 export_dynamic_flag_spec='${wl}-Bexport'
7295 runpath_var=LD_RUN_PATH
7296 hardcode_runpath_var=yes
7300 no_undefined_flag=' -z text'
7301 if test "$GCC" = yes; then
7302 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7303 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7304 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7306 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7307 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7308 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7310 hardcode_libdir_flag_spec='-R$libdir'
7311 hardcode_shlibpath_var=no
7313 solaris2.[0-5] | solaris2.[0-5].*) ;;
7314 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7315 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7317 link_all_deplibs=yes
7321 if test "x$host_vendor" = xsequent; then
7322 # Use $CC to link under sequent, because it throws in some extra .o
7323 # files that make .init and .fini sections work.
7324 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7326 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7328 hardcode_libdir_flag_spec='-L$libdir'
7330 hardcode_minus_L=yes
7331 hardcode_shlibpath_var=no
7335 case $host_vendor in
7337 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7338 hardcode_direct=yes # is this really true???
7341 ## LD is ld it makes a PLAMLIB
7342 ## CC just makes a GrossModule.
7343 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7344 reload_cmds='$CC -r -o $output$reload_objs'
7348 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7349 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7352 runpath_var='LD_RUN_PATH'
7353 hardcode_shlibpath_var=no
7357 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7358 hardcode_shlibpath_var=no
7359 export_dynamic_flag_spec='-Bexport'
7363 if test -d /usr/nec; then
7364 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7365 hardcode_shlibpath_var=no
7366 runpath_var=LD_RUN_PATH
7367 hardcode_runpath_var=yes
7373 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7376 hardcode_shlibpath_var=no
7377 hardcode_runpath_var=yes
7378 runpath_var=LD_RUN_PATH
7381 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7382 no_undefined_flag='${wl}-z ${wl}text'
7383 if test "$GCC" = yes; then
7384 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7386 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7388 runpath_var='LD_RUN_PATH'
7389 hardcode_shlibpath_var=no
7393 no_undefined_flag=' -z text'
7394 # $CC -shared without GNU ld will not create a library from C++
7395 # object files and a static libstdc++, better avoid it by now
7396 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7397 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7398 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7399 hardcode_libdir_flag_spec=
7400 hardcode_shlibpath_var=no
7401 runpath_var='LD_RUN_PATH'
7405 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7406 hardcode_libdir_flag_spec='-L$libdir'
7407 hardcode_shlibpath_var=no
7416 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7417 echo "${ECHO_T}$ld_shlibs" >&6
7418 test "$ld_shlibs" = no && can_build_shared=no
7420 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7421 if test "$GCC" = yes; then
7422 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7426 # Do we need to explicitly link libc?
7428 case "x$archive_cmds_need_lc" in
7430 # Assume -lc should be added
7431 archive_cmds_need_lc=yes
7433 if test "$enable_shared" = yes && test "$GCC" = yes; then
7434 case $archive_cmds in
7436 # FIXME: we may have to deal with multi-command sequences.
7439 # Test whether the compiler implicitly links with -lc since on some
7440 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7441 # to ld, don't add -lc before -lgcc.
7442 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7443 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7445 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7448 (eval $ac_compile) 2>&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } 2>conftest.err; then
7454 libobjs=conftest.$ac_objext
7456 wl=$lt_prog_compiler_wl
7462 lt_save_allow_undefined_flag=$allow_undefined_flag
7463 allow_undefined_flag=
7464 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7465 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); }
7470 archive_cmds_need_lc=no
7472 archive_cmds_need_lc=yes
7474 allow_undefined_flag=$lt_save_allow_undefined_flag
7476 cat conftest.err 1>&5
7479 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7480 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7487 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7488 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7490 if test -n "$hardcode_libdir_flag_spec" || \
7491 test -n "$runpath_var " || \
7492 test "X$hardcode_automatic"="Xyes" ; then
7494 # We can hardcode non-existant directories.
7495 if test "$hardcode_direct" != no &&
7496 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7497 # have to relink, otherwise we might link with an installed library
7498 # when we should be linking with a yet-to-be-installed one
7499 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7500 test "$hardcode_minus_L" != no; then
7501 # Linking always hardcodes the temporary library directory.
7502 hardcode_action=relink
7504 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7505 hardcode_action=immediate
7508 # We cannot hardcode anything, or else we can only hardcode existing
7510 hardcode_action=unsupported
7512 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7513 echo "${ECHO_T}$hardcode_action" >&6
7515 if test "$hardcode_action" = relink; then
7516 # Fast installation is not supported
7517 enable_fast_install=no
7518 elif test "$shlibpath_overrides_runpath" = yes ||
7519 test "$enable_shared" = no; then
7520 # Fast installation is not necessary
7521 enable_fast_install=needless
7526 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7527 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7528 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7529 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7530 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7531 echo "$as_me:$LINENO: result: yes" >&5
7532 echo "${ECHO_T}yes" >&6
7534 # FIXME - insert some real tests, host_os isn't really good enough
7537 if test -n "$STRIP" ; then
7538 striplib="$STRIP -x"
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7547 echo "$as_me:$LINENO: result: no" >&5
7548 echo "${ECHO_T}no" >&6
7553 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7554 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7556 libname_spec='lib$name'
7564 shlibpath_overrides_runpath=unknown
7566 dynamic_linker="$host_os ld.so"
7567 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7568 if test "$GCC" = yes; then
7569 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7570 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7571 # if the path contains ";" then we assume it to be the separator
7572 # otherwise default to the standard path separator (i.e. ":") - it is
7573 # assumed that no part of a normal pathname contains ";" but that should
7574 # okay in the real world where ";" in dirpaths is itself problematic.
7575 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7577 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7580 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7582 need_lib_prefix=unknown
7583 hardcode_into_libs=no
7585 # when you set need_version to no, make sure it does not cause -set_version
7586 # flags to be left without arguments
7587 need_version=unknown
7592 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7593 shlibpath_var=LIBPATH
7595 # AIX 3 has no versioning support, so we append a major version to the name.
7596 soname_spec='${libname}${release}${shared_ext}$major'
7603 hardcode_into_libs=yes
7604 if test "$host_cpu" = ia64; then
7605 # AIX 5 supports IA64
7606 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7607 shlibpath_var=LD_LIBRARY_PATH
7609 # With GCC up to 2.95.x, collect2 would create an import file
7610 # for dependence libraries. The import file would start with
7611 # the line `#! .'. This would cause the generated library to
7612 # depend on `.', always an invalid library. This was fixed in
7613 # development snapshots of GCC prior to 3.0.
7615 aix4 | aix4.[01] | aix4.[01].*)
7616 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7618 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7625 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7626 # soname into executable. Probably we can add versioning support to
7627 # collect2, so additional links can be useful in future.
7628 if test "$aix_use_runtimelinking" = yes; then
7629 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7630 # instead of lib<name>.a to let people know that these are not
7631 # typical AIX shared libraries.
7632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7634 # We preserve .a as extension for shared libraries through AIX4.2
7635 # and later when we are not doing run time linking.
7636 library_names_spec='${libname}${release}.a $libname.a'
7637 soname_spec='${libname}${release}${shared_ext}$major'
7639 shlibpath_var=LIBPATH
7644 library_names_spec='$libname.ixlibrary $libname.a'
7645 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7646 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'
7650 library_names_spec='${libname}${shared_ext}'
7651 dynamic_linker="$host_os ld.so"
7652 shlibpath_var=LIBRARY_PATH
7658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7659 soname_spec='${libname}${release}${shared_ext}$major'
7660 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7661 shlibpath_var=LD_LIBRARY_PATH
7662 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7663 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7664 # the default ld.so.conf also contains /usr/contrib/lib and
7665 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7666 # libtool to hard-code these into programs
7669 cygwin* | mingw* | pw32*)
7670 version_type=windows
7675 case $GCC,$host_os in
7676 yes,cygwin* | yes,mingw* | yes,pw32*)
7677 library_names_spec='$libname.dll.a'
7678 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7679 postinstall_cmds='base_file=`basename \${file}`~
7680 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7681 dldir=$destdir/`dirname \$dlpath`~
7682 test -d \$dldir || mkdir -p \$dldir~
7683 $install_prog $dir/$dlname \$dldir/$dlname'
7684 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7685 dlpath=$dir/\$dldll~
7687 shlibpath_overrides_runpath=yes
7691 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7692 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7693 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7696 # MinGW DLLs use traditional 'lib' prefix
7697 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7698 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7699 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7700 # It is most probably a Windows format PATH printed by
7701 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7702 # path with ; separators, and with drive letters. We can handle the
7703 # drive letters (cygwin fileutils understands them), so leave them,
7704 # especially as we might pass files found there to a mingw objdump,
7705 # which wouldn't understand a cygwinified path. Ahh.
7706 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7708 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7712 # pw32 DLLs use 'pw' prefix rather than 'lib'
7713 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7719 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7722 dynamic_linker='Win32 ld.exe'
7723 # FIXME: first we should search . and the directory the executable is in
7727 darwin* | rhapsody*)
7728 dynamic_linker="$host_os dyld"
7732 # FIXME: Relying on posixy $() will cause problems for
7733 # cross-compilation, but unfortunately the echo tests do not
7734 # yet detect zsh echo's removal of \ escapes.
7735 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7736 soname_spec='${libname}${release}${major}$shared_ext'
7737 shlibpath_overrides_runpath=yes
7738 shlibpath_var=DYLD_LIBRARY_PATH
7739 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7740 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7741 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7742 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"`
7744 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7752 soname_spec='${libname}${release}${shared_ext}$major'
7753 shlibpath_var=LD_LIBRARY_PATH
7761 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7762 version_type=freebsd-$objformat
7763 case $version_type in
7765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7770 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7774 shlibpath_var=LD_LIBRARY_PATH
7777 shlibpath_overrides_runpath=yes
7779 freebsd3.01* | freebsdelf3.01*)
7780 shlibpath_overrides_runpath=yes
7781 hardcode_into_libs=yes
7784 shlibpath_overrides_runpath=no
7785 hardcode_into_libs=yes
7794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7795 soname_spec='${libname}${release}${shared_ext}$major'
7796 shlibpath_var=LD_LIBRARY_PATH
7797 hardcode_into_libs=yes
7800 hpux9* | hpux10* | hpux11*)
7801 # Give a soname corresponding to the major version so that dld.sl refuses to
7802 # link against other versions.
7809 hardcode_into_libs=yes
7810 dynamic_linker="$host_os dld.so"
7811 shlibpath_var=LD_LIBRARY_PATH
7812 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7814 soname_spec='${libname}${release}${shared_ext}$major'
7815 if test "X$HPUX_IA64_MODE" = X32; then
7816 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7818 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7824 hardcode_into_libs=yes
7825 dynamic_linker="$host_os dld.sl"
7826 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7827 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7829 soname_spec='${libname}${release}${shared_ext}$major'
7830 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7831 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7835 dynamic_linker="$host_os dld.sl"
7836 shlibpath_var=SHLIB_PATH
7837 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7839 soname_spec='${libname}${release}${shared_ext}$major'
7842 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7843 postinstall_cmds='chmod 555 $lib'
7846 irix5* | irix6* | nonstopux*)
7848 nonstopux*) version_type=nonstopux ;;
7850 if test "$lt_cv_prog_gnu_ld" = yes; then
7858 soname_spec='${libname}${release}${shared_ext}$major'
7859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7861 irix5* | nonstopux*)
7865 case $LD in # libtool.m4 will add one of these switches to LD
7866 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7867 libsuff= shlibsuff= libmagic=32-bit;;
7868 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7869 libsuff=32 shlibsuff=N32 libmagic=N32;;
7870 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7871 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7872 *) libsuff= shlibsuff= libmagic=never-match;;
7876 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7877 shlibpath_overrides_runpath=no
7878 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7879 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7880 hardcode_into_libs=yes
7883 # No shared lib support for Linux oldld, aout, or coff.
7884 linux*oldld* | linux*aout* | linux*coff*)
7888 # This must be Linux ELF.
7893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7894 soname_spec='${libname}${release}${shared_ext}$major'
7895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7896 shlibpath_var=LD_LIBRARY_PATH
7897 shlibpath_overrides_runpath=no
7898 # This implies no fast_install, which is unacceptable.
7899 # Some rework will be needed to allow for fast_install
7900 # before this can be enabled.
7901 hardcode_into_libs=yes
7903 # We used to test for /lib/ld.so.1 and disable shared libraries on
7904 # powerpc, because MkLinux only supported shared libraries with the
7905 # GNU dynamic linker. Since this was broken with cross compilers,
7906 # most powerpc-linux boxes support dynamic linking these days and
7907 # people can always --disable-shared, the test was removed, and we
7908 # assume the GNU/Linux dynamic linker is in use.
7909 dynamic_linker='GNU/Linux ld.so'
7916 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7918 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7919 dynamic_linker='NetBSD (a.out) ld.so'
7921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7922 soname_spec='${libname}${release}${shared_ext}$major'
7923 dynamic_linker='NetBSD ld.elf_so'
7925 shlibpath_var=LD_LIBRARY_PATH
7926 shlibpath_overrides_runpath=yes
7927 hardcode_into_libs=yes
7932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7933 shlibpath_var=LD_LIBRARY_PATH
7934 shlibpath_overrides_runpath=yes
7941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7942 soname_spec='${libname}${release}${shared_ext}$major'
7943 shlibpath_var=LD_LIBRARY_PATH
7944 shlibpath_overrides_runpath=yes
7951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7952 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7953 shlibpath_var=LD_LIBRARY_PATH
7954 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7956 openbsd2.[89] | openbsd2.[89].*)
7957 shlibpath_overrides_runpath=no
7960 shlibpath_overrides_runpath=yes
7964 shlibpath_overrides_runpath=yes
7969 libname_spec='$name'
7972 library_names_spec='$libname${shared_ext} $libname.a'
7973 dynamic_linker='OS/2 ld.exe'
7974 shlibpath_var=LIBPATH
7977 osf3* | osf4* | osf5*)
7981 soname_spec='${libname}${release}${shared_ext}$major'
7982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7983 shlibpath_var=LD_LIBRARY_PATH
7984 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7985 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7990 soname_spec='${libname}${release}${shared_ext}$major'
7991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7992 shlibpath_var=LD_LIBRARY_PATH
7999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8000 soname_spec='${libname}${release}${shared_ext}$major'
8001 shlibpath_var=LD_LIBRARY_PATH
8002 shlibpath_overrides_runpath=yes
8003 hardcode_into_libs=yes
8004 # ldd complains unless libraries are executable
8005 postinstall_cmds='chmod +x $lib'
8010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8011 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8012 shlibpath_var=LD_LIBRARY_PATH
8013 shlibpath_overrides_runpath=yes
8014 if test "$with_gnu_ld" = yes; then
8020 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8023 soname_spec='${libname}${release}${shared_ext}$major'
8024 shlibpath_var=LD_LIBRARY_PATH
8025 case $host_vendor in
8027 shlibpath_overrides_runpath=no
8029 export_dynamic_flag_spec='${wl}-Blargedynsym'
8030 runpath_var=LD_RUN_PATH
8038 shlibpath_overrides_runpath=no
8039 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8045 if test -d /usr/nec ;then
8047 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8048 soname_spec='$libname${shared_ext}.$major'
8049 shlibpath_var=LD_LIBRARY_PATH
8055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8056 soname_spec='${libname}${release}${shared_ext}$major'
8057 shlibpath_var=LD_LIBRARY_PATH
8064 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8065 echo "${ECHO_T}$dynamic_linker" >&6
8066 test "$dynamic_linker" = no && can_build_shared=no
8068 if test "x$enable_dlopen" != xyes; then
8069 enable_dlopen=unknown
8070 enable_dlopen_self=unknown
8071 enable_dlopen_self_static=unknown
8078 lt_cv_dlopen="load_add_on"
8080 lt_cv_dlopen_self=yes
8084 lt_cv_dlopen="LoadLibrary"
8089 lt_cv_dlopen="dlopen"
8094 # if libdl is installed we need to link against it
8095 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8096 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8097 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 ac_check_lib_save_LIBS=$LIBS
8102 cat >conftest.$ac_ext <<_ACEOF
8103 #line $LINENO "configure"
8106 cat confdefs.h >>conftest.$ac_ext
8107 cat >>conftest.$ac_ext <<_ACEOF
8108 /* end confdefs.h. */
8110 /* Override any gcc2 internal prototype to avoid an error. */
8114 /* We use char because int might match the return type of a gcc2
8115 builtin and then its argument prototype would still apply. */
8125 rm -f conftest.$ac_objext conftest$ac_exeext
8126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8127 (eval $ac_link) 2>&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); } &&
8131 { ac_try='test -s conftest$ac_exeext'
8132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); }; }; then
8137 ac_cv_lib_dl_dlopen=yes
8139 echo "$as_me: failed program was:" >&5
8140 sed 's/^/| /' conftest.$ac_ext >&5
8142 ac_cv_lib_dl_dlopen=no
8144 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8145 LIBS=$ac_check_lib_save_LIBS
8147 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8148 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8149 if test $ac_cv_lib_dl_dlopen = yes; then
8150 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8155 lt_cv_dlopen_self=yes
8162 echo "$as_me:$LINENO: checking for shl_load" >&5
8163 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8164 if test "${ac_cv_func_shl_load+set}" = set; then
8165 echo $ECHO_N "(cached) $ECHO_C" >&6
8167 cat >conftest.$ac_ext <<_ACEOF
8168 #line $LINENO "configure"
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8174 /* System header to define __stub macros and hopefully few prototypes,
8175 which can conflict with char shl_load (); below.
8176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8177 <limits.h> exists even on freestanding compilers. */
8179 # include <limits.h>
8181 # include <assert.h>
8183 /* Override any gcc2 internal prototype to avoid an error. */
8188 /* We use char because int might match the return type of a gcc2
8189 builtin and then its argument prototype would still apply. */
8191 /* The GNU C library defines this for functions which it implements
8192 to always fail with ENOSYS. Some functions are actually named
8193 something starting with __ and the normal name is an alias. */
8194 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8197 char (*f) () = shl_load;
8206 return f != shl_load;
8211 rm -f conftest.$ac_objext conftest$ac_exeext
8212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8213 (eval $ac_link) 2>&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); } &&
8217 { ac_try='test -s conftest$ac_exeext'
8218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); }; }; then
8223 ac_cv_func_shl_load=yes
8225 echo "$as_me: failed program was:" >&5
8226 sed 's/^/| /' conftest.$ac_ext >&5
8228 ac_cv_func_shl_load=no
8230 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8232 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8233 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8234 if test $ac_cv_func_shl_load = yes; then
8235 lt_cv_dlopen="shl_load"
8237 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8238 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8239 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8240 echo $ECHO_N "(cached) $ECHO_C" >&6
8242 ac_check_lib_save_LIBS=$LIBS
8244 cat >conftest.$ac_ext <<_ACEOF
8245 #line $LINENO "configure"
8248 cat confdefs.h >>conftest.$ac_ext
8249 cat >>conftest.$ac_ext <<_ACEOF
8250 /* end confdefs.h. */
8252 /* Override any gcc2 internal prototype to avoid an error. */
8256 /* We use char because int might match the return type of a gcc2
8257 builtin and then its argument prototype would still apply. */
8267 rm -f conftest.$ac_objext conftest$ac_exeext
8268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8269 (eval $ac_link) 2>&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); } &&
8273 { ac_try='test -s conftest$ac_exeext'
8274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278 (exit $ac_status); }; }; then
8279 ac_cv_lib_dld_shl_load=yes
8281 echo "$as_me: failed program was:" >&5
8282 sed 's/^/| /' conftest.$ac_ext >&5
8284 ac_cv_lib_dld_shl_load=no
8286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8287 LIBS=$ac_check_lib_save_LIBS
8289 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8290 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8291 if test $ac_cv_lib_dld_shl_load = yes; then
8292 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8294 echo "$as_me:$LINENO: checking for dlopen" >&5
8295 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8296 if test "${ac_cv_func_dlopen+set}" = set; then
8297 echo $ECHO_N "(cached) $ECHO_C" >&6
8299 cat >conftest.$ac_ext <<_ACEOF
8300 #line $LINENO "configure"
8303 cat confdefs.h >>conftest.$ac_ext
8304 cat >>conftest.$ac_ext <<_ACEOF
8305 /* end confdefs.h. */
8306 /* System header to define __stub macros and hopefully few prototypes,
8307 which can conflict with char dlopen (); below.
8308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8309 <limits.h> exists even on freestanding compilers. */
8311 # include <limits.h>
8313 # include <assert.h>
8315 /* Override any gcc2 internal prototype to avoid an error. */
8320 /* We use char because int might match the return type of a gcc2
8321 builtin and then its argument prototype would still apply. */
8323 /* The GNU C library defines this for functions which it implements
8324 to always fail with ENOSYS. Some functions are actually named
8325 something starting with __ and the normal name is an alias. */
8326 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8329 char (*f) () = dlopen;
8343 rm -f conftest.$ac_objext conftest$ac_exeext
8344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8345 (eval $ac_link) 2>&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); } &&
8349 { ac_try='test -s conftest$ac_exeext'
8350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); }; }; then
8355 ac_cv_func_dlopen=yes
8357 echo "$as_me: failed program was:" >&5
8358 sed 's/^/| /' conftest.$ac_ext >&5
8360 ac_cv_func_dlopen=no
8362 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8364 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8365 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8366 if test $ac_cv_func_dlopen = yes; then
8367 lt_cv_dlopen="dlopen"
8369 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8370 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8371 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8374 ac_check_lib_save_LIBS=$LIBS
8376 cat >conftest.$ac_ext <<_ACEOF
8377 #line $LINENO "configure"
8380 cat confdefs.h >>conftest.$ac_ext
8381 cat >>conftest.$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8384 /* Override any gcc2 internal prototype to avoid an error. */
8388 /* We use char because int might match the return type of a gcc2
8389 builtin and then its argument prototype would still apply. */
8399 rm -f conftest.$ac_objext conftest$ac_exeext
8400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8401 (eval $ac_link) 2>&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); } &&
8405 { ac_try='test -s conftest$ac_exeext'
8406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; }; then
8411 ac_cv_lib_dl_dlopen=yes
8413 echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.$ac_ext >&5
8416 ac_cv_lib_dl_dlopen=no
8418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8419 LIBS=$ac_check_lib_save_LIBS
8421 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8422 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8423 if test $ac_cv_lib_dl_dlopen = yes; then
8424 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8426 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8427 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8428 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8429 echo $ECHO_N "(cached) $ECHO_C" >&6
8431 ac_check_lib_save_LIBS=$LIBS
8433 cat >conftest.$ac_ext <<_ACEOF
8434 #line $LINENO "configure"
8437 cat confdefs.h >>conftest.$ac_ext
8438 cat >>conftest.$ac_ext <<_ACEOF
8439 /* end confdefs.h. */
8441 /* Override any gcc2 internal prototype to avoid an error. */
8445 /* We use char because int might match the return type of a gcc2
8446 builtin and then its argument prototype would still apply. */
8456 rm -f conftest.$ac_objext conftest$ac_exeext
8457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8458 (eval $ac_link) 2>&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } &&
8462 { ac_try='test -s conftest$ac_exeext'
8463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); }; }; then
8468 ac_cv_lib_svld_dlopen=yes
8470 echo "$as_me: failed program was:" >&5
8471 sed 's/^/| /' conftest.$ac_ext >&5
8473 ac_cv_lib_svld_dlopen=no
8475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8476 LIBS=$ac_check_lib_save_LIBS
8478 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8479 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8480 if test $ac_cv_lib_svld_dlopen = yes; then
8481 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8483 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8484 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8485 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8486 echo $ECHO_N "(cached) $ECHO_C" >&6
8488 ac_check_lib_save_LIBS=$LIBS
8490 cat >conftest.$ac_ext <<_ACEOF
8491 #line $LINENO "configure"
8494 cat confdefs.h >>conftest.$ac_ext
8495 cat >>conftest.$ac_ext <<_ACEOF
8496 /* end confdefs.h. */
8498 /* Override any gcc2 internal prototype to avoid an error. */
8502 /* We use char because int might match the return type of a gcc2
8503 builtin and then its argument prototype would still apply. */
8513 rm -f conftest.$ac_objext conftest$ac_exeext
8514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8515 (eval $ac_link) 2>&5
8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518 (exit $ac_status); } &&
8519 { ac_try='test -s conftest$ac_exeext'
8520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); }; }; then
8525 ac_cv_lib_dld_dld_link=yes
8527 echo "$as_me: failed program was:" >&5
8528 sed 's/^/| /' conftest.$ac_ext >&5
8530 ac_cv_lib_dld_dld_link=no
8532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8533 LIBS=$ac_check_lib_save_LIBS
8535 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8536 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8537 if test $ac_cv_lib_dld_dld_link = yes; then
8538 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8559 if test "x$lt_cv_dlopen" != xno; then
8565 case $lt_cv_dlopen in
8567 save_CPPFLAGS="$CPPFLAGS"
8568 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8570 save_LDFLAGS="$LDFLAGS"
8571 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8574 LIBS="$lt_cv_dlopen_libs $LIBS"
8576 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8577 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8578 if test "${lt_cv_dlopen_self+set}" = set; then
8579 echo $ECHO_N "(cached) $ECHO_C" >&6
8581 if test "$cross_compiling" = yes; then :
8582 lt_cv_dlopen_self=cross
8584 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8585 lt_status=$lt_dlunknown
8586 cat > conftest.$ac_ext <<EOF
8587 #line 8587 "configure"
8588 #include "confdefs.h"
8597 # define LT_DLGLOBAL RTLD_GLOBAL
8600 # define LT_DLGLOBAL DL_GLOBAL
8602 # define LT_DLGLOBAL 0
8606 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8607 find out it does not work in some platform. */
8608 #ifndef LT_DLLAZY_OR_NOW
8610 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8613 # define LT_DLLAZY_OR_NOW DL_LAZY
8616 # define LT_DLLAZY_OR_NOW RTLD_NOW
8619 # define LT_DLLAZY_OR_NOW DL_NOW
8621 # define LT_DLLAZY_OR_NOW 0
8629 extern "C" void exit (int);
8632 void fnord() { int i=42;}
8635 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8636 int status = $lt_dlunknown;
8640 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8641 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8642 /* dlclose (self); */
8648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8649 (eval $ac_link) 2>&5
8651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8653 (./conftest; exit; ) 2>/dev/null
8656 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8657 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8658 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8661 # compilation failed
8662 lt_cv_dlopen_self=no
8669 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8670 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8672 if test "x$lt_cv_dlopen_self" = xyes; then
8673 LDFLAGS="$LDFLAGS $link_static_flag"
8674 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8675 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8676 if test "${lt_cv_dlopen_self_static+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 if test "$cross_compiling" = yes; then :
8680 lt_cv_dlopen_self_static=cross
8682 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8683 lt_status=$lt_dlunknown
8684 cat > conftest.$ac_ext <<EOF
8685 #line 8685 "configure"
8686 #include "confdefs.h"
8695 # define LT_DLGLOBAL RTLD_GLOBAL
8698 # define LT_DLGLOBAL DL_GLOBAL
8700 # define LT_DLGLOBAL 0
8704 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8705 find out it does not work in some platform. */
8706 #ifndef LT_DLLAZY_OR_NOW
8708 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8711 # define LT_DLLAZY_OR_NOW DL_LAZY
8714 # define LT_DLLAZY_OR_NOW RTLD_NOW
8717 # define LT_DLLAZY_OR_NOW DL_NOW
8719 # define LT_DLLAZY_OR_NOW 0
8727 extern "C" void exit (int);
8730 void fnord() { int i=42;}
8733 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8734 int status = $lt_dlunknown;
8738 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8739 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8740 /* dlclose (self); */
8746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8747 (eval $ac_link) 2>&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8751 (./conftest; exit; ) 2>/dev/null
8754 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8755 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8756 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8759 # compilation failed
8760 lt_cv_dlopen_self_static=no
8767 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8768 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8771 CPPFLAGS="$save_CPPFLAGS"
8772 LDFLAGS="$save_LDFLAGS"
8777 case $lt_cv_dlopen_self in
8778 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8779 *) enable_dlopen_self=unknown ;;
8782 case $lt_cv_dlopen_self_static in
8783 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8784 *) enable_dlopen_self_static=unknown ;;
8789 # Report which librarie types wil actually be built
8790 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8791 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8792 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8793 echo "${ECHO_T}$can_build_shared" >&6
8795 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8796 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8797 test "$can_build_shared" = "no" && enable_shared=no
8799 # On AIX, shared libraries and static libraries use the same namespace, and
8800 # are all built from PIC.
8803 test "$enable_shared" = yes && enable_static=no
8804 if test -n "$RANLIB"; then
8805 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8806 postinstall_cmds='$RANLIB $lib'
8811 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8812 test "$enable_shared" = yes && enable_static=no
8815 darwin* | rhapsody*)
8816 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8817 archive_cmds_need_lc=no
8819 rhapsody* | darwin1.[012])
8820 allow_undefined_flag='-undefined suppress'
8823 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8826 # FIXME: Relying on posixy $() will cause problems for
8827 # cross-compilation, but unfortunately the echo tests do not
8828 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8829 # `"' quotes if we put them in here... so don't!
8830 output_verbose_link_cmd='echo'
8831 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8832 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8833 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8834 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}'
8835 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}'
8837 hardcode_automatic=yes
8838 hardcode_shlibpath_var=unsupported
8839 whole_archive_flag_spec='-all_load $convenience'
8840 link_all_deplibs=yes
8844 echo "$as_me:$LINENO: result: $enable_shared" >&5
8845 echo "${ECHO_T}$enable_shared" >&6
8847 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8848 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8849 # Make sure either enable_shared or enable_static is yes.
8850 test "$enable_shared" = yes || enable_static=yes
8851 echo "$as_me:$LINENO: result: $enable_static" >&5
8852 echo "${ECHO_T}$enable_static" >&6
8854 # The else clause should only fire when bootstrapping the
8855 # libtool distribution, otherwise you forgot to ship ltmain.sh
8856 # with your package, and you will get complaints that there are
8857 # no rules to generate ltmain.sh.
8858 if test -f "$ltmain"; then
8859 # See if we are running on zsh, and set the options which allow our commands through
8860 # without removal of \ escapes.
8861 if test -n "${ZSH_VERSION+set}" ; then
8862 setopt NO_GLOB_SUBST
8864 # Now quote all the things that may contain metacharacters while being
8865 # careful not to overquote the AC_SUBSTed values. We take copies of the
8866 # variables and quote the copies for generation of the libtool script.
8867 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8868 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8869 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8870 deplibs_check_method reload_flag reload_cmds need_locks \
8871 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8872 lt_cv_sys_global_symbol_to_c_name_address \
8873 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8874 old_postinstall_cmds old_postuninstall_cmds \
8878 lt_prog_compiler_wl \
8879 lt_prog_compiler_pic \
8880 lt_prog_compiler_static \
8881 lt_prog_compiler_no_builtin_flag \
8882 export_dynamic_flag_spec \
8883 thread_safe_flag_spec \
8884 whole_archive_flag_spec \
8885 enable_shared_with_static_runtimes \
8887 old_archive_from_new_cmds \
8892 compiler_lib_search_path \
8894 archive_expsym_cmds \
8896 postuninstall_cmds \
8897 old_archive_from_expsyms_cmds \
8898 allow_undefined_flag \
8900 export_symbols_cmds \
8901 hardcode_libdir_flag_spec \
8902 hardcode_libdir_flag_spec_ld \
8903 hardcode_libdir_separator \
8904 hardcode_automatic \
8906 module_expsym_cmds \
8907 lt_cv_prog_compiler_c_o \
8912 old_archive_cmds | \
8913 old_archive_from_new_cmds | \
8915 archive_expsym_cmds | \
8917 module_expsym_cmds | \
8918 old_archive_from_expsyms_cmds | \
8919 export_symbols_cmds | \
8920 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8921 postinstall_cmds | postuninstall_cmds | \
8922 old_postinstall_cmds | old_postuninstall_cmds | \
8923 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8924 # Double-quote double-evaled strings.
8925 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8928 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8934 *'\$0 --fallback-echo"')
8935 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8940 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8942 { echo "$as_me:$LINENO: creating $ofile" >&5
8943 echo "$as_me: creating $ofile" >&6;}
8945 cat <<__EOF__ >> "$cfgfile"
8948 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8949 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8950 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8952 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8953 # Free Software Foundation, Inc.
8955 # This file is part of GNU Libtool:
8956 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8958 # This program is free software; you can redistribute it and/or modify
8959 # it under the terms of the GNU General Public License as published by
8960 # the Free Software Foundation; either version 2 of the License, or
8961 # (at your option) any later version.
8963 # This program is distributed in the hope that it will be useful, but
8964 # WITHOUT ANY WARRANTY; without even the implied warranty of
8965 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8966 # General Public License for more details.
8968 # You should have received a copy of the GNU General Public License
8969 # along with this program; if not, write to the Free Software
8970 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8972 # As a special exception to the GNU General Public License, if you
8973 # distribute this file as part of a program that contains a
8974 # configuration script generated by Autoconf, you may include it under
8975 # the same distribution terms that you use for the rest of that program.
8977 # A sed program that does not truncate output.
8980 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8981 Xsed="$SED -e s/^X//"
8983 # The HP-UX ksh and POSIX shell print the target directory to stdout
8985 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8987 # The names of the tagged configurations supported by this script.
8990 # ### BEGIN LIBTOOL CONFIG
8992 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8994 # Shell to use when invoking shell scripts.
8997 # Whether or not to build shared libraries.
8998 build_libtool_libs=$enable_shared
9000 # Whether or not to build static libraries.
9001 build_old_libs=$enable_static
9003 # Whether or not to add -lc for building shared libraries.
9004 build_libtool_need_lc=$archive_cmds_need_lc
9006 # Whether or not to disallow shared libs when runtime libs are static
9007 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9009 # Whether or not to optimize for fast installation.
9010 fast_install=$enable_fast_install
9013 host_alias=$host_alias
9016 # An echo program that does not interpret backslashes.
9021 AR_FLAGS=$lt_AR_FLAGS
9026 # A language-specific compiler.
9029 # Is the compiler the GNU C compiler?
9035 # The linker used to build libraries.
9038 # Whether we need hard or soft links.
9041 # A BSD-compatible nm program.
9044 # A symbol stripping program
9047 # Used to examine libraries when file_magic_cmd begins "file"
9048 MAGIC_CMD=$MAGIC_CMD
9050 # Used on cygwin: DLL creation program.
9053 # Used on cygwin: object dumper.
9056 # Used on cygwin: assembler.
9059 # The name of the directory that contains temporary libtool files.
9062 # How to create reloadable object files.
9063 reload_flag=$lt_reload_flag
9064 reload_cmds=$lt_reload_cmds
9066 # How to pass a linker flag through the compiler.
9067 wl=$lt_lt_prog_compiler_wl
9069 # Object file suffix (normally "o").
9072 # Old archive suffix (normally "a").
9075 # Shared library suffix (normally ".so").
9078 # Executable file suffix (normally "").
9081 # Additional compiler flags for building library objects.
9082 pic_flag=$lt_lt_prog_compiler_pic
9085 # What is the maximum length of a command?
9086 max_cmd_len=$lt_cv_sys_max_cmd_len
9088 # Does compiler simultaneously support -c and -o options?
9089 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9091 # Must we lock files when doing compilation ?
9092 need_locks=$lt_need_locks
9094 # Do we need the lib prefix for modules?
9095 need_lib_prefix=$need_lib_prefix
9097 # Do we need a version for libraries?
9098 need_version=$need_version
9100 # Whether dlopen is supported.
9101 dlopen_support=$enable_dlopen
9103 # Whether dlopen of programs is supported.
9104 dlopen_self=$enable_dlopen_self
9106 # Whether dlopen of statically linked programs is supported.
9107 dlopen_self_static=$enable_dlopen_self_static
9109 # Compiler flag to prevent dynamic linking.
9110 link_static_flag=$lt_lt_prog_compiler_static
9112 # Compiler flag to turn off builtin functions.
9113 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9115 # Compiler flag to allow reflexive dlopens.
9116 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9118 # Compiler flag to generate shared objects directly from archives.
9119 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9121 # Compiler flag to generate thread-safe objects.
9122 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9124 # Library versioning type.
9125 version_type=$version_type
9127 # Format of library name prefix.
9128 libname_spec=$lt_libname_spec
9130 # List of archive names. First name is the real one, the rest are links.
9131 # The last name is the one that the linker finds with -lNAME.
9132 library_names_spec=$lt_library_names_spec
9134 # The coded name of the library, if different from the real name.
9135 soname_spec=$lt_soname_spec
9137 # Commands used to build and install an old-style archive.
9139 old_archive_cmds=$lt_old_archive_cmds
9140 old_postinstall_cmds=$lt_old_postinstall_cmds
9141 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9143 # Create an old-style archive from a shared archive.
9144 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9146 # Create a temporary old-style archive to link instead of a shared archive.
9147 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9149 # Commands used to build and install a shared archive.
9150 archive_cmds=$lt_archive_cmds
9151 archive_expsym_cmds=$lt_archive_expsym_cmds
9152 postinstall_cmds=$lt_postinstall_cmds
9153 postuninstall_cmds=$lt_postuninstall_cmds
9155 # Commands used to build a loadable module (assumed same as above if empty)
9156 module_cmds=$lt_module_cmds
9157 module_expsym_cmds=$lt_module_expsym_cmds
9159 # Commands to strip libraries.
9160 old_striplib=$lt_old_striplib
9161 striplib=$lt_striplib
9163 # Dependencies to place before the objects being linked to create a
9165 predep_objects=$lt_predep_objects
9167 # Dependencies to place after the objects being linked to create a
9169 postdep_objects=$lt_postdep_objects
9171 # Dependencies to place before the objects being linked to create a
9175 # Dependencies to place after the objects being linked to create a
9177 postdeps=$lt_postdeps
9179 # The library search path used internally by the compiler when linking
9181 compiler_lib_search_path=$lt_compiler_lib_search_path
9183 # Method to check whether dependent libraries are shared objects.
9184 deplibs_check_method=$lt_deplibs_check_method
9186 # Command to use when deplibs_check_method == file_magic.
9187 file_magic_cmd=$lt_file_magic_cmd
9189 # Flag that allows shared libraries with undefined symbols to be built.
9190 allow_undefined_flag=$lt_allow_undefined_flag
9192 # Flag that forces no undefined symbols.
9193 no_undefined_flag=$lt_no_undefined_flag
9195 # Commands used to finish a libtool library installation in a directory.
9196 finish_cmds=$lt_finish_cmds
9198 # Same as above, but a single script fragment to be evaled but not shown.
9199 finish_eval=$lt_finish_eval
9201 # Take the output of nm and produce a listing of raw symbols and C names.
9202 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9204 # Transform the output of nm in a proper C declaration
9205 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9207 # Transform the output of nm in a C name address pair
9208 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9210 # This is the shared library runtime path variable.
9211 runpath_var=$runpath_var
9213 # This is the shared library path variable.
9214 shlibpath_var=$shlibpath_var
9216 # Is shlibpath searched before the hard-coded library search path?
9217 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9219 # How to hardcode a shared library path into an executable.
9220 hardcode_action=$hardcode_action
9222 # Whether we should hardcode library paths into libraries.
9223 hardcode_into_libs=$hardcode_into_libs
9225 # Flag to hardcode \$libdir into a binary during linking.
9226 # This must work even if \$libdir does not exist.
9227 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9229 # If ld is used when linking, flag to hardcode \$libdir into
9230 # a binary during linking. This must work even if \$libdir does
9232 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9234 # Whether we need a single -rpath flag with a separated argument.
9235 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9237 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9239 hardcode_direct=$hardcode_direct
9241 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9243 hardcode_minus_L=$hardcode_minus_L
9245 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9246 # the resulting binary.
9247 hardcode_shlibpath_var=$hardcode_shlibpath_var
9249 # Set to yes if building a shared library automatically hardcodes DIR into the library
9250 # and all subsequent libraries and executables linked against it.
9251 hardcode_automatic=$hardcode_automatic
9253 # Variables whose values should be saved in libtool wrapper scripts and
9254 # restored at relink time.
9255 variables_saved_for_relink="$variables_saved_for_relink"
9257 # Whether libtool must link a program against all its dependency libraries.
9258 link_all_deplibs=$link_all_deplibs
9260 # Compile-time system search path for libraries
9261 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9263 # Run-time system search path for libraries
9264 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9266 # Fix the shell variable \$srcfile for the compiler.
9267 fix_srcfile_path="$fix_srcfile_path"
9269 # Set to yes if exported symbols are required.
9270 always_export_symbols=$always_export_symbols
9272 # The commands to list exported symbols.
9273 export_symbols_cmds=$lt_export_symbols_cmds
9275 # The commands to extract the exported symbol list from a shared archive.
9276 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9278 # Symbols that should not be listed in the preloaded symbols.
9279 exclude_expsyms=$lt_exclude_expsyms
9281 # Symbols that must always be exported.
9282 include_expsyms=$lt_include_expsyms
9284 # ### END LIBTOOL CONFIG
9291 cat <<\EOF >> "$cfgfile"
9293 # AIX sometimes has problems with the GCC collect2 program. For some
9294 # reason, if we set the COLLECT_NAMES environment variable, the problems
9295 # vanish in a puff of smoke.
9296 if test "X${COLLECT_NAMES+set}" != Xset; then
9298 export COLLECT_NAMES
9304 # We use sed instead of cat because bash on DJGPP gets confused if
9305 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9306 # text mode, it properly converts lines to CR/LF. This bash problem
9307 # is reportedly fixed, but why not run on old versions too?
9308 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9310 mv -f "$cfgfile" "$ofile" || \
9311 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9315 # If there is no Makefile yet, we rely on a make rule to execute
9316 # `config.status --recheck' to rerun these tests and create the
9317 # libtool script then.
9318 test -f Makefile && make "$ltmain"
9323 ac_cpp='$CPP $CPPFLAGS'
9324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9331 # Check whether --with-tags or --without-tags was given.
9332 if test "${with_tags+set}" = set; then
9333 withval="$with_tags"
9337 if test -f "$ltmain" && test -n "$tagnames"; then
9338 if test ! -f "${ofile}"; then
9339 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9340 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9343 if test -z "$LTCC"; then
9344 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9345 if test -z "$LTCC"; then
9346 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9347 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9349 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9350 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9354 # Extract list of available tagged configurations in $ofile.
9355 # Note that this assumes the entire list is on one line.
9356 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9358 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9359 for tagname in $tagnames; do
9361 # Check whether tagname contains only valid characters
9362 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9364 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9365 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9366 { (exit 1); exit 1; }; }
9370 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9372 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9373 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9374 { (exit 1); exit 1; }; }
9377 # Update the list of available tags.
9378 if test -n "$tagname"; then
9379 echo appending configuration tag \"$tagname\" to $ofile
9383 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9385 ac_cpp='$CXXCPP $CPPFLAGS'
9386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9393 archive_cmds_need_lc_CXX=no
9394 allow_undefined_flag_CXX=
9395 always_export_symbols_CXX=no
9396 archive_expsym_cmds_CXX=
9397 export_dynamic_flag_spec_CXX=
9398 hardcode_direct_CXX=no
9399 hardcode_libdir_flag_spec_CXX=
9400 hardcode_libdir_flag_spec_ld_CXX=
9401 hardcode_libdir_separator_CXX=
9402 hardcode_minus_L_CXX=no
9403 hardcode_automatic_CXX=no
9405 module_expsym_cmds_CXX=
9406 link_all_deplibs_CXX=unknown
9407 old_archive_cmds_CXX=$old_archive_cmds
9408 no_undefined_flag_CXX=
9409 whole_archive_flag_spec_CXX=
9410 enable_shared_with_static_runtimes_CXX=no
9412 # Dependencies to place before and after the object being linked:
9414 postdep_objects_CXX=
9417 compiler_lib_search_path_CXX=
9419 # Source file extension for C++ test sources.
9422 # Object file extension for compiled C++ test sources.
9426 # Code to be used in simple compile tests
9427 lt_simple_compile_test_code="int some_variable = 0;\n"
9429 # Code to be used in simple link tests
9430 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9432 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9434 # If no C compiler was specified, use CC.
9437 # Allow CC to be a program name with arguments.
9441 # Allow CC to be a program name with arguments.
9446 lt_save_with_gnu_ld=$with_gnu_ld
9447 lt_save_path_LD=$lt_cv_path_LD
9448 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9449 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9451 unset lt_cv_prog_gnu_ld
9453 if test -n "${lt_cv_path_LDCXX+set}"; then
9454 lt_cv_path_LD=$lt_cv_path_LDCXX
9458 test -z "${LDCXX+set}" || LD=$LDCXX
9462 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9464 # We don't want -fno-exception wen compiling C++ code, so set the
9465 # no_builtin_flag separately
9466 if test "$GXX" = yes; then
9467 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9469 lt_prog_compiler_no_builtin_flag_CXX=
9472 if test "$GXX" = yes; then
9473 # Set up default GNU C++ configuration
9476 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9477 if test "${with_gnu_ld+set}" = set; then
9478 withval="$with_gnu_ld"
9479 test "$withval" = no || with_gnu_ld=yes
9484 if test "$GCC" = yes; then
9485 # Check if gcc -print-prog-name=ld gives a path.
9486 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9487 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9490 # gcc leaves a trailing carriage return which upsets mingw
9491 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9493 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9496 # Accept absolute paths.
9498 re_direlt='/[^/][^/]*/\.\./'
9499 # Canonicalize the path of ld
9500 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9501 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9502 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9504 test -z "$LD" && LD="$ac_prog"
9507 # If it fails, then pretend we aren't using GCC.
9511 # If it is relative, then search for the first ld in PATH.
9515 elif test "$with_gnu_ld" = yes; then
9516 echo "$as_me:$LINENO: checking for GNU ld" >&5
9517 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9519 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9520 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9522 if test "${lt_cv_path_LD+set}" = set; then
9523 echo $ECHO_N "(cached) $ECHO_C" >&6
9525 if test -z "$LD"; then
9526 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9527 for ac_dir in $PATH; do
9529 test -z "$ac_dir" && ac_dir=.
9530 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9531 lt_cv_path_LD="$ac_dir/$ac_prog"
9532 # Check to see if the program is GNU ld. I'd rather use --version,
9533 # but apparently some GNU ld's only accept -v.
9534 # Break only if it was the GNU/non-GNU ld that we prefer.
9535 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9536 *GNU* | *'with BFD'*)
9537 test "$with_gnu_ld" != no && break
9540 test "$with_gnu_ld" != yes && break
9547 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9552 if test -n "$LD"; then
9553 echo "$as_me:$LINENO: result: $LD" >&5
9554 echo "${ECHO_T}$LD" >&6
9556 echo "$as_me:$LINENO: result: no" >&5
9557 echo "${ECHO_T}no" >&6
9559 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9560 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9561 { (exit 1); exit 1; }; }
9562 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9563 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9564 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9565 echo $ECHO_N "(cached) $ECHO_C" >&6
9567 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9568 case `"$LD" -v 2>&1 </dev/null` in
9569 *GNU* | *'with BFD'*)
9570 lt_cv_prog_gnu_ld=yes
9573 lt_cv_prog_gnu_ld=no
9577 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9578 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9579 with_gnu_ld=$lt_cv_prog_gnu_ld
9583 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9584 # archiving commands below assume that GNU ld is being used.
9585 if test "$with_gnu_ld" = yes; then
9586 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9587 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'
9589 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9590 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9592 # If archive_cmds runs LD, not CC, wlarc should be empty
9593 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9594 # investigate it a little bit more. (MM)
9597 # ancient GNU ld didn't support --whole-archive et. al.
9598 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9599 grep 'no-whole-archive' > /dev/null; then
9600 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9602 whole_archive_flag_spec_CXX=
9608 # A generic and very simple default shared library creation
9609 # command for GNU C++ for the case where it uses the native
9610 # linker, instead of GNU ld. If possible, this setting should
9611 # overridden to take advantage of the native linker features on
9612 # the platform it is being used on.
9613 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9616 # Commands to make compiler produce verbose output that lists
9617 # what "hidden" libraries, object files and flags are used when
9618 # linking a shared library.
9619 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9627 # PORTME: fill in a description of your system's C++ link characteristics
9628 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9629 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9633 # FIXME: insert proper C++ library support
9637 if test "$host_cpu" = ia64; then
9638 # On IA64, the linker does run time linking by default, so we don't
9639 # have to do anything special.
9640 aix_use_runtimelinking=no
9641 exp_sym_flag='-Bexport'
9644 aix_use_runtimelinking=no
9646 # Test if we are trying to use run time linking or normal
9647 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9648 # need to do runtime linking.
9649 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9650 for ld_flag in $LDFLAGS; do
9653 aix_use_runtimelinking=yes
9660 exp_sym_flag='-bexport'
9661 no_entry_flag='-bnoentry'
9664 # When large executables or shared objects are built, AIX ld can
9665 # have problems creating the table of contents. If linking a library
9666 # or program results in "error TOC overflow" add -mminimal-toc to
9667 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9668 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9671 hardcode_direct_CXX=yes
9672 hardcode_libdir_separator_CXX=':'
9673 link_all_deplibs_CXX=yes
9675 if test "$GXX" = yes; then
9676 case $host_os in aix4.012|aix4.012.*)
9677 # We only want to do this on AIX 4.2 and lower, the check
9678 # below for broken collect2 doesn't work under 4.3+
9679 collect2name=`${CC} -print-prog-name=collect2`
9680 if test -f "$collect2name" && \
9681 strings "$collect2name" | grep resolve_lib_name >/dev/null
9683 # We have reworked collect2
9684 hardcode_direct_CXX=yes
9686 # We have old collect2
9687 hardcode_direct_CXX=unsupported
9688 # It fails to find uninstalled libraries when the uninstalled
9689 # path is not listed in the libpath. Setting hardcode_minus_L
9690 # to unsupported forces relinking
9691 hardcode_minus_L_CXX=yes
9692 hardcode_libdir_flag_spec_CXX='-L$libdir'
9693 hardcode_libdir_separator_CXX=
9696 shared_flag='-shared'
9699 if test "$host_cpu" = ia64; then
9700 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9701 # chokes on -Wl,-G. The following line is correct:
9704 if test "$aix_use_runtimelinking" = yes; then
9705 shared_flag='${wl}-G'
9707 shared_flag='${wl}-bM:SRE'
9712 # It seems that -bexpall does not export symbols beginning with
9713 # underscore (_), so it is better to generate a list of symbols to export.
9714 always_export_symbols_CXX=yes
9715 if test "$aix_use_runtimelinking" = yes; then
9716 # Warning - without using the other runtime loading flags (-brtl),
9717 # -berok will link without error, but may produce a broken library.
9718 allow_undefined_flag_CXX='-berok'
9719 # Determine the default libpath from the value encoded in an empty executable.
9720 cat >conftest.$ac_ext <<_ACEOF
9721 #line $LINENO "configure"
9724 cat confdefs.h >>conftest.$ac_ext
9725 cat >>conftest.$ac_ext <<_ACEOF
9726 /* end confdefs.h. */
9736 rm -f conftest.$ac_objext conftest$ac_exeext
9737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9738 (eval $ac_link) 2>&5
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); } &&
9742 { ac_try='test -s conftest$ac_exeext'
9743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); }; }; then
9749 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9751 # Check for a 64-bit object if we didn't find anything.
9752 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; }
9755 echo "$as_me: failed program was:" >&5
9756 sed 's/^/| /' conftest.$ac_ext >&5
9759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9760 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9762 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9764 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"
9766 if test "$host_cpu" = ia64; then
9767 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9768 allow_undefined_flag_CXX="-z nodefs"
9769 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"
9771 # Determine the default libpath from the value encoded in an empty executable.
9772 cat >conftest.$ac_ext <<_ACEOF
9773 #line $LINENO "configure"
9776 cat confdefs.h >>conftest.$ac_ext
9777 cat >>conftest.$ac_ext <<_ACEOF
9778 /* end confdefs.h. */
9788 rm -f conftest.$ac_objext conftest$ac_exeext
9789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9790 (eval $ac_link) 2>&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); } &&
9794 { ac_try='test -s conftest$ac_exeext'
9795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 (exit $ac_status); }; }; then
9801 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9803 # Check for a 64-bit object if we didn't find anything.
9804 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; }
9807 echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.$ac_ext >&5
9811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9812 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9814 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9815 # Warning - without using the other run time loading flags,
9816 # -berok will link without error, but may produce a broken library.
9817 no_undefined_flag_CXX=' ${wl}-bernotok'
9818 allow_undefined_flag_CXX=' ${wl}-berok'
9819 # -bexpall does not export symbols beginning with underscore (_)
9820 always_export_symbols_CXX=yes
9821 # Exported symbols can be pulled into shared objects from archives
9822 whole_archive_flag_spec_CXX=' '
9823 archive_cmds_need_lc_CXX=yes
9824 # This is similar to how AIX traditionally builds it's shared libraries.
9825 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'
9830 case $cc_basename in
9832 # FIXME: insert proper C++ library support
9838 cygwin* | mingw* | pw32*)
9839 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9840 # as there is no search path for DLLs.
9841 hardcode_libdir_flag_spec_CXX='-L$libdir'
9842 allow_undefined_flag_CXX=unsupported
9843 always_export_symbols_CXX=no
9844 enable_shared_with_static_runtimes_CXX=yes
9846 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9847 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'
9848 # If the export-symbols file already is a .def file (1st line
9849 # is EXPORTS), use it as is; otherwise, prepend...
9850 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9851 cp $export_symbols $output_objdir/$soname.def;
9853 echo EXPORTS > $output_objdir/$soname.def;
9854 cat $export_symbols >> $output_objdir/$soname.def;
9856 $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'
9862 darwin* | rhapsody*)
9863 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9864 archive_cmds_need_lc_CXX=no
9866 rhapsody* | darwin1.[012])
9867 allow_undefined_flag_CXX='-undefined suppress'
9870 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9873 lt_int_apple_cc_single_mod=no
9874 output_verbose_link_cmd='echo'
9875 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9876 lt_int_apple_cc_single_mod=yes
9878 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9879 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9881 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'
9883 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9885 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9886 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9887 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}'
9889 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}'
9891 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}'
9892 hardcode_direct_CXX=no
9893 hardcode_automatic_CXX=yes
9894 hardcode_shlibpath_var_CXX=unsupported
9895 whole_archive_flag_spec_CXX='-all_load $convenience'
9896 link_all_deplibs_CXX=yes
9901 case $cc_basename in
9903 # FIXME: insert proper C++ library support
9907 # Green Hills C++ Compiler
9908 # FIXME: insert proper C++ library support
9912 # FIXME: insert proper C++ library support
9918 # C++ shared libraries reported to be fairly broken before switch to ELF
9922 archive_cmds_need_lc_CXX=no
9925 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9932 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9933 hardcode_libdir_separator_CXX=:
9934 export_dynamic_flag_spec_CXX='${wl}-E'
9935 hardcode_direct_CXX=yes
9936 hardcode_minus_L_CXX=yes # Not in the search PATH,
9937 # but as the default
9938 # location of the library.
9940 case $cc_basename in
9942 # FIXME: insert proper C++ library support
9946 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'
9947 # Commands to make compiler produce verbose output that lists
9948 # what "hidden" libraries, object files and flags are used when
9949 # linking a shared library.
9951 # There doesn't appear to be a way to prevent this compiler from
9952 # explicitly linking system object files so we need to strip them
9953 # from the output so that they don't get included in the library
9955 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'
9958 if test "$GXX" = yes; then
9959 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'
9961 # FIXME: insert proper C++ library support
9968 if test $with_gnu_ld = no; then
9971 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9972 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9973 hardcode_libdir_separator_CXX=:
9976 hardcode_libdir_flag_spec_CXX='-L$libdir'
9979 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9980 hardcode_libdir_separator_CXX=:
9981 export_dynamic_flag_spec_CXX='${wl}-E'
9987 hardcode_direct_CXX=no
9988 hardcode_shlibpath_var_CXX=no
9991 hardcode_direct_CXX=no
9992 hardcode_shlibpath_var_CXX=no
9993 hardcode_minus_L_CXX=yes # Not in the search PATH,
9994 # but as the default
9995 # location of the library.
9998 hardcode_direct_CXX=yes
9999 hardcode_minus_L_CXX=yes # Not in the search PATH,
10000 # but as the default
10001 # location of the library.
10005 case $cc_basename in
10007 # FIXME: insert proper C++ library support
10011 case "$host_cpu" in
10013 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10016 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10019 # Commands to make compiler produce verbose output that lists
10020 # what "hidden" libraries, object files and flags are used when
10021 # linking a shared library.
10023 # There doesn't appear to be a way to prevent this compiler from
10024 # explicitly linking system object files so we need to strip them
10025 # from the output so that they don't get included in the library
10027 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'
10030 if test "$GXX" = yes; then
10031 if test $with_gnu_ld = no; then
10032 case "$host_cpu" in
10034 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10037 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'
10042 # FIXME: insert proper C++ library support
10049 case $cc_basename in
10052 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'
10054 # Archives containing C++ object files must be created using
10055 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10056 # necessary to make sure instantiated templates are included
10058 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10061 if test "$GXX" = yes; then
10062 if test "$with_gnu_ld" = no; then
10063 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'
10065 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'
10068 link_all_deplibs_CXX=yes
10071 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10072 hardcode_libdir_separator_CXX=:
10075 case $cc_basename in
10077 # Kuck and Associates, Inc. (KAI) C++ Compiler
10079 # KCC will only create a shared library if the output file
10080 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10081 # to its proper name (with version) after linking.
10082 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'
10083 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'
10084 # Commands to make compiler produce verbose output that lists
10085 # what "hidden" libraries, object files and flags are used when
10086 # linking a shared library.
10088 # There doesn't appear to be a way to prevent this compiler from
10089 # explicitly linking system object files so we need to strip them
10090 # from the output so that they don't get included in the library
10092 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'
10094 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10095 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10097 # Archives containing C++ object files must be created using
10098 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10099 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10104 archive_cmds_need_lc_CXX=no
10105 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10106 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'
10107 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10108 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10109 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10113 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10114 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'
10116 runpath_var=LD_RUN_PATH
10117 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10118 hardcode_libdir_separator_CXX=:
10120 # Commands to make compiler produce verbose output that lists
10121 # what "hidden" libraries, object files and flags are used when
10122 # linking a shared library.
10124 # There doesn't appear to be a way to prevent this compiler from
10125 # explicitly linking system object files so we need to strip them
10126 # from the output so that they don't get included in the library
10128 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'
10133 # FIXME: insert proper C++ library support
10137 # FIXME: insert proper C++ library support
10141 case $cc_basename in
10143 # FIXME: insert proper C++ library support
10147 # FIXME: insert proper C++ library support
10153 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10154 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10156 hardcode_libdir_flag_spec_CXX='-R$libdir'
10157 hardcode_direct_CXX=yes
10158 hardcode_shlibpath_var_CXX=no
10160 # Workaround some broken pre-1.5 toolchains
10161 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10164 case $cc_basename in
10166 # Kuck and Associates, Inc. (KAI) C++ Compiler
10168 # KCC will only create a shared library if the output file
10169 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10170 # to its proper name (with version) after linking.
10171 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'
10173 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10174 hardcode_libdir_separator_CXX=:
10176 # Archives containing C++ object files must be created using
10177 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10178 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10182 # Rational C++ 2.4.1
10183 # FIXME: insert proper C++ library support
10187 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10188 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'
10190 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10191 hardcode_libdir_separator_CXX=:
10193 # Commands to make compiler produce verbose output that lists
10194 # what "hidden" libraries, object files and flags are used when
10195 # linking a shared library.
10197 # There doesn't appear to be a way to prevent this compiler from
10198 # explicitly linking system object files so we need to strip them
10199 # from the output so that they don't get included in the library
10201 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'
10204 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10205 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10206 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'
10208 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10209 hardcode_libdir_separator_CXX=:
10211 # Commands to make compiler produce verbose output that lists
10212 # what "hidden" libraries, object files and flags are used when
10213 # linking a shared library.
10214 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10217 # FIXME: insert proper C++ library support
10224 case $cc_basename in
10226 # Kuck and Associates, Inc. (KAI) C++ Compiler
10228 # KCC will only create a shared library if the output file
10229 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10230 # to its proper name (with version) after linking.
10231 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'
10233 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10234 hardcode_libdir_separator_CXX=:
10236 # Archives containing C++ object files must be created using
10237 # the KAI C++ compiler.
10238 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10241 # Rational C++ 2.4.1
10242 # FIXME: insert proper C++ library support
10246 allow_undefined_flag_CXX=' -expect_unresolved \*'
10247 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'
10248 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10249 echo "-hidden">> $lib.exp~
10250 $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~
10253 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10254 hardcode_libdir_separator_CXX=:
10256 # Commands to make compiler produce verbose output that lists
10257 # what "hidden" libraries, object files and flags are used when
10258 # linking a shared library.
10260 # There doesn't appear to be a way to prevent this compiler from
10261 # explicitly linking system object files so we need to strip them
10262 # from the output so that they don't get included in the library
10264 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'
10267 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10268 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10269 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'
10271 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10272 hardcode_libdir_separator_CXX=:
10274 # Commands to make compiler produce verbose output that lists
10275 # what "hidden" libraries, object files and flags are used when
10276 # linking a shared library.
10277 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10280 # FIXME: insert proper C++ library support
10287 # FIXME: insert proper C++ library support
10291 archive_cmds_need_lc_CXX=no
10292 case $cc_basename in
10294 # FIXME: insert proper C++ library support
10298 # FIXME: insert proper C++ library support
10304 case $cc_basename in
10307 # FIXME: insert proper C++ library support
10312 # FIXME: insert proper C++ library support
10316 # FIXME: insert proper C++ library support
10322 case $cc_basename in
10324 # Sun C++ 4.2, 5.x and Centerline C++
10325 no_undefined_flag_CXX=' -zdefs'
10326 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10327 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10328 $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'
10330 hardcode_libdir_flag_spec_CXX='-R$libdir'
10331 hardcode_shlibpath_var_CXX=no
10333 solaris2.0-5 | solaris2.0-5.*) ;;
10335 # The C++ compiler is used as linker so we must use $wl
10336 # flag to pass the commands to the underlying system
10338 # Supported since Solaris 2.6 (maybe 2.5.1?)
10339 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10342 link_all_deplibs_CXX=yes
10344 # Commands to make compiler produce verbose output that lists
10345 # what "hidden" libraries, object files and flags are used when
10346 # linking a shared library.
10348 # There doesn't appear to be a way to prevent this compiler from
10349 # explicitly linking system object files so we need to strip them
10350 # from the output so that they don't get included in the library
10352 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'
10354 # Archives containing C++ object files must be created using
10355 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10356 # necessary to make sure instantiated templates are included
10358 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10361 # Green Hills C++ Compiler
10362 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10364 # The C++ compiler must be used to create the archive.
10365 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10368 # GNU C++ compiler with Solaris linker
10369 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10370 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10371 if $CC --version | grep -v '^2\.7' > /dev/null; then
10372 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10373 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10374 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10376 # Commands to make compiler produce verbose output that lists
10377 # what "hidden" libraries, object files and flags are used when
10378 # linking a shared library.
10379 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10381 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10383 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10384 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10385 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10387 # Commands to make compiler produce verbose output that lists
10388 # what "hidden" libraries, object files and flags are used when
10389 # linking a shared library.
10390 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10393 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10398 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10399 archive_cmds_need_lc_CXX=no
10402 case $cc_basename in
10404 # NonStop-UX NCC 3.20
10405 # FIXME: insert proper C++ library support
10409 # FIXME: insert proper C++ library support
10415 # FIXME: insert proper C++ library support
10419 # FIXME: insert proper C++ library support
10423 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10424 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10425 test "$ld_shlibs_CXX" = no && can_build_shared=no
10431 ## There is no encapsulation within the following macros, do not change
10432 ## the running order or otherwise move them around unless you know exactly
10433 ## what you are doing...
10435 cat > conftest.$ac_ext <<EOF
10439 Foo (void) { a = 0; }
10445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10446 (eval $ac_compile) 2>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; then
10450 # Parse the compiler output and extract the necessary
10451 # objects, libraries and library flags.
10453 # Sentinel used to keep track of whether or not we are before
10454 # the conftest object file.
10455 pre_test_object_deps_done=no
10457 # The `*' in the case matches for architectures that use `case' in
10458 # $output_verbose_cmd can trigger glob expansion during the loop
10459 # eval without this substitution.
10460 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10462 for p in `eval $output_verbose_link_cmd`; do
10466 # Some compilers place space between "-{L,R}" and the path.
10467 # Remove the space.
10468 if test $p = "-L" \
10469 || test $p = "-R"; then
10476 if test "$pre_test_object_deps_done" = no; then
10479 # Internal compiler library paths should come after those
10480 # provided the user. The postdeps already come after the
10481 # user supplied libs so there is no need to process them.
10482 if test -z "$compiler_lib_search_path_CXX"; then
10483 compiler_lib_search_path_CXX="${prev}${p}"
10485 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10488 # The "-l" case would never come before the object being
10489 # linked, so don't bother handling this case.
10492 if test -z "$postdeps_CXX"; then
10493 postdeps_CXX="${prev}${p}"
10495 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10501 # This assumes that the test object file only shows up
10502 # once in the compiler output.
10503 if test "$p" = "conftest.$objext"; then
10504 pre_test_object_deps_done=yes
10508 if test "$pre_test_object_deps_done" = no; then
10509 if test -z "$predep_objects_CXX"; then
10510 predep_objects_CXX="$p"
10512 predep_objects_CXX="$predep_objects_CXX $p"
10515 if test -z "$postdep_objects_CXX"; then
10516 postdep_objects_CXX="$p"
10518 postdep_objects_CXX="$postdep_objects_CXX $p"
10523 *) ;; # Ignore the rest.
10531 echo "libtool.m4: error: problem compiling CXX test program"
10534 $rm -f confest.$objext
10536 case " $postdeps_CXX " in
10537 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10540 lt_prog_compiler_wl_CXX=
10541 lt_prog_compiler_pic_CXX=
10542 lt_prog_compiler_static_CXX=
10544 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10545 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10547 # C++ specific cases for pic, static, wl, etc.
10548 if test "$GXX" = yes; then
10549 lt_prog_compiler_wl_CXX='-Wl,'
10550 lt_prog_compiler_static_CXX='-static'
10554 # All AIX code is PIC.
10555 if test "$host_cpu" = ia64; then
10556 # AIX 5 now supports IA64 processor
10557 lt_prog_compiler_static_CXX='-Bstatic'
10561 # FIXME: we need at least 68020 code to build shared libraries, but
10562 # adding the `-m68020' flag to GCC prevents building anything better,
10564 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10566 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10567 # PIC is the default for these OSes.
10569 mingw* | os2* | pw32*)
10570 # This hack is so that the source file can tell whether it is being
10571 # built for inclusion in a dll (and should export symbols for example).
10572 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10574 darwin* | rhapsody*)
10575 # PIC is the default on this platform
10576 # Common symbols not allowed in MH_DYLIB files
10577 lt_prog_compiler_pic_CXX='-fno-common'
10580 # DJGPP does not support shared libraries at all
10581 lt_prog_compiler_pic_CXX=
10584 if test -d /usr/nec; then
10585 lt_prog_compiler_pic_CXX=-Kconform_pic
10589 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10590 # not for PA HP-UX.
10591 case "$host_cpu" in
10595 lt_prog_compiler_pic_CXX='-fPIC'
10600 lt_prog_compiler_pic_CXX='-fPIC'
10606 # All AIX code is PIC.
10607 if test "$host_cpu" = ia64; then
10608 # AIX 5 now supports IA64 processor
10609 lt_prog_compiler_static_CXX='-Bstatic'
10611 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10615 case $cc_basename in
10617 # Green Hills C++ Compiler
10618 # _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"
10623 case $cc_basename in
10625 lt_prog_compiler_pic_CXX='-KPIC'
10628 # Green Hills C++ Compiler
10629 lt_prog_compiler_pic_CXX='-pic'
10636 # FreeBSD uses GNU C++
10638 hpux9* | hpux10* | hpux11*)
10639 case $cc_basename in
10641 lt_prog_compiler_wl_CXX='-Wl,'
10642 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10643 if test "$host_cpu" != ia64; then
10644 lt_prog_compiler_pic_CXX='+Z'
10648 lt_prog_compiler_wl_CXX='-Wl,'
10649 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10650 case "$host_cpu" in
10655 lt_prog_compiler_pic_CXX='+Z'
10663 irix5* | irix6* | nonstopux*)
10664 case $cc_basename in
10666 lt_prog_compiler_wl_CXX='-Wl,'
10667 lt_prog_compiler_static_CXX='-non_shared'
10668 # CC pic flag -KPIC is the default.
10675 case $cc_basename in
10678 lt_prog_compiler_wl_CXX='--backend -Wl,'
10679 lt_prog_compiler_pic_CXX='-fPIC'
10683 lt_prog_compiler_wl_CXX='-Wl,'
10684 lt_prog_compiler_pic_CXX='-KPIC'
10685 lt_prog_compiler_static_CXX='-static'
10689 # Make sure the PIC flag is empty. It appears that all Alpha
10690 # Linux and Compaq Tru64 Unix objects are PIC.
10691 lt_prog_compiler_pic_CXX=
10692 lt_prog_compiler_static_CXX='-non_shared'
10703 case $cc_basename in
10705 lt_prog_compiler_pic_CXX='-W c,exportall'
10713 osf3* | osf4* | osf5*)
10714 case $cc_basename in
10716 lt_prog_compiler_wl_CXX='--backend -Wl,'
10719 # Rational C++ 2.4.1
10720 lt_prog_compiler_pic_CXX='-pic'
10723 # Digital/Compaq C++
10724 lt_prog_compiler_wl_CXX='-Wl,'
10725 # Make sure the PIC flag is empty. It appears that all Alpha
10726 # Linux and Compaq Tru64 Unix objects are PIC.
10727 lt_prog_compiler_pic_CXX=
10728 lt_prog_compiler_static_CXX='-non_shared'
10737 case $cc_basename in
10739 lt_prog_compiler_pic_CXX='-fPIC'
10746 case $cc_basename in
10748 # Sun C++ 4.2, 5.x and Centerline C++
10749 lt_prog_compiler_pic_CXX='-KPIC'
10750 lt_prog_compiler_static_CXX='-Bstatic'
10751 lt_prog_compiler_wl_CXX='-Qoption ld '
10754 # Green Hills C++ Compiler
10755 lt_prog_compiler_pic_CXX='-PIC'
10762 case $cc_basename in
10765 lt_prog_compiler_pic_CXX='-pic'
10766 lt_prog_compiler_static_CXX='-Bstatic'
10770 lt_prog_compiler_pic_CXX='-pic'
10777 case $cc_basename in
10779 # NonStop-UX NCC 3.20
10780 lt_prog_compiler_pic_CXX='-KPIC'
10791 lt_prog_compiler_can_build_shared_CXX=no
10796 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10797 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10800 # Check to make sure the PIC flag actually works.
10802 if test -n "$lt_prog_compiler_pic_CXX"; then
10803 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10804 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10805 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 lt_prog_compiler_pic_works_CXX=no
10809 ac_outfile=conftest.$ac_objext
10810 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10811 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10812 # Insert the option either (1) after the last *FLAGS variable, or
10813 # (2) before a word containing "conftest.", or (3) at the end.
10814 # Note that $ac_compile itself does not contain backslashes and begins
10815 # with a dollar sign (not a hyphen), so the echo should work correctly.
10816 # The option is referenced via a variable to avoid confusing sed.
10817 lt_compile=`echo "$ac_compile" | $SED \
10818 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10819 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10820 -e 's:$: $lt_compiler_flag:'`
10821 (eval echo "\"\$as_me:10821: $lt_compile\"" >&5)
10822 (eval "$lt_compile" 2>conftest.err)
10824 cat conftest.err >&5
10825 echo "$as_me:10825: \$? = $ac_status" >&5
10826 if (exit $ac_status) && test -s "$ac_outfile"; then
10827 # The compiler can only warn and ignore the option if not recognized
10828 # So say no if there are warnings
10829 if test ! -s conftest.err; then
10830 lt_prog_compiler_pic_works_CXX=yes
10836 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10837 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10839 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10840 case $lt_prog_compiler_pic_CXX in
10842 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10845 lt_prog_compiler_pic_CXX=
10846 lt_prog_compiler_can_build_shared_CXX=no
10851 # For platforms which do not support PIC, -DPIC is meaningless:
10853 lt_prog_compiler_pic_CXX=
10856 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10860 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10861 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10862 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10863 echo $ECHO_N "(cached) $ECHO_C" >&6
10865 lt_cv_prog_compiler_c_o_CXX=no
10866 $rm -r conftest 2>/dev/null
10870 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10872 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10873 # that will create temporary files in the current directory regardless of
10874 # the output directory. Thus, making CWD read-only will cause this test
10875 # to fail, enabling locking or at least warning the user not to do parallel
10879 lt_compiler_flag="-o out/conftest2.$ac_objext"
10880 # Insert the option either (1) after the last *FLAGS variable, or
10881 # (2) before a word containing "conftest.", or (3) at the end.
10882 # Note that $ac_compile itself does not contain backslashes and begins
10883 # with a dollar sign (not a hyphen), so the echo should work correctly.
10884 lt_compile=`echo "$ac_compile" | $SED \
10885 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10887 -e 's:$: $lt_compiler_flag:'`
10888 (eval echo "\"\$as_me:10888: $lt_compile\"" >&5)
10889 (eval "$lt_compile" 2>out/conftest.err)
10891 cat out/conftest.err >&5
10892 echo "$as_me:10892: \$? = $ac_status" >&5
10893 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10895 # The compiler can only warn and ignore the option if not recognized
10896 # So say no if there are warnings
10897 if test ! -s out/conftest.err; then
10898 lt_cv_prog_compiler_c_o_CXX=yes
10902 $rm conftest* out/*
10909 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10910 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10913 hard_links="nottested"
10914 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10915 # do not overwrite the value of need_locks provided by the user
10916 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10917 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10920 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10922 ln conftest.a conftest.b 2>&5 || hard_links=no
10923 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10924 echo "$as_me:$LINENO: result: $hard_links" >&5
10925 echo "${ECHO_T}$hard_links" >&6
10926 if test "$hard_links" = no; then
10927 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10928 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10935 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10936 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10938 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10941 # If we're using GNU nm, then we don't want the "-C" option.
10942 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10943 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10944 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'
10946 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'
10950 export_symbols_cmds_CXX="$ltdll_cmds"
10953 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10956 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10960 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10961 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10962 test "$ld_shlibs_CXX" = no && can_build_shared=no
10964 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10965 if test "$GCC" = yes; then
10966 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10970 # Do we need to explicitly link libc?
10972 case "x$archive_cmds_need_lc_CXX" in
10974 # Assume -lc should be added
10975 archive_cmds_need_lc_CXX=yes
10977 if test "$enable_shared" = yes && test "$GCC" = yes; then
10978 case $archive_cmds_CXX in
10980 # FIXME: we may have to deal with multi-command sequences.
10983 # Test whether the compiler implicitly links with -lc since on some
10984 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10985 # to ld, don't add -lc before -lgcc.
10986 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10987 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10989 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10992 (eval $ac_compile) 2>&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); } 2>conftest.err; then
10998 libobjs=conftest.$ac_objext
11000 wl=$lt_prog_compiler_wl_CXX
11006 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11007 allow_undefined_flag_CXX=
11008 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11009 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); }
11014 archive_cmds_need_lc_CXX=no
11016 archive_cmds_need_lc_CXX=yes
11018 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11020 cat conftest.err 1>&5
11023 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11024 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11031 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11032 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11033 hardcode_action_CXX=
11034 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11035 test -n "$runpath_var CXX" || \
11036 test "X$hardcode_automatic_CXX"="Xyes" ; then
11038 # We can hardcode non-existant directories.
11039 if test "$hardcode_direct_CXX" != no &&
11040 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11041 # have to relink, otherwise we might link with an installed library
11042 # when we should be linking with a yet-to-be-installed one
11043 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11044 test "$hardcode_minus_L_CXX" != no; then
11045 # Linking always hardcodes the temporary library directory.
11046 hardcode_action_CXX=relink
11048 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11049 hardcode_action_CXX=immediate
11052 # We cannot hardcode anything, or else we can only hardcode existing
11054 hardcode_action_CXX=unsupported
11056 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11057 echo "${ECHO_T}$hardcode_action_CXX" >&6
11059 if test "$hardcode_action_CXX" = relink; then
11060 # Fast installation is not supported
11061 enable_fast_install=no
11062 elif test "$shlibpath_overrides_runpath" = yes ||
11063 test "$enable_shared" = no; then
11064 # Fast installation is not necessary
11065 enable_fast_install=needless
11070 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11071 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11072 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11073 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11074 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11075 echo "$as_me:$LINENO: result: yes" >&5
11076 echo "${ECHO_T}yes" >&6
11078 # FIXME - insert some real tests, host_os isn't really good enough
11081 if test -n "$STRIP" ; then
11082 striplib="$STRIP -x"
11083 echo "$as_me:$LINENO: result: yes" >&5
11084 echo "${ECHO_T}yes" >&6
11086 echo "$as_me:$LINENO: result: no" >&5
11087 echo "${ECHO_T}no" >&6
11091 echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6
11097 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11098 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11099 library_names_spec=
11100 libname_spec='lib$name'
11104 postuninstall_cmds=
11108 shlibpath_overrides_runpath=unknown
11110 dynamic_linker="$host_os ld.so"
11111 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11112 if test "$GCC" = yes; then
11113 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11114 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11115 # if the path contains ";" then we assume it to be the separator
11116 # otherwise default to the standard path separator (i.e. ":") - it is
11117 # assumed that no part of a normal pathname contains ";" but that should
11118 # okay in the real world where ";" in dirpaths is itself problematic.
11119 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11121 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11124 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11126 need_lib_prefix=unknown
11127 hardcode_into_libs=no
11129 # when you set need_version to no, make sure it does not cause -set_version
11130 # flags to be left without arguments
11131 need_version=unknown
11136 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11137 shlibpath_var=LIBPATH
11139 # AIX 3 has no versioning support, so we append a major version to the name.
11140 soname_spec='${libname}${release}${shared_ext}$major'
11147 hardcode_into_libs=yes
11148 if test "$host_cpu" = ia64; then
11149 # AIX 5 supports IA64
11150 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11151 shlibpath_var=LD_LIBRARY_PATH
11153 # With GCC up to 2.95.x, collect2 would create an import file
11154 # for dependence libraries. The import file would start with
11155 # the line `#! .'. This would cause the generated library to
11156 # depend on `.', always an invalid library. This was fixed in
11157 # development snapshots of GCC prior to 3.0.
11159 aix4 | aix4.[01] | aix4.[01].*)
11160 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11162 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11165 can_build_shared=no
11169 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11170 # soname into executable. Probably we can add versioning support to
11171 # collect2, so additional links can be useful in future.
11172 if test "$aix_use_runtimelinking" = yes; then
11173 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11174 # instead of lib<name>.a to let people know that these are not
11175 # typical AIX shared libraries.
11176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11178 # We preserve .a as extension for shared libraries through AIX4.2
11179 # and later when we are not doing run time linking.
11180 library_names_spec='${libname}${release}.a $libname.a'
11181 soname_spec='${libname}${release}${shared_ext}$major'
11183 shlibpath_var=LIBPATH
11188 library_names_spec='$libname.ixlibrary $libname.a'
11189 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11190 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'
11194 library_names_spec='${libname}${shared_ext}'
11195 dynamic_linker="$host_os ld.so"
11196 shlibpath_var=LIBRARY_PATH
11202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11203 soname_spec='${libname}${release}${shared_ext}$major'
11204 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11205 shlibpath_var=LD_LIBRARY_PATH
11206 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11207 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11208 # the default ld.so.conf also contains /usr/contrib/lib and
11209 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11210 # libtool to hard-code these into programs
11213 cygwin* | mingw* | pw32*)
11214 version_type=windows
11219 case $GCC,$host_os in
11220 yes,cygwin* | yes,mingw* | yes,pw32*)
11221 library_names_spec='$libname.dll.a'
11222 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11223 postinstall_cmds='base_file=`basename \${file}`~
11224 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11225 dldir=$destdir/`dirname \$dlpath`~
11226 test -d \$dldir || mkdir -p \$dldir~
11227 $install_prog $dir/$dlname \$dldir/$dlname'
11228 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11229 dlpath=$dir/\$dldll~
11231 shlibpath_overrides_runpath=yes
11235 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11236 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11237 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11240 # MinGW DLLs use traditional 'lib' prefix
11241 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11242 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11243 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11244 # It is most probably a Windows format PATH printed by
11245 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11246 # path with ; separators, and with drive letters. We can handle the
11247 # drive letters (cygwin fileutils understands them), so leave them,
11248 # especially as we might pass files found there to a mingw objdump,
11249 # which wouldn't understand a cygwinified path. Ahh.
11250 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11252 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11256 # pw32 DLLs use 'pw' prefix rather than 'lib'
11257 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11263 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11266 dynamic_linker='Win32 ld.exe'
11267 # FIXME: first we should search . and the directory the executable is in
11271 darwin* | rhapsody*)
11272 dynamic_linker="$host_os dyld"
11273 version_type=darwin
11276 # FIXME: Relying on posixy $() will cause problems for
11277 # cross-compilation, but unfortunately the echo tests do not
11278 # yet detect zsh echo's removal of \ escapes.
11279 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11280 soname_spec='${libname}${release}${major}$shared_ext'
11281 shlibpath_overrides_runpath=yes
11282 shlibpath_var=DYLD_LIBRARY_PATH
11283 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11284 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11285 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11286 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"`
11288 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11296 soname_spec='${libname}${release}${shared_ext}$major'
11297 shlibpath_var=LD_LIBRARY_PATH
11305 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11306 version_type=freebsd-$objformat
11307 case $version_type in
11309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11314 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11318 shlibpath_var=LD_LIBRARY_PATH
11321 shlibpath_overrides_runpath=yes
11323 freebsd3.01* | freebsdelf3.01*)
11324 shlibpath_overrides_runpath=yes
11325 hardcode_into_libs=yes
11328 shlibpath_overrides_runpath=no
11329 hardcode_into_libs=yes
11338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11339 soname_spec='${libname}${release}${shared_ext}$major'
11340 shlibpath_var=LD_LIBRARY_PATH
11341 hardcode_into_libs=yes
11344 hpux9* | hpux10* | hpux11*)
11345 # Give a soname corresponding to the major version so that dld.sl refuses to
11346 # link against other versions.
11350 case "$host_cpu" in
11353 hardcode_into_libs=yes
11354 dynamic_linker="$host_os dld.so"
11355 shlibpath_var=LD_LIBRARY_PATH
11356 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358 soname_spec='${libname}${release}${shared_ext}$major'
11359 if test "X$HPUX_IA64_MODE" = X32; then
11360 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11362 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11364 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11368 hardcode_into_libs=yes
11369 dynamic_linker="$host_os dld.sl"
11370 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11371 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11373 soname_spec='${libname}${release}${shared_ext}$major'
11374 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11375 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11379 dynamic_linker="$host_os dld.sl"
11380 shlibpath_var=SHLIB_PATH
11381 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11383 soname_spec='${libname}${release}${shared_ext}$major'
11386 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11387 postinstall_cmds='chmod 555 $lib'
11390 irix5* | irix6* | nonstopux*)
11392 nonstopux*) version_type=nonstopux ;;
11394 if test "$lt_cv_prog_gnu_ld" = yes; then
11402 soname_spec='${libname}${release}${shared_ext}$major'
11403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11405 irix5* | nonstopux*)
11406 libsuff= shlibsuff=
11409 case $LD in # libtool.m4 will add one of these switches to LD
11410 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11411 libsuff= shlibsuff= libmagic=32-bit;;
11412 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11413 libsuff=32 shlibsuff=N32 libmagic=N32;;
11414 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11415 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11416 *) libsuff= shlibsuff= libmagic=never-match;;
11420 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11421 shlibpath_overrides_runpath=no
11422 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11423 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11424 hardcode_into_libs=yes
11427 # No shared lib support for Linux oldld, aout, or coff.
11428 linux*oldld* | linux*aout* | linux*coff*)
11432 # This must be Linux ELF.
11437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11438 soname_spec='${libname}${release}${shared_ext}$major'
11439 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11440 shlibpath_var=LD_LIBRARY_PATH
11441 shlibpath_overrides_runpath=no
11442 # This implies no fast_install, which is unacceptable.
11443 # Some rework will be needed to allow for fast_install
11444 # before this can be enabled.
11445 hardcode_into_libs=yes
11447 # We used to test for /lib/ld.so.1 and disable shared libraries on
11448 # powerpc, because MkLinux only supported shared libraries with the
11449 # GNU dynamic linker. Since this was broken with cross compilers,
11450 # most powerpc-linux boxes support dynamic linking these days and
11451 # people can always --disable-shared, the test was removed, and we
11452 # assume the GNU/Linux dynamic linker is in use.
11453 dynamic_linker='GNU/Linux ld.so'
11460 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11462 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11463 dynamic_linker='NetBSD (a.out) ld.so'
11465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11466 soname_spec='${libname}${release}${shared_ext}$major'
11467 dynamic_linker='NetBSD ld.elf_so'
11469 shlibpath_var=LD_LIBRARY_PATH
11470 shlibpath_overrides_runpath=yes
11471 hardcode_into_libs=yes
11476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477 shlibpath_var=LD_LIBRARY_PATH
11478 shlibpath_overrides_runpath=yes
11485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11486 soname_spec='${libname}${release}${shared_ext}$major'
11487 shlibpath_var=LD_LIBRARY_PATH
11488 shlibpath_overrides_runpath=yes
11495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11496 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11497 shlibpath_var=LD_LIBRARY_PATH
11498 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11500 openbsd2.[89] | openbsd2.[89].*)
11501 shlibpath_overrides_runpath=no
11504 shlibpath_overrides_runpath=yes
11508 shlibpath_overrides_runpath=yes
11513 libname_spec='$name'
11516 library_names_spec='$libname${shared_ext} $libname.a'
11517 dynamic_linker='OS/2 ld.exe'
11518 shlibpath_var=LIBPATH
11521 osf3* | osf4* | osf5*)
11525 soname_spec='${libname}${release}${shared_ext}$major'
11526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11527 shlibpath_var=LD_LIBRARY_PATH
11528 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11529 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11534 soname_spec='${libname}${release}${shared_ext}$major'
11535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11536 shlibpath_var=LD_LIBRARY_PATH
11543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11544 soname_spec='${libname}${release}${shared_ext}$major'
11545 shlibpath_var=LD_LIBRARY_PATH
11546 shlibpath_overrides_runpath=yes
11547 hardcode_into_libs=yes
11548 # ldd complains unless libraries are executable
11549 postinstall_cmds='chmod +x $lib'
11554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11555 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11556 shlibpath_var=LD_LIBRARY_PATH
11557 shlibpath_overrides_runpath=yes
11558 if test "$with_gnu_ld" = yes; then
11564 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11567 soname_spec='${libname}${release}${shared_ext}$major'
11568 shlibpath_var=LD_LIBRARY_PATH
11569 case $host_vendor in
11571 shlibpath_overrides_runpath=no
11573 export_dynamic_flag_spec='${wl}-Blargedynsym'
11574 runpath_var=LD_RUN_PATH
11582 shlibpath_overrides_runpath=no
11583 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11589 if test -d /usr/nec ;then
11591 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11592 soname_spec='$libname${shared_ext}.$major'
11593 shlibpath_var=LD_LIBRARY_PATH
11599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11600 soname_spec='${libname}${release}${shared_ext}$major'
11601 shlibpath_var=LD_LIBRARY_PATH
11608 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11609 echo "${ECHO_T}$dynamic_linker" >&6
11610 test "$dynamic_linker" = no && can_build_shared=no
11612 if test "x$enable_dlopen" != xyes; then
11613 enable_dlopen=unknown
11614 enable_dlopen_self=unknown
11615 enable_dlopen_self_static=unknown
11622 lt_cv_dlopen="load_add_on"
11624 lt_cv_dlopen_self=yes
11628 lt_cv_dlopen="LoadLibrary"
11633 lt_cv_dlopen="dlopen"
11638 # if libdl is installed we need to link against it
11639 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11640 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11641 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 ac_check_lib_save_LIBS=$LIBS
11646 cat >conftest.$ac_ext <<_ACEOF
11647 #line $LINENO "configure"
11650 cat confdefs.h >>conftest.$ac_ext
11651 cat >>conftest.$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11654 /* Override any gcc2 internal prototype to avoid an error. */
11658 /* We use char because int might match the return type of a gcc2
11659 builtin and then its argument prototype would still apply. */
11669 rm -f conftest.$ac_objext conftest$ac_exeext
11670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11671 (eval $ac_link) 2>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } &&
11675 { ac_try='test -s conftest$ac_exeext'
11676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11677 (eval $ac_try) 2>&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); }; }; then
11681 ac_cv_lib_dl_dlopen=yes
11683 echo "$as_me: failed program was:" >&5
11684 sed 's/^/| /' conftest.$ac_ext >&5
11686 ac_cv_lib_dl_dlopen=no
11688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11689 LIBS=$ac_check_lib_save_LIBS
11691 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11692 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11693 if test $ac_cv_lib_dl_dlopen = yes; then
11694 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11697 lt_cv_dlopen="dyld"
11699 lt_cv_dlopen_self=yes
11706 echo "$as_me:$LINENO: checking for shl_load" >&5
11707 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11708 if test "${ac_cv_func_shl_load+set}" = set; then
11709 echo $ECHO_N "(cached) $ECHO_C" >&6
11711 cat >conftest.$ac_ext <<_ACEOF
11712 #line $LINENO "configure"
11715 cat confdefs.h >>conftest.$ac_ext
11716 cat >>conftest.$ac_ext <<_ACEOF
11717 /* end confdefs.h. */
11718 /* System header to define __stub macros and hopefully few prototypes,
11719 which can conflict with char shl_load (); below.
11720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11721 <limits.h> exists even on freestanding compilers. */
11723 # include <limits.h>
11725 # include <assert.h>
11727 /* Override any gcc2 internal prototype to avoid an error. */
11732 /* We use char because int might match the return type of a gcc2
11733 builtin and then its argument prototype would still apply. */
11735 /* The GNU C library defines this for functions which it implements
11736 to always fail with ENOSYS. Some functions are actually named
11737 something starting with __ and the normal name is an alias. */
11738 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11741 char (*f) () = shl_load;
11750 return f != shl_load;
11755 rm -f conftest.$ac_objext conftest$ac_exeext
11756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11757 (eval $ac_link) 2>&5
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); } &&
11761 { ac_try='test -s conftest$ac_exeext'
11762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11763 (eval $ac_try) 2>&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); }; }; then
11767 ac_cv_func_shl_load=yes
11769 echo "$as_me: failed program was:" >&5
11770 sed 's/^/| /' conftest.$ac_ext >&5
11772 ac_cv_func_shl_load=no
11774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11776 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11777 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11778 if test $ac_cv_func_shl_load = yes; then
11779 lt_cv_dlopen="shl_load"
11781 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11782 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11783 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11784 echo $ECHO_N "(cached) $ECHO_C" >&6
11786 ac_check_lib_save_LIBS=$LIBS
11788 cat >conftest.$ac_ext <<_ACEOF
11789 #line $LINENO "configure"
11792 cat confdefs.h >>conftest.$ac_ext
11793 cat >>conftest.$ac_ext <<_ACEOF
11794 /* end confdefs.h. */
11796 /* Override any gcc2 internal prototype to avoid an error. */
11800 /* We use char because int might match the return type of a gcc2
11801 builtin and then its argument prototype would still apply. */
11811 rm -f conftest.$ac_objext conftest$ac_exeext
11812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11813 (eval $ac_link) 2>&5
11815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11816 (exit $ac_status); } &&
11817 { ac_try='test -s conftest$ac_exeext'
11818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11819 (eval $ac_try) 2>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); }; }; then
11823 ac_cv_lib_dld_shl_load=yes
11825 echo "$as_me: failed program was:" >&5
11826 sed 's/^/| /' conftest.$ac_ext >&5
11828 ac_cv_lib_dld_shl_load=no
11830 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11831 LIBS=$ac_check_lib_save_LIBS
11833 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11834 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11835 if test $ac_cv_lib_dld_shl_load = yes; then
11836 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11838 echo "$as_me:$LINENO: checking for dlopen" >&5
11839 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11840 if test "${ac_cv_func_dlopen+set}" = set; then
11841 echo $ECHO_N "(cached) $ECHO_C" >&6
11843 cat >conftest.$ac_ext <<_ACEOF
11844 #line $LINENO "configure"
11847 cat confdefs.h >>conftest.$ac_ext
11848 cat >>conftest.$ac_ext <<_ACEOF
11849 /* end confdefs.h. */
11850 /* System header to define __stub macros and hopefully few prototypes,
11851 which can conflict with char dlopen (); below.
11852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11853 <limits.h> exists even on freestanding compilers. */
11855 # include <limits.h>
11857 # include <assert.h>
11859 /* Override any gcc2 internal prototype to avoid an error. */
11864 /* We use char because int might match the return type of a gcc2
11865 builtin and then its argument prototype would still apply. */
11867 /* The GNU C library defines this for functions which it implements
11868 to always fail with ENOSYS. Some functions are actually named
11869 something starting with __ and the normal name is an alias. */
11870 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11873 char (*f) () = dlopen;
11882 return f != dlopen;
11887 rm -f conftest.$ac_objext conftest$ac_exeext
11888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11889 (eval $ac_link) 2>&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); } &&
11893 { ac_try='test -s conftest$ac_exeext'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; }; then
11899 ac_cv_func_dlopen=yes
11901 echo "$as_me: failed program was:" >&5
11902 sed 's/^/| /' conftest.$ac_ext >&5
11904 ac_cv_func_dlopen=no
11906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11908 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11909 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11910 if test $ac_cv_func_dlopen = yes; then
11911 lt_cv_dlopen="dlopen"
11913 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11914 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11915 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11916 echo $ECHO_N "(cached) $ECHO_C" >&6
11918 ac_check_lib_save_LIBS=$LIBS
11920 cat >conftest.$ac_ext <<_ACEOF
11921 #line $LINENO "configure"
11924 cat confdefs.h >>conftest.$ac_ext
11925 cat >>conftest.$ac_ext <<_ACEOF
11926 /* end confdefs.h. */
11928 /* Override any gcc2 internal prototype to avoid an error. */
11932 /* We use char because int might match the return type of a gcc2
11933 builtin and then its argument prototype would still apply. */
11943 rm -f conftest.$ac_objext conftest$ac_exeext
11944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11945 (eval $ac_link) 2>&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } &&
11949 { ac_try='test -s conftest$ac_exeext'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; }; then
11955 ac_cv_lib_dl_dlopen=yes
11957 echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.$ac_ext >&5
11960 ac_cv_lib_dl_dlopen=no
11962 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11963 LIBS=$ac_check_lib_save_LIBS
11965 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11966 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11967 if test $ac_cv_lib_dl_dlopen = yes; then
11968 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11970 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11971 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11972 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11973 echo $ECHO_N "(cached) $ECHO_C" >&6
11975 ac_check_lib_save_LIBS=$LIBS
11976 LIBS="-lsvld $LIBS"
11977 cat >conftest.$ac_ext <<_ACEOF
11978 #line $LINENO "configure"
11981 cat confdefs.h >>conftest.$ac_ext
11982 cat >>conftest.$ac_ext <<_ACEOF
11983 /* end confdefs.h. */
11985 /* Override any gcc2 internal prototype to avoid an error. */
11989 /* We use char because int might match the return type of a gcc2
11990 builtin and then its argument prototype would still apply. */
12000 rm -f conftest.$ac_objext conftest$ac_exeext
12001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12002 (eval $ac_link) 2>&5
12004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005 (exit $ac_status); } &&
12006 { ac_try='test -s conftest$ac_exeext'
12007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12008 (eval $ac_try) 2>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); }; }; then
12012 ac_cv_lib_svld_dlopen=yes
12014 echo "$as_me: failed program was:" >&5
12015 sed 's/^/| /' conftest.$ac_ext >&5
12017 ac_cv_lib_svld_dlopen=no
12019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12020 LIBS=$ac_check_lib_save_LIBS
12022 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12023 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12024 if test $ac_cv_lib_svld_dlopen = yes; then
12025 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12027 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12028 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12029 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 ac_check_lib_save_LIBS=$LIBS
12034 cat >conftest.$ac_ext <<_ACEOF
12035 #line $LINENO "configure"
12038 cat confdefs.h >>conftest.$ac_ext
12039 cat >>conftest.$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12042 /* Override any gcc2 internal prototype to avoid an error. */
12046 /* We use char because int might match the return type of a gcc2
12047 builtin and then its argument prototype would still apply. */
12057 rm -f conftest.$ac_objext conftest$ac_exeext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059 (eval $ac_link) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } &&
12063 { ac_try='test -s conftest$ac_exeext'
12064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12065 (eval $ac_try) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); }; }; then
12069 ac_cv_lib_dld_dld_link=yes
12071 echo "$as_me: failed program was:" >&5
12072 sed 's/^/| /' conftest.$ac_ext >&5
12074 ac_cv_lib_dld_dld_link=no
12076 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12077 LIBS=$ac_check_lib_save_LIBS
12079 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12080 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12081 if test $ac_cv_lib_dld_dld_link = yes; then
12082 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12103 if test "x$lt_cv_dlopen" != xno; then
12109 case $lt_cv_dlopen in
12111 save_CPPFLAGS="$CPPFLAGS"
12112 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12114 save_LDFLAGS="$LDFLAGS"
12115 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12118 LIBS="$lt_cv_dlopen_libs $LIBS"
12120 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12121 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12122 if test "${lt_cv_dlopen_self+set}" = set; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12125 if test "$cross_compiling" = yes; then :
12126 lt_cv_dlopen_self=cross
12128 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12129 lt_status=$lt_dlunknown
12130 cat > conftest.$ac_ext <<EOF
12131 #line 12131 "configure"
12132 #include "confdefs.h"
12141 # define LT_DLGLOBAL RTLD_GLOBAL
12144 # define LT_DLGLOBAL DL_GLOBAL
12146 # define LT_DLGLOBAL 0
12150 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12151 find out it does not work in some platform. */
12152 #ifndef LT_DLLAZY_OR_NOW
12154 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12157 # define LT_DLLAZY_OR_NOW DL_LAZY
12160 # define LT_DLLAZY_OR_NOW RTLD_NOW
12163 # define LT_DLLAZY_OR_NOW DL_NOW
12165 # define LT_DLLAZY_OR_NOW 0
12173 extern "C" void exit (int);
12176 void fnord() { int i=42;}
12179 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12180 int status = $lt_dlunknown;
12184 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12185 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12186 /* dlclose (self); */
12192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12193 (eval $ac_link) 2>&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12197 (./conftest; exit; ) 2>/dev/null
12199 case x$lt_status in
12200 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12201 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12202 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12205 # compilation failed
12206 lt_cv_dlopen_self=no
12213 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12214 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12216 if test "x$lt_cv_dlopen_self" = xyes; then
12217 LDFLAGS="$LDFLAGS $link_static_flag"
12218 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12219 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12220 if test "${lt_cv_dlopen_self_static+set}" = set; then
12221 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 if test "$cross_compiling" = yes; then :
12224 lt_cv_dlopen_self_static=cross
12226 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12227 lt_status=$lt_dlunknown
12228 cat > conftest.$ac_ext <<EOF
12229 #line 12229 "configure"
12230 #include "confdefs.h"
12239 # define LT_DLGLOBAL RTLD_GLOBAL
12242 # define LT_DLGLOBAL DL_GLOBAL
12244 # define LT_DLGLOBAL 0
12248 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12249 find out it does not work in some platform. */
12250 #ifndef LT_DLLAZY_OR_NOW
12252 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12255 # define LT_DLLAZY_OR_NOW DL_LAZY
12258 # define LT_DLLAZY_OR_NOW RTLD_NOW
12261 # define LT_DLLAZY_OR_NOW DL_NOW
12263 # define LT_DLLAZY_OR_NOW 0
12271 extern "C" void exit (int);
12274 void fnord() { int i=42;}
12277 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12278 int status = $lt_dlunknown;
12282 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12283 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12284 /* dlclose (self); */
12290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12291 (eval $ac_link) 2>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12295 (./conftest; exit; ) 2>/dev/null
12297 case x$lt_status in
12298 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12299 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12300 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12303 # compilation failed
12304 lt_cv_dlopen_self_static=no
12311 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12312 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12315 CPPFLAGS="$save_CPPFLAGS"
12316 LDFLAGS="$save_LDFLAGS"
12321 case $lt_cv_dlopen_self in
12322 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12323 *) enable_dlopen_self=unknown ;;
12326 case $lt_cv_dlopen_self_static in
12327 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12328 *) enable_dlopen_self_static=unknown ;;
12333 # The else clause should only fire when bootstrapping the
12334 # libtool distribution, otherwise you forgot to ship ltmain.sh
12335 # with your package, and you will get complaints that there are
12336 # no rules to generate ltmain.sh.
12337 if test -f "$ltmain"; then
12338 # See if we are running on zsh, and set the options which allow our commands through
12339 # without removal of \ escapes.
12340 if test -n "${ZSH_VERSION+set}" ; then
12341 setopt NO_GLOB_SUBST
12343 # Now quote all the things that may contain metacharacters while being
12344 # careful not to overquote the AC_SUBSTed values. We take copies of the
12345 # variables and quote the copies for generation of the libtool script.
12346 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12347 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12348 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12349 deplibs_check_method reload_flag reload_cmds need_locks \
12350 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12351 lt_cv_sys_global_symbol_to_c_name_address \
12352 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12353 old_postinstall_cmds old_postuninstall_cmds \
12357 lt_prog_compiler_wl_CXX \
12358 lt_prog_compiler_pic_CXX \
12359 lt_prog_compiler_static_CXX \
12360 lt_prog_compiler_no_builtin_flag_CXX \
12361 export_dynamic_flag_spec_CXX \
12362 thread_safe_flag_spec_CXX \
12363 whole_archive_flag_spec_CXX \
12364 enable_shared_with_static_runtimes_CXX \
12365 old_archive_cmds_CXX \
12366 old_archive_from_new_cmds_CXX \
12367 predep_objects_CXX \
12368 postdep_objects_CXX \
12371 compiler_lib_search_path_CXX \
12373 archive_expsym_cmds_CXX \
12374 postinstall_cmds_CXX \
12375 postuninstall_cmds_CXX \
12376 old_archive_from_expsyms_cmds_CXX \
12377 allow_undefined_flag_CXX \
12378 no_undefined_flag_CXX \
12379 export_symbols_cmds_CXX \
12380 hardcode_libdir_flag_spec_CXX \
12381 hardcode_libdir_flag_spec_ld_CXX \
12382 hardcode_libdir_separator_CXX \
12383 hardcode_automatic_CXX \
12385 module_expsym_cmds_CXX \
12386 lt_cv_prog_compiler_c_o_CXX \
12387 exclude_expsyms_CXX \
12388 include_expsyms_CXX; do
12391 old_archive_cmds_CXX | \
12392 old_archive_from_new_cmds_CXX | \
12393 archive_cmds_CXX | \
12394 archive_expsym_cmds_CXX | \
12395 module_cmds_CXX | \
12396 module_expsym_cmds_CXX | \
12397 old_archive_from_expsyms_cmds_CXX | \
12398 export_symbols_cmds_CXX | \
12399 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12400 postinstall_cmds | postuninstall_cmds | \
12401 old_postinstall_cmds | old_postuninstall_cmds | \
12402 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12403 # Double-quote double-evaled strings.
12404 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12407 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12413 *'\$0 --fallback-echo"')
12414 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12420 cat <<__EOF__ >> "$cfgfile"
12421 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12423 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12425 # Shell to use when invoking shell scripts.
12428 # Whether or not to build shared libraries.
12429 build_libtool_libs=$enable_shared
12431 # Whether or not to build static libraries.
12432 build_old_libs=$enable_static
12434 # Whether or not to add -lc for building shared libraries.
12435 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12437 # Whether or not to disallow shared libs when runtime libs are static
12438 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12440 # Whether or not to optimize for fast installation.
12441 fast_install=$enable_fast_install
12444 host_alias=$host_alias
12447 # An echo program that does not interpret backslashes.
12452 AR_FLAGS=$lt_AR_FLAGS
12457 # A language-specific compiler.
12458 CC=$lt_compiler_CXX
12460 # Is the compiler the GNU C compiler?
12466 # The linker used to build libraries.
12469 # Whether we need hard or soft links.
12472 # A BSD-compatible nm program.
12475 # A symbol stripping program
12478 # Used to examine libraries when file_magic_cmd begins "file"
12479 MAGIC_CMD=$MAGIC_CMD
12481 # Used on cygwin: DLL creation program.
12484 # Used on cygwin: object dumper.
12487 # Used on cygwin: assembler.
12490 # The name of the directory that contains temporary libtool files.
12493 # How to create reloadable object files.
12494 reload_flag=$lt_reload_flag
12495 reload_cmds=$lt_reload_cmds
12497 # How to pass a linker flag through the compiler.
12498 wl=$lt_lt_prog_compiler_wl_CXX
12500 # Object file suffix (normally "o").
12501 objext="$ac_objext"
12503 # Old archive suffix (normally "a").
12506 # Shared library suffix (normally ".so").
12509 # Executable file suffix (normally "").
12512 # Additional compiler flags for building library objects.
12513 pic_flag=$lt_lt_prog_compiler_pic_CXX
12516 # What is the maximum length of a command?
12517 max_cmd_len=$lt_cv_sys_max_cmd_len
12519 # Does compiler simultaneously support -c and -o options?
12520 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12522 # Must we lock files when doing compilation ?
12523 need_locks=$lt_need_locks
12525 # Do we need the lib prefix for modules?
12526 need_lib_prefix=$need_lib_prefix
12528 # Do we need a version for libraries?
12529 need_version=$need_version
12531 # Whether dlopen is supported.
12532 dlopen_support=$enable_dlopen
12534 # Whether dlopen of programs is supported.
12535 dlopen_self=$enable_dlopen_self
12537 # Whether dlopen of statically linked programs is supported.
12538 dlopen_self_static=$enable_dlopen_self_static
12540 # Compiler flag to prevent dynamic linking.
12541 link_static_flag=$lt_lt_prog_compiler_static_CXX
12543 # Compiler flag to turn off builtin functions.
12544 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12546 # Compiler flag to allow reflexive dlopens.
12547 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12549 # Compiler flag to generate shared objects directly from archives.
12550 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12552 # Compiler flag to generate thread-safe objects.
12553 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12555 # Library versioning type.
12556 version_type=$version_type
12558 # Format of library name prefix.
12559 libname_spec=$lt_libname_spec
12561 # List of archive names. First name is the real one, the rest are links.
12562 # The last name is the one that the linker finds with -lNAME.
12563 library_names_spec=$lt_library_names_spec
12565 # The coded name of the library, if different from the real name.
12566 soname_spec=$lt_soname_spec
12568 # Commands used to build and install an old-style archive.
12570 old_archive_cmds=$lt_old_archive_cmds_CXX
12571 old_postinstall_cmds=$lt_old_postinstall_cmds
12572 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12574 # Create an old-style archive from a shared archive.
12575 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12577 # Create a temporary old-style archive to link instead of a shared archive.
12578 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12580 # Commands used to build and install a shared archive.
12581 archive_cmds=$lt_archive_cmds_CXX
12582 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12583 postinstall_cmds=$lt_postinstall_cmds
12584 postuninstall_cmds=$lt_postuninstall_cmds
12586 # Commands used to build a loadable module (assumed same as above if empty)
12587 module_cmds=$lt_module_cmds_CXX
12588 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12590 # Commands to strip libraries.
12591 old_striplib=$lt_old_striplib
12592 striplib=$lt_striplib
12594 # Dependencies to place before the objects being linked to create a
12596 predep_objects=$lt_predep_objects_CXX
12598 # Dependencies to place after the objects being linked to create a
12600 postdep_objects=$lt_postdep_objects_CXX
12602 # Dependencies to place before the objects being linked to create a
12604 predeps=$lt_predeps_CXX
12606 # Dependencies to place after the objects being linked to create a
12608 postdeps=$lt_postdeps_CXX
12610 # The library search path used internally by the compiler when linking
12611 # a shared library.
12612 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12614 # Method to check whether dependent libraries are shared objects.
12615 deplibs_check_method=$lt_deplibs_check_method
12617 # Command to use when deplibs_check_method == file_magic.
12618 file_magic_cmd=$lt_file_magic_cmd
12620 # Flag that allows shared libraries with undefined symbols to be built.
12621 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12623 # Flag that forces no undefined symbols.
12624 no_undefined_flag=$lt_no_undefined_flag_CXX
12626 # Commands used to finish a libtool library installation in a directory.
12627 finish_cmds=$lt_finish_cmds
12629 # Same as above, but a single script fragment to be evaled but not shown.
12630 finish_eval=$lt_finish_eval
12632 # Take the output of nm and produce a listing of raw symbols and C names.
12633 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12635 # Transform the output of nm in a proper C declaration
12636 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12638 # Transform the output of nm in a C name address pair
12639 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12641 # This is the shared library runtime path variable.
12642 runpath_var=$runpath_var
12644 # This is the shared library path variable.
12645 shlibpath_var=$shlibpath_var
12647 # Is shlibpath searched before the hard-coded library search path?
12648 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12650 # How to hardcode a shared library path into an executable.
12651 hardcode_action=$hardcode_action_CXX
12653 # Whether we should hardcode library paths into libraries.
12654 hardcode_into_libs=$hardcode_into_libs
12656 # Flag to hardcode \$libdir into a binary during linking.
12657 # This must work even if \$libdir does not exist.
12658 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12660 # If ld is used when linking, flag to hardcode \$libdir into
12661 # a binary during linking. This must work even if \$libdir does
12663 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12665 # Whether we need a single -rpath flag with a separated argument.
12666 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12668 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12669 # resulting binary.
12670 hardcode_direct=$hardcode_direct_CXX
12672 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12673 # resulting binary.
12674 hardcode_minus_L=$hardcode_minus_L_CXX
12676 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12677 # the resulting binary.
12678 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12680 # Set to yes if building a shared library automatically hardcodes DIR into the library
12681 # and all subsequent libraries and executables linked against it.
12682 hardcode_automatic=$hardcode_automatic_CXX
12684 # Variables whose values should be saved in libtool wrapper scripts and
12685 # restored at relink time.
12686 variables_saved_for_relink="$variables_saved_for_relink"
12688 # Whether libtool must link a program against all its dependency libraries.
12689 link_all_deplibs=$link_all_deplibs_CXX
12691 # Compile-time system search path for libraries
12692 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12694 # Run-time system search path for libraries
12695 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12697 # Fix the shell variable \$srcfile for the compiler.
12698 fix_srcfile_path="$fix_srcfile_path_CXX"
12700 # Set to yes if exported symbols are required.
12701 always_export_symbols=$always_export_symbols_CXX
12703 # The commands to list exported symbols.
12704 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12706 # The commands to extract the exported symbol list from a shared archive.
12707 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12709 # Symbols that should not be listed in the preloaded symbols.
12710 exclude_expsyms=$lt_exclude_expsyms_CXX
12712 # Symbols that must always be exported.
12713 include_expsyms=$lt_include_expsyms_CXX
12715 # ### END LIBTOOL TAG CONFIG: $tagname
12721 # If there is no Makefile yet, we rely on a make rule to execute
12722 # `config.status --recheck' to rerun these tests and create the
12723 # libtool script then.
12724 test -f Makefile && make "$ltmain"
12729 ac_cpp='$CPP $CPPFLAGS'
12730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12738 with_gnu_ldcxx=$with_gnu_ld
12739 with_gnu_ld=$lt_save_with_gnu_ld
12740 lt_cv_path_LDCXX=$lt_cv_path_LD
12741 lt_cv_path_LD=$lt_save_path_LD
12742 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12743 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12751 if test -n "$F77" && test "X$F77" != "Xno"; then
12754 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12755 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12756 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12759 archive_cmds_need_lc_F77=no
12760 allow_undefined_flag_F77=
12761 always_export_symbols_F77=no
12762 archive_expsym_cmds_F77=
12763 export_dynamic_flag_spec_F77=
12764 hardcode_direct_F77=no
12765 hardcode_libdir_flag_spec_F77=
12766 hardcode_libdir_flag_spec_ld_F77=
12767 hardcode_libdir_separator_F77=
12768 hardcode_minus_L_F77=no
12769 hardcode_automatic_F77=no
12771 module_expsym_cmds_F77=
12772 link_all_deplibs_F77=unknown
12773 old_archive_cmds_F77=$old_archive_cmds
12774 no_undefined_flag_F77=
12775 whole_archive_flag_spec_F77=
12776 enable_shared_with_static_runtimes_F77=no
12778 # Source file extension for f77 test sources.
12781 # Object file extension for compiled f77 test sources.
12785 # Code to be used in simple compile tests
12786 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12788 # Code to be used in simple link tests
12789 lt_simple_link_test_code=" program t\n end\n"
12791 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12793 # If no C compiler was specified, use CC.
12796 # Allow CC to be a program name with arguments.
12800 # Allow CC to be a program name with arguments.
12805 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12807 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12808 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12809 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12810 echo "${ECHO_T}$can_build_shared" >&6
12812 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12813 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12814 test "$can_build_shared" = "no" && enable_shared=no
12816 # On AIX, shared libraries and static libraries use the same namespace, and
12817 # are all built from PIC.
12820 test "$enable_shared" = yes && enable_static=no
12821 if test -n "$RANLIB"; then
12822 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12823 postinstall_cmds='$RANLIB $lib'
12827 test "$enable_shared" = yes && enable_static=no
12830 echo "$as_me:$LINENO: result: $enable_shared" >&5
12831 echo "${ECHO_T}$enable_shared" >&6
12833 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12834 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12835 # Make sure either enable_shared or enable_static is yes.
12836 test "$enable_shared" = yes || enable_static=yes
12837 echo "$as_me:$LINENO: result: $enable_static" >&5
12838 echo "${ECHO_T}$enable_static" >&6
12840 test "$ld_shlibs_F77" = no && can_build_shared=no
12845 lt_prog_compiler_wl_F77=
12846 lt_prog_compiler_pic_F77=
12847 lt_prog_compiler_static_F77=
12849 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12850 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12852 if test "$GCC" = yes; then
12853 lt_prog_compiler_wl_F77='-Wl,'
12854 lt_prog_compiler_static_F77='-static'
12858 # All AIX code is PIC.
12859 if test "$host_cpu" = ia64; then
12860 # AIX 5 now supports IA64 processor
12861 lt_prog_compiler_static_F77='-Bstatic'
12866 # FIXME: we need at least 68020 code to build shared libraries, but
12867 # adding the `-m68020' flag to GCC prevents building anything better,
12869 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12872 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12873 # PIC is the default for these OSes.
12876 mingw* | pw32* | os2*)
12877 # This hack is so that the source file can tell whether it is being
12878 # built for inclusion in a dll (and should export symbols for example).
12879 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12882 darwin* | rhapsody*)
12883 # PIC is the default on this platform
12884 # Common symbols not allowed in MH_DYLIB files
12885 lt_prog_compiler_pic_F77='-fno-common'
12889 # Just because we use GCC doesn't mean we suddenly get shared libraries
12890 # on systems that don't support them.
12891 lt_prog_compiler_can_build_shared_F77=no
12896 if test -d /usr/nec; then
12897 lt_prog_compiler_pic_F77=-Kconform_pic
12902 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12903 # not for PA HP-UX.
12904 case "$host_cpu" in
12909 lt_prog_compiler_pic_F77='-fPIC'
12915 lt_prog_compiler_pic_F77='-fPIC'
12919 # PORTME Check for flag to pass linker flags through the system compiler.
12922 lt_prog_compiler_wl_F77='-Wl,'
12923 if test "$host_cpu" = ia64; then
12924 # AIX 5 now supports IA64 processor
12925 lt_prog_compiler_static_F77='-Bstatic'
12927 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12931 mingw* | pw32* | os2*)
12932 # This hack is so that the source file can tell whether it is being
12933 # built for inclusion in a dll (and should export symbols for example).
12934 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12937 hpux9* | hpux10* | hpux11*)
12938 lt_prog_compiler_wl_F77='-Wl,'
12939 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12940 # not for PA HP-UX.
12941 case "$host_cpu" in
12946 lt_prog_compiler_pic_F77='+Z'
12949 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12950 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12953 irix5* | irix6* | nonstopux*)
12954 lt_prog_compiler_wl_F77='-Wl,'
12955 # PIC (with -KPIC) is the default.
12956 lt_prog_compiler_static_F77='-non_shared'
12960 lt_prog_compiler_pic_F77='-KPIC'
12961 lt_prog_compiler_static_F77='-Bstatic'
12967 lt_prog_compiler_wl_F77='-Wl,'
12968 lt_prog_compiler_pic_F77='-KPIC'
12969 lt_prog_compiler_static_F77='-static'
12972 lt_prog_compiler_wl_F77='-Wl,'
12973 # All Alpha code is PIC.
12974 lt_prog_compiler_static_F77='-non_shared'
12979 osf3* | osf4* | osf5*)
12980 lt_prog_compiler_wl_F77='-Wl,'
12981 # All OSF/1 code is PIC.
12982 lt_prog_compiler_static_F77='-non_shared'
12986 lt_prog_compiler_pic_F77='-Kpic'
12987 lt_prog_compiler_static_F77='-dn'
12991 lt_prog_compiler_wl_F77='-Wl,'
12992 lt_prog_compiler_pic_F77='-KPIC'
12993 lt_prog_compiler_static_F77='-Bstatic'
12997 lt_prog_compiler_wl_F77='-Qoption ld '
12998 lt_prog_compiler_pic_F77='-PIC'
12999 lt_prog_compiler_static_F77='-Bstatic'
13002 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13003 lt_prog_compiler_wl_F77='-Wl,'
13004 lt_prog_compiler_pic_F77='-KPIC'
13005 lt_prog_compiler_static_F77='-Bstatic'
13009 if test -d /usr/nec ;then
13010 lt_prog_compiler_pic_F77='-Kconform_pic'
13011 lt_prog_compiler_static_F77='-Bstatic'
13016 lt_prog_compiler_pic_F77='-pic'
13017 lt_prog_compiler_static_F77='-Bstatic'
13021 lt_prog_compiler_can_build_shared_F77=no
13026 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13027 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13030 # Check to make sure the PIC flag actually works.
13032 if test -n "$lt_prog_compiler_pic_F77"; then
13033 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13034 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13035 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13036 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 lt_prog_compiler_pic_works_F77=no
13039 ac_outfile=conftest.$ac_objext
13040 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13041 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13042 # Insert the option either (1) after the last *FLAGS variable, or
13043 # (2) before a word containing "conftest.", or (3) at the end.
13044 # Note that $ac_compile itself does not contain backslashes and begins
13045 # with a dollar sign (not a hyphen), so the echo should work correctly.
13046 # The option is referenced via a variable to avoid confusing sed.
13047 lt_compile=`echo "$ac_compile" | $SED \
13048 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13049 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13050 -e 's:$: $lt_compiler_flag:'`
13051 (eval echo "\"\$as_me:13051: $lt_compile\"" >&5)
13052 (eval "$lt_compile" 2>conftest.err)
13054 cat conftest.err >&5
13055 echo "$as_me:13055: \$? = $ac_status" >&5
13056 if (exit $ac_status) && test -s "$ac_outfile"; then
13057 # The compiler can only warn and ignore the option if not recognized
13058 # So say no if there are warnings
13059 if test ! -s conftest.err; then
13060 lt_prog_compiler_pic_works_F77=yes
13066 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13067 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13069 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13070 case $lt_prog_compiler_pic_F77 in
13072 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13075 lt_prog_compiler_pic_F77=
13076 lt_prog_compiler_can_build_shared_F77=no
13081 # For platforms which do not support PIC, -DPIC is meaningless:
13083 lt_prog_compiler_pic_F77=
13086 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13090 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13091 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13092 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13093 echo $ECHO_N "(cached) $ECHO_C" >&6
13095 lt_cv_prog_compiler_c_o_F77=no
13096 $rm -r conftest 2>/dev/null
13100 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13102 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13103 # that will create temporary files in the current directory regardless of
13104 # the output directory. Thus, making CWD read-only will cause this test
13105 # to fail, enabling locking or at least warning the user not to do parallel
13109 lt_compiler_flag="-o out/conftest2.$ac_objext"
13110 # Insert the option either (1) after the last *FLAGS variable, or
13111 # (2) before a word containing "conftest.", or (3) at the end.
13112 # Note that $ac_compile itself does not contain backslashes and begins
13113 # with a dollar sign (not a hyphen), so the echo should work correctly.
13114 lt_compile=`echo "$ac_compile" | $SED \
13115 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13116 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13117 -e 's:$: $lt_compiler_flag:'`
13118 (eval echo "\"\$as_me:13118: $lt_compile\"" >&5)
13119 (eval "$lt_compile" 2>out/conftest.err)
13121 cat out/conftest.err >&5
13122 echo "$as_me:13122: \$? = $ac_status" >&5
13123 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13125 # The compiler can only warn and ignore the option if not recognized
13126 # So say no if there are warnings
13127 if test ! -s out/conftest.err; then
13128 lt_cv_prog_compiler_c_o_F77=yes
13132 $rm conftest* out/*
13139 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13140 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13143 hard_links="nottested"
13144 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13145 # do not overwrite the value of need_locks provided by the user
13146 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13147 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13150 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13152 ln conftest.a conftest.b 2>&5 || hard_links=no
13153 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13154 echo "$as_me:$LINENO: result: $hard_links" >&5
13155 echo "${ECHO_T}$hard_links" >&6
13156 if test "$hard_links" = no; then
13157 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13158 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13165 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13166 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13169 allow_undefined_flag_F77=
13170 enable_shared_with_static_runtimes_F77=no
13172 archive_expsym_cmds_F77=
13173 old_archive_From_new_cmds_F77=
13174 old_archive_from_expsyms_cmds_F77=
13175 export_dynamic_flag_spec_F77=
13176 whole_archive_flag_spec_F77=
13177 thread_safe_flag_spec_F77=
13178 hardcode_libdir_flag_spec_F77=
13179 hardcode_libdir_flag_spec_ld_F77=
13180 hardcode_libdir_separator_F77=
13181 hardcode_direct_F77=no
13182 hardcode_minus_L_F77=no
13183 hardcode_shlibpath_var_F77=unsupported
13184 link_all_deplibs_F77=unknown
13185 hardcode_automatic_F77=no
13187 module_expsym_cmds_F77=
13188 always_export_symbols_F77=no
13189 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13190 # include_expsyms should be a list of space-separated symbols to be *always*
13191 # included in the symbol list
13192 include_expsyms_F77=
13193 # exclude_expsyms can be an extended regexp of symbols to exclude
13194 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13195 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13196 # as well as any symbol that contains `d'.
13197 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13198 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13199 # platforms (ab)use it in PIC code, but their linkers get confused if
13200 # the symbol is explicitly referenced. Since portable code cannot
13201 # rely on this symbol name, it's probably fine to never include it in
13202 # preloaded symbol tables.
13203 extract_expsyms_cmds=
13206 cygwin* | mingw* | pw32*)
13207 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13208 # When not using gcc, we currently assume that we are using
13209 # Microsoft Visual C++.
13210 if test "$GCC" != yes; then
13220 if test "$with_gnu_ld" = yes; then
13221 # If archive_cmds runs LD, not CC, wlarc should be empty
13224 # See if GNU ld supports shared libraries.
13226 aix3* | aix4* | aix5*)
13227 # On AIX/PPC, the GNU linker is very broken
13228 if test "$host_cpu" != ia64; then
13232 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13233 *** to be unable to reliably create shared libraries on AIX.
13234 *** Therefore, libtool is disabling shared libraries support. If you
13235 *** really care for shared libraries, you may want to modify your PATH
13236 *** so that a non-GNU linker is found, and then restart.
13243 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)'
13244 hardcode_libdir_flag_spec_F77='-L$libdir'
13245 hardcode_minus_L_F77=yes
13247 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13248 # that the semantics of dynamic libraries on AmigaOS, at least up
13249 # to version 4, is to share data among multiple programs linked
13250 # with the same dynamic library. Since this doesn't match the
13251 # behavior of shared libraries on other platforms, we can't use
13257 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13258 allow_undefined_flag_F77=unsupported
13259 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13260 # support --undefined. This deserves some investigation. FIXME
13261 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13267 cygwin* | mingw* | pw32*)
13268 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13269 # as there is no search path for DLLs.
13270 hardcode_libdir_flag_spec_F77='-L$libdir'
13271 allow_undefined_flag_F77=unsupported
13272 always_export_symbols_F77=no
13273 enable_shared_with_static_runtimes_F77=yes
13274 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13276 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13277 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13278 # If the export-symbols file already is a .def file (1st line
13279 # is EXPORTS), use it as is; otherwise, prepend...
13280 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13281 cp $export_symbols $output_objdir/$soname.def;
13283 echo EXPORTS > $output_objdir/$soname.def;
13284 cat $export_symbols >> $output_objdir/$soname.def;
13286 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13293 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13294 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13297 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13298 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13303 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13307 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13308 *** create shared libraries on Solaris systems. Therefore, libtool
13309 *** is disabling shared libraries support. We urge you to upgrade GNU
13310 *** binutils to release 2.9.1 or newer. Another option is to modify
13311 *** your PATH or compiler configuration so that the native linker is
13312 *** used, and then restart.
13315 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13316 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13317 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13324 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13326 hardcode_direct_F77=yes
13327 hardcode_shlibpath_var_F77=no
13331 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13332 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13333 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13340 if test "$ld_shlibs_F77" = yes; then
13341 runpath_var=LD_RUN_PATH
13342 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13343 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13344 # ancient GNU ld didn't support --whole-archive et. al.
13345 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13346 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13348 whole_archive_flag_spec_F77=
13352 # PORTME fill in a description of your system's linker (not GNU ld)
13355 allow_undefined_flag_F77=unsupported
13356 always_export_symbols_F77=yes
13357 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'
13358 # Note: this linker hardcodes the directories in LIBPATH if there
13359 # are no directories specified by -L.
13360 hardcode_minus_L_F77=yes
13361 if test "$GCC" = yes && test -z "$link_static_flag"; then
13362 # Neither direct hardcoding nor static linking is supported with a
13364 hardcode_direct_F77=unsupported
13369 if test "$host_cpu" = ia64; then
13370 # On IA64, the linker does run time linking by default, so we don't
13371 # have to do anything special.
13372 aix_use_runtimelinking=no
13373 exp_sym_flag='-Bexport'
13376 # If we're using GNU nm, then we don't want the "-C" option.
13377 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13378 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13379 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'
13381 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'
13383 aix_use_runtimelinking=no
13385 # Test if we are trying to use run time linking or normal
13386 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13387 # need to do runtime linking.
13388 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13389 for ld_flag in $LDFLAGS; do
13390 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13391 aix_use_runtimelinking=yes
13397 exp_sym_flag='-bexport'
13398 no_entry_flag='-bnoentry'
13401 # When large executables or shared objects are built, AIX ld can
13402 # have problems creating the table of contents. If linking a library
13403 # or program results in "error TOC overflow" add -mminimal-toc to
13404 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13405 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13407 archive_cmds_F77=''
13408 hardcode_direct_F77=yes
13409 hardcode_libdir_separator_F77=':'
13410 link_all_deplibs_F77=yes
13412 if test "$GCC" = yes; then
13413 case $host_os in aix4.012|aix4.012.*)
13414 # We only want to do this on AIX 4.2 and lower, the check
13415 # below for broken collect2 doesn't work under 4.3+
13416 collect2name=`${CC} -print-prog-name=collect2`
13417 if test -f "$collect2name" && \
13418 strings "$collect2name" | grep resolve_lib_name >/dev/null
13420 # We have reworked collect2
13421 hardcode_direct_F77=yes
13423 # We have old collect2
13424 hardcode_direct_F77=unsupported
13425 # It fails to find uninstalled libraries when the uninstalled
13426 # path is not listed in the libpath. Setting hardcode_minus_L
13427 # to unsupported forces relinking
13428 hardcode_minus_L_F77=yes
13429 hardcode_libdir_flag_spec_F77='-L$libdir'
13430 hardcode_libdir_separator_F77=
13433 shared_flag='-shared'
13436 if test "$host_cpu" = ia64; then
13437 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13438 # chokes on -Wl,-G. The following line is correct:
13441 if test "$aix_use_runtimelinking" = yes; then
13442 shared_flag='${wl}-G'
13444 shared_flag='${wl}-bM:SRE'
13449 # It seems that -bexpall does not export symbols beginning with
13450 # underscore (_), so it is better to generate a list of symbols to export.
13451 always_export_symbols_F77=yes
13452 if test "$aix_use_runtimelinking" = yes; then
13453 # Warning - without using the other runtime loading flags (-brtl),
13454 # -berok will link without error, but may produce a broken library.
13455 allow_undefined_flag_F77='-berok'
13456 # Determine the default libpath from the value encoded in an empty executable.
13457 cat >conftest.$ac_ext <<_ACEOF
13462 rm -f conftest.$ac_objext conftest$ac_exeext
13463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13464 (eval $ac_link) 2>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try='test -s conftest$ac_exeext'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; }; then
13475 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13477 # Check for a 64-bit object if we didn't find anything.
13478 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; }
13481 echo "$as_me: failed program was:" >&5
13482 sed 's/^/| /' conftest.$ac_ext >&5
13485 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13486 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13488 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13489 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"
13491 if test "$host_cpu" = ia64; then
13492 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13493 allow_undefined_flag_F77="-z nodefs"
13494 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"
13496 # Determine the default libpath from the value encoded in an empty executable.
13497 cat >conftest.$ac_ext <<_ACEOF
13502 rm -f conftest.$ac_objext conftest$ac_exeext
13503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13504 (eval $ac_link) 2>&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } &&
13508 { ac_try='test -s conftest$ac_exeext'
13509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13510 (eval $ac_try) 2>&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); }; }; then
13515 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13517 # Check for a 64-bit object if we didn't find anything.
13518 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; }
13521 echo "$as_me: failed program was:" >&5
13522 sed 's/^/| /' conftest.$ac_ext >&5
13525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13526 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13528 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13529 # Warning - without using the other run time loading flags,
13530 # -berok will link without error, but may produce a broken library.
13531 no_undefined_flag_F77=' ${wl}-bernotok'
13532 allow_undefined_flag_F77=' ${wl}-berok'
13533 # -bexpall does not export symbols beginning with underscore (_)
13534 always_export_symbols_F77=yes
13535 # Exported symbols can be pulled into shared objects from archives
13536 whole_archive_flag_spec_F77=' '
13537 archive_cmds_need_lc_F77=yes
13538 # This is similar to how AIX traditionally builds it's shared libraries.
13539 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'
13545 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)'
13546 hardcode_libdir_flag_spec_F77='-L$libdir'
13547 hardcode_minus_L_F77=yes
13548 # see comment about different semantics on the GNU ld section
13553 export_dynamic_flag_spec_F77=-rdynamic
13556 cygwin* | mingw* | pw32*)
13557 # When not using gcc, we currently assume that we are using
13558 # Microsoft Visual C++.
13559 # hardcode_libdir_flag_spec is actually meaningless, as there is
13560 # no search path for DLLs.
13561 hardcode_libdir_flag_spec_F77=' '
13562 allow_undefined_flag_F77=unsupported
13563 # Tell ltmain to make .lib files, not .a files.
13565 # Tell ltmain to make .dll files, not .so files.
13567 # FIXME: Setting linknames here is a bad hack.
13568 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13569 # The linker will automatically build a .lib file if we build a DLL.
13570 old_archive_From_new_cmds_F77='true'
13571 # FIXME: Should let the user specify the lib program.
13572 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13573 fix_srcfile_path='`cygpath -w "$srcfile"`'
13574 enable_shared_with_static_runtimes_F77=yes
13577 darwin* | rhapsody*)
13578 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13579 archive_cmds_need_lc_F77=no
13581 rhapsody* | darwin1.[012])
13582 allow_undefined_flag_F77='-undefined suppress'
13585 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13588 # FIXME: Relying on posixy $() will cause problems for
13589 # cross-compilation, but unfortunately the echo tests do not
13590 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13591 # `"' quotes if we put them in here... so don't!
13592 lt_int_apple_cc_single_mod=no
13593 output_verbose_link_cmd='echo'
13594 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13595 lt_int_apple_cc_single_mod=yes
13597 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13598 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13600 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'
13602 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13603 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13604 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13605 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}'
13607 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}'
13609 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}'
13610 hardcode_direct_F77=no
13611 hardcode_automatic_F77=yes
13612 hardcode_shlibpath_var_F77=unsupported
13613 whole_archive_flag_spec_F77='-all_load $convenience'
13614 link_all_deplibs_F77=yes
13619 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13620 hardcode_libdir_flag_spec_F77='-L$libdir'
13621 hardcode_shlibpath_var_F77=no
13628 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13629 # support. Future versions do this automatically, but an explicit c++rt0.o
13630 # does not break anything, and helps significantly (at the cost of a little
13633 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13634 hardcode_libdir_flag_spec_F77='-R$libdir'
13635 hardcode_direct_F77=yes
13636 hardcode_shlibpath_var_F77=no
13639 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13641 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13642 hardcode_direct_F77=yes
13643 hardcode_minus_L_F77=yes
13644 hardcode_shlibpath_var_F77=no
13647 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13649 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13650 hardcode_libdir_flag_spec_F77='-R$libdir'
13651 hardcode_direct_F77=yes
13652 hardcode_shlibpath_var_F77=no
13656 if test "$GCC" = yes; then
13657 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'
13659 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'
13661 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13662 hardcode_libdir_separator_F77=:
13663 hardcode_direct_F77=yes
13665 # hardcode_minus_L: Not really in the search PATH,
13666 # but as the default location of the library.
13667 hardcode_minus_L_F77=yes
13668 export_dynamic_flag_spec_F77='${wl}-E'
13672 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13673 case "$host_cpu" in
13675 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13678 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13682 case "$host_cpu" in
13684 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13687 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13691 if test "$with_gnu_ld" = no; then
13692 case "$host_cpu" in
13694 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13695 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13696 hardcode_libdir_separator_F77=:
13697 hardcode_direct_F77=no
13698 hardcode_shlibpath_var_F77=no
13701 hardcode_libdir_flag_spec_F77='-L$libdir'
13702 hardcode_direct_F77=no
13703 hardcode_shlibpath_var_F77=no
13705 # hardcode_minus_L: Not really in the search PATH,
13706 # but as the default location of the library.
13707 hardcode_minus_L_F77=yes
13710 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13711 hardcode_libdir_separator_F77=:
13712 hardcode_direct_F77=yes
13713 export_dynamic_flag_spec_F77='${wl}-E'
13715 # hardcode_minus_L: Not really in the search PATH,
13716 # but as the default location of the library.
13717 hardcode_minus_L_F77=yes
13723 irix5* | irix6* | nonstopux*)
13724 if test "$GCC" = yes; then
13725 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'
13727 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'
13728 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13730 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13731 hardcode_libdir_separator_F77=:
13732 link_all_deplibs_F77=yes
13736 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13737 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13739 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13741 hardcode_libdir_flag_spec_F77='-R$libdir'
13742 hardcode_direct_F77=yes
13743 hardcode_shlibpath_var_F77=no
13747 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13748 hardcode_direct_F77=yes
13749 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13750 hardcode_libdir_separator_F77=:
13751 hardcode_shlibpath_var_F77=no
13755 hardcode_direct_F77=yes
13756 hardcode_shlibpath_var_F77=no
13757 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13758 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13759 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13760 export_dynamic_flag_spec_F77='${wl}-E'
13763 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13764 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13765 hardcode_libdir_flag_spec_F77='-R$libdir'
13768 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13769 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13776 hardcode_libdir_flag_spec_F77='-L$libdir'
13777 hardcode_minus_L_F77=yes
13778 allow_undefined_flag_F77=unsupported
13779 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'
13780 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13784 if test "$GCC" = yes; then
13785 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13786 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'
13788 allow_undefined_flag_F77=' -expect_unresolved \*'
13789 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'
13791 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13792 hardcode_libdir_separator_F77=:
13795 osf4* | osf5*) # as osf3* with the addition of -msym flag
13796 if test "$GCC" = yes; then
13797 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13798 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'
13799 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13801 allow_undefined_flag_F77=' -expect_unresolved \*'
13802 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'
13803 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~
13804 $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'
13806 # Both c and cxx compiler support -rpath directly
13807 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13809 hardcode_libdir_separator_F77=:
13813 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13814 hardcode_shlibpath_var_F77=no
13815 export_dynamic_flag_spec_F77='${wl}-Bexport'
13816 runpath_var=LD_RUN_PATH
13817 hardcode_runpath_var=yes
13821 no_undefined_flag_F77=' -z text'
13822 if test "$GCC" = yes; then
13823 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13824 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13825 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13827 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13828 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13829 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13831 hardcode_libdir_flag_spec_F77='-R$libdir'
13832 hardcode_shlibpath_var_F77=no
13834 solaris2.[0-5] | solaris2.[0-5].*) ;;
13835 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13836 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13838 link_all_deplibs_F77=yes
13842 if test "x$host_vendor" = xsequent; then
13843 # Use $CC to link under sequent, because it throws in some extra .o
13844 # files that make .init and .fini sections work.
13845 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13847 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13849 hardcode_libdir_flag_spec_F77='-L$libdir'
13850 hardcode_direct_F77=yes
13851 hardcode_minus_L_F77=yes
13852 hardcode_shlibpath_var_F77=no
13856 case $host_vendor in
13858 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13859 hardcode_direct_F77=yes # is this really true???
13862 ## LD is ld it makes a PLAMLIB
13863 ## CC just makes a GrossModule.
13864 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13865 reload_cmds_F77='$CC -r -o $output$reload_objs'
13866 hardcode_direct_F77=no
13869 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13870 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13873 runpath_var='LD_RUN_PATH'
13874 hardcode_shlibpath_var_F77=no
13878 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13879 hardcode_shlibpath_var_F77=no
13880 export_dynamic_flag_spec_F77='-Bexport'
13884 if test -d /usr/nec; then
13885 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13886 hardcode_shlibpath_var_F77=no
13887 runpath_var=LD_RUN_PATH
13888 hardcode_runpath_var=yes
13894 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13895 hardcode_direct_F77=yes
13896 hardcode_minus_L_F77=no
13897 hardcode_shlibpath_var_F77=no
13898 hardcode_runpath_var=yes
13899 runpath_var=LD_RUN_PATH
13902 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13903 no_undefined_flag_F77='${wl}-z ${wl}text'
13904 if test "$GCC" = yes; then
13905 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13907 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13909 runpath_var='LD_RUN_PATH'
13910 hardcode_shlibpath_var_F77=no
13914 no_undefined_flag_F77=' -z text'
13915 # $CC -shared without GNU ld will not create a library from C++
13916 # object files and a static libstdc++, better avoid it by now
13917 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13918 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13919 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13920 hardcode_libdir_flag_spec_F77=
13921 hardcode_shlibpath_var_F77=no
13922 runpath_var='LD_RUN_PATH'
13926 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13927 hardcode_libdir_flag_spec_F77='-L$libdir'
13928 hardcode_shlibpath_var_F77=no
13937 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13938 echo "${ECHO_T}$ld_shlibs_F77" >&6
13939 test "$ld_shlibs_F77" = no && can_build_shared=no
13941 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13942 if test "$GCC" = yes; then
13943 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13947 # Do we need to explicitly link libc?
13949 case "x$archive_cmds_need_lc_F77" in
13951 # Assume -lc should be added
13952 archive_cmds_need_lc_F77=yes
13954 if test "$enable_shared" = yes && test "$GCC" = yes; then
13955 case $archive_cmds_F77 in
13957 # FIXME: we may have to deal with multi-command sequences.
13960 # Test whether the compiler implicitly links with -lc since on some
13961 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13962 # to ld, don't add -lc before -lgcc.
13963 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13964 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13966 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13969 (eval $ac_compile) 2>&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } 2>conftest.err; then
13975 libobjs=conftest.$ac_objext
13977 wl=$lt_prog_compiler_wl_F77
13983 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13984 allow_undefined_flag_F77=
13985 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13986 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); }
13991 archive_cmds_need_lc_F77=no
13993 archive_cmds_need_lc_F77=yes
13995 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13997 cat conftest.err 1>&5
14000 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14001 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14008 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14009 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14010 hardcode_action_F77=
14011 if test -n "$hardcode_libdir_flag_spec_F77" || \
14012 test -n "$runpath_var F77" || \
14013 test "X$hardcode_automatic_F77"="Xyes" ; then
14015 # We can hardcode non-existant directories.
14016 if test "$hardcode_direct_F77" != no &&
14017 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14018 # have to relink, otherwise we might link with an installed library
14019 # when we should be linking with a yet-to-be-installed one
14020 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14021 test "$hardcode_minus_L_F77" != no; then
14022 # Linking always hardcodes the temporary library directory.
14023 hardcode_action_F77=relink
14025 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14026 hardcode_action_F77=immediate
14029 # We cannot hardcode anything, or else we can only hardcode existing
14031 hardcode_action_F77=unsupported
14033 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14034 echo "${ECHO_T}$hardcode_action_F77" >&6
14036 if test "$hardcode_action_F77" = relink; then
14037 # Fast installation is not supported
14038 enable_fast_install=no
14039 elif test "$shlibpath_overrides_runpath" = yes ||
14040 test "$enable_shared" = no; then
14041 # Fast installation is not necessary
14042 enable_fast_install=needless
14047 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14048 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14049 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14050 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14051 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14052 echo "$as_me:$LINENO: result: yes" >&5
14053 echo "${ECHO_T}yes" >&6
14055 # FIXME - insert some real tests, host_os isn't really good enough
14058 if test -n "$STRIP" ; then
14059 striplib="$STRIP -x"
14060 echo "$as_me:$LINENO: result: yes" >&5
14061 echo "${ECHO_T}yes" >&6
14063 echo "$as_me:$LINENO: result: no" >&5
14064 echo "${ECHO_T}no" >&6
14068 echo "$as_me:$LINENO: result: no" >&5
14069 echo "${ECHO_T}no" >&6
14074 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14075 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14076 library_names_spec=
14077 libname_spec='lib$name'
14081 postuninstall_cmds=
14085 shlibpath_overrides_runpath=unknown
14087 dynamic_linker="$host_os ld.so"
14088 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14089 if test "$GCC" = yes; then
14090 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14091 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14092 # if the path contains ";" then we assume it to be the separator
14093 # otherwise default to the standard path separator (i.e. ":") - it is
14094 # assumed that no part of a normal pathname contains ";" but that should
14095 # okay in the real world where ";" in dirpaths is itself problematic.
14096 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14098 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14101 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14103 need_lib_prefix=unknown
14104 hardcode_into_libs=no
14106 # when you set need_version to no, make sure it does not cause -set_version
14107 # flags to be left without arguments
14108 need_version=unknown
14113 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14114 shlibpath_var=LIBPATH
14116 # AIX 3 has no versioning support, so we append a major version to the name.
14117 soname_spec='${libname}${release}${shared_ext}$major'
14124 hardcode_into_libs=yes
14125 if test "$host_cpu" = ia64; then
14126 # AIX 5 supports IA64
14127 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14128 shlibpath_var=LD_LIBRARY_PATH
14130 # With GCC up to 2.95.x, collect2 would create an import file
14131 # for dependence libraries. The import file would start with
14132 # the line `#! .'. This would cause the generated library to
14133 # depend on `.', always an invalid library. This was fixed in
14134 # development snapshots of GCC prior to 3.0.
14136 aix4 | aix4.[01] | aix4.[01].*)
14137 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14139 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14142 can_build_shared=no
14146 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14147 # soname into executable. Probably we can add versioning support to
14148 # collect2, so additional links can be useful in future.
14149 if test "$aix_use_runtimelinking" = yes; then
14150 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14151 # instead of lib<name>.a to let people know that these are not
14152 # typical AIX shared libraries.
14153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14155 # We preserve .a as extension for shared libraries through AIX4.2
14156 # and later when we are not doing run time linking.
14157 library_names_spec='${libname}${release}.a $libname.a'
14158 soname_spec='${libname}${release}${shared_ext}$major'
14160 shlibpath_var=LIBPATH
14165 library_names_spec='$libname.ixlibrary $libname.a'
14166 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14167 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'
14171 library_names_spec='${libname}${shared_ext}'
14172 dynamic_linker="$host_os ld.so"
14173 shlibpath_var=LIBRARY_PATH
14179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180 soname_spec='${libname}${release}${shared_ext}$major'
14181 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14182 shlibpath_var=LD_LIBRARY_PATH
14183 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14184 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14185 # the default ld.so.conf also contains /usr/contrib/lib and
14186 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14187 # libtool to hard-code these into programs
14190 cygwin* | mingw* | pw32*)
14191 version_type=windows
14196 case $GCC,$host_os in
14197 yes,cygwin* | yes,mingw* | yes,pw32*)
14198 library_names_spec='$libname.dll.a'
14199 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14200 postinstall_cmds='base_file=`basename \${file}`~
14201 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14202 dldir=$destdir/`dirname \$dlpath`~
14203 test -d \$dldir || mkdir -p \$dldir~
14204 $install_prog $dir/$dlname \$dldir/$dlname'
14205 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14206 dlpath=$dir/\$dldll~
14208 shlibpath_overrides_runpath=yes
14212 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14213 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14214 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14217 # MinGW DLLs use traditional 'lib' prefix
14218 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14219 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14220 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14221 # It is most probably a Windows format PATH printed by
14222 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14223 # path with ; separators, and with drive letters. We can handle the
14224 # drive letters (cygwin fileutils understands them), so leave them,
14225 # especially as we might pass files found there to a mingw objdump,
14226 # which wouldn't understand a cygwinified path. Ahh.
14227 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14229 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14233 # pw32 DLLs use 'pw' prefix rather than 'lib'
14234 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14240 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14243 dynamic_linker='Win32 ld.exe'
14244 # FIXME: first we should search . and the directory the executable is in
14248 darwin* | rhapsody*)
14249 dynamic_linker="$host_os dyld"
14250 version_type=darwin
14253 # FIXME: Relying on posixy $() will cause problems for
14254 # cross-compilation, but unfortunately the echo tests do not
14255 # yet detect zsh echo's removal of \ escapes.
14256 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14257 soname_spec='${libname}${release}${major}$shared_ext'
14258 shlibpath_overrides_runpath=yes
14259 shlibpath_var=DYLD_LIBRARY_PATH
14260 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14261 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14262 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14263 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"`
14265 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14273 soname_spec='${libname}${release}${shared_ext}$major'
14274 shlibpath_var=LD_LIBRARY_PATH
14282 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14283 version_type=freebsd-$objformat
14284 case $version_type in
14286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14291 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14295 shlibpath_var=LD_LIBRARY_PATH
14298 shlibpath_overrides_runpath=yes
14300 freebsd3.01* | freebsdelf3.01*)
14301 shlibpath_overrides_runpath=yes
14302 hardcode_into_libs=yes
14305 shlibpath_overrides_runpath=no
14306 hardcode_into_libs=yes
14315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14316 soname_spec='${libname}${release}${shared_ext}$major'
14317 shlibpath_var=LD_LIBRARY_PATH
14318 hardcode_into_libs=yes
14321 hpux9* | hpux10* | hpux11*)
14322 # Give a soname corresponding to the major version so that dld.sl refuses to
14323 # link against other versions.
14327 case "$host_cpu" in
14330 hardcode_into_libs=yes
14331 dynamic_linker="$host_os dld.so"
14332 shlibpath_var=LD_LIBRARY_PATH
14333 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14335 soname_spec='${libname}${release}${shared_ext}$major'
14336 if test "X$HPUX_IA64_MODE" = X32; then
14337 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14339 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14341 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14345 hardcode_into_libs=yes
14346 dynamic_linker="$host_os dld.sl"
14347 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14348 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14350 soname_spec='${libname}${release}${shared_ext}$major'
14351 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14352 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14356 dynamic_linker="$host_os dld.sl"
14357 shlibpath_var=SHLIB_PATH
14358 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14360 soname_spec='${libname}${release}${shared_ext}$major'
14363 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14364 postinstall_cmds='chmod 555 $lib'
14367 irix5* | irix6* | nonstopux*)
14369 nonstopux*) version_type=nonstopux ;;
14371 if test "$lt_cv_prog_gnu_ld" = yes; then
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14382 irix5* | nonstopux*)
14383 libsuff= shlibsuff=
14386 case $LD in # libtool.m4 will add one of these switches to LD
14387 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14388 libsuff= shlibsuff= libmagic=32-bit;;
14389 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14390 libsuff=32 shlibsuff=N32 libmagic=N32;;
14391 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14392 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14393 *) libsuff= shlibsuff= libmagic=never-match;;
14397 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14398 shlibpath_overrides_runpath=no
14399 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14400 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14401 hardcode_into_libs=yes
14404 # No shared lib support for Linux oldld, aout, or coff.
14405 linux*oldld* | linux*aout* | linux*coff*)
14409 # This must be Linux ELF.
14414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14415 soname_spec='${libname}${release}${shared_ext}$major'
14416 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14417 shlibpath_var=LD_LIBRARY_PATH
14418 shlibpath_overrides_runpath=no
14419 # This implies no fast_install, which is unacceptable.
14420 # Some rework will be needed to allow for fast_install
14421 # before this can be enabled.
14422 hardcode_into_libs=yes
14424 # We used to test for /lib/ld.so.1 and disable shared libraries on
14425 # powerpc, because MkLinux only supported shared libraries with the
14426 # GNU dynamic linker. Since this was broken with cross compilers,
14427 # most powerpc-linux boxes support dynamic linking these days and
14428 # people can always --disable-shared, the test was removed, and we
14429 # assume the GNU/Linux dynamic linker is in use.
14430 dynamic_linker='GNU/Linux ld.so'
14437 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14439 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14440 dynamic_linker='NetBSD (a.out) ld.so'
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 dynamic_linker='NetBSD ld.elf_so'
14446 shlibpath_var=LD_LIBRARY_PATH
14447 shlibpath_overrides_runpath=yes
14448 hardcode_into_libs=yes
14453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14454 shlibpath_var=LD_LIBRARY_PATH
14455 shlibpath_overrides_runpath=yes
14462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14463 soname_spec='${libname}${release}${shared_ext}$major'
14464 shlibpath_var=LD_LIBRARY_PATH
14465 shlibpath_overrides_runpath=yes
14472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14473 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14474 shlibpath_var=LD_LIBRARY_PATH
14475 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14477 openbsd2.[89] | openbsd2.[89].*)
14478 shlibpath_overrides_runpath=no
14481 shlibpath_overrides_runpath=yes
14485 shlibpath_overrides_runpath=yes
14490 libname_spec='$name'
14493 library_names_spec='$libname${shared_ext} $libname.a'
14494 dynamic_linker='OS/2 ld.exe'
14495 shlibpath_var=LIBPATH
14498 osf3* | osf4* | osf5*)
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14504 shlibpath_var=LD_LIBRARY_PATH
14505 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14506 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 shlibpath_var=LD_LIBRARY_PATH
14520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14521 soname_spec='${libname}${release}${shared_ext}$major'
14522 shlibpath_var=LD_LIBRARY_PATH
14523 shlibpath_overrides_runpath=yes
14524 hardcode_into_libs=yes
14525 # ldd complains unless libraries are executable
14526 postinstall_cmds='chmod +x $lib'
14531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14532 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14533 shlibpath_var=LD_LIBRARY_PATH
14534 shlibpath_overrides_runpath=yes
14535 if test "$with_gnu_ld" = yes; then
14541 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14544 soname_spec='${libname}${release}${shared_ext}$major'
14545 shlibpath_var=LD_LIBRARY_PATH
14546 case $host_vendor in
14548 shlibpath_overrides_runpath=no
14550 export_dynamic_flag_spec='${wl}-Blargedynsym'
14551 runpath_var=LD_RUN_PATH
14559 shlibpath_overrides_runpath=no
14560 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14566 if test -d /usr/nec ;then
14568 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14569 soname_spec='$libname${shared_ext}.$major'
14570 shlibpath_var=LD_LIBRARY_PATH
14576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14577 soname_spec='${libname}${release}${shared_ext}$major'
14578 shlibpath_var=LD_LIBRARY_PATH
14585 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14586 echo "${ECHO_T}$dynamic_linker" >&6
14587 test "$dynamic_linker" = no && can_build_shared=no
14590 # The else clause should only fire when bootstrapping the
14591 # libtool distribution, otherwise you forgot to ship ltmain.sh
14592 # with your package, and you will get complaints that there are
14593 # no rules to generate ltmain.sh.
14594 if test -f "$ltmain"; then
14595 # See if we are running on zsh, and set the options which allow our commands through
14596 # without removal of \ escapes.
14597 if test -n "${ZSH_VERSION+set}" ; then
14598 setopt NO_GLOB_SUBST
14600 # Now quote all the things that may contain metacharacters while being
14601 # careful not to overquote the AC_SUBSTed values. We take copies of the
14602 # variables and quote the copies for generation of the libtool script.
14603 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14604 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14605 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14606 deplibs_check_method reload_flag reload_cmds need_locks \
14607 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14608 lt_cv_sys_global_symbol_to_c_name_address \
14609 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14610 old_postinstall_cmds old_postuninstall_cmds \
14614 lt_prog_compiler_wl_F77 \
14615 lt_prog_compiler_pic_F77 \
14616 lt_prog_compiler_static_F77 \
14617 lt_prog_compiler_no_builtin_flag_F77 \
14618 export_dynamic_flag_spec_F77 \
14619 thread_safe_flag_spec_F77 \
14620 whole_archive_flag_spec_F77 \
14621 enable_shared_with_static_runtimes_F77 \
14622 old_archive_cmds_F77 \
14623 old_archive_from_new_cmds_F77 \
14624 predep_objects_F77 \
14625 postdep_objects_F77 \
14628 compiler_lib_search_path_F77 \
14630 archive_expsym_cmds_F77 \
14631 postinstall_cmds_F77 \
14632 postuninstall_cmds_F77 \
14633 old_archive_from_expsyms_cmds_F77 \
14634 allow_undefined_flag_F77 \
14635 no_undefined_flag_F77 \
14636 export_symbols_cmds_F77 \
14637 hardcode_libdir_flag_spec_F77 \
14638 hardcode_libdir_flag_spec_ld_F77 \
14639 hardcode_libdir_separator_F77 \
14640 hardcode_automatic_F77 \
14642 module_expsym_cmds_F77 \
14643 lt_cv_prog_compiler_c_o_F77 \
14644 exclude_expsyms_F77 \
14645 include_expsyms_F77; do
14648 old_archive_cmds_F77 | \
14649 old_archive_from_new_cmds_F77 | \
14650 archive_cmds_F77 | \
14651 archive_expsym_cmds_F77 | \
14652 module_cmds_F77 | \
14653 module_expsym_cmds_F77 | \
14654 old_archive_from_expsyms_cmds_F77 | \
14655 export_symbols_cmds_F77 | \
14656 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14657 postinstall_cmds | postuninstall_cmds | \
14658 old_postinstall_cmds | old_postuninstall_cmds | \
14659 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14660 # Double-quote double-evaled strings.
14661 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14664 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14670 *'\$0 --fallback-echo"')
14671 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14677 cat <<__EOF__ >> "$cfgfile"
14678 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14680 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14682 # Shell to use when invoking shell scripts.
14685 # Whether or not to build shared libraries.
14686 build_libtool_libs=$enable_shared
14688 # Whether or not to build static libraries.
14689 build_old_libs=$enable_static
14691 # Whether or not to add -lc for building shared libraries.
14692 build_libtool_need_lc=$archive_cmds_need_lc_F77
14694 # Whether or not to disallow shared libs when runtime libs are static
14695 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14697 # Whether or not to optimize for fast installation.
14698 fast_install=$enable_fast_install
14701 host_alias=$host_alias
14704 # An echo program that does not interpret backslashes.
14709 AR_FLAGS=$lt_AR_FLAGS
14714 # A language-specific compiler.
14715 CC=$lt_compiler_F77
14717 # Is the compiler the GNU C compiler?
14723 # The linker used to build libraries.
14726 # Whether we need hard or soft links.
14729 # A BSD-compatible nm program.
14732 # A symbol stripping program
14735 # Used to examine libraries when file_magic_cmd begins "file"
14736 MAGIC_CMD=$MAGIC_CMD
14738 # Used on cygwin: DLL creation program.
14741 # Used on cygwin: object dumper.
14744 # Used on cygwin: assembler.
14747 # The name of the directory that contains temporary libtool files.
14750 # How to create reloadable object files.
14751 reload_flag=$lt_reload_flag
14752 reload_cmds=$lt_reload_cmds
14754 # How to pass a linker flag through the compiler.
14755 wl=$lt_lt_prog_compiler_wl_F77
14757 # Object file suffix (normally "o").
14758 objext="$ac_objext"
14760 # Old archive suffix (normally "a").
14763 # Shared library suffix (normally ".so").
14766 # Executable file suffix (normally "").
14769 # Additional compiler flags for building library objects.
14770 pic_flag=$lt_lt_prog_compiler_pic_F77
14773 # What is the maximum length of a command?
14774 max_cmd_len=$lt_cv_sys_max_cmd_len
14776 # Does compiler simultaneously support -c and -o options?
14777 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14779 # Must we lock files when doing compilation ?
14780 need_locks=$lt_need_locks
14782 # Do we need the lib prefix for modules?
14783 need_lib_prefix=$need_lib_prefix
14785 # Do we need a version for libraries?
14786 need_version=$need_version
14788 # Whether dlopen is supported.
14789 dlopen_support=$enable_dlopen
14791 # Whether dlopen of programs is supported.
14792 dlopen_self=$enable_dlopen_self
14794 # Whether dlopen of statically linked programs is supported.
14795 dlopen_self_static=$enable_dlopen_self_static
14797 # Compiler flag to prevent dynamic linking.
14798 link_static_flag=$lt_lt_prog_compiler_static_F77
14800 # Compiler flag to turn off builtin functions.
14801 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14803 # Compiler flag to allow reflexive dlopens.
14804 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14806 # Compiler flag to generate shared objects directly from archives.
14807 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14809 # Compiler flag to generate thread-safe objects.
14810 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14812 # Library versioning type.
14813 version_type=$version_type
14815 # Format of library name prefix.
14816 libname_spec=$lt_libname_spec
14818 # List of archive names. First name is the real one, the rest are links.
14819 # The last name is the one that the linker finds with -lNAME.
14820 library_names_spec=$lt_library_names_spec
14822 # The coded name of the library, if different from the real name.
14823 soname_spec=$lt_soname_spec
14825 # Commands used to build and install an old-style archive.
14827 old_archive_cmds=$lt_old_archive_cmds_F77
14828 old_postinstall_cmds=$lt_old_postinstall_cmds
14829 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14831 # Create an old-style archive from a shared archive.
14832 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14834 # Create a temporary old-style archive to link instead of a shared archive.
14835 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14837 # Commands used to build and install a shared archive.
14838 archive_cmds=$lt_archive_cmds_F77
14839 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14840 postinstall_cmds=$lt_postinstall_cmds
14841 postuninstall_cmds=$lt_postuninstall_cmds
14843 # Commands used to build a loadable module (assumed same as above if empty)
14844 module_cmds=$lt_module_cmds_F77
14845 module_expsym_cmds=$lt_module_expsym_cmds_F77
14847 # Commands to strip libraries.
14848 old_striplib=$lt_old_striplib
14849 striplib=$lt_striplib
14851 # Dependencies to place before the objects being linked to create a
14853 predep_objects=$lt_predep_objects_F77
14855 # Dependencies to place after the objects being linked to create a
14857 postdep_objects=$lt_postdep_objects_F77
14859 # Dependencies to place before the objects being linked to create a
14861 predeps=$lt_predeps_F77
14863 # Dependencies to place after the objects being linked to create a
14865 postdeps=$lt_postdeps_F77
14867 # The library search path used internally by the compiler when linking
14868 # a shared library.
14869 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14871 # Method to check whether dependent libraries are shared objects.
14872 deplibs_check_method=$lt_deplibs_check_method
14874 # Command to use when deplibs_check_method == file_magic.
14875 file_magic_cmd=$lt_file_magic_cmd
14877 # Flag that allows shared libraries with undefined symbols to be built.
14878 allow_undefined_flag=$lt_allow_undefined_flag_F77
14880 # Flag that forces no undefined symbols.
14881 no_undefined_flag=$lt_no_undefined_flag_F77
14883 # Commands used to finish a libtool library installation in a directory.
14884 finish_cmds=$lt_finish_cmds
14886 # Same as above, but a single script fragment to be evaled but not shown.
14887 finish_eval=$lt_finish_eval
14889 # Take the output of nm and produce a listing of raw symbols and C names.
14890 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14892 # Transform the output of nm in a proper C declaration
14893 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14895 # Transform the output of nm in a C name address pair
14896 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14898 # This is the shared library runtime path variable.
14899 runpath_var=$runpath_var
14901 # This is the shared library path variable.
14902 shlibpath_var=$shlibpath_var
14904 # Is shlibpath searched before the hard-coded library search path?
14905 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14907 # How to hardcode a shared library path into an executable.
14908 hardcode_action=$hardcode_action_F77
14910 # Whether we should hardcode library paths into libraries.
14911 hardcode_into_libs=$hardcode_into_libs
14913 # Flag to hardcode \$libdir into a binary during linking.
14914 # This must work even if \$libdir does not exist.
14915 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14917 # If ld is used when linking, flag to hardcode \$libdir into
14918 # a binary during linking. This must work even if \$libdir does
14920 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14922 # Whether we need a single -rpath flag with a separated argument.
14923 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14925 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14926 # resulting binary.
14927 hardcode_direct=$hardcode_direct_F77
14929 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14930 # resulting binary.
14931 hardcode_minus_L=$hardcode_minus_L_F77
14933 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14934 # the resulting binary.
14935 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14937 # Set to yes if building a shared library automatically hardcodes DIR into the library
14938 # and all subsequent libraries and executables linked against it.
14939 hardcode_automatic=$hardcode_automatic_F77
14941 # Variables whose values should be saved in libtool wrapper scripts and
14942 # restored at relink time.
14943 variables_saved_for_relink="$variables_saved_for_relink"
14945 # Whether libtool must link a program against all its dependency libraries.
14946 link_all_deplibs=$link_all_deplibs_F77
14948 # Compile-time system search path for libraries
14949 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14951 # Run-time system search path for libraries
14952 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14954 # Fix the shell variable \$srcfile for the compiler.
14955 fix_srcfile_path="$fix_srcfile_path_F77"
14957 # Set to yes if exported symbols are required.
14958 always_export_symbols=$always_export_symbols_F77
14960 # The commands to list exported symbols.
14961 export_symbols_cmds=$lt_export_symbols_cmds_F77
14963 # The commands to extract the exported symbol list from a shared archive.
14964 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14966 # Symbols that should not be listed in the preloaded symbols.
14967 exclude_expsyms=$lt_exclude_expsyms_F77
14969 # Symbols that must always be exported.
14970 include_expsyms=$lt_include_expsyms_F77
14972 # ### END LIBTOOL TAG CONFIG: $tagname
14978 # If there is no Makefile yet, we rely on a make rule to execute
14979 # `config.status --recheck' to rerun these tests and create the
14980 # libtool script then.
14981 test -f Makefile && make "$ltmain"
14986 ac_cpp='$CPP $CPPFLAGS'
14987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14999 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15003 # Source file extension for Java test sources.
15006 # Object file extension for compiled Java test sources.
15010 # Code to be used in simple compile tests
15011 lt_simple_compile_test_code="class foo {}\n"
15013 # Code to be used in simple link tests
15014 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15016 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15018 # If no C compiler was specified, use CC.
15021 # Allow CC to be a program name with arguments.
15025 # Allow CC to be a program name with arguments.
15031 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15032 archive_cmds_need_lc_GCJ=no
15035 ## There is no encapsulation within the following macros, do not change
15036 ## the running order or otherwise move them around unless you know exactly
15037 ## what you are doing...
15039 lt_prog_compiler_no_builtin_flag_GCJ=
15041 if test "$GCC" = yes; then
15042 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15044 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15045 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15046 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 lt_cv_prog_compiler_rtti_exceptions=no
15050 ac_outfile=conftest.$ac_objext
15051 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15052 lt_compiler_flag="-fno-rtti -fno-exceptions"
15053 # Insert the option either (1) after the last *FLAGS variable, or
15054 # (2) before a word containing "conftest.", or (3) at the end.
15055 # Note that $ac_compile itself does not contain backslashes and begins
15056 # with a dollar sign (not a hyphen), so the echo should work correctly.
15057 # The option is referenced via a variable to avoid confusing sed.
15058 lt_compile=`echo "$ac_compile" | $SED \
15059 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15060 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15061 -e 's:$: $lt_compiler_flag:'`
15062 (eval echo "\"\$as_me:15062: $lt_compile\"" >&5)
15063 (eval "$lt_compile" 2>conftest.err)
15065 cat conftest.err >&5
15066 echo "$as_me:15066: \$? = $ac_status" >&5
15067 if (exit $ac_status) && test -s "$ac_outfile"; then
15068 # The compiler can only warn and ignore the option if not recognized
15069 # So say no if there are warnings
15070 if test ! -s conftest.err; then
15071 lt_cv_prog_compiler_rtti_exceptions=yes
15077 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15078 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15080 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15081 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15088 lt_prog_compiler_wl_GCJ=
15089 lt_prog_compiler_pic_GCJ=
15090 lt_prog_compiler_static_GCJ=
15092 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15093 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15095 if test "$GCC" = yes; then
15096 lt_prog_compiler_wl_GCJ='-Wl,'
15097 lt_prog_compiler_static_GCJ='-static'
15101 # All AIX code is PIC.
15102 if test "$host_cpu" = ia64; then
15103 # AIX 5 now supports IA64 processor
15104 lt_prog_compiler_static_GCJ='-Bstatic'
15109 # FIXME: we need at least 68020 code to build shared libraries, but
15110 # adding the `-m68020' flag to GCC prevents building anything better,
15112 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15115 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15116 # PIC is the default for these OSes.
15119 mingw* | pw32* | os2*)
15120 # This hack is so that the source file can tell whether it is being
15121 # built for inclusion in a dll (and should export symbols for example).
15122 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15125 darwin* | rhapsody*)
15126 # PIC is the default on this platform
15127 # Common symbols not allowed in MH_DYLIB files
15128 lt_prog_compiler_pic_GCJ='-fno-common'
15132 # Just because we use GCC doesn't mean we suddenly get shared libraries
15133 # on systems that don't support them.
15134 lt_prog_compiler_can_build_shared_GCJ=no
15139 if test -d /usr/nec; then
15140 lt_prog_compiler_pic_GCJ=-Kconform_pic
15145 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15146 # not for PA HP-UX.
15147 case "$host_cpu" in
15152 lt_prog_compiler_pic_GCJ='-fPIC'
15158 lt_prog_compiler_pic_GCJ='-fPIC'
15162 # PORTME Check for flag to pass linker flags through the system compiler.
15165 lt_prog_compiler_wl_GCJ='-Wl,'
15166 if test "$host_cpu" = ia64; then
15167 # AIX 5 now supports IA64 processor
15168 lt_prog_compiler_static_GCJ='-Bstatic'
15170 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15174 mingw* | pw32* | os2*)
15175 # This hack is so that the source file can tell whether it is being
15176 # built for inclusion in a dll (and should export symbols for example).
15177 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15180 hpux9* | hpux10* | hpux11*)
15181 lt_prog_compiler_wl_GCJ='-Wl,'
15182 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15183 # not for PA HP-UX.
15184 case "$host_cpu" in
15189 lt_prog_compiler_pic_GCJ='+Z'
15192 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15193 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15196 irix5* | irix6* | nonstopux*)
15197 lt_prog_compiler_wl_GCJ='-Wl,'
15198 # PIC (with -KPIC) is the default.
15199 lt_prog_compiler_static_GCJ='-non_shared'
15203 lt_prog_compiler_pic_GCJ='-KPIC'
15204 lt_prog_compiler_static_GCJ='-Bstatic'
15210 lt_prog_compiler_wl_GCJ='-Wl,'
15211 lt_prog_compiler_pic_GCJ='-KPIC'
15212 lt_prog_compiler_static_GCJ='-static'
15215 lt_prog_compiler_wl_GCJ='-Wl,'
15216 # All Alpha code is PIC.
15217 lt_prog_compiler_static_GCJ='-non_shared'
15222 osf3* | osf4* | osf5*)
15223 lt_prog_compiler_wl_GCJ='-Wl,'
15224 # All OSF/1 code is PIC.
15225 lt_prog_compiler_static_GCJ='-non_shared'
15229 lt_prog_compiler_pic_GCJ='-Kpic'
15230 lt_prog_compiler_static_GCJ='-dn'
15234 lt_prog_compiler_wl_GCJ='-Wl,'
15235 lt_prog_compiler_pic_GCJ='-KPIC'
15236 lt_prog_compiler_static_GCJ='-Bstatic'
15240 lt_prog_compiler_wl_GCJ='-Qoption ld '
15241 lt_prog_compiler_pic_GCJ='-PIC'
15242 lt_prog_compiler_static_GCJ='-Bstatic'
15245 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15246 lt_prog_compiler_wl_GCJ='-Wl,'
15247 lt_prog_compiler_pic_GCJ='-KPIC'
15248 lt_prog_compiler_static_GCJ='-Bstatic'
15252 if test -d /usr/nec ;then
15253 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15254 lt_prog_compiler_static_GCJ='-Bstatic'
15259 lt_prog_compiler_pic_GCJ='-pic'
15260 lt_prog_compiler_static_GCJ='-Bstatic'
15264 lt_prog_compiler_can_build_shared_GCJ=no
15269 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15270 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15273 # Check to make sure the PIC flag actually works.
15275 if test -n "$lt_prog_compiler_pic_GCJ"; then
15276 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15277 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15278 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15279 echo $ECHO_N "(cached) $ECHO_C" >&6
15281 lt_prog_compiler_pic_works_GCJ=no
15282 ac_outfile=conftest.$ac_objext
15283 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15284 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15285 # Insert the option either (1) after the last *FLAGS variable, or
15286 # (2) before a word containing "conftest.", or (3) at the end.
15287 # Note that $ac_compile itself does not contain backslashes and begins
15288 # with a dollar sign (not a hyphen), so the echo should work correctly.
15289 # The option is referenced via a variable to avoid confusing sed.
15290 lt_compile=`echo "$ac_compile" | $SED \
15291 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15292 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15293 -e 's:$: $lt_compiler_flag:'`
15294 (eval echo "\"\$as_me:15294: $lt_compile\"" >&5)
15295 (eval "$lt_compile" 2>conftest.err)
15297 cat conftest.err >&5
15298 echo "$as_me:15298: \$? = $ac_status" >&5
15299 if (exit $ac_status) && test -s "$ac_outfile"; then
15300 # The compiler can only warn and ignore the option if not recognized
15301 # So say no if there are warnings
15302 if test ! -s conftest.err; then
15303 lt_prog_compiler_pic_works_GCJ=yes
15309 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15310 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15312 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15313 case $lt_prog_compiler_pic_GCJ in
15315 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15318 lt_prog_compiler_pic_GCJ=
15319 lt_prog_compiler_can_build_shared_GCJ=no
15324 # For platforms which do not support PIC, -DPIC is meaningless:
15326 lt_prog_compiler_pic_GCJ=
15329 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15333 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15334 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15335 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15336 echo $ECHO_N "(cached) $ECHO_C" >&6
15338 lt_cv_prog_compiler_c_o_GCJ=no
15339 $rm -r conftest 2>/dev/null
15343 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15345 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15346 # that will create temporary files in the current directory regardless of
15347 # the output directory. Thus, making CWD read-only will cause this test
15348 # to fail, enabling locking or at least warning the user not to do parallel
15352 lt_compiler_flag="-o out/conftest2.$ac_objext"
15353 # Insert the option either (1) after the last *FLAGS variable, or
15354 # (2) before a word containing "conftest.", or (3) at the end.
15355 # Note that $ac_compile itself does not contain backslashes and begins
15356 # with a dollar sign (not a hyphen), so the echo should work correctly.
15357 lt_compile=`echo "$ac_compile" | $SED \
15358 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15359 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15360 -e 's:$: $lt_compiler_flag:'`
15361 (eval echo "\"\$as_me:15361: $lt_compile\"" >&5)
15362 (eval "$lt_compile" 2>out/conftest.err)
15364 cat out/conftest.err >&5
15365 echo "$as_me:15365: \$? = $ac_status" >&5
15366 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15368 # The compiler can only warn and ignore the option if not recognized
15369 # So say no if there are warnings
15370 if test ! -s out/conftest.err; then
15371 lt_cv_prog_compiler_c_o_GCJ=yes
15375 $rm conftest* out/*
15382 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15383 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15386 hard_links="nottested"
15387 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15388 # do not overwrite the value of need_locks provided by the user
15389 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15390 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15393 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15395 ln conftest.a conftest.b 2>&5 || hard_links=no
15396 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15397 echo "$as_me:$LINENO: result: $hard_links" >&5
15398 echo "${ECHO_T}$hard_links" >&6
15399 if test "$hard_links" = no; then
15400 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15401 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15408 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15409 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15412 allow_undefined_flag_GCJ=
15413 enable_shared_with_static_runtimes_GCJ=no
15415 archive_expsym_cmds_GCJ=
15416 old_archive_From_new_cmds_GCJ=
15417 old_archive_from_expsyms_cmds_GCJ=
15418 export_dynamic_flag_spec_GCJ=
15419 whole_archive_flag_spec_GCJ=
15420 thread_safe_flag_spec_GCJ=
15421 hardcode_libdir_flag_spec_GCJ=
15422 hardcode_libdir_flag_spec_ld_GCJ=
15423 hardcode_libdir_separator_GCJ=
15424 hardcode_direct_GCJ=no
15425 hardcode_minus_L_GCJ=no
15426 hardcode_shlibpath_var_GCJ=unsupported
15427 link_all_deplibs_GCJ=unknown
15428 hardcode_automatic_GCJ=no
15430 module_expsym_cmds_GCJ=
15431 always_export_symbols_GCJ=no
15432 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15433 # include_expsyms should be a list of space-separated symbols to be *always*
15434 # included in the symbol list
15435 include_expsyms_GCJ=
15436 # exclude_expsyms can be an extended regexp of symbols to exclude
15437 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15438 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15439 # as well as any symbol that contains `d'.
15440 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15441 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15442 # platforms (ab)use it in PIC code, but their linkers get confused if
15443 # the symbol is explicitly referenced. Since portable code cannot
15444 # rely on this symbol name, it's probably fine to never include it in
15445 # preloaded symbol tables.
15446 extract_expsyms_cmds=
15449 cygwin* | mingw* | pw32*)
15450 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15451 # When not using gcc, we currently assume that we are using
15452 # Microsoft Visual C++.
15453 if test "$GCC" != yes; then
15463 if test "$with_gnu_ld" = yes; then
15464 # If archive_cmds runs LD, not CC, wlarc should be empty
15467 # See if GNU ld supports shared libraries.
15469 aix3* | aix4* | aix5*)
15470 # On AIX/PPC, the GNU linker is very broken
15471 if test "$host_cpu" != ia64; then
15475 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15476 *** to be unable to reliably create shared libraries on AIX.
15477 *** Therefore, libtool is disabling shared libraries support. If you
15478 *** really care for shared libraries, you may want to modify your PATH
15479 *** so that a non-GNU linker is found, and then restart.
15486 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)'
15487 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15488 hardcode_minus_L_GCJ=yes
15490 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15491 # that the semantics of dynamic libraries on AmigaOS, at least up
15492 # to version 4, is to share data among multiple programs linked
15493 # with the same dynamic library. Since this doesn't match the
15494 # behavior of shared libraries on other platforms, we can't use
15500 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15501 allow_undefined_flag_GCJ=unsupported
15502 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15503 # support --undefined. This deserves some investigation. FIXME
15504 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15510 cygwin* | mingw* | pw32*)
15511 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15512 # as there is no search path for DLLs.
15513 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15514 allow_undefined_flag_GCJ=unsupported
15515 always_export_symbols_GCJ=no
15516 enable_shared_with_static_runtimes_GCJ=yes
15517 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15519 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15520 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15521 # If the export-symbols file already is a .def file (1st line
15522 # is EXPORTS), use it as is; otherwise, prepend...
15523 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15524 cp $export_symbols $output_objdir/$soname.def;
15526 echo EXPORTS > $output_objdir/$soname.def;
15527 cat $export_symbols >> $output_objdir/$soname.def;
15529 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15536 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15537 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15540 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15541 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15546 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15550 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15551 *** create shared libraries on Solaris systems. Therefore, libtool
15552 *** is disabling shared libraries support. We urge you to upgrade GNU
15553 *** binutils to release 2.9.1 or newer. Another option is to modify
15554 *** your PATH or compiler configuration so that the native linker is
15555 *** used, and then restart.
15558 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15559 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15560 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15567 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15569 hardcode_direct_GCJ=yes
15570 hardcode_shlibpath_var_GCJ=no
15574 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15575 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15576 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15583 if test "$ld_shlibs_GCJ" = yes; then
15584 runpath_var=LD_RUN_PATH
15585 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15586 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15587 # ancient GNU ld didn't support --whole-archive et. al.
15588 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15589 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15591 whole_archive_flag_spec_GCJ=
15595 # PORTME fill in a description of your system's linker (not GNU ld)
15598 allow_undefined_flag_GCJ=unsupported
15599 always_export_symbols_GCJ=yes
15600 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'
15601 # Note: this linker hardcodes the directories in LIBPATH if there
15602 # are no directories specified by -L.
15603 hardcode_minus_L_GCJ=yes
15604 if test "$GCC" = yes && test -z "$link_static_flag"; then
15605 # Neither direct hardcoding nor static linking is supported with a
15607 hardcode_direct_GCJ=unsupported
15612 if test "$host_cpu" = ia64; then
15613 # On IA64, the linker does run time linking by default, so we don't
15614 # have to do anything special.
15615 aix_use_runtimelinking=no
15616 exp_sym_flag='-Bexport'
15619 # If we're using GNU nm, then we don't want the "-C" option.
15620 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15621 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15622 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'
15624 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'
15626 aix_use_runtimelinking=no
15628 # Test if we are trying to use run time linking or normal
15629 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15630 # need to do runtime linking.
15631 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15632 for ld_flag in $LDFLAGS; do
15633 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15634 aix_use_runtimelinking=yes
15640 exp_sym_flag='-bexport'
15641 no_entry_flag='-bnoentry'
15644 # When large executables or shared objects are built, AIX ld can
15645 # have problems creating the table of contents. If linking a library
15646 # or program results in "error TOC overflow" add -mminimal-toc to
15647 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15648 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15650 archive_cmds_GCJ=''
15651 hardcode_direct_GCJ=yes
15652 hardcode_libdir_separator_GCJ=':'
15653 link_all_deplibs_GCJ=yes
15655 if test "$GCC" = yes; then
15656 case $host_os in aix4.012|aix4.012.*)
15657 # We only want to do this on AIX 4.2 and lower, the check
15658 # below for broken collect2 doesn't work under 4.3+
15659 collect2name=`${CC} -print-prog-name=collect2`
15660 if test -f "$collect2name" && \
15661 strings "$collect2name" | grep resolve_lib_name >/dev/null
15663 # We have reworked collect2
15664 hardcode_direct_GCJ=yes
15666 # We have old collect2
15667 hardcode_direct_GCJ=unsupported
15668 # It fails to find uninstalled libraries when the uninstalled
15669 # path is not listed in the libpath. Setting hardcode_minus_L
15670 # to unsupported forces relinking
15671 hardcode_minus_L_GCJ=yes
15672 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15673 hardcode_libdir_separator_GCJ=
15676 shared_flag='-shared'
15679 if test "$host_cpu" = ia64; then
15680 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15681 # chokes on -Wl,-G. The following line is correct:
15684 if test "$aix_use_runtimelinking" = yes; then
15685 shared_flag='${wl}-G'
15687 shared_flag='${wl}-bM:SRE'
15692 # It seems that -bexpall does not export symbols beginning with
15693 # underscore (_), so it is better to generate a list of symbols to export.
15694 always_export_symbols_GCJ=yes
15695 if test "$aix_use_runtimelinking" = yes; then
15696 # Warning - without using the other runtime loading flags (-brtl),
15697 # -berok will link without error, but may produce a broken library.
15698 allow_undefined_flag_GCJ='-berok'
15699 # Determine the default libpath from the value encoded in an empty executable.
15700 cat >conftest.$ac_ext <<_ACEOF
15701 #line $LINENO "configure"
15704 cat confdefs.h >>conftest.$ac_ext
15705 cat >>conftest.$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15716 rm -f conftest.$ac_objext conftest$ac_exeext
15717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15718 (eval $ac_link) 2>&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); } &&
15722 { ac_try='test -s conftest$ac_exeext'
15723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724 (eval $ac_try) 2>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; }; then
15729 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15731 # Check for a 64-bit object if we didn't find anything.
15732 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; }
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15739 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15740 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15742 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15743 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"
15745 if test "$host_cpu" = ia64; then
15746 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15747 allow_undefined_flag_GCJ="-z nodefs"
15748 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"
15750 # Determine the default libpath from the value encoded in an empty executable.
15751 cat >conftest.$ac_ext <<_ACEOF
15752 #line $LINENO "configure"
15755 cat confdefs.h >>conftest.$ac_ext
15756 cat >>conftest.$ac_ext <<_ACEOF
15757 /* end confdefs.h. */
15767 rm -f conftest.$ac_objext conftest$ac_exeext
15768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15769 (eval $ac_link) 2>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); } &&
15773 { ac_try='test -s conftest$ac_exeext'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; }; then
15780 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15782 # Check for a 64-bit object if we didn't find anything.
15783 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; }
15786 echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.$ac_ext >&5
15790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15791 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15793 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15794 # Warning - without using the other run time loading flags,
15795 # -berok will link without error, but may produce a broken library.
15796 no_undefined_flag_GCJ=' ${wl}-bernotok'
15797 allow_undefined_flag_GCJ=' ${wl}-berok'
15798 # -bexpall does not export symbols beginning with underscore (_)
15799 always_export_symbols_GCJ=yes
15800 # Exported symbols can be pulled into shared objects from archives
15801 whole_archive_flag_spec_GCJ=' '
15802 archive_cmds_need_lc_GCJ=yes
15803 # This is similar to how AIX traditionally builds it's shared libraries.
15804 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'
15810 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)'
15811 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15812 hardcode_minus_L_GCJ=yes
15813 # see comment about different semantics on the GNU ld section
15818 export_dynamic_flag_spec_GCJ=-rdynamic
15821 cygwin* | mingw* | pw32*)
15822 # When not using gcc, we currently assume that we are using
15823 # Microsoft Visual C++.
15824 # hardcode_libdir_flag_spec is actually meaningless, as there is
15825 # no search path for DLLs.
15826 hardcode_libdir_flag_spec_GCJ=' '
15827 allow_undefined_flag_GCJ=unsupported
15828 # Tell ltmain to make .lib files, not .a files.
15830 # Tell ltmain to make .dll files, not .so files.
15832 # FIXME: Setting linknames here is a bad hack.
15833 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15834 # The linker will automatically build a .lib file if we build a DLL.
15835 old_archive_From_new_cmds_GCJ='true'
15836 # FIXME: Should let the user specify the lib program.
15837 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15838 fix_srcfile_path='`cygpath -w "$srcfile"`'
15839 enable_shared_with_static_runtimes_GCJ=yes
15842 darwin* | rhapsody*)
15843 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15844 archive_cmds_need_lc_GCJ=no
15846 rhapsody* | darwin1.[012])
15847 allow_undefined_flag_GCJ='-undefined suppress'
15850 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15853 # FIXME: Relying on posixy $() will cause problems for
15854 # cross-compilation, but unfortunately the echo tests do not
15855 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15856 # `"' quotes if we put them in here... so don't!
15857 lt_int_apple_cc_single_mod=no
15858 output_verbose_link_cmd='echo'
15859 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15860 lt_int_apple_cc_single_mod=yes
15862 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15863 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15865 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'
15867 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15868 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15869 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15870 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}'
15872 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}'
15874 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}'
15875 hardcode_direct_GCJ=no
15876 hardcode_automatic_GCJ=yes
15877 hardcode_shlibpath_var_GCJ=unsupported
15878 whole_archive_flag_spec_GCJ='-all_load $convenience'
15879 link_all_deplibs_GCJ=yes
15884 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15885 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15886 hardcode_shlibpath_var_GCJ=no
15893 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15894 # support. Future versions do this automatically, but an explicit c++rt0.o
15895 # does not break anything, and helps significantly (at the cost of a little
15898 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15899 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15900 hardcode_direct_GCJ=yes
15901 hardcode_shlibpath_var_GCJ=no
15904 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15906 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15907 hardcode_direct_GCJ=yes
15908 hardcode_minus_L_GCJ=yes
15909 hardcode_shlibpath_var_GCJ=no
15912 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15914 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15915 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15916 hardcode_direct_GCJ=yes
15917 hardcode_shlibpath_var_GCJ=no
15921 if test "$GCC" = yes; then
15922 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'
15924 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'
15926 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15927 hardcode_libdir_separator_GCJ=:
15928 hardcode_direct_GCJ=yes
15930 # hardcode_minus_L: Not really in the search PATH,
15931 # but as the default location of the library.
15932 hardcode_minus_L_GCJ=yes
15933 export_dynamic_flag_spec_GCJ='${wl}-E'
15937 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15938 case "$host_cpu" in
15940 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15943 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15947 case "$host_cpu" in
15949 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15952 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15956 if test "$with_gnu_ld" = no; then
15957 case "$host_cpu" in
15959 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15960 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15961 hardcode_libdir_separator_GCJ=:
15962 hardcode_direct_GCJ=no
15963 hardcode_shlibpath_var_GCJ=no
15966 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15967 hardcode_direct_GCJ=no
15968 hardcode_shlibpath_var_GCJ=no
15970 # hardcode_minus_L: Not really in the search PATH,
15971 # but as the default location of the library.
15972 hardcode_minus_L_GCJ=yes
15975 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15976 hardcode_libdir_separator_GCJ=:
15977 hardcode_direct_GCJ=yes
15978 export_dynamic_flag_spec_GCJ='${wl}-E'
15980 # hardcode_minus_L: Not really in the search PATH,
15981 # but as the default location of the library.
15982 hardcode_minus_L_GCJ=yes
15988 irix5* | irix6* | nonstopux*)
15989 if test "$GCC" = yes; then
15990 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'
15992 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'
15993 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15995 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15996 hardcode_libdir_separator_GCJ=:
15997 link_all_deplibs_GCJ=yes
16001 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16002 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16004 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16006 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16007 hardcode_direct_GCJ=yes
16008 hardcode_shlibpath_var_GCJ=no
16012 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16013 hardcode_direct_GCJ=yes
16014 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16015 hardcode_libdir_separator_GCJ=:
16016 hardcode_shlibpath_var_GCJ=no
16020 hardcode_direct_GCJ=yes
16021 hardcode_shlibpath_var_GCJ=no
16022 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16023 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16024 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16025 export_dynamic_flag_spec_GCJ='${wl}-E'
16028 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16029 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16030 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16033 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16034 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16041 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16042 hardcode_minus_L_GCJ=yes
16043 allow_undefined_flag_GCJ=unsupported
16044 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'
16045 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16049 if test "$GCC" = yes; then
16050 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16051 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'
16053 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16054 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'
16056 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16057 hardcode_libdir_separator_GCJ=:
16060 osf4* | osf5*) # as osf3* with the addition of -msym flag
16061 if test "$GCC" = yes; then
16062 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16063 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'
16064 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16066 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16067 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'
16068 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~
16069 $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'
16071 # Both c and cxx compiler support -rpath directly
16072 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16074 hardcode_libdir_separator_GCJ=:
16078 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16079 hardcode_shlibpath_var_GCJ=no
16080 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16081 runpath_var=LD_RUN_PATH
16082 hardcode_runpath_var=yes
16086 no_undefined_flag_GCJ=' -z text'
16087 if test "$GCC" = yes; then
16088 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16089 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16090 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16092 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16093 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16094 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16096 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16097 hardcode_shlibpath_var_GCJ=no
16099 solaris2.[0-5] | solaris2.[0-5].*) ;;
16100 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16101 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16103 link_all_deplibs_GCJ=yes
16107 if test "x$host_vendor" = xsequent; then
16108 # Use $CC to link under sequent, because it throws in some extra .o
16109 # files that make .init and .fini sections work.
16110 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16112 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16114 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16115 hardcode_direct_GCJ=yes
16116 hardcode_minus_L_GCJ=yes
16117 hardcode_shlibpath_var_GCJ=no
16121 case $host_vendor in
16123 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16124 hardcode_direct_GCJ=yes # is this really true???
16127 ## LD is ld it makes a PLAMLIB
16128 ## CC just makes a GrossModule.
16129 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16130 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16131 hardcode_direct_GCJ=no
16134 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16135 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16138 runpath_var='LD_RUN_PATH'
16139 hardcode_shlibpath_var_GCJ=no
16143 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16144 hardcode_shlibpath_var_GCJ=no
16145 export_dynamic_flag_spec_GCJ='-Bexport'
16149 if test -d /usr/nec; then
16150 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16151 hardcode_shlibpath_var_GCJ=no
16152 runpath_var=LD_RUN_PATH
16153 hardcode_runpath_var=yes
16159 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16160 hardcode_direct_GCJ=yes
16161 hardcode_minus_L_GCJ=no
16162 hardcode_shlibpath_var_GCJ=no
16163 hardcode_runpath_var=yes
16164 runpath_var=LD_RUN_PATH
16167 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16168 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16169 if test "$GCC" = yes; then
16170 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16172 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16174 runpath_var='LD_RUN_PATH'
16175 hardcode_shlibpath_var_GCJ=no
16179 no_undefined_flag_GCJ=' -z text'
16180 # $CC -shared without GNU ld will not create a library from C++
16181 # object files and a static libstdc++, better avoid it by now
16182 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16183 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16184 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16185 hardcode_libdir_flag_spec_GCJ=
16186 hardcode_shlibpath_var_GCJ=no
16187 runpath_var='LD_RUN_PATH'
16191 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16192 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16193 hardcode_shlibpath_var_GCJ=no
16202 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16203 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16204 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16206 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16207 if test "$GCC" = yes; then
16208 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16212 # Do we need to explicitly link libc?
16214 case "x$archive_cmds_need_lc_GCJ" in
16216 # Assume -lc should be added
16217 archive_cmds_need_lc_GCJ=yes
16219 if test "$enable_shared" = yes && test "$GCC" = yes; then
16220 case $archive_cmds_GCJ in
16222 # FIXME: we may have to deal with multi-command sequences.
16225 # Test whether the compiler implicitly links with -lc since on some
16226 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16227 # to ld, don't add -lc before -lgcc.
16228 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16229 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16231 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234 (eval $ac_compile) 2>&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } 2>conftest.err; then
16240 libobjs=conftest.$ac_objext
16242 wl=$lt_prog_compiler_wl_GCJ
16248 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16249 allow_undefined_flag_GCJ=
16250 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16251 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }
16256 archive_cmds_need_lc_GCJ=no
16258 archive_cmds_need_lc_GCJ=yes
16260 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16262 cat conftest.err 1>&5
16265 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16266 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16273 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16274 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16275 hardcode_action_GCJ=
16276 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16277 test -n "$runpath_var GCJ" || \
16278 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16280 # We can hardcode non-existant directories.
16281 if test "$hardcode_direct_GCJ" != no &&
16282 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16283 # have to relink, otherwise we might link with an installed library
16284 # when we should be linking with a yet-to-be-installed one
16285 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16286 test "$hardcode_minus_L_GCJ" != no; then
16287 # Linking always hardcodes the temporary library directory.
16288 hardcode_action_GCJ=relink
16290 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16291 hardcode_action_GCJ=immediate
16294 # We cannot hardcode anything, or else we can only hardcode existing
16296 hardcode_action_GCJ=unsupported
16298 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16299 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16301 if test "$hardcode_action_GCJ" = relink; then
16302 # Fast installation is not supported
16303 enable_fast_install=no
16304 elif test "$shlibpath_overrides_runpath" = yes ||
16305 test "$enable_shared" = no; then
16306 # Fast installation is not necessary
16307 enable_fast_install=needless
16312 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16313 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16314 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16315 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16316 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16317 echo "$as_me:$LINENO: result: yes" >&5
16318 echo "${ECHO_T}yes" >&6
16320 # FIXME - insert some real tests, host_os isn't really good enough
16323 if test -n "$STRIP" ; then
16324 striplib="$STRIP -x"
16325 echo "$as_me:$LINENO: result: yes" >&5
16326 echo "${ECHO_T}yes" >&6
16328 echo "$as_me:$LINENO: result: no" >&5
16329 echo "${ECHO_T}no" >&6
16333 echo "$as_me:$LINENO: result: no" >&5
16334 echo "${ECHO_T}no" >&6
16339 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16340 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16341 library_names_spec=
16342 libname_spec='lib$name'
16346 postuninstall_cmds=
16350 shlibpath_overrides_runpath=unknown
16352 dynamic_linker="$host_os ld.so"
16353 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16354 if test "$GCC" = yes; then
16355 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16356 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16357 # if the path contains ";" then we assume it to be the separator
16358 # otherwise default to the standard path separator (i.e. ":") - it is
16359 # assumed that no part of a normal pathname contains ";" but that should
16360 # okay in the real world where ";" in dirpaths is itself problematic.
16361 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16363 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16366 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16368 need_lib_prefix=unknown
16369 hardcode_into_libs=no
16371 # when you set need_version to no, make sure it does not cause -set_version
16372 # flags to be left without arguments
16373 need_version=unknown
16378 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16379 shlibpath_var=LIBPATH
16381 # AIX 3 has no versioning support, so we append a major version to the name.
16382 soname_spec='${libname}${release}${shared_ext}$major'
16389 hardcode_into_libs=yes
16390 if test "$host_cpu" = ia64; then
16391 # AIX 5 supports IA64
16392 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16393 shlibpath_var=LD_LIBRARY_PATH
16395 # With GCC up to 2.95.x, collect2 would create an import file
16396 # for dependence libraries. The import file would start with
16397 # the line `#! .'. This would cause the generated library to
16398 # depend on `.', always an invalid library. This was fixed in
16399 # development snapshots of GCC prior to 3.0.
16401 aix4 | aix4.[01] | aix4.[01].*)
16402 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16404 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16407 can_build_shared=no
16411 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16412 # soname into executable. Probably we can add versioning support to
16413 # collect2, so additional links can be useful in future.
16414 if test "$aix_use_runtimelinking" = yes; then
16415 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16416 # instead of lib<name>.a to let people know that these are not
16417 # typical AIX shared libraries.
16418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16420 # We preserve .a as extension for shared libraries through AIX4.2
16421 # and later when we are not doing run time linking.
16422 library_names_spec='${libname}${release}.a $libname.a'
16423 soname_spec='${libname}${release}${shared_ext}$major'
16425 shlibpath_var=LIBPATH
16430 library_names_spec='$libname.ixlibrary $libname.a'
16431 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16432 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'
16436 library_names_spec='${libname}${shared_ext}'
16437 dynamic_linker="$host_os ld.so"
16438 shlibpath_var=LIBRARY_PATH
16444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16445 soname_spec='${libname}${release}${shared_ext}$major'
16446 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16447 shlibpath_var=LD_LIBRARY_PATH
16448 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16449 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16450 # the default ld.so.conf also contains /usr/contrib/lib and
16451 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16452 # libtool to hard-code these into programs
16455 cygwin* | mingw* | pw32*)
16456 version_type=windows
16461 case $GCC,$host_os in
16462 yes,cygwin* | yes,mingw* | yes,pw32*)
16463 library_names_spec='$libname.dll.a'
16464 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16465 postinstall_cmds='base_file=`basename \${file}`~
16466 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16467 dldir=$destdir/`dirname \$dlpath`~
16468 test -d \$dldir || mkdir -p \$dldir~
16469 $install_prog $dir/$dlname \$dldir/$dlname'
16470 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16471 dlpath=$dir/\$dldll~
16473 shlibpath_overrides_runpath=yes
16477 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16478 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16479 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16482 # MinGW DLLs use traditional 'lib' prefix
16483 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16484 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16485 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16486 # It is most probably a Windows format PATH printed by
16487 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16488 # path with ; separators, and with drive letters. We can handle the
16489 # drive letters (cygwin fileutils understands them), so leave them,
16490 # especially as we might pass files found there to a mingw objdump,
16491 # which wouldn't understand a cygwinified path. Ahh.
16492 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16494 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16498 # pw32 DLLs use 'pw' prefix rather than 'lib'
16499 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16505 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16508 dynamic_linker='Win32 ld.exe'
16509 # FIXME: first we should search . and the directory the executable is in
16513 darwin* | rhapsody*)
16514 dynamic_linker="$host_os dyld"
16515 version_type=darwin
16518 # FIXME: Relying on posixy $() will cause problems for
16519 # cross-compilation, but unfortunately the echo tests do not
16520 # yet detect zsh echo's removal of \ escapes.
16521 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16522 soname_spec='${libname}${release}${major}$shared_ext'
16523 shlibpath_overrides_runpath=yes
16524 shlibpath_var=DYLD_LIBRARY_PATH
16525 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16526 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16527 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16528 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"`
16530 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16538 soname_spec='${libname}${release}${shared_ext}$major'
16539 shlibpath_var=LD_LIBRARY_PATH
16547 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16548 version_type=freebsd-$objformat
16549 case $version_type in
16551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16556 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16560 shlibpath_var=LD_LIBRARY_PATH
16563 shlibpath_overrides_runpath=yes
16565 freebsd3.01* | freebsdelf3.01*)
16566 shlibpath_overrides_runpath=yes
16567 hardcode_into_libs=yes
16570 shlibpath_overrides_runpath=no
16571 hardcode_into_libs=yes
16580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16581 soname_spec='${libname}${release}${shared_ext}$major'
16582 shlibpath_var=LD_LIBRARY_PATH
16583 hardcode_into_libs=yes
16586 hpux9* | hpux10* | hpux11*)
16587 # Give a soname corresponding to the major version so that dld.sl refuses to
16588 # link against other versions.
16592 case "$host_cpu" in
16595 hardcode_into_libs=yes
16596 dynamic_linker="$host_os dld.so"
16597 shlibpath_var=LD_LIBRARY_PATH
16598 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16600 soname_spec='${libname}${release}${shared_ext}$major'
16601 if test "X$HPUX_IA64_MODE" = X32; then
16602 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16604 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16606 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16610 hardcode_into_libs=yes
16611 dynamic_linker="$host_os dld.sl"
16612 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16613 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16615 soname_spec='${libname}${release}${shared_ext}$major'
16616 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16617 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16621 dynamic_linker="$host_os dld.sl"
16622 shlibpath_var=SHLIB_PATH
16623 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16625 soname_spec='${libname}${release}${shared_ext}$major'
16628 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16629 postinstall_cmds='chmod 555 $lib'
16632 irix5* | irix6* | nonstopux*)
16634 nonstopux*) version_type=nonstopux ;;
16636 if test "$lt_cv_prog_gnu_ld" = yes; then
16644 soname_spec='${libname}${release}${shared_ext}$major'
16645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16647 irix5* | nonstopux*)
16648 libsuff= shlibsuff=
16651 case $LD in # libtool.m4 will add one of these switches to LD
16652 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16653 libsuff= shlibsuff= libmagic=32-bit;;
16654 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16655 libsuff=32 shlibsuff=N32 libmagic=N32;;
16656 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16657 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16658 *) libsuff= shlibsuff= libmagic=never-match;;
16662 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16663 shlibpath_overrides_runpath=no
16664 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16665 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16666 hardcode_into_libs=yes
16669 # No shared lib support for Linux oldld, aout, or coff.
16670 linux*oldld* | linux*aout* | linux*coff*)
16674 # This must be Linux ELF.
16679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16680 soname_spec='${libname}${release}${shared_ext}$major'
16681 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16682 shlibpath_var=LD_LIBRARY_PATH
16683 shlibpath_overrides_runpath=no
16684 # This implies no fast_install, which is unacceptable.
16685 # Some rework will be needed to allow for fast_install
16686 # before this can be enabled.
16687 hardcode_into_libs=yes
16689 # We used to test for /lib/ld.so.1 and disable shared libraries on
16690 # powerpc, because MkLinux only supported shared libraries with the
16691 # GNU dynamic linker. Since this was broken with cross compilers,
16692 # most powerpc-linux boxes support dynamic linking these days and
16693 # people can always --disable-shared, the test was removed, and we
16694 # assume the GNU/Linux dynamic linker is in use.
16695 dynamic_linker='GNU/Linux ld.so'
16702 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16704 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16705 dynamic_linker='NetBSD (a.out) ld.so'
16707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16708 soname_spec='${libname}${release}${shared_ext}$major'
16709 dynamic_linker='NetBSD ld.elf_so'
16711 shlibpath_var=LD_LIBRARY_PATH
16712 shlibpath_overrides_runpath=yes
16713 hardcode_into_libs=yes
16718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16719 shlibpath_var=LD_LIBRARY_PATH
16720 shlibpath_overrides_runpath=yes
16727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16728 soname_spec='${libname}${release}${shared_ext}$major'
16729 shlibpath_var=LD_LIBRARY_PATH
16730 shlibpath_overrides_runpath=yes
16737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16738 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16739 shlibpath_var=LD_LIBRARY_PATH
16740 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16742 openbsd2.[89] | openbsd2.[89].*)
16743 shlibpath_overrides_runpath=no
16746 shlibpath_overrides_runpath=yes
16750 shlibpath_overrides_runpath=yes
16755 libname_spec='$name'
16758 library_names_spec='$libname${shared_ext} $libname.a'
16759 dynamic_linker='OS/2 ld.exe'
16760 shlibpath_var=LIBPATH
16763 osf3* | osf4* | osf5*)
16767 soname_spec='${libname}${release}${shared_ext}$major'
16768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16769 shlibpath_var=LD_LIBRARY_PATH
16770 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16771 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16776 soname_spec='${libname}${release}${shared_ext}$major'
16777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16778 shlibpath_var=LD_LIBRARY_PATH
16785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16786 soname_spec='${libname}${release}${shared_ext}$major'
16787 shlibpath_var=LD_LIBRARY_PATH
16788 shlibpath_overrides_runpath=yes
16789 hardcode_into_libs=yes
16790 # ldd complains unless libraries are executable
16791 postinstall_cmds='chmod +x $lib'
16796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16797 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16798 shlibpath_var=LD_LIBRARY_PATH
16799 shlibpath_overrides_runpath=yes
16800 if test "$with_gnu_ld" = yes; then
16806 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16809 soname_spec='${libname}${release}${shared_ext}$major'
16810 shlibpath_var=LD_LIBRARY_PATH
16811 case $host_vendor in
16813 shlibpath_overrides_runpath=no
16815 export_dynamic_flag_spec='${wl}-Blargedynsym'
16816 runpath_var=LD_RUN_PATH
16824 shlibpath_overrides_runpath=no
16825 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16831 if test -d /usr/nec ;then
16833 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16834 soname_spec='$libname${shared_ext}.$major'
16835 shlibpath_var=LD_LIBRARY_PATH
16841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16842 soname_spec='${libname}${release}${shared_ext}$major'
16843 shlibpath_var=LD_LIBRARY_PATH
16850 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16851 echo "${ECHO_T}$dynamic_linker" >&6
16852 test "$dynamic_linker" = no && can_build_shared=no
16854 if test "x$enable_dlopen" != xyes; then
16855 enable_dlopen=unknown
16856 enable_dlopen_self=unknown
16857 enable_dlopen_self_static=unknown
16864 lt_cv_dlopen="load_add_on"
16866 lt_cv_dlopen_self=yes
16870 lt_cv_dlopen="LoadLibrary"
16875 lt_cv_dlopen="dlopen"
16880 # if libdl is installed we need to link against it
16881 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16882 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16883 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16884 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 ac_check_lib_save_LIBS=$LIBS
16888 cat >conftest.$ac_ext <<_ACEOF
16889 #line $LINENO "configure"
16892 cat confdefs.h >>conftest.$ac_ext
16893 cat >>conftest.$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16896 /* Override any gcc2 internal prototype to avoid an error. */
16900 /* We use char because int might match the return type of a gcc2
16901 builtin and then its argument prototype would still apply. */
16911 rm -f conftest.$ac_objext conftest$ac_exeext
16912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16913 (eval $ac_link) 2>&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); } &&
16917 { ac_try='test -s conftest$ac_exeext'
16918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919 (eval $ac_try) 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; }; then
16923 ac_cv_lib_dl_dlopen=yes
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.$ac_ext >&5
16928 ac_cv_lib_dl_dlopen=no
16930 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16931 LIBS=$ac_check_lib_save_LIBS
16933 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16934 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16935 if test $ac_cv_lib_dl_dlopen = yes; then
16936 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16939 lt_cv_dlopen="dyld"
16941 lt_cv_dlopen_self=yes
16948 echo "$as_me:$LINENO: checking for shl_load" >&5
16949 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16950 if test "${ac_cv_func_shl_load+set}" = set; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 cat >conftest.$ac_ext <<_ACEOF
16954 #line $LINENO "configure"
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16960 /* System header to define __stub macros and hopefully few prototypes,
16961 which can conflict with char shl_load (); below.
16962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16963 <limits.h> exists even on freestanding compilers. */
16965 # include <limits.h>
16967 # include <assert.h>
16969 /* Override any gcc2 internal prototype to avoid an error. */
16974 /* We use char because int might match the return type of a gcc2
16975 builtin and then its argument prototype would still apply. */
16977 /* The GNU C library defines this for functions which it implements
16978 to always fail with ENOSYS. Some functions are actually named
16979 something starting with __ and the normal name is an alias. */
16980 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16983 char (*f) () = shl_load;
16992 return f != shl_load;
16997 rm -f conftest.$ac_objext conftest$ac_exeext
16998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16999 (eval $ac_link) 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); } &&
17003 { ac_try='test -s conftest$ac_exeext'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17009 ac_cv_func_shl_load=yes
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.$ac_ext >&5
17014 ac_cv_func_shl_load=no
17016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17018 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17019 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17020 if test $ac_cv_func_shl_load = yes; then
17021 lt_cv_dlopen="shl_load"
17023 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17024 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17025 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17026 echo $ECHO_N "(cached) $ECHO_C" >&6
17028 ac_check_lib_save_LIBS=$LIBS
17030 cat >conftest.$ac_ext <<_ACEOF
17031 #line $LINENO "configure"
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17038 /* Override any gcc2 internal prototype to avoid an error. */
17042 /* We use char because int might match the return type of a gcc2
17043 builtin and then its argument prototype would still apply. */
17053 rm -f conftest.$ac_objext conftest$ac_exeext
17054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17055 (eval $ac_link) 2>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); } &&
17059 { ac_try='test -s conftest$ac_exeext'
17060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17061 (eval $ac_try) 2>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); }; }; then
17065 ac_cv_lib_dld_shl_load=yes
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.$ac_ext >&5
17070 ac_cv_lib_dld_shl_load=no
17072 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17073 LIBS=$ac_check_lib_save_LIBS
17075 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17076 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17077 if test $ac_cv_lib_dld_shl_load = yes; then
17078 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17080 echo "$as_me:$LINENO: checking for dlopen" >&5
17081 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17082 if test "${ac_cv_func_dlopen+set}" = set; then
17083 echo $ECHO_N "(cached) $ECHO_C" >&6
17085 cat >conftest.$ac_ext <<_ACEOF
17086 #line $LINENO "configure"
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 /* System header to define __stub macros and hopefully few prototypes,
17093 which can conflict with char dlopen (); below.
17094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17095 <limits.h> exists even on freestanding compilers. */
17097 # include <limits.h>
17099 # include <assert.h>
17101 /* Override any gcc2 internal prototype to avoid an error. */
17106 /* We use char because int might match the return type of a gcc2
17107 builtin and then its argument prototype would still apply. */
17109 /* The GNU C library defines this for functions which it implements
17110 to always fail with ENOSYS. Some functions are actually named
17111 something starting with __ and the normal name is an alias. */
17112 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17115 char (*f) () = dlopen;
17124 return f != dlopen;
17129 rm -f conftest.$ac_objext conftest$ac_exeext
17130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17131 (eval $ac_link) 2>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); } &&
17135 { ac_try='test -s conftest$ac_exeext'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; }; then
17141 ac_cv_func_dlopen=yes
17143 echo "$as_me: failed program was:" >&5
17144 sed 's/^/| /' conftest.$ac_ext >&5
17146 ac_cv_func_dlopen=no
17148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17150 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17151 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17152 if test $ac_cv_func_dlopen = yes; then
17153 lt_cv_dlopen="dlopen"
17155 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17156 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17157 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 ac_check_lib_save_LIBS=$LIBS
17162 cat >conftest.$ac_ext <<_ACEOF
17163 #line $LINENO "configure"
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17170 /* Override any gcc2 internal prototype to avoid an error. */
17174 /* We use char because int might match the return type of a gcc2
17175 builtin and then its argument prototype would still apply. */
17185 rm -f conftest.$ac_objext conftest$ac_exeext
17186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17187 (eval $ac_link) 2>&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); } &&
17191 { ac_try='test -s conftest$ac_exeext'
17192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17193 (eval $ac_try) 2>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); }; }; then
17197 ac_cv_lib_dl_dlopen=yes
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17202 ac_cv_lib_dl_dlopen=no
17204 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17205 LIBS=$ac_check_lib_save_LIBS
17207 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17208 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17209 if test $ac_cv_lib_dl_dlopen = yes; then
17210 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17212 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17213 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17214 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17215 echo $ECHO_N "(cached) $ECHO_C" >&6
17217 ac_check_lib_save_LIBS=$LIBS
17218 LIBS="-lsvld $LIBS"
17219 cat >conftest.$ac_ext <<_ACEOF
17220 #line $LINENO "configure"
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17227 /* Override any gcc2 internal prototype to avoid an error. */
17231 /* We use char because int might match the return type of a gcc2
17232 builtin and then its argument prototype would still apply. */
17242 rm -f conftest.$ac_objext conftest$ac_exeext
17243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17244 (eval $ac_link) 2>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); } &&
17248 { ac_try='test -s conftest$ac_exeext'
17249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17250 (eval $ac_try) 2>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); }; }; then
17254 ac_cv_lib_svld_dlopen=yes
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.$ac_ext >&5
17259 ac_cv_lib_svld_dlopen=no
17261 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17262 LIBS=$ac_check_lib_save_LIBS
17264 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17265 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17266 if test $ac_cv_lib_svld_dlopen = yes; then
17267 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17269 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17270 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17271 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17272 echo $ECHO_N "(cached) $ECHO_C" >&6
17274 ac_check_lib_save_LIBS=$LIBS
17276 cat >conftest.$ac_ext <<_ACEOF
17277 #line $LINENO "configure"
17280 cat confdefs.h >>conftest.$ac_ext
17281 cat >>conftest.$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17284 /* Override any gcc2 internal prototype to avoid an error. */
17288 /* We use char because int might match the return type of a gcc2
17289 builtin and then its argument prototype would still apply. */
17299 rm -f conftest.$ac_objext conftest$ac_exeext
17300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17301 (eval $ac_link) 2>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } &&
17305 { ac_try='test -s conftest$ac_exeext'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; }; then
17311 ac_cv_lib_dld_dld_link=yes
17313 echo "$as_me: failed program was:" >&5
17314 sed 's/^/| /' conftest.$ac_ext >&5
17316 ac_cv_lib_dld_dld_link=no
17318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17319 LIBS=$ac_check_lib_save_LIBS
17321 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17322 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17323 if test $ac_cv_lib_dld_dld_link = yes; then
17324 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17345 if test "x$lt_cv_dlopen" != xno; then
17351 case $lt_cv_dlopen in
17353 save_CPPFLAGS="$CPPFLAGS"
17354 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17356 save_LDFLAGS="$LDFLAGS"
17357 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17360 LIBS="$lt_cv_dlopen_libs $LIBS"
17362 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17363 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17364 if test "${lt_cv_dlopen_self+set}" = set; then
17365 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 if test "$cross_compiling" = yes; then :
17368 lt_cv_dlopen_self=cross
17370 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17371 lt_status=$lt_dlunknown
17372 cat > conftest.$ac_ext <<EOF
17373 #line 17373 "configure"
17374 #include "confdefs.h"
17383 # define LT_DLGLOBAL RTLD_GLOBAL
17386 # define LT_DLGLOBAL DL_GLOBAL
17388 # define LT_DLGLOBAL 0
17392 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17393 find out it does not work in some platform. */
17394 #ifndef LT_DLLAZY_OR_NOW
17396 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17399 # define LT_DLLAZY_OR_NOW DL_LAZY
17402 # define LT_DLLAZY_OR_NOW RTLD_NOW
17405 # define LT_DLLAZY_OR_NOW DL_NOW
17407 # define LT_DLLAZY_OR_NOW 0
17415 extern "C" void exit (int);
17418 void fnord() { int i=42;}
17421 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17422 int status = $lt_dlunknown;
17426 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17427 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17428 /* dlclose (self); */
17434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17435 (eval $ac_link) 2>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17439 (./conftest; exit; ) 2>/dev/null
17441 case x$lt_status in
17442 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17443 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17444 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17447 # compilation failed
17448 lt_cv_dlopen_self=no
17455 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17456 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17458 if test "x$lt_cv_dlopen_self" = xyes; then
17459 LDFLAGS="$LDFLAGS $link_static_flag"
17460 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17461 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17462 if test "${lt_cv_dlopen_self_static+set}" = set; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17465 if test "$cross_compiling" = yes; then :
17466 lt_cv_dlopen_self_static=cross
17468 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17469 lt_status=$lt_dlunknown
17470 cat > conftest.$ac_ext <<EOF
17471 #line 17471 "configure"
17472 #include "confdefs.h"
17481 # define LT_DLGLOBAL RTLD_GLOBAL
17484 # define LT_DLGLOBAL DL_GLOBAL
17486 # define LT_DLGLOBAL 0
17490 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17491 find out it does not work in some platform. */
17492 #ifndef LT_DLLAZY_OR_NOW
17494 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17497 # define LT_DLLAZY_OR_NOW DL_LAZY
17500 # define LT_DLLAZY_OR_NOW RTLD_NOW
17503 # define LT_DLLAZY_OR_NOW DL_NOW
17505 # define LT_DLLAZY_OR_NOW 0
17513 extern "C" void exit (int);
17516 void fnord() { int i=42;}
17519 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17520 int status = $lt_dlunknown;
17524 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17525 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17526 /* dlclose (self); */
17532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17533 (eval $ac_link) 2>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17537 (./conftest; exit; ) 2>/dev/null
17539 case x$lt_status in
17540 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17541 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17542 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17545 # compilation failed
17546 lt_cv_dlopen_self_static=no
17553 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17554 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17557 CPPFLAGS="$save_CPPFLAGS"
17558 LDFLAGS="$save_LDFLAGS"
17563 case $lt_cv_dlopen_self in
17564 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17565 *) enable_dlopen_self=unknown ;;
17568 case $lt_cv_dlopen_self_static in
17569 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17570 *) enable_dlopen_self_static=unknown ;;
17575 # The else clause should only fire when bootstrapping the
17576 # libtool distribution, otherwise you forgot to ship ltmain.sh
17577 # with your package, and you will get complaints that there are
17578 # no rules to generate ltmain.sh.
17579 if test -f "$ltmain"; then
17580 # See if we are running on zsh, and set the options which allow our commands through
17581 # without removal of \ escapes.
17582 if test -n "${ZSH_VERSION+set}" ; then
17583 setopt NO_GLOB_SUBST
17585 # Now quote all the things that may contain metacharacters while being
17586 # careful not to overquote the AC_SUBSTed values. We take copies of the
17587 # variables and quote the copies for generation of the libtool script.
17588 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17589 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17590 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17591 deplibs_check_method reload_flag reload_cmds need_locks \
17592 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17593 lt_cv_sys_global_symbol_to_c_name_address \
17594 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17595 old_postinstall_cmds old_postuninstall_cmds \
17599 lt_prog_compiler_wl_GCJ \
17600 lt_prog_compiler_pic_GCJ \
17601 lt_prog_compiler_static_GCJ \
17602 lt_prog_compiler_no_builtin_flag_GCJ \
17603 export_dynamic_flag_spec_GCJ \
17604 thread_safe_flag_spec_GCJ \
17605 whole_archive_flag_spec_GCJ \
17606 enable_shared_with_static_runtimes_GCJ \
17607 old_archive_cmds_GCJ \
17608 old_archive_from_new_cmds_GCJ \
17609 predep_objects_GCJ \
17610 postdep_objects_GCJ \
17613 compiler_lib_search_path_GCJ \
17615 archive_expsym_cmds_GCJ \
17616 postinstall_cmds_GCJ \
17617 postuninstall_cmds_GCJ \
17618 old_archive_from_expsyms_cmds_GCJ \
17619 allow_undefined_flag_GCJ \
17620 no_undefined_flag_GCJ \
17621 export_symbols_cmds_GCJ \
17622 hardcode_libdir_flag_spec_GCJ \
17623 hardcode_libdir_flag_spec_ld_GCJ \
17624 hardcode_libdir_separator_GCJ \
17625 hardcode_automatic_GCJ \
17627 module_expsym_cmds_GCJ \
17628 lt_cv_prog_compiler_c_o_GCJ \
17629 exclude_expsyms_GCJ \
17630 include_expsyms_GCJ; do
17633 old_archive_cmds_GCJ | \
17634 old_archive_from_new_cmds_GCJ | \
17635 archive_cmds_GCJ | \
17636 archive_expsym_cmds_GCJ | \
17637 module_cmds_GCJ | \
17638 module_expsym_cmds_GCJ | \
17639 old_archive_from_expsyms_cmds_GCJ | \
17640 export_symbols_cmds_GCJ | \
17641 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17642 postinstall_cmds | postuninstall_cmds | \
17643 old_postinstall_cmds | old_postuninstall_cmds | \
17644 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17645 # Double-quote double-evaled strings.
17646 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17649 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17655 *'\$0 --fallback-echo"')
17656 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17662 cat <<__EOF__ >> "$cfgfile"
17663 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17665 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17667 # Shell to use when invoking shell scripts.
17670 # Whether or not to build shared libraries.
17671 build_libtool_libs=$enable_shared
17673 # Whether or not to build static libraries.
17674 build_old_libs=$enable_static
17676 # Whether or not to add -lc for building shared libraries.
17677 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17679 # Whether or not to disallow shared libs when runtime libs are static
17680 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17682 # Whether or not to optimize for fast installation.
17683 fast_install=$enable_fast_install
17686 host_alias=$host_alias
17689 # An echo program that does not interpret backslashes.
17694 AR_FLAGS=$lt_AR_FLAGS
17699 # A language-specific compiler.
17700 CC=$lt_compiler_GCJ
17702 # Is the compiler the GNU C compiler?
17708 # The linker used to build libraries.
17711 # Whether we need hard or soft links.
17714 # A BSD-compatible nm program.
17717 # A symbol stripping program
17720 # Used to examine libraries when file_magic_cmd begins "file"
17721 MAGIC_CMD=$MAGIC_CMD
17723 # Used on cygwin: DLL creation program.
17726 # Used on cygwin: object dumper.
17729 # Used on cygwin: assembler.
17732 # The name of the directory that contains temporary libtool files.
17735 # How to create reloadable object files.
17736 reload_flag=$lt_reload_flag
17737 reload_cmds=$lt_reload_cmds
17739 # How to pass a linker flag through the compiler.
17740 wl=$lt_lt_prog_compiler_wl_GCJ
17742 # Object file suffix (normally "o").
17743 objext="$ac_objext"
17745 # Old archive suffix (normally "a").
17748 # Shared library suffix (normally ".so").
17751 # Executable file suffix (normally "").
17754 # Additional compiler flags for building library objects.
17755 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17758 # What is the maximum length of a command?
17759 max_cmd_len=$lt_cv_sys_max_cmd_len
17761 # Does compiler simultaneously support -c and -o options?
17762 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17764 # Must we lock files when doing compilation ?
17765 need_locks=$lt_need_locks
17767 # Do we need the lib prefix for modules?
17768 need_lib_prefix=$need_lib_prefix
17770 # Do we need a version for libraries?
17771 need_version=$need_version
17773 # Whether dlopen is supported.
17774 dlopen_support=$enable_dlopen
17776 # Whether dlopen of programs is supported.
17777 dlopen_self=$enable_dlopen_self
17779 # Whether dlopen of statically linked programs is supported.
17780 dlopen_self_static=$enable_dlopen_self_static
17782 # Compiler flag to prevent dynamic linking.
17783 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17785 # Compiler flag to turn off builtin functions.
17786 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17788 # Compiler flag to allow reflexive dlopens.
17789 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17791 # Compiler flag to generate shared objects directly from archives.
17792 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17794 # Compiler flag to generate thread-safe objects.
17795 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17797 # Library versioning type.
17798 version_type=$version_type
17800 # Format of library name prefix.
17801 libname_spec=$lt_libname_spec
17803 # List of archive names. First name is the real one, the rest are links.
17804 # The last name is the one that the linker finds with -lNAME.
17805 library_names_spec=$lt_library_names_spec
17807 # The coded name of the library, if different from the real name.
17808 soname_spec=$lt_soname_spec
17810 # Commands used to build and install an old-style archive.
17812 old_archive_cmds=$lt_old_archive_cmds_GCJ
17813 old_postinstall_cmds=$lt_old_postinstall_cmds
17814 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17816 # Create an old-style archive from a shared archive.
17817 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17819 # Create a temporary old-style archive to link instead of a shared archive.
17820 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17822 # Commands used to build and install a shared archive.
17823 archive_cmds=$lt_archive_cmds_GCJ
17824 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17825 postinstall_cmds=$lt_postinstall_cmds
17826 postuninstall_cmds=$lt_postuninstall_cmds
17828 # Commands used to build a loadable module (assumed same as above if empty)
17829 module_cmds=$lt_module_cmds_GCJ
17830 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17832 # Commands to strip libraries.
17833 old_striplib=$lt_old_striplib
17834 striplib=$lt_striplib
17836 # Dependencies to place before the objects being linked to create a
17838 predep_objects=$lt_predep_objects_GCJ
17840 # Dependencies to place after the objects being linked to create a
17842 postdep_objects=$lt_postdep_objects_GCJ
17844 # Dependencies to place before the objects being linked to create a
17846 predeps=$lt_predeps_GCJ
17848 # Dependencies to place after the objects being linked to create a
17850 postdeps=$lt_postdeps_GCJ
17852 # The library search path used internally by the compiler when linking
17853 # a shared library.
17854 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17856 # Method to check whether dependent libraries are shared objects.
17857 deplibs_check_method=$lt_deplibs_check_method
17859 # Command to use when deplibs_check_method == file_magic.
17860 file_magic_cmd=$lt_file_magic_cmd
17862 # Flag that allows shared libraries with undefined symbols to be built.
17863 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17865 # Flag that forces no undefined symbols.
17866 no_undefined_flag=$lt_no_undefined_flag_GCJ
17868 # Commands used to finish a libtool library installation in a directory.
17869 finish_cmds=$lt_finish_cmds
17871 # Same as above, but a single script fragment to be evaled but not shown.
17872 finish_eval=$lt_finish_eval
17874 # Take the output of nm and produce a listing of raw symbols and C names.
17875 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17877 # Transform the output of nm in a proper C declaration
17878 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17880 # Transform the output of nm in a C name address pair
17881 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17883 # This is the shared library runtime path variable.
17884 runpath_var=$runpath_var
17886 # This is the shared library path variable.
17887 shlibpath_var=$shlibpath_var
17889 # Is shlibpath searched before the hard-coded library search path?
17890 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17892 # How to hardcode a shared library path into an executable.
17893 hardcode_action=$hardcode_action_GCJ
17895 # Whether we should hardcode library paths into libraries.
17896 hardcode_into_libs=$hardcode_into_libs
17898 # Flag to hardcode \$libdir into a binary during linking.
17899 # This must work even if \$libdir does not exist.
17900 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17902 # If ld is used when linking, flag to hardcode \$libdir into
17903 # a binary during linking. This must work even if \$libdir does
17905 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17907 # Whether we need a single -rpath flag with a separated argument.
17908 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17910 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17911 # resulting binary.
17912 hardcode_direct=$hardcode_direct_GCJ
17914 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17915 # resulting binary.
17916 hardcode_minus_L=$hardcode_minus_L_GCJ
17918 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17919 # the resulting binary.
17920 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17922 # Set to yes if building a shared library automatically hardcodes DIR into the library
17923 # and all subsequent libraries and executables linked against it.
17924 hardcode_automatic=$hardcode_automatic_GCJ
17926 # Variables whose values should be saved in libtool wrapper scripts and
17927 # restored at relink time.
17928 variables_saved_for_relink="$variables_saved_for_relink"
17930 # Whether libtool must link a program against all its dependency libraries.
17931 link_all_deplibs=$link_all_deplibs_GCJ
17933 # Compile-time system search path for libraries
17934 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17936 # Run-time system search path for libraries
17937 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17939 # Fix the shell variable \$srcfile for the compiler.
17940 fix_srcfile_path="$fix_srcfile_path_GCJ"
17942 # Set to yes if exported symbols are required.
17943 always_export_symbols=$always_export_symbols_GCJ
17945 # The commands to list exported symbols.
17946 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17948 # The commands to extract the exported symbol list from a shared archive.
17949 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17951 # Symbols that should not be listed in the preloaded symbols.
17952 exclude_expsyms=$lt_exclude_expsyms_GCJ
17954 # Symbols that must always be exported.
17955 include_expsyms=$lt_include_expsyms_GCJ
17957 # ### END LIBTOOL TAG CONFIG: $tagname
17963 # If there is no Makefile yet, we rely on a make rule to execute
17964 # `config.status --recheck' to rerun these tests and create the
17965 # libtool script then.
17966 test -f Makefile && make "$ltmain"
17971 ac_cpp='$CPP $CPPFLAGS'
17972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17987 # Source file extension for RC test sources.
17990 # Object file extension for compiled RC test sources.
17994 # Code to be used in simple compile tests
17995 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17997 # Code to be used in simple link tests
17998 lt_simple_link_test_code="$lt_simple_compile_test_code"
18000 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18002 # If no C compiler was specified, use CC.
18005 # Allow CC to be a program name with arguments.
18009 # Allow CC to be a program name with arguments.
18014 lt_cv_prog_compiler_c_o_RC=yes
18016 # The else clause should only fire when bootstrapping the
18017 # libtool distribution, otherwise you forgot to ship ltmain.sh
18018 # with your package, and you will get complaints that there are
18019 # no rules to generate ltmain.sh.
18020 if test -f "$ltmain"; then
18021 # See if we are running on zsh, and set the options which allow our commands through
18022 # without removal of \ escapes.
18023 if test -n "${ZSH_VERSION+set}" ; then
18024 setopt NO_GLOB_SUBST
18026 # Now quote all the things that may contain metacharacters while being
18027 # careful not to overquote the AC_SUBSTed values. We take copies of the
18028 # variables and quote the copies for generation of the libtool script.
18029 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18030 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18031 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18032 deplibs_check_method reload_flag reload_cmds need_locks \
18033 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18034 lt_cv_sys_global_symbol_to_c_name_address \
18035 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18036 old_postinstall_cmds old_postuninstall_cmds \
18040 lt_prog_compiler_wl_RC \
18041 lt_prog_compiler_pic_RC \
18042 lt_prog_compiler_static_RC \
18043 lt_prog_compiler_no_builtin_flag_RC \
18044 export_dynamic_flag_spec_RC \
18045 thread_safe_flag_spec_RC \
18046 whole_archive_flag_spec_RC \
18047 enable_shared_with_static_runtimes_RC \
18048 old_archive_cmds_RC \
18049 old_archive_from_new_cmds_RC \
18050 predep_objects_RC \
18051 postdep_objects_RC \
18054 compiler_lib_search_path_RC \
18056 archive_expsym_cmds_RC \
18057 postinstall_cmds_RC \
18058 postuninstall_cmds_RC \
18059 old_archive_from_expsyms_cmds_RC \
18060 allow_undefined_flag_RC \
18061 no_undefined_flag_RC \
18062 export_symbols_cmds_RC \
18063 hardcode_libdir_flag_spec_RC \
18064 hardcode_libdir_flag_spec_ld_RC \
18065 hardcode_libdir_separator_RC \
18066 hardcode_automatic_RC \
18068 module_expsym_cmds_RC \
18069 lt_cv_prog_compiler_c_o_RC \
18070 exclude_expsyms_RC \
18071 include_expsyms_RC; do
18074 old_archive_cmds_RC | \
18075 old_archive_from_new_cmds_RC | \
18076 archive_cmds_RC | \
18077 archive_expsym_cmds_RC | \
18079 module_expsym_cmds_RC | \
18080 old_archive_from_expsyms_cmds_RC | \
18081 export_symbols_cmds_RC | \
18082 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18083 postinstall_cmds | postuninstall_cmds | \
18084 old_postinstall_cmds | old_postuninstall_cmds | \
18085 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18086 # Double-quote double-evaled strings.
18087 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18090 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18096 *'\$0 --fallback-echo"')
18097 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18103 cat <<__EOF__ >> "$cfgfile"
18104 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18106 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18108 # Shell to use when invoking shell scripts.
18111 # Whether or not to build shared libraries.
18112 build_libtool_libs=$enable_shared
18114 # Whether or not to build static libraries.
18115 build_old_libs=$enable_static
18117 # Whether or not to add -lc for building shared libraries.
18118 build_libtool_need_lc=$archive_cmds_need_lc_RC
18120 # Whether or not to disallow shared libs when runtime libs are static
18121 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18123 # Whether or not to optimize for fast installation.
18124 fast_install=$enable_fast_install
18127 host_alias=$host_alias
18130 # An echo program that does not interpret backslashes.
18135 AR_FLAGS=$lt_AR_FLAGS
18140 # A language-specific compiler.
18143 # Is the compiler the GNU C compiler?
18149 # The linker used to build libraries.
18152 # Whether we need hard or soft links.
18155 # A BSD-compatible nm program.
18158 # A symbol stripping program
18161 # Used to examine libraries when file_magic_cmd begins "file"
18162 MAGIC_CMD=$MAGIC_CMD
18164 # Used on cygwin: DLL creation program.
18167 # Used on cygwin: object dumper.
18170 # Used on cygwin: assembler.
18173 # The name of the directory that contains temporary libtool files.
18176 # How to create reloadable object files.
18177 reload_flag=$lt_reload_flag
18178 reload_cmds=$lt_reload_cmds
18180 # How to pass a linker flag through the compiler.
18181 wl=$lt_lt_prog_compiler_wl_RC
18183 # Object file suffix (normally "o").
18184 objext="$ac_objext"
18186 # Old archive suffix (normally "a").
18189 # Shared library suffix (normally ".so").
18192 # Executable file suffix (normally "").
18195 # Additional compiler flags for building library objects.
18196 pic_flag=$lt_lt_prog_compiler_pic_RC
18199 # What is the maximum length of a command?
18200 max_cmd_len=$lt_cv_sys_max_cmd_len
18202 # Does compiler simultaneously support -c and -o options?
18203 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18205 # Must we lock files when doing compilation ?
18206 need_locks=$lt_need_locks
18208 # Do we need the lib prefix for modules?
18209 need_lib_prefix=$need_lib_prefix
18211 # Do we need a version for libraries?
18212 need_version=$need_version
18214 # Whether dlopen is supported.
18215 dlopen_support=$enable_dlopen
18217 # Whether dlopen of programs is supported.
18218 dlopen_self=$enable_dlopen_self
18220 # Whether dlopen of statically linked programs is supported.
18221 dlopen_self_static=$enable_dlopen_self_static
18223 # Compiler flag to prevent dynamic linking.
18224 link_static_flag=$lt_lt_prog_compiler_static_RC
18226 # Compiler flag to turn off builtin functions.
18227 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18229 # Compiler flag to allow reflexive dlopens.
18230 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18232 # Compiler flag to generate shared objects directly from archives.
18233 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18235 # Compiler flag to generate thread-safe objects.
18236 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18238 # Library versioning type.
18239 version_type=$version_type
18241 # Format of library name prefix.
18242 libname_spec=$lt_libname_spec
18244 # List of archive names. First name is the real one, the rest are links.
18245 # The last name is the one that the linker finds with -lNAME.
18246 library_names_spec=$lt_library_names_spec
18248 # The coded name of the library, if different from the real name.
18249 soname_spec=$lt_soname_spec
18251 # Commands used to build and install an old-style archive.
18253 old_archive_cmds=$lt_old_archive_cmds_RC
18254 old_postinstall_cmds=$lt_old_postinstall_cmds
18255 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18257 # Create an old-style archive from a shared archive.
18258 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18260 # Create a temporary old-style archive to link instead of a shared archive.
18261 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18263 # Commands used to build and install a shared archive.
18264 archive_cmds=$lt_archive_cmds_RC
18265 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18266 postinstall_cmds=$lt_postinstall_cmds
18267 postuninstall_cmds=$lt_postuninstall_cmds
18269 # Commands used to build a loadable module (assumed same as above if empty)
18270 module_cmds=$lt_module_cmds_RC
18271 module_expsym_cmds=$lt_module_expsym_cmds_RC
18273 # Commands to strip libraries.
18274 old_striplib=$lt_old_striplib
18275 striplib=$lt_striplib
18277 # Dependencies to place before the objects being linked to create a
18279 predep_objects=$lt_predep_objects_RC
18281 # Dependencies to place after the objects being linked to create a
18283 postdep_objects=$lt_postdep_objects_RC
18285 # Dependencies to place before the objects being linked to create a
18287 predeps=$lt_predeps_RC
18289 # Dependencies to place after the objects being linked to create a
18291 postdeps=$lt_postdeps_RC
18293 # The library search path used internally by the compiler when linking
18294 # a shared library.
18295 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18297 # Method to check whether dependent libraries are shared objects.
18298 deplibs_check_method=$lt_deplibs_check_method
18300 # Command to use when deplibs_check_method == file_magic.
18301 file_magic_cmd=$lt_file_magic_cmd
18303 # Flag that allows shared libraries with undefined symbols to be built.
18304 allow_undefined_flag=$lt_allow_undefined_flag_RC
18306 # Flag that forces no undefined symbols.
18307 no_undefined_flag=$lt_no_undefined_flag_RC
18309 # Commands used to finish a libtool library installation in a directory.
18310 finish_cmds=$lt_finish_cmds
18312 # Same as above, but a single script fragment to be evaled but not shown.
18313 finish_eval=$lt_finish_eval
18315 # Take the output of nm and produce a listing of raw symbols and C names.
18316 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18318 # Transform the output of nm in a proper C declaration
18319 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18321 # Transform the output of nm in a C name address pair
18322 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18324 # This is the shared library runtime path variable.
18325 runpath_var=$runpath_var
18327 # This is the shared library path variable.
18328 shlibpath_var=$shlibpath_var
18330 # Is shlibpath searched before the hard-coded library search path?
18331 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18333 # How to hardcode a shared library path into an executable.
18334 hardcode_action=$hardcode_action_RC
18336 # Whether we should hardcode library paths into libraries.
18337 hardcode_into_libs=$hardcode_into_libs
18339 # Flag to hardcode \$libdir into a binary during linking.
18340 # This must work even if \$libdir does not exist.
18341 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18343 # If ld is used when linking, flag to hardcode \$libdir into
18344 # a binary during linking. This must work even if \$libdir does
18346 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18348 # Whether we need a single -rpath flag with a separated argument.
18349 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18351 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18352 # resulting binary.
18353 hardcode_direct=$hardcode_direct_RC
18355 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18356 # resulting binary.
18357 hardcode_minus_L=$hardcode_minus_L_RC
18359 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18360 # the resulting binary.
18361 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18363 # Set to yes if building a shared library automatically hardcodes DIR into the library
18364 # and all subsequent libraries and executables linked against it.
18365 hardcode_automatic=$hardcode_automatic_RC
18367 # Variables whose values should be saved in libtool wrapper scripts and
18368 # restored at relink time.
18369 variables_saved_for_relink="$variables_saved_for_relink"
18371 # Whether libtool must link a program against all its dependency libraries.
18372 link_all_deplibs=$link_all_deplibs_RC
18374 # Compile-time system search path for libraries
18375 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18377 # Run-time system search path for libraries
18378 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18380 # Fix the shell variable \$srcfile for the compiler.
18381 fix_srcfile_path="$fix_srcfile_path_RC"
18383 # Set to yes if exported symbols are required.
18384 always_export_symbols=$always_export_symbols_RC
18386 # The commands to list exported symbols.
18387 export_symbols_cmds=$lt_export_symbols_cmds_RC
18389 # The commands to extract the exported symbol list from a shared archive.
18390 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18392 # Symbols that should not be listed in the preloaded symbols.
18393 exclude_expsyms=$lt_exclude_expsyms_RC
18395 # Symbols that must always be exported.
18396 include_expsyms=$lt_include_expsyms_RC
18398 # ### END LIBTOOL TAG CONFIG: $tagname
18404 # If there is no Makefile yet, we rely on a make rule to execute
18405 # `config.status --recheck' to rerun these tests and create the
18406 # libtool script then.
18407 test -f Makefile && make "$ltmain"
18412 ac_cpp='$CPP $CPPFLAGS'
18413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18422 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18423 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18424 { (exit 1); exit 1; }; }
18428 # Append the new tag name to the list of available tags.
18429 if test -n "$tagname" ; then
18430 available_tags="$available_tags $tagname"
18436 # Now substitute the updated list of available tags.
18437 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18438 mv "${ofile}T" "$ofile"
18442 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18443 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18444 { (exit 1); exit 1; }; }
18450 # This can be used to rebuild libtool when needed
18451 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18453 # Always use our own libtool.
18454 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18456 # Prevent multiple expansion
18478 # Extract the first word of "pwd", so it can be a program name with args.
18479 set dummy pwd; ac_word=$2
18480 echo "$as_me:$LINENO: checking for $ac_word" >&5
18481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18482 if test "${ac_cv_path_RPWD+set}" = set; then
18483 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18491 for as_dir in $PATH
18494 test -z "$as_dir" && as_dir=.
18495 for ac_exec_ext in '' $ac_executable_extensions; do
18496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18497 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18504 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18508 RPWD=$ac_cv_path_RPWD
18510 if test -n "$RPWD"; then
18511 echo "$as_me:$LINENO: result: $RPWD" >&5
18512 echo "${ECHO_T}$RPWD" >&6
18514 echo "$as_me:$LINENO: result: no" >&5
18515 echo "${ECHO_T}no" >&6
18518 if test ${RPWD} = "false"
18520 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18521 echo "$as_me: error: pwd required but not found" >&2;}
18522 { (exit 1); exit 1; }; }
18525 # Extract the first word of "ar", so it can be a program name with args.
18526 set dummy ar; ac_word=$2
18527 echo "$as_me:$LINENO: checking for $ac_word" >&5
18528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18529 if test "${ac_cv_path_AR+set}" = set; then
18530 echo $ECHO_N "(cached) $ECHO_C" >&6
18534 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18538 for as_dir in $PATH
18541 test -z "$as_dir" && as_dir=.
18542 for ac_exec_ext in '' $ac_executable_extensions; do
18543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18544 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18551 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18557 if test -n "$AR"; then
18558 echo "$as_me:$LINENO: result: $AR" >&5
18559 echo "${ECHO_T}$AR" >&6
18561 echo "$as_me:$LINENO: result: no" >&5
18562 echo "${ECHO_T}no" >&6
18565 if test ${AR} = "false"
18567 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18568 echo "$as_me: error: ar required but not found" >&2;}
18569 { (exit 1); exit 1; }; }
18572 # Extract the first word of "sed", so it can be a program name with args.
18573 set dummy sed; ac_word=$2
18574 echo "$as_me:$LINENO: checking for $ac_word" >&5
18575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18576 if test "${ac_cv_path_SED+set}" = set; then
18577 echo $ECHO_N "(cached) $ECHO_C" >&6
18581 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18585 for as_dir in $PATH
18588 test -z "$as_dir" && as_dir=.
18589 for ac_exec_ext in '' $ac_executable_extensions; do
18590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18591 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18598 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18602 SED=$ac_cv_path_SED
18604 if test -n "$SED"; then
18605 echo "$as_me:$LINENO: result: $SED" >&5
18606 echo "${ECHO_T}$SED" >&6
18608 echo "$as_me:$LINENO: result: no" >&5
18609 echo "${ECHO_T}no" >&6
18612 if test ${SED} = "false"
18614 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18615 echo "$as_me: error: sed required but not found" >&2;}
18616 { (exit 1); exit 1; }; }
18619 # Extract the first word of "rm", so it can be a program name with args.
18620 set dummy rm; ac_word=$2
18621 echo "$as_me:$LINENO: checking for $ac_word" >&5
18622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18623 if test "${ac_cv_path_RM+set}" = set; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18628 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18632 for as_dir in $PATH
18635 test -z "$as_dir" && as_dir=.
18636 for ac_exec_ext in '' $ac_executable_extensions; do
18637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18638 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18645 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18651 if test -n "$RM"; then
18652 echo "$as_me:$LINENO: result: $RM" >&5
18653 echo "${ECHO_T}$RM" >&6
18655 echo "$as_me:$LINENO: result: no" >&5
18656 echo "${ECHO_T}no" >&6
18659 if test ${RM} = "false"
18661 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18662 echo "$as_me: error: rm required but not found" >&2;}
18663 { (exit 1); exit 1; }; }
18666 # Extract the first word of "echo", so it can be a program name with args.
18667 set dummy echo; ac_word=$2
18668 echo "$as_me:$LINENO: checking for $ac_word" >&5
18669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18670 if test "${ac_cv_path_ECHO+set}" = set; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18675 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18679 for as_dir in $PATH
18682 test -z "$as_dir" && as_dir=.
18683 for ac_exec_ext in '' $ac_executable_extensions; do
18684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18685 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18692 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18696 ECHO=$ac_cv_path_ECHO
18698 if test -n "$ECHO"; then
18699 echo "$as_me:$LINENO: result: $ECHO" >&5
18700 echo "${ECHO_T}$ECHO" >&6
18702 echo "$as_me:$LINENO: result: no" >&5
18703 echo "${ECHO_T}no" >&6
18706 if test ${ECHO} = "false"
18708 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18709 echo "$as_me: error: echo required but not found" >&2;}
18710 { (exit 1); exit 1; }; }
18713 # Extract the first word of "mkdir", so it can be a program name with args.
18714 set dummy mkdir; ac_word=$2
18715 echo "$as_me:$LINENO: checking for $ac_word" >&5
18716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18717 if test "${ac_cv_path_MKDIR+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18722 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18726 for as_dir in $PATH
18729 test -z "$as_dir" && as_dir=.
18730 for ac_exec_ext in '' $ac_executable_extensions; do
18731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18732 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18739 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18743 MKDIR=$ac_cv_path_MKDIR
18745 if test -n "$MKDIR"; then
18746 echo "$as_me:$LINENO: result: $MKDIR" >&5
18747 echo "${ECHO_T}$MKDIR" >&6
18749 echo "$as_me:$LINENO: result: no" >&5
18750 echo "${ECHO_T}no" >&6
18753 if test ${MKDIR} = "false"
18755 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18756 echo "$as_me: error: mkdir required but not found" >&2;}
18757 { (exit 1); exit 1; }; }
18760 # Extract the first word of "date", so it can be a program name with args.
18761 set dummy date; ac_word=$2
18762 echo "$as_me:$LINENO: checking for $ac_word" >&5
18763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18764 if test "${ac_cv_path_DATE+set}" = set; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18773 for as_dir in $PATH
18776 test -z "$as_dir" && as_dir=.
18777 for ac_exec_ext in '' $ac_executable_extensions; do
18778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18779 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18786 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18790 DATE=$ac_cv_path_DATE
18792 if test -n "$DATE"; then
18793 echo "$as_me:$LINENO: result: $DATE" >&5
18794 echo "${ECHO_T}$DATE" >&6
18796 echo "$as_me:$LINENO: result: no" >&5
18797 echo "${ECHO_T}no" >&6
18800 if test ${DATE} = "false"
18802 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18803 echo "$as_me: error: date required but not found" >&2;}
18804 { (exit 1); exit 1; }; }
18807 # Extract the first word of "mv", so it can be a program name with args.
18808 set dummy mv; ac_word=$2
18809 echo "$as_me:$LINENO: checking for $ac_word" >&5
18810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18811 if test "${ac_cv_path_MV+set}" = set; then
18812 echo $ECHO_N "(cached) $ECHO_C" >&6
18816 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18820 for as_dir in $PATH
18823 test -z "$as_dir" && as_dir=.
18824 for ac_exec_ext in '' $ac_executable_extensions; do
18825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18826 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18833 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18839 if test -n "$MV"; then
18840 echo "$as_me:$LINENO: result: $MV" >&5
18841 echo "${ECHO_T}$MV" >&6
18843 echo "$as_me:$LINENO: result: no" >&5
18844 echo "${ECHO_T}no" >&6
18847 if test ${MV} = "false"
18849 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18850 echo "$as_me: error: mv required but not found" >&2;}
18851 { (exit 1); exit 1; }; }
18854 # Extract the first word of "dot", so it can be a program name with args.
18855 set dummy dot; ac_word=$2
18856 echo "$as_me:$LINENO: checking for $ac_word" >&5
18857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18858 if test "${ac_cv_path_DOT+set}" = set; then
18859 echo $ECHO_N "(cached) $ECHO_C" >&6
18863 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18867 for as_dir in $PATH
18870 test -z "$as_dir" && as_dir=.
18871 for ac_exec_ext in '' $ac_executable_extensions; do
18872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18873 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18880 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18884 DOT=$ac_cv_path_DOT
18886 if test -n "$DOT"; then
18887 echo "$as_me:$LINENO: result: $DOT" >&5
18888 echo "${ECHO_T}$DOT" >&6
18890 echo "$as_me:$LINENO: result: no" >&5
18891 echo "${ECHO_T}no" >&6
18895 # Extract the first word of "etags", so it can be a program name with args.
18896 set dummy etags; ac_word=$2
18897 echo "$as_me:$LINENO: checking for $ac_word" >&5
18898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18899 if test "${ac_cv_path_ETAGS+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18904 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18908 for as_dir in $PATH
18911 test -z "$as_dir" && as_dir=.
18912 for ac_exec_ext in '' $ac_executable_extensions; do
18913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18914 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18921 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18925 ETAGS=$ac_cv_path_ETAGS
18927 if test -n "$ETAGS"; then
18928 echo "$as_me:$LINENO: result: $ETAGS" >&5
18929 echo "${ECHO_T}$ETAGS" >&6
18931 echo "$as_me:$LINENO: result: no" >&5
18932 echo "${ECHO_T}no" >&6
18936 # Extract the first word of "python", so it can be a program name with args.
18937 set dummy python; ac_word=$2
18938 echo "$as_me:$LINENO: checking for $ac_word" >&5
18939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18940 if test "${ac_cv_path_PYTHON+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18949 for as_dir in $PATH
18952 test -z "$as_dir" && as_dir=.
18953 for ac_exec_ext in '' $ac_executable_extensions; do
18954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18955 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18962 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18966 PYTHON=$ac_cv_path_PYTHON
18968 if test -n "$PYTHON"; then
18969 echo "$as_me:$LINENO: result: $PYTHON" >&5
18970 echo "${ECHO_T}$PYTHON" >&6
18972 echo "$as_me:$LINENO: result: no" >&5
18973 echo "${ECHO_T}no" >&6
18976 if test ${PYTHON} = "false"
18978 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18979 echo "$as_me: WARNING: python required but not found" >&2;}
18982 # Extract the first word of "qmtest", so it can be a program name with args.
18983 set dummy qmtest; ac_word=$2
18984 echo "$as_me:$LINENO: checking for $ac_word" >&5
18985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18986 if test "${ac_cv_path_QMTEST+set}" = set; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18995 for as_dir in $PATH
18998 test -z "$as_dir" && as_dir=.
18999 for ac_exec_ext in '' $ac_executable_extensions; do
19000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19001 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19008 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19012 QMTEST=$ac_cv_path_QMTEST
19014 if test -n "$QMTEST"; then
19015 echo "$as_me:$LINENO: result: $QMTEST" >&5
19016 echo "${ECHO_T}$QMTEST" >&6
19018 echo "$as_me:$LINENO: result: no" >&5
19019 echo "${ECHO_T}no" >&6
19022 if test ${QMTEST} = "false"
19024 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19025 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19028 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19029 pymajor=`echo $pyversion | cut -d. -f1`
19030 pyminor=`echo $pyversion | cut -d. -f2`
19032 if test "$pymajor" -ge "2"
19034 if test "$pymajor" -eq "2"
19036 if test "$pyminor" -lt "2"
19038 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19039 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19040 { (exit 1); exit 1; }; }
19044 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19045 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19046 { (exit 1); exit 1; }; }
19053 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19054 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19055 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19056 echo $ECHO_N "(cached) $ECHO_C" >&6
19058 ac_check_lib_save_LIBS=$LIBS
19060 cat >conftest.$ac_ext <<_ACEOF
19061 #line $LINENO "configure"
19064 cat confdefs.h >>conftest.$ac_ext
19065 cat >>conftest.$ac_ext <<_ACEOF
19066 /* end confdefs.h. */
19068 /* Override any gcc2 internal prototype to avoid an error. */
19072 /* We use char because int might match the return type of a gcc2
19073 builtin and then its argument prototype would still apply. */
19083 rm -f conftest.$ac_objext conftest$ac_exeext
19084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19085 (eval $ac_link) 2>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); } &&
19089 { ac_try='test -s conftest$ac_exeext'
19090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091 (eval $ac_try) 2>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); }; }; then
19095 ac_cv_lib_elf_elf_begin=yes
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19100 ac_cv_lib_elf_elf_begin=no
19102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19103 LIBS=$ac_check_lib_save_LIBS
19105 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19106 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19107 if test $ac_cv_lib_elf_elf_begin = yes; then
19108 cat >>confdefs.h <<_ACEOF
19109 #define HAVE_LIBELF 1
19117 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19118 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19119 if test "${ac_cv_search_dlopen+set}" = set; then
19120 echo $ECHO_N "(cached) $ECHO_C" >&6
19122 ac_func_search_save_LIBS=$LIBS
19123 ac_cv_search_dlopen=no
19124 cat >conftest.$ac_ext <<_ACEOF
19125 #line $LINENO "configure"
19128 cat confdefs.h >>conftest.$ac_ext
19129 cat >>conftest.$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19132 /* Override any gcc2 internal prototype to avoid an error. */
19136 /* We use char because int might match the return type of a gcc2
19137 builtin and then its argument prototype would still apply. */
19147 rm -f conftest.$ac_objext conftest$ac_exeext
19148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19149 (eval $ac_link) 2>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); } &&
19153 { ac_try='test -s conftest$ac_exeext'
19154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19155 (eval $ac_try) 2>&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); }; }; then
19159 ac_cv_search_dlopen="none required"
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.$ac_ext >&5
19165 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19166 if test "$ac_cv_search_dlopen" = no; then
19167 for ac_lib in dl; do
19168 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19169 cat >conftest.$ac_ext <<_ACEOF
19170 #line $LINENO "configure"
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19177 /* Override any gcc2 internal prototype to avoid an error. */
19181 /* We use char because int might match the return type of a gcc2
19182 builtin and then its argument prototype would still apply. */
19192 rm -f conftest.$ac_objext conftest$ac_exeext
19193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19194 (eval $ac_link) 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } &&
19198 { ac_try='test -s conftest$ac_exeext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19204 ac_cv_search_dlopen="-l$ac_lib"
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19214 LIBS=$ac_func_search_save_LIBS
19216 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19217 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19218 if test "$ac_cv_search_dlopen" != no; then
19219 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19220 cat >>confdefs.h <<\_ACEOF
19221 #define HAVE_DLOPEN 1
19225 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
19226 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
19230 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19231 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19232 if test "${ac_cv_search_mallinfo+set}" = set; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19235 ac_func_search_save_LIBS=$LIBS
19236 ac_cv_search_mallinfo=no
19237 cat >conftest.$ac_ext <<_ACEOF
19238 #line $LINENO "configure"
19241 cat confdefs.h >>conftest.$ac_ext
19242 cat >>conftest.$ac_ext <<_ACEOF
19243 /* end confdefs.h. */
19245 /* Override any gcc2 internal prototype to avoid an error. */
19249 /* We use char because int might match the return type of a gcc2
19250 builtin and then its argument prototype would still apply. */
19260 rm -f conftest.$ac_objext conftest$ac_exeext
19261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19262 (eval $ac_link) 2>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try='test -s conftest$ac_exeext'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; }; then
19272 ac_cv_search_mallinfo="none required"
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.$ac_ext >&5
19278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19279 if test "$ac_cv_search_mallinfo" = no; then
19280 for ac_lib in malloc; do
19281 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19282 cat >conftest.$ac_ext <<_ACEOF
19283 #line $LINENO "configure"
19286 cat confdefs.h >>conftest.$ac_ext
19287 cat >>conftest.$ac_ext <<_ACEOF
19288 /* end confdefs.h. */
19290 /* Override any gcc2 internal prototype to avoid an error. */
19294 /* We use char because int might match the return type of a gcc2
19295 builtin and then its argument prototype would still apply. */
19305 rm -f conftest.$ac_objext conftest$ac_exeext
19306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19307 (eval $ac_link) 2>&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } &&
19311 { ac_try='test -s conftest$ac_exeext'
19312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19313 (eval $ac_try) 2>&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); }; }; then
19317 ac_cv_search_mallinfo="-l$ac_lib"
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.$ac_ext >&5
19324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19327 LIBS=$ac_func_search_save_LIBS
19329 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19330 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19331 if test "$ac_cv_search_mallinfo" != no; then
19332 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19333 cat >>confdefs.h <<\_ACEOF
19334 #define HAVE_MALLINFO 1
19341 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19342 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19343 if test "${ac_cv_header_stdc+set}" = set; then
19344 echo $ECHO_N "(cached) $ECHO_C" >&6
19346 cat >conftest.$ac_ext <<_ACEOF
19347 #line $LINENO "configure"
19350 cat confdefs.h >>conftest.$ac_ext
19351 cat >>conftest.$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19353 #include <stdlib.h>
19354 #include <stdarg.h>
19355 #include <string.h>
19366 rm -f conftest.$ac_objext
19367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19368 (eval $ac_compile) 2>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } &&
19372 { ac_try='test -s conftest.$ac_objext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19378 ac_cv_header_stdc=yes
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.$ac_ext >&5
19383 ac_cv_header_stdc=no
19385 rm -f conftest.$ac_objext conftest.$ac_ext
19387 if test $ac_cv_header_stdc = yes; then
19388 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19389 cat >conftest.$ac_ext <<_ACEOF
19390 #line $LINENO "configure"
19393 cat confdefs.h >>conftest.$ac_ext
19394 cat >>conftest.$ac_ext <<_ACEOF
19395 /* end confdefs.h. */
19396 #include <string.h>
19399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19400 $EGREP "memchr" >/dev/null 2>&1; then
19403 ac_cv_header_stdc=no
19409 if test $ac_cv_header_stdc = yes; then
19410 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19411 cat >conftest.$ac_ext <<_ACEOF
19412 #line $LINENO "configure"
19415 cat confdefs.h >>conftest.$ac_ext
19416 cat >>conftest.$ac_ext <<_ACEOF
19417 /* end confdefs.h. */
19418 #include <stdlib.h>
19421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19422 $EGREP "free" >/dev/null 2>&1; then
19425 ac_cv_header_stdc=no
19431 if test $ac_cv_header_stdc = yes; then
19432 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19433 if test "$cross_compiling" = yes; then
19436 cat >conftest.$ac_ext <<_ACEOF
19437 #line $LINENO "configure"
19440 cat confdefs.h >>conftest.$ac_ext
19441 cat >>conftest.$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19444 #if ((' ' & 0x0FF) == 0x020)
19445 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19446 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19448 # define ISLOWER(c) \
19449 (('a' <= (c) && (c) <= 'i') \
19450 || ('j' <= (c) && (c) <= 'r') \
19451 || ('s' <= (c) && (c) <= 'z'))
19452 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19455 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19460 for (i = 0; i < 256; i++)
19461 if (XOR (islower (i), ISLOWER (i))
19462 || toupper (i) != TOUPPER (i))
19467 rm -f conftest$ac_exeext
19468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19469 (eval $ac_link) 2>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19480 echo "$as_me: program exited with status $ac_status" >&5
19481 echo "$as_me: failed program was:" >&5
19482 sed 's/^/| /' conftest.$ac_ext >&5
19484 ( exit $ac_status )
19485 ac_cv_header_stdc=no
19487 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19491 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19492 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19493 if test $ac_cv_header_stdc = yes; then
19495 cat >>confdefs.h <<\_ACEOF
19496 #define STDC_HEADERS 1
19501 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19502 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19503 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19504 echo $ECHO_N "(cached) $ECHO_C" >&6
19506 cat >conftest.$ac_ext <<_ACEOF
19507 #line $LINENO "configure"
19510 cat confdefs.h >>conftest.$ac_ext
19511 cat >>conftest.$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19513 #include <sys/types.h>
19514 #include <sys/wait.h>
19515 #ifndef WEXITSTATUS
19516 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19519 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19527 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19532 rm -f conftest.$ac_objext
19533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19534 (eval $ac_compile) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); } &&
19538 { ac_try='test -s conftest.$ac_objext'
19539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 (eval $ac_try) 2>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; }; then
19544 ac_cv_header_sys_wait_h=yes
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19549 ac_cv_header_sys_wait_h=no
19551 rm -f conftest.$ac_objext conftest.$ac_ext
19553 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19554 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19555 if test $ac_cv_header_sys_wait_h = yes; then
19557 cat >>confdefs.h <<\_ACEOF
19558 #define HAVE_SYS_WAIT_H 1
19572 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19576 echo "$as_me:$LINENO: checking for $ac_header" >&5
19577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19579 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19584 # Is the header compilable?
19585 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19586 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19587 cat >conftest.$ac_ext <<_ACEOF
19588 #line $LINENO "configure"
19591 cat confdefs.h >>conftest.$ac_ext
19592 cat >>conftest.$ac_ext <<_ACEOF
19593 /* end confdefs.h. */
19594 $ac_includes_default
19595 #include <$ac_header>
19597 rm -f conftest.$ac_objext
19598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19599 (eval $ac_compile) 2>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } &&
19603 { ac_try='test -s conftest.$ac_objext'
19604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19605 (eval $ac_try) 2>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); }; }; then
19609 ac_header_compiler=yes
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.$ac_ext >&5
19614 ac_header_compiler=no
19616 rm -f conftest.$ac_objext conftest.$ac_ext
19617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19618 echo "${ECHO_T}$ac_header_compiler" >&6
19620 # Is the header present?
19621 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19622 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19623 cat >conftest.$ac_ext <<_ACEOF
19624 #line $LINENO "configure"
19627 cat confdefs.h >>conftest.$ac_ext
19628 cat >>conftest.$ac_ext <<_ACEOF
19629 /* end confdefs.h. */
19630 #include <$ac_header>
19632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19635 grep -v '^ *+' conftest.er1 >conftest.err
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } >/dev/null; then
19640 if test -s conftest.err; then
19641 ac_cpp_err=$ac_c_preproc_warn_flag
19648 if test -z "$ac_cpp_err"; then
19649 ac_header_preproc=yes
19651 echo "$as_me: failed program was:" >&5
19652 sed 's/^/| /' conftest.$ac_ext >&5
19654 ac_header_preproc=no
19656 rm -f conftest.err conftest.$ac_ext
19657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19658 echo "${ECHO_T}$ac_header_preproc" >&6
19660 # So? What about this header?
19661 case $ac_header_compiler:$ac_header_preproc in
19663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19666 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19669 ## ------------------------------------ ##
19670 ## Report this to bug-autoconf@gnu.org. ##
19671 ## ------------------------------------ ##
19674 sed "s/^/$as_me: WARNING: /" >&2
19677 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19678 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19679 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19680 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19682 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19685 ## ------------------------------------ ##
19686 ## Report this to bug-autoconf@gnu.org. ##
19687 ## ------------------------------------ ##
19690 sed "s/^/$as_me: WARNING: /" >&2
19693 echo "$as_me:$LINENO: checking for $ac_header" >&5
19694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19696 echo $ECHO_N "(cached) $ECHO_C" >&6
19698 eval "$as_ac_Header=$ac_header_preproc"
19700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19705 cat >>confdefs.h <<_ACEOF
19706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19718 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19722 echo "$as_me:$LINENO: checking for $ac_header" >&5
19723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19725 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19730 # Is the header compilable?
19731 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19732 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19733 cat >conftest.$ac_ext <<_ACEOF
19734 #line $LINENO "configure"
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 $ac_includes_default
19741 #include <$ac_header>
19743 rm -f conftest.$ac_objext
19744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19745 (eval $ac_compile) 2>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); } &&
19749 { ac_try='test -s conftest.$ac_objext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 ac_header_compiler=yes
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.$ac_ext >&5
19760 ac_header_compiler=no
19762 rm -f conftest.$ac_objext conftest.$ac_ext
19763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19764 echo "${ECHO_T}$ac_header_compiler" >&6
19766 # Is the header present?
19767 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19768 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19769 cat >conftest.$ac_ext <<_ACEOF
19770 #line $LINENO "configure"
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 #include <$ac_header>
19778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19781 grep -v '^ *+' conftest.er1 >conftest.err
19783 cat conftest.err >&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); } >/dev/null; then
19786 if test -s conftest.err; then
19787 ac_cpp_err=$ac_c_preproc_warn_flag
19794 if test -z "$ac_cpp_err"; then
19795 ac_header_preproc=yes
19797 echo "$as_me: failed program was:" >&5
19798 sed 's/^/| /' conftest.$ac_ext >&5
19800 ac_header_preproc=no
19802 rm -f conftest.err conftest.$ac_ext
19803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19804 echo "${ECHO_T}$ac_header_preproc" >&6
19806 # So? What about this header?
19807 case $ac_header_compiler:$ac_header_preproc in
19809 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19810 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19815 ## ------------------------------------ ##
19816 ## Report this to bug-autoconf@gnu.org. ##
19817 ## ------------------------------------ ##
19820 sed "s/^/$as_me: WARNING: /" >&2
19823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19831 ## ------------------------------------ ##
19832 ## Report this to bug-autoconf@gnu.org. ##
19833 ## ------------------------------------ ##
19836 sed "s/^/$as_me: WARNING: /" >&2
19839 echo "$as_me:$LINENO: checking for $ac_header" >&5
19840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19842 echo $ECHO_N "(cached) $ECHO_C" >&6
19844 eval "$as_ac_Header=$ac_header_preproc"
19846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19851 cat >>confdefs.h <<_ACEOF
19852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19862 for ac_header in dlfcn.h link.h
19864 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19866 echo "$as_me:$LINENO: checking for $ac_header" >&5
19867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19869 echo $ECHO_N "(cached) $ECHO_C" >&6
19871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19874 # Is the header compilable?
19875 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19876 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19877 cat >conftest.$ac_ext <<_ACEOF
19878 #line $LINENO "configure"
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19884 $ac_includes_default
19885 #include <$ac_header>
19887 rm -f conftest.$ac_objext
19888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19889 (eval $ac_compile) 2>&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); } &&
19893 { ac_try='test -s conftest.$ac_objext'
19894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895 (eval $ac_try) 2>&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; }; then
19899 ac_header_compiler=yes
19901 echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.$ac_ext >&5
19904 ac_header_compiler=no
19906 rm -f conftest.$ac_objext conftest.$ac_ext
19907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19908 echo "${ECHO_T}$ac_header_compiler" >&6
19910 # Is the header present?
19911 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19912 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19913 cat >conftest.$ac_ext <<_ACEOF
19914 #line $LINENO "configure"
19917 cat confdefs.h >>conftest.$ac_ext
19918 cat >>conftest.$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 #include <$ac_header>
19922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19925 grep -v '^ *+' conftest.er1 >conftest.err
19927 cat conftest.err >&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } >/dev/null; then
19930 if test -s conftest.err; then
19931 ac_cpp_err=$ac_c_preproc_warn_flag
19938 if test -z "$ac_cpp_err"; then
19939 ac_header_preproc=yes
19941 echo "$as_me: failed program was:" >&5
19942 sed 's/^/| /' conftest.$ac_ext >&5
19944 ac_header_preproc=no
19946 rm -f conftest.err conftest.$ac_ext
19947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19948 echo "${ECHO_T}$ac_header_preproc" >&6
19950 # So? What about this header?
19951 case $ac_header_compiler:$ac_header_preproc in
19953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19954 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19959 ## ------------------------------------ ##
19960 ## Report this to bug-autoconf@gnu.org. ##
19961 ## ------------------------------------ ##
19964 sed "s/^/$as_me: WARNING: /" >&2
19967 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19968 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19969 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19970 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19972 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19975 ## ------------------------------------ ##
19976 ## Report this to bug-autoconf@gnu.org. ##
19977 ## ------------------------------------ ##
19980 sed "s/^/$as_me: WARNING: /" >&2
19983 echo "$as_me:$LINENO: checking for $ac_header" >&5
19984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19986 echo $ECHO_N "(cached) $ECHO_C" >&6
19988 eval "$as_ac_Header=$ac_header_preproc"
19990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19995 cat >>confdefs.h <<_ACEOF
19996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20005 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20006 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20007 if test "${ac_cv_c_const+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20010 cat >conftest.$ac_ext <<_ACEOF
20011 #line $LINENO "configure"
20014 cat confdefs.h >>conftest.$ac_ext
20015 cat >>conftest.$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20021 /* FIXME: Include the comments suggested by Paul. */
20022 #ifndef __cplusplus
20023 /* Ultrix mips cc rejects this. */
20024 typedef int charset[2];
20026 /* SunOS 4.1.1 cc rejects this. */
20027 char const *const *ccp;
20029 /* NEC SVR4.0.2 mips cc rejects this. */
20030 struct point {int x, y;};
20031 static struct point const zero = {0,0};
20032 /* AIX XL C 1.02.0.0 rejects this.
20033 It does not let you subtract one const X* pointer from another in
20034 an arm of an if-expression whose if-part is not a constant
20036 const char *g = "string";
20037 ccp = &g + (g ? g-g : 0);
20038 /* HPUX 7.0 cc rejects these. */
20041 ccp = (char const *const *) p;
20042 { /* SCO 3.2v4 cc rejects this. */
20044 char const *s = 0 ? (char *) 0 : (char const *) 0;
20048 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20049 int x[] = {25, 17};
20050 const int *foo = &x[0];
20053 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20054 typedef const int *iptr;
20058 { /* AIX XL C 1.02.0.0 rejects this saying
20059 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20060 struct s { int j; const int *ap[3]; };
20061 struct s *b; b->j = 5;
20063 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20064 const int foo = 10;
20072 rm -f conftest.$ac_objext
20073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20074 (eval $ac_compile) 2>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } &&
20078 { ac_try='test -s conftest.$ac_objext'
20079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080 (eval $ac_try) 2>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; }; then
20086 echo "$as_me: failed program was:" >&5
20087 sed 's/^/| /' conftest.$ac_ext >&5
20091 rm -f conftest.$ac_objext conftest.$ac_ext
20093 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20094 echo "${ECHO_T}$ac_cv_c_const" >&6
20095 if test $ac_cv_c_const = no; then
20097 cat >>confdefs.h <<\_ACEOF
20103 echo "$as_me:$LINENO: checking for inline" >&5
20104 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20105 if test "${ac_cv_c_inline+set}" = set; then
20106 echo $ECHO_N "(cached) $ECHO_C" >&6
20109 for ac_kw in inline __inline__ __inline; do
20110 cat >conftest.$ac_ext <<_ACEOF
20111 #line $LINENO "configure"
20114 cat confdefs.h >>conftest.$ac_ext
20115 cat >>conftest.$ac_ext <<_ACEOF
20116 /* end confdefs.h. */
20117 #ifndef __cplusplus
20119 static $ac_kw foo_t static_foo () {return 0; }
20120 $ac_kw foo_t foo () {return 0; }
20124 rm -f conftest.$ac_objext
20125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20126 (eval $ac_compile) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } &&
20130 { ac_try='test -s conftest.$ac_objext'
20131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20132 (eval $ac_try) 2>&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); }; }; then
20136 ac_cv_c_inline=$ac_kw; break
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.$ac_ext >&5
20142 rm -f conftest.$ac_objext conftest.$ac_ext
20146 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20147 echo "${ECHO_T}$ac_cv_c_inline" >&6
20148 case $ac_cv_c_inline in
20151 cat >>confdefs.h <<\_ACEOF
20155 *) cat >>confdefs.h <<_ACEOF
20156 #define inline $ac_cv_c_inline
20162 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20163 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20164 if test "${ac_cv_c_bigendian+set}" = set; then
20165 echo $ECHO_N "(cached) $ECHO_C" >&6
20167 # See if sys/param.h defines the BYTE_ORDER macro.
20168 cat >conftest.$ac_ext <<_ACEOF
20169 #line $LINENO "configure"
20172 cat confdefs.h >>conftest.$ac_ext
20173 cat >>conftest.$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20175 #include <sys/types.h>
20176 #include <sys/param.h>
20181 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20182 bogus endian macros
20189 rm -f conftest.$ac_objext
20190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20191 (eval $ac_compile) 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } &&
20195 { ac_try='test -s conftest.$ac_objext'
20196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20197 (eval $ac_try) 2>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); }; }; then
20201 # It does; now see whether it defined to BIG_ENDIAN or not.
20202 cat >conftest.$ac_ext <<_ACEOF
20203 #line $LINENO "configure"
20206 cat confdefs.h >>conftest.$ac_ext
20207 cat >>conftest.$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20209 #include <sys/types.h>
20210 #include <sys/param.h>
20215 #if BYTE_ORDER != BIG_ENDIAN
20223 rm -f conftest.$ac_objext
20224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20225 (eval $ac_compile) 2>&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } &&
20229 { ac_try='test -s conftest.$ac_objext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20235 ac_cv_c_bigendian=yes
20237 echo "$as_me: failed program was:" >&5
20238 sed 's/^/| /' conftest.$ac_ext >&5
20240 ac_cv_c_bigendian=no
20242 rm -f conftest.$ac_objext conftest.$ac_ext
20244 echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.$ac_ext >&5
20247 # It does not; compile a test program.
20248 if test "$cross_compiling" = yes; then
20249 # try to guess the endianness by grepping values into an object file
20250 ac_cv_c_bigendian=unknown
20251 cat >conftest.$ac_ext <<_ACEOF
20252 #line $LINENO "configure"
20255 cat confdefs.h >>conftest.$ac_ext
20256 cat >>conftest.$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20258 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20259 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20260 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20261 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20262 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20263 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20267 _ascii (); _ebcdic ();
20272 rm -f conftest.$ac_objext
20273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20274 (eval $ac_compile) 2>&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); } &&
20278 { ac_try='test -s conftest.$ac_objext'
20279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280 (eval $ac_try) 2>&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); }; }; then
20284 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20285 ac_cv_c_bigendian=yes
20287 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20288 if test "$ac_cv_c_bigendian" = unknown; then
20289 ac_cv_c_bigendian=no
20291 # finding both strings is unlikely to happen, but who knows?
20292 ac_cv_c_bigendian=unknown
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20300 rm -f conftest.$ac_objext conftest.$ac_ext
20302 cat >conftest.$ac_ext <<_ACEOF
20303 #line $LINENO "configure"
20306 cat confdefs.h >>conftest.$ac_ext
20307 cat >>conftest.$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20312 /* Are we little or big endian? From Harbison&Steele. */
20316 char c[sizeof (long)];
20319 exit (u.c[sizeof (long) - 1] == 1);
20322 rm -f conftest$ac_exeext
20323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20324 (eval $ac_link) 2>&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20329 (eval $ac_try) 2>&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); }; }; then
20333 ac_cv_c_bigendian=no
20335 echo "$as_me: program exited with status $ac_status" >&5
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.$ac_ext >&5
20339 ( exit $ac_status )
20340 ac_cv_c_bigendian=yes
20342 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20345 rm -f conftest.$ac_objext conftest.$ac_ext
20347 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20348 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20349 case $ac_cv_c_bigendian in
20351 cat >>confdefs.h <<\_ACEOF
20352 #define ENDIAN_BIG 1
20356 cat >>confdefs.h <<\_ACEOF
20357 #define ENDIAN_LITTLE 1
20361 { { echo "$as_me:$LINENO: error: unknown endianness
20362 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20363 echo "$as_me: error: unknown endianness
20364 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20365 { (exit 1); exit 1; }; } ;;
20369 echo "$as_me:$LINENO: checking for pid_t" >&5
20370 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20371 if test "${ac_cv_type_pid_t+set}" = set; then
20372 echo $ECHO_N "(cached) $ECHO_C" >&6
20374 cat >conftest.$ac_ext <<_ACEOF
20375 #line $LINENO "configure"
20378 cat confdefs.h >>conftest.$ac_ext
20379 cat >>conftest.$ac_ext <<_ACEOF
20380 /* end confdefs.h. */
20381 $ac_includes_default
20387 if (sizeof (pid_t))
20393 rm -f conftest.$ac_objext
20394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20395 (eval $ac_compile) 2>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } &&
20399 { ac_try='test -s conftest.$ac_objext'
20400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20401 (eval $ac_try) 2>&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); }; }; then
20405 ac_cv_type_pid_t=yes
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.$ac_ext >&5
20410 ac_cv_type_pid_t=no
20412 rm -f conftest.$ac_objext conftest.$ac_ext
20414 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20415 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20416 if test $ac_cv_type_pid_t = yes; then
20420 cat >>confdefs.h <<_ACEOF
20426 echo "$as_me:$LINENO: checking for size_t" >&5
20427 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20428 if test "${ac_cv_type_size_t+set}" = set; then
20429 echo $ECHO_N "(cached) $ECHO_C" >&6
20431 cat >conftest.$ac_ext <<_ACEOF
20432 #line $LINENO "configure"
20435 cat confdefs.h >>conftest.$ac_ext
20436 cat >>conftest.$ac_ext <<_ACEOF
20437 /* end confdefs.h. */
20438 $ac_includes_default
20444 if (sizeof (size_t))
20450 rm -f conftest.$ac_objext
20451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20452 (eval $ac_compile) 2>&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); } &&
20456 { ac_try='test -s conftest.$ac_objext'
20457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20458 (eval $ac_try) 2>&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); }; }; then
20462 ac_cv_type_size_t=yes
20464 echo "$as_me: failed program was:" >&5
20465 sed 's/^/| /' conftest.$ac_ext >&5
20467 ac_cv_type_size_t=no
20469 rm -f conftest.$ac_objext conftest.$ac_ext
20471 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20472 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20473 if test $ac_cv_type_size_t = yes; then
20477 cat >>confdefs.h <<_ACEOF
20478 #define size_t unsigned
20483 echo "$as_me:$LINENO: checking for int64_t" >&5
20484 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20485 if test "${ac_cv_type_int64_t+set}" = set; then
20486 echo $ECHO_N "(cached) $ECHO_C" >&6
20488 cat >conftest.$ac_ext <<_ACEOF
20489 #line $LINENO "configure"
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20501 if (sizeof (int64_t))
20507 rm -f conftest.$ac_objext
20508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20509 (eval $ac_compile) 2>&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); } &&
20513 { ac_try='test -s conftest.$ac_objext'
20514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20515 (eval $ac_try) 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; }; then
20519 ac_cv_type_int64_t=yes
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20524 ac_cv_type_int64_t=no
20526 rm -f conftest.$ac_objext conftest.$ac_ext
20528 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20529 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20530 if test $ac_cv_type_int64_t = yes; then
20532 cat >>confdefs.h <<_ACEOF
20533 #define HAVE_INT64_T 1
20538 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20539 echo "$as_me: error: Type int64_t required but not found" >&2;}
20540 { (exit 1); exit 1; }; }
20543 echo "$as_me:$LINENO: checking for uint64_t" >&5
20544 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20545 if test "${ac_cv_type_uint64_t+set}" = set; then
20546 echo $ECHO_N "(cached) $ECHO_C" >&6
20548 cat >conftest.$ac_ext <<_ACEOF
20549 #line $LINENO "configure"
20552 cat confdefs.h >>conftest.$ac_ext
20553 cat >>conftest.$ac_ext <<_ACEOF
20554 /* end confdefs.h. */
20555 $ac_includes_default
20559 if ((uint64_t *) 0)
20561 if (sizeof (uint64_t))
20567 rm -f conftest.$ac_objext
20568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20569 (eval $ac_compile) 2>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } &&
20573 { ac_try='test -s conftest.$ac_objext'
20574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20575 (eval $ac_try) 2>&5
20577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578 (exit $ac_status); }; }; then
20579 ac_cv_type_uint64_t=yes
20581 echo "$as_me: failed program was:" >&5
20582 sed 's/^/| /' conftest.$ac_ext >&5
20584 ac_cv_type_uint64_t=no
20586 rm -f conftest.$ac_objext conftest.$ac_ext
20588 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20589 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20590 if test $ac_cv_type_uint64_t = yes; then
20592 cat >>confdefs.h <<_ACEOF
20593 #define HAVE_UINT64_T 1
20598 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20599 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20600 { (exit 1); exit 1; }; }
20603 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20604 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20605 if test "${ac_cv_header_time+set}" = set; then
20606 echo $ECHO_N "(cached) $ECHO_C" >&6
20608 cat >conftest.$ac_ext <<_ACEOF
20609 #line $LINENO "configure"
20612 cat confdefs.h >>conftest.$ac_ext
20613 cat >>conftest.$ac_ext <<_ACEOF
20614 /* end confdefs.h. */
20615 #include <sys/types.h>
20616 #include <sys/time.h>
20622 if ((struct tm *) 0)
20628 rm -f conftest.$ac_objext
20629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20630 (eval $ac_compile) 2>&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } &&
20634 { ac_try='test -s conftest.$ac_objext'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; }; then
20640 ac_cv_header_time=yes
20642 echo "$as_me: failed program was:" >&5
20643 sed 's/^/| /' conftest.$ac_ext >&5
20645 ac_cv_header_time=no
20647 rm -f conftest.$ac_objext conftest.$ac_ext
20649 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20650 echo "${ECHO_T}$ac_cv_header_time" >&6
20651 if test $ac_cv_header_time = yes; then
20653 cat >>confdefs.h <<\_ACEOF
20654 #define TIME_WITH_SYS_TIME 1
20659 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20660 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20661 if test "${ac_cv_struct_tm+set}" = set; then
20662 echo $ECHO_N "(cached) $ECHO_C" >&6
20664 cat >conftest.$ac_ext <<_ACEOF
20665 #line $LINENO "configure"
20668 cat confdefs.h >>conftest.$ac_ext
20669 cat >>conftest.$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 #include <sys/types.h>
20677 struct tm *tp; tp->tm_sec;
20682 rm -f conftest.$ac_objext
20683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20684 (eval $ac_compile) 2>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } &&
20688 { ac_try='test -s conftest.$ac_objext'
20689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20690 (eval $ac_try) 2>&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); }; }; then
20694 ac_cv_struct_tm=time.h
20696 echo "$as_me: failed program was:" >&5
20697 sed 's/^/| /' conftest.$ac_ext >&5
20699 ac_cv_struct_tm=sys/time.h
20701 rm -f conftest.$ac_objext conftest.$ac_ext
20703 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20704 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20705 if test $ac_cv_struct_tm = sys/time.h; then
20707 cat >>confdefs.h <<\_ACEOF
20708 #define TM_IN_SYS_TIME 1
20714 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20715 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20716 if test "${ac_cv_cxx_namespaces+set}" = set; then
20717 echo $ECHO_N "(cached) $ECHO_C" >&6
20722 ac_cpp='$CXXCPP $CPPFLAGS'
20723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20727 cat >conftest.$ac_ext <<_ACEOF
20728 #line $LINENO "configure"
20731 cat confdefs.h >>conftest.$ac_ext
20732 cat >>conftest.$ac_ext <<_ACEOF
20733 /* end confdefs.h. */
20734 namespace Outer { namespace Inner { int i = 0; }}
20738 using namespace Outer::Inner; return i;
20743 rm -f conftest.$ac_objext
20744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20745 (eval $ac_compile) 2>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); } &&
20749 { ac_try='test -s conftest.$ac_objext'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; }; then
20755 ac_cv_cxx_namespaces=yes
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20760 ac_cv_cxx_namespaces=no
20762 rm -f conftest.$ac_objext conftest.$ac_ext
20764 ac_cpp='$CPP $CPPFLAGS'
20765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20771 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20772 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20773 if test "$ac_cv_cxx_namespaces" = yes; then
20775 cat >>confdefs.h <<\_ACEOF
20776 #define HAVE_NAMESPACES
20781 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20782 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20783 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20784 echo $ECHO_N "(cached) $ECHO_C" >&6
20790 ac_cpp='$CXXCPP $CPPFLAGS'
20791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20795 cat >conftest.$ac_ext <<_ACEOF
20796 #line $LINENO "configure"
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 #include <ext/hash_map>
20803 #ifdef HAVE_NAMESPACES
20804 using namespace std;
20809 hash_map<int, int> t; return 0;
20814 rm -f conftest.$ac_objext
20815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20816 (eval $ac_compile) 2>&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); } &&
20820 { ac_try='test -s conftest.$ac_objext'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; }; then
20826 ac_cv_cxx_have_ext_hash_map=std
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20831 ac_cv_cxx_have_ext_hash_map=no
20833 rm -f conftest.$ac_objext conftest.$ac_ext
20834 cat >conftest.$ac_ext <<_ACEOF
20835 #line $LINENO "configure"
20838 cat confdefs.h >>conftest.$ac_ext
20839 cat >>conftest.$ac_ext <<_ACEOF
20840 /* end confdefs.h. */
20841 #include <ext/hash_map>
20842 #ifdef HAVE_NAMESPACES
20843 using namespace __gnu_cxx;
20848 hash_map<int, int> t; return 0;
20853 rm -f conftest.$ac_objext
20854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20855 (eval $ac_compile) 2>&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); } &&
20859 { ac_try='test -s conftest.$ac_objext'
20860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20861 (eval $ac_try) 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); }; }; then
20865 ac_cv_cxx_have_ext_hash_map=gnu
20867 echo "$as_me: failed program was:" >&5
20868 sed 's/^/| /' conftest.$ac_ext >&5
20870 ac_cv_cxx_have_ext_hash_map=no
20872 rm -f conftest.$ac_objext conftest.$ac_ext
20874 ac_cpp='$CPP $CPPFLAGS'
20875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20881 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20882 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20883 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20885 cat >>confdefs.h <<\_ACEOF
20886 #define HAVE_STD_EXT_HASH_MAP
20890 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20892 cat >>confdefs.h <<\_ACEOF
20893 #define HAVE_GNU_EXT_HASH_MAP
20898 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20899 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20900 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20907 ac_cpp='$CXXCPP $CPPFLAGS'
20908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20912 cat >conftest.$ac_ext <<_ACEOF
20913 #line $LINENO "configure"
20916 cat confdefs.h >>conftest.$ac_ext
20917 cat >>conftest.$ac_ext <<_ACEOF
20918 /* end confdefs.h. */
20919 #include <ext/hash_set>
20920 #ifdef HAVE_NAMESPACES
20921 using namespace std;
20926 hash_set<int> t; return 0;
20931 rm -f conftest.$ac_objext
20932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20933 (eval $ac_compile) 2>&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); } &&
20937 { ac_try='test -s conftest.$ac_objext'
20938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20939 (eval $ac_try) 2>&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); }; }; then
20943 ac_cv_cxx_have_ext_hash_set=std
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20948 ac_cv_cxx_have_ext_hash_set=no
20950 rm -f conftest.$ac_objext conftest.$ac_ext
20951 cat >conftest.$ac_ext <<_ACEOF
20952 #line $LINENO "configure"
20955 cat confdefs.h >>conftest.$ac_ext
20956 cat >>conftest.$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20958 #include <ext/hash_set>
20959 #ifdef HAVE_NAMESPACES
20960 using namespace __gnu_cxx;
20965 hash_set<int> t; return 0;
20970 rm -f conftest.$ac_objext
20971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20972 (eval $ac_compile) 2>&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); } &&
20976 { ac_try='test -s conftest.$ac_objext'
20977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20978 (eval $ac_try) 2>&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); }; }; then
20982 ac_cv_cxx_have_ext_hash_set=gnu
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20987 ac_cv_cxx_have_ext_hash_set=no
20989 rm -f conftest.$ac_objext conftest.$ac_ext
20991 ac_cpp='$CPP $CPPFLAGS'
20992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20998 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20999 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
21000 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
21002 cat >>confdefs.h <<\_ACEOF
21003 #define HAVE_STD_EXT_HASH_SET
21007 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21009 cat >>confdefs.h <<\_ACEOF
21010 #define HAVE_GNU_EXT_HASH_SET
21015 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21016 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21017 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21018 echo $ECHO_N "(cached) $ECHO_C" >&6
21024 ac_cpp='$CXXCPP $CPPFLAGS'
21025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21029 cat >conftest.$ac_ext <<_ACEOF
21030 #line $LINENO "configure"
21033 cat confdefs.h >>conftest.$ac_ext
21034 cat >>conftest.$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 #include <ext/slist>
21037 #ifdef HAVE_NAMESPACES
21038 using namespace std;
21043 slist<int> s; return 0;
21048 rm -f conftest.$ac_objext
21049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21050 (eval $ac_compile) 2>&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); } &&
21054 { ac_try='test -s conftest.$ac_objext'
21055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21056 (eval $ac_try) 2>&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); }; }; then
21060 ac_cv_cxx_have_ext_slist=std
21062 echo "$as_me: failed program was:" >&5
21063 sed 's/^/| /' conftest.$ac_ext >&5
21065 ac_cv_cxx_have_ext_slist=no
21067 rm -f conftest.$ac_objext conftest.$ac_ext
21068 cat >conftest.$ac_ext <<_ACEOF
21069 #line $LINENO "configure"
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 #include <ext/slist>
21076 #ifdef HAVE_NAMESPACES
21077 using namespace __gnu_cxx;
21082 slist<int> s; return 0;
21087 rm -f conftest.$ac_objext
21088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21089 (eval $ac_compile) 2>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); } &&
21093 { ac_try='test -s conftest.$ac_objext'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; }; then
21099 ac_cv_cxx_have_ext_slist=gnu
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.$ac_ext >&5
21104 ac_cv_cxx_have_ext_slist=no
21106 rm -f conftest.$ac_objext conftest.$ac_ext
21109 ac_cpp='$CPP $CPPFLAGS'
21110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21116 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21117 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21118 if test "$ac_cv_cxx_have_ext_slist" = std; then
21120 cat >>confdefs.h <<\_ACEOF
21121 #define HAVE_EXT_SLIST std
21125 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21127 cat >>confdefs.h <<\_ACEOF
21128 #define HAVE_EXT_SLIST gnu
21133 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21134 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21135 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21136 echo $ECHO_N "(cached) $ECHO_C" >&6
21142 ac_cpp='$CXXCPP $CPPFLAGS'
21143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21147 cat >conftest.$ac_ext <<_ACEOF
21148 #line $LINENO "configure"
21151 cat confdefs.h >>conftest.$ac_ext
21152 cat >>conftest.$ac_ext <<_ACEOF
21153 /* end confdefs.h. */
21154 #include <iterator>
21155 #ifdef HAVE_NAMESPACES
21156 using namespace std;
21161 iterator<int,int,int> t; return 0;
21166 rm -f conftest.$ac_objext
21167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21168 (eval $ac_compile) 2>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } &&
21172 { ac_try='test -s conftest.$ac_objext'
21173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174 (eval $ac_try) 2>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; }; then
21178 ac_cv_cxx_have_std_iterator=yes
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.$ac_ext >&5
21183 ac_cv_cxx_have_std_iterator=no
21185 rm -f conftest.$ac_objext conftest.$ac_ext
21187 ac_cpp='$CPP $CPPFLAGS'
21188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21194 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21195 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21196 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21198 cat >>confdefs.h <<\_ACEOF
21199 #define HAVE_STD_ITERATOR
21204 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21205 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21206 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21207 echo $ECHO_N "(cached) $ECHO_C" >&6
21213 ac_cpp='$CXXCPP $CPPFLAGS'
21214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21218 cat >conftest.$ac_ext <<_ACEOF
21219 #line $LINENO "configure"
21222 cat confdefs.h >>conftest.$ac_ext
21223 cat >>conftest.$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 #include <iterator>
21226 #ifdef HAVE_NAMESPACES
21227 using namespace std;
21232 bidirectional_iterator<int,int> t; return 0;
21237 rm -f conftest.$ac_objext
21238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21239 (eval $ac_compile) 2>&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); } &&
21243 { ac_try='test -s conftest.$ac_objext'
21244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21245 (eval $ac_try) 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; }; then
21249 ac_cv_cxx_have_bi_iterator=yes
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.$ac_ext >&5
21254 ac_cv_cxx_have_bi_iterator=no
21256 rm -f conftest.$ac_objext conftest.$ac_ext
21258 ac_cpp='$CPP $CPPFLAGS'
21259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21265 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21266 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21267 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21269 cat >>confdefs.h <<\_ACEOF
21270 #define HAVE_BI_ITERATOR
21275 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21276 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21277 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21278 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 ac_cpp='$CXXCPP $CPPFLAGS'
21285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21289 cat >conftest.$ac_ext <<_ACEOF
21290 #line $LINENO "configure"
21293 cat confdefs.h >>conftest.$ac_ext
21294 cat >>conftest.$ac_ext <<_ACEOF
21295 /* end confdefs.h. */
21296 #include <iterator>
21297 #ifdef HAVE_NAMESPACES
21298 using namespace std;
21303 forward_iterator<int,int> t; return 0;
21308 rm -f conftest.$ac_objext
21309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21310 (eval $ac_compile) 2>&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); } &&
21314 { ac_try='test -s conftest.$ac_objext'
21315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21316 (eval $ac_try) 2>&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); }; }; then
21320 ac_cv_cxx_have_fwd_iterator=yes
21322 echo "$as_me: failed program was:" >&5
21323 sed 's/^/| /' conftest.$ac_ext >&5
21325 ac_cv_cxx_have_fwd_iterator=no
21327 rm -f conftest.$ac_objext conftest.$ac_ext
21329 ac_cpp='$CPP $CPPFLAGS'
21330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21336 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21337 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21338 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21340 cat >>confdefs.h <<\_ACEOF
21341 #define HAVE_FWD_ITERATOR
21347 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21348 # for constant arguments. Useless!
21349 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21350 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21351 if test "${ac_cv_working_alloca_h+set}" = set; then
21352 echo $ECHO_N "(cached) $ECHO_C" >&6
21354 cat >conftest.$ac_ext <<_ACEOF
21355 #line $LINENO "configure"
21358 cat confdefs.h >>conftest.$ac_ext
21359 cat >>conftest.$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21361 #include <alloca.h>
21365 char *p = (char *) alloca (2 * sizeof (int));
21370 rm -f conftest.$ac_objext conftest$ac_exeext
21371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21372 (eval $ac_link) 2>&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); } &&
21376 { ac_try='test -s conftest$ac_exeext'
21377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21378 (eval $ac_try) 2>&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; }; then
21382 ac_cv_working_alloca_h=yes
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21387 ac_cv_working_alloca_h=no
21389 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21391 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21392 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21393 if test $ac_cv_working_alloca_h = yes; then
21395 cat >>confdefs.h <<\_ACEOF
21396 #define HAVE_ALLOCA_H 1
21401 echo "$as_me:$LINENO: checking for alloca" >&5
21402 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21403 if test "${ac_cv_func_alloca_works+set}" = set; then
21404 echo $ECHO_N "(cached) $ECHO_C" >&6
21406 cat >conftest.$ac_ext <<_ACEOF
21407 #line $LINENO "configure"
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21414 # define alloca __builtin_alloca
21417 # include <malloc.h>
21418 # define alloca _alloca
21421 # include <alloca.h>
21426 # ifndef alloca /* predefined by HP cc +Olibcalls */
21437 char *p = (char *) alloca (1);
21442 rm -f conftest.$ac_objext conftest$ac_exeext
21443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21444 (eval $ac_link) 2>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } &&
21448 { ac_try='test -s conftest$ac_exeext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21454 ac_cv_func_alloca_works=yes
21456 echo "$as_me: failed program was:" >&5
21457 sed 's/^/| /' conftest.$ac_ext >&5
21459 ac_cv_func_alloca_works=no
21461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21463 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21464 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21466 if test $ac_cv_func_alloca_works = yes; then
21468 cat >>confdefs.h <<\_ACEOF
21469 #define HAVE_ALLOCA 1
21473 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21474 # that cause trouble. Some versions do not even contain alloca or
21475 # contain a buggy version. If you still want to use their alloca,
21476 # use ar to extract alloca.o from them instead of compiling alloca.c.
21478 ALLOCA=alloca.$ac_objext
21480 cat >>confdefs.h <<\_ACEOF
21485 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21486 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21487 if test "${ac_cv_os_cray+set}" = set; then
21488 echo $ECHO_N "(cached) $ECHO_C" >&6
21490 cat >conftest.$ac_ext <<_ACEOF
21491 #line $LINENO "configure"
21494 cat confdefs.h >>conftest.$ac_ext
21495 cat >>conftest.$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 #if defined(CRAY) && ! defined(CRAY2)
21504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21505 $EGREP "webecray" >/dev/null 2>&1; then
21513 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21514 echo "${ECHO_T}$ac_cv_os_cray" >&6
21515 if test $ac_cv_os_cray = yes; then
21516 for ac_func in _getb67 GETB67 getb67; do
21517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21518 echo "$as_me:$LINENO: checking for $ac_func" >&5
21519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21520 if eval "test \"\${$as_ac_var+set}\" = set"; then
21521 echo $ECHO_N "(cached) $ECHO_C" >&6
21523 cat >conftest.$ac_ext <<_ACEOF
21524 #line $LINENO "configure"
21527 cat confdefs.h >>conftest.$ac_ext
21528 cat >>conftest.$ac_ext <<_ACEOF
21529 /* end confdefs.h. */
21530 /* System header to define __stub macros and hopefully few prototypes,
21531 which can conflict with char $ac_func (); below.
21532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21533 <limits.h> exists even on freestanding compilers. */
21535 # include <limits.h>
21537 # include <assert.h>
21539 /* Override any gcc2 internal prototype to avoid an error. */
21544 /* We use char because int might match the return type of a gcc2
21545 builtin and then its argument prototype would still apply. */
21547 /* The GNU C library defines this for functions which it implements
21548 to always fail with ENOSYS. Some functions are actually named
21549 something starting with __ and the normal name is an alias. */
21550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21553 char (*f) () = $ac_func;
21562 return f != $ac_func;
21567 rm -f conftest.$ac_objext conftest$ac_exeext
21568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21569 (eval $ac_link) 2>&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); } &&
21573 { ac_try='test -s conftest$ac_exeext'
21574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575 (eval $ac_try) 2>&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; }; then
21579 eval "$as_ac_var=yes"
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.$ac_ext >&5
21584 eval "$as_ac_var=no"
21586 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21590 if test `eval echo '${'$as_ac_var'}'` = yes; then
21592 cat >>confdefs.h <<_ACEOF
21593 #define CRAY_STACKSEG_END $ac_func
21602 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21603 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21604 if test "${ac_cv_c_stack_direction+set}" = set; then
21605 echo $ECHO_N "(cached) $ECHO_C" >&6
21607 if test "$cross_compiling" = yes; then
21608 ac_cv_c_stack_direction=0
21610 cat >conftest.$ac_ext <<_ACEOF
21611 #line $LINENO "configure"
21614 cat confdefs.h >>conftest.$ac_ext
21615 cat >>conftest.$ac_ext <<_ACEOF
21616 /* end confdefs.h. */
21618 find_stack_direction ()
21620 static char *addr = 0;
21625 return find_stack_direction ();
21628 return (&dummy > addr) ? 1 : -1;
21634 exit (find_stack_direction () < 0);
21637 rm -f conftest$ac_exeext
21638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21639 (eval $ac_link) 2>&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; }; then
21648 ac_cv_c_stack_direction=1
21650 echo "$as_me: program exited with status $ac_status" >&5
21651 echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.$ac_ext >&5
21654 ( exit $ac_status )
21655 ac_cv_c_stack_direction=-1
21657 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21660 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21661 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21663 cat >>confdefs.h <<_ACEOF
21664 #define STACK_DIRECTION $ac_cv_c_stack_direction
21670 if test $ac_cv_c_compiler_gnu = yes; then
21671 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21672 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21673 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21674 echo $ECHO_N "(cached) $ECHO_C" >&6
21676 ac_pattern="Autoconf.*'x'"
21677 cat >conftest.$ac_ext <<_ACEOF
21678 #line $LINENO "configure"
21681 cat confdefs.h >>conftest.$ac_ext
21682 cat >>conftest.$ac_ext <<_ACEOF
21683 /* end confdefs.h. */
21687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21688 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21689 ac_cv_prog_gcc_traditional=yes
21691 ac_cv_prog_gcc_traditional=no
21696 if test $ac_cv_prog_gcc_traditional = no; then
21697 cat >conftest.$ac_ext <<_ACEOF
21698 #line $LINENO "configure"
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h. */
21704 #include <termio.h>
21707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21708 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21709 ac_cv_prog_gcc_traditional=yes
21715 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21716 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21717 if test $ac_cv_prog_gcc_traditional = yes; then
21718 CC="$CC -traditional"
21722 echo "$as_me:$LINENO: checking for working memcmp" >&5
21723 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21724 if test "${ac_cv_func_memcmp_working+set}" = set; then
21725 echo $ECHO_N "(cached) $ECHO_C" >&6
21727 if test "$cross_compiling" = yes; then
21728 ac_cv_func_memcmp_working=no
21730 cat >conftest.$ac_ext <<_ACEOF
21731 #line $LINENO "configure"
21734 cat confdefs.h >>conftest.$ac_ext
21735 cat >>conftest.$ac_ext <<_ACEOF
21736 /* end confdefs.h. */
21742 /* Some versions of memcmp are not 8-bit clean. */
21743 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21744 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21747 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21748 or more and with at least one buffer not starting on a 4-byte boundary.
21749 William Lewis provided this test program. */
21754 for (i = 0; i < 4; i++)
21758 strcpy (a, "--------01111111");
21759 strcpy (b, "--------10000000");
21760 if (memcmp (a, b, 16) >= 0)
21770 rm -f conftest$ac_exeext
21771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21772 (eval $ac_link) 2>&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21777 (eval $ac_try) 2>&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); }; }; then
21781 ac_cv_func_memcmp_working=yes
21783 echo "$as_me: program exited with status $ac_status" >&5
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21787 ( exit $ac_status )
21788 ac_cv_func_memcmp_working=no
21790 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21793 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21794 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21795 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21799 for ac_header in stdlib.h unistd.h
21801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21803 echo "$as_me:$LINENO: checking for $ac_header" >&5
21804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21811 # Is the header compilable?
21812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21814 cat >conftest.$ac_ext <<_ACEOF
21815 #line $LINENO "configure"
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 $ac_includes_default
21822 #include <$ac_header>
21824 rm -f conftest.$ac_objext
21825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21826 (eval $ac_compile) 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } &&
21830 { ac_try='test -s conftest.$ac_objext'
21831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21832 (eval $ac_try) 2>&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); }; }; then
21836 ac_header_compiler=yes
21838 echo "$as_me: failed program was:" >&5
21839 sed 's/^/| /' conftest.$ac_ext >&5
21841 ac_header_compiler=no
21843 rm -f conftest.$ac_objext conftest.$ac_ext
21844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21845 echo "${ECHO_T}$ac_header_compiler" >&6
21847 # Is the header present?
21848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21850 cat >conftest.$ac_ext <<_ACEOF
21851 #line $LINENO "configure"
21854 cat confdefs.h >>conftest.$ac_ext
21855 cat >>conftest.$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21857 #include <$ac_header>
21859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21860 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21862 grep -v '^ *+' conftest.er1 >conftest.err
21864 cat conftest.err >&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } >/dev/null; then
21867 if test -s conftest.err; then
21868 ac_cpp_err=$ac_c_preproc_warn_flag
21875 if test -z "$ac_cpp_err"; then
21876 ac_header_preproc=yes
21878 echo "$as_me: failed program was:" >&5
21879 sed 's/^/| /' conftest.$ac_ext >&5
21881 ac_header_preproc=no
21883 rm -f conftest.err conftest.$ac_ext
21884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21885 echo "${ECHO_T}$ac_header_preproc" >&6
21887 # So? What about this header?
21888 case $ac_header_compiler:$ac_header_preproc in
21890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21896 ## ------------------------------------ ##
21897 ## Report this to bug-autoconf@gnu.org. ##
21898 ## ------------------------------------ ##
21901 sed "s/^/$as_me: WARNING: /" >&2
21904 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21905 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21906 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21907 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21912 ## ------------------------------------ ##
21913 ## Report this to bug-autoconf@gnu.org. ##
21914 ## ------------------------------------ ##
21917 sed "s/^/$as_me: WARNING: /" >&2
21920 echo "$as_me:$LINENO: checking for $ac_header" >&5
21921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21923 echo $ECHO_N "(cached) $ECHO_C" >&6
21925 eval "$as_ac_Header=$ac_header_preproc"
21927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21932 cat >>confdefs.h <<_ACEOF
21933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21941 for ac_func in getpagesize
21943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21944 echo "$as_me:$LINENO: checking for $ac_func" >&5
21945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21946 if eval "test \"\${$as_ac_var+set}\" = set"; then
21947 echo $ECHO_N "(cached) $ECHO_C" >&6
21949 cat >conftest.$ac_ext <<_ACEOF
21950 #line $LINENO "configure"
21953 cat confdefs.h >>conftest.$ac_ext
21954 cat >>conftest.$ac_ext <<_ACEOF
21955 /* end confdefs.h. */
21956 /* System header to define __stub macros and hopefully few prototypes,
21957 which can conflict with char $ac_func (); below.
21958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21959 <limits.h> exists even on freestanding compilers. */
21961 # include <limits.h>
21963 # include <assert.h>
21965 /* Override any gcc2 internal prototype to avoid an error. */
21970 /* We use char because int might match the return type of a gcc2
21971 builtin and then its argument prototype would still apply. */
21973 /* The GNU C library defines this for functions which it implements
21974 to always fail with ENOSYS. Some functions are actually named
21975 something starting with __ and the normal name is an alias. */
21976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21979 char (*f) () = $ac_func;
21988 return f != $ac_func;
21993 rm -f conftest.$ac_objext conftest$ac_exeext
21994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21995 (eval $ac_link) 2>&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); } &&
21999 { ac_try='test -s conftest$ac_exeext'
22000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22001 (eval $ac_try) 2>&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); }; }; then
22005 eval "$as_ac_var=yes"
22007 echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.$ac_ext >&5
22010 eval "$as_ac_var=no"
22012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22016 if test `eval echo '${'$as_ac_var'}'` = yes; then
22017 cat >>confdefs.h <<_ACEOF
22018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22024 echo "$as_me:$LINENO: checking for working mmap" >&5
22025 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22026 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22027 echo $ECHO_N "(cached) $ECHO_C" >&6
22029 if test "$cross_compiling" = yes; then
22030 ac_cv_func_mmap_fixed_mapped=no
22032 cat >conftest.$ac_ext <<_ACEOF
22033 #line $LINENO "configure"
22036 cat confdefs.h >>conftest.$ac_ext
22037 cat >>conftest.$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039 $ac_includes_default
22040 /* malloc might have been renamed as rpl_malloc. */
22043 /* Thanks to Mike Haertel and Jim Avera for this test.
22044 Here is a matrix of mmap possibilities:
22045 mmap private not fixed
22046 mmap private fixed at somewhere currently unmapped
22047 mmap private fixed at somewhere already mapped
22048 mmap shared not fixed
22049 mmap shared fixed at somewhere currently unmapped
22050 mmap shared fixed at somewhere already mapped
22051 For private mappings, we should verify that changes cannot be read()
22052 back from the file, nor mmap's back from the file at a different
22053 address. (There have been systems where private was not correctly
22054 implemented like the infamous i386 svr4.0, and systems where the
22055 VM page cache was not coherent with the file system buffer cache
22056 like early versions of FreeBSD and possibly contemporary NetBSD.)
22057 For shared mappings, we should conversely verify that changes get
22058 propagated back to all the places they're supposed to be.
22060 Grep wants private fixed already mapped.
22061 The main things grep needs to know about mmap are:
22062 * does it exist and is it safe to write into the mmap'd area
22063 * how to use it (BSD variants) */
22066 #include <sys/mman.h>
22068 #if !STDC_HEADERS && !HAVE_STDLIB_H
22072 /* This mess was copied from the GNU getpagesize.h. */
22073 #if !HAVE_GETPAGESIZE
22074 /* Assume that all systems that can run configure have sys/param.h. */
22075 # if !HAVE_SYS_PARAM_H
22076 # define HAVE_SYS_PARAM_H 1
22079 # ifdef _SC_PAGESIZE
22080 # define getpagesize() sysconf(_SC_PAGESIZE)
22081 # else /* no _SC_PAGESIZE */
22082 # if HAVE_SYS_PARAM_H
22083 # include <sys/param.h>
22084 # ifdef EXEC_PAGESIZE
22085 # define getpagesize() EXEC_PAGESIZE
22086 # else /* no EXEC_PAGESIZE */
22088 # define getpagesize() NBPG * CLSIZE
22091 # endif /* no CLSIZE */
22092 # else /* no NBPG */
22094 # define getpagesize() NBPC
22095 # else /* no NBPC */
22097 # define getpagesize() PAGESIZE
22098 # endif /* PAGESIZE */
22099 # endif /* no NBPC */
22100 # endif /* no NBPG */
22101 # endif /* no EXEC_PAGESIZE */
22102 # else /* no HAVE_SYS_PARAM_H */
22103 # define getpagesize() 8192 /* punt totally */
22104 # endif /* no HAVE_SYS_PARAM_H */
22105 # endif /* no _SC_PAGESIZE */
22107 #endif /* no HAVE_GETPAGESIZE */
22112 char *data, *data2, *data3;
22116 pagesize = getpagesize ();
22118 /* First, make a file with some known garbage in it. */
22119 data = (char *) malloc (pagesize);
22122 for (i = 0; i < pagesize; ++i)
22123 *(data + i) = rand ();
22125 fd = creat ("conftest.mmap", 0600);
22128 if (write (fd, data, pagesize) != pagesize)
22132 /* Next, try to mmap the file at a fixed address which already has
22133 something else allocated at it. If we can, also make sure that
22134 we see the same garbage. */
22135 fd = open ("conftest.mmap", O_RDWR);
22138 data2 = (char *) malloc (2 * pagesize);
22141 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22142 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22143 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22145 for (i = 0; i < pagesize; ++i)
22146 if (*(data + i) != *(data2 + i))
22149 /* Finally, make sure that changes to the mapped area do not
22150 percolate back to the file as seen by read(). (This is a bug on
22151 some variants of i386 svr4.0.) */
22152 for (i = 0; i < pagesize; ++i)
22153 *(data2 + i) = *(data2 + i) + 1;
22154 data3 = (char *) malloc (pagesize);
22157 if (read (fd, data3, pagesize) != pagesize)
22159 for (i = 0; i < pagesize; ++i)
22160 if (*(data + i) != *(data3 + i))
22166 rm -f conftest$ac_exeext
22167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22168 (eval $ac_link) 2>&5
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; }; then
22177 ac_cv_func_mmap_fixed_mapped=yes
22179 echo "$as_me: program exited with status $ac_status" >&5
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22183 ( exit $ac_status )
22184 ac_cv_func_mmap_fixed_mapped=no
22186 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22189 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22190 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22191 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22193 cat >>confdefs.h <<\_ACEOF
22194 #define HAVE_MMAP 1
22198 rm -f conftest.mmap
22200 echo "$as_me:$LINENO: checking for mmap of files" >&5
22201 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22202 if test "${ac_cv_func_mmap_file+set}" = set; then
22203 echo $ECHO_N "(cached) $ECHO_C" >&6
22208 ac_cpp='$CPP $CPPFLAGS'
22209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22213 if test "$cross_compiling" = yes; then
22214 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22215 See \`config.log' for more details." >&5
22216 echo "$as_me: error: cannot run test program while cross compiling
22217 See \`config.log' for more details." >&2;}
22218 { (exit 1); exit 1; }; }
22220 cat >conftest.$ac_ext <<_ACEOF
22221 #line $LINENO "configure"
22224 cat confdefs.h >>conftest.$ac_ext
22225 cat >>conftest.$ac_ext <<_ACEOF
22226 /* end confdefs.h. */
22228 #ifdef HAVE_SYS_MMAN_H
22229 #include <sys/mman.h>
22232 #ifdef HAVE_SYS_TYPES_H
22233 #include <sys/types.h>
22236 #ifdef HAVE_FCNTL_H
22242 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22244 rm -f conftest$ac_exeext
22245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22246 (eval $ac_link) 2>&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22251 (eval $ac_try) 2>&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); }; }; then
22255 ac_cv_func_mmap_file=yes
22257 echo "$as_me: program exited with status $ac_status" >&5
22258 echo "$as_me: failed program was:" >&5
22259 sed 's/^/| /' conftest.$ac_ext >&5
22261 ( exit $ac_status )
22262 ac_cv_func_mmap_file=no
22264 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22267 ac_cpp='$CPP $CPPFLAGS'
22268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22274 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22275 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22276 if test "$ac_cv_func_mmap_file" = yes; then
22277 cat >>confdefs.h <<\_ACEOF
22278 #define HAVE_MMAP_FILE 1
22285 if test ${ac_cv_func_mmap_file} = "no"
22287 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22288 echo "$as_me: error: mmap() of files required but not found" >&2;}
22289 { (exit 1); exit 1; }; }
22291 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22292 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22293 if test "${ac_cv_header_mmap_anon+set}" = set; then
22294 echo $ECHO_N "(cached) $ECHO_C" >&6
22299 ac_cpp='$CPP $CPPFLAGS'
22300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22304 cat >conftest.$ac_ext <<_ACEOF
22305 #line $LINENO "configure"
22308 cat confdefs.h >>conftest.$ac_ext
22309 cat >>conftest.$ac_ext <<_ACEOF
22310 /* end confdefs.h. */
22311 #include <sys/mman.h>
22312 #include <unistd.h>
22317 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22322 rm -f conftest.$ac_objext
22323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22324 (eval $ac_compile) 2>&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); } &&
22328 { ac_try='test -s conftest.$ac_objext'
22329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22330 (eval $ac_try) 2>&5
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); }; }; then
22334 ac_cv_header_mmap_anon=yes
22336 echo "$as_me: failed program was:" >&5
22337 sed 's/^/| /' conftest.$ac_ext >&5
22339 ac_cv_header_mmap_anon=no
22341 rm -f conftest.$ac_objext conftest.$ac_ext
22343 ac_cpp='$CPP $CPPFLAGS'
22344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22350 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22351 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22352 if test "$ac_cv_header_mmap_anon" = yes; then
22353 cat >>confdefs.h <<\_ACEOF
22354 #define HAVE_MMAP_ANONYMOUS 1
22359 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22360 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22361 if test "${ac_cv_type_signal+set}" = set; then
22362 echo $ECHO_N "(cached) $ECHO_C" >&6
22364 cat >conftest.$ac_ext <<_ACEOF
22365 #line $LINENO "configure"
22368 cat confdefs.h >>conftest.$ac_ext
22369 cat >>conftest.$ac_ext <<_ACEOF
22370 /* end confdefs.h. */
22371 #include <sys/types.h>
22372 #include <signal.h>
22377 extern "C" void (*signal (int, void (*)(int)))(int);
22379 void (*signal ()) ();
22390 rm -f conftest.$ac_objext
22391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22392 (eval $ac_compile) 2>&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } &&
22396 { ac_try='test -s conftest.$ac_objext'
22397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22398 (eval $ac_try) 2>&5
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); }; }; then
22402 ac_cv_type_signal=void
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.$ac_ext >&5
22407 ac_cv_type_signal=int
22409 rm -f conftest.$ac_objext conftest.$ac_ext
22411 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22412 echo "${ECHO_T}$ac_cv_type_signal" >&6
22414 cat >>confdefs.h <<_ACEOF
22415 #define RETSIGTYPE $ac_cv_type_signal
22430 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll
22432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22433 echo "$as_me:$LINENO: checking for $ac_func" >&5
22434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22435 if eval "test \"\${$as_ac_var+set}\" = set"; then
22436 echo $ECHO_N "(cached) $ECHO_C" >&6
22438 cat >conftest.$ac_ext <<_ACEOF
22439 #line $LINENO "configure"
22442 cat confdefs.h >>conftest.$ac_ext
22443 cat >>conftest.$ac_ext <<_ACEOF
22444 /* end confdefs.h. */
22445 /* System header to define __stub macros and hopefully few prototypes,
22446 which can conflict with char $ac_func (); below.
22447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22448 <limits.h> exists even on freestanding compilers. */
22450 # include <limits.h>
22452 # include <assert.h>
22454 /* Override any gcc2 internal prototype to avoid an error. */
22459 /* We use char because int might match the return type of a gcc2
22460 builtin and then its argument prototype would still apply. */
22462 /* The GNU C library defines this for functions which it implements
22463 to always fail with ENOSYS. Some functions are actually named
22464 something starting with __ and the normal name is an alias. */
22465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22468 char (*f) () = $ac_func;
22477 return f != $ac_func;
22482 rm -f conftest.$ac_objext conftest$ac_exeext
22483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22484 (eval $ac_link) 2>&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); } &&
22488 { ac_try='test -s conftest$ac_exeext'
22489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22490 (eval $ac_try) 2>&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); }; }; then
22494 eval "$as_ac_var=yes"
22496 echo "$as_me: failed program was:" >&5
22497 sed 's/^/| /' conftest.$ac_ext >&5
22499 eval "$as_ac_var=no"
22501 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22505 if test `eval echo '${'$as_ac_var'}'` = yes; then
22506 cat >>confdefs.h <<_ACEOF
22507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22515 echo "$as_me:$LINENO: checking for mmap" >&5
22516 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22517 if test "${ac_cv_func_mmap+set}" = set; then
22518 echo $ECHO_N "(cached) $ECHO_C" >&6
22520 cat >conftest.$ac_ext <<_ACEOF
22521 #line $LINENO "configure"
22524 cat confdefs.h >>conftest.$ac_ext
22525 cat >>conftest.$ac_ext <<_ACEOF
22526 /* end confdefs.h. */
22527 /* System header to define __stub macros and hopefully few prototypes,
22528 which can conflict with char mmap (); below.
22529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22530 <limits.h> exists even on freestanding compilers. */
22532 # include <limits.h>
22534 # include <assert.h>
22536 /* Override any gcc2 internal prototype to avoid an error. */
22541 /* We use char because int might match the return type of a gcc2
22542 builtin and then its argument prototype would still apply. */
22544 /* The GNU C library defines this for functions which it implements
22545 to always fail with ENOSYS. Some functions are actually named
22546 something starting with __ and the normal name is an alias. */
22547 #if defined (__stub_mmap) || defined (__stub___mmap)
22550 char (*f) () = mmap;
22564 rm -f conftest.$ac_objext conftest$ac_exeext
22565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22566 (eval $ac_link) 2>&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); } &&
22570 { ac_try='test -s conftest$ac_exeext'
22571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22572 (eval $ac_try) 2>&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); }; }; then
22576 ac_cv_func_mmap=yes
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22583 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22585 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22586 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22587 if test $ac_cv_func_mmap = yes; then
22590 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22591 echo "$as_me: error: Function mmap() required but not found" >&2;}
22592 { (exit 1); exit 1; }; }
22595 echo "$as_me:$LINENO: checking for mprotect" >&5
22596 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22597 if test "${ac_cv_func_mprotect+set}" = set; then
22598 echo $ECHO_N "(cached) $ECHO_C" >&6
22600 cat >conftest.$ac_ext <<_ACEOF
22601 #line $LINENO "configure"
22604 cat confdefs.h >>conftest.$ac_ext
22605 cat >>conftest.$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22607 /* System header to define __stub macros and hopefully few prototypes,
22608 which can conflict with char mprotect (); below.
22609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22610 <limits.h> exists even on freestanding compilers. */
22612 # include <limits.h>
22614 # include <assert.h>
22616 /* Override any gcc2 internal prototype to avoid an error. */
22621 /* We use char because int might match the return type of a gcc2
22622 builtin and then its argument prototype would still apply. */
22624 /* The GNU C library defines this for functions which it implements
22625 to always fail with ENOSYS. Some functions are actually named
22626 something starting with __ and the normal name is an alias. */
22627 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22630 char (*f) () = mprotect;
22639 return f != mprotect;
22644 rm -f conftest.$ac_objext conftest$ac_exeext
22645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22646 (eval $ac_link) 2>&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } &&
22650 { ac_try='test -s conftest$ac_exeext'
22651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22652 (eval $ac_try) 2>&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); }; }; then
22656 ac_cv_func_mprotect=yes
22658 echo "$as_me: failed program was:" >&5
22659 sed 's/^/| /' conftest.$ac_ext >&5
22661 ac_cv_func_mprotect=no
22663 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22665 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22666 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22667 if test $ac_cv_func_mprotect = yes; then
22670 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22671 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22672 { (exit 1); exit 1; }; }
22677 # Check whether --enable-purify or --disable-purify was given.
22678 if test "${enable_purify+set}" = set; then
22679 enableval="$enable_purify"
22684 if test ${enableval} = "no"
22689 ENABLE_PURIFY=ENABLE_PURIFY=1
22693 # Check whether --enable-optimized or --disable-optimized was given.
22694 if test "${enable_optimized+set}" = set; then
22695 enableval="$enable_optimized"
22700 if test ${enableval} = "no"
22705 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22709 # Check whether --enable-spec or --disable-spec was given.
22710 if test "${enable_spec+set}" = set; then
22711 enableval="$enable_spec"
22716 if test ${enableval} = "no"
22721 USE_SPEC=USE_SPEC=1
22725 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22726 if test "${enable_precompiled_bytecode+set}" = set; then
22727 enableval="$enable_precompiled_bytecode"
22732 if test ${enableval} = "no"
22737 UPB=USE_PRECOMPILED_BYTECODE=1
22742 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22743 if test "${enable_llc_diffs+set}" = set; then
22744 enableval="$enable_llc_diffs"
22749 if test ${enableval} = "no"
22751 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22758 # Check whether --enable-jit or --disable-jit was given.
22759 if test "${enable_jit+set}" = set; then
22760 enableval="$enable_jit"
22766 if test ${enableval} = "no"
22773 JIT=TARGET_HAS_JIT=1
22777 JIT=TARGET_HAS_JIT=1
22789 # Check whether --with-spec or --without-spec was given.
22790 if test "${with_spec+set}" = set; then
22791 withval="$with_spec"
22795 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22800 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22801 if test "${with_llvmgccdir+set}" = set; then
22802 withval="$with_llvmgccdir"
22803 LLVMGCCDIR=$withval
22808 # Check whether --with-bcrepos or --without-bcrepos was given.
22809 if test "${with_bcrepos+set}" = set; then
22810 withval="$with_bcrepos"
22814 BCR=/home/vadve/lattner/LLVMPrograms
22819 # Check whether --with-papi or --without-papi was given.
22820 if test "${with_papi+set}" = set; then
22821 withval="$with_papi"
22825 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22830 # Check whether --with-purify or --without-purify was given.
22831 if test "${with_purify+set}" = set; then
22832 withval="$with_purify"
22838 ac_config_files="$ac_config_files Makefile.config"
22839 cat >confcache <<\_ACEOF
22840 # This file is a shell script that caches the results of configure
22841 # tests run on this system so they can be shared between configure
22842 # scripts and configure runs, see configure's option --config-cache.
22843 # It is not useful on other systems. If it contains results you don't
22844 # want to keep, you may remove or edit it.
22846 # config.status only pays attention to the cache file if you give it
22847 # the --recheck option to rerun configure.
22849 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22850 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22851 # following values.
22855 # The following way of writing the cache mishandles newlines in values,
22856 # but we know of no workaround that is simple, portable, and efficient.
22857 # So, don't put newlines in cache variables' values.
22858 # Ultrix sh set writes to stderr and can't be redirected directly,
22859 # and sets the high bit in the cache file unless we assign to the vars.
22862 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22864 # `set' does not quote correctly, so add quotes (double-quote
22865 # substitution turns \\\\ into \\, and sed turns \\ into \).
22868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22871 # `set' quotes correctly as required by POSIX, so do not add quotes.
22873 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22882 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22884 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22885 if test -w $cache_file; then
22886 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22887 cat confcache >$cache_file
22889 echo "not updating unwritable cache $cache_file"
22894 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22895 # Let make expand exec_prefix.
22896 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22898 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22899 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22900 # trailing colons and then remove the whole line if VPATH becomes empty
22901 # (actually we leave an empty line to preserve line numbers).
22902 if test "x$srcdir" = x.; then
22903 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22904 s/:*\$(srcdir):*/:/;
22905 s/:*\${srcdir}:*/:/;
22907 s/^\([^=]*=[ ]*\):*/\1/;
22913 DEFS=-DHAVE_CONFIG_H
22917 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22918 # 1. Remove the extension, and $U if already installed.
22919 ac_i=`echo "$ac_i" |
22920 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22922 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22923 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22925 LIBOBJS=$ac_libobjs
22927 LTLIBOBJS=$ac_ltlibobjs
22931 : ${CONFIG_STATUS=./config.status}
22932 ac_clean_files_save=$ac_clean_files
22933 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22934 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22935 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22936 cat >$CONFIG_STATUS <<_ACEOF
22938 # Generated by $as_me.
22939 # Run this file to recreate the current configuration.
22940 # Compiler output produced by configure, useful for debugging
22941 # configure, is in config.log if it exists.
22944 ac_cs_recheck=false
22946 SHELL=\${CONFIG_SHELL-$SHELL}
22949 cat >>$CONFIG_STATUS <<\_ACEOF
22950 ## --------------------- ##
22951 ## M4sh Initialization. ##
22952 ## --------------------- ##
22954 # Be Bourne compatible
22955 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22958 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22959 # is contrary to our usage. Disable this feature.
22960 alias -g '${1+"$@"}'='"$@"'
22961 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22965 # Support unset when possible.
22966 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22973 # Work around bugs in pre-3.0 UWIN ksh.
22974 $as_unset ENV MAIL MAILPATH
22981 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22982 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22983 LC_TELEPHONE LC_TIME
22985 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22986 eval $as_var=C; export $as_var
22992 # Required to use basename.
22993 if expr a : '\(a\)' >/dev/null 2>&1; then
22999 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23000 as_basename=basename
23006 # Name of the executable.
23007 as_me=`$as_basename "$0" ||
23008 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23009 X"$0" : 'X\(//\)$' \| \
23010 X"$0" : 'X\(/\)$' \| \
23011 . : '\(.\)' 2>/dev/null ||
23013 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23014 /^X\/\(\/\/\)$/{ s//\1/; q; }
23015 /^X\/\(\/\).*/{ s//\1/; q; }
23019 # PATH needs CR, and LINENO needs CR and PATH.
23020 # Avoid depending upon Character Ranges.
23021 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23022 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23023 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23024 as_cr_digits='0123456789'
23025 as_cr_alnum=$as_cr_Letters$as_cr_digits
23027 # The user is always right.
23028 if test "${PATH_SEPARATOR+set}" != set; then
23029 echo "#! /bin/sh" >conf$$.sh
23030 echo "exit 0" >>conf$$.sh
23032 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23041 as_lineno_1=$LINENO
23042 as_lineno_2=$LINENO
23043 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23044 test "x$as_lineno_1" != "x$as_lineno_2" &&
23045 test "x$as_lineno_3" = "x$as_lineno_2" || {
23046 # Find who we are. Look in the path if we contain no path at all
23049 *[\\/]* ) as_myself=$0 ;;
23050 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23051 for as_dir in $PATH
23054 test -z "$as_dir" && as_dir=.
23055 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23060 # We did not find ourselves, most probably we were run as `sh COMMAND'
23061 # in which case we are not to be found in the path.
23062 if test "x$as_myself" = x; then
23065 if test ! -f "$as_myself"; then
23066 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23067 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23068 { (exit 1); exit 1; }; }
23070 case $CONFIG_SHELL in
23072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23073 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23076 test -z "$as_dir" && as_dir=.
23077 for as_base in sh bash ksh sh5; do
23080 if ("$as_dir/$as_base" -c '
23081 as_lineno_1=$LINENO
23082 as_lineno_2=$LINENO
23083 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23084 test "x$as_lineno_1" != "x$as_lineno_2" &&
23085 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23086 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23087 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23088 CONFIG_SHELL=$as_dir/$as_base
23089 export CONFIG_SHELL
23090 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23098 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23099 # uniformly replaced by the line number. The first 'sed' inserts a
23100 # line-number line before each line; the second 'sed' does the real
23101 # work. The second script uses 'N' to pair each line-number line
23102 # with the numbered line, and appends trailing '-' during
23103 # substitution so that $LINENO is not a special case at line end.
23104 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23105 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23106 sed '=' <$as_myself |
23111 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23114 s,^['$as_cr_digits']*\n,,
23115 ' >$as_me.lineno &&
23116 chmod +x $as_me.lineno ||
23117 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23118 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23119 { (exit 1); exit 1; }; }
23121 # Don't try to exec as it changes $[0], causing all sort of problems
23122 # (the dirname of $[0] is not the place where we might find the
23123 # original and so on. Autoconf is especially sensible to this).
23125 # Exit status is that of the last command.
23130 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23131 *c*,-n*) ECHO_N= ECHO_C='
23133 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23134 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23137 if expr a : '\(a\)' >/dev/null 2>&1; then
23143 rm -f conf$$ conf$$.exe conf$$.file
23145 if ln -s conf$$.file conf$$ 2>/dev/null; then
23146 # We could just check for DJGPP; but this test a) works b) is more generic
23147 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23148 if test -f conf$$.exe; then
23149 # Don't use ln at all; we don't have any links
23154 elif ln conf$$.file conf$$ 2>/dev/null; then
23159 rm -f conf$$ conf$$.exe conf$$.file
23161 if mkdir -p . 2>/dev/null; then
23167 as_executable_p="test -f"
23169 # Sed expression to map a string onto a valid CPP name.
23170 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23172 # Sed expression to map a string onto a valid variable name.
23173 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23177 # We need space, tab and new line, in precisely that order.
23187 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23188 # report actual input values of CONFIG_FILES etc. instead of their
23189 # values after options handling. Logging --version etc. is OK.
23193 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23194 ## Running $as_me. ##
23199 This file was extended by [LLVM] $as_me [1.0], which was
23200 generated by GNU Autoconf 2.57. Invocation command line was
23202 CONFIG_FILES = $CONFIG_FILES
23203 CONFIG_HEADERS = $CONFIG_HEADERS
23204 CONFIG_LINKS = $CONFIG_LINKS
23205 CONFIG_COMMANDS = $CONFIG_COMMANDS
23209 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23213 # Files that config.status was made for.
23214 if test -n "$ac_config_files"; then
23215 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23218 if test -n "$ac_config_headers"; then
23219 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23222 if test -n "$ac_config_links"; then
23223 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23226 if test -n "$ac_config_commands"; then
23227 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23230 cat >>$CONFIG_STATUS <<\_ACEOF
23233 \`$as_me' instantiates files from templates according to the
23234 current configuration.
23236 Usage: $0 [OPTIONS] [FILE]...
23238 -h, --help print this help, then exit
23239 -V, --version print version number, then exit
23240 -q, --quiet do not print progress messages
23241 -d, --debug don't remove temporary files
23242 --recheck update $as_me by reconfiguring in the same conditions
23243 --file=FILE[:TEMPLATE]
23244 instantiate the configuration file FILE
23245 --header=FILE[:TEMPLATE]
23246 instantiate the configuration header FILE
23248 Configuration files:
23251 Configuration headers:
23254 Configuration commands:
23257 Report bugs to <bug-autoconf@gnu.org>."
23260 cat >>$CONFIG_STATUS <<_ACEOF
23262 [LLVM] config.status [1.0]
23263 configured by $0, generated by GNU Autoconf 2.57,
23264 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23266 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23267 Free Software Foundation, Inc.
23268 This config.status script is free software; the Free Software Foundation
23269 gives unlimited permission to copy, distribute and modify it."
23274 cat >>$CONFIG_STATUS <<\_ACEOF
23275 # If no file are specified by the user, then we need to provide default
23276 # value. By we need to know if files were specified by the user.
23282 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23283 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23291 *) # This is not an option, so the user has probably given explicit
23294 ac_need_defaults=false;;
23298 # Handling of the options.
23300 cat >>$CONFIG_STATUS <<\_ACEOF
23301 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23303 --version | --vers* | -V )
23304 echo "$ac_cs_version"; exit 0 ;;
23306 # Conflict between --help and --header
23307 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23308 Try \`$0 --help' for more information." >&5
23309 echo "$as_me: error: ambiguous option: $1
23310 Try \`$0 --help' for more information." >&2;}
23311 { (exit 1); exit 1; }; };;
23312 --help | --hel | -h )
23313 echo "$ac_cs_usage"; exit 0 ;;
23314 --debug | --d* | -d )
23316 --file | --fil | --fi | --f )
23318 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23319 ac_need_defaults=false;;
23320 --header | --heade | --head | --hea )
23322 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23323 ac_need_defaults=false;;
23324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23325 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23328 # This is an error.
23329 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23330 Try \`$0 --help' for more information." >&5
23331 echo "$as_me: error: unrecognized option: $1
23332 Try \`$0 --help' for more information." >&2;}
23333 { (exit 1); exit 1; }; } ;;
23335 *) ac_config_targets="$ac_config_targets $1" ;;
23341 ac_configure_extra_args=
23343 if $ac_cs_silent; then
23345 ac_configure_extra_args="$ac_configure_extra_args --silent"
23349 cat >>$CONFIG_STATUS <<_ACEOF
23350 if \$ac_cs_recheck; then
23351 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23352 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23357 cat >>$CONFIG_STATUS <<_ACEOF
23359 # INIT-COMMANDS section.
23362 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/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/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23575 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23576 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23577 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23578 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23579 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23580 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23581 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23582 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23583 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23584 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23585 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23586 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23587 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23588 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23589 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23590 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23591 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23592 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23593 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23594 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23595 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23596 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23597 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23598 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23599 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23600 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23601 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23602 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23603 "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
23604 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
23605 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23606 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23607 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23608 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23609 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23610 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23611 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23612 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23613 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23614 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23615 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23616 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23617 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23618 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23619 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23620 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23621 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23622 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23623 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23624 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23625 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23626 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23627 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23628 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23629 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23630 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23631 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23632 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23633 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23634 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23635 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23636 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23637 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23638 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23639 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23640 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23641 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23642 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23643 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23644 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23645 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23646 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23647 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23648 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23649 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23650 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23651 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23652 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23653 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23654 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23655 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23656 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23657 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23658 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23659 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23660 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23661 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23662 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23663 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23664 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23665 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23666 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23667 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23668 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23669 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23670 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23671 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23672 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23673 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23674 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23675 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23676 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23677 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23678 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23679 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23680 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23681 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23682 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23683 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23684 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23685 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23686 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23687 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23688 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23689 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23690 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23691 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23692 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23693 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23694 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23695 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23696 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23697 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23698 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23699 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23700 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23701 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23702 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23703 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23704 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23705 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23706 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23707 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23708 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23709 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23710 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23711 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23712 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23713 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23714 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23715 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23716 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23717 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23718 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23719 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23720 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23721 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23722 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23723 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23724 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23725 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23726 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23727 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23728 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23729 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23730 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23731 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23732 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23733 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23734 { (exit 1); exit 1; }; };;
23738 # If the user did not use the arguments to specify the items to instantiate,
23739 # then the envvar interface is used. Set only those that are not.
23740 # We use the long form for the default assignment because of an extremely
23741 # bizarre bug on SunOS 4.1.3.
23742 if $ac_need_defaults; then
23743 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23744 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23745 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23748 # Have a temporary directory for convenience. Make it in the build tree
23749 # simply because there is no reason to put it here, and in addition,
23750 # creating and moving files from /tmp can sometimes cause problems.
23751 # Create a temporary directory, and hook for its removal unless debugging.
23754 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23755 trap '{ (exit 1); exit 1; }' 1 2 13 15
23758 # Create a (secure) tmp directory for tmp files.
23761 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23762 test -n "$tmp" && test -d "$tmp"
23765 tmp=./confstat$$-$RANDOM
23766 (umask 077 && mkdir $tmp)
23769 echo "$me: cannot create a temporary directory in ." >&2
23770 { (exit 1); exit 1; }
23775 cat >>$CONFIG_STATUS <<_ACEOF
23778 # CONFIG_FILES section.
23781 # No need to generate the scripts if there are no CONFIG_FILES.
23782 # This happens for instance when ./config.status config.h
23783 if test -n "\$CONFIG_FILES"; then
23784 # Protect against being on the right side of a sed subst in config.status.
23785 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23786 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23787 s,@SHELL@,$SHELL,;t t
23788 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23789 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23790 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23791 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23792 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23793 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23794 s,@exec_prefix@,$exec_prefix,;t t
23795 s,@prefix@,$prefix,;t t
23796 s,@program_transform_name@,$program_transform_name,;t t
23797 s,@bindir@,$bindir,;t t
23798 s,@sbindir@,$sbindir,;t t
23799 s,@libexecdir@,$libexecdir,;t t
23800 s,@datadir@,$datadir,;t t
23801 s,@sysconfdir@,$sysconfdir,;t t
23802 s,@sharedstatedir@,$sharedstatedir,;t t
23803 s,@localstatedir@,$localstatedir,;t t
23804 s,@libdir@,$libdir,;t t
23805 s,@includedir@,$includedir,;t t
23806 s,@oldincludedir@,$oldincludedir,;t t
23807 s,@infodir@,$infodir,;t t
23808 s,@mandir@,$mandir,;t t
23809 s,@build_alias@,$build_alias,;t t
23810 s,@host_alias@,$host_alias,;t t
23811 s,@target_alias@,$target_alias,;t t
23812 s,@DEFS@,$DEFS,;t t
23813 s,@ECHO_C@,$ECHO_C,;t t
23814 s,@ECHO_N@,$ECHO_N,;t t
23815 s,@ECHO_T@,$ECHO_T,;t t
23816 s,@LIBS@,$LIBS,;t t
23817 s,@subdirs@,$subdirs,;t t
23818 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23819 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23820 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23821 s,@build@,$build,;t t
23822 s,@build_cpu@,$build_cpu,;t t
23823 s,@build_vendor@,$build_vendor,;t t
23824 s,@build_os@,$build_os,;t t
23825 s,@host@,$host,;t t
23826 s,@host_cpu@,$host_cpu,;t t
23827 s,@host_vendor@,$host_vendor,;t t
23828 s,@host_os@,$host_os,;t t
23829 s,@target@,$target,;t t
23830 s,@target_cpu@,$target_cpu,;t t
23831 s,@target_vendor@,$target_vendor,;t t
23832 s,@target_os@,$target_os,;t t
23834 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23835 s,@ARCH@,$ARCH,;t t
23837 s,@CXXFLAGS@,$CXXFLAGS,;t t
23838 s,@LDFLAGS@,$LDFLAGS,;t t
23839 s,@CPPFLAGS@,$CPPFLAGS,;t t
23840 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23841 s,@EXEEXT@,$EXEEXT,;t t
23842 s,@OBJEXT@,$OBJEXT,;t t
23844 s,@CFLAGS@,$CFLAGS,;t t
23845 s,@ac_ct_CC@,$ac_ct_CC,;t t
23847 s,@ifGNUmake@,$ifGNUmake,;t t
23849 s,@LEXLIB@,$LEXLIB,;t t
23850 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23851 s,@YACC@,$YACC,;t t
23852 s,@EGREP@,$EGREP,;t t
23853 s,@LN_S@,$LN_S,;t t
23854 s,@ECHO@,$ECHO,;t t
23856 s,@ac_ct_AR@,$ac_ct_AR,;t t
23857 s,@RANLIB@,$RANLIB,;t t
23858 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23859 s,@STRIP@,$STRIP,;t t
23860 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23861 s,@CXXCPP@,$CXXCPP,;t t
23863 s,@FFLAGS@,$FFLAGS,;t t
23864 s,@ac_ct_F77@,$ac_ct_F77,;t t
23865 s,@LIBTOOL@,$LIBTOOL,;t t
23866 s,@RPWD@,$RPWD,;t t
23869 s,@MKDIR@,$MKDIR,;t t
23870 s,@DATE@,$DATE,;t t
23873 s,@ETAGS@,$ETAGS,;t t
23874 s,@PYTHON@,$PYTHON,;t t
23875 s,@QMTEST@,$QMTEST,;t t
23876 s,@ALLOCA@,$ALLOCA,;t t
23877 s,@LIBOBJS@,$LIBOBJS,;t t
23878 s,@MMAP_FILE@,$MMAP_FILE,;t t
23879 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23880 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23881 s,@USE_SPEC@,$USE_SPEC,;t t
23883 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23885 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23887 s,@PAPIDIR@,$PAPIDIR,;t t
23888 s,@PURIFY@,$PURIFY,;t t
23889 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23894 cat >>$CONFIG_STATUS <<\_ACEOF
23895 # Split the substitutions into bite-sized pieces for seds with
23896 # small command number limits, like on Digital OSF/1 and HP-UX.
23897 ac_max_sed_lines=48
23898 ac_sed_frag=1 # Number of current file.
23899 ac_beg=1 # First line for current file.
23900 ac_end=$ac_max_sed_lines # Line after last line for current file.
23903 while $ac_more_lines; do
23904 if test $ac_beg -gt 1; then
23905 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23907 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23909 if test ! -s $tmp/subs.frag; then
23910 ac_more_lines=false
23912 # The purpose of the label and of the branching condition is to
23913 # speed up the sed processing (if there are no `@' at all, there
23914 # is no need to browse any of the substitutions).
23915 # These are the two extra sed commands mentioned above.
23917 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23918 if test -z "$ac_sed_cmds"; then
23919 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23921 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23923 ac_sed_frag=`expr $ac_sed_frag + 1`
23925 ac_end=`expr $ac_end + $ac_max_sed_lines`
23928 if test -z "$ac_sed_cmds"; then
23931 fi # test -n "$CONFIG_FILES"
23934 cat >>$CONFIG_STATUS <<\_ACEOF
23935 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23936 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23938 - | *:- | *:-:* ) # input from stdin
23940 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23941 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23942 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23943 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23944 * ) ac_file_in=$ac_file.in ;;
23947 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23948 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23949 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23950 X"$ac_file" : 'X\(//\)[^/]' \| \
23951 X"$ac_file" : 'X\(//\)$' \| \
23952 X"$ac_file" : 'X\(/\)' \| \
23953 . : '\(.\)' 2>/dev/null ||
23955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23957 /^X\(\/\/\)$/{ s//\1/; q; }
23958 /^X\(\/\).*/{ s//\1/; q; }
23960 { if $as_mkdir_p; then
23965 while test ! -d "$as_dir"; do
23966 as_dirs="$as_dir $as_dirs"
23967 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23968 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23969 X"$as_dir" : 'X\(//\)[^/]' \| \
23970 X"$as_dir" : 'X\(//\)$' \| \
23971 X"$as_dir" : 'X\(/\)' \| \
23972 . : '\(.\)' 2>/dev/null ||
23974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23975 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23976 /^X\(\/\/\)$/{ s//\1/; q; }
23977 /^X\(\/\).*/{ s//\1/; q; }
23980 test ! -n "$as_dirs" || mkdir $as_dirs
23981 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23982 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23983 { (exit 1); exit 1; }; }; }
23987 if test "$ac_dir" != .; then
23988 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23989 # A "../" for each directory in $ac_dir_suffix.
23990 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23992 ac_dir_suffix= ac_top_builddir=
23996 .) # No --srcdir option. We are building in place.
23998 if test -z "$ac_top_builddir"; then
24001 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24003 [\\/]* | ?:[\\/]* ) # Absolute path.
24004 ac_srcdir=$srcdir$ac_dir_suffix;
24005 ac_top_srcdir=$srcdir ;;
24006 *) # Relative path.
24007 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24008 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24010 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24012 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24013 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24014 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24015 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24019 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24020 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24023 if test x"$ac_file" != x-; then
24024 { echo "$as_me:$LINENO: creating $ac_file" >&5
24025 echo "$as_me: creating $ac_file" >&6;}
24028 # Let's still pretend it is `configure' which instantiates (i.e., don't
24029 # use $as_me), people would be surprised to read:
24030 # /* config.h. Generated by config.status. */
24031 if test x"$ac_file" = x-; then
24034 configure_input="$ac_file. "
24036 configure_input=$configure_input"Generated from `echo $ac_file_in |
24037 sed 's,.*/,,'` by configure."
24039 # First look for the input files in the build tree, otherwise in the
24041 ac_file_inputs=`IFS=:
24042 for f in $ac_file_in; do
24044 -) echo $tmp/stdin ;;
24046 # Absolute (can't be DOS-style, as IFS=:)
24047 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24048 echo "$as_me: error: cannot find input file: $f" >&2;}
24049 { (exit 1); exit 1; }; }
24052 if test -f "$f"; then
24055 elif test -f "$srcdir/$f"; then
24060 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24061 echo "$as_me: error: cannot find input file: $f" >&2;}
24062 { (exit 1); exit 1; }; }
24065 done` || { (exit 1); exit 1; }
24067 cat >>$CONFIG_STATUS <<_ACEOF
24071 cat >>$CONFIG_STATUS <<\_ACEOF
24073 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24074 s,@configure_input@,$configure_input,;t t
24075 s,@srcdir@,$ac_srcdir,;t t
24076 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24077 s,@top_srcdir@,$ac_top_srcdir,;t t
24078 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24079 s,@builddir@,$ac_builddir,;t t
24080 s,@abs_builddir@,$ac_abs_builddir,;t t
24081 s,@top_builddir@,$ac_top_builddir,;t t
24082 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24083 s,@INSTALL@,$ac_INSTALL,;t t
24084 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24086 if test x"$ac_file" != x-; then
24087 mv $tmp/out $ac_file
24095 cat >>$CONFIG_STATUS <<\_ACEOF
24098 # CONFIG_HEADER section.
24101 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24102 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24104 # ac_d sets the value in "#define NAME VALUE" lines.
24105 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24106 ac_dB='[ ].*$,\1#\2'
24109 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24110 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24111 ac_uB='$,\1#\2define\3'
24115 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24116 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24118 - | *:- | *:-:* ) # input from stdin
24120 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24121 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24122 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24123 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24124 * ) ac_file_in=$ac_file.in ;;
24127 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24128 echo "$as_me: creating $ac_file" >&6;}
24130 # First look for the input files in the build tree, otherwise in the
24132 ac_file_inputs=`IFS=:
24133 for f in $ac_file_in; do
24135 -) echo $tmp/stdin ;;
24137 # Absolute (can't be DOS-style, as IFS=:)
24138 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24139 echo "$as_me: error: cannot find input file: $f" >&2;}
24140 { (exit 1); exit 1; }; }
24143 if test -f "$f"; then
24146 elif test -f "$srcdir/$f"; then
24151 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24152 echo "$as_me: error: cannot find input file: $f" >&2;}
24153 { (exit 1); exit 1; }; }
24156 done` || { (exit 1); exit 1; }
24157 # Remove the trailing spaces.
24158 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24162 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24163 # `conftest.undefs', that substitutes the proper values into
24164 # config.h.in to produce config.h. The first handles `#define'
24165 # templates, and the second `#undef' templates.
24166 # And first: Protect against being on the right side of a sed subst in
24167 # config.status. Protect against being in an unquoted here document
24168 # in config.status.
24169 rm -f conftest.defines conftest.undefs
24170 # Using a here document instead of a string reduces the quoting nightmare.
24171 # Putting comments in sed scripts is not portable.
24173 # `end' is used to avoid that the second main sed command (meant for
24174 # 0-ary CPP macros) applies to n-ary macro definitions.
24175 # See the Autoconf documentation for `clear'.
24176 cat >confdef2sed.sed <<\_ACEOF
24181 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24183 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24186 # If some macros were called several times there might be several times
24187 # the same #defines, which is useless. Nevertheless, we may not want to
24188 # sort them, since we want the *last* AC-DEFINE to be honored.
24189 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24190 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24191 rm -f confdef2sed.sed
24193 # This sed command replaces #undef with comments. This is necessary, for
24194 # example, in the case of _POSIX_SOURCE, which is predefined and required
24195 # on some systems where configure will not decide to define it.
24196 cat >>conftest.undefs <<\_ACEOF
24197 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24200 # Break up conftest.defines because some shells have a limit on the size
24201 # of here documents, and old seds have small limits too (100 cmds).
24202 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24203 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24204 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24205 echo ' :' >>$CONFIG_STATUS
24206 rm -f conftest.tail
24207 while grep . conftest.defines >/dev/null
24209 # Write a limited-size here document to $tmp/defines.sed.
24210 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24211 # Speed up: don't consider the non `#define' lines.
24212 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24213 # Work around the forget-to-reset-the-flag bug.
24214 echo 't clr' >>$CONFIG_STATUS
24215 echo ': clr' >>$CONFIG_STATUS
24216 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24218 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24220 mv $tmp/out $tmp/in
24222 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24223 rm -f conftest.defines
24224 mv conftest.tail conftest.defines
24226 rm -f conftest.defines
24227 echo ' fi # grep' >>$CONFIG_STATUS
24228 echo >>$CONFIG_STATUS
24230 # Break up conftest.undefs because some shells have a limit on the size
24231 # of here documents, and old seds have small limits too (100 cmds).
24232 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24233 rm -f conftest.tail
24234 while grep . conftest.undefs >/dev/null
24236 # Write a limited-size here document to $tmp/undefs.sed.
24237 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24238 # Speed up: don't consider the non `#undef'
24239 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24240 # Work around the forget-to-reset-the-flag bug.
24241 echo 't clr' >>$CONFIG_STATUS
24242 echo ': clr' >>$CONFIG_STATUS
24243 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24245 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24247 mv $tmp/out $tmp/in
24249 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24250 rm -f conftest.undefs
24251 mv conftest.tail conftest.undefs
24253 rm -f conftest.undefs
24255 cat >>$CONFIG_STATUS <<\_ACEOF
24256 # Let's still pretend it is `configure' which instantiates (i.e., don't
24257 # use $as_me), people would be surprised to read:
24258 # /* config.h. Generated by config.status. */
24259 if test x"$ac_file" = x-; then
24260 echo "/* Generated by configure. */" >$tmp/config.h
24262 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24264 cat $tmp/in >>$tmp/config.h
24266 if test x"$ac_file" != x-; then
24267 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24268 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24269 echo "$as_me: $ac_file is unchanged" >&6;}
24271 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24272 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24273 X"$ac_file" : 'X\(//\)[^/]' \| \
24274 X"$ac_file" : 'X\(//\)$' \| \
24275 X"$ac_file" : 'X\(/\)' \| \
24276 . : '\(.\)' 2>/dev/null ||
24278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24279 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24280 /^X\(\/\/\)$/{ s//\1/; q; }
24281 /^X\(\/\).*/{ s//\1/; q; }
24283 { if $as_mkdir_p; then
24288 while test ! -d "$as_dir"; do
24289 as_dirs="$as_dir $as_dirs"
24290 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24292 X"$as_dir" : 'X\(//\)[^/]' \| \
24293 X"$as_dir" : 'X\(//\)$' \| \
24294 X"$as_dir" : 'X\(/\)' \| \
24295 . : '\(.\)' 2>/dev/null ||
24297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24298 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24299 /^X\(\/\/\)$/{ s//\1/; q; }
24300 /^X\(\/\).*/{ s//\1/; q; }
24303 test ! -n "$as_dirs" || mkdir $as_dirs
24304 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24305 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24306 { (exit 1); exit 1; }; }; }
24309 mv $tmp/config.h $ac_file
24313 rm -f $tmp/config.h
24317 cat >>$CONFIG_STATUS <<\_ACEOF
24320 # CONFIG_COMMANDS section.
24322 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24323 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24324 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24325 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24326 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24327 X"$ac_dest" : 'X\(//\)[^/]' \| \
24328 X"$ac_dest" : 'X\(//\)$' \| \
24329 X"$ac_dest" : 'X\(/\)' \| \
24330 . : '\(.\)' 2>/dev/null ||
24332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24333 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24334 /^X\(\/\/\)$/{ s//\1/; q; }
24335 /^X\(\/\).*/{ s//\1/; q; }
24339 if test "$ac_dir" != .; then
24340 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24341 # A "../" for each directory in $ac_dir_suffix.
24342 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24344 ac_dir_suffix= ac_top_builddir=
24348 .) # No --srcdir option. We are building in place.
24350 if test -z "$ac_top_builddir"; then
24353 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24355 [\\/]* | ?:[\\/]* ) # Absolute path.
24356 ac_srcdir=$srcdir$ac_dir_suffix;
24357 ac_top_srcdir=$srcdir ;;
24358 *) # Relative path.
24359 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24360 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24362 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24364 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24365 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24366 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24367 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24370 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24371 echo "$as_me: executing $ac_dest commands" >&6;}
24373 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24374 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24375 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24376 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24377 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24378 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24379 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24380 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24381 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24382 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24383 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24384 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24385 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24386 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24387 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24388 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24389 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24390 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24391 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24392 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24393 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24394 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24395 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/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/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;;
24425 test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;;
24426 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24427 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24428 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24429 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24430 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24431 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24432 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24433 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24434 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24435 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24436 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24437 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24438 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24439 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24440 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24441 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24442 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24443 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24444 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 ;;
24445 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 ;;
24446 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 ;;
24447 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 ;;
24448 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 ;;
24449 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 ;;
24450 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 ;;
24451 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 ;;
24452 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 ;;
24453 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 ;;
24454 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 ;;
24455 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 ;;
24456 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 ;;
24457 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 ;;
24458 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 ;;
24459 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 ;;
24460 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24461 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24462 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24463 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24464 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 ;;
24465 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 ;;
24466 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 ;;
24467 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24468 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 ;;
24469 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 ;;
24470 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 ;;
24471 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 ;;
24472 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 ;;
24473 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 ;;
24474 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 ;;
24475 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 ;;
24476 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 ;;
24477 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 ;;
24478 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 ;;
24479 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 ;;
24480 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 ;;
24481 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 ;;
24482 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 ;;
24483 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 ;;
24484 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 ;;
24485 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 ;;
24486 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 ;;
24487 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 ;;
24488 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 ;;
24489 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 ;;
24490 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 ;;
24491 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 ;;
24492 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 ;;
24493 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 ;;
24494 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 ;;
24495 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 ;;
24496 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 ;;
24497 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 ;;
24498 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 ;;
24499 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 ;;
24500 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24501 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24502 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24503 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 ;;
24504 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24505 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24506 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24507 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24508 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24509 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24510 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 ;;
24511 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 ;;
24512 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 ;;
24513 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 ;;
24514 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24515 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24516 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 ;;
24517 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/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++/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/Makefile test/Programs/SingleSource/Regression/C++/Makefile ;;
24520 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 ;;
24521 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24522 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24523 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24524 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24525 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24526 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24527 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24528 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24529 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24530 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24531 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24532 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24533 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24534 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24535 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24536 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24537 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24538 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24539 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24540 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24541 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24542 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24543 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24544 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24545 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24546 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24547 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24548 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24549 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24550 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24551 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24556 cat >>$CONFIG_STATUS <<\_ACEOF
24558 { (exit 0); exit 0; }
24560 chmod +x $CONFIG_STATUS
24561 ac_clean_files=$ac_clean_files_save
24564 # configure is writing to config.log, and then calls config.status.
24565 # config.status does its own redirection, appending to config.log.
24566 # Unfortunately, on DOS this fails, as config.log is still kept open
24567 # by configure, so config.status won't be able to write to it; its
24568 # output is simply discarded. So we exec the FD to /dev/null,
24569 # effectively closing config.log, so it can be properly (re)opened and
24570 # appended to by config.status. When coming back to configure, we
24571 # need to make the FD available again.
24572 if test "$no_create" != yes; then
24574 ac_config_status_args=
24575 test "$silent" = yes &&
24576 ac_config_status_args="$ac_config_status_args --quiet"
24578 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24580 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24581 # would make configure fail if this is the last instruction.
24582 $ac_cs_success || { (exit 1); exit 1; }
24586 # CONFIG_SUBDIRS section.
24588 if test "$no_recursion" != yes; then
24590 # Remove --cache-file and --srcdir arguments so they do not pile up.
24591 ac_sub_configure_args=
24593 for ac_arg in $ac_configure_args; do
24594 if test -n "$ac_prev"; then
24599 -cache-file | --cache-file | --cache-fil | --cache-fi \
24600 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24601 ac_prev=cache_file ;;
24602 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24603 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24606 --config-cache | -C)
24608 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24610 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24612 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24614 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24616 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24620 # Always prepend --prefix to ensure using the same prefix
24621 # in subdir configurations.
24622 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24625 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24627 # Do not complain, so a configure script can configure whichever
24628 # parts of a large source tree are present.
24629 test -d $srcdir/$ac_dir || continue
24631 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24632 echo "$as_me: configuring in $ac_dir" >&6;}
24633 { if $as_mkdir_p; then
24638 while test ! -d "$as_dir"; do
24639 as_dirs="$as_dir $as_dirs"
24640 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24641 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24642 X"$as_dir" : 'X\(//\)[^/]' \| \
24643 X"$as_dir" : 'X\(//\)$' \| \
24644 X"$as_dir" : 'X\(/\)' \| \
24645 . : '\(.\)' 2>/dev/null ||
24647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24649 /^X\(\/\/\)$/{ s//\1/; q; }
24650 /^X\(\/\).*/{ s//\1/; q; }
24653 test ! -n "$as_dirs" || mkdir $as_dirs
24654 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24655 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24656 { (exit 1); exit 1; }; }; }
24660 if test "$ac_dir" != .; then
24661 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24662 # A "../" for each directory in $ac_dir_suffix.
24663 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24665 ac_dir_suffix= ac_top_builddir=
24669 .) # No --srcdir option. We are building in place.
24671 if test -z "$ac_top_builddir"; then
24674 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24676 [\\/]* | ?:[\\/]* ) # Absolute path.
24677 ac_srcdir=$srcdir$ac_dir_suffix;
24678 ac_top_srcdir=$srcdir ;;
24679 *) # Relative path.
24680 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24681 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24683 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24685 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24686 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24687 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24688 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24693 # Check for guested configure; otherwise get Cygnus style configure.
24694 if test -f $ac_srcdir/configure.gnu; then
24695 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
24696 elif test -f $ac_srcdir/configure; then
24697 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
24698 elif test -f $ac_srcdir/configure.in; then
24699 ac_sub_configure=$ac_configure
24701 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24702 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24706 # The recursion is here.
24707 if test -n "$ac_sub_configure"; then
24708 # Make the cache file name correct relative to the subdirectory.
24709 case $cache_file in
24710 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
24711 *) # Relative path.
24712 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
24715 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24716 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24717 # The eval makes quoting arguments work.
24718 eval $ac_sub_configure $ac_sub_configure_args \
24719 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24720 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24721 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24722 { (exit 1); exit 1; }; }