2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 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.
13 # Check that we are running under the correct shell.
14 SHELL=${CONFIG_SHELL-/bin/sh}
18 # Remove one level of quotation (which was required for Make).
19 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
24 if test "X$1" = X--no-reexec; then
25 # Discard the --no-reexec flag, and continue.
27 elif test "X$1" = X--fallback-echo; then
28 # Avoid inline document here, it may be left over
30 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
31 # Yippee, $echo works!
34 # Restart under the correct shell.
35 exec $SHELL "$0" --no-reexec ${1+"$@"}
38 if test "X$1" = X--fallback-echo; then
39 # used as fallback echo
47 # The HP-UX ksh and POSIX shell print the target directory to stdout
49 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
51 if test -z "$ECHO"; then
52 if test "X${echo_test_string+set}" != Xset; then
53 # find a string as large as possible, as long as the shell can cope with it
54 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
55 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
56 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
57 echo_test_string="`eval $cmd`" &&
58 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
65 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
66 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
67 test "X$echo_testing_string" = "X$echo_test_string"; then
70 # The Solaris, AIX, and Digital Unix default echo programs unquote
71 # backslashes. This makes it impossible to quote backslashes using
72 # echo "$something" | sed 's/\\/\\\\/g'
74 # So, first we look for a working echo in the user's PATH.
76 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
77 for dir in $PATH /usr/ucb; do
79 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
80 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
81 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
82 test "X$echo_testing_string" = "X$echo_test_string"; then
89 if test "X$echo" = Xecho; then
90 # We didn't find a better echo, so look for alternatives.
91 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
92 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
93 test "X$echo_testing_string" = "X$echo_test_string"; then
94 # This shell has a builtin print -r that does the trick.
96 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
97 test "X$CONFIG_SHELL" != X/bin/ksh; then
98 # If we have ksh, try running configure again with it.
99 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
100 export ORIGINAL_CONFIG_SHELL
101 CONFIG_SHELL=/bin/ksh
103 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
107 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
108 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
109 test "X$echo_testing_string" = "X$echo_test_string"; then
112 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
113 test "X$echo_testing_string" = 'X\t' &&
114 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
115 test "X$echo_testing_string" = "X$echo_test_string"; then
116 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
118 SHELL="$CONFIG_SHELL"
120 echo="$CONFIG_SHELL $0 --fallback-echo"
121 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
122 test "X$echo_testing_string" = 'X\t' &&
123 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
124 test "X$echo_testing_string" = "X$echo_test_string"; then
125 echo="$CONFIG_SHELL $0 --fallback-echo"
127 # maybe with a smaller string...
130 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
131 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
138 if test "$prev" != 'sed 50q "$0"'; then
139 echo_test_string=`eval $prev`
140 export echo_test_string
141 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
143 # Oops. We lost completely, so just stick with echo.
152 # Copy echo and quote the copy suitably for passing to libtool from
153 # the Makefile, instead of quoting the original, which is used later.
155 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
156 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
162 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
164 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
166 if expr a : '\(a\)' >/dev/null 2>&1; then
173 ## --------------------- ##
174 ## M4sh Initialization. ##
175 ## --------------------- ##
177 # Be Bourne compatible
178 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
181 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
186 # Support unset when possible.
187 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
193 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
194 { $as_unset LANG || test "${LANG+set}" != set; } ||
195 { LANG=C; export LANG; }
196 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
197 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
198 { LC_ALL=C; export LC_ALL; }
199 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
200 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
201 { LC_TIME=C; export LC_TIME; }
202 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
203 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
204 { LC_CTYPE=C; export LC_CTYPE; }
205 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
206 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
207 { LANGUAGE=C; export LANGUAGE; }
208 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
209 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
210 { LC_COLLATE=C; export LC_COLLATE; }
211 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
212 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
213 { LC_NUMERIC=C; export LC_NUMERIC; }
214 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
215 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
216 { LC_MESSAGES=C; export LC_MESSAGES; }
219 # Name of the executable.
220 as_me=`(basename "$0") 2>/dev/null ||
221 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
222 X"$0" : 'X\(//\)$' \| \
223 X"$0" : 'X\(/\)$' \| \
224 . : '\(.\)' 2>/dev/null ||
226 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
227 /^X\/\(\/\/\)$/{ s//\1/; q; }
228 /^X\/\(\/\).*/{ s//\1/; q; }
231 # PATH needs CR, and LINENO needs CR and PATH.
232 # Avoid depending upon Character Ranges.
233 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
234 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
235 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
236 as_cr_digits='0123456789'
237 as_cr_alnum=$as_cr_Letters$as_cr_digits
239 # The user is always right.
240 if test "${PATH_SEPARATOR+set}" != set; then
241 echo "#! /bin/sh" >conftest.sh
242 echo "exit 0" >>conftest.sh
244 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
255 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
256 test "x$as_lineno_1" != "x$as_lineno_2" &&
257 test "x$as_lineno_3" = "x$as_lineno_2" || {
258 # Find who we are. Look in the path if we contain no path at all
261 *[\\/]* ) as_myself=$0 ;;
262 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
266 test -z "$as_dir" && as_dir=.
267 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
272 # We did not find ourselves, most probably we were run as `sh COMMAND'
273 # in which case we are not to be found in the path.
274 if test "x$as_myself" = x; then
277 if test ! -f "$as_myself"; then
278 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
279 { (exit 1); exit 1; }; }
281 case $CONFIG_SHELL in
283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
284 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
287 test -z "$as_dir" && as_dir=.
288 for as_base in sh bash ksh sh5; do
291 if ("$as_dir/$as_base" -c '
294 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
295 test "x$as_lineno_1" != "x$as_lineno_2" &&
296 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
297 CONFIG_SHELL=$as_dir/$as_base
299 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
307 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
308 # uniformly replaced by the line number. The first 'sed' inserts a
309 # line-number line before each line; the second 'sed' does the real
310 # work. The second script uses 'N' to pair each line-number line
311 # with the numbered line, and appends trailing '-' during
312 # substitution so that $LINENO is not a special case at line end.
313 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
314 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
315 sed '=' <$as_myself |
320 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
323 s,^['$as_cr_digits']*\n,,
325 chmod +x $as_me.lineno ||
326 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
327 { (exit 1); exit 1; }; }
329 # Don't try to exec as it changes $[0], causing all sort of problems
330 # (the dirname of $[0] is not the place where we might find the
331 # original and so on. Autoconf is especially sensible to this).
333 # Exit status is that of the last command.
338 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
339 *c*,-n*) ECHO_N= ECHO_C='
341 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
342 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
345 if expr a : '\(a\)' >/dev/null 2>&1; then
351 rm -f conf$$ conf$$.exe conf$$.file
353 if ln -s conf$$.file conf$$ 2>/dev/null; then
354 # We could just check for DJGPP; but this test a) works b) is more generic
355 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
356 if test -f conf$$.exe; then
357 # Don't use ln at all; we don't have any links
362 elif ln conf$$.file conf$$ 2>/dev/null; then
367 rm -f conf$$ conf$$.exe conf$$.file
369 as_executable_p="test -f"
371 # Sed expression to map a string onto a valid CPP name.
372 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
374 # Sed expression to map a string onto a valid variable name.
375 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
379 # We need space, tab and new line, in precisely that order.
385 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
389 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
390 # so uname gets run too.
391 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
398 ac_default_prefix=/usr/local
403 SHELL=${CONFIG_SHELL-/bin/sh}
405 # Maximum number of lines to put in a shell here document.
406 # This variable seems obsolete. It should probably be removed, and
407 # only ac_max_sed_lines should be used.
408 : ${ac_max_here_lines=38}
410 # Identity of this package.
411 PACKAGE_NAME='[LLVM]'
412 PACKAGE_TARNAME='--llvm--'
413 PACKAGE_VERSION='[1.0]'
414 PACKAGE_STRING='[LLVM] [1.0]'
415 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
417 # Factoring default headers for most tests.
418 ac_includes_default="\
421 # include <sys/types.h>
424 # include <sys/stat.h>
435 # if !STDC_HEADERS && HAVE_MEMORY_H
441 # include <strings.h>
444 # include <inttypes.h>
454 ac_unique_file=""Makefile.config.in""
456 # Initialize some variables set by options.
458 ac_init_version=false
459 # The variables have the same names as the options, with
460 # dashes changed to underlines.
468 program_transform_name=s,x,x,
476 # Installation directory options.
477 # These are left unexpanded so users can "make install exec_prefix=/foo"
478 # and all the variables that are supposed to be based on exec_prefix
479 # by default will actually change.
480 # Use braces instead of parens because sh, perl, etc. also accept them.
481 bindir='${exec_prefix}/bin'
482 sbindir='${exec_prefix}/sbin'
483 libexecdir='${exec_prefix}/libexec'
484 datadir='${prefix}/share'
485 sysconfdir='${prefix}/etc'
486 sharedstatedir='${prefix}/com'
487 localstatedir='${prefix}/var'
488 libdir='${exec_prefix}/lib'
489 includedir='${prefix}/include'
490 oldincludedir='/usr/include'
491 infodir='${prefix}/info'
492 mandir='${prefix}/man'
497 # If the previous option needs an argument, assign it.
498 if test -n "$ac_prev"; then
499 eval "$ac_prev=\$ac_option"
504 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
506 # Accept the important Cygnus configure options, so we can diagnose typos.
510 -bindir | --bindir | --bindi | --bind | --bin | --bi)
512 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
515 -build | --build | --buil | --bui | --bu)
516 ac_prev=build_alias ;;
517 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
518 build_alias=$ac_optarg ;;
520 -cache-file | --cache-file | --cache-fil | --cache-fi \
521 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
522 ac_prev=cache_file ;;
523 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
524 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
525 cache_file=$ac_optarg ;;
528 cache_file=config.cache ;;
530 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
532 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
534 datadir=$ac_optarg ;;
536 -disable-* | --disable-*)
537 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
538 # Reject names that are not valid shell variable names.
539 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
540 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
541 { (exit 1); exit 1; }; }
542 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
543 eval "enable_$ac_feature=no" ;;
545 -enable-* | --enable-*)
546 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
553 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
556 eval "enable_$ac_feature='$ac_optarg'" ;;
558 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
559 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
560 | --exec | --exe | --ex)
561 ac_prev=exec_prefix ;;
562 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
563 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
564 | --exec=* | --exe=* | --ex=*)
565 exec_prefix=$ac_optarg ;;
567 -gas | --gas | --ga | --g)
568 # Obsolete; use --with-gas.
571 -help | --help | --hel | --he | -h)
573 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
574 ac_init_help=recursive ;;
575 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
576 ac_init_help=short ;;
578 -host | --host | --hos | --ho)
579 ac_prev=host_alias ;;
580 -host=* | --host=* | --hos=* | --ho=*)
581 host_alias=$ac_optarg ;;
583 -includedir | --includedir | --includedi | --included | --include \
584 | --includ | --inclu | --incl | --inc)
585 ac_prev=includedir ;;
586 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
587 | --includ=* | --inclu=* | --incl=* | --inc=*)
588 includedir=$ac_optarg ;;
590 -infodir | --infodir | --infodi | --infod | --info | --inf)
592 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
593 infodir=$ac_optarg ;;
595 -libdir | --libdir | --libdi | --libd)
597 -libdir=* | --libdir=* | --libdi=* | --libd=*)
600 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
601 | --libexe | --libex | --libe)
602 ac_prev=libexecdir ;;
603 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
604 | --libexe=* | --libex=* | --libe=*)
605 libexecdir=$ac_optarg ;;
607 -localstatedir | --localstatedir | --localstatedi | --localstated \
608 | --localstate | --localstat | --localsta | --localst \
609 | --locals | --local | --loca | --loc | --lo)
610 ac_prev=localstatedir ;;
611 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
612 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
613 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
614 localstatedir=$ac_optarg ;;
616 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
618 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
622 # Obsolete; use --without-fp.
625 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
626 | --no-cr | --no-c | -n)
629 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
630 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
633 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
634 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
635 | --oldin | --oldi | --old | --ol | --o)
636 ac_prev=oldincludedir ;;
637 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
638 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
639 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
640 oldincludedir=$ac_optarg ;;
642 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
644 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
647 -program-prefix | --program-prefix | --program-prefi | --program-pref \
648 | --program-pre | --program-pr | --program-p)
649 ac_prev=program_prefix ;;
650 -program-prefix=* | --program-prefix=* | --program-prefi=* \
651 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
652 program_prefix=$ac_optarg ;;
654 -program-suffix | --program-suffix | --program-suffi | --program-suff \
655 | --program-suf | --program-su | --program-s)
656 ac_prev=program_suffix ;;
657 -program-suffix=* | --program-suffix=* | --program-suffi=* \
658 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
659 program_suffix=$ac_optarg ;;
661 -program-transform-name | --program-transform-name \
662 | --program-transform-nam | --program-transform-na \
663 | --program-transform-n | --program-transform- \
664 | --program-transform | --program-transfor \
665 | --program-transfo | --program-transf \
666 | --program-trans | --program-tran \
667 | --progr-tra | --program-tr | --program-t)
668 ac_prev=program_transform_name ;;
669 -program-transform-name=* | --program-transform-name=* \
670 | --program-transform-nam=* | --program-transform-na=* \
671 | --program-transform-n=* | --program-transform-=* \
672 | --program-transform=* | --program-transfor=* \
673 | --program-transfo=* | --program-transf=* \
674 | --program-trans=* | --program-tran=* \
675 | --progr-tra=* | --program-tr=* | --program-t=*)
676 program_transform_name=$ac_optarg ;;
678 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
679 | -silent | --silent | --silen | --sile | --sil)
682 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
684 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
686 sbindir=$ac_optarg ;;
688 -sharedstatedir | --sharedstatedir | --sharedstatedi \
689 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
690 | --sharedst | --shareds | --shared | --share | --shar \
692 ac_prev=sharedstatedir ;;
693 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
694 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
695 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
697 sharedstatedir=$ac_optarg ;;
699 -site | --site | --sit)
701 -site=* | --site=* | --sit=*)
704 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
706 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
709 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
710 | --syscon | --sysco | --sysc | --sys | --sy)
711 ac_prev=sysconfdir ;;
712 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
713 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
714 sysconfdir=$ac_optarg ;;
716 -target | --target | --targe | --targ | --tar | --ta | --t)
717 ac_prev=target_alias ;;
718 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
719 target_alias=$ac_optarg ;;
721 -v | -verbose | --verbose | --verbos | --verbo | --verb)
724 -version | --version | --versio | --versi | --vers | -V)
728 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
729 # Reject names that are not valid shell variable names.
730 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
731 { echo "$as_me: error: invalid package name: $ac_package" >&2
732 { (exit 1); exit 1; }; }
733 ac_package=`echo $ac_package| sed 's/-/_/g'`
735 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
738 eval "with_$ac_package='$ac_optarg'" ;;
740 -without-* | --without-*)
741 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
742 # Reject names that are not valid shell variable names.
743 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
744 { echo "$as_me: error: invalid package name: $ac_package" >&2
745 { (exit 1); exit 1; }; }
746 ac_package=`echo $ac_package | sed 's/-/_/g'`
747 eval "with_$ac_package=no" ;;
750 # Obsolete; use --with-x.
753 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
754 | --x-incl | --x-inc | --x-in | --x-i)
755 ac_prev=x_includes ;;
756 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
757 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
758 x_includes=$ac_optarg ;;
760 -x-libraries | --x-libraries | --x-librarie | --x-librari \
761 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
762 ac_prev=x_libraries ;;
763 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
764 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
765 x_libraries=$ac_optarg ;;
767 -*) { echo "$as_me: error: unrecognized option: $ac_option
768 Try \`$0 --help' for more information." >&2
769 { (exit 1); exit 1; }; }
773 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
774 # Reject names that are not valid shell variable names.
775 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
776 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
777 { (exit 1); exit 1; }; }
778 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
779 eval "$ac_envvar='$ac_optarg'"
783 # FIXME: should be removed in autoconf 3.0.
784 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
785 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
786 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
787 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
793 if test -n "$ac_prev"; then
794 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
795 { echo "$as_me: error: missing argument to $ac_option" >&2
796 { (exit 1); exit 1; }; }
799 # Be sure to have absolute paths.
800 for ac_var in exec_prefix prefix
802 eval ac_val=$`echo $ac_var`
804 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
805 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
806 { (exit 1); exit 1; }; };;
810 # Be sure to have absolute paths.
811 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
812 localstatedir libdir includedir oldincludedir infodir mandir
814 eval ac_val=$`echo $ac_var`
816 [\\/$]* | ?:[\\/]* ) ;;
817 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
818 { (exit 1); exit 1; }; };;
822 # There might be people who depend on the old broken behavior: `$host'
823 # used to hold the argument of --host etc.
824 # FIXME: To remove some day.
829 # FIXME: To remove some day.
830 if test "x$host_alias" != x; then
831 if test "x$build_alias" = x; then
832 cross_compiling=maybe
833 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
834 If a cross compiler is detected then cross compile mode will be used." >&2
835 elif test "x$build_alias" != "x$host_alias"; then
841 test -n "$host_alias" && ac_tool_prefix=$host_alias-
843 test "$silent" = yes && exec 6>/dev/null
846 # Find the source files, if location was not specified.
847 if test -z "$srcdir"; then
848 ac_srcdir_defaulted=yes
849 # Try the directory containing this script, then its parent.
850 ac_confdir=`(dirname "$0") 2>/dev/null ||
851 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
852 X"$0" : 'X\(//\)[^/]' \| \
853 X"$0" : 'X\(//\)$' \| \
854 X"$0" : 'X\(/\)' \| \
855 . : '\(.\)' 2>/dev/null ||
857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
858 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
859 /^X\(\/\/\)$/{ s//\1/; q; }
860 /^X\(\/\).*/{ s//\1/; q; }
863 if test ! -r $srcdir/$ac_unique_file; then
867 ac_srcdir_defaulted=no
869 if test ! -r $srcdir/$ac_unique_file; then
870 if test "$ac_srcdir_defaulted" = yes; then
871 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
872 { (exit 1); exit 1; }; }
874 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
875 { (exit 1); exit 1; }; }
878 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
879 ac_env_build_alias_set=${build_alias+set}
880 ac_env_build_alias_value=$build_alias
881 ac_cv_env_build_alias_set=${build_alias+set}
882 ac_cv_env_build_alias_value=$build_alias
883 ac_env_host_alias_set=${host_alias+set}
884 ac_env_host_alias_value=$host_alias
885 ac_cv_env_host_alias_set=${host_alias+set}
886 ac_cv_env_host_alias_value=$host_alias
887 ac_env_target_alias_set=${target_alias+set}
888 ac_env_target_alias_value=$target_alias
889 ac_cv_env_target_alias_set=${target_alias+set}
890 ac_cv_env_target_alias_value=$target_alias
891 ac_env_CXX_set=${CXX+set}
892 ac_env_CXX_value=$CXX
893 ac_cv_env_CXX_set=${CXX+set}
894 ac_cv_env_CXX_value=$CXX
895 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
896 ac_env_CXXFLAGS_value=$CXXFLAGS
897 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
898 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
899 ac_env_LDFLAGS_set=${LDFLAGS+set}
900 ac_env_LDFLAGS_value=$LDFLAGS
901 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
902 ac_cv_env_LDFLAGS_value=$LDFLAGS
903 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
904 ac_env_CPPFLAGS_value=$CPPFLAGS
905 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
906 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
907 ac_env_CC_set=${CC+set}
909 ac_cv_env_CC_set=${CC+set}
910 ac_cv_env_CC_value=$CC
911 ac_env_CFLAGS_set=${CFLAGS+set}
912 ac_env_CFLAGS_value=$CFLAGS
913 ac_cv_env_CFLAGS_set=${CFLAGS+set}
914 ac_cv_env_CFLAGS_value=$CFLAGS
915 ac_env_CPP_set=${CPP+set}
916 ac_env_CPP_value=$CPP
917 ac_cv_env_CPP_set=${CPP+set}
918 ac_cv_env_CPP_value=$CPP
919 ac_env_CXXCPP_set=${CXXCPP+set}
920 ac_env_CXXCPP_value=$CXXCPP
921 ac_cv_env_CXXCPP_set=${CXXCPP+set}
922 ac_cv_env_CXXCPP_value=$CXXCPP
923 ac_env_F77_set=${F77+set}
924 ac_env_F77_value=$F77
925 ac_cv_env_F77_set=${F77+set}
926 ac_cv_env_F77_value=$F77
927 ac_env_FFLAGS_set=${FFLAGS+set}
928 ac_env_FFLAGS_value=$FFLAGS
929 ac_cv_env_FFLAGS_set=${FFLAGS+set}
930 ac_cv_env_FFLAGS_value=$FFLAGS
933 # Report the --help message.
935 if test "$ac_init_help" = "long"; then
936 # Omit some internal or obsolete options to make the list less imposing.
937 # This message is too long to be a string in the A/UX 3.1 sh.
939 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
941 Usage: $0 [OPTION]... [VAR=VALUE]...
943 To assign environment variables (e.g., CC, CFLAGS...), specify them as
944 VAR=VALUE. See below for descriptions of some of the useful variables.
946 Defaults for the options are specified in brackets.
949 -h, --help display this help and exit
950 --help=short display options specific to this package
951 --help=recursive display the short help of all the included packages
952 -V, --version display version information and exit
953 -q, --quiet, --silent do not print \`checking...' messages
954 --cache-file=FILE cache test results in FILE [disabled]
955 -C, --config-cache alias for \`--cache-file=config.cache'
956 -n, --no-create do not create output files
957 --srcdir=DIR find the sources in DIR [configure dir or \`..']
962 Installation directories:
963 --prefix=PREFIX install architecture-independent files in PREFIX
965 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
968 By default, \`make install' will install all the files in
969 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
970 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
971 for instance \`--prefix=\$HOME'.
973 For better control, use the options below.
975 Fine tuning of the installation directories:
976 --bindir=DIR user executables [EPREFIX/bin]
977 --sbindir=DIR system admin executables [EPREFIX/sbin]
978 --libexecdir=DIR program executables [EPREFIX/libexec]
979 --datadir=DIR read-only architecture-independent data [PREFIX/share]
980 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
981 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
982 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
983 --libdir=DIR object code libraries [EPREFIX/lib]
984 --includedir=DIR C header files [PREFIX/include]
985 --oldincludedir=DIR C header files for non-gcc [/usr/include]
986 --infodir=DIR info documentation [PREFIX/info]
987 --mandir=DIR man documentation [PREFIX/man]
993 --build=BUILD configure for building on BUILD [guessed]
994 --host=HOST cross-compile to build programs to run on HOST [BUILD]
995 --target=TARGET configure for building compilers for TARGET [HOST]
999 if test -n "$ac_init_help"; then
1000 case $ac_init_help in
1001 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1006 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1007 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1008 --enable-shared[=PKGS]
1009 build shared libraries [default=yes]
1010 --enable-static[=PKGS]
1011 build static libraries [default=yes]
1012 --enable-fast-install[=PKGS]
1013 optimize for fast installation [default=yes]
1014 --disable-libtool-lock avoid locking (might break parallel builds)
1015 --enable-purify Compile with purify (default is NO)
1016 --enable-optimized Compile with optimizations enabled (default is NO)
1017 --enable-spec Compile SPEC benchmarks (default is NO)
1018 --enable-precompiled_bytecode
1019 Use pre-compiled bytecode (default is NO)
1020 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1021 --enable-jit Enable Just In Time Compiling (default is YES)
1024 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1025 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1026 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1027 --with-pic try to use only PIC/non-PIC objects [default=use
1030 include additional configurations [automatic]
1031 --with-spec Location of SPEC benchmarks
1032 --with-llvmgccdir Location of LLVM GCC front-end
1033 --with-bcrepos Location of Bytecode Repository
1034 --with-papi Location of PAPI
1035 --with-purify Location of purify program
1037 Some influential environment variables:
1038 CXX C++ compiler command
1039 CXXFLAGS C++ compiler flags
1040 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1041 nonstandard directory <lib dir>
1042 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1043 headers in a nonstandard directory <include dir>
1044 CC C compiler command
1045 CFLAGS C compiler flags
1047 CXXCPP C++ preprocessor
1048 F77 Fortran 77 compiler command
1049 FFLAGS Fortran 77 compiler flags
1051 Use these variables to override the choices made by `configure' or to help
1052 it to find libraries and programs with nonstandard names/locations.
1054 Report bugs to <llvmbugs@cs.uiuc.edu>.
1058 if test "$ac_init_help" = "recursive"; then
1059 # If there are subdirs, report their specific --help.
1061 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1062 test -d $ac_dir || continue
1065 if test "$ac_dir" != .; then
1066 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1067 # A "../" for each directory in $ac_dir_suffix.
1068 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1070 ac_dir_suffix= ac_top_builddir=
1074 .) # No --srcdir option. We are building in place.
1076 if test -z "$ac_top_builddir"; then
1079 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1081 [\\/]* | ?:[\\/]* ) # Absolute path.
1082 ac_srcdir=$srcdir$ac_dir_suffix;
1083 ac_top_srcdir=$srcdir ;;
1085 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1086 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1088 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1090 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1091 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
1092 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1093 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1096 # Check for guested configure; otherwise get Cygnus style configure.
1097 if test -f $ac_srcdir/configure.gnu; then
1099 $SHELL $ac_srcdir/configure.gnu --help=recursive
1100 elif test -f $ac_srcdir/configure; then
1102 $SHELL $ac_srcdir/configure --help=recursive
1103 elif test -f $ac_srcdir/configure.ac ||
1104 test -f $ac_srcdir/configure.in; then
1106 $ac_configure --help
1108 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1114 test -n "$ac_init_help" && exit 0
1115 if $ac_init_version; then
1117 [LLVM] configure [1.0]
1118 generated by GNU Autoconf 2.53
1120 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1121 Free Software Foundation, Inc.
1122 This configure script is free software; the Free Software Foundation
1123 gives unlimited permission to copy, distribute and modify it.
1129 This file contains any messages produced by compilers while
1130 running configure, to aid debugging if configure makes a mistake.
1132 It was created by [LLVM] $as_me [1.0], which was
1133 generated by GNU Autoconf 2.53. Invocation command line was
1144 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1145 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1146 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1147 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1148 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1150 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1151 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1153 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1154 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1155 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1156 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1157 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1158 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1159 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1167 test -z "$as_dir" && as_dir=.
1168 echo "PATH: $as_dir"
1183 # Keep a trace of the command line.
1184 # Strip out --no-create and --no-recursion so they do not pile up.
1185 # Also quote any args containing shell meta-characters.
1191 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1192 | --no-cr | --no-c | -n ) continue ;;
1193 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1194 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1196 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1197 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1199 case " $ac_configure_args " in
1200 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1201 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1204 # Get rid of the leading space.
1207 # When interrupted or exit'd, cleanup temporary files, and complete
1208 # config.log. We remove comments because anyway the quotes in there
1209 # would cause problems or look ugly.
1210 # WARNING: Be sure not to use single quotes in there, as some shells,
1211 # such as our DU 5.0 friend, will then `close' the trap.
1212 trap 'exit_status=$?
1213 # Save into config.log some information that might help in debugging.
1217 ## ---------------- ##
1218 ## Cache variables. ##
1219 ## ---------------- ##
1222 # The following way of writing the cache mishandles newlines in values,
1225 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1228 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1233 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1238 if test -s confdefs.h; then
1245 sed "/^$/d" confdefs.h
1248 test "$ac_signal" != 0 &&
1249 echo "$as_me: caught signal $ac_signal"
1250 echo "$as_me: exit $exit_status"
1252 rm -f core core.* *.core &&
1253 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1256 for ac_signal in 1 2 13 15; do
1257 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1261 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1262 rm -rf conftest* confdefs.h
1263 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1266 # Predefined preprocessor variables.
1268 cat >>confdefs.h <<_ACEOF
1269 #define PACKAGE_NAME "$PACKAGE_NAME"
1273 cat >>confdefs.h <<_ACEOF
1274 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1278 cat >>confdefs.h <<_ACEOF
1279 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1283 cat >>confdefs.h <<_ACEOF
1284 #define PACKAGE_STRING "$PACKAGE_STRING"
1288 cat >>confdefs.h <<_ACEOF
1289 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1293 # Let the site file select an alternate cache file if it wants to.
1294 # Prefer explicitly selected file to automatically selected ones.
1295 if test -z "$CONFIG_SITE"; then
1296 if test "x$prefix" != xNONE; then
1297 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1299 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1302 for ac_site_file in $CONFIG_SITE; do
1303 if test -r "$ac_site_file"; then
1304 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1305 echo "$as_me: loading site script $ac_site_file" >&6;}
1306 sed 's/^/| /' "$ac_site_file" >&5
1311 if test -r "$cache_file"; then
1312 # Some versions of bash will fail to source /dev/null (special
1313 # files actually), so we avoid doing that.
1314 if test -f "$cache_file"; then
1315 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1316 echo "$as_me: loading cache $cache_file" >&6;}
1318 [\\/]* | ?:[\\/]* ) . $cache_file;;
1319 *) . ./$cache_file;;
1323 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1324 echo "$as_me: creating cache $cache_file" >&6;}
1328 # Check that the precious variables saved in the cache have kept the same
1330 ac_cache_corrupted=false
1331 for ac_var in `(set) 2>&1 |
1332 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1333 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1334 eval ac_new_set=\$ac_env_${ac_var}_set
1335 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1336 eval ac_new_val="\$ac_env_${ac_var}_value"
1337 case $ac_old_set,$ac_new_set in
1339 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1340 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1341 ac_cache_corrupted=: ;;
1343 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1344 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1345 ac_cache_corrupted=: ;;
1348 if test "x$ac_old_val" != "x$ac_new_val"; then
1349 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1350 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1351 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1352 echo "$as_me: former value: $ac_old_val" >&2;}
1353 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1354 echo "$as_me: current value: $ac_new_val" >&2;}
1355 ac_cache_corrupted=:
1358 # Pass precious variables to config.status.
1359 if test "$ac_new_set" = set; then
1361 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1362 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1363 *) ac_arg=$ac_var=$ac_new_val ;;
1365 case " $ac_configure_args " in
1366 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1367 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1371 if $ac_cache_corrupted; then
1372 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1373 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1374 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1375 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1376 { (exit 1); exit 1; }; }
1380 ac_cpp='$CPP $CPPFLAGS'
1381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1412 for ac_dir in autoconf $srcdir/autoconf; do
1413 if test -f $ac_dir/install-sh; then
1415 ac_install_sh="$ac_aux_dir/install-sh -c"
1417 elif test -f $ac_dir/install.sh; then
1419 ac_install_sh="$ac_aux_dir/install.sh -c"
1421 elif test -f $ac_dir/shtool; then
1423 ac_install_sh="$ac_aux_dir/shtool install -c"
1427 if test -z "$ac_aux_dir"; then
1428 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1429 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1430 { (exit 1); exit 1; }; }
1432 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1433 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1434 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1437 ac_config_headers="$ac_config_headers include/Config/config.h"
1439 ac_config_commands="$ac_config_commands Makefile"
1442 ac_config_commands="$ac_config_commands Makefile.common"
1445 ac_config_commands="$ac_config_commands Makefile.rules"
1448 ac_config_commands="$ac_config_commands lib/Makefile"
1451 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1454 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1457 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1460 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1463 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1466 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1469 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1472 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1475 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1478 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1481 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1484 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1487 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1490 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1493 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1496 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1499 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1502 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1505 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1508 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1511 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1514 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1517 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1520 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1523 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1526 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1529 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1532 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1535 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1538 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1541 ac_config_commands="$ac_config_commands runtime/Makefile"
1544 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1547 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1550 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1553 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1556 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1559 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1562 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1565 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1568 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1571 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1574 ac_config_commands="$ac_config_commands test/Makefile"
1577 ac_config_commands="$ac_config_commands test/Makefile.tests"
1580 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1583 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1586 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1589 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1592 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1595 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1598 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1601 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1604 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1607 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1610 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1613 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1616 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1619 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1622 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1625 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1628 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1631 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1634 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1637 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1640 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1643 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1646 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1649 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1652 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1655 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1658 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1661 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1664 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1667 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1670 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1673 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1676 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1679 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1682 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1685 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1688 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Burg/Makefile"
1691 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Fhourstones/Makefile"
1694 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/Makefile"
1697 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/01-qbsort/Makefile"
1700 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/03-testtrie/Makefile"
1703 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/04-bisect/Makefile"
1706 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/05-eks/Makefile"
1709 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/08-main/Makefile"
1712 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/09-vor/Makefile"
1715 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/12-IOtest/Makefile"
1718 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/15-trie/Makefile"
1721 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/17-bintr/Makefile"
1724 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/18-imp/Makefile"
1727 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/Makefile"
1730 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/bh/Makefile"
1733 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/bisort/Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/em3d/Makefile"
1739 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/health/Makefile"
1742 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/mst/Makefile"
1745 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/perimeter/Makefile"
1748 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/power/Makefile"
1751 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/treeadd/Makefile"
1754 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/tsp/Makefile"
1757 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/voronoi/Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/MultiSource/OptimizerEval/Makefile"
1763 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/Makefile"
1766 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/anagram/Makefile"
1769 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/bc/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/ft/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/ks/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/yacr2/Makefile"
1781 ac_config_commands="$ac_config_commands test/Programs/MultiSource/aha/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/MultiSource/llubenchmark/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/MultiSource/sgefa/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/MultiSource/sim/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1817 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Shootout/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Stanford/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1829 ac_config_commands="$ac_config_commands tools/Makefile"
1832 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1835 ac_config_commands="$ac_config_commands tools/as/Makefile"
1838 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1841 ac_config_commands="$ac_config_commands tools/dis/Makefile"
1844 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1847 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1850 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1853 ac_config_commands="$ac_config_commands tools/link/Makefile"
1856 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1859 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1862 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1865 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1868 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1871 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1874 ac_config_commands="$ac_config_commands utils/Makefile"
1877 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
1880 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
1883 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
1886 ac_config_commands="$ac_config_commands www/docs/Makefile"
1889 ac_config_commands="$ac_config_commands projects/Makefile"
1892 ac_config_commands="$ac_config_commands projects/sample/Makefile"
1895 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
1898 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
1901 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
1904 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
1907 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
1910 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
1913 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
1916 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
1919 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
1922 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
1927 # Find a good install program. We prefer a C program (faster),
1928 # so one script is as good as another. But avoid the broken or
1929 # incompatible versions:
1930 # SysV /etc/install, /usr/sbin/install
1931 # SunOS /usr/etc/install
1932 # IRIX /sbin/install
1934 # AmigaOS /C/install, which installs bootblocks on floppy discs
1935 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1936 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1937 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1938 # ./install, which can be erroneously created by make from ./install.sh.
1939 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1940 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1941 if test -z "$INSTALL"; then
1942 if test "${ac_cv_path_install+set}" = set; then
1943 echo $ECHO_N "(cached) $ECHO_C" >&6
1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1949 test -z "$as_dir" && as_dir=.
1950 # Account for people who put trailing slashes in PATH elements.
1952 ./ | .// | /cC/* | \
1953 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1956 # OSF1 and SCO ODT 3.0 have their own names for install.
1957 # Don't use installbsd from OSF since it installs stuff as root
1959 for ac_prog in ginstall scoinst install; do
1960 for ac_exec_ext in '' $ac_executable_extensions; do
1961 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1962 if test $ac_prog = install &&
1963 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1964 # AIX install. It has an incompatible calling convention.
1966 elif test $ac_prog = install &&
1967 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1968 # program-specific install script used by HP pwplus--don't use.
1971 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1983 if test "${ac_cv_path_install+set}" = set; then
1984 INSTALL=$ac_cv_path_install
1986 # As a last resort, use the slow shell script. We don't cache a
1987 # path for INSTALL within a source directory, because that will
1988 # break other packages using the cache if that directory is
1989 # removed, or if the path is relative.
1990 INSTALL=$ac_install_sh
1993 echo "$as_me:$LINENO: result: $INSTALL" >&5
1994 echo "${ECHO_T}$INSTALL" >&6
1996 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1997 # It thinks the first close brace ends the variable substitution.
1998 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2000 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2002 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2005 # Make sure we can run config.sub.
2006 $ac_config_sub sun4 >/dev/null 2>&1 ||
2007 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2008 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2009 { (exit 1); exit 1; }; }
2011 echo "$as_me:$LINENO: checking build system type" >&5
2012 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2013 if test "${ac_cv_build+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 ac_cv_build_alias=$build_alias
2017 test -z "$ac_cv_build_alias" &&
2018 ac_cv_build_alias=`$ac_config_guess`
2019 test -z "$ac_cv_build_alias" &&
2020 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2021 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2022 { (exit 1); exit 1; }; }
2023 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2024 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2025 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2026 { (exit 1); exit 1; }; }
2029 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2030 echo "${ECHO_T}$ac_cv_build" >&6
2032 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2033 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2034 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2037 echo "$as_me:$LINENO: checking host system type" >&5
2038 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2039 if test "${ac_cv_host+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 ac_cv_host_alias=$host_alias
2043 test -z "$ac_cv_host_alias" &&
2044 ac_cv_host_alias=$ac_cv_build_alias
2045 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2046 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2047 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2048 { (exit 1); exit 1; }; }
2051 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2052 echo "${ECHO_T}$ac_cv_host" >&6
2054 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2055 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2056 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2059 echo "$as_me:$LINENO: checking target system type" >&5
2060 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2061 if test "${ac_cv_target+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 ac_cv_target_alias=$target_alias
2065 test "x$ac_cv_target_alias" = "x" &&
2066 ac_cv_target_alias=$ac_cv_host_alias
2067 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2068 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2069 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2070 { (exit 1); exit 1; }; }
2073 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2074 echo "${ECHO_T}$ac_cv_target" >&6
2075 target=$ac_cv_target
2076 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2077 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2078 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2081 # The aliases save the names the user supplied, while $host etc.
2082 # will get canonicalized.
2083 test -n "$target_alias" &&
2084 test "$program_prefix$program_suffix$program_transform_name" = \
2086 program_prefix=${target_alias}-
2091 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2097 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2107 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2116 *sparc*solaris*) ARCH=Sparc
2123 ac_cpp='$CXXCPP $CPPFLAGS'
2124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2127 if test -n "$ac_tool_prefix"; then
2128 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2130 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2131 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2132 echo "$as_me:$LINENO: checking for $ac_word" >&5
2133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2134 if test "${ac_cv_prog_CXX+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 if test -n "$CXX"; then
2138 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 test -z "$as_dir" && as_dir=.
2145 for ac_exec_ext in '' $ac_executable_extensions; do
2146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2147 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2157 if test -n "$CXX"; then
2158 echo "$as_me:$LINENO: result: $CXX" >&5
2159 echo "${ECHO_T}$CXX" >&6
2161 echo "$as_me:$LINENO: result: no" >&5
2162 echo "${ECHO_T}no" >&6
2165 test -n "$CXX" && break
2168 if test -z "$CXX"; then
2170 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2172 # Extract the first word of "$ac_prog", so it can be a program name with args.
2173 set dummy $ac_prog; ac_word=$2
2174 echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2176 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 if test -n "$ac_ct_CXX"; then
2180 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2186 test -z "$as_dir" && as_dir=.
2187 for ac_exec_ext in '' $ac_executable_extensions; do
2188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2189 ac_cv_prog_ac_ct_CXX="$ac_prog"
2190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2199 if test -n "$ac_ct_CXX"; then
2200 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2201 echo "${ECHO_T}$ac_ct_CXX" >&6
2203 echo "$as_me:$LINENO: result: no" >&5
2204 echo "${ECHO_T}no" >&6
2207 test -n "$ac_ct_CXX" && break
2209 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2215 # Provide some information about the compiler.
2216 echo "$as_me:$LINENO:" \
2217 "checking for C++ compiler version" >&5
2218 ac_compiler=`set X $ac_compile; echo $2`
2219 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2220 (eval $ac_compiler --version </dev/null >&5) 2>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }
2224 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2225 (eval $ac_compiler -v </dev/null >&5) 2>&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); }
2229 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2230 (eval $ac_compiler -V </dev/null >&5) 2>&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }
2235 cat >conftest.$ac_ext <<_ACEOF
2236 #line $LINENO "configure"
2237 #include "confdefs.h"
2239 #ifdef F77_DUMMY_MAIN
2243 int F77_DUMMY_MAIN() { return 1; }
2253 ac_clean_files_save=$ac_clean_files
2254 ac_clean_files="$ac_clean_files a.out a.exe"
2255 # Try to create an executable without -o first, disregard a.out.
2256 # It will help us diagnose broken compilers, and finding out an intuition
2258 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2259 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2260 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2261 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2262 (eval $ac_link_default) 2>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; then
2266 # Find the output, starting from the most likely. This scheme is
2267 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2270 # Be careful to initialize this variable, since it used to be cached.
2271 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2273 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2274 ls a.out conftest 2>/dev/null;
2275 ls a.* conftest.* 2>/dev/null`; do
2277 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2278 a.out ) # We found the default executable, but exeext='' is most
2281 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2282 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2289 echo "$as_me: failed program was:" >&5
2290 cat conftest.$ac_ext >&5
2291 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables" >&5
2292 echo "$as_me: error: C++ compiler cannot create executables" >&2;}
2293 { (exit 77); exit 77; }; }
2296 ac_exeext=$ac_cv_exeext
2297 echo "$as_me:$LINENO: result: $ac_file" >&5
2298 echo "${ECHO_T}$ac_file" >&6
2300 # Check the compiler produces executables we can run. If not, either
2301 # the compiler is broken, or we cross compile.
2302 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2303 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2304 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2305 # If not cross compiling, check that we can run a simple program.
2306 if test "$cross_compiling" != yes; then
2307 if { ac_try='./$ac_file'
2308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; }; then
2315 if test "$cross_compiling" = maybe; then
2318 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2319 If you meant to cross compile, use \`--host'." >&5
2320 echo "$as_me: error: cannot run C++ compiled programs.
2321 If you meant to cross compile, use \`--host'." >&2;}
2322 { (exit 1); exit 1; }; }
2326 echo "$as_me:$LINENO: result: yes" >&5
2327 echo "${ECHO_T}yes" >&6
2329 rm -f a.out a.exe conftest$ac_cv_exeext
2330 ac_clean_files=$ac_clean_files_save
2331 # Check the compiler produces executables we can run. If not, either
2332 # the compiler is broken, or we cross compile.
2333 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2334 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2335 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2336 echo "${ECHO_T}$cross_compiling" >&6
2338 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2339 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2341 (eval $ac_link) 2>&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; then
2345 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2346 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2347 # work properly (i.e., refer to `conftest.exe'), while it won't with
2349 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2351 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2352 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2359 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2360 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2361 { (exit 1); exit 1; }; }
2364 rm -f conftest$ac_cv_exeext
2365 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2366 echo "${ECHO_T}$ac_cv_exeext" >&6
2368 rm -f conftest.$ac_ext
2369 EXEEXT=$ac_cv_exeext
2371 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2372 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2373 if test "${ac_cv_objext+set}" = set; then
2374 echo $ECHO_N "(cached) $ECHO_C" >&6
2376 cat >conftest.$ac_ext <<_ACEOF
2377 #line $LINENO "configure"
2378 #include "confdefs.h"
2380 #ifdef F77_DUMMY_MAIN
2384 int F77_DUMMY_MAIN() { return 1; }
2394 rm -f conftest.o conftest.obj
2395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2396 (eval $ac_compile) 2>&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; then
2400 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2403 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2408 echo "$as_me: failed program was:" >&5
2409 cat conftest.$ac_ext >&5
2410 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2411 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2412 { (exit 1); exit 1; }; }
2415 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2417 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2418 echo "${ECHO_T}$ac_cv_objext" >&6
2419 OBJEXT=$ac_cv_objext
2421 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2422 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2423 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 cat >conftest.$ac_ext <<_ACEOF
2427 #line $LINENO "configure"
2428 #include "confdefs.h"
2430 #ifdef F77_DUMMY_MAIN
2434 int F77_DUMMY_MAIN() { return 1; }
2447 rm -f conftest.$ac_objext
2448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2449 (eval $ac_compile) 2>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); } &&
2453 { ac_try='test -s conftest.$ac_objext'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; }; then
2461 echo "$as_me: failed program was:" >&5
2462 cat conftest.$ac_ext >&5
2465 rm -f conftest.$ac_objext conftest.$ac_ext
2466 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2469 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2470 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2471 GXX=`test $ac_compiler_gnu = yes && echo yes`
2472 ac_test_CXXFLAGS=${CXXFLAGS+set}
2473 ac_save_CXXFLAGS=$CXXFLAGS
2475 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2476 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2477 if test "${ac_cv_prog_cxx_g+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 cat >conftest.$ac_ext <<_ACEOF
2481 #line $LINENO "configure"
2482 #include "confdefs.h"
2484 #ifdef F77_DUMMY_MAIN
2488 int F77_DUMMY_MAIN() { return 1; }
2498 rm -f conftest.$ac_objext
2499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2500 (eval $ac_compile) 2>&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); } &&
2504 { ac_try='test -s conftest.$ac_objext'
2505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; }; then
2510 ac_cv_prog_cxx_g=yes
2512 echo "$as_me: failed program was:" >&5
2513 cat conftest.$ac_ext >&5
2516 rm -f conftest.$ac_objext conftest.$ac_ext
2518 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2519 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2520 if test "$ac_test_CXXFLAGS" = set; then
2521 CXXFLAGS=$ac_save_CXXFLAGS
2522 elif test $ac_cv_prog_cxx_g = yes; then
2523 if test "$GXX" = yes; then
2529 if test "$GXX" = yes; then
2535 for ac_declaration in \
2537 '#include <stdlib.h>' \
2538 'extern "C" void std::exit (int) throw (); using std::exit;' \
2539 'extern "C" void std::exit (int); using std::exit;' \
2540 'extern "C" void exit (int) throw ();' \
2541 'extern "C" void exit (int);' \
2544 cat >conftest.$ac_ext <<_ACEOF
2545 #line $LINENO "configure"
2546 #include "confdefs.h"
2549 #ifdef F77_DUMMY_MAIN
2553 int F77_DUMMY_MAIN() { return 1; }
2563 rm -f conftest.$ac_objext
2564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2565 (eval $ac_compile) 2>&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); } &&
2569 { ac_try='test -s conftest.$ac_objext'
2570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; }; then
2577 echo "$as_me: failed program was:" >&5
2578 cat conftest.$ac_ext >&5
2581 rm -f conftest.$ac_objext conftest.$ac_ext
2582 cat >conftest.$ac_ext <<_ACEOF
2583 #line $LINENO "configure"
2584 #include "confdefs.h"
2586 #ifdef F77_DUMMY_MAIN
2590 int F77_DUMMY_MAIN() { return 1; }
2600 rm -f conftest.$ac_objext
2601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2602 (eval $ac_compile) 2>&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); } &&
2606 { ac_try='test -s conftest.$ac_objext'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; }; then
2614 echo "$as_me: failed program was:" >&5
2615 cat conftest.$ac_ext >&5
2617 rm -f conftest.$ac_objext conftest.$ac_ext
2620 if test -n "$ac_declaration"; then
2621 echo '#ifdef __cplusplus' >>confdefs.h
2622 echo $ac_declaration >>confdefs.h
2623 echo '#endif' >>confdefs.h
2627 ac_cpp='$CPP $CPPFLAGS'
2628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2633 ac_cpp='$CPP $CPPFLAGS'
2634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2637 if test -n "$ac_tool_prefix"; then
2640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2641 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2642 echo "$as_me:$LINENO: checking for $ac_word" >&5
2643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2644 if test "${ac_cv_prog_CC+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2647 if test -n "$CC"; then
2648 ac_cv_prog_CC="$CC" # Let the user override the test.
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 if test -n "$CC"; then
2668 echo "$as_me:$LINENO: result: $CC" >&5
2669 echo "${ECHO_T}$CC" >&6
2671 echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2675 test -n "$CC" && break
2678 if test -z "$CC"; then
2682 # Extract the first word of "$ac_prog", so it can be a program name with args.
2683 set dummy $ac_prog; ac_word=$2
2684 echo "$as_me:$LINENO: checking for $ac_word" >&5
2685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2686 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 if test -n "$ac_ct_CC"; then
2690 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696 test -z "$as_dir" && as_dir=.
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2699 ac_cv_prog_ac_ct_CC="$ac_prog"
2700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2709 if test -n "$ac_ct_CC"; then
2710 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2711 echo "${ECHO_T}$ac_ct_CC" >&6
2713 echo "$as_me:$LINENO: result: no" >&5
2714 echo "${ECHO_T}no" >&6
2717 test -n "$ac_ct_CC" && break
2724 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2725 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2726 { (exit 1); exit 1; }; }
2728 # Provide some information about the compiler.
2729 echo "$as_me:$LINENO:" \
2730 "checking for C compiler version" >&5
2731 ac_compiler=`set X $ac_compile; echo $2`
2732 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2733 (eval $ac_compiler --version </dev/null >&5) 2>&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }
2737 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2738 (eval $ac_compiler -v </dev/null >&5) 2>&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }
2742 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2743 (eval $ac_compiler -V </dev/null >&5) 2>&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }
2748 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2749 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2750 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 cat >conftest.$ac_ext <<_ACEOF
2754 #line $LINENO "configure"
2755 #include "confdefs.h"
2757 #ifdef F77_DUMMY_MAIN
2761 int F77_DUMMY_MAIN() { return 1; }
2774 rm -f conftest.$ac_objext
2775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2776 (eval $ac_compile) 2>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try='test -s conftest.$ac_objext'
2781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }; }; then
2788 echo "$as_me: failed program was:" >&5
2789 cat conftest.$ac_ext >&5
2792 rm -f conftest.$ac_objext conftest.$ac_ext
2793 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2796 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2797 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2798 GCC=`test $ac_compiler_gnu = yes && echo yes`
2799 ac_test_CFLAGS=${CFLAGS+set}
2800 ac_save_CFLAGS=$CFLAGS
2802 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2803 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2804 if test "${ac_cv_prog_cc_g+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 cat >conftest.$ac_ext <<_ACEOF
2808 #line $LINENO "configure"
2809 #include "confdefs.h"
2811 #ifdef F77_DUMMY_MAIN
2815 int F77_DUMMY_MAIN() { return 1; }
2825 rm -f conftest.$ac_objext
2826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2827 (eval $ac_compile) 2>&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } &&
2831 { ac_try='test -s conftest.$ac_objext'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; }; then
2839 echo "$as_me: failed program was:" >&5
2840 cat conftest.$ac_ext >&5
2843 rm -f conftest.$ac_objext conftest.$ac_ext
2845 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2846 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2847 if test "$ac_test_CFLAGS" = set; then
2848 CFLAGS=$ac_save_CFLAGS
2849 elif test $ac_cv_prog_cc_g = yes; then
2850 if test "$GCC" = yes; then
2856 if test "$GCC" = yes; then
2862 # Some people use a C++ compiler to compile C. Since we use `exit',
2863 # in C++ we need to declare it. In case someone uses the same compiler
2864 # for both compiling C and C++ we need to have the C++ compiler decide
2865 # the declaration of exit, since it's the most demanding environment.
2866 cat >conftest.$ac_ext <<_ACEOF
2871 rm -f conftest.$ac_objext
2872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2873 (eval $ac_compile) 2>&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); } &&
2877 { ac_try='test -s conftest.$ac_objext'
2878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2883 for ac_declaration in \
2885 '#include <stdlib.h>' \
2886 'extern "C" void std::exit (int) throw (); using std::exit;' \
2887 'extern "C" void std::exit (int); using std::exit;' \
2888 'extern "C" void exit (int) throw ();' \
2889 'extern "C" void exit (int);' \
2892 cat >conftest.$ac_ext <<_ACEOF
2893 #line $LINENO "configure"
2894 #include "confdefs.h"
2897 #ifdef F77_DUMMY_MAIN
2901 int F77_DUMMY_MAIN() { return 1; }
2911 rm -f conftest.$ac_objext
2912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2913 (eval $ac_compile) 2>&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); } &&
2917 { ac_try='test -s conftest.$ac_objext'
2918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }; }; then
2925 echo "$as_me: failed program was:" >&5
2926 cat conftest.$ac_ext >&5
2929 rm -f conftest.$ac_objext conftest.$ac_ext
2930 cat >conftest.$ac_ext <<_ACEOF
2931 #line $LINENO "configure"
2932 #include "confdefs.h"
2934 #ifdef F77_DUMMY_MAIN
2938 int F77_DUMMY_MAIN() { return 1; }
2948 rm -f conftest.$ac_objext
2949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2950 (eval $ac_compile) 2>&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); } &&
2954 { ac_try='test -s conftest.$ac_objext'
2955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; }; then
2962 echo "$as_me: failed program was:" >&5
2963 cat conftest.$ac_ext >&5
2965 rm -f conftest.$ac_objext conftest.$ac_ext
2968 if test -n "$ac_declaration"; then
2969 echo '#ifdef __cplusplus' >>confdefs.h
2970 echo $ac_declaration >>confdefs.h
2971 echo '#endif' >>confdefs.h
2975 echo "$as_me: failed program was:" >&5
2976 cat conftest.$ac_ext >&5
2978 rm -f conftest.$ac_objext conftest.$ac_ext
2980 ac_cpp='$CPP $CPPFLAGS'
2981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2986 ac_cpp='$CPP $CPPFLAGS'
2987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2990 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2991 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2992 # On Suns, sometimes $CPP names a directory.
2993 if test -n "$CPP" && test -d "$CPP"; then
2996 if test -z "$CPP"; then
2997 if test "${ac_cv_prog_CPP+set}" = set; then
2998 echo $ECHO_N "(cached) $ECHO_C" >&6
3000 # Double quotes because CPP needs to be expanded
3001 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3004 for ac_c_preproc_warn_flag in '' yes
3006 # Use a header file that comes with gcc, so configuring glibc
3007 # with a fresh cross-compiler works.
3008 # On the NeXT, cc -E runs the code through the compiler's parser,
3009 # not just through cpp. "Syntax error" is here to catch this case.
3010 cat >conftest.$ac_ext <<_ACEOF
3011 #line $LINENO "configure"
3012 #include "confdefs.h"
3016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3019 egrep -v '^ *\+' conftest.er1 >conftest.err
3021 cat conftest.err >&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); } >/dev/null; then
3024 if test -s conftest.err; then
3025 ac_cpp_err=$ac_c_preproc_warn_flag
3032 if test -z "$ac_cpp_err"; then
3035 echo "$as_me: failed program was:" >&5
3036 cat conftest.$ac_ext >&5
3037 # Broken: fails on valid input.
3040 rm -f conftest.err conftest.$ac_ext
3042 # OK, works on sane cases. Now check whether non-existent headers
3043 # can be detected and how.
3044 cat >conftest.$ac_ext <<_ACEOF
3045 #line $LINENO "configure"
3046 #include "confdefs.h"
3047 #include <ac_nonexistent.h>
3049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3052 egrep -v '^ *\+' conftest.er1 >conftest.err
3054 cat conftest.err >&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); } >/dev/null; then
3057 if test -s conftest.err; then
3058 ac_cpp_err=$ac_c_preproc_warn_flag
3065 if test -z "$ac_cpp_err"; then
3066 # Broken: success on invalid input.
3069 echo "$as_me: failed program was:" >&5
3070 cat conftest.$ac_ext >&5
3071 # Passes both tests.
3075 rm -f conftest.err conftest.$ac_ext
3078 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3079 rm -f conftest.err conftest.$ac_ext
3080 if $ac_preproc_ok; then
3092 echo "$as_me:$LINENO: result: $CPP" >&5
3093 echo "${ECHO_T}$CPP" >&6
3095 for ac_c_preproc_warn_flag in '' yes
3097 # Use a header file that comes with gcc, so configuring glibc
3098 # with a fresh cross-compiler works.
3099 # On the NeXT, cc -E runs the code through the compiler's parser,
3100 # not just through cpp. "Syntax error" is here to catch this case.
3101 cat >conftest.$ac_ext <<_ACEOF
3102 #line $LINENO "configure"
3103 #include "confdefs.h"
3107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3110 egrep -v '^ *\+' conftest.er1 >conftest.err
3112 cat conftest.err >&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } >/dev/null; then
3115 if test -s conftest.err; then
3116 ac_cpp_err=$ac_c_preproc_warn_flag
3123 if test -z "$ac_cpp_err"; then
3126 echo "$as_me: failed program was:" >&5
3127 cat conftest.$ac_ext >&5
3128 # Broken: fails on valid input.
3131 rm -f conftest.err conftest.$ac_ext
3133 # OK, works on sane cases. Now check whether non-existent headers
3134 # can be detected and how.
3135 cat >conftest.$ac_ext <<_ACEOF
3136 #line $LINENO "configure"
3137 #include "confdefs.h"
3138 #include <ac_nonexistent.h>
3140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3143 egrep -v '^ *\+' conftest.er1 >conftest.err
3145 cat conftest.err >&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); } >/dev/null; then
3148 if test -s conftest.err; then
3149 ac_cpp_err=$ac_c_preproc_warn_flag
3156 if test -z "$ac_cpp_err"; then
3157 # Broken: success on invalid input.
3160 echo "$as_me: failed program was:" >&5
3161 cat conftest.$ac_ext >&5
3162 # Passes both tests.
3166 rm -f conftest.err conftest.$ac_ext
3169 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3170 rm -f conftest.err conftest.$ac_ext
3171 if $ac_preproc_ok; then
3174 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3175 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3176 { (exit 1); exit 1; }; }
3180 ac_cpp='$CPP $CPPFLAGS'
3181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3186 if test "$GCC" != "yes"
3188 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3189 echo "$as_me: error: gcc required but not found" >&2;}
3190 { (exit 1); exit 1; }; }
3193 if test "$GXX" != "yes"
3195 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3196 echo "$as_me: error: g++ required but not found" >&2;}
3197 { (exit 1); exit 1; }; }
3200 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3201 if test "$gccmajor" -lt "3"
3203 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3204 echo "$as_me: error: gcc 3.x required" >&2;}
3205 { (exit 1); exit 1; }; }
3208 echo "$as_me:$LINENO: checking for GNU make" >&5
3209 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3210 if test "${_cv_gnu_make_command+set}" = set; then
3211 echo $ECHO_N "(cached) $ECHO_C" >&6
3213 _cv_gnu_make_command='' ;
3214 for a in "$MAKE" make gmake gnumake ; do
3215 if test -z "$a" ; then continue ; fi ;
3216 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3217 _cv_gnu_make_command=$a ;
3223 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3224 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3225 if test "x$_cv_gnu_make_command" != "x" ; then
3229 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3230 echo "${ECHO_T}\"Not found\"" >&6;
3234 if test -z "$_cv_gnu_make_command"
3236 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3237 echo "$as_me: error: GNU Make required but not found" >&2;}
3238 { (exit 1); exit 1; }; }
3242 echo "$as_me:$LINENO: checking " >&5
3243 echo $ECHO_N "checking ... $ECHO_C" >&6
3244 if test "${ac_cv_has_flex+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 for ac_prog in flex lex
3249 # Extract the first word of "$ac_prog", so it can be a program name with args.
3250 set dummy $ac_prog; ac_word=$2
3251 echo "$as_me:$LINENO: checking for $ac_word" >&5
3252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3253 if test "${ac_cv_prog_LEX+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 if test -n "$LEX"; then
3257 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_LEX="$ac_prog"
3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 if test -n "$LEX"; then
3277 echo "$as_me:$LINENO: result: $LEX" >&5
3278 echo "${ECHO_T}$LEX" >&6
3280 echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6
3284 test -n "$LEX" && break
3286 test -n "$LEX" || LEX=":"
3288 if test -z "$LEXLIB"
3290 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3291 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3292 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3293 echo $ECHO_N "(cached) $ECHO_C" >&6
3295 ac_check_lib_save_LIBS=$LIBS
3297 cat >conftest.$ac_ext <<_ACEOF
3298 #line $LINENO "configure"
3299 #include "confdefs.h"
3301 /* Override any gcc2 internal prototype to avoid an error. */
3305 /* We use char because int might match the return type of a gcc2
3306 builtin and then its argument prototype would still apply. */
3308 #ifdef F77_DUMMY_MAIN
3312 int F77_DUMMY_MAIN() { return 1; }
3322 rm -f conftest.$ac_objext conftest$ac_exeext
3323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3324 (eval $ac_link) 2>&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); } &&
3328 { ac_try='test -s conftest$ac_exeext'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; }; then
3334 ac_cv_lib_fl_yywrap=yes
3336 echo "$as_me: failed program was:" >&5
3337 cat conftest.$ac_ext >&5
3338 ac_cv_lib_fl_yywrap=no
3340 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3341 LIBS=$ac_check_lib_save_LIBS
3343 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3344 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3345 if test $ac_cv_lib_fl_yywrap = yes; then
3348 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3349 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3350 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3351 echo $ECHO_N "(cached) $ECHO_C" >&6
3353 ac_check_lib_save_LIBS=$LIBS
3355 cat >conftest.$ac_ext <<_ACEOF
3356 #line $LINENO "configure"
3357 #include "confdefs.h"
3359 /* Override any gcc2 internal prototype to avoid an error. */
3363 /* We use char because int might match the return type of a gcc2
3364 builtin and then its argument prototype would still apply. */
3366 #ifdef F77_DUMMY_MAIN
3370 int F77_DUMMY_MAIN() { return 1; }
3380 rm -f conftest.$ac_objext conftest$ac_exeext
3381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3382 (eval $ac_link) 2>&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); } &&
3386 { ac_try='test -s conftest$ac_exeext'
3387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); }; }; then
3392 ac_cv_lib_l_yywrap=yes
3394 echo "$as_me: failed program was:" >&5
3395 cat conftest.$ac_ext >&5
3396 ac_cv_lib_l_yywrap=no
3398 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3399 LIBS=$ac_check_lib_save_LIBS
3401 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3402 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3403 if test $ac_cv_lib_l_yywrap = yes; then
3411 if test "x$LEX" != "x:"; then
3412 echo "$as_me:$LINENO: checking lex output file root" >&5
3413 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3414 if test "${ac_cv_prog_lex_root+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 # The minimal lex program is just a single line: %%. But some broken lexes
3418 # (Solaris, I think it was) want two %% lines, so accommodate them.
3419 cat >conftest.l <<_ACEOF
3423 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3424 (eval $LEX conftest.l) 2>&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }
3428 if test -f lex.yy.c; then
3429 ac_cv_prog_lex_root=lex.yy
3430 elif test -f lexyy.c; then
3431 ac_cv_prog_lex_root=lexyy
3433 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3434 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3435 { (exit 1); exit 1; }; }
3438 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3439 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3441 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3443 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3444 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3445 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3446 echo $ECHO_N "(cached) $ECHO_C" >&6
3448 # POSIX says lex can declare yytext either as a pointer or an array; the
3449 # default is implementation-dependent. Figure out which it is, since
3450 # not all implementations provide the %pointer and %array declarations.
3451 ac_cv_prog_lex_yytext_pointer=no
3452 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3454 LIBS="$LIBS $LEXLIB"
3455 cat >conftest.$ac_ext <<_ACEOF
3456 `cat $LEX_OUTPUT_ROOT.c`
3458 rm -f conftest.$ac_objext conftest$ac_exeext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3460 (eval $ac_link) 2>&5
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); } &&
3464 { ac_try='test -s conftest$ac_exeext'
3465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }; }; then
3470 ac_cv_prog_lex_yytext_pointer=yes
3472 echo "$as_me: failed program was:" >&5
3473 cat conftest.$ac_ext >&5
3475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3477 rm -f "${LEX_OUTPUT_ROOT}.c"
3480 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3481 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3482 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3484 cat >>confdefs.h <<\_ACEOF
3485 #define YYTEXT_POINTER 1
3493 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3494 echo "${ECHO_T}$ac_cv_has_flex" >&6
3495 if test "$LEX" != "flex"; then
3496 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3497 echo "$as_me: error: flex not found but required" >&2;}
3498 { (exit 1); exit 1; }; }
3501 echo "$as_me:$LINENO: checking " >&5
3502 echo $ECHO_N "checking ... $ECHO_C" >&6
3503 if test "${ac_cv_has_bison+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 for ac_prog in 'bison -y' byacc
3508 # Extract the first word of "$ac_prog", so it can be a program name with args.
3509 set dummy $ac_prog; ac_word=$2
3510 echo "$as_me:$LINENO: checking for $ac_word" >&5
3511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3512 if test "${ac_cv_prog_YACC+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 if test -n "$YACC"; then
3516 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 test -z "$as_dir" && as_dir=.
3523 for ac_exec_ext in '' $ac_executable_extensions; do
3524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3525 ac_cv_prog_YACC="$ac_prog"
3526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3534 YACC=$ac_cv_prog_YACC
3535 if test -n "$YACC"; then
3536 echo "$as_me:$LINENO: result: $YACC" >&5
3537 echo "${ECHO_T}$YACC" >&6
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3543 test -n "$YACC" && break
3545 test -n "$YACC" || YACC="yacc"
3549 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3550 echo "${ECHO_T}$ac_cv_has_bison" >&6
3551 if test "$YACC" != "bison -y"; then
3552 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3553 echo "$as_me: error: bison not found but required" >&2;}
3554 { (exit 1); exit 1; }; }
3561 # Check whether --enable-shared or --disable-shared was given.
3562 if test "${enable_shared+set}" = set; then
3563 enableval="$enable_shared"
3564 p=${PACKAGE-default}
3566 yes) enable_shared=yes ;;
3567 no) enable_shared=no ;;
3570 # Look at the argument we got. We use all the common list separators.
3571 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3572 for pkg in $enableval; do
3574 if test "X$pkg" = "X$p"; then
3585 # Check whether --enable-static or --disable-static was given.
3586 if test "${enable_static+set}" = set; then
3587 enableval="$enable_static"
3588 p=${PACKAGE-default}
3590 yes) enable_static=yes ;;
3591 no) enable_static=no ;;
3594 # Look at the argument we got. We use all the common list separators.
3595 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3596 for pkg in $enableval; do
3598 if test "X$pkg" = "X$p"; then
3609 # Check whether --enable-fast-install or --disable-fast-install was given.
3610 if test "${enable_fast_install+set}" = set; then
3611 enableval="$enable_fast_install"
3612 p=${PACKAGE-default}
3614 yes) enable_fast_install=yes ;;
3615 no) enable_fast_install=no ;;
3617 enable_fast_install=no
3618 # Look at the argument we got. We use all the common list separators.
3619 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3620 for pkg in $enableval; do
3622 if test "X$pkg" = "X$p"; then
3623 enable_fast_install=yes
3630 enable_fast_install=yes
3633 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3634 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3635 if test "${lt_cv_path_SED+set}" = set; then
3636 echo $ECHO_N "(cached) $ECHO_C" >&6
3638 # Loop through the user's path and test for sed and gsed.
3639 # Then use that list of sed's as ones to test for truncation.
3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 test -z "$as_dir" && as_dir=.
3645 for lt_ac_prog in sed gsed; do
3646 for ac_exec_ext in '' $ac_executable_extensions; do
3647 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3648 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3655 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3656 # along with /bin/sed that truncates output.
3657 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3658 test ! -f $lt_ac_sed && break
3659 cat /dev/null > conftest.in
3661 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3662 # Check for GNU sed and select it if it is found.
3663 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3664 lt_cv_path_SED=$lt_ac_sed
3668 cat conftest.in conftest.in >conftest.tmp
3669 mv conftest.tmp conftest.in
3670 cp conftest.in conftest.nl
3672 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3673 cmp -s conftest.out conftest.nl || break
3674 # 10000 chars as input seems more than enough
3675 test $lt_ac_count -gt 10 && break
3676 lt_ac_count=`expr $lt_ac_count + 1`
3677 if test $lt_ac_count -gt $lt_ac_max; then
3678 lt_ac_max=$lt_ac_count
3679 lt_cv_path_SED=$lt_ac_sed
3687 echo "$as_me:$LINENO: result: $SED" >&5
3688 echo "${ECHO_T}$SED" >&6
3690 echo "$as_me:$LINENO: checking for egrep" >&5
3691 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3692 if test "${ac_cv_prog_egrep+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3696 then ac_cv_prog_egrep='grep -E'
3697 else ac_cv_prog_egrep='egrep'
3700 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3701 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3702 EGREP=$ac_cv_prog_egrep
3706 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3707 if test "${with_gnu_ld+set}" = set; then
3708 withval="$with_gnu_ld"
3709 test "$withval" = no || with_gnu_ld=yes
3714 if test "$GCC" = yes; then
3715 # Check if gcc -print-prog-name=ld gives a path.
3716 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3717 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3720 # gcc leaves a trailing carriage return which upsets mingw
3721 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3723 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3726 # Accept absolute paths.
3728 re_direlt='/[^/][^/]*/\.\./'
3729 # Canonicalize the path of ld
3730 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3731 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3732 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3734 test -z "$LD" && LD="$ac_prog"
3737 # If it fails, then pretend we aren't using GCC.
3741 # If it is relative, then search for the first ld in PATH.
3745 elif test "$with_gnu_ld" = yes; then
3746 echo "$as_me:$LINENO: checking for GNU ld" >&5
3747 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3749 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3750 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3752 if test "${lt_cv_path_LD+set}" = set; then
3753 echo $ECHO_N "(cached) $ECHO_C" >&6
3755 if test -z "$LD"; then
3756 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3757 for ac_dir in $PATH; do
3759 test -z "$ac_dir" && ac_dir=.
3760 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3761 lt_cv_path_LD="$ac_dir/$ac_prog"
3762 # Check to see if the program is GNU ld. I'd rather use --version,
3763 # but apparently some GNU ld's only accept -v.
3764 # Break only if it was the GNU/non-GNU ld that we prefer.
3765 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3766 *GNU* | *'with BFD'*)
3767 test "$with_gnu_ld" != no && break
3770 test "$with_gnu_ld" != yes && break
3777 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3782 if test -n "$LD"; then
3783 echo "$as_me:$LINENO: result: $LD" >&5
3784 echo "${ECHO_T}$LD" >&6
3786 echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6
3789 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3790 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3791 { (exit 1); exit 1; }; }
3792 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3793 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3794 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3795 echo $ECHO_N "(cached) $ECHO_C" >&6
3797 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3798 case `"$LD" -v 2>&1 </dev/null` in
3799 *GNU* | *'with BFD'*)
3800 lt_cv_prog_gnu_ld=yes
3803 lt_cv_prog_gnu_ld=no
3807 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3808 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3809 with_gnu_ld=$lt_cv_prog_gnu_ld
3812 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3813 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3814 if test "${lt_cv_ld_reload_flag+set}" = set; then
3815 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 lt_cv_ld_reload_flag='-r'
3819 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3820 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3821 reload_flag=$lt_cv_ld_reload_flag
3822 case $reload_flag in
3824 *) reload_flag=" $reload_flag" ;;
3826 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3828 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3829 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3830 if test "${lt_cv_path_NM+set}" = set; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3833 if test -n "$NM"; then
3834 # Let the user override the test.
3837 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3838 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3840 test -z "$ac_dir" && ac_dir=.
3841 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3842 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3843 # Check to see if the nm accepts a BSD-compat flag.
3844 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3845 # nm: unknown option "B" ignored
3846 # Tru64's nm complains that /dev/null is an invalid object file
3847 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3848 */dev/null* | *'Invalid file or object type'*)
3849 lt_cv_path_NM="$tmp_nm -B"
3853 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3855 lt_cv_path_NM="$tmp_nm -p"
3859 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3860 continue # so that we can try to find one that supports BSD flags
3867 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3870 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3871 echo "${ECHO_T}$lt_cv_path_NM" >&6
3874 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3875 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3877 if test "$LN_S" = "ln -s"; then
3878 echo "$as_me:$LINENO: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3881 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3882 echo "${ECHO_T}no, using $LN_S" >&6
3885 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3886 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3887 if test "${lt_cv_deplibs_check_method+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 lt_cv_file_magic_cmd='$MAGIC_CMD'
3891 lt_cv_file_magic_test_file=
3892 lt_cv_deplibs_check_method='unknown'
3893 # Need to set the preceding variable on all platforms that support
3894 # interlibrary dependencies.
3895 # 'none' -- dependencies not supported.
3896 # `unknown' -- same as none, but documents that we really don't know.
3897 # 'pass_all' -- all dependencies passed with no checks.
3898 # 'test_compile' -- check by making test program.
3899 # 'file_magic [[regex]]' -- check by looking for files in library path
3900 # which responds to the $file_magic_cmd with a given extended regex.
3901 # If you have `file' or equivalent on your system and you're not sure
3902 # whether `pass_all' will *always* work, you probably want this one.
3906 lt_cv_deplibs_check_method=pass_all
3910 lt_cv_deplibs_check_method=pass_all
3914 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3915 lt_cv_file_magic_cmd='/usr/bin/file -L'
3916 lt_cv_file_magic_test_file=/shlib/libc.so
3919 cygwin* | mingw* | pw32*)
3920 # win32_libid is a shell function defined in ltmain.sh
3921 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3922 lt_cv_file_magic_cmd='win32_libid'
3925 darwin* | rhapsody*)
3926 # this will be overwritten by pass_all, but leave it in just in case
3927 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3928 lt_cv_file_magic_cmd='/usr/bin/file -L'
3930 rhapsody* | darwin1.[012])
3931 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
3934 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3937 lt_cv_deplibs_check_method=pass_all
3941 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3944 # Not sure whether the presence of OpenBSD here was a mistake.
3945 # Let's accept both of them until this is cleared up.
3946 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3947 lt_cv_file_magic_cmd=/usr/bin/file
3948 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3952 lt_cv_deplibs_check_method=pass_all
3957 lt_cv_deplibs_check_method=pass_all
3960 hpux10.20* | hpux11*)
3961 lt_cv_file_magic_cmd=/usr/bin/file
3964 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3965 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3968 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]'
3969 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3972 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3973 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3978 irix5* | irix6* | nonstopux*)
3980 irix5* | nonstopux*)
3981 # this will be overridden with pass_all, but let us keep it just in case
3982 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3986 *-32|*"-32 ") libmagic=32-bit;;
3987 *-n32|*"-n32 ") libmagic=N32;;
3988 *-64|*"-64 ") libmagic=64-bit;;
3989 *) libmagic=never-match;;
3991 # this will be overridden with pass_all, but let us keep it just in case
3992 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3995 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3996 lt_cv_deplibs_check_method=pass_all
3999 # This must be Linux ELF.
4002 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4003 lt_cv_deplibs_check_method=pass_all ;;
4005 # glibc up to 2.1.1 does not perform some relocations on ARM
4006 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4008 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4012 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4013 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4015 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4020 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4021 lt_cv_file_magic_cmd=/usr/bin/file
4022 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4026 lt_cv_deplibs_check_method=unknown
4030 lt_cv_file_magic_cmd=/usr/bin/file
4031 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4032 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4035 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4039 osf3* | osf4* | osf5*)
4040 # this will be overridden with pass_all, but let us keep it just in case
4041 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4042 lt_cv_file_magic_test_file=/shlib/libc.so
4043 lt_cv_deplibs_check_method=pass_all
4047 lt_cv_deplibs_check_method=pass_all
4051 lt_cv_deplibs_check_method=pass_all
4052 lt_cv_file_magic_test_file=/lib/libc.so
4055 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4056 case $host_vendor in
4058 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]'
4059 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4062 lt_cv_deplibs_check_method=pass_all
4065 lt_cv_file_magic_cmd='/bin/file'
4066 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4069 lt_cv_file_magic_cmd='/bin/file'
4070 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4071 lt_cv_file_magic_test_file=/lib/libc.so
4074 lt_cv_deplibs_check_method=pass_all
4079 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4080 lt_cv_deplibs_check_method=pass_all
4085 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4086 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4087 file_magic_cmd=$lt_cv_file_magic_cmd
4088 deplibs_check_method=$lt_cv_deplibs_check_method
4089 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4094 # If no C compiler was specified, use CC.
4097 # Allow CC to be a program name with arguments.
4100 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4101 if test "${enable_libtool_lock+set}" = set; then
4102 enableval="$enable_libtool_lock"
4105 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4107 # Some flags need to be propagated to the compiler or linker for good
4111 # Find out which ABI we are using.
4112 echo 'int i;' > conftest.$ac_ext
4113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4114 (eval $ac_compile) 2>&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); }; then
4118 case `/usr/bin/file conftest.$ac_objext` in
4130 # Find out which ABI we are using.
4131 echo '#line 4131 "configure"' > conftest.$ac_ext
4132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4133 (eval $ac_compile) 2>&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); }; then
4137 if test "$lt_cv_prog_gnu_ld" = yes; then
4138 case `/usr/bin/file conftest.$ac_objext` in
4140 LD="${LD-ld} -melf32bsmip"
4143 LD="${LD-ld} -melf32bmipn32"
4146 LD="${LD-ld} -melf64bmip"
4150 case `/usr/bin/file conftest.$ac_objext` in
4166 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4167 # Find out which ABI we are using.
4168 echo 'int i;' > conftest.$ac_ext
4169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4170 (eval $ac_compile) 2>&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; then
4174 case "`/usr/bin/file conftest.o`" in
4178 LD="${LD-ld} -m elf_i386"
4181 LD="${LD-ld} -m elf32ppclinux"
4184 LD="${LD-ld} -m elf_s390"
4187 LD="${LD-ld} -m elf32_sparc"
4194 LD="${LD-ld} -m elf_x86_64"
4196 ppc*-*linux*|powerpc*-*linux*)
4197 LD="${LD-ld} -m elf64ppc"
4200 LD="${LD-ld} -m elf64_s390"
4203 LD="${LD-ld} -m elf64_sparc"
4213 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4214 SAVE_CFLAGS="$CFLAGS"
4215 CFLAGS="$CFLAGS -belf"
4216 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4217 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4218 if test "${lt_cv_cc_needs_belf+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4222 ac_cpp='$CPP $CPPFLAGS'
4223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4227 cat >conftest.$ac_ext <<_ACEOF
4228 #line $LINENO "configure"
4229 #include "confdefs.h"
4231 #ifdef F77_DUMMY_MAIN
4235 int F77_DUMMY_MAIN() { return 1; }
4245 rm -f conftest.$ac_objext conftest$ac_exeext
4246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4247 (eval $ac_link) 2>&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try='test -s conftest$ac_exeext'
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; }; then
4257 lt_cv_cc_needs_belf=yes
4259 echo "$as_me: failed program was:" >&5
4260 cat conftest.$ac_ext >&5
4261 lt_cv_cc_needs_belf=no
4263 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4265 ac_cpp='$CPP $CPPFLAGS'
4266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4271 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4272 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4273 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4274 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4275 CFLAGS="$SAVE_CFLAGS"
4281 need_locks="$enable_libtool_lock"
4285 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4286 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4287 if test "${ac_cv_header_stdc+set}" = set; then
4288 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 cat >conftest.$ac_ext <<_ACEOF
4291 #line $LINENO "configure"
4292 #include "confdefs.h"
4299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4302 egrep -v '^ *\+' conftest.er1 >conftest.err
4304 cat conftest.err >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); } >/dev/null; then
4307 if test -s conftest.err; then
4308 ac_cpp_err=$ac_c_preproc_warn_flag
4315 if test -z "$ac_cpp_err"; then
4316 ac_cv_header_stdc=yes
4318 echo "$as_me: failed program was:" >&5
4319 cat conftest.$ac_ext >&5
4320 ac_cv_header_stdc=no
4322 rm -f conftest.err conftest.$ac_ext
4324 if test $ac_cv_header_stdc = yes; then
4325 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4326 cat >conftest.$ac_ext <<_ACEOF
4327 #line $LINENO "configure"
4328 #include "confdefs.h"
4332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4333 egrep "memchr" >/dev/null 2>&1; then
4336 ac_cv_header_stdc=no
4342 if test $ac_cv_header_stdc = yes; then
4343 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4344 cat >conftest.$ac_ext <<_ACEOF
4345 #line $LINENO "configure"
4346 #include "confdefs.h"
4350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4351 egrep "free" >/dev/null 2>&1; then
4354 ac_cv_header_stdc=no
4360 if test $ac_cv_header_stdc = yes; then
4361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4362 if test "$cross_compiling" = yes; then
4365 cat >conftest.$ac_ext <<_ACEOF
4366 #line $LINENO "configure"
4367 #include "confdefs.h"
4369 #if ((' ' & 0x0FF) == 0x020)
4370 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4371 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4373 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4374 || ('j' <= (c) && (c) <= 'r') \
4375 || ('s' <= (c) && (c) <= 'z'))
4376 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4379 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4384 for (i = 0; i < 256; i++)
4385 if (XOR (islower (i), ISLOWER (i))
4386 || toupper (i) != TOUPPER (i))
4391 rm -f conftest$ac_exeext
4392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4393 (eval $ac_link) 2>&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; }; then
4404 echo "$as_me: program exited with status $ac_status" >&5
4405 echo "$as_me: failed program was:" >&5
4406 cat conftest.$ac_ext >&5
4408 ac_cv_header_stdc=no
4410 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4414 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4415 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4416 if test $ac_cv_header_stdc = yes; then
4418 cat >>confdefs.h <<\_ACEOF
4419 #define STDC_HEADERS 1
4424 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4434 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4435 inttypes.h stdint.h unistd.h
4437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4438 echo "$as_me:$LINENO: checking for $ac_header" >&5
4439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 cat >conftest.$ac_ext <<_ACEOF
4444 #line $LINENO "configure"
4445 #include "confdefs.h"
4446 $ac_includes_default
4448 #include <$ac_header>
4450 rm -f conftest.$ac_objext
4451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4452 (eval $ac_compile) 2>&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); } &&
4456 { ac_try='test -s conftest.$ac_objext'
4457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); }; }; then
4462 eval "$as_ac_Header=yes"
4464 echo "$as_me: failed program was:" >&5
4465 cat conftest.$ac_ext >&5
4466 eval "$as_ac_Header=no"
4468 rm -f conftest.$ac_objext conftest.$ac_ext
4470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4473 cat >>confdefs.h <<_ACEOF
4474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4483 for ac_header in dlfcn.h
4485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4487 echo "$as_me:$LINENO: checking for $ac_header" >&5
4488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4495 # Is the header compilable?
4496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4498 cat >conftest.$ac_ext <<_ACEOF
4499 #line $LINENO "configure"
4500 #include "confdefs.h"
4501 $ac_includes_default
4502 #include <$ac_header>
4504 rm -f conftest.$ac_objext
4505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4506 (eval $ac_compile) 2>&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); } &&
4510 { ac_try='test -s conftest.$ac_objext'
4511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }; }; then
4516 ac_header_compiler=yes
4518 echo "$as_me: failed program was:" >&5
4519 cat conftest.$ac_ext >&5
4520 ac_header_compiler=no
4522 rm -f conftest.$ac_objext conftest.$ac_ext
4523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4524 echo "${ECHO_T}$ac_header_compiler" >&6
4526 # Is the header present?
4527 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4529 cat >conftest.$ac_ext <<_ACEOF
4530 #line $LINENO "configure"
4531 #include "confdefs.h"
4532 #include <$ac_header>
4534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4537 egrep -v '^ *\+' conftest.er1 >conftest.err
4539 cat conftest.err >&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } >/dev/null; then
4542 if test -s conftest.err; then
4543 ac_cpp_err=$ac_c_preproc_warn_flag
4550 if test -z "$ac_cpp_err"; then
4551 ac_header_preproc=yes
4553 echo "$as_me: failed program was:" >&5
4554 cat conftest.$ac_ext >&5
4555 ac_header_preproc=no
4557 rm -f conftest.err conftest.$ac_ext
4558 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4559 echo "${ECHO_T}$ac_header_preproc" >&6
4561 # So? What about this header?
4562 case $ac_header_compiler:$ac_header_preproc in
4564 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4574 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4576 echo "$as_me:$LINENO: checking for $ac_header" >&5
4577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 eval "$as_ac_Header=$ac_header_preproc"
4583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4588 cat >>confdefs.h <<_ACEOF
4589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4597 ac_cpp='$CXXCPP $CPPFLAGS'
4598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4601 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4602 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4603 if test -z "$CXXCPP"; then
4604 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 # Double quotes because CXXCPP needs to be expanded
4608 for CXXCPP in "$CXX -E" "/lib/cpp"
4611 for ac_cxx_preproc_warn_flag in '' yes
4613 # Use a header file that comes with gcc, so configuring glibc
4614 # with a fresh cross-compiler works.
4615 # On the NeXT, cc -E runs the code through the compiler's parser,
4616 # not just through cpp. "Syntax error" is here to catch this case.
4617 cat >conftest.$ac_ext <<_ACEOF
4618 #line $LINENO "configure"
4619 #include "confdefs.h"
4623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4626 egrep -v '^ *\+' conftest.er1 >conftest.err
4628 cat conftest.err >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); } >/dev/null; then
4631 if test -s conftest.err; then
4632 ac_cpp_err=$ac_cxx_preproc_warn_flag
4639 if test -z "$ac_cpp_err"; then
4642 echo "$as_me: failed program was:" >&5
4643 cat conftest.$ac_ext >&5
4644 # Broken: fails on valid input.
4647 rm -f conftest.err conftest.$ac_ext
4649 # OK, works on sane cases. Now check whether non-existent headers
4650 # can be detected and how.
4651 cat >conftest.$ac_ext <<_ACEOF
4652 #line $LINENO "configure"
4653 #include "confdefs.h"
4654 #include <ac_nonexistent.h>
4656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4659 egrep -v '^ *\+' conftest.er1 >conftest.err
4661 cat conftest.err >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } >/dev/null; then
4664 if test -s conftest.err; then
4665 ac_cpp_err=$ac_cxx_preproc_warn_flag
4672 if test -z "$ac_cpp_err"; then
4673 # Broken: success on invalid input.
4676 echo "$as_me: failed program was:" >&5
4677 cat conftest.$ac_ext >&5
4678 # Passes both tests.
4682 rm -f conftest.err conftest.$ac_ext
4685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4686 rm -f conftest.err conftest.$ac_ext
4687 if $ac_preproc_ok; then
4692 ac_cv_prog_CXXCPP=$CXXCPP
4695 CXXCPP=$ac_cv_prog_CXXCPP
4697 ac_cv_prog_CXXCPP=$CXXCPP
4699 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4700 echo "${ECHO_T}$CXXCPP" >&6
4702 for ac_cxx_preproc_warn_flag in '' yes
4704 # Use a header file that comes with gcc, so configuring glibc
4705 # with a fresh cross-compiler works.
4706 # On the NeXT, cc -E runs the code through the compiler's parser,
4707 # not just through cpp. "Syntax error" is here to catch this case.
4708 cat >conftest.$ac_ext <<_ACEOF
4709 #line $LINENO "configure"
4710 #include "confdefs.h"
4714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4717 egrep -v '^ *\+' conftest.er1 >conftest.err
4719 cat conftest.err >&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); } >/dev/null; then
4722 if test -s conftest.err; then
4723 ac_cpp_err=$ac_cxx_preproc_warn_flag
4730 if test -z "$ac_cpp_err"; then
4733 echo "$as_me: failed program was:" >&5
4734 cat conftest.$ac_ext >&5
4735 # Broken: fails on valid input.
4738 rm -f conftest.err conftest.$ac_ext
4740 # OK, works on sane cases. Now check whether non-existent headers
4741 # can be detected and how.
4742 cat >conftest.$ac_ext <<_ACEOF
4743 #line $LINENO "configure"
4744 #include "confdefs.h"
4745 #include <ac_nonexistent.h>
4747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4748 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4750 egrep -v '^ *\+' conftest.er1 >conftest.err
4752 cat conftest.err >&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } >/dev/null; then
4755 if test -s conftest.err; then
4756 ac_cpp_err=$ac_cxx_preproc_warn_flag
4763 if test -z "$ac_cpp_err"; then
4764 # Broken: success on invalid input.
4767 echo "$as_me: failed program was:" >&5
4768 cat conftest.$ac_ext >&5
4769 # Passes both tests.
4773 rm -f conftest.err conftest.$ac_ext
4776 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4777 rm -f conftest.err conftest.$ac_ext
4778 if $ac_preproc_ok; then
4781 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
4782 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
4783 { (exit 1); exit 1; }; }
4787 ac_cpp='$CXXCPP $CPPFLAGS'
4788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4794 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4795 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4796 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4797 if test -n "$ac_tool_prefix"; then
4798 for ac_prog in g77 f77 xlf cf77 cft77 frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 fc
4800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4801 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4802 echo "$as_me:$LINENO: checking for $ac_word" >&5
4803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4804 if test "${ac_cv_prog_F77+set}" = set; then
4805 echo $ECHO_N "(cached) $ECHO_C" >&6
4807 if test -n "$F77"; then
4808 ac_cv_prog_F77="$F77" # Let the user override the test.
4810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 test -z "$as_dir" && as_dir=.
4815 for ac_exec_ext in '' $ac_executable_extensions; do
4816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4817 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4827 if test -n "$F77"; then
4828 echo "$as_me:$LINENO: result: $F77" >&5
4829 echo "${ECHO_T}$F77" >&6
4831 echo "$as_me:$LINENO: result: no" >&5
4832 echo "${ECHO_T}no" >&6
4835 test -n "$F77" && break
4838 if test -z "$F77"; then
4840 for ac_prog in g77 f77 xlf cf77 cft77 frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 fc
4842 # Extract the first word of "$ac_prog", so it can be a program name with args.
4843 set dummy $ac_prog; ac_word=$2
4844 echo "$as_me:$LINENO: checking for $ac_word" >&5
4845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4846 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
4847 echo $ECHO_N "(cached) $ECHO_C" >&6
4849 if test -n "$ac_ct_F77"; then
4850 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 test -z "$as_dir" && as_dir=.
4857 for ac_exec_ext in '' $ac_executable_extensions; do
4858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4859 ac_cv_prog_ac_ct_F77="$ac_prog"
4860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4868 ac_ct_F77=$ac_cv_prog_ac_ct_F77
4869 if test -n "$ac_ct_F77"; then
4870 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
4871 echo "${ECHO_T}$ac_ct_F77" >&6
4873 echo "$as_me:$LINENO: result: no" >&5
4874 echo "${ECHO_T}no" >&6
4877 test -n "$ac_ct_F77" && break
4884 # Provide some information about the compiler.
4885 echo "$as_me:4885:" \
4886 "checking for Fortran 77 compiler version" >&5
4887 ac_compiler=`set X $ac_compile; echo $2`
4888 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4889 (eval $ac_compiler --version </dev/null >&5) 2>&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); }
4893 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4894 (eval $ac_compiler -v </dev/null >&5) 2>&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }
4898 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4899 (eval $ac_compiler -V </dev/null >&5) 2>&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); }
4904 # If we don't use `.F' as extension, the preprocessor is not run on the
4908 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
4909 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
4910 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4913 cat >conftest.$ac_ext <<_ACEOF
4921 rm -f conftest.$ac_objext
4922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4923 (eval $ac_compile) 2>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } &&
4927 { ac_try='test -s conftest.$ac_objext'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; }; then
4935 echo "$as_me: failed program was:" >&5
4936 cat conftest.$ac_ext >&5
4939 rm -f conftest.$ac_objext conftest.$ac_ext
4940 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4943 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
4944 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
4946 G77=`test $ac_compiler_gnu = yes && echo yes`
4947 ac_test_FFLAGS=${FFLAGS+set}
4948 ac_save_FFLAGS=$FFLAGS
4950 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
4951 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
4952 if test "${ac_cv_prog_f77_g+set}" = set; then
4953 echo $ECHO_N "(cached) $ECHO_C" >&6
4956 cat >conftest.$ac_ext <<_ACEOF
4961 rm -f conftest.$ac_objext
4962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4963 (eval $ac_compile) 2>&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } &&
4967 { ac_try='test -s conftest.$ac_objext'
4968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); }; }; then
4973 ac_cv_prog_f77_g=yes
4975 echo "$as_me: failed program was:" >&5
4976 cat conftest.$ac_ext >&5
4979 rm -f conftest.$ac_objext conftest.$ac_ext
4982 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
4983 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
4984 if test "$ac_test_FFLAGS" = set; then
4985 FFLAGS=$ac_save_FFLAGS
4986 elif test $ac_cv_prog_f77_g = yes; then
4987 if test "$G77" = yes; then
4993 if test "$G77" = yes; then
5000 ac_cpp='$CPP $CPPFLAGS'
5001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5007 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5009 # find the maximum length of command line arguments
5010 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5011 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5012 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5020 # On DJGPP, this test can blow up pretty badly due to problems in libc
5021 # (any single argument exceeding 2000 bytes causes a buffer overrun
5022 # during glob expansion). Even if it were fixed, the result of this
5023 # check would be larger than it should be.
5024 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5028 # Under GNU Hurd, this test is not required because there is
5029 # no limit to the length of command line arguments.
5030 # Libtool will interpret -1 as no limit whatsoever
5031 lt_cv_sys_max_cmd_len=-1;
5035 # On Win9x/ME, this test blows up -- it succeeds, but takes
5036 # about 5 minutes as the teststring grows exponentially.
5037 # Worse, since 9x/ME are not pre-emptively multitasking,
5038 # you end up with a "frozen" computer, even though with patience
5039 # the test eventually succeeds (with a max line length of 256k).
5040 # Instead, let's just punt: use the minimum linelength reported by
5041 # all of the supported platforms: 8192 (on NT/2K/XP).
5042 lt_cv_sys_max_cmd_len=8192;
5046 # If test is not a shell built-in, we'll probably end up computing a
5047 # maximum length that is only half of the actual maximum length, but
5049 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5050 = "XX$testring") >/dev/null 2>&1 &&
5051 new_result=`expr "X$testring" : ".*" 2>&1` &&
5052 lt_cv_sys_max_cmd_len=$new_result &&
5053 test $i != 17 # 1/2 MB should be enough
5056 testring=$testring$testring
5059 # Add a significant safety factor because C++ compilers can tack on massive
5060 # amounts of additional arguments before passing them to the linker.
5061 # It appears as though 1/2 is a usable value.
5062 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5068 if test -n $lt_cv_sys_max_cmd_len ; then
5069 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5070 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5072 echo "$as_me:$LINENO: result: none" >&5
5073 echo "${ECHO_T}none" >&6
5079 # Check for command to grab the raw symbol name followed by C symbol from nm.
5080 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5081 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5082 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 # These are sane defaults that work on at least a few old systems.
5087 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5089 # Character class describing NM global symbol codes.
5090 symcode='[BCDEGRST]'
5092 # Regexp to match symbols that can be accessed directly from C.
5093 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5095 # Transform the above into a raw symbol and a C symbol.
5096 symxfrm='\1 \2\3 \3'
5098 # Transform an extracted symbol line into a proper C declaration
5099 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5101 # Transform an extracted symbol line into symbol name and symbol address
5102 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'"
5104 # Define system-specific variables.
5109 cygwin* | mingw* | pw32*)
5110 symcode='[ABCDGISTW]'
5112 hpux*) # Its linker distinguishes data from code symbols
5113 if test "$host_cpu" = ia64; then
5114 symcode='[ABCDEGRST]'
5116 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5117 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'"
5120 symcode='[BCDEGRST]'
5123 symcode='[BCDEGQRST]'
5133 # Handle CRLF in mingw tool chain
5137 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5141 # If we're using GNU nm, then use its standard symbol codes.
5142 case `$NM -V 2>&1` in
5143 *GNU* | *'with BFD'*)
5144 symcode='[ABCDGISTW]' ;;
5147 # Try without a prefix undercore, then with it.
5148 for ac_symprfx in "" "_"; do
5150 # Write the raw and C identifiers.
5151 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5153 # Check to see that the pipe works correctly.
5157 cat > conftest.$ac_ext <<EOF
5162 void nm_test_func(){}
5166 int main(){nm_test_var='a';nm_test_func();return(0);}
5169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5170 (eval $ac_compile) 2>&5
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); }; then
5174 # Now try to grab the symbols.
5176 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5177 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } && test -s "$nlist"; then
5181 # Try sorting and uniquifying the output.
5182 if sort "$nlist" | uniq > "$nlist"T; then
5183 mv -f "$nlist"T "$nlist"
5188 # Make sure that we snagged all the symbols we need.
5189 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5190 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5191 cat <<EOF > conftest.$ac_ext
5197 # Now generate the symbol file.
5198 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5200 cat <<EOF >> conftest.$ac_ext
5201 #if defined (__STDC__) && __STDC__
5202 # define lt_ptr_t void *
5204 # define lt_ptr_t char *
5208 /* The mapping between symbol names and symbols. */
5213 lt_preloaded_symbols[] =
5216 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5217 cat <<\EOF >> conftest.$ac_ext
5225 # Now try linking the two files.
5226 mv conftest.$ac_objext conftstm.$ac_objext
5227 lt_save_LIBS="$LIBS"
5228 lt_save_CFLAGS="$CFLAGS"
5229 LIBS="conftstm.$ac_objext"
5230 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5232 (eval $ac_link) 2>&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5238 LIBS="$lt_save_LIBS"
5239 CFLAGS="$lt_save_CFLAGS"
5241 echo "cannot find nm_test_func in $nlist" >&5
5244 echo "cannot find nm_test_var in $nlist" >&5
5247 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5250 echo "$progname: failed program was:" >&5
5251 cat conftest.$ac_ext >&5
5253 rm -f conftest* conftst*
5255 # Do not use the global_symbol_pipe unless it works.
5256 if test "$pipe_works" = yes; then
5259 lt_cv_sys_global_symbol_pipe=
5265 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5266 lt_cv_sys_global_symbol_to_cdecl=
5268 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5269 echo "$as_me:$LINENO: result: failed" >&5
5270 echo "${ECHO_T}failed" >&6
5272 echo "$as_me:$LINENO: result: ok" >&5
5273 echo "${ECHO_T}ok" >&6
5276 echo "$as_me:$LINENO: checking for objdir" >&5
5277 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5278 if test "${lt_cv_objdir+set}" = set; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 rm -f .libs 2>/dev/null
5282 mkdir .libs 2>/dev/null
5283 if test -d .libs; then
5286 # MS-DOS does not allow filenames that begin with a dot.
5289 rmdir .libs 2>/dev/null
5291 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5292 echo "${ECHO_T}$lt_cv_objdir" >&6
5293 objdir=$lt_cv_objdir
5301 # AIX sometimes has problems with the GCC collect2 program. For some
5302 # reason, if we set the COLLECT_NAMES environment variable, the problems
5303 # vanish in a puff of smoke.
5304 if test "X${COLLECT_NAMES+set}" != Xset; then
5306 export COLLECT_NAMES
5311 # Sed substitution that helps us do robust quoting. It backslashifies
5312 # metacharacters that are still active within double-quoted strings.
5313 Xsed='sed -e s/^X//'
5314 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5316 # Same as above, but do not quote variable references.
5317 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5319 # Sed substitution to delay expansion of an escaped shell variable in a
5320 # double_quote_subst'ed string.
5321 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5323 # Sed substitution to avoid accidental globbing in evaled expressions
5324 no_glob_subst='s/\*/\\\*/g'
5331 can_build_shared=yes
5333 # All known linkers require a `.a' archive for static linking (except M$VC,
5334 # which needs '.lib').
5336 ltmain="$ac_aux_dir/ltmain.sh"
5337 ofile="$default_ofile"
5338 with_gnu_ld="$lt_cv_prog_gnu_ld"
5340 if test -n "$ac_tool_prefix"; then
5341 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5342 set dummy ${ac_tool_prefix}ar; ac_word=$2
5343 echo "$as_me:$LINENO: checking for $ac_word" >&5
5344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5345 if test "${ac_cv_prog_AR+set}" = set; then
5346 echo $ECHO_N "(cached) $ECHO_C" >&6
5348 if test -n "$AR"; then
5349 ac_cv_prog_AR="$AR" # Let the user override the test.
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5355 test -z "$as_dir" && as_dir=.
5356 for ac_exec_ext in '' $ac_executable_extensions; do
5357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5358 ac_cv_prog_AR="${ac_tool_prefix}ar"
5359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 if test -n "$AR"; then
5369 echo "$as_me:$LINENO: result: $AR" >&5
5370 echo "${ECHO_T}$AR" >&6
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5377 if test -z "$ac_cv_prog_AR"; then
5379 # Extract the first word of "ar", so it can be a program name with args.
5380 set dummy ar; ac_word=$2
5381 echo "$as_me:$LINENO: checking for $ac_word" >&5
5382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5383 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6
5386 if test -n "$ac_ct_AR"; then
5387 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir=.
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5396 ac_cv_prog_ac_ct_AR="ar"
5397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5403 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5406 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5407 if test -n "$ac_ct_AR"; then
5408 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5409 echo "${ECHO_T}$ac_ct_AR" >&6
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5420 if test -n "$ac_tool_prefix"; then
5421 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5422 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5423 echo "$as_me:$LINENO: checking for $ac_word" >&5
5424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5425 if test "${ac_cv_prog_RANLIB+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5428 if test -n "$RANLIB"; then
5429 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 test -z "$as_dir" && as_dir=.
5436 for ac_exec_ext in '' $ac_executable_extensions; do
5437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5438 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 RANLIB=$ac_cv_prog_RANLIB
5448 if test -n "$RANLIB"; then
5449 echo "$as_me:$LINENO: result: $RANLIB" >&5
5450 echo "${ECHO_T}$RANLIB" >&6
5452 echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6
5457 if test -z "$ac_cv_prog_RANLIB"; then
5458 ac_ct_RANLIB=$RANLIB
5459 # Extract the first word of "ranlib", so it can be a program name with args.
5460 set dummy ranlib; ac_word=$2
5461 echo "$as_me:$LINENO: checking for $ac_word" >&5
5462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5463 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5464 echo $ECHO_N "(cached) $ECHO_C" >&6
5466 if test -n "$ac_ct_RANLIB"; then
5467 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_ac_ct_RANLIB="ranlib"
5477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5483 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5486 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5487 if test -n "$ac_ct_RANLIB"; then
5488 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5489 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5491 echo "$as_me:$LINENO: result: no" >&5
5492 echo "${ECHO_T}no" >&6
5495 RANLIB=$ac_ct_RANLIB
5497 RANLIB="$ac_cv_prog_RANLIB"
5500 if test -n "$ac_tool_prefix"; then
5501 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5502 set dummy ${ac_tool_prefix}strip; ac_word=$2
5503 echo "$as_me:$LINENO: checking for $ac_word" >&5
5504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5505 if test "${ac_cv_prog_STRIP+set}" = set; then
5506 echo $ECHO_N "(cached) $ECHO_C" >&6
5508 if test -n "$STRIP"; then
5509 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 test -z "$as_dir" && as_dir=.
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5518 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 STRIP=$ac_cv_prog_STRIP
5528 if test -n "$STRIP"; then
5529 echo "$as_me:$LINENO: result: $STRIP" >&5
5530 echo "${ECHO_T}$STRIP" >&6
5532 echo "$as_me:$LINENO: result: no" >&5
5533 echo "${ECHO_T}no" >&6
5537 if test -z "$ac_cv_prog_STRIP"; then
5539 # Extract the first word of "strip", so it can be a program name with args.
5540 set dummy strip; ac_word=$2
5541 echo "$as_me:$LINENO: checking for $ac_word" >&5
5542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5543 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5544 echo $ECHO_N "(cached) $ECHO_C" >&6
5546 if test -n "$ac_ct_STRIP"; then
5547 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 test -z "$as_dir" && as_dir=.
5554 for ac_exec_ext in '' $ac_executable_extensions; do
5555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5556 ac_cv_prog_ac_ct_STRIP="strip"
5557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5566 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5567 if test -n "$ac_ct_STRIP"; then
5568 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5569 echo "${ECHO_T}$ac_ct_STRIP" >&6
5571 echo "$as_me:$LINENO: result: no" >&5
5572 echo "${ECHO_T}no" >&6
5577 STRIP="$ac_cv_prog_STRIP"
5582 old_CFLAGS="$CFLAGS"
5584 # Set sane defaults for various variables
5585 test -z "$AR" && AR=ar
5586 test -z "$AR_FLAGS" && AR_FLAGS=cru
5587 test -z "$AS" && AS=as
5588 test -z "$CC" && CC=cc
5589 test -z "$LTCC" && LTCC=$CC
5590 test -z "$DLLTOOL" && DLLTOOL=dlltool
5591 test -z "$LD" && LD=ld
5592 test -z "$LN_S" && LN_S="ln -s"
5593 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5594 test -z "$NM" && NM=nm
5595 test -z "$SED" && SED=sed
5596 test -z "$OBJDUMP" && OBJDUMP=objdump
5597 test -z "$RANLIB" && RANLIB=:
5598 test -z "$STRIP" && STRIP=:
5599 test -z "$ac_objext" && ac_objext=o
5601 # Determine commands to create old-style static archives.
5602 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5603 old_postinstall_cmds='chmod 644 $oldlib'
5604 old_postuninstall_cmds=
5606 if test -n "$RANLIB"; then
5609 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5612 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5615 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5618 # Only perform the check for file, if the check method requires it
5619 case $deplibs_check_method in
5621 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5622 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5623 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5624 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5625 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5632 lt_save_MAGIC_CMD="$MAGIC_CMD"
5633 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5634 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5635 for ac_dir in $ac_dummy; do
5637 test -z "$ac_dir" && ac_dir=.
5638 if test -f $ac_dir/${ac_tool_prefix}file; then
5639 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5640 if test -n "$file_magic_test_file"; then
5641 case $deplibs_check_method in
5643 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5644 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5645 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5646 $EGREP "$file_magic_regex" > /dev/null; then
5651 *** Warning: the command libtool uses to detect shared libraries,
5652 *** $file_magic_cmd, produces output that libtool cannot recognize.
5653 *** The result is that libtool may fail to recognize shared libraries
5654 *** as such. This will affect the creation of libtool libraries that
5655 *** depend on shared libraries, but programs linked with such libtool
5656 *** libraries will work regardless of this problem. Nevertheless, you
5657 *** may want to report the problem to your system manager and/or to
5658 *** bug-libtool@gnu.org
5668 MAGIC_CMD="$lt_save_MAGIC_CMD"
5673 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5674 if test -n "$MAGIC_CMD"; then
5675 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5676 echo "${ECHO_T}$MAGIC_CMD" >&6
5678 echo "$as_me:$LINENO: result: no" >&5
5679 echo "${ECHO_T}no" >&6
5682 if test -z "$lt_cv_path_MAGIC_CMD"; then
5683 if test -n "$ac_tool_prefix"; then
5684 echo "$as_me:$LINENO: checking for file" >&5
5685 echo $ECHO_N "checking for file... $ECHO_C" >&6
5686 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5687 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5694 lt_save_MAGIC_CMD="$MAGIC_CMD"
5695 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5696 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5697 for ac_dir in $ac_dummy; do
5699 test -z "$ac_dir" && ac_dir=.
5700 if test -f $ac_dir/file; then
5701 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5702 if test -n "$file_magic_test_file"; then
5703 case $deplibs_check_method in
5705 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5706 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5707 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5708 $EGREP "$file_magic_regex" > /dev/null; then
5713 *** Warning: the command libtool uses to detect shared libraries,
5714 *** $file_magic_cmd, produces output that libtool cannot recognize.
5715 *** The result is that libtool may fail to recognize shared libraries
5716 *** as such. This will affect the creation of libtool libraries that
5717 *** depend on shared libraries, but programs linked with such libtool
5718 *** libraries will work regardless of this problem. Nevertheless, you
5719 *** may want to report the problem to your system manager and/or to
5720 *** bug-libtool@gnu.org
5730 MAGIC_CMD="$lt_save_MAGIC_CMD"
5735 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5736 if test -n "$MAGIC_CMD"; then
5737 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5738 echo "${ECHO_T}$MAGIC_CMD" >&6
5740 echo "$as_me:$LINENO: result: no" >&5
5741 echo "${ECHO_T}no" >&6
5756 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5757 if test "${enable_libtool_lock+set}" = set; then
5758 enableval="$enable_libtool_lock"
5761 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5764 # Check whether --with-pic or --without-pic was given.
5765 if test "${with_pic+set}" = set; then
5771 test -z "$pic_mode" && pic_mode=default
5773 # Use C for the default configuration in the libtool script
5777 ac_cpp='$CPP $CPPFLAGS'
5778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5783 # Source file extension for C test sources.
5786 # Object file extension for compiled C test sources.
5790 # Code to be used in simple compile tests
5791 lt_simple_compile_test_code="int some_variable = 0;\n"
5793 # Code to be used in simple link tests
5794 lt_simple_link_test_code='int main(){return(0);}\n'
5797 # If no C compiler was specified, use CC.
5800 # Allow CC to be a program name with arguments.
5805 # Check for any special shared library compilation flags.
5808 if test "$GCC" = no; then
5811 lt_prog_cc_shlib='-belf'
5815 if test -n "$lt_prog_cc_shlib"; then
5816 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
5817 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
5818 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
5820 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
5821 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
5822 lt_cv_prog_cc_can_build_shared=no
5828 # Check to make sure the static flag actually works.
5830 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
5831 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
5832 if test "${lt_prog_compiler_static_works+set}" = set; then
5833 echo $ECHO_N "(cached) $ECHO_C" >&6
5835 lt_prog_compiler_static_works=no
5836 save_LDFLAGS="$LDFLAGS"
5837 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
5838 printf "$lt_simple_link_test_code" > conftest.$ac_ext
5839 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
5840 # The compiler can only warn and ignore the option if not recognized
5841 # So say no if there are warnings
5842 if test -s conftest.err; then
5843 # Append any errors to the config.log.
5844 cat conftest.err 1>&5
5846 lt_prog_compiler_static_works=yes
5850 LDFLAGS="$save_LDFLAGS"
5853 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
5854 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
5856 if test x"$lt_prog_compiler_static_works" = xyes; then
5859 lt_prog_compiler_static=
5865 ## There is no encapsulation within the following macros, do not change
5866 ## the running order or otherwise move them around unless you know exactly
5867 ## what you are doing...
5869 lt_prog_compiler_no_builtin_flag=
5871 if test "$GCC" = yes; then
5872 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
5874 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5875 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5876 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
5877 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 lt_cv_prog_compiler_rtti_exceptions=no
5880 ac_outfile=conftest.$ac_objext
5881 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5882 lt_compiler_flag="-fno-rtti -fno-exceptions"
5883 # Insert the option either (1) after the last *FLAGS variable, or
5884 # (2) before a word containing "conftest.", or (3) at the end.
5885 # Note that $ac_compile itself does not contain backslashes and begins
5886 # with a dollar sign (not a hyphen), so the echo should work correctly.
5887 # The option is referenced via a variable to avoid confusing sed.
5888 lt_compile=`echo "$ac_compile" | $SED \
5889 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
5890 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5891 -e 's:$: $lt_compiler_flag:'`
5892 (eval echo "\"\$as_me:5892: $lt_compile\"" >&5)
5893 (eval "$lt_compile" 2>conftest.err)
5895 cat conftest.err >&5
5896 echo "$as_me:5896: \$? = $ac_status" >&5
5897 if (exit $ac_status) && test -s "$ac_outfile"; then
5898 # The compiler can only warn and ignore the option if not recognized
5899 # So say no if there are warnings
5900 if test ! -s conftest.err; then
5901 lt_cv_prog_compiler_rtti_exceptions=yes
5907 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
5908 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
5910 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
5911 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
5918 lt_prog_compiler_wl=
5919 lt_prog_compiler_pic=
5920 lt_prog_compiler_static=
5922 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5923 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5925 if test "$GCC" = yes; then
5926 lt_prog_compiler_wl='-Wl,'
5927 lt_prog_compiler_static='-static'
5931 # All AIX code is PIC.
5932 if test "$host_cpu" = ia64; then
5933 # AIX 5 now supports IA64 processor
5934 lt_prog_compiler_static='-Bstatic'
5939 # FIXME: we need at least 68020 code to build shared libraries, but
5940 # adding the `-m68020' flag to GCC prevents building anything better,
5942 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
5945 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5946 # PIC is the default for these OSes.
5949 mingw* | pw32* | os2*)
5950 # This hack is so that the source file can tell whether it is being
5951 # built for inclusion in a dll (and should export symbols for example).
5952 lt_prog_compiler_pic='-DDLL_EXPORT'
5955 darwin* | rhapsody*)
5956 # PIC is the default on this platform
5957 # Common symbols not allowed in MH_DYLIB files
5958 lt_prog_compiler_pic='-fno-common'
5962 # Just because we use GCC doesn't mean we suddenly get shared libraries
5963 # on systems that don't support them.
5964 lt_prog_compiler_can_build_shared=no
5969 if test -d /usr/nec; then
5970 lt_prog_compiler_pic=-Kconform_pic
5975 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5982 lt_prog_compiler_pic='-fPIC'
5988 lt_prog_compiler_pic='-fPIC'
5992 # PORTME Check for flag to pass linker flags through the system compiler.
5995 lt_prog_compiler_wl='-Wl,'
5996 if test "$host_cpu" = ia64; then
5997 # AIX 5 now supports IA64 processor
5998 lt_prog_compiler_static='-Bstatic'
6000 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6004 mingw* | pw32* | os2*)
6005 # This hack is so that the source file can tell whether it is being
6006 # built for inclusion in a dll (and should export symbols for example).
6007 lt_prog_compiler_pic='-DDLL_EXPORT'
6010 hpux9* | hpux10* | hpux11*)
6011 lt_prog_compiler_wl='-Wl,'
6012 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6019 lt_prog_compiler_pic='+Z'
6022 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6023 lt_prog_compiler_static='${wl}-a ${wl}archive'
6026 irix5* | irix6* | nonstopux*)
6027 lt_prog_compiler_wl='-Wl,'
6028 # PIC (with -KPIC) is the default.
6029 lt_prog_compiler_static='-non_shared'
6033 lt_prog_compiler_pic='-KPIC'
6034 lt_prog_compiler_static='-Bstatic'
6040 lt_prog_compiler_wl='-Wl,'
6041 lt_prog_compiler_pic='-KPIC'
6042 lt_prog_compiler_static='-static'
6045 lt_prog_compiler_wl='-Wl,'
6046 # All Alpha code is PIC.
6047 lt_prog_compiler_static='-non_shared'
6052 osf3* | osf4* | osf5*)
6053 lt_prog_compiler_wl='-Wl,'
6054 # All OSF/1 code is PIC.
6055 lt_prog_compiler_static='-non_shared'
6059 lt_prog_compiler_pic='-Kpic'
6060 lt_prog_compiler_static='-dn'
6064 lt_prog_compiler_wl='-Wl,'
6065 lt_prog_compiler_pic='-KPIC'
6066 lt_prog_compiler_static='-Bstatic'
6070 lt_prog_compiler_wl='-Qoption ld '
6071 lt_prog_compiler_pic='-PIC'
6072 lt_prog_compiler_static='-Bstatic'
6075 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6076 lt_prog_compiler_wl='-Wl,'
6077 lt_prog_compiler_pic='-KPIC'
6078 lt_prog_compiler_static='-Bstatic'
6082 if test -d /usr/nec ;then
6083 lt_prog_compiler_pic='-Kconform_pic'
6084 lt_prog_compiler_static='-Bstatic'
6089 lt_prog_compiler_pic='-pic'
6090 lt_prog_compiler_static='-Bstatic'
6094 lt_prog_compiler_can_build_shared=no
6099 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6100 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6103 # Check to make sure the PIC flag actually works.
6105 if test -n "$lt_prog_compiler_pic"; then
6106 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6107 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6108 if test "${lt_prog_compiler_pic_works+set}" = set; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6
6111 lt_prog_compiler_pic_works=no
6112 ac_outfile=conftest.$ac_objext
6113 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6114 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6115 # Insert the option either (1) after the last *FLAGS variable, or
6116 # (2) before a word containing "conftest.", or (3) at the end.
6117 # Note that $ac_compile itself does not contain backslashes and begins
6118 # with a dollar sign (not a hyphen), so the echo should work correctly.
6119 # The option is referenced via a variable to avoid confusing sed.
6120 lt_compile=`echo "$ac_compile" | $SED \
6121 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6122 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6123 -e 's:$: $lt_compiler_flag:'`
6124 (eval echo "\"\$as_me:6124: $lt_compile\"" >&5)
6125 (eval "$lt_compile" 2>conftest.err)
6127 cat conftest.err >&5
6128 echo "$as_me:6128: \$? = $ac_status" >&5
6129 if (exit $ac_status) && test -s "$ac_outfile"; then
6130 # The compiler can only warn and ignore the option if not recognized
6131 # So say no if there are warnings
6132 if test ! -s conftest.err; then
6133 lt_prog_compiler_pic_works=yes
6139 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6140 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6142 if test x"$lt_prog_compiler_pic_works" = xyes; then
6143 case $lt_prog_compiler_pic in
6145 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6148 lt_prog_compiler_pic=
6149 lt_prog_compiler_can_build_shared=no
6154 # For platforms which do not support PIC, -DPIC is meaningless:
6156 lt_prog_compiler_pic=
6159 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6163 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6164 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6165 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6166 echo $ECHO_N "(cached) $ECHO_C" >&6
6168 lt_cv_prog_compiler_c_o=no
6169 $rm -r conftest 2>/dev/null
6173 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6175 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6176 # that will create temporary files in the current directory regardless of
6177 # the output directory. Thus, making CWD read-only will cause this test
6178 # to fail, enabling locking or at least warning the user not to do parallel
6182 lt_compiler_flag="-o out/conftest2.$ac_objext"
6183 # Insert the option either (1) after the last *FLAGS variable, or
6184 # (2) before a word containing "conftest.", or (3) at the end.
6185 # Note that $ac_compile itself does not contain backslashes and begins
6186 # with a dollar sign (not a hyphen), so the echo should work correctly.
6187 lt_compile=`echo "$ac_compile" | $SED \
6188 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6190 -e 's:$: $lt_compiler_flag:'`
6191 (eval echo "\"\$as_me:6191: $lt_compile\"" >&5)
6192 (eval "$lt_compile" 2>out/conftest.err)
6194 cat out/conftest.err >&5
6195 echo "$as_me:6195: \$? = $ac_status" >&5
6196 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6198 # The compiler can only warn and ignore the option if not recognized
6199 # So say no if there are warnings
6200 if test ! -s out/conftest.err; then
6201 lt_cv_prog_compiler_c_o=yes
6212 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6213 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6216 hard_links="nottested"
6217 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6218 # do not overwrite the value of need_locks provided by the user
6219 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6220 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6223 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6225 ln conftest.a conftest.b 2>&5 || hard_links=no
6226 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6227 echo "$as_me:$LINENO: result: $hard_links" >&5
6228 echo "${ECHO_T}$hard_links" >&6
6229 if test "$hard_links" = no; then
6230 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6231 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6238 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6239 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6242 allow_undefined_flag=
6243 enable_shared_with_static_runtimes=no
6245 archive_expsym_cmds=
6246 old_archive_From_new_cmds=
6247 old_archive_from_expsyms_cmds=
6248 export_dynamic_flag_spec=
6249 whole_archive_flag_spec=
6250 thread_safe_flag_spec=
6251 hardcode_libdir_flag_spec=
6252 hardcode_libdir_flag_spec_ld=
6253 hardcode_libdir_separator=
6256 hardcode_shlibpath_var=unsupported
6257 link_all_deplibs=unknown
6258 hardcode_automatic=no
6261 always_export_symbols=no
6262 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6263 # include_expsyms should be a list of space-separated symbols to be *always*
6264 # included in the symbol list
6266 # exclude_expsyms can be an extended regexp of symbols to exclude
6267 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6268 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6269 # as well as any symbol that contains `d'.
6270 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6271 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6272 # platforms (ab)use it in PIC code, but their linkers get confused if
6273 # the symbol is explicitly referenced. Since portable code cannot
6274 # rely on this symbol name, it's probably fine to never include it in
6275 # preloaded symbol tables.
6276 extract_expsyms_cmds=
6279 cygwin* | mingw* | pw32*)
6280 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6281 # When not using gcc, we currently assume that we are using
6282 # Microsoft Visual C++.
6283 if test "$GCC" != yes; then
6293 if test "$with_gnu_ld" = yes; then
6294 # If archive_cmds runs LD, not CC, wlarc should be empty
6297 # See if GNU ld supports shared libraries.
6299 aix3* | aix4* | aix5*)
6300 # On AIX/PPC, the GNU linker is very broken
6301 if test "$host_cpu" != ia64; then
6305 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6306 *** to be unable to reliably create shared libraries on AIX.
6307 *** Therefore, libtool is disabling shared libraries support. If you
6308 *** really care for shared libraries, you may want to modify your PATH
6309 *** so that a non-GNU linker is found, and then restart.
6316 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)'
6317 hardcode_libdir_flag_spec='-L$libdir'
6318 hardcode_minus_L=yes
6320 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6321 # that the semantics of dynamic libraries on AmigaOS, at least up
6322 # to version 4, is to share data among multiple programs linked
6323 # with the same dynamic library. Since this doesn't match the
6324 # behavior of shared libraries on other platforms, we can't use
6330 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6331 allow_undefined_flag=unsupported
6332 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6333 # support --undefined. This deserves some investigation. FIXME
6334 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6340 cygwin* | mingw* | pw32*)
6341 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6342 # as there is no search path for DLLs.
6343 hardcode_libdir_flag_spec='-L$libdir'
6344 allow_undefined_flag=unsupported
6345 always_export_symbols=no
6346 enable_shared_with_static_runtimes=yes
6347 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6349 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6350 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6351 # If the export-symbols file already is a .def file (1st line
6352 # is EXPORTS), use it as is; otherwise, prepend...
6353 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6354 cp $export_symbols $output_objdir/$soname.def;
6356 echo EXPORTS > $output_objdir/$soname.def;
6357 cat $export_symbols >> $output_objdir/$soname.def;
6359 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6366 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6367 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6370 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6371 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6376 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6380 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6381 *** create shared libraries on Solaris systems. Therefore, libtool
6382 *** is disabling shared libraries support. We urge you to upgrade GNU
6383 *** binutils to release 2.9.1 or newer. Another option is to modify
6384 *** your PATH or compiler configuration so that the native linker is
6385 *** used, and then restart.
6388 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6389 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6390 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6397 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6400 hardcode_shlibpath_var=no
6404 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6405 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6406 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6413 if test "$ld_shlibs" = yes; then
6414 runpath_var=LD_RUN_PATH
6415 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6416 export_dynamic_flag_spec='${wl}--export-dynamic'
6417 # ancient GNU ld didn't support --whole-archive et. al.
6418 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6419 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6421 whole_archive_flag_spec=
6425 # PORTME fill in a description of your system's linker (not GNU ld)
6428 allow_undefined_flag=unsupported
6429 always_export_symbols=yes
6430 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'
6431 # Note: this linker hardcodes the directories in LIBPATH if there
6432 # are no directories specified by -L.
6433 hardcode_minus_L=yes
6434 if test "$GCC" = yes && test -z "$link_static_flag"; then
6435 # Neither direct hardcoding nor static linking is supported with a
6437 hardcode_direct=unsupported
6442 if test "$host_cpu" = ia64; then
6443 # On IA64, the linker does run time linking by default, so we don't
6444 # have to do anything special.
6445 aix_use_runtimelinking=no
6446 exp_sym_flag='-Bexport'
6449 # If we're using GNU nm, then we don't want the "-C" option.
6450 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6451 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6452 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'
6454 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'
6456 aix_use_runtimelinking=no
6458 # Test if we are trying to use run time linking or normal
6459 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6460 # need to do runtime linking.
6461 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6462 for ld_flag in $LDFLAGS; do
6463 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6464 aix_use_runtimelinking=yes
6470 exp_sym_flag='-bexport'
6471 no_entry_flag='-bnoentry'
6474 # When large executables or shared objects are built, AIX ld can
6475 # have problems creating the table of contents. If linking a library
6476 # or program results in "error TOC overflow" add -mminimal-toc to
6477 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6478 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6482 hardcode_libdir_separator=':'
6483 link_all_deplibs=yes
6485 if test "$GCC" = yes; then
6486 case $host_os in aix4.012|aix4.012.*)
6487 # We only want to do this on AIX 4.2 and lower, the check
6488 # below for broken collect2 doesn't work under 4.3+
6489 collect2name=`${CC} -print-prog-name=collect2`
6490 if test -f "$collect2name" && \
6491 strings "$collect2name" | grep resolve_lib_name >/dev/null
6493 # We have reworked collect2
6496 # We have old collect2
6497 hardcode_direct=unsupported
6498 # It fails to find uninstalled libraries when the uninstalled
6499 # path is not listed in the libpath. Setting hardcode_minus_L
6500 # to unsupported forces relinking
6501 hardcode_minus_L=yes
6502 hardcode_libdir_flag_spec='-L$libdir'
6503 hardcode_libdir_separator=
6506 shared_flag='-shared'
6509 if test "$host_cpu" = ia64; then
6510 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6511 # chokes on -Wl,-G. The following line is correct:
6514 if test "$aix_use_runtimelinking" = yes; then
6515 shared_flag='${wl}-G'
6517 shared_flag='${wl}-bM:SRE'
6522 # It seems that -bexpall does not export symbols beginning with
6523 # underscore (_), so it is better to generate a list of symbols to export.
6524 always_export_symbols=yes
6525 if test "$aix_use_runtimelinking" = yes; then
6526 # Warning - without using the other runtime loading flags (-brtl),
6527 # -berok will link without error, but may produce a broken library.
6528 allow_undefined_flag='-berok'
6529 # Determine the default libpath from the value encoded in an empty executable.
6530 cat >conftest.$ac_ext <<_ACEOF
6531 #line $LINENO "configure"
6532 #include "confdefs.h"
6534 #ifdef F77_DUMMY_MAIN
6538 int F77_DUMMY_MAIN() { return 1; }
6548 rm -f conftest.$ac_objext conftest$ac_exeext
6549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6550 (eval $ac_link) 2>&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); } &&
6554 { ac_try='test -s conftest$ac_exeext'
6555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); }; }; then
6561 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6563 # Check for a 64-bit object if we didn't find anything.
6564 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; }
6567 echo "$as_me: failed program was:" >&5
6568 cat conftest.$ac_ext >&5
6570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6571 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6573 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6574 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"
6576 if test "$host_cpu" = ia64; then
6577 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6578 allow_undefined_flag="-z nodefs"
6579 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"
6581 # Determine the default libpath from the value encoded in an empty executable.
6582 cat >conftest.$ac_ext <<_ACEOF
6583 #line $LINENO "configure"
6584 #include "confdefs.h"
6586 #ifdef F77_DUMMY_MAIN
6590 int F77_DUMMY_MAIN() { return 1; }
6600 rm -f conftest.$ac_objext conftest$ac_exeext
6601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6602 (eval $ac_link) 2>&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); } &&
6606 { ac_try='test -s conftest$ac_exeext'
6607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; }; then
6613 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6615 # Check for a 64-bit object if we didn't find anything.
6616 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; }
6619 echo "$as_me: failed program was:" >&5
6620 cat conftest.$ac_ext >&5
6622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6623 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6625 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6626 # Warning - without using the other run time loading flags,
6627 # -berok will link without error, but may produce a broken library.
6628 no_undefined_flag=' ${wl}-bernotok'
6629 allow_undefined_flag=' ${wl}-berok'
6630 # -bexpall does not export symbols beginning with underscore (_)
6631 always_export_symbols=yes
6632 # Exported symbols can be pulled into shared objects from archives
6633 whole_archive_flag_spec=' '
6634 archive_cmds_need_lc=yes
6635 # This is similar to how AIX traditionally builds it's shared libraries.
6636 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'
6642 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)'
6643 hardcode_libdir_flag_spec='-L$libdir'
6644 hardcode_minus_L=yes
6645 # see comment about different semantics on the GNU ld section
6650 export_dynamic_flag_spec=-rdynamic
6653 cygwin* | mingw* | pw32*)
6654 # When not using gcc, we currently assume that we are using
6655 # Microsoft Visual C++.
6656 # hardcode_libdir_flag_spec is actually meaningless, as there is
6657 # no search path for DLLs.
6658 hardcode_libdir_flag_spec=' '
6659 allow_undefined_flag=unsupported
6660 # Tell ltmain to make .lib files, not .a files.
6662 # Tell ltmain to make .dll files, not .so files.
6664 # FIXME: Setting linknames here is a bad hack.
6665 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6666 # The linker will automatically build a .lib file if we build a DLL.
6667 old_archive_From_new_cmds='true'
6668 # FIXME: Should let the user specify the lib program.
6669 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
6670 fix_srcfile_path='`cygpath -w "$srcfile"`'
6671 enable_shared_with_static_runtimes=yes
6674 darwin* | rhapsody*)
6675 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
6676 archive_cmds_need_lc=no
6678 rhapsody* | darwin1.[012])
6679 allow_undefined_flag='-undefined suppress'
6682 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
6685 # FIXME: Relying on posixy $() will cause problems for
6686 # cross-compilation, but unfortunately the echo tests do not
6687 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
6688 # `"' quotes if we put them in here... so don't!
6689 lt_int_apple_cc_single_mod=no
6690 output_verbose_link_cmd='echo'
6691 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
6692 lt_int_apple_cc_single_mod=yes
6694 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6695 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6697 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'
6699 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
6700 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
6701 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6702 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}'
6704 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}'
6706 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}'
6708 hardcode_automatic=yes
6709 hardcode_shlibpath_var=unsupported
6710 whole_archive_flag_spec='-all_load $convenience'
6711 link_all_deplibs=yes
6716 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6717 hardcode_libdir_flag_spec='-L$libdir'
6718 hardcode_shlibpath_var=no
6725 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6726 # support. Future versions do this automatically, but an explicit c++rt0.o
6727 # does not break anything, and helps significantly (at the cost of a little
6730 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6731 hardcode_libdir_flag_spec='-R$libdir'
6733 hardcode_shlibpath_var=no
6736 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6738 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6740 hardcode_minus_L=yes
6741 hardcode_shlibpath_var=no
6744 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6746 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6747 hardcode_libdir_flag_spec='-R$libdir'
6749 hardcode_shlibpath_var=no
6753 if test "$GCC" = yes; then
6754 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'
6756 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'
6758 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6759 hardcode_libdir_separator=:
6762 # hardcode_minus_L: Not really in the search PATH,
6763 # but as the default location of the library.
6764 hardcode_minus_L=yes
6765 export_dynamic_flag_spec='${wl}-E'
6769 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6772 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6775 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6781 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6784 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6788 if test "$with_gnu_ld" = no; then
6791 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6792 hardcode_libdir_flag_spec_ld='+b $libdir'
6793 hardcode_libdir_separator=:
6795 hardcode_shlibpath_var=no
6798 hardcode_libdir_flag_spec='-L$libdir'
6800 hardcode_shlibpath_var=no
6802 # hardcode_minus_L: Not really in the search PATH,
6803 # but as the default location of the library.
6804 hardcode_minus_L=yes
6807 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6808 hardcode_libdir_separator=:
6810 export_dynamic_flag_spec='${wl}-E'
6812 # hardcode_minus_L: Not really in the search PATH,
6813 # but as the default location of the library.
6814 hardcode_minus_L=yes
6820 irix5* | irix6* | nonstopux*)
6821 if test "$GCC" = yes; then
6822 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'
6824 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'
6825 hardcode_libdir_flag_spec_ld='-rpath $libdir'
6827 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6828 hardcode_libdir_separator=:
6829 link_all_deplibs=yes
6833 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6834 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6836 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6838 hardcode_libdir_flag_spec='-R$libdir'
6840 hardcode_shlibpath_var=no
6844 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6846 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6847 hardcode_libdir_separator=:
6848 hardcode_shlibpath_var=no
6853 hardcode_shlibpath_var=no
6854 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6855 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6856 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6857 export_dynamic_flag_spec='${wl}-E'
6860 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6861 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6862 hardcode_libdir_flag_spec='-R$libdir'
6865 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6866 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6873 hardcode_libdir_flag_spec='-L$libdir'
6874 hardcode_minus_L=yes
6875 allow_undefined_flag=unsupported
6876 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'
6877 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6881 if test "$GCC" = yes; then
6882 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6883 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'
6885 allow_undefined_flag=' -expect_unresolved \*'
6886 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'
6888 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6889 hardcode_libdir_separator=:
6892 osf4* | osf5*) # as osf3* with the addition of -msym flag
6893 if test "$GCC" = yes; then
6894 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6895 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'
6896 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6898 allow_undefined_flag=' -expect_unresolved \*'
6899 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'
6900 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6901 $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'
6903 # Both c and cxx compiler support -rpath directly
6904 hardcode_libdir_flag_spec='-rpath $libdir'
6906 hardcode_libdir_separator=:
6910 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6911 hardcode_shlibpath_var=no
6912 export_dynamic_flag_spec='${wl}-Bexport'
6913 runpath_var=LD_RUN_PATH
6914 hardcode_runpath_var=yes
6918 no_undefined_flag=' -z text'
6919 if test "$GCC" = yes; then
6920 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6921 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6922 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6924 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6925 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6926 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6928 hardcode_libdir_flag_spec='-R$libdir'
6929 hardcode_shlibpath_var=no
6931 solaris2.[0-5] | solaris2.[0-5].*) ;;
6932 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
6933 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
6935 link_all_deplibs=yes
6939 if test "x$host_vendor" = xsequent; then
6940 # Use $CC to link under sequent, because it throws in some extra .o
6941 # files that make .init and .fini sections work.
6942 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6944 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6946 hardcode_libdir_flag_spec='-L$libdir'
6948 hardcode_minus_L=yes
6949 hardcode_shlibpath_var=no
6953 case $host_vendor in
6955 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6956 hardcode_direct=yes # is this really true???
6959 ## LD is ld it makes a PLAMLIB
6960 ## CC just makes a GrossModule.
6961 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6962 reload_cmds='$CC -r -o $output$reload_objs'
6966 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6967 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
6970 runpath_var='LD_RUN_PATH'
6971 hardcode_shlibpath_var=no
6975 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6976 hardcode_shlibpath_var=no
6977 export_dynamic_flag_spec='-Bexport'
6981 if test -d /usr/nec; then
6982 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6983 hardcode_shlibpath_var=no
6984 runpath_var=LD_RUN_PATH
6985 hardcode_runpath_var=yes
6991 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6994 hardcode_shlibpath_var=no
6995 hardcode_runpath_var=yes
6996 runpath_var=LD_RUN_PATH
6999 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7000 no_undefined_flag='${wl}-z ${wl}text'
7001 if test "$GCC" = yes; then
7002 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7004 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7006 runpath_var='LD_RUN_PATH'
7007 hardcode_shlibpath_var=no
7011 no_undefined_flag=' -z text'
7012 # $CC -shared without GNU ld will not create a library from C++
7013 # object files and a static libstdc++, better avoid it by now
7014 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7015 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7016 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7017 hardcode_libdir_flag_spec=
7018 hardcode_shlibpath_var=no
7019 runpath_var='LD_RUN_PATH'
7023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7024 hardcode_libdir_flag_spec='-L$libdir'
7025 hardcode_shlibpath_var=no
7034 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7035 echo "${ECHO_T}$ld_shlibs" >&6
7036 test "$ld_shlibs" = no && can_build_shared=no
7038 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7039 if test "$GCC" = yes; then
7040 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7044 # Do we need to explicitly link libc?
7046 case "x$archive_cmds_need_lc" in
7048 # Assume -lc should be added
7049 archive_cmds_need_lc=yes
7051 if test "$enable_shared" = yes && test "$GCC" = yes; then
7052 case $archive_cmds in
7054 # FIXME: we may have to deal with multi-command sequences.
7057 # Test whether the compiler implicitly links with -lc since on some
7058 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7059 # to ld, don't add -lc before -lgcc.
7060 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7061 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7063 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7066 (eval $ac_compile) 2>&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); } 2>conftest.err; then
7072 libobjs=conftest.$ac_objext
7074 wl=$lt_prog_compiler_wl
7080 lt_save_allow_undefined_flag=$allow_undefined_flag
7081 allow_undefined_flag=
7082 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7083 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }
7088 archive_cmds_need_lc=no
7090 archive_cmds_need_lc=yes
7092 allow_undefined_flag=$lt_save_allow_undefined_flag
7094 cat conftest.err 1>&5
7097 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7098 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7105 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7106 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7108 if test -n "$hardcode_libdir_flag_spec" || \
7109 test -n "$runpath_var " || \
7110 test "X$hardcode_automatic"="Xyes" ; then
7112 # We can hardcode non-existant directories.
7113 if test "$hardcode_direct" != no &&
7114 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7115 # have to relink, otherwise we might link with an installed library
7116 # when we should be linking with a yet-to-be-installed one
7117 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7118 test "$hardcode_minus_L" != no; then
7119 # Linking always hardcodes the temporary library directory.
7120 hardcode_action=relink
7122 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7123 hardcode_action=immediate
7126 # We cannot hardcode anything, or else we can only hardcode existing
7128 hardcode_action=unsupported
7130 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7131 echo "${ECHO_T}$hardcode_action" >&6
7133 if test "$hardcode_action" = relink; then
7134 # Fast installation is not supported
7135 enable_fast_install=no
7136 elif test "$shlibpath_overrides_runpath" = yes ||
7137 test "$enable_shared" = no; then
7138 # Fast installation is not necessary
7139 enable_fast_install=needless
7144 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7145 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7146 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7147 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7148 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7149 echo "$as_me:$LINENO: result: yes" >&5
7150 echo "${ECHO_T}yes" >&6
7152 # FIXME - insert some real tests, host_os isn't really good enough
7155 if test -n "$STRIP" ; then
7156 striplib="$STRIP -x"
7157 echo "$as_me:$LINENO: result: yes" >&5
7158 echo "${ECHO_T}yes" >&6
7160 echo "$as_me:$LINENO: result: no" >&5
7161 echo "${ECHO_T}no" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7171 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7172 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7174 libname_spec='lib$name'
7182 shlibpath_overrides_runpath=unknown
7184 dynamic_linker="$host_os ld.so"
7185 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7186 if test "$GCC" = yes; then
7187 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7188 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7189 # if the path contains ";" then we assume it to be the separator
7190 # otherwise default to the standard path separator (i.e. ":") - it is
7191 # assumed that no part of a normal pathname contains ";" but that should
7192 # okay in the real world where ";" in dirpaths is itself problematic.
7193 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7195 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7198 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7200 need_lib_prefix=unknown
7201 hardcode_into_libs=no
7203 # when you set need_version to no, make sure it does not cause -set_version
7204 # flags to be left without arguments
7205 need_version=unknown
7210 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7211 shlibpath_var=LIBPATH
7213 # AIX 3 has no versioning support, so we append a major version to the name.
7214 soname_spec='${libname}${release}${shared_ext}$major'
7221 hardcode_into_libs=yes
7222 if test "$host_cpu" = ia64; then
7223 # AIX 5 supports IA64
7224 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7225 shlibpath_var=LD_LIBRARY_PATH
7227 # With GCC up to 2.95.x, collect2 would create an import file
7228 # for dependence libraries. The import file would start with
7229 # the line `#! .'. This would cause the generated library to
7230 # depend on `.', always an invalid library. This was fixed in
7231 # development snapshots of GCC prior to 3.0.
7233 aix4 | aix4.[01] | aix4.[01].*)
7234 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7236 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7243 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7244 # soname into executable. Probably we can add versioning support to
7245 # collect2, so additional links can be useful in future.
7246 if test "$aix_use_runtimelinking" = yes; then
7247 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7248 # instead of lib<name>.a to let people know that these are not
7249 # typical AIX shared libraries.
7250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7252 # We preserve .a as extension for shared libraries through AIX4.2
7253 # and later when we are not doing run time linking.
7254 library_names_spec='${libname}${release}.a $libname.a'
7255 soname_spec='${libname}${release}${shared_ext}$major'
7257 shlibpath_var=LIBPATH
7262 library_names_spec='$libname.ixlibrary $libname.a'
7263 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7264 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'
7268 library_names_spec='${libname}${shared_ext}'
7269 dynamic_linker="$host_os ld.so"
7270 shlibpath_var=LIBRARY_PATH
7276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7277 soname_spec='${libname}${release}${shared_ext}$major'
7278 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7279 shlibpath_var=LD_LIBRARY_PATH
7280 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7281 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7282 # the default ld.so.conf also contains /usr/contrib/lib and
7283 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7284 # libtool to hard-code these into programs
7287 cygwin* | mingw* | pw32*)
7288 version_type=windows
7293 case $GCC,$host_os in
7294 yes,cygwin* | yes,mingw* | yes,pw32*)
7295 library_names_spec='$libname.dll.a'
7296 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7297 postinstall_cmds='base_file=`basename \${file}`~
7298 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7299 dldir=$destdir/`dirname \$dlpath`~
7300 test -d \$dldir || mkdir -p \$dldir~
7301 $install_prog $dir/$dlname \$dldir/$dlname'
7302 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7303 dlpath=$dir/\$dldll~
7305 shlibpath_overrides_runpath=yes
7309 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7310 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7311 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7314 # MinGW DLLs use traditional 'lib' prefix
7315 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7316 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7317 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7318 # It is most probably a Windows format PATH printed by
7319 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7320 # path with ; separators, and with drive letters. We can handle the
7321 # drive letters (cygwin fileutils understands them), so leave them,
7322 # especially as we might pass files found there to a mingw objdump,
7323 # which wouldn't understand a cygwinified path. Ahh.
7324 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7326 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7330 # pw32 DLLs use 'pw' prefix rather than 'lib'
7331 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7337 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7340 dynamic_linker='Win32 ld.exe'
7341 # FIXME: first we should search . and the directory the executable is in
7345 darwin* | rhapsody*)
7346 dynamic_linker="$host_os dyld"
7350 # FIXME: Relying on posixy $() will cause problems for
7351 # cross-compilation, but unfortunately the echo tests do not
7352 # yet detect zsh echo's removal of \ escapes.
7353 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7354 soname_spec='${libname}${release}${major}$shared_ext'
7355 shlibpath_overrides_runpath=yes
7356 shlibpath_var=DYLD_LIBRARY_PATH
7357 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7358 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7359 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7360 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"`
7362 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7370 soname_spec='${libname}${release}${shared_ext}$major'
7371 shlibpath_var=LD_LIBRARY_PATH
7379 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7380 version_type=freebsd-$objformat
7381 case $version_type in
7383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7388 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7392 shlibpath_var=LD_LIBRARY_PATH
7395 shlibpath_overrides_runpath=yes
7397 freebsd3.01* | freebsdelf3.01*)
7398 shlibpath_overrides_runpath=yes
7399 hardcode_into_libs=yes
7402 shlibpath_overrides_runpath=no
7403 hardcode_into_libs=yes
7412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7413 soname_spec='${libname}${release}${shared_ext}$major'
7414 shlibpath_var=LD_LIBRARY_PATH
7415 hardcode_into_libs=yes
7418 hpux9* | hpux10* | hpux11*)
7419 # Give a soname corresponding to the major version so that dld.sl refuses to
7420 # link against other versions.
7427 hardcode_into_libs=yes
7428 dynamic_linker="$host_os dld.so"
7429 shlibpath_var=LD_LIBRARY_PATH
7430 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7432 soname_spec='${libname}${release}${shared_ext}$major'
7433 if test "X$HPUX_IA64_MODE" = X32; then
7434 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7436 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7438 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7442 hardcode_into_libs=yes
7443 dynamic_linker="$host_os dld.sl"
7444 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7445 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7447 soname_spec='${libname}${release}${shared_ext}$major'
7448 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7449 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7453 dynamic_linker="$host_os dld.sl"
7454 shlibpath_var=SHLIB_PATH
7455 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7457 soname_spec='${libname}${release}${shared_ext}$major'
7460 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7461 postinstall_cmds='chmod 555 $lib'
7464 irix5* | irix6* | nonstopux*)
7466 nonstopux*) version_type=nonstopux ;;
7468 if test "$lt_cv_prog_gnu_ld" = yes; then
7476 soname_spec='${libname}${release}${shared_ext}$major'
7477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7479 irix5* | nonstopux*)
7483 case $LD in # libtool.m4 will add one of these switches to LD
7484 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7485 libsuff= shlibsuff= libmagic=32-bit;;
7486 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7487 libsuff=32 shlibsuff=N32 libmagic=N32;;
7488 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7489 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7490 *) libsuff= shlibsuff= libmagic=never-match;;
7494 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7495 shlibpath_overrides_runpath=no
7496 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7497 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7498 hardcode_into_libs=yes
7501 # No shared lib support for Linux oldld, aout, or coff.
7502 linux*oldld* | linux*aout* | linux*coff*)
7506 # This must be Linux ELF.
7511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7512 soname_spec='${libname}${release}${shared_ext}$major'
7513 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7514 shlibpath_var=LD_LIBRARY_PATH
7515 shlibpath_overrides_runpath=no
7516 # This implies no fast_install, which is unacceptable.
7517 # Some rework will be needed to allow for fast_install
7518 # before this can be enabled.
7519 hardcode_into_libs=yes
7521 # We used to test for /lib/ld.so.1 and disable shared libraries on
7522 # powerpc, because MkLinux only supported shared libraries with the
7523 # GNU dynamic linker. Since this was broken with cross compilers,
7524 # most powerpc-linux boxes support dynamic linking these days and
7525 # people can always --disable-shared, the test was removed, and we
7526 # assume the GNU/Linux dynamic linker is in use.
7527 dynamic_linker='GNU/Linux ld.so'
7534 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7536 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7537 dynamic_linker='NetBSD (a.out) ld.so'
7539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7540 soname_spec='${libname}${release}${shared_ext}$major'
7541 dynamic_linker='NetBSD ld.elf_so'
7543 shlibpath_var=LD_LIBRARY_PATH
7544 shlibpath_overrides_runpath=yes
7545 hardcode_into_libs=yes
7550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7551 shlibpath_var=LD_LIBRARY_PATH
7552 shlibpath_overrides_runpath=yes
7559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7560 soname_spec='${libname}${release}${shared_ext}$major'
7561 shlibpath_var=LD_LIBRARY_PATH
7562 shlibpath_overrides_runpath=yes
7569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7570 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7571 shlibpath_var=LD_LIBRARY_PATH
7572 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7574 openbsd2.[89] | openbsd2.[89].*)
7575 shlibpath_overrides_runpath=no
7578 shlibpath_overrides_runpath=yes
7582 shlibpath_overrides_runpath=yes
7587 libname_spec='$name'
7590 library_names_spec='$libname${shared_ext} $libname.a'
7591 dynamic_linker='OS/2 ld.exe'
7592 shlibpath_var=LIBPATH
7595 osf3* | osf4* | osf5*)
7599 soname_spec='${libname}${release}${shared_ext}$major'
7600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7601 shlibpath_var=LD_LIBRARY_PATH
7602 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7603 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7608 soname_spec='${libname}${release}${shared_ext}$major'
7609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7610 shlibpath_var=LD_LIBRARY_PATH
7617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7618 soname_spec='${libname}${release}${shared_ext}$major'
7619 shlibpath_var=LD_LIBRARY_PATH
7620 shlibpath_overrides_runpath=yes
7621 hardcode_into_libs=yes
7622 # ldd complains unless libraries are executable
7623 postinstall_cmds='chmod +x $lib'
7628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7629 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7630 shlibpath_var=LD_LIBRARY_PATH
7631 shlibpath_overrides_runpath=yes
7632 if test "$with_gnu_ld" = yes; then
7638 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7641 soname_spec='${libname}${release}${shared_ext}$major'
7642 shlibpath_var=LD_LIBRARY_PATH
7643 case $host_vendor in
7645 shlibpath_overrides_runpath=no
7647 export_dynamic_flag_spec='${wl}-Blargedynsym'
7648 runpath_var=LD_RUN_PATH
7656 shlibpath_overrides_runpath=no
7657 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7663 if test -d /usr/nec ;then
7665 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
7666 soname_spec='$libname${shared_ext}.$major'
7667 shlibpath_var=LD_LIBRARY_PATH
7673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7674 soname_spec='${libname}${release}${shared_ext}$major'
7675 shlibpath_var=LD_LIBRARY_PATH
7682 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7683 echo "${ECHO_T}$dynamic_linker" >&6
7684 test "$dynamic_linker" = no && can_build_shared=no
7686 if test "x$enable_dlopen" != xyes; then
7687 enable_dlopen=unknown
7688 enable_dlopen_self=unknown
7689 enable_dlopen_self_static=unknown
7696 lt_cv_dlopen="load_add_on"
7698 lt_cv_dlopen_self=yes
7702 lt_cv_dlopen="LoadLibrary"
7707 lt_cv_dlopen="dlopen"
7712 # if libdl is installed we need to link against it
7713 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7714 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7715 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 ac_check_lib_save_LIBS=$LIBS
7720 cat >conftest.$ac_ext <<_ACEOF
7721 #line $LINENO "configure"
7722 #include "confdefs.h"
7724 /* Override any gcc2 internal prototype to avoid an error. */
7728 /* We use char because int might match the return type of a gcc2
7729 builtin and then its argument prototype would still apply. */
7731 #ifdef F77_DUMMY_MAIN
7735 int F77_DUMMY_MAIN() { return 1; }
7745 rm -f conftest.$ac_objext conftest$ac_exeext
7746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7747 (eval $ac_link) 2>&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); } &&
7751 { ac_try='test -s conftest$ac_exeext'
7752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; }; then
7757 ac_cv_lib_dl_dlopen=yes
7759 echo "$as_me: failed program was:" >&5
7760 cat conftest.$ac_ext >&5
7761 ac_cv_lib_dl_dlopen=no
7763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7764 LIBS=$ac_check_lib_save_LIBS
7766 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7767 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7768 if test $ac_cv_lib_dl_dlopen = yes; then
7769 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7774 lt_cv_dlopen_self=yes
7781 echo "$as_me:$LINENO: checking for shl_load" >&5
7782 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7783 if test "${ac_cv_func_shl_load+set}" = set; then
7784 echo $ECHO_N "(cached) $ECHO_C" >&6
7786 cat >conftest.$ac_ext <<_ACEOF
7787 #line $LINENO "configure"
7788 #include "confdefs.h"
7789 /* System header to define __stub macros and hopefully few prototypes,
7790 which can conflict with char shl_load (); below. */
7792 /* Override any gcc2 internal prototype to avoid an error. */
7796 /* We use char because int might match the return type of a gcc2
7797 builtin and then its argument prototype would still apply. */
7801 #ifdef F77_DUMMY_MAIN
7805 int F77_DUMMY_MAIN() { return 1; }
7810 /* The GNU C library defines this for functions which it implements
7811 to always fail with ENOSYS. Some functions are actually named
7812 something starting with __ and the normal name is an alias. */
7813 #if defined (__stub_shl_load) || defined (__stub___shl_load)
7823 rm -f conftest.$ac_objext conftest$ac_exeext
7824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7825 (eval $ac_link) 2>&5
7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828 (exit $ac_status); } &&
7829 { ac_try='test -s conftest$ac_exeext'
7830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834 (exit $ac_status); }; }; then
7835 ac_cv_func_shl_load=yes
7837 echo "$as_me: failed program was:" >&5
7838 cat conftest.$ac_ext >&5
7839 ac_cv_func_shl_load=no
7841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7843 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7844 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7845 if test $ac_cv_func_shl_load = yes; then
7846 lt_cv_dlopen="shl_load"
7848 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7849 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7850 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7851 echo $ECHO_N "(cached) $ECHO_C" >&6
7853 ac_check_lib_save_LIBS=$LIBS
7855 cat >conftest.$ac_ext <<_ACEOF
7856 #line $LINENO "configure"
7857 #include "confdefs.h"
7859 /* Override any gcc2 internal prototype to avoid an error. */
7863 /* We use char because int might match the return type of a gcc2
7864 builtin and then its argument prototype would still apply. */
7866 #ifdef F77_DUMMY_MAIN
7870 int F77_DUMMY_MAIN() { return 1; }
7880 rm -f conftest.$ac_objext conftest$ac_exeext
7881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7882 (eval $ac_link) 2>&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); } &&
7886 { ac_try='test -s conftest$ac_exeext'
7887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); }; }; then
7892 ac_cv_lib_dld_shl_load=yes
7894 echo "$as_me: failed program was:" >&5
7895 cat conftest.$ac_ext >&5
7896 ac_cv_lib_dld_shl_load=no
7898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7899 LIBS=$ac_check_lib_save_LIBS
7901 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7902 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7903 if test $ac_cv_lib_dld_shl_load = yes; then
7904 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
7906 echo "$as_me:$LINENO: checking for dlopen" >&5
7907 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
7908 if test "${ac_cv_func_dlopen+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7911 cat >conftest.$ac_ext <<_ACEOF
7912 #line $LINENO "configure"
7913 #include "confdefs.h"
7914 /* System header to define __stub macros and hopefully few prototypes,
7915 which can conflict with char dlopen (); below. */
7917 /* Override any gcc2 internal prototype to avoid an error. */
7921 /* We use char because int might match the return type of a gcc2
7922 builtin and then its argument prototype would still apply. */
7926 #ifdef F77_DUMMY_MAIN
7930 int F77_DUMMY_MAIN() { return 1; }
7935 /* The GNU C library defines this for functions which it implements
7936 to always fail with ENOSYS. Some functions are actually named
7937 something starting with __ and the normal name is an alias. */
7938 #if defined (__stub_dlopen) || defined (__stub___dlopen)
7948 rm -f conftest.$ac_objext conftest$ac_exeext
7949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7950 (eval $ac_link) 2>&5
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); } &&
7954 { ac_try='test -s conftest$ac_exeext'
7955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); }; }; then
7960 ac_cv_func_dlopen=yes
7962 echo "$as_me: failed program was:" >&5
7963 cat conftest.$ac_ext >&5
7964 ac_cv_func_dlopen=no
7966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7968 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7969 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7970 if test $ac_cv_func_dlopen = yes; then
7971 lt_cv_dlopen="dlopen"
7973 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7974 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7975 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7976 echo $ECHO_N "(cached) $ECHO_C" >&6
7978 ac_check_lib_save_LIBS=$LIBS
7980 cat >conftest.$ac_ext <<_ACEOF
7981 #line $LINENO "configure"
7982 #include "confdefs.h"
7984 /* Override any gcc2 internal prototype to avoid an error. */
7988 /* We use char because int might match the return type of a gcc2
7989 builtin and then its argument prototype would still apply. */
7991 #ifdef F77_DUMMY_MAIN
7995 int F77_DUMMY_MAIN() { return 1; }
8005 rm -f conftest.$ac_objext conftest$ac_exeext
8006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8007 (eval $ac_link) 2>&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } &&
8011 { ac_try='test -s conftest$ac_exeext'
8012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }; }; then
8017 ac_cv_lib_dl_dlopen=yes
8019 echo "$as_me: failed program was:" >&5
8020 cat conftest.$ac_ext >&5
8021 ac_cv_lib_dl_dlopen=no
8023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8024 LIBS=$ac_check_lib_save_LIBS
8026 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8027 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8028 if test $ac_cv_lib_dl_dlopen = yes; then
8029 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8031 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8032 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8033 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8034 echo $ECHO_N "(cached) $ECHO_C" >&6
8036 ac_check_lib_save_LIBS=$LIBS
8038 cat >conftest.$ac_ext <<_ACEOF
8039 #line $LINENO "configure"
8040 #include "confdefs.h"
8042 /* Override any gcc2 internal prototype to avoid an error. */
8046 /* We use char because int might match the return type of a gcc2
8047 builtin and then its argument prototype would still apply. */
8049 #ifdef F77_DUMMY_MAIN
8053 int F77_DUMMY_MAIN() { return 1; }
8063 rm -f conftest.$ac_objext conftest$ac_exeext
8064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8065 (eval $ac_link) 2>&5
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); } &&
8069 { ac_try='test -s conftest$ac_exeext'
8070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); }; }; then
8075 ac_cv_lib_svld_dlopen=yes
8077 echo "$as_me: failed program was:" >&5
8078 cat conftest.$ac_ext >&5
8079 ac_cv_lib_svld_dlopen=no
8081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8082 LIBS=$ac_check_lib_save_LIBS
8084 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8085 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8086 if test $ac_cv_lib_svld_dlopen = yes; then
8087 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8089 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8090 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8091 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8092 echo $ECHO_N "(cached) $ECHO_C" >&6
8094 ac_check_lib_save_LIBS=$LIBS
8096 cat >conftest.$ac_ext <<_ACEOF
8097 #line $LINENO "configure"
8098 #include "confdefs.h"
8100 /* Override any gcc2 internal prototype to avoid an error. */
8104 /* We use char because int might match the return type of a gcc2
8105 builtin and then its argument prototype would still apply. */
8107 #ifdef F77_DUMMY_MAIN
8111 int F77_DUMMY_MAIN() { return 1; }
8121 rm -f conftest.$ac_objext conftest$ac_exeext
8122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8123 (eval $ac_link) 2>&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); } &&
8127 { ac_try='test -s conftest$ac_exeext'
8128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); }; }; then
8133 ac_cv_lib_dld_dld_link=yes
8135 echo "$as_me: failed program was:" >&5
8136 cat conftest.$ac_ext >&5
8137 ac_cv_lib_dld_dld_link=no
8139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8140 LIBS=$ac_check_lib_save_LIBS
8142 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8143 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8144 if test $ac_cv_lib_dld_dld_link = yes; then
8145 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8166 if test "x$lt_cv_dlopen" != xno; then
8172 case $lt_cv_dlopen in
8174 save_CPPFLAGS="$CPPFLAGS"
8175 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8177 save_LDFLAGS="$LDFLAGS"
8178 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8181 LIBS="$lt_cv_dlopen_libs $LIBS"
8183 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8184 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8185 if test "${lt_cv_dlopen_self+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 if test "$cross_compiling" = yes; then :
8189 lt_cv_dlopen_self=cross
8191 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8192 lt_status=$lt_dlunknown
8193 cat > conftest.$ac_ext <<EOF
8194 #line 8194 "configure"
8195 #include "confdefs.h"
8204 # define LT_DLGLOBAL RTLD_GLOBAL
8207 # define LT_DLGLOBAL DL_GLOBAL
8209 # define LT_DLGLOBAL 0
8213 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8214 find out it does not work in some platform. */
8215 #ifndef LT_DLLAZY_OR_NOW
8217 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8220 # define LT_DLLAZY_OR_NOW DL_LAZY
8223 # define LT_DLLAZY_OR_NOW RTLD_NOW
8226 # define LT_DLLAZY_OR_NOW DL_NOW
8228 # define LT_DLLAZY_OR_NOW 0
8236 extern "C" void exit (int);
8239 void fnord() { int i=42;}
8242 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8243 int status = $lt_dlunknown;
8247 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8248 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8249 /* dlclose (self); */
8255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8256 (eval $ac_link) 2>&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8260 (./conftest; exit; ) 2>/dev/null
8263 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8264 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8265 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8268 # compilation failed
8269 lt_cv_dlopen_self=no
8276 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8277 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8279 if test "x$lt_cv_dlopen_self" = xyes; then
8280 LDFLAGS="$LDFLAGS $link_static_flag"
8281 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8282 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8283 if test "${lt_cv_dlopen_self_static+set}" = set; then
8284 echo $ECHO_N "(cached) $ECHO_C" >&6
8286 if test "$cross_compiling" = yes; then :
8287 lt_cv_dlopen_self_static=cross
8289 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8290 lt_status=$lt_dlunknown
8291 cat > conftest.$ac_ext <<EOF
8292 #line 8292 "configure"
8293 #include "confdefs.h"
8302 # define LT_DLGLOBAL RTLD_GLOBAL
8305 # define LT_DLGLOBAL DL_GLOBAL
8307 # define LT_DLGLOBAL 0
8311 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8312 find out it does not work in some platform. */
8313 #ifndef LT_DLLAZY_OR_NOW
8315 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8318 # define LT_DLLAZY_OR_NOW DL_LAZY
8321 # define LT_DLLAZY_OR_NOW RTLD_NOW
8324 # define LT_DLLAZY_OR_NOW DL_NOW
8326 # define LT_DLLAZY_OR_NOW 0
8334 extern "C" void exit (int);
8337 void fnord() { int i=42;}
8340 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8341 int status = $lt_dlunknown;
8345 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8346 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8347 /* dlclose (self); */
8353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8354 (eval $ac_link) 2>&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8358 (./conftest; exit; ) 2>/dev/null
8361 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8362 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8363 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8366 # compilation failed
8367 lt_cv_dlopen_self_static=no
8374 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8375 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8378 CPPFLAGS="$save_CPPFLAGS"
8379 LDFLAGS="$save_LDFLAGS"
8384 case $lt_cv_dlopen_self in
8385 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8386 *) enable_dlopen_self=unknown ;;
8389 case $lt_cv_dlopen_self_static in
8390 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8391 *) enable_dlopen_self_static=unknown ;;
8396 # Report which librarie types wil actually be built
8397 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8398 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8399 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8400 echo "${ECHO_T}$can_build_shared" >&6
8402 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8403 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8404 test "$can_build_shared" = "no" && enable_shared=no
8406 # On AIX, shared libraries and static libraries use the same namespace, and
8407 # are all built from PIC.
8410 test "$enable_shared" = yes && enable_static=no
8411 if test -n "$RANLIB"; then
8412 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8413 postinstall_cmds='$RANLIB $lib'
8418 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8419 test "$enable_shared" = yes && enable_static=no
8422 darwin* | rhapsody*)
8423 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8424 archive_cmds_need_lc=no
8426 rhapsody* | darwin1.[012])
8427 allow_undefined_flag='-undefined suppress'
8430 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8433 # FIXME: Relying on posixy $() will cause problems for
8434 # cross-compilation, but unfortunately the echo tests do not
8435 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8436 # `"' quotes if we put them in here... so don't!
8437 output_verbose_link_cmd='echo'
8438 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8439 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8440 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8441 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}'
8442 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}'
8444 hardcode_automatic=yes
8445 hardcode_shlibpath_var=unsupported
8446 whole_archive_flag_spec='-all_load $convenience'
8447 link_all_deplibs=yes
8451 echo "$as_me:$LINENO: result: $enable_shared" >&5
8452 echo "${ECHO_T}$enable_shared" >&6
8454 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8455 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8456 # Make sure either enable_shared or enable_static is yes.
8457 test "$enable_shared" = yes || enable_static=yes
8458 echo "$as_me:$LINENO: result: $enable_static" >&5
8459 echo "${ECHO_T}$enable_static" >&6
8461 # The else clause should only fire when bootstrapping the
8462 # libtool distribution, otherwise you forgot to ship ltmain.sh
8463 # with your package, and you will get complaints that there are
8464 # no rules to generate ltmain.sh.
8465 if test -f "$ltmain"; then
8466 # See if we are running on zsh, and set the options which allow our commands through
8467 # without removal of \ escapes.
8468 if test -n "${ZSH_VERSION+set}" ; then
8469 setopt NO_GLOB_SUBST
8471 # Now quote all the things that may contain metacharacters while being
8472 # careful not to overquote the AC_SUBSTed values. We take copies of the
8473 # variables and quote the copies for generation of the libtool script.
8474 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8475 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8476 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8477 deplibs_check_method reload_flag reload_cmds need_locks \
8478 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8479 lt_cv_sys_global_symbol_to_c_name_address \
8480 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8481 old_postinstall_cmds old_postuninstall_cmds \
8485 lt_prog_compiler_wl \
8486 lt_prog_compiler_pic \
8487 lt_prog_compiler_static \
8488 lt_prog_compiler_no_builtin_flag \
8489 export_dynamic_flag_spec \
8490 thread_safe_flag_spec \
8491 whole_archive_flag_spec \
8492 enable_shared_with_static_runtimes \
8494 old_archive_from_new_cmds \
8499 compiler_lib_search_path \
8501 archive_expsym_cmds \
8503 postuninstall_cmds \
8504 old_archive_from_expsyms_cmds \
8505 allow_undefined_flag \
8507 export_symbols_cmds \
8508 hardcode_libdir_flag_spec \
8509 hardcode_libdir_flag_spec_ld \
8510 hardcode_libdir_separator \
8511 hardcode_automatic \
8513 module_expsym_cmds \
8514 lt_cv_prog_compiler_c_o \
8519 old_archive_cmds | \
8520 old_archive_from_new_cmds | \
8522 archive_expsym_cmds | \
8524 module_expsym_cmds | \
8525 old_archive_from_expsyms_cmds | \
8526 export_symbols_cmds | \
8527 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8528 postinstall_cmds | postuninstall_cmds | \
8529 old_postinstall_cmds | old_postuninstall_cmds | \
8530 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8531 # Double-quote double-evaled strings.
8532 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8535 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8541 *'\$0 --fallback-echo"')
8542 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8547 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8549 { echo "$as_me:$LINENO: creating $ofile" >&5
8550 echo "$as_me: creating $ofile" >&6;}
8552 cat <<__EOF__ >> "$cfgfile"
8555 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8556 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8557 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8559 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8560 # Free Software Foundation, Inc.
8562 # This file is part of GNU Libtool:
8563 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8565 # This program is free software; you can redistribute it and/or modify
8566 # it under the terms of the GNU General Public License as published by
8567 # the Free Software Foundation; either version 2 of the License, or
8568 # (at your option) any later version.
8570 # This program is distributed in the hope that it will be useful, but
8571 # WITHOUT ANY WARRANTY; without even the implied warranty of
8572 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8573 # General Public License for more details.
8575 # You should have received a copy of the GNU General Public License
8576 # along with this program; if not, write to the Free Software
8577 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8579 # As a special exception to the GNU General Public License, if you
8580 # distribute this file as part of a program that contains a
8581 # configuration script generated by Autoconf, you may include it under
8582 # the same distribution terms that you use for the rest of that program.
8584 # A sed program that does not truncate output.
8587 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8588 Xsed="$SED -e s/^X//"
8590 # The HP-UX ksh and POSIX shell print the target directory to stdout
8592 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8594 # The names of the tagged configurations supported by this script.
8597 # ### BEGIN LIBTOOL CONFIG
8599 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8601 # Shell to use when invoking shell scripts.
8604 # Whether or not to build shared libraries.
8605 build_libtool_libs=$enable_shared
8607 # Whether or not to build static libraries.
8608 build_old_libs=$enable_static
8610 # Whether or not to add -lc for building shared libraries.
8611 build_libtool_need_lc=$archive_cmds_need_lc
8613 # Whether or not to disallow shared libs when runtime libs are static
8614 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8616 # Whether or not to optimize for fast installation.
8617 fast_install=$enable_fast_install
8620 host_alias=$host_alias
8623 # An echo program that does not interpret backslashes.
8628 AR_FLAGS=$lt_AR_FLAGS
8633 # A language-specific compiler.
8636 # Is the compiler the GNU C compiler?
8642 # The linker used to build libraries.
8645 # Whether we need hard or soft links.
8648 # A BSD-compatible nm program.
8651 # A symbol stripping program
8654 # Used to examine libraries when file_magic_cmd begins "file"
8655 MAGIC_CMD=$MAGIC_CMD
8657 # Used on cygwin: DLL creation program.
8660 # Used on cygwin: object dumper.
8663 # Used on cygwin: assembler.
8666 # The name of the directory that contains temporary libtool files.
8669 # How to create reloadable object files.
8670 reload_flag=$lt_reload_flag
8671 reload_cmds=$lt_reload_cmds
8673 # How to pass a linker flag through the compiler.
8674 wl=$lt_lt_prog_compiler_wl
8676 # Object file suffix (normally "o").
8679 # Old archive suffix (normally "a").
8682 # Shared library suffix (normally ".so").
8685 # Executable file suffix (normally "").
8688 # Additional compiler flags for building library objects.
8689 pic_flag=$lt_lt_prog_compiler_pic
8692 # What is the maximum length of a command?
8693 max_cmd_len=$lt_cv_sys_max_cmd_len
8695 # Does compiler simultaneously support -c and -o options?
8696 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
8698 # Must we lock files when doing compilation ?
8699 need_locks=$lt_need_locks
8701 # Do we need the lib prefix for modules?
8702 need_lib_prefix=$need_lib_prefix
8704 # Do we need a version for libraries?
8705 need_version=$need_version
8707 # Whether dlopen is supported.
8708 dlopen_support=$enable_dlopen
8710 # Whether dlopen of programs is supported.
8711 dlopen_self=$enable_dlopen_self
8713 # Whether dlopen of statically linked programs is supported.
8714 dlopen_self_static=$enable_dlopen_self_static
8716 # Compiler flag to prevent dynamic linking.
8717 link_static_flag=$lt_lt_prog_compiler_static
8719 # Compiler flag to turn off builtin functions.
8720 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
8722 # Compiler flag to allow reflexive dlopens.
8723 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
8725 # Compiler flag to generate shared objects directly from archives.
8726 whole_archive_flag_spec=$lt_whole_archive_flag_spec
8728 # Compiler flag to generate thread-safe objects.
8729 thread_safe_flag_spec=$lt_thread_safe_flag_spec
8731 # Library versioning type.
8732 version_type=$version_type
8734 # Format of library name prefix.
8735 libname_spec=$lt_libname_spec
8737 # List of archive names. First name is the real one, the rest are links.
8738 # The last name is the one that the linker finds with -lNAME.
8739 library_names_spec=$lt_library_names_spec
8741 # The coded name of the library, if different from the real name.
8742 soname_spec=$lt_soname_spec
8744 # Commands used to build and install an old-style archive.
8746 old_archive_cmds=$lt_old_archive_cmds
8747 old_postinstall_cmds=$lt_old_postinstall_cmds
8748 old_postuninstall_cmds=$lt_old_postuninstall_cmds
8750 # Create an old-style archive from a shared archive.
8751 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
8753 # Create a temporary old-style archive to link instead of a shared archive.
8754 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
8756 # Commands used to build and install a shared archive.
8757 archive_cmds=$lt_archive_cmds
8758 archive_expsym_cmds=$lt_archive_expsym_cmds
8759 postinstall_cmds=$lt_postinstall_cmds
8760 postuninstall_cmds=$lt_postuninstall_cmds
8762 # Commands used to build a loadable module (assumed same as above if empty)
8763 module_cmds=$lt_module_cmds
8764 module_expsym_cmds=$lt_module_expsym_cmds
8766 # Commands to strip libraries.
8767 old_striplib=$lt_old_striplib
8768 striplib=$lt_striplib
8770 # Dependencies to place before the objects being linked to create a
8772 predep_objects=$lt_predep_objects
8774 # Dependencies to place after the objects being linked to create a
8776 postdep_objects=$lt_postdep_objects
8778 # Dependencies to place before the objects being linked to create a
8782 # Dependencies to place after the objects being linked to create a
8784 postdeps=$lt_postdeps
8786 # The library search path used internally by the compiler when linking
8788 compiler_lib_search_path=$lt_compiler_lib_search_path
8790 # Method to check whether dependent libraries are shared objects.
8791 deplibs_check_method=$lt_deplibs_check_method
8793 # Command to use when deplibs_check_method == file_magic.
8794 file_magic_cmd=$lt_file_magic_cmd
8796 # Flag that allows shared libraries with undefined symbols to be built.
8797 allow_undefined_flag=$lt_allow_undefined_flag
8799 # Flag that forces no undefined symbols.
8800 no_undefined_flag=$lt_no_undefined_flag
8802 # Commands used to finish a libtool library installation in a directory.
8803 finish_cmds=$lt_finish_cmds
8805 # Same as above, but a single script fragment to be evaled but not shown.
8806 finish_eval=$lt_finish_eval
8808 # Take the output of nm and produce a listing of raw symbols and C names.
8809 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
8811 # Transform the output of nm in a proper C declaration
8812 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
8814 # Transform the output of nm in a C name address pair
8815 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
8817 # This is the shared library runtime path variable.
8818 runpath_var=$runpath_var
8820 # This is the shared library path variable.
8821 shlibpath_var=$shlibpath_var
8823 # Is shlibpath searched before the hard-coded library search path?
8824 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
8826 # How to hardcode a shared library path into an executable.
8827 hardcode_action=$hardcode_action
8829 # Whether we should hardcode library paths into libraries.
8830 hardcode_into_libs=$hardcode_into_libs
8832 # Flag to hardcode \$libdir into a binary during linking.
8833 # This must work even if \$libdir does not exist.
8834 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
8836 # If ld is used when linking, flag to hardcode \$libdir into
8837 # a binary during linking. This must work even if \$libdir does
8839 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
8841 # Whether we need a single -rpath flag with a separated argument.
8842 hardcode_libdir_separator=$lt_hardcode_libdir_separator
8844 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
8846 hardcode_direct=$hardcode_direct
8848 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
8850 hardcode_minus_L=$hardcode_minus_L
8852 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
8853 # the resulting binary.
8854 hardcode_shlibpath_var=$hardcode_shlibpath_var
8856 # Set to yes if building a shared library automatically hardcodes DIR into the library
8857 # and all subsequent libraries and executables linked against it.
8858 hardcode_automatic=$hardcode_automatic
8860 # Variables whose values should be saved in libtool wrapper scripts and
8861 # restored at relink time.
8862 variables_saved_for_relink="$variables_saved_for_relink"
8864 # Whether libtool must link a program against all its dependency libraries.
8865 link_all_deplibs=$link_all_deplibs
8867 # Compile-time system search path for libraries
8868 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
8870 # Run-time system search path for libraries
8871 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
8873 # Fix the shell variable \$srcfile for the compiler.
8874 fix_srcfile_path="$fix_srcfile_path"
8876 # Set to yes if exported symbols are required.
8877 always_export_symbols=$always_export_symbols
8879 # The commands to list exported symbols.
8880 export_symbols_cmds=$lt_export_symbols_cmds
8882 # The commands to extract the exported symbol list from a shared archive.
8883 extract_expsyms_cmds=$lt_extract_expsyms_cmds
8885 # Symbols that should not be listed in the preloaded symbols.
8886 exclude_expsyms=$lt_exclude_expsyms
8888 # Symbols that must always be exported.
8889 include_expsyms=$lt_include_expsyms
8891 # ### END LIBTOOL CONFIG
8898 cat <<\EOF >> "$cfgfile"
8900 # AIX sometimes has problems with the GCC collect2 program. For some
8901 # reason, if we set the COLLECT_NAMES environment variable, the problems
8902 # vanish in a puff of smoke.
8903 if test "X${COLLECT_NAMES+set}" != Xset; then
8905 export COLLECT_NAMES
8911 # We use sed instead of cat because bash on DJGPP gets confused if
8912 # if finds mixed CR/LF and LF-only lines. Since sed operates in
8913 # text mode, it properly converts lines to CR/LF. This bash problem
8914 # is reportedly fixed, but why not run on old versions too?
8915 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
8917 mv -f "$cfgfile" "$ofile" || \
8918 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
8922 # If there is no Makefile yet, we rely on a make rule to execute
8923 # `config.status --recheck' to rerun these tests and create the
8924 # libtool script then.
8925 test -f Makefile && make "$ltmain"
8930 ac_cpp='$CPP $CPPFLAGS'
8931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8938 # Check whether --with-tags or --without-tags was given.
8939 if test "${with_tags+set}" = set; then
8940 withval="$with_tags"
8944 if test -f "$ltmain" && test -n "$tagnames"; then
8945 if test ! -f "${ofile}"; then
8946 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
8947 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
8950 if test -z "$LTCC"; then
8951 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
8952 if test -z "$LTCC"; then
8953 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
8954 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
8956 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
8957 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
8961 # Extract list of available tagged configurations in $ofile.
8962 # Note that this assumes the entire list is on one line.
8963 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
8965 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8966 for tagname in $tagnames; do
8968 # Check whether tagname contains only valid characters
8969 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
8971 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
8972 echo "$as_me: error: invalid tag name: $tagname" >&2;}
8973 { (exit 1); exit 1; }; }
8977 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
8979 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
8980 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
8981 { (exit 1); exit 1; }; }
8984 # Update the list of available tags.
8985 if test -n "$tagname"; then
8986 echo appending configuration tag \"$tagname\" to $ofile
8990 if test -n "$CXX" && test "X$CXX" != "Xno"; then
8992 ac_cpp='$CXXCPP $CPPFLAGS'
8993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9000 archive_cmds_need_lc_CXX=no
9001 allow_undefined_flag_CXX=
9002 always_export_symbols_CXX=no
9003 archive_expsym_cmds_CXX=
9004 export_dynamic_flag_spec_CXX=
9005 hardcode_direct_CXX=no
9006 hardcode_libdir_flag_spec_CXX=
9007 hardcode_libdir_flag_spec_ld_CXX=
9008 hardcode_libdir_separator_CXX=
9009 hardcode_minus_L_CXX=no
9010 hardcode_automatic_CXX=no
9012 module_expsym_cmds_CXX=
9013 link_all_deplibs_CXX=unknown
9014 old_archive_cmds_CXX=$old_archive_cmds
9015 no_undefined_flag_CXX=
9016 whole_archive_flag_spec_CXX=
9017 enable_shared_with_static_runtimes_CXX=no
9019 # Dependencies to place before and after the object being linked:
9021 postdep_objects_CXX=
9024 compiler_lib_search_path_CXX=
9026 # Source file extension for C++ test sources.
9029 # Object file extension for compiled C++ test sources.
9033 # Code to be used in simple compile tests
9034 lt_simple_compile_test_code="int some_variable = 0;\n"
9036 # Code to be used in simple link tests
9037 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9039 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9041 # If no C compiler was specified, use CC.
9044 # Allow CC to be a program name with arguments.
9048 # Allow CC to be a program name with arguments.
9053 lt_save_with_gnu_ld=$with_gnu_ld
9054 lt_save_path_LD=$lt_cv_path_LD
9055 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9056 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9058 unset lt_cv_prog_gnu_ld
9060 if test -n "${lt_cv_path_LDCXX+set}"; then
9061 lt_cv_path_LD=$lt_cv_path_LDCXX
9065 test -z "${LDCXX+set}" || LD=$LDCXX
9069 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9071 # We don't want -fno-exception wen compiling C++ code, so set the
9072 # no_builtin_flag separately
9073 if test "$GXX" = yes; then
9074 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9076 lt_prog_compiler_no_builtin_flag_CXX=
9079 if test "$GXX" = yes; then
9080 # Set up default GNU C++ configuration
9083 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9084 if test "${with_gnu_ld+set}" = set; then
9085 withval="$with_gnu_ld"
9086 test "$withval" = no || with_gnu_ld=yes
9091 if test "$GCC" = yes; then
9092 # Check if gcc -print-prog-name=ld gives a path.
9093 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9094 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9097 # gcc leaves a trailing carriage return which upsets mingw
9098 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9100 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9103 # Accept absolute paths.
9105 re_direlt='/[^/][^/]*/\.\./'
9106 # Canonicalize the path of ld
9107 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9108 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9109 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9111 test -z "$LD" && LD="$ac_prog"
9114 # If it fails, then pretend we aren't using GCC.
9118 # If it is relative, then search for the first ld in PATH.
9122 elif test "$with_gnu_ld" = yes; then
9123 echo "$as_me:$LINENO: checking for GNU ld" >&5
9124 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9126 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9127 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9129 if test "${lt_cv_path_LD+set}" = set; then
9130 echo $ECHO_N "(cached) $ECHO_C" >&6
9132 if test -z "$LD"; then
9133 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9134 for ac_dir in $PATH; do
9136 test -z "$ac_dir" && ac_dir=.
9137 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9138 lt_cv_path_LD="$ac_dir/$ac_prog"
9139 # Check to see if the program is GNU ld. I'd rather use --version,
9140 # but apparently some GNU ld's only accept -v.
9141 # Break only if it was the GNU/non-GNU ld that we prefer.
9142 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9143 *GNU* | *'with BFD'*)
9144 test "$with_gnu_ld" != no && break
9147 test "$with_gnu_ld" != yes && break
9154 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9159 if test -n "$LD"; then
9160 echo "$as_me:$LINENO: result: $LD" >&5
9161 echo "${ECHO_T}$LD" >&6
9163 echo "$as_me:$LINENO: result: no" >&5
9164 echo "${ECHO_T}no" >&6
9166 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9167 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9168 { (exit 1); exit 1; }; }
9169 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9170 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9171 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9172 echo $ECHO_N "(cached) $ECHO_C" >&6
9174 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9175 case `"$LD" -v 2>&1 </dev/null` in
9176 *GNU* | *'with BFD'*)
9177 lt_cv_prog_gnu_ld=yes
9180 lt_cv_prog_gnu_ld=no
9184 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9185 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9186 with_gnu_ld=$lt_cv_prog_gnu_ld
9190 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9191 # archiving commands below assume that GNU ld is being used.
9192 if test "$with_gnu_ld" = yes; then
9193 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9194 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'
9196 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9197 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9199 # If archive_cmds runs LD, not CC, wlarc should be empty
9200 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9201 # investigate it a little bit more. (MM)
9204 # ancient GNU ld didn't support --whole-archive et. al.
9205 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9206 grep 'no-whole-archive' > /dev/null; then
9207 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9209 whole_archive_flag_spec_CXX=
9215 # A generic and very simple default shared library creation
9216 # command for GNU C++ for the case where it uses the native
9217 # linker, instead of GNU ld. If possible, this setting should
9218 # overridden to take advantage of the native linker features on
9219 # the platform it is being used on.
9220 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9223 # Commands to make compiler produce verbose output that lists
9224 # what "hidden" libraries, object files and flags are used when
9225 # linking a shared library.
9226 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9234 # PORTME: fill in a description of your system's C++ link characteristics
9235 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9236 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9240 # FIXME: insert proper C++ library support
9244 if test "$host_cpu" = ia64; then
9245 # On IA64, the linker does run time linking by default, so we don't
9246 # have to do anything special.
9247 aix_use_runtimelinking=no
9248 exp_sym_flag='-Bexport'
9251 aix_use_runtimelinking=no
9253 # Test if we are trying to use run time linking or normal
9254 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9255 # need to do runtime linking.
9256 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9257 for ld_flag in $LDFLAGS; do
9260 aix_use_runtimelinking=yes
9267 exp_sym_flag='-bexport'
9268 no_entry_flag='-bnoentry'
9271 # When large executables or shared objects are built, AIX ld can
9272 # have problems creating the table of contents. If linking a library
9273 # or program results in "error TOC overflow" add -mminimal-toc to
9274 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9275 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9278 hardcode_direct_CXX=yes
9279 hardcode_libdir_separator_CXX=':'
9280 link_all_deplibs_CXX=yes
9282 if test "$GXX" = yes; then
9283 case $host_os in aix4.012|aix4.012.*)
9284 # We only want to do this on AIX 4.2 and lower, the check
9285 # below for broken collect2 doesn't work under 4.3+
9286 collect2name=`${CC} -print-prog-name=collect2`
9287 if test -f "$collect2name" && \
9288 strings "$collect2name" | grep resolve_lib_name >/dev/null
9290 # We have reworked collect2
9291 hardcode_direct_CXX=yes
9293 # We have old collect2
9294 hardcode_direct_CXX=unsupported
9295 # It fails to find uninstalled libraries when the uninstalled
9296 # path is not listed in the libpath. Setting hardcode_minus_L
9297 # to unsupported forces relinking
9298 hardcode_minus_L_CXX=yes
9299 hardcode_libdir_flag_spec_CXX='-L$libdir'
9300 hardcode_libdir_separator_CXX=
9303 shared_flag='-shared'
9306 if test "$host_cpu" = ia64; then
9307 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9308 # chokes on -Wl,-G. The following line is correct:
9311 if test "$aix_use_runtimelinking" = yes; then
9312 shared_flag='${wl}-G'
9314 shared_flag='${wl}-bM:SRE'
9319 # It seems that -bexpall does not export symbols beginning with
9320 # underscore (_), so it is better to generate a list of symbols to export.
9321 always_export_symbols_CXX=yes
9322 if test "$aix_use_runtimelinking" = yes; then
9323 # Warning - without using the other runtime loading flags (-brtl),
9324 # -berok will link without error, but may produce a broken library.
9325 allow_undefined_flag_CXX='-berok'
9326 # Determine the default libpath from the value encoded in an empty executable.
9327 cat >conftest.$ac_ext <<_ACEOF
9328 #line $LINENO "configure"
9329 #include "confdefs.h"
9331 #ifdef F77_DUMMY_MAIN
9335 int F77_DUMMY_MAIN() { return 1; }
9345 rm -f conftest.$ac_objext conftest$ac_exeext
9346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9347 (eval $ac_link) 2>&5
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); } &&
9351 { ac_try='test -s conftest$ac_exeext'
9352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); }; }; then
9358 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9360 # Check for a 64-bit object if we didn't find anything.
9361 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; }
9364 echo "$as_me: failed program was:" >&5
9365 cat conftest.$ac_ext >&5
9367 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9368 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9370 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9372 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"
9374 if test "$host_cpu" = ia64; then
9375 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9376 allow_undefined_flag_CXX="-z nodefs"
9377 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"
9379 # Determine the default libpath from the value encoded in an empty executable.
9380 cat >conftest.$ac_ext <<_ACEOF
9381 #line $LINENO "configure"
9382 #include "confdefs.h"
9384 #ifdef F77_DUMMY_MAIN
9388 int F77_DUMMY_MAIN() { return 1; }
9398 rm -f conftest.$ac_objext conftest$ac_exeext
9399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9400 (eval $ac_link) 2>&5
9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 (exit $ac_status); } &&
9404 { ac_try='test -s conftest$ac_exeext'
9405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); }; }; then
9411 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9413 # Check for a 64-bit object if we didn't find anything.
9414 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; }
9417 echo "$as_me: failed program was:" >&5
9418 cat conftest.$ac_ext >&5
9420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9421 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9423 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9424 # Warning - without using the other run time loading flags,
9425 # -berok will link without error, but may produce a broken library.
9426 no_undefined_flag_CXX=' ${wl}-bernotok'
9427 allow_undefined_flag_CXX=' ${wl}-berok'
9428 # -bexpall does not export symbols beginning with underscore (_)
9429 always_export_symbols_CXX=yes
9430 # Exported symbols can be pulled into shared objects from archives
9431 whole_archive_flag_spec_CXX=' '
9432 archive_cmds_need_lc_CXX=yes
9433 # This is similar to how AIX traditionally builds it's shared libraries.
9434 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'
9439 case $cc_basename in
9441 # FIXME: insert proper C++ library support
9447 cygwin* | mingw* | pw32*)
9448 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9449 # as there is no search path for DLLs.
9450 hardcode_libdir_flag_spec_CXX='-L$libdir'
9451 allow_undefined_flag_CXX=unsupported
9452 always_export_symbols_CXX=no
9453 enable_shared_with_static_runtimes_CXX=yes
9455 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9456 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'
9457 # If the export-symbols file already is a .def file (1st line
9458 # is EXPORTS), use it as is; otherwise, prepend...
9459 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9460 cp $export_symbols $output_objdir/$soname.def;
9462 echo EXPORTS > $output_objdir/$soname.def;
9463 cat $export_symbols >> $output_objdir/$soname.def;
9465 $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'
9471 darwin* | rhapsody*)
9472 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9473 archive_cmds_need_lc_CXX=no
9475 rhapsody* | darwin1.[012])
9476 allow_undefined_flag_CXX='-undefined suppress'
9479 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9482 lt_int_apple_cc_single_mod=no
9483 output_verbose_link_cmd='echo'
9484 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9485 lt_int_apple_cc_single_mod=yes
9487 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9488 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9490 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'
9492 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9494 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9495 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9496 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}'
9498 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}'
9500 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}'
9501 hardcode_direct_CXX=no
9502 hardcode_automatic_CXX=yes
9503 hardcode_shlibpath_var_CXX=unsupported
9504 whole_archive_flag_spec_CXX='-all_load $convenience'
9505 link_all_deplibs_CXX=yes
9510 case $cc_basename in
9512 # FIXME: insert proper C++ library support
9516 # Green Hills C++ Compiler
9517 # FIXME: insert proper C++ library support
9521 # FIXME: insert proper C++ library support
9527 # C++ shared libraries reported to be fairly broken before switch to ELF
9531 archive_cmds_need_lc_CXX=no
9534 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9541 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9542 hardcode_libdir_separator_CXX=:
9543 export_dynamic_flag_spec_CXX='${wl}-E'
9544 hardcode_direct_CXX=yes
9545 hardcode_minus_L_CXX=yes # Not in the search PATH,
9546 # but as the default
9547 # location of the library.
9549 case $cc_basename in
9551 # FIXME: insert proper C++ library support
9555 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'
9556 # Commands to make compiler produce verbose output that lists
9557 # what "hidden" libraries, object files and flags are used when
9558 # linking a shared library.
9560 # There doesn't appear to be a way to prevent this compiler from
9561 # explicitly linking system object files so we need to strip them
9562 # from the output so that they don't get included in the library
9564 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'
9567 if test "$GXX" = yes; then
9568 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'
9570 # FIXME: insert proper C++ library support
9577 if test $with_gnu_ld = no; then
9580 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9581 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9582 hardcode_libdir_separator_CXX=:
9585 hardcode_libdir_flag_spec_CXX='-L$libdir'
9588 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9589 hardcode_libdir_separator_CXX=:
9590 export_dynamic_flag_spec_CXX='${wl}-E'
9596 hardcode_direct_CXX=no
9597 hardcode_shlibpath_var_CXX=no
9600 hardcode_direct_CXX=no
9601 hardcode_shlibpath_var_CXX=no
9602 hardcode_minus_L_CXX=yes # Not in the search PATH,
9603 # but as the default
9604 # location of the library.
9607 hardcode_direct_CXX=yes
9608 hardcode_minus_L_CXX=yes # Not in the search PATH,
9609 # but as the default
9610 # location of the library.
9614 case $cc_basename in
9616 # FIXME: insert proper C++ library support
9622 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9628 # Commands to make compiler produce verbose output that lists
9629 # what "hidden" libraries, object files and flags are used when
9630 # linking a shared library.
9632 # There doesn't appear to be a way to prevent this compiler from
9633 # explicitly linking system object files so we need to strip them
9634 # from the output so that they don't get included in the library
9636 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'
9639 if test "$GXX" = yes; then
9640 if test $with_gnu_ld = no; then
9643 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9646 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'
9651 # FIXME: insert proper C++ library support
9658 case $cc_basename in
9661 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'
9663 # Archives containing C++ object files must be created using
9664 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
9665 # necessary to make sure instantiated templates are included
9667 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
9670 if test "$GXX" = yes; then
9671 if test "$with_gnu_ld" = no; then
9672 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'
9674 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'
9677 link_all_deplibs_CXX=yes
9680 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
9681 hardcode_libdir_separator_CXX=:
9684 case $cc_basename in
9686 # Kuck and Associates, Inc. (KAI) C++ Compiler
9688 # KCC will only create a shared library if the output file
9689 # ends with ".so" (or ".sl" for HP-UX), so rename the library
9690 # to its proper name (with version) after linking.
9691 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'
9692 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'
9693 # Commands to make compiler produce verbose output that lists
9694 # what "hidden" libraries, object files and flags are used when
9695 # linking a shared library.
9697 # There doesn't appear to be a way to prevent this compiler from
9698 # explicitly linking system object files so we need to strip them
9699 # from the output so that they don't get included in the library
9701 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'
9703 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
9704 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9706 # Archives containing C++ object files must be created using
9707 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
9708 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
9713 archive_cmds_need_lc_CXX=no
9714 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9715 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'
9716 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
9717 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9718 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9722 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9723 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'
9725 runpath_var=LD_RUN_PATH
9726 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
9727 hardcode_libdir_separator_CXX=:
9729 # Commands to make compiler produce verbose output that lists
9730 # what "hidden" libraries, object files and flags are used when
9731 # linking a shared library.
9733 # There doesn't appear to be a way to prevent this compiler from
9734 # explicitly linking system object files so we need to strip them
9735 # from the output so that they don't get included in the library
9737 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'
9742 # FIXME: insert proper C++ library support
9746 # FIXME: insert proper C++ library support
9750 case $cc_basename in
9752 # FIXME: insert proper C++ library support
9756 # FIXME: insert proper C++ library support
9762 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9763 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
9765 hardcode_libdir_flag_spec_CXX='-R$libdir'
9766 hardcode_direct_CXX=yes
9767 hardcode_shlibpath_var_CXX=no
9769 # Workaround some broken pre-1.5 toolchains
9770 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
9773 case $cc_basename in
9775 # Kuck and Associates, Inc. (KAI) C++ Compiler
9777 # KCC will only create a shared library if the output file
9778 # ends with ".so" (or ".sl" for HP-UX), so rename the library
9779 # to its proper name (with version) after linking.
9780 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'
9782 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
9783 hardcode_libdir_separator_CXX=:
9785 # Archives containing C++ object files must be created using
9786 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
9787 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
9791 # Rational C++ 2.4.1
9792 # FIXME: insert proper C++ library support
9796 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
9797 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'
9799 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
9800 hardcode_libdir_separator_CXX=:
9802 # Commands to make compiler produce verbose output that lists
9803 # what "hidden" libraries, object files and flags are used when
9804 # linking a shared library.
9806 # There doesn't appear to be a way to prevent this compiler from
9807 # explicitly linking system object files so we need to strip them
9808 # from the output so that they don't get included in the library
9810 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'
9813 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
9814 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
9815 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'
9817 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
9818 hardcode_libdir_separator_CXX=:
9820 # Commands to make compiler produce verbose output that lists
9821 # what "hidden" libraries, object files and flags are used when
9822 # linking a shared library.
9823 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9826 # FIXME: insert proper C++ library support
9833 case $cc_basename in
9835 # Kuck and Associates, Inc. (KAI) C++ Compiler
9837 # KCC will only create a shared library if the output file
9838 # ends with ".so" (or ".sl" for HP-UX), so rename the library
9839 # to its proper name (with version) after linking.
9840 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'
9842 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
9843 hardcode_libdir_separator_CXX=:
9845 # Archives containing C++ object files must be created using
9846 # the KAI C++ compiler.
9847 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
9850 # Rational C++ 2.4.1
9851 # FIXME: insert proper C++ library support
9855 allow_undefined_flag_CXX=' -expect_unresolved \*'
9856 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'
9857 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
9858 echo "-hidden">> $lib.exp~
9859 $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~
9862 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
9863 hardcode_libdir_separator_CXX=:
9865 # Commands to make compiler produce verbose output that lists
9866 # what "hidden" libraries, object files and flags are used when
9867 # linking a shared library.
9869 # There doesn't appear to be a way to prevent this compiler from
9870 # explicitly linking system object files so we need to strip them
9871 # from the output so that they don't get included in the library
9873 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'
9876 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
9877 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
9878 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'
9880 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
9881 hardcode_libdir_separator_CXX=:
9883 # Commands to make compiler produce verbose output that lists
9884 # what "hidden" libraries, object files and flags are used when
9885 # linking a shared library.
9886 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9889 # FIXME: insert proper C++ library support
9896 # FIXME: insert proper C++ library support
9900 archive_cmds_need_lc_CXX=no
9901 case $cc_basename in
9903 # FIXME: insert proper C++ library support
9907 # FIXME: insert proper C++ library support
9913 case $cc_basename in
9916 # FIXME: insert proper C++ library support
9921 # FIXME: insert proper C++ library support
9925 # FIXME: insert proper C++ library support
9931 case $cc_basename in
9933 # Sun C++ 4.2, 5.x and Centerline C++
9934 no_undefined_flag_CXX=' -zdefs'
9935 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9936 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9937 $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'
9939 hardcode_libdir_flag_spec_CXX='-R$libdir'
9940 hardcode_shlibpath_var_CXX=no
9942 solaris2.0-5 | solaris2.0-5.*) ;;
9944 # The C++ compiler is used as linker so we must use $wl
9945 # flag to pass the commands to the underlying system
9947 # Supported since Solaris 2.6 (maybe 2.5.1?)
9948 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9951 link_all_deplibs_CXX=yes
9953 # Commands to make compiler produce verbose output that lists
9954 # what "hidden" libraries, object files and flags are used when
9955 # linking a shared library.
9957 # There doesn't appear to be a way to prevent this compiler from
9958 # explicitly linking system object files so we need to strip them
9959 # from the output so that they don't get included in the library
9961 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'
9963 # Archives containing C++ object files must be created using
9964 # "CC -xar", where "CC" is the Sun C++ compiler. This is
9965 # necessary to make sure instantiated templates are included
9967 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
9970 # Green Hills C++ Compiler
9971 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
9973 # The C++ compiler must be used to create the archive.
9974 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
9977 # GNU C++ compiler with Solaris linker
9978 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
9979 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
9980 if $CC --version | grep -v '^2\.7' > /dev/null; then
9981 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
9982 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9983 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
9985 # Commands to make compiler produce verbose output that lists
9986 # what "hidden" libraries, object files and flags are used when
9987 # linking a shared library.
9988 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
9990 # g++ 2.7 appears to require `-G' NOT `-shared' on this
9992 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
9993 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9994 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
9996 # Commands to make compiler produce verbose output that lists
9997 # what "hidden" libraries, object files and flags are used when
9998 # linking a shared library.
9999 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10002 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10007 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10008 archive_cmds_need_lc_CXX=no
10011 case $cc_basename in
10013 # NonStop-UX NCC 3.20
10014 # FIXME: insert proper C++ library support
10018 # FIXME: insert proper C++ library support
10024 # FIXME: insert proper C++ library support
10028 # FIXME: insert proper C++ library support
10032 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10033 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10034 test "$ld_shlibs_CXX" = no && can_build_shared=no
10040 ## There is no encapsulation within the following macros, do not change
10041 ## the running order or otherwise move them around unless you know exactly
10042 ## what you are doing...
10044 cat > conftest.$ac_ext <<EOF
10048 Foo (void) { a = 0; }
10054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10055 (eval $ac_compile) 2>&5
10057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10058 (exit $ac_status); }; then
10059 # Parse the compiler output and extract the necessary
10060 # objects, libraries and library flags.
10062 # Sentinel used to keep track of whether or not we are before
10063 # the conftest object file.
10064 pre_test_object_deps_done=no
10066 # The `*' in the case matches for architectures that use `case' in
10067 # $output_verbose_cmd can trigger glob expansion during the loop
10068 # eval without this substitution.
10069 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10071 for p in `eval $output_verbose_link_cmd`; do
10075 # Some compilers place space between "-{L,R}" and the path.
10076 # Remove the space.
10077 if test $p = "-L" \
10078 || test $p = "-R"; then
10085 if test "$pre_test_object_deps_done" = no; then
10088 # Internal compiler library paths should come after those
10089 # provided the user. The postdeps already come after the
10090 # user supplied libs so there is no need to process them.
10091 if test -z "$compiler_lib_search_path_CXX"; then
10092 compiler_lib_search_path_CXX="${prev}${p}"
10094 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10097 # The "-l" case would never come before the object being
10098 # linked, so don't bother handling this case.
10101 if test -z "$postdeps_CXX"; then
10102 postdeps_CXX="${prev}${p}"
10104 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10110 # This assumes that the test object file only shows up
10111 # once in the compiler output.
10112 if test "$p" = "conftest.$objext"; then
10113 pre_test_object_deps_done=yes
10117 if test "$pre_test_object_deps_done" = no; then
10118 if test -z "$predep_objects_CXX"; then
10119 predep_objects_CXX="$p"
10121 predep_objects_CXX="$predep_objects_CXX $p"
10124 if test -z "$postdep_objects_CXX"; then
10125 postdep_objects_CXX="$p"
10127 postdep_objects_CXX="$postdep_objects_CXX $p"
10132 *) ;; # Ignore the rest.
10140 echo "libtool.m4: error: problem compiling CXX test program"
10143 $rm -f confest.$objext
10145 case " $postdeps_CXX " in
10146 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10149 lt_prog_compiler_wl_CXX=
10150 lt_prog_compiler_pic_CXX=
10151 lt_prog_compiler_static_CXX=
10153 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10154 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10156 # C++ specific cases for pic, static, wl, etc.
10157 if test "$GXX" = yes; then
10158 lt_prog_compiler_wl_CXX='-Wl,'
10159 lt_prog_compiler_static_CXX='-static'
10163 # All AIX code is PIC.
10164 if test "$host_cpu" = ia64; then
10165 # AIX 5 now supports IA64 processor
10166 lt_prog_compiler_static_CXX='-Bstatic'
10170 # FIXME: we need at least 68020 code to build shared libraries, but
10171 # adding the `-m68020' flag to GCC prevents building anything better,
10173 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10175 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10176 # PIC is the default for these OSes.
10178 mingw* | os2* | pw32*)
10179 # This hack is so that the source file can tell whether it is being
10180 # built for inclusion in a dll (and should export symbols for example).
10181 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10183 darwin* | rhapsody*)
10184 # PIC is the default on this platform
10185 # Common symbols not allowed in MH_DYLIB files
10186 lt_prog_compiler_pic_CXX='-fno-common'
10189 # DJGPP does not support shared libraries at all
10190 lt_prog_compiler_pic_CXX=
10193 if test -d /usr/nec; then
10194 lt_prog_compiler_pic_CXX=-Kconform_pic
10198 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10199 # not for PA HP-UX.
10200 case "$host_cpu" in
10204 lt_prog_compiler_pic_CXX='-fPIC'
10209 lt_prog_compiler_pic_CXX='-fPIC'
10215 # All AIX code is PIC.
10216 if test "$host_cpu" = ia64; then
10217 # AIX 5 now supports IA64 processor
10218 lt_prog_compiler_static_CXX='-Bstatic'
10220 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10224 case $cc_basename in
10226 # Green Hills C++ Compiler
10227 # _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"
10232 case $cc_basename in
10234 lt_prog_compiler_pic_CXX='-KPIC'
10237 # Green Hills C++ Compiler
10238 lt_prog_compiler_pic_CXX='-pic'
10245 # FreeBSD uses GNU C++
10247 hpux9* | hpux10* | hpux11*)
10248 case $cc_basename in
10250 lt_prog_compiler_wl_CXX='-Wl,'
10251 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10252 if test "$host_cpu" != ia64; then
10253 lt_prog_compiler_pic_CXX='+Z'
10257 lt_prog_compiler_wl_CXX='-Wl,'
10258 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10259 case "$host_cpu" in
10264 lt_prog_compiler_pic_CXX='+Z'
10272 irix5* | irix6* | nonstopux*)
10273 case $cc_basename in
10275 lt_prog_compiler_wl_CXX='-Wl,'
10276 lt_prog_compiler_static_CXX='-non_shared'
10277 # CC pic flag -KPIC is the default.
10284 case $cc_basename in
10287 lt_prog_compiler_wl_CXX='--backend -Wl,'
10288 lt_prog_compiler_pic_CXX='-fPIC'
10292 lt_prog_compiler_wl_CXX='-Wl,'
10293 lt_prog_compiler_pic_CXX='-KPIC'
10294 lt_prog_compiler_static_CXX='-static'
10298 # Make sure the PIC flag is empty. It appears that all Alpha
10299 # Linux and Compaq Tru64 Unix objects are PIC.
10300 lt_prog_compiler_pic_CXX=
10301 lt_prog_compiler_static_CXX='-non_shared'
10312 case $cc_basename in
10314 lt_prog_compiler_pic_CXX='-W c,exportall'
10322 osf3* | osf4* | osf5*)
10323 case $cc_basename in
10325 lt_prog_compiler_wl_CXX='--backend -Wl,'
10328 # Rational C++ 2.4.1
10329 lt_prog_compiler_pic_CXX='-pic'
10332 # Digital/Compaq C++
10333 lt_prog_compiler_wl_CXX='-Wl,'
10334 # Make sure the PIC flag is empty. It appears that all Alpha
10335 # Linux and Compaq Tru64 Unix objects are PIC.
10336 lt_prog_compiler_pic_CXX=
10337 lt_prog_compiler_static_CXX='-non_shared'
10346 case $cc_basename in
10348 lt_prog_compiler_pic_CXX='-fPIC'
10355 case $cc_basename in
10357 # Sun C++ 4.2, 5.x and Centerline C++
10358 lt_prog_compiler_pic_CXX='-KPIC'
10359 lt_prog_compiler_static_CXX='-Bstatic'
10360 lt_prog_compiler_wl_CXX='-Qoption ld '
10363 # Green Hills C++ Compiler
10364 lt_prog_compiler_pic_CXX='-PIC'
10371 case $cc_basename in
10374 lt_prog_compiler_pic_CXX='-pic'
10375 lt_prog_compiler_static_CXX='-Bstatic'
10379 lt_prog_compiler_pic_CXX='-pic'
10386 case $cc_basename in
10388 # NonStop-UX NCC 3.20
10389 lt_prog_compiler_pic_CXX='-KPIC'
10400 lt_prog_compiler_can_build_shared_CXX=no
10405 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10406 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10409 # Check to make sure the PIC flag actually works.
10411 if test -n "$lt_prog_compiler_pic_CXX"; then
10412 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10413 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10414 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10415 echo $ECHO_N "(cached) $ECHO_C" >&6
10417 lt_prog_compiler_pic_works_CXX=no
10418 ac_outfile=conftest.$ac_objext
10419 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10420 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10421 # Insert the option either (1) after the last *FLAGS variable, or
10422 # (2) before a word containing "conftest.", or (3) at the end.
10423 # Note that $ac_compile itself does not contain backslashes and begins
10424 # with a dollar sign (not a hyphen), so the echo should work correctly.
10425 # The option is referenced via a variable to avoid confusing sed.
10426 lt_compile=`echo "$ac_compile" | $SED \
10427 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10429 -e 's:$: $lt_compiler_flag:'`
10430 (eval echo "\"\$as_me:10430: $lt_compile\"" >&5)
10431 (eval "$lt_compile" 2>conftest.err)
10433 cat conftest.err >&5
10434 echo "$as_me:10434: \$? = $ac_status" >&5
10435 if (exit $ac_status) && test -s "$ac_outfile"; then
10436 # The compiler can only warn and ignore the option if not recognized
10437 # So say no if there are warnings
10438 if test ! -s conftest.err; then
10439 lt_prog_compiler_pic_works_CXX=yes
10445 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10446 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10448 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10449 case $lt_prog_compiler_pic_CXX in
10451 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10454 lt_prog_compiler_pic_CXX=
10455 lt_prog_compiler_can_build_shared_CXX=no
10460 # For platforms which do not support PIC, -DPIC is meaningless:
10462 lt_prog_compiler_pic_CXX=
10465 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10469 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10470 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10471 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10474 lt_cv_prog_compiler_c_o_CXX=no
10475 $rm -r conftest 2>/dev/null
10479 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10481 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10482 # that will create temporary files in the current directory regardless of
10483 # the output directory. Thus, making CWD read-only will cause this test
10484 # to fail, enabling locking or at least warning the user not to do parallel
10488 lt_compiler_flag="-o out/conftest2.$ac_objext"
10489 # Insert the option either (1) after the last *FLAGS variable, or
10490 # (2) before a word containing "conftest.", or (3) at the end.
10491 # Note that $ac_compile itself does not contain backslashes and begins
10492 # with a dollar sign (not a hyphen), so the echo should work correctly.
10493 lt_compile=`echo "$ac_compile" | $SED \
10494 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10495 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10496 -e 's:$: $lt_compiler_flag:'`
10497 (eval echo "\"\$as_me:10497: $lt_compile\"" >&5)
10498 (eval "$lt_compile" 2>out/conftest.err)
10500 cat out/conftest.err >&5
10501 echo "$as_me:10501: \$? = $ac_status" >&5
10502 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10504 # The compiler can only warn and ignore the option if not recognized
10505 # So say no if there are warnings
10506 if test ! -s out/conftest.err; then
10507 lt_cv_prog_compiler_c_o_CXX=yes
10511 $rm conftest* out/*
10518 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10519 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10522 hard_links="nottested"
10523 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10524 # do not overwrite the value of need_locks provided by the user
10525 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10526 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10529 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10531 ln conftest.a conftest.b 2>&5 || hard_links=no
10532 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10533 echo "$as_me:$LINENO: result: $hard_links" >&5
10534 echo "${ECHO_T}$hard_links" >&6
10535 if test "$hard_links" = no; then
10536 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10537 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10544 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10545 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10547 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10550 # If we're using GNU nm, then we don't want the "-C" option.
10551 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10552 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10553 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'
10555 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'
10559 export_symbols_cmds_CXX="$ltdll_cmds"
10562 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10565 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10569 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10570 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10571 test "$ld_shlibs_CXX" = no && can_build_shared=no
10573 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10574 if test "$GCC" = yes; then
10575 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10579 # Do we need to explicitly link libc?
10581 case "x$archive_cmds_need_lc_CXX" in
10583 # Assume -lc should be added
10584 archive_cmds_need_lc_CXX=yes
10586 if test "$enable_shared" = yes && test "$GCC" = yes; then
10587 case $archive_cmds_CXX in
10589 # FIXME: we may have to deal with multi-command sequences.
10592 # Test whether the compiler implicitly links with -lc since on some
10593 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10594 # to ld, don't add -lc before -lgcc.
10595 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10596 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10598 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10601 (eval $ac_compile) 2>&5
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); } 2>conftest.err; then
10607 libobjs=conftest.$ac_objext
10609 wl=$lt_prog_compiler_wl_CXX
10615 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10616 allow_undefined_flag_CXX=
10617 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10618 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); }
10623 archive_cmds_need_lc_CXX=no
10625 archive_cmds_need_lc_CXX=yes
10627 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10629 cat conftest.err 1>&5
10632 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10633 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
10640 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10641 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10642 hardcode_action_CXX=
10643 if test -n "$hardcode_libdir_flag_spec_CXX" || \
10644 test -n "$runpath_var CXX" || \
10645 test "X$hardcode_automatic_CXX"="Xyes" ; then
10647 # We can hardcode non-existant directories.
10648 if test "$hardcode_direct_CXX" != no &&
10649 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10650 # have to relink, otherwise we might link with an installed library
10651 # when we should be linking with a yet-to-be-installed one
10652 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
10653 test "$hardcode_minus_L_CXX" != no; then
10654 # Linking always hardcodes the temporary library directory.
10655 hardcode_action_CXX=relink
10657 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10658 hardcode_action_CXX=immediate
10661 # We cannot hardcode anything, or else we can only hardcode existing
10663 hardcode_action_CXX=unsupported
10665 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
10666 echo "${ECHO_T}$hardcode_action_CXX" >&6
10668 if test "$hardcode_action_CXX" = relink; then
10669 # Fast installation is not supported
10670 enable_fast_install=no
10671 elif test "$shlibpath_overrides_runpath" = yes ||
10672 test "$enable_shared" = no; then
10673 # Fast installation is not necessary
10674 enable_fast_install=needless
10679 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10680 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10681 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10682 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10683 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10684 echo "$as_me:$LINENO: result: yes" >&5
10685 echo "${ECHO_T}yes" >&6
10687 # FIXME - insert some real tests, host_os isn't really good enough
10690 if test -n "$STRIP" ; then
10691 striplib="$STRIP -x"
10692 echo "$as_me:$LINENO: result: yes" >&5
10693 echo "${ECHO_T}yes" >&6
10695 echo "$as_me:$LINENO: result: no" >&5
10696 echo "${ECHO_T}no" >&6
10700 echo "$as_me:$LINENO: result: no" >&5
10701 echo "${ECHO_T}no" >&6
10706 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10707 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10708 library_names_spec=
10709 libname_spec='lib$name'
10713 postuninstall_cmds=
10717 shlibpath_overrides_runpath=unknown
10719 dynamic_linker="$host_os ld.so"
10720 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10721 if test "$GCC" = yes; then
10722 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10723 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
10724 # if the path contains ";" then we assume it to be the separator
10725 # otherwise default to the standard path separator (i.e. ":") - it is
10726 # assumed that no part of a normal pathname contains ";" but that should
10727 # okay in the real world where ";" in dirpaths is itself problematic.
10728 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10730 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10733 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10735 need_lib_prefix=unknown
10736 hardcode_into_libs=no
10738 # when you set need_version to no, make sure it does not cause -set_version
10739 # flags to be left without arguments
10740 need_version=unknown
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10746 shlibpath_var=LIBPATH
10748 # AIX 3 has no versioning support, so we append a major version to the name.
10749 soname_spec='${libname}${release}${shared_ext}$major'
10756 hardcode_into_libs=yes
10757 if test "$host_cpu" = ia64; then
10758 # AIX 5 supports IA64
10759 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10760 shlibpath_var=LD_LIBRARY_PATH
10762 # With GCC up to 2.95.x, collect2 would create an import file
10763 # for dependence libraries. The import file would start with
10764 # the line `#! .'. This would cause the generated library to
10765 # depend on `.', always an invalid library. This was fixed in
10766 # development snapshots of GCC prior to 3.0.
10768 aix4 | aix4.[01] | aix4.[01].*)
10769 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10771 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10774 can_build_shared=no
10778 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10779 # soname into executable. Probably we can add versioning support to
10780 # collect2, so additional links can be useful in future.
10781 if test "$aix_use_runtimelinking" = yes; then
10782 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10783 # instead of lib<name>.a to let people know that these are not
10784 # typical AIX shared libraries.
10785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10787 # We preserve .a as extension for shared libraries through AIX4.2
10788 # and later when we are not doing run time linking.
10789 library_names_spec='${libname}${release}.a $libname.a'
10790 soname_spec='${libname}${release}${shared_ext}$major'
10792 shlibpath_var=LIBPATH
10797 library_names_spec='$libname.ixlibrary $libname.a'
10798 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10799 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'
10803 library_names_spec='${libname}${shared_ext}'
10804 dynamic_linker="$host_os ld.so"
10805 shlibpath_var=LIBRARY_PATH
10811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10812 soname_spec='${libname}${release}${shared_ext}$major'
10813 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10814 shlibpath_var=LD_LIBRARY_PATH
10815 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10816 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10817 # the default ld.so.conf also contains /usr/contrib/lib and
10818 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10819 # libtool to hard-code these into programs
10822 cygwin* | mingw* | pw32*)
10823 version_type=windows
10828 case $GCC,$host_os in
10829 yes,cygwin* | yes,mingw* | yes,pw32*)
10830 library_names_spec='$libname.dll.a'
10831 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10832 postinstall_cmds='base_file=`basename \${file}`~
10833 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10834 dldir=$destdir/`dirname \$dlpath`~
10835 test -d \$dldir || mkdir -p \$dldir~
10836 $install_prog $dir/$dlname \$dldir/$dlname'
10837 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10838 dlpath=$dir/\$dldll~
10840 shlibpath_overrides_runpath=yes
10844 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10845 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10846 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
10849 # MinGW DLLs use traditional 'lib' prefix
10850 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10851 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10852 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10853 # It is most probably a Windows format PATH printed by
10854 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10855 # path with ; separators, and with drive letters. We can handle the
10856 # drive letters (cygwin fileutils understands them), so leave them,
10857 # especially as we might pass files found there to a mingw objdump,
10858 # which wouldn't understand a cygwinified path. Ahh.
10859 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10861 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10865 # pw32 DLLs use 'pw' prefix rather than 'lib'
10866 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
10872 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10875 dynamic_linker='Win32 ld.exe'
10876 # FIXME: first we should search . and the directory the executable is in
10880 darwin* | rhapsody*)
10881 dynamic_linker="$host_os dyld"
10882 version_type=darwin
10885 # FIXME: Relying on posixy $() will cause problems for
10886 # cross-compilation, but unfortunately the echo tests do not
10887 # yet detect zsh echo's removal of \ escapes.
10888 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10889 soname_spec='${libname}${release}${major}$shared_ext'
10890 shlibpath_overrides_runpath=yes
10891 shlibpath_var=DYLD_LIBRARY_PATH
10892 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
10893 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10894 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
10895 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"`
10897 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10905 soname_spec='${libname}${release}${shared_ext}$major'
10906 shlibpath_var=LD_LIBRARY_PATH
10914 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
10915 version_type=freebsd-$objformat
10916 case $version_type in
10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10927 shlibpath_var=LD_LIBRARY_PATH
10930 shlibpath_overrides_runpath=yes
10932 freebsd3.01* | freebsdelf3.01*)
10933 shlibpath_overrides_runpath=yes
10934 hardcode_into_libs=yes
10937 shlibpath_overrides_runpath=no
10938 hardcode_into_libs=yes
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10948 soname_spec='${libname}${release}${shared_ext}$major'
10949 shlibpath_var=LD_LIBRARY_PATH
10950 hardcode_into_libs=yes
10953 hpux9* | hpux10* | hpux11*)
10954 # Give a soname corresponding to the major version so that dld.sl refuses to
10955 # link against other versions.
10959 case "$host_cpu" in
10962 hardcode_into_libs=yes
10963 dynamic_linker="$host_os dld.so"
10964 shlibpath_var=LD_LIBRARY_PATH
10965 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 if test "X$HPUX_IA64_MODE" = X32; then
10969 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10971 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10973 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10977 hardcode_into_libs=yes
10978 dynamic_linker="$host_os dld.sl"
10979 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10980 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10982 soname_spec='${libname}${release}${shared_ext}$major'
10983 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10984 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10988 dynamic_linker="$host_os dld.sl"
10989 shlibpath_var=SHLIB_PATH
10990 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992 soname_spec='${libname}${release}${shared_ext}$major'
10995 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10996 postinstall_cmds='chmod 555 $lib'
10999 irix5* | irix6* | nonstopux*)
11001 nonstopux*) version_type=nonstopux ;;
11003 if test "$lt_cv_prog_gnu_ld" = yes; then
11011 soname_spec='${libname}${release}${shared_ext}$major'
11012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11014 irix5* | nonstopux*)
11015 libsuff= shlibsuff=
11018 case $LD in # libtool.m4 will add one of these switches to LD
11019 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11020 libsuff= shlibsuff= libmagic=32-bit;;
11021 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11022 libsuff=32 shlibsuff=N32 libmagic=N32;;
11023 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11024 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11025 *) libsuff= shlibsuff= libmagic=never-match;;
11029 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11030 shlibpath_overrides_runpath=no
11031 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11032 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11033 hardcode_into_libs=yes
11036 # No shared lib support for Linux oldld, aout, or coff.
11037 linux*oldld* | linux*aout* | linux*coff*)
11041 # This must be Linux ELF.
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11047 soname_spec='${libname}${release}${shared_ext}$major'
11048 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11049 shlibpath_var=LD_LIBRARY_PATH
11050 shlibpath_overrides_runpath=no
11051 # This implies no fast_install, which is unacceptable.
11052 # Some rework will be needed to allow for fast_install
11053 # before this can be enabled.
11054 hardcode_into_libs=yes
11056 # We used to test for /lib/ld.so.1 and disable shared libraries on
11057 # powerpc, because MkLinux only supported shared libraries with the
11058 # GNU dynamic linker. Since this was broken with cross compilers,
11059 # most powerpc-linux boxes support dynamic linking these days and
11060 # people can always --disable-shared, the test was removed, and we
11061 # assume the GNU/Linux dynamic linker is in use.
11062 dynamic_linker='GNU/Linux ld.so'
11069 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11071 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11072 dynamic_linker='NetBSD (a.out) ld.so'
11074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11075 soname_spec='${libname}${release}${shared_ext}$major'
11076 dynamic_linker='NetBSD ld.elf_so'
11078 shlibpath_var=LD_LIBRARY_PATH
11079 shlibpath_overrides_runpath=yes
11080 hardcode_into_libs=yes
11085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11086 shlibpath_var=LD_LIBRARY_PATH
11087 shlibpath_overrides_runpath=yes
11094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11095 soname_spec='${libname}${release}${shared_ext}$major'
11096 shlibpath_var=LD_LIBRARY_PATH
11097 shlibpath_overrides_runpath=yes
11104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11105 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11106 shlibpath_var=LD_LIBRARY_PATH
11107 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11109 openbsd2.[89] | openbsd2.[89].*)
11110 shlibpath_overrides_runpath=no
11113 shlibpath_overrides_runpath=yes
11117 shlibpath_overrides_runpath=yes
11122 libname_spec='$name'
11125 library_names_spec='$libname${shared_ext} $libname.a'
11126 dynamic_linker='OS/2 ld.exe'
11127 shlibpath_var=LIBPATH
11130 osf3* | osf4* | osf5*)
11134 soname_spec='${libname}${release}${shared_ext}$major'
11135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11136 shlibpath_var=LD_LIBRARY_PATH
11137 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11138 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11143 soname_spec='${libname}${release}${shared_ext}$major'
11144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11145 shlibpath_var=LD_LIBRARY_PATH
11152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153 soname_spec='${libname}${release}${shared_ext}$major'
11154 shlibpath_var=LD_LIBRARY_PATH
11155 shlibpath_overrides_runpath=yes
11156 hardcode_into_libs=yes
11157 # ldd complains unless libraries are executable
11158 postinstall_cmds='chmod +x $lib'
11163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11164 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11165 shlibpath_var=LD_LIBRARY_PATH
11166 shlibpath_overrides_runpath=yes
11167 if test "$with_gnu_ld" = yes; then
11173 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11176 soname_spec='${libname}${release}${shared_ext}$major'
11177 shlibpath_var=LD_LIBRARY_PATH
11178 case $host_vendor in
11180 shlibpath_overrides_runpath=no
11182 export_dynamic_flag_spec='${wl}-Blargedynsym'
11183 runpath_var=LD_RUN_PATH
11191 shlibpath_overrides_runpath=no
11192 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11198 if test -d /usr/nec ;then
11200 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11201 soname_spec='$libname${shared_ext}.$major'
11202 shlibpath_var=LD_LIBRARY_PATH
11208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11209 soname_spec='${libname}${release}${shared_ext}$major'
11210 shlibpath_var=LD_LIBRARY_PATH
11217 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11218 echo "${ECHO_T}$dynamic_linker" >&6
11219 test "$dynamic_linker" = no && can_build_shared=no
11221 if test "x$enable_dlopen" != xyes; then
11222 enable_dlopen=unknown
11223 enable_dlopen_self=unknown
11224 enable_dlopen_self_static=unknown
11231 lt_cv_dlopen="load_add_on"
11233 lt_cv_dlopen_self=yes
11237 lt_cv_dlopen="LoadLibrary"
11242 lt_cv_dlopen="dlopen"
11247 # if libdl is installed we need to link against it
11248 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11249 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11250 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11251 echo $ECHO_N "(cached) $ECHO_C" >&6
11253 ac_check_lib_save_LIBS=$LIBS
11255 cat >conftest.$ac_ext <<_ACEOF
11256 #line $LINENO "configure"
11257 #include "confdefs.h"
11259 /* Override any gcc2 internal prototype to avoid an error. */
11263 /* We use char because int might match the return type of a gcc2
11264 builtin and then its argument prototype would still apply. */
11266 #ifdef F77_DUMMY_MAIN
11267 # ifdef __cplusplus
11270 int F77_DUMMY_MAIN() { return 1; }
11280 rm -f conftest.$ac_objext conftest$ac_exeext
11281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11282 (eval $ac_link) 2>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); } &&
11286 { ac_try='test -s conftest$ac_exeext'
11287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11288 (eval $ac_try) 2>&5
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); }; }; then
11292 ac_cv_lib_dl_dlopen=yes
11294 echo "$as_me: failed program was:" >&5
11295 cat conftest.$ac_ext >&5
11296 ac_cv_lib_dl_dlopen=no
11298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11299 LIBS=$ac_check_lib_save_LIBS
11301 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11302 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11303 if test $ac_cv_lib_dl_dlopen = yes; then
11304 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11307 lt_cv_dlopen="dyld"
11309 lt_cv_dlopen_self=yes
11316 echo "$as_me:$LINENO: checking for shl_load" >&5
11317 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11318 if test "${ac_cv_func_shl_load+set}" = set; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11321 cat >conftest.$ac_ext <<_ACEOF
11322 #line $LINENO "configure"
11323 #include "confdefs.h"
11324 /* System header to define __stub macros and hopefully few prototypes,
11325 which can conflict with char shl_load (); below. */
11326 #include <assert.h>
11327 /* Override any gcc2 internal prototype to avoid an error. */
11331 /* We use char because int might match the return type of a gcc2
11332 builtin and then its argument prototype would still apply. */
11336 #ifdef F77_DUMMY_MAIN
11337 # ifdef __cplusplus
11340 int F77_DUMMY_MAIN() { return 1; }
11345 /* The GNU C library defines this for functions which it implements
11346 to always fail with ENOSYS. Some functions are actually named
11347 something starting with __ and the normal name is an alias. */
11348 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11358 rm -f conftest.$ac_objext conftest$ac_exeext
11359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11360 (eval $ac_link) 2>&5
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 (exit $ac_status); } &&
11364 { ac_try='test -s conftest$ac_exeext'
11365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366 (eval $ac_try) 2>&5
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); }; }; then
11370 ac_cv_func_shl_load=yes
11372 echo "$as_me: failed program was:" >&5
11373 cat conftest.$ac_ext >&5
11374 ac_cv_func_shl_load=no
11376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11378 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11379 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11380 if test $ac_cv_func_shl_load = yes; then
11381 lt_cv_dlopen="shl_load"
11383 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11384 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11385 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11386 echo $ECHO_N "(cached) $ECHO_C" >&6
11388 ac_check_lib_save_LIBS=$LIBS
11390 cat >conftest.$ac_ext <<_ACEOF
11391 #line $LINENO "configure"
11392 #include "confdefs.h"
11394 /* Override any gcc2 internal prototype to avoid an error. */
11398 /* We use char because int might match the return type of a gcc2
11399 builtin and then its argument prototype would still apply. */
11401 #ifdef F77_DUMMY_MAIN
11402 # ifdef __cplusplus
11405 int F77_DUMMY_MAIN() { return 1; }
11415 rm -f conftest.$ac_objext conftest$ac_exeext
11416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11417 (eval $ac_link) 2>&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); } &&
11421 { ac_try='test -s conftest$ac_exeext'
11422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11423 (eval $ac_try) 2>&5
11425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426 (exit $ac_status); }; }; then
11427 ac_cv_lib_dld_shl_load=yes
11429 echo "$as_me: failed program was:" >&5
11430 cat conftest.$ac_ext >&5
11431 ac_cv_lib_dld_shl_load=no
11433 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11436 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11437 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11438 if test $ac_cv_lib_dld_shl_load = yes; then
11439 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11441 echo "$as_me:$LINENO: checking for dlopen" >&5
11442 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11443 if test "${ac_cv_func_dlopen+set}" = set; then
11444 echo $ECHO_N "(cached) $ECHO_C" >&6
11446 cat >conftest.$ac_ext <<_ACEOF
11447 #line $LINENO "configure"
11448 #include "confdefs.h"
11449 /* System header to define __stub macros and hopefully few prototypes,
11450 which can conflict with char dlopen (); below. */
11451 #include <assert.h>
11452 /* Override any gcc2 internal prototype to avoid an error. */
11456 /* We use char because int might match the return type of a gcc2
11457 builtin and then its argument prototype would still apply. */
11461 #ifdef F77_DUMMY_MAIN
11462 # ifdef __cplusplus
11465 int F77_DUMMY_MAIN() { return 1; }
11470 /* The GNU C library defines this for functions which it implements
11471 to always fail with ENOSYS. Some functions are actually named
11472 something starting with __ and the normal name is an alias. */
11473 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11483 rm -f conftest.$ac_objext conftest$ac_exeext
11484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11485 (eval $ac_link) 2>&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); } &&
11489 { ac_try='test -s conftest$ac_exeext'
11490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11491 (eval $ac_try) 2>&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); }; }; then
11495 ac_cv_func_dlopen=yes
11497 echo "$as_me: failed program was:" >&5
11498 cat conftest.$ac_ext >&5
11499 ac_cv_func_dlopen=no
11501 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11503 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11504 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11505 if test $ac_cv_func_dlopen = yes; then
11506 lt_cv_dlopen="dlopen"
11508 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11509 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11510 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11513 ac_check_lib_save_LIBS=$LIBS
11515 cat >conftest.$ac_ext <<_ACEOF
11516 #line $LINENO "configure"
11517 #include "confdefs.h"
11519 /* Override any gcc2 internal prototype to avoid an error. */
11523 /* We use char because int might match the return type of a gcc2
11524 builtin and then its argument prototype would still apply. */
11526 #ifdef F77_DUMMY_MAIN
11527 # ifdef __cplusplus
11530 int F77_DUMMY_MAIN() { return 1; }
11540 rm -f conftest.$ac_objext conftest$ac_exeext
11541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11542 (eval $ac_link) 2>&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } &&
11546 { ac_try='test -s conftest$ac_exeext'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; }; then
11552 ac_cv_lib_dl_dlopen=yes
11554 echo "$as_me: failed program was:" >&5
11555 cat conftest.$ac_ext >&5
11556 ac_cv_lib_dl_dlopen=no
11558 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11559 LIBS=$ac_check_lib_save_LIBS
11561 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11562 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11563 if test $ac_cv_lib_dl_dlopen = yes; then
11564 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11566 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11567 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11568 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11569 echo $ECHO_N "(cached) $ECHO_C" >&6
11571 ac_check_lib_save_LIBS=$LIBS
11572 LIBS="-lsvld $LIBS"
11573 cat >conftest.$ac_ext <<_ACEOF
11574 #line $LINENO "configure"
11575 #include "confdefs.h"
11577 /* Override any gcc2 internal prototype to avoid an error. */
11581 /* We use char because int might match the return type of a gcc2
11582 builtin and then its argument prototype would still apply. */
11584 #ifdef F77_DUMMY_MAIN
11585 # ifdef __cplusplus
11588 int F77_DUMMY_MAIN() { return 1; }
11598 rm -f conftest.$ac_objext conftest$ac_exeext
11599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11600 (eval $ac_link) 2>&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); } &&
11604 { ac_try='test -s conftest$ac_exeext'
11605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11606 (eval $ac_try) 2>&5
11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609 (exit $ac_status); }; }; then
11610 ac_cv_lib_svld_dlopen=yes
11612 echo "$as_me: failed program was:" >&5
11613 cat conftest.$ac_ext >&5
11614 ac_cv_lib_svld_dlopen=no
11616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_lib_save_LIBS
11619 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11620 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11621 if test $ac_cv_lib_svld_dlopen = yes; then
11622 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11624 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11625 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11626 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11629 ac_check_lib_save_LIBS=$LIBS
11631 cat >conftest.$ac_ext <<_ACEOF
11632 #line $LINENO "configure"
11633 #include "confdefs.h"
11635 /* Override any gcc2 internal prototype to avoid an error. */
11639 /* We use char because int might match the return type of a gcc2
11640 builtin and then its argument prototype would still apply. */
11642 #ifdef F77_DUMMY_MAIN
11643 # ifdef __cplusplus
11646 int F77_DUMMY_MAIN() { return 1; }
11656 rm -f conftest.$ac_objext conftest$ac_exeext
11657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11658 (eval $ac_link) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } &&
11662 { ac_try='test -s conftest$ac_exeext'
11663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11664 (eval $ac_try) 2>&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); }; }; then
11668 ac_cv_lib_dld_dld_link=yes
11670 echo "$as_me: failed program was:" >&5
11671 cat conftest.$ac_ext >&5
11672 ac_cv_lib_dld_dld_link=no
11674 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11675 LIBS=$ac_check_lib_save_LIBS
11677 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11678 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11679 if test $ac_cv_lib_dld_dld_link = yes; then
11680 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11701 if test "x$lt_cv_dlopen" != xno; then
11707 case $lt_cv_dlopen in
11709 save_CPPFLAGS="$CPPFLAGS"
11710 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11712 save_LDFLAGS="$LDFLAGS"
11713 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11716 LIBS="$lt_cv_dlopen_libs $LIBS"
11718 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11719 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11720 if test "${lt_cv_dlopen_self+set}" = set; then
11721 echo $ECHO_N "(cached) $ECHO_C" >&6
11723 if test "$cross_compiling" = yes; then :
11724 lt_cv_dlopen_self=cross
11726 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11727 lt_status=$lt_dlunknown
11728 cat > conftest.$ac_ext <<EOF
11729 #line 11729 "configure"
11730 #include "confdefs.h"
11739 # define LT_DLGLOBAL RTLD_GLOBAL
11742 # define LT_DLGLOBAL DL_GLOBAL
11744 # define LT_DLGLOBAL 0
11748 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11749 find out it does not work in some platform. */
11750 #ifndef LT_DLLAZY_OR_NOW
11752 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11755 # define LT_DLLAZY_OR_NOW DL_LAZY
11758 # define LT_DLLAZY_OR_NOW RTLD_NOW
11761 # define LT_DLLAZY_OR_NOW DL_NOW
11763 # define LT_DLLAZY_OR_NOW 0
11771 extern "C" void exit (int);
11774 void fnord() { int i=42;}
11777 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11778 int status = $lt_dlunknown;
11782 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11783 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11784 /* dlclose (self); */
11790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11791 (eval $ac_link) 2>&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11795 (./conftest; exit; ) 2>/dev/null
11797 case x$lt_status in
11798 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11799 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11800 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
11803 # compilation failed
11804 lt_cv_dlopen_self=no
11811 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11812 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11814 if test "x$lt_cv_dlopen_self" = xyes; then
11815 LDFLAGS="$LDFLAGS $link_static_flag"
11816 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11817 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11818 if test "${lt_cv_dlopen_self_static+set}" = set; then
11819 echo $ECHO_N "(cached) $ECHO_C" >&6
11821 if test "$cross_compiling" = yes; then :
11822 lt_cv_dlopen_self_static=cross
11824 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11825 lt_status=$lt_dlunknown
11826 cat > conftest.$ac_ext <<EOF
11827 #line 11827 "configure"
11828 #include "confdefs.h"
11837 # define LT_DLGLOBAL RTLD_GLOBAL
11840 # define LT_DLGLOBAL DL_GLOBAL
11842 # define LT_DLGLOBAL 0
11846 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11847 find out it does not work in some platform. */
11848 #ifndef LT_DLLAZY_OR_NOW
11850 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11853 # define LT_DLLAZY_OR_NOW DL_LAZY
11856 # define LT_DLLAZY_OR_NOW RTLD_NOW
11859 # define LT_DLLAZY_OR_NOW DL_NOW
11861 # define LT_DLLAZY_OR_NOW 0
11869 extern "C" void exit (int);
11872 void fnord() { int i=42;}
11875 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11876 int status = $lt_dlunknown;
11880 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11881 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11882 /* dlclose (self); */
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); } && test -s conftest${ac_exeext} 2>/dev/null; then
11893 (./conftest; exit; ) 2>/dev/null
11895 case x$lt_status in
11896 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11897 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11898 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
11901 # compilation failed
11902 lt_cv_dlopen_self_static=no
11909 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11910 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11913 CPPFLAGS="$save_CPPFLAGS"
11914 LDFLAGS="$save_LDFLAGS"
11919 case $lt_cv_dlopen_self in
11920 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11921 *) enable_dlopen_self=unknown ;;
11924 case $lt_cv_dlopen_self_static in
11925 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11926 *) enable_dlopen_self_static=unknown ;;
11931 # The else clause should only fire when bootstrapping the
11932 # libtool distribution, otherwise you forgot to ship ltmain.sh
11933 # with your package, and you will get complaints that there are
11934 # no rules to generate ltmain.sh.
11935 if test -f "$ltmain"; then
11936 # See if we are running on zsh, and set the options which allow our commands through
11937 # without removal of \ escapes.
11938 if test -n "${ZSH_VERSION+set}" ; then
11939 setopt NO_GLOB_SUBST
11941 # Now quote all the things that may contain metacharacters while being
11942 # careful not to overquote the AC_SUBSTed values. We take copies of the
11943 # variables and quote the copies for generation of the libtool script.
11944 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
11945 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11946 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11947 deplibs_check_method reload_flag reload_cmds need_locks \
11948 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11949 lt_cv_sys_global_symbol_to_c_name_address \
11950 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11951 old_postinstall_cmds old_postuninstall_cmds \
11955 lt_prog_compiler_wl_CXX \
11956 lt_prog_compiler_pic_CXX \
11957 lt_prog_compiler_static_CXX \
11958 lt_prog_compiler_no_builtin_flag_CXX \
11959 export_dynamic_flag_spec_CXX \
11960 thread_safe_flag_spec_CXX \
11961 whole_archive_flag_spec_CXX \
11962 enable_shared_with_static_runtimes_CXX \
11963 old_archive_cmds_CXX \
11964 old_archive_from_new_cmds_CXX \
11965 predep_objects_CXX \
11966 postdep_objects_CXX \
11969 compiler_lib_search_path_CXX \
11971 archive_expsym_cmds_CXX \
11972 postinstall_cmds_CXX \
11973 postuninstall_cmds_CXX \
11974 old_archive_from_expsyms_cmds_CXX \
11975 allow_undefined_flag_CXX \
11976 no_undefined_flag_CXX \
11977 export_symbols_cmds_CXX \
11978 hardcode_libdir_flag_spec_CXX \
11979 hardcode_libdir_flag_spec_ld_CXX \
11980 hardcode_libdir_separator_CXX \
11981 hardcode_automatic_CXX \
11983 module_expsym_cmds_CXX \
11984 lt_cv_prog_compiler_c_o_CXX \
11985 exclude_expsyms_CXX \
11986 include_expsyms_CXX; do
11989 old_archive_cmds_CXX | \
11990 old_archive_from_new_cmds_CXX | \
11991 archive_cmds_CXX | \
11992 archive_expsym_cmds_CXX | \
11993 module_cmds_CXX | \
11994 module_expsym_cmds_CXX | \
11995 old_archive_from_expsyms_cmds_CXX | \
11996 export_symbols_cmds_CXX | \
11997 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11998 postinstall_cmds | postuninstall_cmds | \
11999 old_postinstall_cmds | old_postuninstall_cmds | \
12000 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12001 # Double-quote double-evaled strings.
12002 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12005 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12011 *'\$0 --fallback-echo"')
12012 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12018 cat <<__EOF__ >> "$cfgfile"
12019 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12021 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12023 # Shell to use when invoking shell scripts.
12026 # Whether or not to build shared libraries.
12027 build_libtool_libs=$enable_shared
12029 # Whether or not to build static libraries.
12030 build_old_libs=$enable_static
12032 # Whether or not to add -lc for building shared libraries.
12033 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12035 # Whether or not to disallow shared libs when runtime libs are static
12036 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12038 # Whether or not to optimize for fast installation.
12039 fast_install=$enable_fast_install
12042 host_alias=$host_alias
12045 # An echo program that does not interpret backslashes.
12050 AR_FLAGS=$lt_AR_FLAGS
12055 # A language-specific compiler.
12056 CC=$lt_compiler_CXX
12058 # Is the compiler the GNU C compiler?
12064 # The linker used to build libraries.
12067 # Whether we need hard or soft links.
12070 # A BSD-compatible nm program.
12073 # A symbol stripping program
12076 # Used to examine libraries when file_magic_cmd begins "file"
12077 MAGIC_CMD=$MAGIC_CMD
12079 # Used on cygwin: DLL creation program.
12082 # Used on cygwin: object dumper.
12085 # Used on cygwin: assembler.
12088 # The name of the directory that contains temporary libtool files.
12091 # How to create reloadable object files.
12092 reload_flag=$lt_reload_flag
12093 reload_cmds=$lt_reload_cmds
12095 # How to pass a linker flag through the compiler.
12096 wl=$lt_lt_prog_compiler_wl_CXX
12098 # Object file suffix (normally "o").
12099 objext="$ac_objext"
12101 # Old archive suffix (normally "a").
12104 # Shared library suffix (normally ".so").
12107 # Executable file suffix (normally "").
12110 # Additional compiler flags for building library objects.
12111 pic_flag=$lt_lt_prog_compiler_pic_CXX
12114 # What is the maximum length of a command?
12115 max_cmd_len=$lt_cv_sys_max_cmd_len
12117 # Does compiler simultaneously support -c and -o options?
12118 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12120 # Must we lock files when doing compilation ?
12121 need_locks=$lt_need_locks
12123 # Do we need the lib prefix for modules?
12124 need_lib_prefix=$need_lib_prefix
12126 # Do we need a version for libraries?
12127 need_version=$need_version
12129 # Whether dlopen is supported.
12130 dlopen_support=$enable_dlopen
12132 # Whether dlopen of programs is supported.
12133 dlopen_self=$enable_dlopen_self
12135 # Whether dlopen of statically linked programs is supported.
12136 dlopen_self_static=$enable_dlopen_self_static
12138 # Compiler flag to prevent dynamic linking.
12139 link_static_flag=$lt_lt_prog_compiler_static_CXX
12141 # Compiler flag to turn off builtin functions.
12142 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12144 # Compiler flag to allow reflexive dlopens.
12145 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12147 # Compiler flag to generate shared objects directly from archives.
12148 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12150 # Compiler flag to generate thread-safe objects.
12151 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12153 # Library versioning type.
12154 version_type=$version_type
12156 # Format of library name prefix.
12157 libname_spec=$lt_libname_spec
12159 # List of archive names. First name is the real one, the rest are links.
12160 # The last name is the one that the linker finds with -lNAME.
12161 library_names_spec=$lt_library_names_spec
12163 # The coded name of the library, if different from the real name.
12164 soname_spec=$lt_soname_spec
12166 # Commands used to build and install an old-style archive.
12168 old_archive_cmds=$lt_old_archive_cmds_CXX
12169 old_postinstall_cmds=$lt_old_postinstall_cmds
12170 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12172 # Create an old-style archive from a shared archive.
12173 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12175 # Create a temporary old-style archive to link instead of a shared archive.
12176 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12178 # Commands used to build and install a shared archive.
12179 archive_cmds=$lt_archive_cmds_CXX
12180 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12181 postinstall_cmds=$lt_postinstall_cmds
12182 postuninstall_cmds=$lt_postuninstall_cmds
12184 # Commands used to build a loadable module (assumed same as above if empty)
12185 module_cmds=$lt_module_cmds_CXX
12186 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12188 # Commands to strip libraries.
12189 old_striplib=$lt_old_striplib
12190 striplib=$lt_striplib
12192 # Dependencies to place before the objects being linked to create a
12194 predep_objects=$lt_predep_objects_CXX
12196 # Dependencies to place after the objects being linked to create a
12198 postdep_objects=$lt_postdep_objects_CXX
12200 # Dependencies to place before the objects being linked to create a
12202 predeps=$lt_predeps_CXX
12204 # Dependencies to place after the objects being linked to create a
12206 postdeps=$lt_postdeps_CXX
12208 # The library search path used internally by the compiler when linking
12209 # a shared library.
12210 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12212 # Method to check whether dependent libraries are shared objects.
12213 deplibs_check_method=$lt_deplibs_check_method
12215 # Command to use when deplibs_check_method == file_magic.
12216 file_magic_cmd=$lt_file_magic_cmd
12218 # Flag that allows shared libraries with undefined symbols to be built.
12219 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12221 # Flag that forces no undefined symbols.
12222 no_undefined_flag=$lt_no_undefined_flag_CXX
12224 # Commands used to finish a libtool library installation in a directory.
12225 finish_cmds=$lt_finish_cmds
12227 # Same as above, but a single script fragment to be evaled but not shown.
12228 finish_eval=$lt_finish_eval
12230 # Take the output of nm and produce a listing of raw symbols and C names.
12231 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12233 # Transform the output of nm in a proper C declaration
12234 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12236 # Transform the output of nm in a C name address pair
12237 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12239 # This is the shared library runtime path variable.
12240 runpath_var=$runpath_var
12242 # This is the shared library path variable.
12243 shlibpath_var=$shlibpath_var
12245 # Is shlibpath searched before the hard-coded library search path?
12246 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12248 # How to hardcode a shared library path into an executable.
12249 hardcode_action=$hardcode_action_CXX
12251 # Whether we should hardcode library paths into libraries.
12252 hardcode_into_libs=$hardcode_into_libs
12254 # Flag to hardcode \$libdir into a binary during linking.
12255 # This must work even if \$libdir does not exist.
12256 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12258 # If ld is used when linking, flag to hardcode \$libdir into
12259 # a binary during linking. This must work even if \$libdir does
12261 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12263 # Whether we need a single -rpath flag with a separated argument.
12264 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12266 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12267 # resulting binary.
12268 hardcode_direct=$hardcode_direct_CXX
12270 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12271 # resulting binary.
12272 hardcode_minus_L=$hardcode_minus_L_CXX
12274 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12275 # the resulting binary.
12276 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12278 # Set to yes if building a shared library automatically hardcodes DIR into the library
12279 # and all subsequent libraries and executables linked against it.
12280 hardcode_automatic=$hardcode_automatic_CXX
12282 # Variables whose values should be saved in libtool wrapper scripts and
12283 # restored at relink time.
12284 variables_saved_for_relink="$variables_saved_for_relink"
12286 # Whether libtool must link a program against all its dependency libraries.
12287 link_all_deplibs=$link_all_deplibs_CXX
12289 # Compile-time system search path for libraries
12290 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12292 # Run-time system search path for libraries
12293 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12295 # Fix the shell variable \$srcfile for the compiler.
12296 fix_srcfile_path="$fix_srcfile_path_CXX"
12298 # Set to yes if exported symbols are required.
12299 always_export_symbols=$always_export_symbols_CXX
12301 # The commands to list exported symbols.
12302 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12304 # The commands to extract the exported symbol list from a shared archive.
12305 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12307 # Symbols that should not be listed in the preloaded symbols.
12308 exclude_expsyms=$lt_exclude_expsyms_CXX
12310 # Symbols that must always be exported.
12311 include_expsyms=$lt_include_expsyms_CXX
12313 # ### END LIBTOOL TAG CONFIG: $tagname
12319 # If there is no Makefile yet, we rely on a make rule to execute
12320 # `config.status --recheck' to rerun these tests and create the
12321 # libtool script then.
12322 test -f Makefile && make "$ltmain"
12327 ac_cpp='$CPP $CPPFLAGS'
12328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12336 with_gnu_ldcxx=$with_gnu_ld
12337 with_gnu_ld=$lt_save_with_gnu_ld
12338 lt_cv_path_LDCXX=$lt_cv_path_LD
12339 lt_cv_path_LD=$lt_save_path_LD
12340 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12341 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12349 if test -n "$F77" && test "X$F77" != "Xno"; then
12352 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12353 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12354 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12357 archive_cmds_need_lc_F77=no
12358 allow_undefined_flag_F77=
12359 always_export_symbols_F77=no
12360 archive_expsym_cmds_F77=
12361 export_dynamic_flag_spec_F77=
12362 hardcode_direct_F77=no
12363 hardcode_libdir_flag_spec_F77=
12364 hardcode_libdir_flag_spec_ld_F77=
12365 hardcode_libdir_separator_F77=
12366 hardcode_minus_L_F77=no
12367 hardcode_automatic_F77=no
12369 module_expsym_cmds_F77=
12370 link_all_deplibs_F77=unknown
12371 old_archive_cmds_F77=$old_archive_cmds
12372 no_undefined_flag_F77=
12373 whole_archive_flag_spec_F77=
12374 enable_shared_with_static_runtimes_F77=no
12376 # Source file extension for f77 test sources.
12379 # Object file extension for compiled f77 test sources.
12383 # Code to be used in simple compile tests
12384 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12386 # Code to be used in simple link tests
12387 lt_simple_link_test_code=" program t\n end\n"
12389 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12391 # If no C compiler was specified, use CC.
12394 # Allow CC to be a program name with arguments.
12398 # Allow CC to be a program name with arguments.
12403 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12405 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12406 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12407 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12408 echo "${ECHO_T}$can_build_shared" >&6
12410 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12411 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12412 test "$can_build_shared" = "no" && enable_shared=no
12414 # On AIX, shared libraries and static libraries use the same namespace, and
12415 # are all built from PIC.
12418 test "$enable_shared" = yes && enable_static=no
12419 if test -n "$RANLIB"; then
12420 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12421 postinstall_cmds='$RANLIB $lib'
12425 test "$enable_shared" = yes && enable_static=no
12428 echo "$as_me:$LINENO: result: $enable_shared" >&5
12429 echo "${ECHO_T}$enable_shared" >&6
12431 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12432 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12433 # Make sure either enable_shared or enable_static is yes.
12434 test "$enable_shared" = yes || enable_static=yes
12435 echo "$as_me:$LINENO: result: $enable_static" >&5
12436 echo "${ECHO_T}$enable_static" >&6
12438 test "$ld_shlibs_F77" = no && can_build_shared=no
12443 lt_prog_compiler_wl_F77=
12444 lt_prog_compiler_pic_F77=
12445 lt_prog_compiler_static_F77=
12447 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12448 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12450 if test "$GCC" = yes; then
12451 lt_prog_compiler_wl_F77='-Wl,'
12452 lt_prog_compiler_static_F77='-static'
12456 # All AIX code is PIC.
12457 if test "$host_cpu" = ia64; then
12458 # AIX 5 now supports IA64 processor
12459 lt_prog_compiler_static_F77='-Bstatic'
12464 # FIXME: we need at least 68020 code to build shared libraries, but
12465 # adding the `-m68020' flag to GCC prevents building anything better,
12467 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12470 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12471 # PIC is the default for these OSes.
12474 mingw* | pw32* | os2*)
12475 # This hack is so that the source file can tell whether it is being
12476 # built for inclusion in a dll (and should export symbols for example).
12477 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12480 darwin* | rhapsody*)
12481 # PIC is the default on this platform
12482 # Common symbols not allowed in MH_DYLIB files
12483 lt_prog_compiler_pic_F77='-fno-common'
12487 # Just because we use GCC doesn't mean we suddenly get shared libraries
12488 # on systems that don't support them.
12489 lt_prog_compiler_can_build_shared_F77=no
12494 if test -d /usr/nec; then
12495 lt_prog_compiler_pic_F77=-Kconform_pic
12500 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12501 # not for PA HP-UX.
12502 case "$host_cpu" in
12507 lt_prog_compiler_pic_F77='-fPIC'
12513 lt_prog_compiler_pic_F77='-fPIC'
12517 # PORTME Check for flag to pass linker flags through the system compiler.
12520 lt_prog_compiler_wl_F77='-Wl,'
12521 if test "$host_cpu" = ia64; then
12522 # AIX 5 now supports IA64 processor
12523 lt_prog_compiler_static_F77='-Bstatic'
12525 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12529 mingw* | pw32* | os2*)
12530 # This hack is so that the source file can tell whether it is being
12531 # built for inclusion in a dll (and should export symbols for example).
12532 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12535 hpux9* | hpux10* | hpux11*)
12536 lt_prog_compiler_wl_F77='-Wl,'
12537 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12538 # not for PA HP-UX.
12539 case "$host_cpu" in
12544 lt_prog_compiler_pic_F77='+Z'
12547 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12548 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12551 irix5* | irix6* | nonstopux*)
12552 lt_prog_compiler_wl_F77='-Wl,'
12553 # PIC (with -KPIC) is the default.
12554 lt_prog_compiler_static_F77='-non_shared'
12558 lt_prog_compiler_pic_F77='-KPIC'
12559 lt_prog_compiler_static_F77='-Bstatic'
12565 lt_prog_compiler_wl_F77='-Wl,'
12566 lt_prog_compiler_pic_F77='-KPIC'
12567 lt_prog_compiler_static_F77='-static'
12570 lt_prog_compiler_wl_F77='-Wl,'
12571 # All Alpha code is PIC.
12572 lt_prog_compiler_static_F77='-non_shared'
12577 osf3* | osf4* | osf5*)
12578 lt_prog_compiler_wl_F77='-Wl,'
12579 # All OSF/1 code is PIC.
12580 lt_prog_compiler_static_F77='-non_shared'
12584 lt_prog_compiler_pic_F77='-Kpic'
12585 lt_prog_compiler_static_F77='-dn'
12589 lt_prog_compiler_wl_F77='-Wl,'
12590 lt_prog_compiler_pic_F77='-KPIC'
12591 lt_prog_compiler_static_F77='-Bstatic'
12595 lt_prog_compiler_wl_F77='-Qoption ld '
12596 lt_prog_compiler_pic_F77='-PIC'
12597 lt_prog_compiler_static_F77='-Bstatic'
12600 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12601 lt_prog_compiler_wl_F77='-Wl,'
12602 lt_prog_compiler_pic_F77='-KPIC'
12603 lt_prog_compiler_static_F77='-Bstatic'
12607 if test -d /usr/nec ;then
12608 lt_prog_compiler_pic_F77='-Kconform_pic'
12609 lt_prog_compiler_static_F77='-Bstatic'
12614 lt_prog_compiler_pic_F77='-pic'
12615 lt_prog_compiler_static_F77='-Bstatic'
12619 lt_prog_compiler_can_build_shared_F77=no
12624 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12625 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12628 # Check to make sure the PIC flag actually works.
12630 if test -n "$lt_prog_compiler_pic_F77"; then
12631 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12632 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
12633 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 lt_prog_compiler_pic_works_F77=no
12637 ac_outfile=conftest.$ac_objext
12638 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12639 lt_compiler_flag="$lt_prog_compiler_pic_F77"
12640 # Insert the option either (1) after the last *FLAGS variable, or
12641 # (2) before a word containing "conftest.", or (3) at the end.
12642 # Note that $ac_compile itself does not contain backslashes and begins
12643 # with a dollar sign (not a hyphen), so the echo should work correctly.
12644 # The option is referenced via a variable to avoid confusing sed.
12645 lt_compile=`echo "$ac_compile" | $SED \
12646 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12647 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12648 -e 's:$: $lt_compiler_flag:'`
12649 (eval echo "\"\$as_me:12649: $lt_compile\"" >&5)
12650 (eval "$lt_compile" 2>conftest.err)
12652 cat conftest.err >&5
12653 echo "$as_me:12653: \$? = $ac_status" >&5
12654 if (exit $ac_status) && test -s "$ac_outfile"; then
12655 # The compiler can only warn and ignore the option if not recognized
12656 # So say no if there are warnings
12657 if test ! -s conftest.err; then
12658 lt_prog_compiler_pic_works_F77=yes
12664 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
12665 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
12667 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
12668 case $lt_prog_compiler_pic_F77 in
12670 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
12673 lt_prog_compiler_pic_F77=
12674 lt_prog_compiler_can_build_shared_F77=no
12679 # For platforms which do not support PIC, -DPIC is meaningless:
12681 lt_prog_compiler_pic_F77=
12684 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
12688 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12689 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12690 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
12691 echo $ECHO_N "(cached) $ECHO_C" >&6
12693 lt_cv_prog_compiler_c_o_F77=no
12694 $rm -r conftest 2>/dev/null
12698 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12700 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
12701 # that will create temporary files in the current directory regardless of
12702 # the output directory. Thus, making CWD read-only will cause this test
12703 # to fail, enabling locking or at least warning the user not to do parallel
12707 lt_compiler_flag="-o out/conftest2.$ac_objext"
12708 # Insert the option either (1) after the last *FLAGS variable, or
12709 # (2) before a word containing "conftest.", or (3) at the end.
12710 # Note that $ac_compile itself does not contain backslashes and begins
12711 # with a dollar sign (not a hyphen), so the echo should work correctly.
12712 lt_compile=`echo "$ac_compile" | $SED \
12713 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12714 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12715 -e 's:$: $lt_compiler_flag:'`
12716 (eval echo "\"\$as_me:12716: $lt_compile\"" >&5)
12717 (eval "$lt_compile" 2>out/conftest.err)
12719 cat out/conftest.err >&5
12720 echo "$as_me:12720: \$? = $ac_status" >&5
12721 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12723 # The compiler can only warn and ignore the option if not recognized
12724 # So say no if there are warnings
12725 if test ! -s out/conftest.err; then
12726 lt_cv_prog_compiler_c_o_F77=yes
12730 $rm conftest* out/*
12737 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
12738 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
12741 hard_links="nottested"
12742 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
12743 # do not overwrite the value of need_locks provided by the user
12744 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12745 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12748 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12750 ln conftest.a conftest.b 2>&5 || hard_links=no
12751 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12752 echo "$as_me:$LINENO: result: $hard_links" >&5
12753 echo "${ECHO_T}$hard_links" >&6
12754 if test "$hard_links" = no; then
12755 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12756 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12763 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12764 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12767 allow_undefined_flag_F77=
12768 enable_shared_with_static_runtimes_F77=no
12770 archive_expsym_cmds_F77=
12771 old_archive_From_new_cmds_F77=
12772 old_archive_from_expsyms_cmds_F77=
12773 export_dynamic_flag_spec_F77=
12774 whole_archive_flag_spec_F77=
12775 thread_safe_flag_spec_F77=
12776 hardcode_libdir_flag_spec_F77=
12777 hardcode_libdir_flag_spec_ld_F77=
12778 hardcode_libdir_separator_F77=
12779 hardcode_direct_F77=no
12780 hardcode_minus_L_F77=no
12781 hardcode_shlibpath_var_F77=unsupported
12782 link_all_deplibs_F77=unknown
12783 hardcode_automatic_F77=no
12785 module_expsym_cmds_F77=
12786 always_export_symbols_F77=no
12787 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12788 # include_expsyms should be a list of space-separated symbols to be *always*
12789 # included in the symbol list
12790 include_expsyms_F77=
12791 # exclude_expsyms can be an extended regexp of symbols to exclude
12792 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12793 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12794 # as well as any symbol that contains `d'.
12795 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
12796 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12797 # platforms (ab)use it in PIC code, but their linkers get confused if
12798 # the symbol is explicitly referenced. Since portable code cannot
12799 # rely on this symbol name, it's probably fine to never include it in
12800 # preloaded symbol tables.
12801 extract_expsyms_cmds=
12804 cygwin* | mingw* | pw32*)
12805 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12806 # When not using gcc, we currently assume that we are using
12807 # Microsoft Visual C++.
12808 if test "$GCC" != yes; then
12818 if test "$with_gnu_ld" = yes; then
12819 # If archive_cmds runs LD, not CC, wlarc should be empty
12822 # See if GNU ld supports shared libraries.
12824 aix3* | aix4* | aix5*)
12825 # On AIX/PPC, the GNU linker is very broken
12826 if test "$host_cpu" != ia64; then
12830 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12831 *** to be unable to reliably create shared libraries on AIX.
12832 *** Therefore, libtool is disabling shared libraries support. If you
12833 *** really care for shared libraries, you may want to modify your PATH
12834 *** so that a non-GNU linker is found, and then restart.
12841 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)'
12842 hardcode_libdir_flag_spec_F77='-L$libdir'
12843 hardcode_minus_L_F77=yes
12845 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
12846 # that the semantics of dynamic libraries on AmigaOS, at least up
12847 # to version 4, is to share data among multiple programs linked
12848 # with the same dynamic library. Since this doesn't match the
12849 # behavior of shared libraries on other platforms, we can't use
12855 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12856 allow_undefined_flag_F77=unsupported
12857 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12858 # support --undefined. This deserves some investigation. FIXME
12859 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12865 cygwin* | mingw* | pw32*)
12866 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
12867 # as there is no search path for DLLs.
12868 hardcode_libdir_flag_spec_F77='-L$libdir'
12869 allow_undefined_flag_F77=unsupported
12870 always_export_symbols_F77=no
12871 enable_shared_with_static_runtimes_F77=yes
12872 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12874 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12875 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12876 # If the export-symbols file already is a .def file (1st line
12877 # is EXPORTS), use it as is; otherwise, prepend...
12878 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12879 cp $export_symbols $output_objdir/$soname.def;
12881 echo EXPORTS > $output_objdir/$soname.def;
12882 cat $export_symbols >> $output_objdir/$soname.def;
12884 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12891 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12892 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12895 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12896 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12901 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
12905 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12906 *** create shared libraries on Solaris systems. Therefore, libtool
12907 *** is disabling shared libraries support. We urge you to upgrade GNU
12908 *** binutils to release 2.9.1 or newer. Another option is to modify
12909 *** your PATH or compiler configuration so that the native linker is
12910 *** used, and then restart.
12913 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12914 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12922 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12924 hardcode_direct_F77=yes
12925 hardcode_shlibpath_var_F77=no
12929 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12930 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12931 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12938 if test "$ld_shlibs_F77" = yes; then
12939 runpath_var=LD_RUN_PATH
12940 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
12941 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
12942 # ancient GNU ld didn't support --whole-archive et. al.
12943 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
12944 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12946 whole_archive_flag_spec_F77=
12950 # PORTME fill in a description of your system's linker (not GNU ld)
12953 allow_undefined_flag_F77=unsupported
12954 always_export_symbols_F77=yes
12955 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'
12956 # Note: this linker hardcodes the directories in LIBPATH if there
12957 # are no directories specified by -L.
12958 hardcode_minus_L_F77=yes
12959 if test "$GCC" = yes && test -z "$link_static_flag"; then
12960 # Neither direct hardcoding nor static linking is supported with a
12962 hardcode_direct_F77=unsupported
12967 if test "$host_cpu" = ia64; then
12968 # On IA64, the linker does run time linking by default, so we don't
12969 # have to do anything special.
12970 aix_use_runtimelinking=no
12971 exp_sym_flag='-Bexport'
12974 # If we're using GNU nm, then we don't want the "-C" option.
12975 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12976 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12977 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'
12979 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'
12981 aix_use_runtimelinking=no
12983 # Test if we are trying to use run time linking or normal
12984 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12985 # need to do runtime linking.
12986 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12987 for ld_flag in $LDFLAGS; do
12988 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12989 aix_use_runtimelinking=yes
12995 exp_sym_flag='-bexport'
12996 no_entry_flag='-bnoentry'
12999 # When large executables or shared objects are built, AIX ld can
13000 # have problems creating the table of contents. If linking a library
13001 # or program results in "error TOC overflow" add -mminimal-toc to
13002 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13003 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13005 archive_cmds_F77=''
13006 hardcode_direct_F77=yes
13007 hardcode_libdir_separator_F77=':'
13008 link_all_deplibs_F77=yes
13010 if test "$GCC" = yes; then
13011 case $host_os in aix4.012|aix4.012.*)
13012 # We only want to do this on AIX 4.2 and lower, the check
13013 # below for broken collect2 doesn't work under 4.3+
13014 collect2name=`${CC} -print-prog-name=collect2`
13015 if test -f "$collect2name" && \
13016 strings "$collect2name" | grep resolve_lib_name >/dev/null
13018 # We have reworked collect2
13019 hardcode_direct_F77=yes
13021 # We have old collect2
13022 hardcode_direct_F77=unsupported
13023 # It fails to find uninstalled libraries when the uninstalled
13024 # path is not listed in the libpath. Setting hardcode_minus_L
13025 # to unsupported forces relinking
13026 hardcode_minus_L_F77=yes
13027 hardcode_libdir_flag_spec_F77='-L$libdir'
13028 hardcode_libdir_separator_F77=
13031 shared_flag='-shared'
13034 if test "$host_cpu" = ia64; then
13035 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13036 # chokes on -Wl,-G. The following line is correct:
13039 if test "$aix_use_runtimelinking" = yes; then
13040 shared_flag='${wl}-G'
13042 shared_flag='${wl}-bM:SRE'
13047 # It seems that -bexpall does not export symbols beginning with
13048 # underscore (_), so it is better to generate a list of symbols to export.
13049 always_export_symbols_F77=yes
13050 if test "$aix_use_runtimelinking" = yes; then
13051 # Warning - without using the other runtime loading flags (-brtl),
13052 # -berok will link without error, but may produce a broken library.
13053 allow_undefined_flag_F77='-berok'
13054 # Determine the default libpath from the value encoded in an empty executable.
13055 cat >conftest.$ac_ext <<_ACEOF
13060 rm -f conftest.$ac_objext conftest$ac_exeext
13061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13062 (eval $ac_link) 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); } &&
13066 { ac_try='test -s conftest$ac_exeext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13073 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13075 # Check for a 64-bit object if we didn't find anything.
13076 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; }
13079 echo "$as_me: failed program was:" >&5
13080 cat conftest.$ac_ext >&5
13082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13083 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13085 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13086 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"
13088 if test "$host_cpu" = ia64; then
13089 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13090 allow_undefined_flag_F77="-z nodefs"
13091 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"
13093 # Determine the default libpath from the value encoded in an empty executable.
13094 cat >conftest.$ac_ext <<_ACEOF
13099 rm -f conftest.$ac_objext conftest$ac_exeext
13100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13101 (eval $ac_link) 2>&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); } &&
13105 { ac_try='test -s conftest$ac_exeext'
13106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13107 (eval $ac_try) 2>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); }; }; then
13112 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13114 # Check for a 64-bit object if we didn't find anything.
13115 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; }
13118 echo "$as_me: failed program was:" >&5
13119 cat conftest.$ac_ext >&5
13121 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13122 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13124 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13125 # Warning - without using the other run time loading flags,
13126 # -berok will link without error, but may produce a broken library.
13127 no_undefined_flag_F77=' ${wl}-bernotok'
13128 allow_undefined_flag_F77=' ${wl}-berok'
13129 # -bexpall does not export symbols beginning with underscore (_)
13130 always_export_symbols_F77=yes
13131 # Exported symbols can be pulled into shared objects from archives
13132 whole_archive_flag_spec_F77=' '
13133 archive_cmds_need_lc_F77=yes
13134 # This is similar to how AIX traditionally builds it's shared libraries.
13135 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'
13141 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)'
13142 hardcode_libdir_flag_spec_F77='-L$libdir'
13143 hardcode_minus_L_F77=yes
13144 # see comment about different semantics on the GNU ld section
13149 export_dynamic_flag_spec_F77=-rdynamic
13152 cygwin* | mingw* | pw32*)
13153 # When not using gcc, we currently assume that we are using
13154 # Microsoft Visual C++.
13155 # hardcode_libdir_flag_spec is actually meaningless, as there is
13156 # no search path for DLLs.
13157 hardcode_libdir_flag_spec_F77=' '
13158 allow_undefined_flag_F77=unsupported
13159 # Tell ltmain to make .lib files, not .a files.
13161 # Tell ltmain to make .dll files, not .so files.
13163 # FIXME: Setting linknames here is a bad hack.
13164 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13165 # The linker will automatically build a .lib file if we build a DLL.
13166 old_archive_From_new_cmds_F77='true'
13167 # FIXME: Should let the user specify the lib program.
13168 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13169 fix_srcfile_path='`cygpath -w "$srcfile"`'
13170 enable_shared_with_static_runtimes_F77=yes
13173 darwin* | rhapsody*)
13174 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13175 archive_cmds_need_lc_F77=no
13177 rhapsody* | darwin1.[012])
13178 allow_undefined_flag_F77='-undefined suppress'
13181 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13184 # FIXME: Relying on posixy $() will cause problems for
13185 # cross-compilation, but unfortunately the echo tests do not
13186 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13187 # `"' quotes if we put them in here... so don't!
13188 lt_int_apple_cc_single_mod=no
13189 output_verbose_link_cmd='echo'
13190 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13191 lt_int_apple_cc_single_mod=yes
13193 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13194 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13196 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'
13198 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13199 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13200 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13201 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}'
13203 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}'
13205 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}'
13206 hardcode_direct_F77=no
13207 hardcode_automatic_F77=yes
13208 hardcode_shlibpath_var_F77=unsupported
13209 whole_archive_flag_spec_F77='-all_load $convenience'
13210 link_all_deplibs_F77=yes
13215 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13216 hardcode_libdir_flag_spec_F77='-L$libdir'
13217 hardcode_shlibpath_var_F77=no
13224 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13225 # support. Future versions do this automatically, but an explicit c++rt0.o
13226 # does not break anything, and helps significantly (at the cost of a little
13229 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13230 hardcode_libdir_flag_spec_F77='-R$libdir'
13231 hardcode_direct_F77=yes
13232 hardcode_shlibpath_var_F77=no
13235 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13237 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13238 hardcode_direct_F77=yes
13239 hardcode_minus_L_F77=yes
13240 hardcode_shlibpath_var_F77=no
13243 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13245 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13246 hardcode_libdir_flag_spec_F77='-R$libdir'
13247 hardcode_direct_F77=yes
13248 hardcode_shlibpath_var_F77=no
13252 if test "$GCC" = yes; then
13253 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'
13255 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'
13257 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13258 hardcode_libdir_separator_F77=:
13259 hardcode_direct_F77=yes
13261 # hardcode_minus_L: Not really in the search PATH,
13262 # but as the default location of the library.
13263 hardcode_minus_L_F77=yes
13264 export_dynamic_flag_spec_F77='${wl}-E'
13268 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13269 case "$host_cpu" in
13271 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13274 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13278 case "$host_cpu" in
13280 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13283 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13287 if test "$with_gnu_ld" = no; then
13288 case "$host_cpu" in
13290 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13291 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13292 hardcode_libdir_separator_F77=:
13293 hardcode_direct_F77=no
13294 hardcode_shlibpath_var_F77=no
13297 hardcode_libdir_flag_spec_F77='-L$libdir'
13298 hardcode_direct_F77=no
13299 hardcode_shlibpath_var_F77=no
13301 # hardcode_minus_L: Not really in the search PATH,
13302 # but as the default location of the library.
13303 hardcode_minus_L_F77=yes
13306 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13307 hardcode_libdir_separator_F77=:
13308 hardcode_direct_F77=yes
13309 export_dynamic_flag_spec_F77='${wl}-E'
13311 # hardcode_minus_L: Not really in the search PATH,
13312 # but as the default location of the library.
13313 hardcode_minus_L_F77=yes
13319 irix5* | irix6* | nonstopux*)
13320 if test "$GCC" = yes; then
13321 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'
13323 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'
13324 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13326 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13327 hardcode_libdir_separator_F77=:
13328 link_all_deplibs_F77=yes
13332 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13333 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13335 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13337 hardcode_libdir_flag_spec_F77='-R$libdir'
13338 hardcode_direct_F77=yes
13339 hardcode_shlibpath_var_F77=no
13343 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13344 hardcode_direct_F77=yes
13345 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13346 hardcode_libdir_separator_F77=:
13347 hardcode_shlibpath_var_F77=no
13351 hardcode_direct_F77=yes
13352 hardcode_shlibpath_var_F77=no
13353 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13354 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13355 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13356 export_dynamic_flag_spec_F77='${wl}-E'
13359 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13360 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13361 hardcode_libdir_flag_spec_F77='-R$libdir'
13364 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13365 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13372 hardcode_libdir_flag_spec_F77='-L$libdir'
13373 hardcode_minus_L_F77=yes
13374 allow_undefined_flag_F77=unsupported
13375 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'
13376 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13380 if test "$GCC" = yes; then
13381 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13382 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'
13384 allow_undefined_flag_F77=' -expect_unresolved \*'
13385 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'
13387 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13388 hardcode_libdir_separator_F77=:
13391 osf4* | osf5*) # as osf3* with the addition of -msym flag
13392 if test "$GCC" = yes; then
13393 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13394 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'
13395 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13397 allow_undefined_flag_F77=' -expect_unresolved \*'
13398 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'
13399 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~
13400 $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'
13402 # Both c and cxx compiler support -rpath directly
13403 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13405 hardcode_libdir_separator_F77=:
13409 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13410 hardcode_shlibpath_var_F77=no
13411 export_dynamic_flag_spec_F77='${wl}-Bexport'
13412 runpath_var=LD_RUN_PATH
13413 hardcode_runpath_var=yes
13417 no_undefined_flag_F77=' -z text'
13418 if test "$GCC" = yes; then
13419 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13420 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13421 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13423 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13424 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13425 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13427 hardcode_libdir_flag_spec_F77='-R$libdir'
13428 hardcode_shlibpath_var_F77=no
13430 solaris2.[0-5] | solaris2.[0-5].*) ;;
13431 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13432 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13434 link_all_deplibs_F77=yes
13438 if test "x$host_vendor" = xsequent; then
13439 # Use $CC to link under sequent, because it throws in some extra .o
13440 # files that make .init and .fini sections work.
13441 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13443 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13445 hardcode_libdir_flag_spec_F77='-L$libdir'
13446 hardcode_direct_F77=yes
13447 hardcode_minus_L_F77=yes
13448 hardcode_shlibpath_var_F77=no
13452 case $host_vendor in
13454 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13455 hardcode_direct_F77=yes # is this really true???
13458 ## LD is ld it makes a PLAMLIB
13459 ## CC just makes a GrossModule.
13460 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13461 reload_cmds_F77='$CC -r -o $output$reload_objs'
13462 hardcode_direct_F77=no
13465 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13466 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13469 runpath_var='LD_RUN_PATH'
13470 hardcode_shlibpath_var_F77=no
13474 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13475 hardcode_shlibpath_var_F77=no
13476 export_dynamic_flag_spec_F77='-Bexport'
13480 if test -d /usr/nec; then
13481 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13482 hardcode_shlibpath_var_F77=no
13483 runpath_var=LD_RUN_PATH
13484 hardcode_runpath_var=yes
13490 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13491 hardcode_direct_F77=yes
13492 hardcode_minus_L_F77=no
13493 hardcode_shlibpath_var_F77=no
13494 hardcode_runpath_var=yes
13495 runpath_var=LD_RUN_PATH
13498 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13499 no_undefined_flag_F77='${wl}-z ${wl}text'
13500 if test "$GCC" = yes; then
13501 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13503 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13505 runpath_var='LD_RUN_PATH'
13506 hardcode_shlibpath_var_F77=no
13510 no_undefined_flag_F77=' -z text'
13511 # $CC -shared without GNU ld will not create a library from C++
13512 # object files and a static libstdc++, better avoid it by now
13513 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13514 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13515 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13516 hardcode_libdir_flag_spec_F77=
13517 hardcode_shlibpath_var_F77=no
13518 runpath_var='LD_RUN_PATH'
13522 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13523 hardcode_libdir_flag_spec_F77='-L$libdir'
13524 hardcode_shlibpath_var_F77=no
13533 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13534 echo "${ECHO_T}$ld_shlibs_F77" >&6
13535 test "$ld_shlibs_F77" = no && can_build_shared=no
13537 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13538 if test "$GCC" = yes; then
13539 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13543 # Do we need to explicitly link libc?
13545 case "x$archive_cmds_need_lc_F77" in
13547 # Assume -lc should be added
13548 archive_cmds_need_lc_F77=yes
13550 if test "$enable_shared" = yes && test "$GCC" = yes; then
13551 case $archive_cmds_F77 in
13553 # FIXME: we may have to deal with multi-command sequences.
13556 # Test whether the compiler implicitly links with -lc since on some
13557 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13558 # to ld, don't add -lc before -lgcc.
13559 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13560 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13562 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13565 (eval $ac_compile) 2>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } 2>conftest.err; then
13571 libobjs=conftest.$ac_objext
13573 wl=$lt_prog_compiler_wl_F77
13579 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13580 allow_undefined_flag_F77=
13581 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13582 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); }
13587 archive_cmds_need_lc_F77=no
13589 archive_cmds_need_lc_F77=yes
13591 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13593 cat conftest.err 1>&5
13596 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13597 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13604 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13605 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13606 hardcode_action_F77=
13607 if test -n "$hardcode_libdir_flag_spec_F77" || \
13608 test -n "$runpath_var F77" || \
13609 test "X$hardcode_automatic_F77"="Xyes" ; then
13611 # We can hardcode non-existant directories.
13612 if test "$hardcode_direct_F77" != no &&
13613 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13614 # have to relink, otherwise we might link with an installed library
13615 # when we should be linking with a yet-to-be-installed one
13616 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13617 test "$hardcode_minus_L_F77" != no; then
13618 # Linking always hardcodes the temporary library directory.
13619 hardcode_action_F77=relink
13621 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13622 hardcode_action_F77=immediate
13625 # We cannot hardcode anything, or else we can only hardcode existing
13627 hardcode_action_F77=unsupported
13629 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
13630 echo "${ECHO_T}$hardcode_action_F77" >&6
13632 if test "$hardcode_action_F77" = relink; then
13633 # Fast installation is not supported
13634 enable_fast_install=no
13635 elif test "$shlibpath_overrides_runpath" = yes ||
13636 test "$enable_shared" = no; then
13637 # Fast installation is not necessary
13638 enable_fast_install=needless
13643 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13644 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13645 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13646 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13647 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13648 echo "$as_me:$LINENO: result: yes" >&5
13649 echo "${ECHO_T}yes" >&6
13651 # FIXME - insert some real tests, host_os isn't really good enough
13654 if test -n "$STRIP" ; then
13655 striplib="$STRIP -x"
13656 echo "$as_me:$LINENO: result: yes" >&5
13657 echo "${ECHO_T}yes" >&6
13659 echo "$as_me:$LINENO: result: no" >&5
13660 echo "${ECHO_T}no" >&6
13664 echo "$as_me:$LINENO: result: no" >&5
13665 echo "${ECHO_T}no" >&6
13670 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13671 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13672 library_names_spec=
13673 libname_spec='lib$name'
13677 postuninstall_cmds=
13681 shlibpath_overrides_runpath=unknown
13683 dynamic_linker="$host_os ld.so"
13684 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13685 if test "$GCC" = yes; then
13686 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13687 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13688 # if the path contains ";" then we assume it to be the separator
13689 # otherwise default to the standard path separator (i.e. ":") - it is
13690 # assumed that no part of a normal pathname contains ";" but that should
13691 # okay in the real world where ";" in dirpaths is itself problematic.
13692 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13694 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13697 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13699 need_lib_prefix=unknown
13700 hardcode_into_libs=no
13702 # when you set need_version to no, make sure it does not cause -set_version
13703 # flags to be left without arguments
13704 need_version=unknown
13709 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13710 shlibpath_var=LIBPATH
13712 # AIX 3 has no versioning support, so we append a major version to the name.
13713 soname_spec='${libname}${release}${shared_ext}$major'
13720 hardcode_into_libs=yes
13721 if test "$host_cpu" = ia64; then
13722 # AIX 5 supports IA64
13723 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13724 shlibpath_var=LD_LIBRARY_PATH
13726 # With GCC up to 2.95.x, collect2 would create an import file
13727 # for dependence libraries. The import file would start with
13728 # the line `#! .'. This would cause the generated library to
13729 # depend on `.', always an invalid library. This was fixed in
13730 # development snapshots of GCC prior to 3.0.
13732 aix4 | aix4.[01] | aix4.[01].*)
13733 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13735 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13738 can_build_shared=no
13742 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13743 # soname into executable. Probably we can add versioning support to
13744 # collect2, so additional links can be useful in future.
13745 if test "$aix_use_runtimelinking" = yes; then
13746 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13747 # instead of lib<name>.a to let people know that these are not
13748 # typical AIX shared libraries.
13749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13751 # We preserve .a as extension for shared libraries through AIX4.2
13752 # and later when we are not doing run time linking.
13753 library_names_spec='${libname}${release}.a $libname.a'
13754 soname_spec='${libname}${release}${shared_ext}$major'
13756 shlibpath_var=LIBPATH
13761 library_names_spec='$libname.ixlibrary $libname.a'
13762 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13763 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'
13767 library_names_spec='${libname}${shared_ext}'
13768 dynamic_linker="$host_os ld.so"
13769 shlibpath_var=LIBRARY_PATH
13775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13776 soname_spec='${libname}${release}${shared_ext}$major'
13777 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13778 shlibpath_var=LD_LIBRARY_PATH
13779 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13780 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13781 # the default ld.so.conf also contains /usr/contrib/lib and
13782 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13783 # libtool to hard-code these into programs
13786 cygwin* | mingw* | pw32*)
13787 version_type=windows
13792 case $GCC,$host_os in
13793 yes,cygwin* | yes,mingw* | yes,pw32*)
13794 library_names_spec='$libname.dll.a'
13795 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13796 postinstall_cmds='base_file=`basename \${file}`~
13797 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13798 dldir=$destdir/`dirname \$dlpath`~
13799 test -d \$dldir || mkdir -p \$dldir~
13800 $install_prog $dir/$dlname \$dldir/$dlname'
13801 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13802 dlpath=$dir/\$dldll~
13804 shlibpath_overrides_runpath=yes
13808 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13809 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13810 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
13813 # MinGW DLLs use traditional 'lib' prefix
13814 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13815 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13816 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13817 # It is most probably a Windows format PATH printed by
13818 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13819 # path with ; separators, and with drive letters. We can handle the
13820 # drive letters (cygwin fileutils understands them), so leave them,
13821 # especially as we might pass files found there to a mingw objdump,
13822 # which wouldn't understand a cygwinified path. Ahh.
13823 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13825 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13829 # pw32 DLLs use 'pw' prefix rather than 'lib'
13830 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
13836 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13839 dynamic_linker='Win32 ld.exe'
13840 # FIXME: first we should search . and the directory the executable is in
13844 darwin* | rhapsody*)
13845 dynamic_linker="$host_os dyld"
13846 version_type=darwin
13849 # FIXME: Relying on posixy $() will cause problems for
13850 # cross-compilation, but unfortunately the echo tests do not
13851 # yet detect zsh echo's removal of \ escapes.
13852 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13853 soname_spec='${libname}${release}${major}$shared_ext'
13854 shlibpath_overrides_runpath=yes
13855 shlibpath_var=DYLD_LIBRARY_PATH
13856 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
13857 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13858 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13859 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"`
13861 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13869 soname_spec='${libname}${release}${shared_ext}$major'
13870 shlibpath_var=LD_LIBRARY_PATH
13878 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
13879 version_type=freebsd-$objformat
13880 case $version_type in
13882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13887 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13891 shlibpath_var=LD_LIBRARY_PATH
13894 shlibpath_overrides_runpath=yes
13896 freebsd3.01* | freebsdelf3.01*)
13897 shlibpath_overrides_runpath=yes
13898 hardcode_into_libs=yes
13901 shlibpath_overrides_runpath=no
13902 hardcode_into_libs=yes
13911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13912 soname_spec='${libname}${release}${shared_ext}$major'
13913 shlibpath_var=LD_LIBRARY_PATH
13914 hardcode_into_libs=yes
13917 hpux9* | hpux10* | hpux11*)
13918 # Give a soname corresponding to the major version so that dld.sl refuses to
13919 # link against other versions.
13923 case "$host_cpu" in
13926 hardcode_into_libs=yes
13927 dynamic_linker="$host_os dld.so"
13928 shlibpath_var=LD_LIBRARY_PATH
13929 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13931 soname_spec='${libname}${release}${shared_ext}$major'
13932 if test "X$HPUX_IA64_MODE" = X32; then
13933 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13935 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13937 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13941 hardcode_into_libs=yes
13942 dynamic_linker="$host_os dld.sl"
13943 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13944 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13946 soname_spec='${libname}${release}${shared_ext}$major'
13947 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13948 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13952 dynamic_linker="$host_os dld.sl"
13953 shlibpath_var=SHLIB_PATH
13954 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13956 soname_spec='${libname}${release}${shared_ext}$major'
13959 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13960 postinstall_cmds='chmod 555 $lib'
13963 irix5* | irix6* | nonstopux*)
13965 nonstopux*) version_type=nonstopux ;;
13967 if test "$lt_cv_prog_gnu_ld" = yes; then
13975 soname_spec='${libname}${release}${shared_ext}$major'
13976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13978 irix5* | nonstopux*)
13979 libsuff= shlibsuff=
13982 case $LD in # libtool.m4 will add one of these switches to LD
13983 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13984 libsuff= shlibsuff= libmagic=32-bit;;
13985 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13986 libsuff=32 shlibsuff=N32 libmagic=N32;;
13987 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13988 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13989 *) libsuff= shlibsuff= libmagic=never-match;;
13993 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13994 shlibpath_overrides_runpath=no
13995 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13996 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13997 hardcode_into_libs=yes
14000 # No shared lib support for Linux oldld, aout, or coff.
14001 linux*oldld* | linux*aout* | linux*coff*)
14005 # This must be Linux ELF.
14010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14011 soname_spec='${libname}${release}${shared_ext}$major'
14012 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14013 shlibpath_var=LD_LIBRARY_PATH
14014 shlibpath_overrides_runpath=no
14015 # This implies no fast_install, which is unacceptable.
14016 # Some rework will be needed to allow for fast_install
14017 # before this can be enabled.
14018 hardcode_into_libs=yes
14020 # We used to test for /lib/ld.so.1 and disable shared libraries on
14021 # powerpc, because MkLinux only supported shared libraries with the
14022 # GNU dynamic linker. Since this was broken with cross compilers,
14023 # most powerpc-linux boxes support dynamic linking these days and
14024 # people can always --disable-shared, the test was removed, and we
14025 # assume the GNU/Linux dynamic linker is in use.
14026 dynamic_linker='GNU/Linux ld.so'
14033 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14035 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14036 dynamic_linker='NetBSD (a.out) ld.so'
14038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14039 soname_spec='${libname}${release}${shared_ext}$major'
14040 dynamic_linker='NetBSD ld.elf_so'
14042 shlibpath_var=LD_LIBRARY_PATH
14043 shlibpath_overrides_runpath=yes
14044 hardcode_into_libs=yes
14049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14050 shlibpath_var=LD_LIBRARY_PATH
14051 shlibpath_overrides_runpath=yes
14058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14059 soname_spec='${libname}${release}${shared_ext}$major'
14060 shlibpath_var=LD_LIBRARY_PATH
14061 shlibpath_overrides_runpath=yes
14068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14069 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14070 shlibpath_var=LD_LIBRARY_PATH
14071 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14073 openbsd2.[89] | openbsd2.[89].*)
14074 shlibpath_overrides_runpath=no
14077 shlibpath_overrides_runpath=yes
14081 shlibpath_overrides_runpath=yes
14086 libname_spec='$name'
14089 library_names_spec='$libname${shared_ext} $libname.a'
14090 dynamic_linker='OS/2 ld.exe'
14091 shlibpath_var=LIBPATH
14094 osf3* | osf4* | osf5*)
14098 soname_spec='${libname}${release}${shared_ext}$major'
14099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14100 shlibpath_var=LD_LIBRARY_PATH
14101 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14102 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14107 soname_spec='${libname}${release}${shared_ext}$major'
14108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14109 shlibpath_var=LD_LIBRARY_PATH
14116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14117 soname_spec='${libname}${release}${shared_ext}$major'
14118 shlibpath_var=LD_LIBRARY_PATH
14119 shlibpath_overrides_runpath=yes
14120 hardcode_into_libs=yes
14121 # ldd complains unless libraries are executable
14122 postinstall_cmds='chmod +x $lib'
14127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14128 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14129 shlibpath_var=LD_LIBRARY_PATH
14130 shlibpath_overrides_runpath=yes
14131 if test "$with_gnu_ld" = yes; then
14137 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14140 soname_spec='${libname}${release}${shared_ext}$major'
14141 shlibpath_var=LD_LIBRARY_PATH
14142 case $host_vendor in
14144 shlibpath_overrides_runpath=no
14146 export_dynamic_flag_spec='${wl}-Blargedynsym'
14147 runpath_var=LD_RUN_PATH
14155 shlibpath_overrides_runpath=no
14156 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14162 if test -d /usr/nec ;then
14164 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14165 soname_spec='$libname${shared_ext}.$major'
14166 shlibpath_var=LD_LIBRARY_PATH
14172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14173 soname_spec='${libname}${release}${shared_ext}$major'
14174 shlibpath_var=LD_LIBRARY_PATH
14181 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14182 echo "${ECHO_T}$dynamic_linker" >&6
14183 test "$dynamic_linker" = no && can_build_shared=no
14186 # The else clause should only fire when bootstrapping the
14187 # libtool distribution, otherwise you forgot to ship ltmain.sh
14188 # with your package, and you will get complaints that there are
14189 # no rules to generate ltmain.sh.
14190 if test -f "$ltmain"; then
14191 # See if we are running on zsh, and set the options which allow our commands through
14192 # without removal of \ escapes.
14193 if test -n "${ZSH_VERSION+set}" ; then
14194 setopt NO_GLOB_SUBST
14196 # Now quote all the things that may contain metacharacters while being
14197 # careful not to overquote the AC_SUBSTed values. We take copies of the
14198 # variables and quote the copies for generation of the libtool script.
14199 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14200 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14201 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14202 deplibs_check_method reload_flag reload_cmds need_locks \
14203 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14204 lt_cv_sys_global_symbol_to_c_name_address \
14205 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14206 old_postinstall_cmds old_postuninstall_cmds \
14210 lt_prog_compiler_wl_F77 \
14211 lt_prog_compiler_pic_F77 \
14212 lt_prog_compiler_static_F77 \
14213 lt_prog_compiler_no_builtin_flag_F77 \
14214 export_dynamic_flag_spec_F77 \
14215 thread_safe_flag_spec_F77 \
14216 whole_archive_flag_spec_F77 \
14217 enable_shared_with_static_runtimes_F77 \
14218 old_archive_cmds_F77 \
14219 old_archive_from_new_cmds_F77 \
14220 predep_objects_F77 \
14221 postdep_objects_F77 \
14224 compiler_lib_search_path_F77 \
14226 archive_expsym_cmds_F77 \
14227 postinstall_cmds_F77 \
14228 postuninstall_cmds_F77 \
14229 old_archive_from_expsyms_cmds_F77 \
14230 allow_undefined_flag_F77 \
14231 no_undefined_flag_F77 \
14232 export_symbols_cmds_F77 \
14233 hardcode_libdir_flag_spec_F77 \
14234 hardcode_libdir_flag_spec_ld_F77 \
14235 hardcode_libdir_separator_F77 \
14236 hardcode_automatic_F77 \
14238 module_expsym_cmds_F77 \
14239 lt_cv_prog_compiler_c_o_F77 \
14240 exclude_expsyms_F77 \
14241 include_expsyms_F77; do
14244 old_archive_cmds_F77 | \
14245 old_archive_from_new_cmds_F77 | \
14246 archive_cmds_F77 | \
14247 archive_expsym_cmds_F77 | \
14248 module_cmds_F77 | \
14249 module_expsym_cmds_F77 | \
14250 old_archive_from_expsyms_cmds_F77 | \
14251 export_symbols_cmds_F77 | \
14252 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14253 postinstall_cmds | postuninstall_cmds | \
14254 old_postinstall_cmds | old_postuninstall_cmds | \
14255 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14256 # Double-quote double-evaled strings.
14257 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14260 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14266 *'\$0 --fallback-echo"')
14267 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14273 cat <<__EOF__ >> "$cfgfile"
14274 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14276 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14278 # Shell to use when invoking shell scripts.
14281 # Whether or not to build shared libraries.
14282 build_libtool_libs=$enable_shared
14284 # Whether or not to build static libraries.
14285 build_old_libs=$enable_static
14287 # Whether or not to add -lc for building shared libraries.
14288 build_libtool_need_lc=$archive_cmds_need_lc_F77
14290 # Whether or not to disallow shared libs when runtime libs are static
14291 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14293 # Whether or not to optimize for fast installation.
14294 fast_install=$enable_fast_install
14297 host_alias=$host_alias
14300 # An echo program that does not interpret backslashes.
14305 AR_FLAGS=$lt_AR_FLAGS
14310 # A language-specific compiler.
14311 CC=$lt_compiler_F77
14313 # Is the compiler the GNU C compiler?
14319 # The linker used to build libraries.
14322 # Whether we need hard or soft links.
14325 # A BSD-compatible nm program.
14328 # A symbol stripping program
14331 # Used to examine libraries when file_magic_cmd begins "file"
14332 MAGIC_CMD=$MAGIC_CMD
14334 # Used on cygwin: DLL creation program.
14337 # Used on cygwin: object dumper.
14340 # Used on cygwin: assembler.
14343 # The name of the directory that contains temporary libtool files.
14346 # How to create reloadable object files.
14347 reload_flag=$lt_reload_flag
14348 reload_cmds=$lt_reload_cmds
14350 # How to pass a linker flag through the compiler.
14351 wl=$lt_lt_prog_compiler_wl_F77
14353 # Object file suffix (normally "o").
14354 objext="$ac_objext"
14356 # Old archive suffix (normally "a").
14359 # Shared library suffix (normally ".so").
14362 # Executable file suffix (normally "").
14365 # Additional compiler flags for building library objects.
14366 pic_flag=$lt_lt_prog_compiler_pic_F77
14369 # What is the maximum length of a command?
14370 max_cmd_len=$lt_cv_sys_max_cmd_len
14372 # Does compiler simultaneously support -c and -o options?
14373 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14375 # Must we lock files when doing compilation ?
14376 need_locks=$lt_need_locks
14378 # Do we need the lib prefix for modules?
14379 need_lib_prefix=$need_lib_prefix
14381 # Do we need a version for libraries?
14382 need_version=$need_version
14384 # Whether dlopen is supported.
14385 dlopen_support=$enable_dlopen
14387 # Whether dlopen of programs is supported.
14388 dlopen_self=$enable_dlopen_self
14390 # Whether dlopen of statically linked programs is supported.
14391 dlopen_self_static=$enable_dlopen_self_static
14393 # Compiler flag to prevent dynamic linking.
14394 link_static_flag=$lt_lt_prog_compiler_static_F77
14396 # Compiler flag to turn off builtin functions.
14397 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14399 # Compiler flag to allow reflexive dlopens.
14400 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14402 # Compiler flag to generate shared objects directly from archives.
14403 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14405 # Compiler flag to generate thread-safe objects.
14406 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14408 # Library versioning type.
14409 version_type=$version_type
14411 # Format of library name prefix.
14412 libname_spec=$lt_libname_spec
14414 # List of archive names. First name is the real one, the rest are links.
14415 # The last name is the one that the linker finds with -lNAME.
14416 library_names_spec=$lt_library_names_spec
14418 # The coded name of the library, if different from the real name.
14419 soname_spec=$lt_soname_spec
14421 # Commands used to build and install an old-style archive.
14423 old_archive_cmds=$lt_old_archive_cmds_F77
14424 old_postinstall_cmds=$lt_old_postinstall_cmds
14425 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14427 # Create an old-style archive from a shared archive.
14428 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14430 # Create a temporary old-style archive to link instead of a shared archive.
14431 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14433 # Commands used to build and install a shared archive.
14434 archive_cmds=$lt_archive_cmds_F77
14435 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14436 postinstall_cmds=$lt_postinstall_cmds
14437 postuninstall_cmds=$lt_postuninstall_cmds
14439 # Commands used to build a loadable module (assumed same as above if empty)
14440 module_cmds=$lt_module_cmds_F77
14441 module_expsym_cmds=$lt_module_expsym_cmds_F77
14443 # Commands to strip libraries.
14444 old_striplib=$lt_old_striplib
14445 striplib=$lt_striplib
14447 # Dependencies to place before the objects being linked to create a
14449 predep_objects=$lt_predep_objects_F77
14451 # Dependencies to place after the objects being linked to create a
14453 postdep_objects=$lt_postdep_objects_F77
14455 # Dependencies to place before the objects being linked to create a
14457 predeps=$lt_predeps_F77
14459 # Dependencies to place after the objects being linked to create a
14461 postdeps=$lt_postdeps_F77
14463 # The library search path used internally by the compiler when linking
14464 # a shared library.
14465 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14467 # Method to check whether dependent libraries are shared objects.
14468 deplibs_check_method=$lt_deplibs_check_method
14470 # Command to use when deplibs_check_method == file_magic.
14471 file_magic_cmd=$lt_file_magic_cmd
14473 # Flag that allows shared libraries with undefined symbols to be built.
14474 allow_undefined_flag=$lt_allow_undefined_flag_F77
14476 # Flag that forces no undefined symbols.
14477 no_undefined_flag=$lt_no_undefined_flag_F77
14479 # Commands used to finish a libtool library installation in a directory.
14480 finish_cmds=$lt_finish_cmds
14482 # Same as above, but a single script fragment to be evaled but not shown.
14483 finish_eval=$lt_finish_eval
14485 # Take the output of nm and produce a listing of raw symbols and C names.
14486 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14488 # Transform the output of nm in a proper C declaration
14489 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14491 # Transform the output of nm in a C name address pair
14492 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14494 # This is the shared library runtime path variable.
14495 runpath_var=$runpath_var
14497 # This is the shared library path variable.
14498 shlibpath_var=$shlibpath_var
14500 # Is shlibpath searched before the hard-coded library search path?
14501 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14503 # How to hardcode a shared library path into an executable.
14504 hardcode_action=$hardcode_action_F77
14506 # Whether we should hardcode library paths into libraries.
14507 hardcode_into_libs=$hardcode_into_libs
14509 # Flag to hardcode \$libdir into a binary during linking.
14510 # This must work even if \$libdir does not exist.
14511 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14513 # If ld is used when linking, flag to hardcode \$libdir into
14514 # a binary during linking. This must work even if \$libdir does
14516 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14518 # Whether we need a single -rpath flag with a separated argument.
14519 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14521 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14522 # resulting binary.
14523 hardcode_direct=$hardcode_direct_F77
14525 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14526 # resulting binary.
14527 hardcode_minus_L=$hardcode_minus_L_F77
14529 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14530 # the resulting binary.
14531 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14533 # Set to yes if building a shared library automatically hardcodes DIR into the library
14534 # and all subsequent libraries and executables linked against it.
14535 hardcode_automatic=$hardcode_automatic_F77
14537 # Variables whose values should be saved in libtool wrapper scripts and
14538 # restored at relink time.
14539 variables_saved_for_relink="$variables_saved_for_relink"
14541 # Whether libtool must link a program against all its dependency libraries.
14542 link_all_deplibs=$link_all_deplibs_F77
14544 # Compile-time system search path for libraries
14545 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14547 # Run-time system search path for libraries
14548 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14550 # Fix the shell variable \$srcfile for the compiler.
14551 fix_srcfile_path="$fix_srcfile_path_F77"
14553 # Set to yes if exported symbols are required.
14554 always_export_symbols=$always_export_symbols_F77
14556 # The commands to list exported symbols.
14557 export_symbols_cmds=$lt_export_symbols_cmds_F77
14559 # The commands to extract the exported symbol list from a shared archive.
14560 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14562 # Symbols that should not be listed in the preloaded symbols.
14563 exclude_expsyms=$lt_exclude_expsyms_F77
14565 # Symbols that must always be exported.
14566 include_expsyms=$lt_include_expsyms_F77
14568 # ### END LIBTOOL TAG CONFIG: $tagname
14574 # If there is no Makefile yet, we rely on a make rule to execute
14575 # `config.status --recheck' to rerun these tests and create the
14576 # libtool script then.
14577 test -f Makefile && make "$ltmain"
14582 ac_cpp='$CPP $CPPFLAGS'
14583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14595 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14599 # Source file extension for Java test sources.
14602 # Object file extension for compiled Java test sources.
14606 # Code to be used in simple compile tests
14607 lt_simple_compile_test_code="class foo {}\n"
14609 # Code to be used in simple link tests
14610 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14612 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14614 # If no C compiler was specified, use CC.
14617 # Allow CC to be a program name with arguments.
14621 # Allow CC to be a program name with arguments.
14627 # GCJ did not exist at the time GCC didn't implicitly link libc in.
14628 archive_cmds_need_lc_GCJ=no
14631 ## There is no encapsulation within the following macros, do not change
14632 ## the running order or otherwise move them around unless you know exactly
14633 ## what you are doing...
14635 lt_prog_compiler_no_builtin_flag_GCJ=
14637 if test "$GCC" = yes; then
14638 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
14640 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14641 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
14642 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14643 echo $ECHO_N "(cached) $ECHO_C" >&6
14645 lt_cv_prog_compiler_rtti_exceptions=no
14646 ac_outfile=conftest.$ac_objext
14647 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14648 lt_compiler_flag="-fno-rtti -fno-exceptions"
14649 # Insert the option either (1) after the last *FLAGS variable, or
14650 # (2) before a word containing "conftest.", or (3) at the end.
14651 # Note that $ac_compile itself does not contain backslashes and begins
14652 # with a dollar sign (not a hyphen), so the echo should work correctly.
14653 # The option is referenced via a variable to avoid confusing sed.
14654 lt_compile=`echo "$ac_compile" | $SED \
14655 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14656 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14657 -e 's:$: $lt_compiler_flag:'`
14658 (eval echo "\"\$as_me:14658: $lt_compile\"" >&5)
14659 (eval "$lt_compile" 2>conftest.err)
14661 cat conftest.err >&5
14662 echo "$as_me:14662: \$? = $ac_status" >&5
14663 if (exit $ac_status) && test -s "$ac_outfile"; then
14664 # The compiler can only warn and ignore the option if not recognized
14665 # So say no if there are warnings
14666 if test ! -s conftest.err; then
14667 lt_cv_prog_compiler_rtti_exceptions=yes
14673 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
14674 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
14676 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14677 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
14684 lt_prog_compiler_wl_GCJ=
14685 lt_prog_compiler_pic_GCJ=
14686 lt_prog_compiler_static_GCJ=
14688 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14689 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14691 if test "$GCC" = yes; then
14692 lt_prog_compiler_wl_GCJ='-Wl,'
14693 lt_prog_compiler_static_GCJ='-static'
14697 # All AIX code is PIC.
14698 if test "$host_cpu" = ia64; then
14699 # AIX 5 now supports IA64 processor
14700 lt_prog_compiler_static_GCJ='-Bstatic'
14705 # FIXME: we need at least 68020 code to build shared libraries, but
14706 # adding the `-m68020' flag to GCC prevents building anything better,
14708 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
14711 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14712 # PIC is the default for these OSes.
14715 mingw* | pw32* | os2*)
14716 # This hack is so that the source file can tell whether it is being
14717 # built for inclusion in a dll (and should export symbols for example).
14718 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
14721 darwin* | rhapsody*)
14722 # PIC is the default on this platform
14723 # Common symbols not allowed in MH_DYLIB files
14724 lt_prog_compiler_pic_GCJ='-fno-common'
14728 # Just because we use GCC doesn't mean we suddenly get shared libraries
14729 # on systems that don't support them.
14730 lt_prog_compiler_can_build_shared_GCJ=no
14735 if test -d /usr/nec; then
14736 lt_prog_compiler_pic_GCJ=-Kconform_pic
14741 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14742 # not for PA HP-UX.
14743 case "$host_cpu" in
14748 lt_prog_compiler_pic_GCJ='-fPIC'
14754 lt_prog_compiler_pic_GCJ='-fPIC'
14758 # PORTME Check for flag to pass linker flags through the system compiler.
14761 lt_prog_compiler_wl_GCJ='-Wl,'
14762 if test "$host_cpu" = ia64; then
14763 # AIX 5 now supports IA64 processor
14764 lt_prog_compiler_static_GCJ='-Bstatic'
14766 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
14770 mingw* | pw32* | os2*)
14771 # This hack is so that the source file can tell whether it is being
14772 # built for inclusion in a dll (and should export symbols for example).
14773 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
14776 hpux9* | hpux10* | hpux11*)
14777 lt_prog_compiler_wl_GCJ='-Wl,'
14778 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14779 # not for PA HP-UX.
14780 case "$host_cpu" in
14785 lt_prog_compiler_pic_GCJ='+Z'
14788 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14789 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
14792 irix5* | irix6* | nonstopux*)
14793 lt_prog_compiler_wl_GCJ='-Wl,'
14794 # PIC (with -KPIC) is the default.
14795 lt_prog_compiler_static_GCJ='-non_shared'
14799 lt_prog_compiler_pic_GCJ='-KPIC'
14800 lt_prog_compiler_static_GCJ='-Bstatic'
14806 lt_prog_compiler_wl_GCJ='-Wl,'
14807 lt_prog_compiler_pic_GCJ='-KPIC'
14808 lt_prog_compiler_static_GCJ='-static'
14811 lt_prog_compiler_wl_GCJ='-Wl,'
14812 # All Alpha code is PIC.
14813 lt_prog_compiler_static_GCJ='-non_shared'
14818 osf3* | osf4* | osf5*)
14819 lt_prog_compiler_wl_GCJ='-Wl,'
14820 # All OSF/1 code is PIC.
14821 lt_prog_compiler_static_GCJ='-non_shared'
14825 lt_prog_compiler_pic_GCJ='-Kpic'
14826 lt_prog_compiler_static_GCJ='-dn'
14830 lt_prog_compiler_wl_GCJ='-Wl,'
14831 lt_prog_compiler_pic_GCJ='-KPIC'
14832 lt_prog_compiler_static_GCJ='-Bstatic'
14836 lt_prog_compiler_wl_GCJ='-Qoption ld '
14837 lt_prog_compiler_pic_GCJ='-PIC'
14838 lt_prog_compiler_static_GCJ='-Bstatic'
14841 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14842 lt_prog_compiler_wl_GCJ='-Wl,'
14843 lt_prog_compiler_pic_GCJ='-KPIC'
14844 lt_prog_compiler_static_GCJ='-Bstatic'
14848 if test -d /usr/nec ;then
14849 lt_prog_compiler_pic_GCJ='-Kconform_pic'
14850 lt_prog_compiler_static_GCJ='-Bstatic'
14855 lt_prog_compiler_pic_GCJ='-pic'
14856 lt_prog_compiler_static_GCJ='-Bstatic'
14860 lt_prog_compiler_can_build_shared_GCJ=no
14865 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
14866 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
14869 # Check to make sure the PIC flag actually works.
14871 if test -n "$lt_prog_compiler_pic_GCJ"; then
14872 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
14873 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
14874 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14877 lt_prog_compiler_pic_works_GCJ=no
14878 ac_outfile=conftest.$ac_objext
14879 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14880 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
14881 # Insert the option either (1) after the last *FLAGS variable, or
14882 # (2) before a word containing "conftest.", or (3) at the end.
14883 # Note that $ac_compile itself does not contain backslashes and begins
14884 # with a dollar sign (not a hyphen), so the echo should work correctly.
14885 # The option is referenced via a variable to avoid confusing sed.
14886 lt_compile=`echo "$ac_compile" | $SED \
14887 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14889 -e 's:$: $lt_compiler_flag:'`
14890 (eval echo "\"\$as_me:14890: $lt_compile\"" >&5)
14891 (eval "$lt_compile" 2>conftest.err)
14893 cat conftest.err >&5
14894 echo "$as_me:14894: \$? = $ac_status" >&5
14895 if (exit $ac_status) && test -s "$ac_outfile"; then
14896 # The compiler can only warn and ignore the option if not recognized
14897 # So say no if there are warnings
14898 if test ! -s conftest.err; then
14899 lt_prog_compiler_pic_works_GCJ=yes
14905 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
14906 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
14908 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
14909 case $lt_prog_compiler_pic_GCJ in
14911 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
14914 lt_prog_compiler_pic_GCJ=
14915 lt_prog_compiler_can_build_shared_GCJ=no
14920 # For platforms which do not support PIC, -DPIC is meaningless:
14922 lt_prog_compiler_pic_GCJ=
14925 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
14929 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14930 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14931 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
14932 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 lt_cv_prog_compiler_c_o_GCJ=no
14935 $rm -r conftest 2>/dev/null
14939 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14941 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
14942 # that will create temporary files in the current directory regardless of
14943 # the output directory. Thus, making CWD read-only will cause this test
14944 # to fail, enabling locking or at least warning the user not to do parallel
14948 lt_compiler_flag="-o out/conftest2.$ac_objext"
14949 # Insert the option either (1) after the last *FLAGS variable, or
14950 # (2) before a word containing "conftest.", or (3) at the end.
14951 # Note that $ac_compile itself does not contain backslashes and begins
14952 # with a dollar sign (not a hyphen), so the echo should work correctly.
14953 lt_compile=`echo "$ac_compile" | $SED \
14954 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14955 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14956 -e 's:$: $lt_compiler_flag:'`
14957 (eval echo "\"\$as_me:14957: $lt_compile\"" >&5)
14958 (eval "$lt_compile" 2>out/conftest.err)
14960 cat out/conftest.err >&5
14961 echo "$as_me:14961: \$? = $ac_status" >&5
14962 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14964 # The compiler can only warn and ignore the option if not recognized
14965 # So say no if there are warnings
14966 if test ! -s out/conftest.err; then
14967 lt_cv_prog_compiler_c_o_GCJ=yes
14971 $rm conftest* out/*
14978 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
14979 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
14982 hard_links="nottested"
14983 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
14984 # do not overwrite the value of need_locks provided by the user
14985 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14986 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14989 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14991 ln conftest.a conftest.b 2>&5 || hard_links=no
14992 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14993 echo "$as_me:$LINENO: result: $hard_links" >&5
14994 echo "${ECHO_T}$hard_links" >&6
14995 if test "$hard_links" = no; then
14996 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14997 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15004 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15005 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15008 allow_undefined_flag_GCJ=
15009 enable_shared_with_static_runtimes_GCJ=no
15011 archive_expsym_cmds_GCJ=
15012 old_archive_From_new_cmds_GCJ=
15013 old_archive_from_expsyms_cmds_GCJ=
15014 export_dynamic_flag_spec_GCJ=
15015 whole_archive_flag_spec_GCJ=
15016 thread_safe_flag_spec_GCJ=
15017 hardcode_libdir_flag_spec_GCJ=
15018 hardcode_libdir_flag_spec_ld_GCJ=
15019 hardcode_libdir_separator_GCJ=
15020 hardcode_direct_GCJ=no
15021 hardcode_minus_L_GCJ=no
15022 hardcode_shlibpath_var_GCJ=unsupported
15023 link_all_deplibs_GCJ=unknown
15024 hardcode_automatic_GCJ=no
15026 module_expsym_cmds_GCJ=
15027 always_export_symbols_GCJ=no
15028 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15029 # include_expsyms should be a list of space-separated symbols to be *always*
15030 # included in the symbol list
15031 include_expsyms_GCJ=
15032 # exclude_expsyms can be an extended regexp of symbols to exclude
15033 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15034 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15035 # as well as any symbol that contains `d'.
15036 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15037 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15038 # platforms (ab)use it in PIC code, but their linkers get confused if
15039 # the symbol is explicitly referenced. Since portable code cannot
15040 # rely on this symbol name, it's probably fine to never include it in
15041 # preloaded symbol tables.
15042 extract_expsyms_cmds=
15045 cygwin* | mingw* | pw32*)
15046 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15047 # When not using gcc, we currently assume that we are using
15048 # Microsoft Visual C++.
15049 if test "$GCC" != yes; then
15059 if test "$with_gnu_ld" = yes; then
15060 # If archive_cmds runs LD, not CC, wlarc should be empty
15063 # See if GNU ld supports shared libraries.
15065 aix3* | aix4* | aix5*)
15066 # On AIX/PPC, the GNU linker is very broken
15067 if test "$host_cpu" != ia64; then
15071 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15072 *** to be unable to reliably create shared libraries on AIX.
15073 *** Therefore, libtool is disabling shared libraries support. If you
15074 *** really care for shared libraries, you may want to modify your PATH
15075 *** so that a non-GNU linker is found, and then restart.
15082 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)'
15083 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15084 hardcode_minus_L_GCJ=yes
15086 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15087 # that the semantics of dynamic libraries on AmigaOS, at least up
15088 # to version 4, is to share data among multiple programs linked
15089 # with the same dynamic library. Since this doesn't match the
15090 # behavior of shared libraries on other platforms, we can't use
15096 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15097 allow_undefined_flag_GCJ=unsupported
15098 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15099 # support --undefined. This deserves some investigation. FIXME
15100 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15106 cygwin* | mingw* | pw32*)
15107 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15108 # as there is no search path for DLLs.
15109 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15110 allow_undefined_flag_GCJ=unsupported
15111 always_export_symbols_GCJ=no
15112 enable_shared_with_static_runtimes_GCJ=yes
15113 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15115 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15116 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15117 # If the export-symbols file already is a .def file (1st line
15118 # is EXPORTS), use it as is; otherwise, prepend...
15119 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15120 cp $export_symbols $output_objdir/$soname.def;
15122 echo EXPORTS > $output_objdir/$soname.def;
15123 cat $export_symbols >> $output_objdir/$soname.def;
15125 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15132 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15133 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15136 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15137 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15142 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15146 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15147 *** create shared libraries on Solaris systems. Therefore, libtool
15148 *** is disabling shared libraries support. We urge you to upgrade GNU
15149 *** binutils to release 2.9.1 or newer. Another option is to modify
15150 *** your PATH or compiler configuration so that the native linker is
15151 *** used, and then restart.
15154 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15155 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15156 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15163 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15165 hardcode_direct_GCJ=yes
15166 hardcode_shlibpath_var_GCJ=no
15170 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15171 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15172 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15179 if test "$ld_shlibs_GCJ" = yes; then
15180 runpath_var=LD_RUN_PATH
15181 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15182 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15183 # ancient GNU ld didn't support --whole-archive et. al.
15184 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15185 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15187 whole_archive_flag_spec_GCJ=
15191 # PORTME fill in a description of your system's linker (not GNU ld)
15194 allow_undefined_flag_GCJ=unsupported
15195 always_export_symbols_GCJ=yes
15196 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'
15197 # Note: this linker hardcodes the directories in LIBPATH if there
15198 # are no directories specified by -L.
15199 hardcode_minus_L_GCJ=yes
15200 if test "$GCC" = yes && test -z "$link_static_flag"; then
15201 # Neither direct hardcoding nor static linking is supported with a
15203 hardcode_direct_GCJ=unsupported
15208 if test "$host_cpu" = ia64; then
15209 # On IA64, the linker does run time linking by default, so we don't
15210 # have to do anything special.
15211 aix_use_runtimelinking=no
15212 exp_sym_flag='-Bexport'
15215 # If we're using GNU nm, then we don't want the "-C" option.
15216 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15217 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15218 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'
15220 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'
15222 aix_use_runtimelinking=no
15224 # Test if we are trying to use run time linking or normal
15225 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15226 # need to do runtime linking.
15227 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15228 for ld_flag in $LDFLAGS; do
15229 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15230 aix_use_runtimelinking=yes
15236 exp_sym_flag='-bexport'
15237 no_entry_flag='-bnoentry'
15240 # When large executables or shared objects are built, AIX ld can
15241 # have problems creating the table of contents. If linking a library
15242 # or program results in "error TOC overflow" add -mminimal-toc to
15243 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15244 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15246 archive_cmds_GCJ=''
15247 hardcode_direct_GCJ=yes
15248 hardcode_libdir_separator_GCJ=':'
15249 link_all_deplibs_GCJ=yes
15251 if test "$GCC" = yes; then
15252 case $host_os in aix4.012|aix4.012.*)
15253 # We only want to do this on AIX 4.2 and lower, the check
15254 # below for broken collect2 doesn't work under 4.3+
15255 collect2name=`${CC} -print-prog-name=collect2`
15256 if test -f "$collect2name" && \
15257 strings "$collect2name" | grep resolve_lib_name >/dev/null
15259 # We have reworked collect2
15260 hardcode_direct_GCJ=yes
15262 # We have old collect2
15263 hardcode_direct_GCJ=unsupported
15264 # It fails to find uninstalled libraries when the uninstalled
15265 # path is not listed in the libpath. Setting hardcode_minus_L
15266 # to unsupported forces relinking
15267 hardcode_minus_L_GCJ=yes
15268 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15269 hardcode_libdir_separator_GCJ=
15272 shared_flag='-shared'
15275 if test "$host_cpu" = ia64; then
15276 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15277 # chokes on -Wl,-G. The following line is correct:
15280 if test "$aix_use_runtimelinking" = yes; then
15281 shared_flag='${wl}-G'
15283 shared_flag='${wl}-bM:SRE'
15288 # It seems that -bexpall does not export symbols beginning with
15289 # underscore (_), so it is better to generate a list of symbols to export.
15290 always_export_symbols_GCJ=yes
15291 if test "$aix_use_runtimelinking" = yes; then
15292 # Warning - without using the other runtime loading flags (-brtl),
15293 # -berok will link without error, but may produce a broken library.
15294 allow_undefined_flag_GCJ='-berok'
15295 # Determine the default libpath from the value encoded in an empty executable.
15296 cat >conftest.$ac_ext <<_ACEOF
15297 #line $LINENO "configure"
15298 #include "confdefs.h"
15300 #ifdef F77_DUMMY_MAIN
15301 # ifdef __cplusplus
15304 int F77_DUMMY_MAIN() { return 1; }
15314 rm -f conftest.$ac_objext conftest$ac_exeext
15315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15316 (eval $ac_link) 2>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } &&
15320 { ac_try='test -s conftest$ac_exeext'
15321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15322 (eval $ac_try) 2>&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); }; }; then
15327 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15329 # Check for a 64-bit object if we didn't find anything.
15330 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; }
15333 echo "$as_me: failed program was:" >&5
15334 cat conftest.$ac_ext >&5
15336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15337 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15339 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15340 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"
15342 if test "$host_cpu" = ia64; then
15343 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15344 allow_undefined_flag_GCJ="-z nodefs"
15345 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"
15347 # Determine the default libpath from the value encoded in an empty executable.
15348 cat >conftest.$ac_ext <<_ACEOF
15349 #line $LINENO "configure"
15350 #include "confdefs.h"
15352 #ifdef F77_DUMMY_MAIN
15353 # ifdef __cplusplus
15356 int F77_DUMMY_MAIN() { return 1; }
15366 rm -f conftest.$ac_objext conftest$ac_exeext
15367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15368 (eval $ac_link) 2>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } &&
15372 { ac_try='test -s conftest$ac_exeext'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; }; then
15379 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15381 # Check for a 64-bit object if we didn't find anything.
15382 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; }
15385 echo "$as_me: failed program was:" >&5
15386 cat conftest.$ac_ext >&5
15388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15389 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15391 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15392 # Warning - without using the other run time loading flags,
15393 # -berok will link without error, but may produce a broken library.
15394 no_undefined_flag_GCJ=' ${wl}-bernotok'
15395 allow_undefined_flag_GCJ=' ${wl}-berok'
15396 # -bexpall does not export symbols beginning with underscore (_)
15397 always_export_symbols_GCJ=yes
15398 # Exported symbols can be pulled into shared objects from archives
15399 whole_archive_flag_spec_GCJ=' '
15400 archive_cmds_need_lc_GCJ=yes
15401 # This is similar to how AIX traditionally builds it's shared libraries.
15402 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'
15408 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)'
15409 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15410 hardcode_minus_L_GCJ=yes
15411 # see comment about different semantics on the GNU ld section
15416 export_dynamic_flag_spec_GCJ=-rdynamic
15419 cygwin* | mingw* | pw32*)
15420 # When not using gcc, we currently assume that we are using
15421 # Microsoft Visual C++.
15422 # hardcode_libdir_flag_spec is actually meaningless, as there is
15423 # no search path for DLLs.
15424 hardcode_libdir_flag_spec_GCJ=' '
15425 allow_undefined_flag_GCJ=unsupported
15426 # Tell ltmain to make .lib files, not .a files.
15428 # Tell ltmain to make .dll files, not .so files.
15430 # FIXME: Setting linknames here is a bad hack.
15431 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15432 # The linker will automatically build a .lib file if we build a DLL.
15433 old_archive_From_new_cmds_GCJ='true'
15434 # FIXME: Should let the user specify the lib program.
15435 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15436 fix_srcfile_path='`cygpath -w "$srcfile"`'
15437 enable_shared_with_static_runtimes_GCJ=yes
15440 darwin* | rhapsody*)
15441 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15442 archive_cmds_need_lc_GCJ=no
15444 rhapsody* | darwin1.[012])
15445 allow_undefined_flag_GCJ='-undefined suppress'
15448 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15451 # FIXME: Relying on posixy $() will cause problems for
15452 # cross-compilation, but unfortunately the echo tests do not
15453 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15454 # `"' quotes if we put them in here... so don't!
15455 lt_int_apple_cc_single_mod=no
15456 output_verbose_link_cmd='echo'
15457 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15458 lt_int_apple_cc_single_mod=yes
15460 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15461 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15463 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'
15465 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15466 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15467 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15468 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}'
15470 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}'
15472 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}'
15473 hardcode_direct_GCJ=no
15474 hardcode_automatic_GCJ=yes
15475 hardcode_shlibpath_var_GCJ=unsupported
15476 whole_archive_flag_spec_GCJ='-all_load $convenience'
15477 link_all_deplibs_GCJ=yes
15482 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15483 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15484 hardcode_shlibpath_var_GCJ=no
15491 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15492 # support. Future versions do this automatically, but an explicit c++rt0.o
15493 # does not break anything, and helps significantly (at the cost of a little
15496 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15497 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15498 hardcode_direct_GCJ=yes
15499 hardcode_shlibpath_var_GCJ=no
15502 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15504 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15505 hardcode_direct_GCJ=yes
15506 hardcode_minus_L_GCJ=yes
15507 hardcode_shlibpath_var_GCJ=no
15510 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15512 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15513 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15514 hardcode_direct_GCJ=yes
15515 hardcode_shlibpath_var_GCJ=no
15519 if test "$GCC" = yes; then
15520 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'
15522 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'
15524 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15525 hardcode_libdir_separator_GCJ=:
15526 hardcode_direct_GCJ=yes
15528 # hardcode_minus_L: Not really in the search PATH,
15529 # but as the default location of the library.
15530 hardcode_minus_L_GCJ=yes
15531 export_dynamic_flag_spec_GCJ='${wl}-E'
15535 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15536 case "$host_cpu" in
15538 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15541 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15545 case "$host_cpu" in
15547 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15550 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15554 if test "$with_gnu_ld" = no; then
15555 case "$host_cpu" in
15557 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15558 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15559 hardcode_libdir_separator_GCJ=:
15560 hardcode_direct_GCJ=no
15561 hardcode_shlibpath_var_GCJ=no
15564 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15565 hardcode_direct_GCJ=no
15566 hardcode_shlibpath_var_GCJ=no
15568 # hardcode_minus_L: Not really in the search PATH,
15569 # but as the default location of the library.
15570 hardcode_minus_L_GCJ=yes
15573 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15574 hardcode_libdir_separator_GCJ=:
15575 hardcode_direct_GCJ=yes
15576 export_dynamic_flag_spec_GCJ='${wl}-E'
15578 # hardcode_minus_L: Not really in the search PATH,
15579 # but as the default location of the library.
15580 hardcode_minus_L_GCJ=yes
15586 irix5* | irix6* | nonstopux*)
15587 if test "$GCC" = yes; then
15588 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'
15590 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'
15591 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15593 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15594 hardcode_libdir_separator_GCJ=:
15595 link_all_deplibs_GCJ=yes
15599 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15600 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15602 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15604 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15605 hardcode_direct_GCJ=yes
15606 hardcode_shlibpath_var_GCJ=no
15610 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15611 hardcode_direct_GCJ=yes
15612 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15613 hardcode_libdir_separator_GCJ=:
15614 hardcode_shlibpath_var_GCJ=no
15618 hardcode_direct_GCJ=yes
15619 hardcode_shlibpath_var_GCJ=no
15620 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15621 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15622 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15623 export_dynamic_flag_spec_GCJ='${wl}-E'
15626 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15627 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15628 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15631 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15632 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15639 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15640 hardcode_minus_L_GCJ=yes
15641 allow_undefined_flag_GCJ=unsupported
15642 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'
15643 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15647 if test "$GCC" = yes; then
15648 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
15649 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'
15651 allow_undefined_flag_GCJ=' -expect_unresolved \*'
15652 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'
15654 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15655 hardcode_libdir_separator_GCJ=:
15658 osf4* | osf5*) # as osf3* with the addition of -msym flag
15659 if test "$GCC" = yes; then
15660 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
15661 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'
15662 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15664 allow_undefined_flag_GCJ=' -expect_unresolved \*'
15665 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'
15666 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~
15667 $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'
15669 # Both c and cxx compiler support -rpath directly
15670 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
15672 hardcode_libdir_separator_GCJ=:
15676 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15677 hardcode_shlibpath_var_GCJ=no
15678 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
15679 runpath_var=LD_RUN_PATH
15680 hardcode_runpath_var=yes
15684 no_undefined_flag_GCJ=' -z text'
15685 if test "$GCC" = yes; then
15686 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15687 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15688 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15690 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15691 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15692 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15694 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15695 hardcode_shlibpath_var_GCJ=no
15697 solaris2.[0-5] | solaris2.[0-5].*) ;;
15698 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
15699 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
15701 link_all_deplibs_GCJ=yes
15705 if test "x$host_vendor" = xsequent; then
15706 # Use $CC to link under sequent, because it throws in some extra .o
15707 # files that make .init and .fini sections work.
15708 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15710 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15712 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15713 hardcode_direct_GCJ=yes
15714 hardcode_minus_L_GCJ=yes
15715 hardcode_shlibpath_var_GCJ=no
15719 case $host_vendor in
15721 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15722 hardcode_direct_GCJ=yes # is this really true???
15725 ## LD is ld it makes a PLAMLIB
15726 ## CC just makes a GrossModule.
15727 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15728 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
15729 hardcode_direct_GCJ=no
15732 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15733 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
15736 runpath_var='LD_RUN_PATH'
15737 hardcode_shlibpath_var_GCJ=no
15741 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15742 hardcode_shlibpath_var_GCJ=no
15743 export_dynamic_flag_spec_GCJ='-Bexport'
15747 if test -d /usr/nec; then
15748 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15749 hardcode_shlibpath_var_GCJ=no
15750 runpath_var=LD_RUN_PATH
15751 hardcode_runpath_var=yes
15757 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15758 hardcode_direct_GCJ=yes
15759 hardcode_minus_L_GCJ=no
15760 hardcode_shlibpath_var_GCJ=no
15761 hardcode_runpath_var=yes
15762 runpath_var=LD_RUN_PATH
15765 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
15766 no_undefined_flag_GCJ='${wl}-z ${wl}text'
15767 if test "$GCC" = yes; then
15768 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15770 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15772 runpath_var='LD_RUN_PATH'
15773 hardcode_shlibpath_var_GCJ=no
15777 no_undefined_flag_GCJ=' -z text'
15778 # $CC -shared without GNU ld will not create a library from C++
15779 # object files and a static libstdc++, better avoid it by now
15780 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15781 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15782 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15783 hardcode_libdir_flag_spec_GCJ=
15784 hardcode_shlibpath_var_GCJ=no
15785 runpath_var='LD_RUN_PATH'
15789 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15790 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15791 hardcode_shlibpath_var_GCJ=no
15800 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
15801 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
15802 test "$ld_shlibs_GCJ" = no && can_build_shared=no
15804 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15805 if test "$GCC" = yes; then
15806 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15810 # Do we need to explicitly link libc?
15812 case "x$archive_cmds_need_lc_GCJ" in
15814 # Assume -lc should be added
15815 archive_cmds_need_lc_GCJ=yes
15817 if test "$enable_shared" = yes && test "$GCC" = yes; then
15818 case $archive_cmds_GCJ in
15820 # FIXME: we may have to deal with multi-command sequences.
15823 # Test whether the compiler implicitly links with -lc since on some
15824 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15825 # to ld, don't add -lc before -lgcc.
15826 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15827 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15829 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15832 (eval $ac_compile) 2>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } 2>conftest.err; then
15838 libobjs=conftest.$ac_objext
15840 wl=$lt_prog_compiler_wl_GCJ
15846 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
15847 allow_undefined_flag_GCJ=
15848 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15849 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); }
15854 archive_cmds_need_lc_GCJ=no
15856 archive_cmds_need_lc_GCJ=yes
15858 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
15860 cat conftest.err 1>&5
15863 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
15864 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
15871 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15872 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15873 hardcode_action_GCJ=
15874 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
15875 test -n "$runpath_var GCJ" || \
15876 test "X$hardcode_automatic_GCJ"="Xyes" ; then
15878 # We can hardcode non-existant directories.
15879 if test "$hardcode_direct_GCJ" != no &&
15880 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15881 # have to relink, otherwise we might link with an installed library
15882 # when we should be linking with a yet-to-be-installed one
15883 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
15884 test "$hardcode_minus_L_GCJ" != no; then
15885 # Linking always hardcodes the temporary library directory.
15886 hardcode_action_GCJ=relink
15888 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15889 hardcode_action_GCJ=immediate
15892 # We cannot hardcode anything, or else we can only hardcode existing
15894 hardcode_action_GCJ=unsupported
15896 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
15897 echo "${ECHO_T}$hardcode_action_GCJ" >&6
15899 if test "$hardcode_action_GCJ" = relink; then
15900 # Fast installation is not supported
15901 enable_fast_install=no
15902 elif test "$shlibpath_overrides_runpath" = yes ||
15903 test "$enable_shared" = no; then
15904 # Fast installation is not necessary
15905 enable_fast_install=needless
15910 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15911 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15912 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15913 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15914 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15915 echo "$as_me:$LINENO: result: yes" >&5
15916 echo "${ECHO_T}yes" >&6
15918 # FIXME - insert some real tests, host_os isn't really good enough
15921 if test -n "$STRIP" ; then
15922 striplib="$STRIP -x"
15923 echo "$as_me:$LINENO: result: yes" >&5
15924 echo "${ECHO_T}yes" >&6
15926 echo "$as_me:$LINENO: result: no" >&5
15927 echo "${ECHO_T}no" >&6
15931 echo "$as_me:$LINENO: result: no" >&5
15932 echo "${ECHO_T}no" >&6
15937 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15938 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15939 library_names_spec=
15940 libname_spec='lib$name'
15944 postuninstall_cmds=
15948 shlibpath_overrides_runpath=unknown
15950 dynamic_linker="$host_os ld.so"
15951 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15952 if test "$GCC" = yes; then
15953 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15954 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15955 # if the path contains ";" then we assume it to be the separator
15956 # otherwise default to the standard path separator (i.e. ":") - it is
15957 # assumed that no part of a normal pathname contains ";" but that should
15958 # okay in the real world where ";" in dirpaths is itself problematic.
15959 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15961 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15964 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15966 need_lib_prefix=unknown
15967 hardcode_into_libs=no
15969 # when you set need_version to no, make sure it does not cause -set_version
15970 # flags to be left without arguments
15971 need_version=unknown
15976 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15977 shlibpath_var=LIBPATH
15979 # AIX 3 has no versioning support, so we append a major version to the name.
15980 soname_spec='${libname}${release}${shared_ext}$major'
15987 hardcode_into_libs=yes
15988 if test "$host_cpu" = ia64; then
15989 # AIX 5 supports IA64
15990 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15991 shlibpath_var=LD_LIBRARY_PATH
15993 # With GCC up to 2.95.x, collect2 would create an import file
15994 # for dependence libraries. The import file would start with
15995 # the line `#! .'. This would cause the generated library to
15996 # depend on `.', always an invalid library. This was fixed in
15997 # development snapshots of GCC prior to 3.0.
15999 aix4 | aix4.[01] | aix4.[01].*)
16000 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16002 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16005 can_build_shared=no
16009 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16010 # soname into executable. Probably we can add versioning support to
16011 # collect2, so additional links can be useful in future.
16012 if test "$aix_use_runtimelinking" = yes; then
16013 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16014 # instead of lib<name>.a to let people know that these are not
16015 # typical AIX shared libraries.
16016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16018 # We preserve .a as extension for shared libraries through AIX4.2
16019 # and later when we are not doing run time linking.
16020 library_names_spec='${libname}${release}.a $libname.a'
16021 soname_spec='${libname}${release}${shared_ext}$major'
16023 shlibpath_var=LIBPATH
16028 library_names_spec='$libname.ixlibrary $libname.a'
16029 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16030 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'
16034 library_names_spec='${libname}${shared_ext}'
16035 dynamic_linker="$host_os ld.so"
16036 shlibpath_var=LIBRARY_PATH
16042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16043 soname_spec='${libname}${release}${shared_ext}$major'
16044 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16045 shlibpath_var=LD_LIBRARY_PATH
16046 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16047 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16048 # the default ld.so.conf also contains /usr/contrib/lib and
16049 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16050 # libtool to hard-code these into programs
16053 cygwin* | mingw* | pw32*)
16054 version_type=windows
16059 case $GCC,$host_os in
16060 yes,cygwin* | yes,mingw* | yes,pw32*)
16061 library_names_spec='$libname.dll.a'
16062 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16063 postinstall_cmds='base_file=`basename \${file}`~
16064 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16065 dldir=$destdir/`dirname \$dlpath`~
16066 test -d \$dldir || mkdir -p \$dldir~
16067 $install_prog $dir/$dlname \$dldir/$dlname'
16068 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16069 dlpath=$dir/\$dldll~
16071 shlibpath_overrides_runpath=yes
16075 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16076 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16077 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16080 # MinGW DLLs use traditional 'lib' prefix
16081 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16082 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16083 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16084 # It is most probably a Windows format PATH printed by
16085 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16086 # path with ; separators, and with drive letters. We can handle the
16087 # drive letters (cygwin fileutils understands them), so leave them,
16088 # especially as we might pass files found there to a mingw objdump,
16089 # which wouldn't understand a cygwinified path. Ahh.
16090 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16092 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16096 # pw32 DLLs use 'pw' prefix rather than 'lib'
16097 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16103 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16106 dynamic_linker='Win32 ld.exe'
16107 # FIXME: first we should search . and the directory the executable is in
16111 darwin* | rhapsody*)
16112 dynamic_linker="$host_os dyld"
16113 version_type=darwin
16116 # FIXME: Relying on posixy $() will cause problems for
16117 # cross-compilation, but unfortunately the echo tests do not
16118 # yet detect zsh echo's removal of \ escapes.
16119 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16120 soname_spec='${libname}${release}${major}$shared_ext'
16121 shlibpath_overrides_runpath=yes
16122 shlibpath_var=DYLD_LIBRARY_PATH
16123 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16124 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16125 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16126 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"`
16128 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16136 soname_spec='${libname}${release}${shared_ext}$major'
16137 shlibpath_var=LD_LIBRARY_PATH
16145 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16146 version_type=freebsd-$objformat
16147 case $version_type in
16149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16154 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16158 shlibpath_var=LD_LIBRARY_PATH
16161 shlibpath_overrides_runpath=yes
16163 freebsd3.01* | freebsdelf3.01*)
16164 shlibpath_overrides_runpath=yes
16165 hardcode_into_libs=yes
16168 shlibpath_overrides_runpath=no
16169 hardcode_into_libs=yes
16178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16179 soname_spec='${libname}${release}${shared_ext}$major'
16180 shlibpath_var=LD_LIBRARY_PATH
16181 hardcode_into_libs=yes
16184 hpux9* | hpux10* | hpux11*)
16185 # Give a soname corresponding to the major version so that dld.sl refuses to
16186 # link against other versions.
16190 case "$host_cpu" in
16193 hardcode_into_libs=yes
16194 dynamic_linker="$host_os dld.so"
16195 shlibpath_var=LD_LIBRARY_PATH
16196 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16198 soname_spec='${libname}${release}${shared_ext}$major'
16199 if test "X$HPUX_IA64_MODE" = X32; then
16200 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16202 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16204 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16208 hardcode_into_libs=yes
16209 dynamic_linker="$host_os dld.sl"
16210 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16211 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16213 soname_spec='${libname}${release}${shared_ext}$major'
16214 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16215 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16219 dynamic_linker="$host_os dld.sl"
16220 shlibpath_var=SHLIB_PATH
16221 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16223 soname_spec='${libname}${release}${shared_ext}$major'
16226 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16227 postinstall_cmds='chmod 555 $lib'
16230 irix5* | irix6* | nonstopux*)
16232 nonstopux*) version_type=nonstopux ;;
16234 if test "$lt_cv_prog_gnu_ld" = yes; then
16242 soname_spec='${libname}${release}${shared_ext}$major'
16243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16245 irix5* | nonstopux*)
16246 libsuff= shlibsuff=
16249 case $LD in # libtool.m4 will add one of these switches to LD
16250 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16251 libsuff= shlibsuff= libmagic=32-bit;;
16252 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16253 libsuff=32 shlibsuff=N32 libmagic=N32;;
16254 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16255 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16256 *) libsuff= shlibsuff= libmagic=never-match;;
16260 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16261 shlibpath_overrides_runpath=no
16262 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16263 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16264 hardcode_into_libs=yes
16267 # No shared lib support for Linux oldld, aout, or coff.
16268 linux*oldld* | linux*aout* | linux*coff*)
16272 # This must be Linux ELF.
16277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16278 soname_spec='${libname}${release}${shared_ext}$major'
16279 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16280 shlibpath_var=LD_LIBRARY_PATH
16281 shlibpath_overrides_runpath=no
16282 # This implies no fast_install, which is unacceptable.
16283 # Some rework will be needed to allow for fast_install
16284 # before this can be enabled.
16285 hardcode_into_libs=yes
16287 # We used to test for /lib/ld.so.1 and disable shared libraries on
16288 # powerpc, because MkLinux only supported shared libraries with the
16289 # GNU dynamic linker. Since this was broken with cross compilers,
16290 # most powerpc-linux boxes support dynamic linking these days and
16291 # people can always --disable-shared, the test was removed, and we
16292 # assume the GNU/Linux dynamic linker is in use.
16293 dynamic_linker='GNU/Linux ld.so'
16300 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16302 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16303 dynamic_linker='NetBSD (a.out) ld.so'
16305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16306 soname_spec='${libname}${release}${shared_ext}$major'
16307 dynamic_linker='NetBSD ld.elf_so'
16309 shlibpath_var=LD_LIBRARY_PATH
16310 shlibpath_overrides_runpath=yes
16311 hardcode_into_libs=yes
16316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16317 shlibpath_var=LD_LIBRARY_PATH
16318 shlibpath_overrides_runpath=yes
16325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16326 soname_spec='${libname}${release}${shared_ext}$major'
16327 shlibpath_var=LD_LIBRARY_PATH
16328 shlibpath_overrides_runpath=yes
16335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16336 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16337 shlibpath_var=LD_LIBRARY_PATH
16338 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16340 openbsd2.[89] | openbsd2.[89].*)
16341 shlibpath_overrides_runpath=no
16344 shlibpath_overrides_runpath=yes
16348 shlibpath_overrides_runpath=yes
16353 libname_spec='$name'
16356 library_names_spec='$libname${shared_ext} $libname.a'
16357 dynamic_linker='OS/2 ld.exe'
16358 shlibpath_var=LIBPATH
16361 osf3* | osf4* | osf5*)
16365 soname_spec='${libname}${release}${shared_ext}$major'
16366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16367 shlibpath_var=LD_LIBRARY_PATH
16368 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16369 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16374 soname_spec='${libname}${release}${shared_ext}$major'
16375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16376 shlibpath_var=LD_LIBRARY_PATH
16383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16384 soname_spec='${libname}${release}${shared_ext}$major'
16385 shlibpath_var=LD_LIBRARY_PATH
16386 shlibpath_overrides_runpath=yes
16387 hardcode_into_libs=yes
16388 # ldd complains unless libraries are executable
16389 postinstall_cmds='chmod +x $lib'
16394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16395 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16396 shlibpath_var=LD_LIBRARY_PATH
16397 shlibpath_overrides_runpath=yes
16398 if test "$with_gnu_ld" = yes; then
16404 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16407 soname_spec='${libname}${release}${shared_ext}$major'
16408 shlibpath_var=LD_LIBRARY_PATH
16409 case $host_vendor in
16411 shlibpath_overrides_runpath=no
16413 export_dynamic_flag_spec='${wl}-Blargedynsym'
16414 runpath_var=LD_RUN_PATH
16422 shlibpath_overrides_runpath=no
16423 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16429 if test -d /usr/nec ;then
16431 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16432 soname_spec='$libname${shared_ext}.$major'
16433 shlibpath_var=LD_LIBRARY_PATH
16439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16440 soname_spec='${libname}${release}${shared_ext}$major'
16441 shlibpath_var=LD_LIBRARY_PATH
16448 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16449 echo "${ECHO_T}$dynamic_linker" >&6
16450 test "$dynamic_linker" = no && can_build_shared=no
16452 if test "x$enable_dlopen" != xyes; then
16453 enable_dlopen=unknown
16454 enable_dlopen_self=unknown
16455 enable_dlopen_self_static=unknown
16462 lt_cv_dlopen="load_add_on"
16464 lt_cv_dlopen_self=yes
16468 lt_cv_dlopen="LoadLibrary"
16473 lt_cv_dlopen="dlopen"
16478 # if libdl is installed we need to link against it
16479 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16480 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16481 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16482 echo $ECHO_N "(cached) $ECHO_C" >&6
16484 ac_check_lib_save_LIBS=$LIBS
16486 cat >conftest.$ac_ext <<_ACEOF
16487 #line $LINENO "configure"
16488 #include "confdefs.h"
16490 /* Override any gcc2 internal prototype to avoid an error. */
16494 /* We use char because int might match the return type of a gcc2
16495 builtin and then its argument prototype would still apply. */
16497 #ifdef F77_DUMMY_MAIN
16498 # ifdef __cplusplus
16501 int F77_DUMMY_MAIN() { return 1; }
16511 rm -f conftest.$ac_objext conftest$ac_exeext
16512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16513 (eval $ac_link) 2>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); } &&
16517 { ac_try='test -s conftest$ac_exeext'
16518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519 (eval $ac_try) 2>&5
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); }; }; then
16523 ac_cv_lib_dl_dlopen=yes
16525 echo "$as_me: failed program was:" >&5
16526 cat conftest.$ac_ext >&5
16527 ac_cv_lib_dl_dlopen=no
16529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16530 LIBS=$ac_check_lib_save_LIBS
16532 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16533 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16534 if test $ac_cv_lib_dl_dlopen = yes; then
16535 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16538 lt_cv_dlopen="dyld"
16540 lt_cv_dlopen_self=yes
16547 echo "$as_me:$LINENO: checking for shl_load" >&5
16548 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16549 if test "${ac_cv_func_shl_load+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16552 cat >conftest.$ac_ext <<_ACEOF
16553 #line $LINENO "configure"
16554 #include "confdefs.h"
16555 /* System header to define __stub macros and hopefully few prototypes,
16556 which can conflict with char shl_load (); below. */
16557 #include <assert.h>
16558 /* Override any gcc2 internal prototype to avoid an error. */
16562 /* We use char because int might match the return type of a gcc2
16563 builtin and then its argument prototype would still apply. */
16567 #ifdef F77_DUMMY_MAIN
16568 # ifdef __cplusplus
16571 int F77_DUMMY_MAIN() { return 1; }
16576 /* The GNU C library defines this for functions which it implements
16577 to always fail with ENOSYS. Some functions are actually named
16578 something starting with __ and the normal name is an alias. */
16579 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16589 rm -f conftest.$ac_objext conftest$ac_exeext
16590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16591 (eval $ac_link) 2>&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } &&
16595 { ac_try='test -s conftest$ac_exeext'
16596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16597 (eval $ac_try) 2>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); }; }; then
16601 ac_cv_func_shl_load=yes
16603 echo "$as_me: failed program was:" >&5
16604 cat conftest.$ac_ext >&5
16605 ac_cv_func_shl_load=no
16607 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16609 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16610 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16611 if test $ac_cv_func_shl_load = yes; then
16612 lt_cv_dlopen="shl_load"
16614 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16615 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16616 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16617 echo $ECHO_N "(cached) $ECHO_C" >&6
16619 ac_check_lib_save_LIBS=$LIBS
16621 cat >conftest.$ac_ext <<_ACEOF
16622 #line $LINENO "configure"
16623 #include "confdefs.h"
16625 /* Override any gcc2 internal prototype to avoid an error. */
16629 /* We use char because int might match the return type of a gcc2
16630 builtin and then its argument prototype would still apply. */
16632 #ifdef F77_DUMMY_MAIN
16633 # ifdef __cplusplus
16636 int F77_DUMMY_MAIN() { return 1; }
16646 rm -f conftest.$ac_objext conftest$ac_exeext
16647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16648 (eval $ac_link) 2>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try='test -s conftest$ac_exeext'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; }; then
16658 ac_cv_lib_dld_shl_load=yes
16660 echo "$as_me: failed program was:" >&5
16661 cat conftest.$ac_ext >&5
16662 ac_cv_lib_dld_shl_load=no
16664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16665 LIBS=$ac_check_lib_save_LIBS
16667 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16668 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
16669 if test $ac_cv_lib_dld_shl_load = yes; then
16670 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16672 echo "$as_me:$LINENO: checking for dlopen" >&5
16673 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
16674 if test "${ac_cv_func_dlopen+set}" = set; then
16675 echo $ECHO_N "(cached) $ECHO_C" >&6
16677 cat >conftest.$ac_ext <<_ACEOF
16678 #line $LINENO "configure"
16679 #include "confdefs.h"
16680 /* System header to define __stub macros and hopefully few prototypes,
16681 which can conflict with char dlopen (); below. */
16682 #include <assert.h>
16683 /* Override any gcc2 internal prototype to avoid an error. */
16687 /* We use char because int might match the return type of a gcc2
16688 builtin and then its argument prototype would still apply. */
16692 #ifdef F77_DUMMY_MAIN
16693 # ifdef __cplusplus
16696 int F77_DUMMY_MAIN() { return 1; }
16701 /* The GNU C library defines this for functions which it implements
16702 to always fail with ENOSYS. Some functions are actually named
16703 something starting with __ and the normal name is an alias. */
16704 #if defined (__stub_dlopen) || defined (__stub___dlopen)
16714 rm -f conftest.$ac_objext conftest$ac_exeext
16715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16716 (eval $ac_link) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } &&
16720 { ac_try='test -s conftest$ac_exeext'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; }; then
16726 ac_cv_func_dlopen=yes
16728 echo "$as_me: failed program was:" >&5
16729 cat conftest.$ac_ext >&5
16730 ac_cv_func_dlopen=no
16732 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16734 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16735 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
16736 if test $ac_cv_func_dlopen = yes; then
16737 lt_cv_dlopen="dlopen"
16739 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16740 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16741 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16742 echo $ECHO_N "(cached) $ECHO_C" >&6
16744 ac_check_lib_save_LIBS=$LIBS
16746 cat >conftest.$ac_ext <<_ACEOF
16747 #line $LINENO "configure"
16748 #include "confdefs.h"
16750 /* Override any gcc2 internal prototype to avoid an error. */
16754 /* We use char because int might match the return type of a gcc2
16755 builtin and then its argument prototype would still apply. */
16757 #ifdef F77_DUMMY_MAIN
16758 # ifdef __cplusplus
16761 int F77_DUMMY_MAIN() { return 1; }
16771 rm -f conftest.$ac_objext conftest$ac_exeext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16773 (eval $ac_link) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); } &&
16777 { ac_try='test -s conftest$ac_exeext'
16778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16779 (eval $ac_try) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); }; }; then
16783 ac_cv_lib_dl_dlopen=yes
16785 echo "$as_me: failed program was:" >&5
16786 cat conftest.$ac_ext >&5
16787 ac_cv_lib_dl_dlopen=no
16789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16790 LIBS=$ac_check_lib_save_LIBS
16792 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16793 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16794 if test $ac_cv_lib_dl_dlopen = yes; then
16795 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16797 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
16798 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
16799 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16802 ac_check_lib_save_LIBS=$LIBS
16803 LIBS="-lsvld $LIBS"
16804 cat >conftest.$ac_ext <<_ACEOF
16805 #line $LINENO "configure"
16806 #include "confdefs.h"
16808 /* Override any gcc2 internal prototype to avoid an error. */
16812 /* We use char because int might match the return type of a gcc2
16813 builtin and then its argument prototype would still apply. */
16815 #ifdef F77_DUMMY_MAIN
16816 # ifdef __cplusplus
16819 int F77_DUMMY_MAIN() { return 1; }
16829 rm -f conftest.$ac_objext conftest$ac_exeext
16830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16831 (eval $ac_link) 2>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } &&
16835 { ac_try='test -s conftest$ac_exeext'
16836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16837 (eval $ac_try) 2>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); }; }; then
16841 ac_cv_lib_svld_dlopen=yes
16843 echo "$as_me: failed program was:" >&5
16844 cat conftest.$ac_ext >&5
16845 ac_cv_lib_svld_dlopen=no
16847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16848 LIBS=$ac_check_lib_save_LIBS
16850 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16851 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
16852 if test $ac_cv_lib_svld_dlopen = yes; then
16853 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16855 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16856 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
16857 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16858 echo $ECHO_N "(cached) $ECHO_C" >&6
16860 ac_check_lib_save_LIBS=$LIBS
16862 cat >conftest.$ac_ext <<_ACEOF
16863 #line $LINENO "configure"
16864 #include "confdefs.h"
16866 /* Override any gcc2 internal prototype to avoid an error. */
16870 /* We use char because int might match the return type of a gcc2
16871 builtin and then its argument prototype would still apply. */
16873 #ifdef F77_DUMMY_MAIN
16874 # ifdef __cplusplus
16877 int F77_DUMMY_MAIN() { return 1; }
16887 rm -f conftest.$ac_objext conftest$ac_exeext
16888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16889 (eval $ac_link) 2>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); } &&
16893 { ac_try='test -s conftest$ac_exeext'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; }; then
16899 ac_cv_lib_dld_dld_link=yes
16901 echo "$as_me: failed program was:" >&5
16902 cat conftest.$ac_ext >&5
16903 ac_cv_lib_dld_dld_link=no
16905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16906 LIBS=$ac_check_lib_save_LIBS
16908 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
16909 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
16910 if test $ac_cv_lib_dld_dld_link = yes; then
16911 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
16932 if test "x$lt_cv_dlopen" != xno; then
16938 case $lt_cv_dlopen in
16940 save_CPPFLAGS="$CPPFLAGS"
16941 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16943 save_LDFLAGS="$LDFLAGS"
16944 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16947 LIBS="$lt_cv_dlopen_libs $LIBS"
16949 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
16950 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
16951 if test "${lt_cv_dlopen_self+set}" = set; then
16952 echo $ECHO_N "(cached) $ECHO_C" >&6
16954 if test "$cross_compiling" = yes; then :
16955 lt_cv_dlopen_self=cross
16957 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16958 lt_status=$lt_dlunknown
16959 cat > conftest.$ac_ext <<EOF
16960 #line 16960 "configure"
16961 #include "confdefs.h"
16970 # define LT_DLGLOBAL RTLD_GLOBAL
16973 # define LT_DLGLOBAL DL_GLOBAL
16975 # define LT_DLGLOBAL 0
16979 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16980 find out it does not work in some platform. */
16981 #ifndef LT_DLLAZY_OR_NOW
16983 # define LT_DLLAZY_OR_NOW RTLD_LAZY
16986 # define LT_DLLAZY_OR_NOW DL_LAZY
16989 # define LT_DLLAZY_OR_NOW RTLD_NOW
16992 # define LT_DLLAZY_OR_NOW DL_NOW
16994 # define LT_DLLAZY_OR_NOW 0
17002 extern "C" void exit (int);
17005 void fnord() { int i=42;}
17008 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17009 int status = $lt_dlunknown;
17013 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17014 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17015 /* dlclose (self); */
17021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17022 (eval $ac_link) 2>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17026 (./conftest; exit; ) 2>/dev/null
17028 case x$lt_status in
17029 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17030 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17031 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17034 # compilation failed
17035 lt_cv_dlopen_self=no
17042 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17043 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17045 if test "x$lt_cv_dlopen_self" = xyes; then
17046 LDFLAGS="$LDFLAGS $link_static_flag"
17047 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17048 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17049 if test "${lt_cv_dlopen_self_static+set}" = set; then
17050 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 if test "$cross_compiling" = yes; then :
17053 lt_cv_dlopen_self_static=cross
17055 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17056 lt_status=$lt_dlunknown
17057 cat > conftest.$ac_ext <<EOF
17058 #line 17058 "configure"
17059 #include "confdefs.h"
17068 # define LT_DLGLOBAL RTLD_GLOBAL
17071 # define LT_DLGLOBAL DL_GLOBAL
17073 # define LT_DLGLOBAL 0
17077 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17078 find out it does not work in some platform. */
17079 #ifndef LT_DLLAZY_OR_NOW
17081 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17084 # define LT_DLLAZY_OR_NOW DL_LAZY
17087 # define LT_DLLAZY_OR_NOW RTLD_NOW
17090 # define LT_DLLAZY_OR_NOW DL_NOW
17092 # define LT_DLLAZY_OR_NOW 0
17100 extern "C" void exit (int);
17103 void fnord() { int i=42;}
17106 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17107 int status = $lt_dlunknown;
17111 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17112 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17113 /* dlclose (self); */
17119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17120 (eval $ac_link) 2>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17124 (./conftest; exit; ) 2>/dev/null
17126 case x$lt_status in
17127 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17128 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17129 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17132 # compilation failed
17133 lt_cv_dlopen_self_static=no
17140 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17141 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17144 CPPFLAGS="$save_CPPFLAGS"
17145 LDFLAGS="$save_LDFLAGS"
17150 case $lt_cv_dlopen_self in
17151 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17152 *) enable_dlopen_self=unknown ;;
17155 case $lt_cv_dlopen_self_static in
17156 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17157 *) enable_dlopen_self_static=unknown ;;
17162 # The else clause should only fire when bootstrapping the
17163 # libtool distribution, otherwise you forgot to ship ltmain.sh
17164 # with your package, and you will get complaints that there are
17165 # no rules to generate ltmain.sh.
17166 if test -f "$ltmain"; then
17167 # See if we are running on zsh, and set the options which allow our commands through
17168 # without removal of \ escapes.
17169 if test -n "${ZSH_VERSION+set}" ; then
17170 setopt NO_GLOB_SUBST
17172 # Now quote all the things that may contain metacharacters while being
17173 # careful not to overquote the AC_SUBSTed values. We take copies of the
17174 # variables and quote the copies for generation of the libtool script.
17175 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17176 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17177 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17178 deplibs_check_method reload_flag reload_cmds need_locks \
17179 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17180 lt_cv_sys_global_symbol_to_c_name_address \
17181 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17182 old_postinstall_cmds old_postuninstall_cmds \
17186 lt_prog_compiler_wl_GCJ \
17187 lt_prog_compiler_pic_GCJ \
17188 lt_prog_compiler_static_GCJ \
17189 lt_prog_compiler_no_builtin_flag_GCJ \
17190 export_dynamic_flag_spec_GCJ \
17191 thread_safe_flag_spec_GCJ \
17192 whole_archive_flag_spec_GCJ \
17193 enable_shared_with_static_runtimes_GCJ \
17194 old_archive_cmds_GCJ \
17195 old_archive_from_new_cmds_GCJ \
17196 predep_objects_GCJ \
17197 postdep_objects_GCJ \
17200 compiler_lib_search_path_GCJ \
17202 archive_expsym_cmds_GCJ \
17203 postinstall_cmds_GCJ \
17204 postuninstall_cmds_GCJ \
17205 old_archive_from_expsyms_cmds_GCJ \
17206 allow_undefined_flag_GCJ \
17207 no_undefined_flag_GCJ \
17208 export_symbols_cmds_GCJ \
17209 hardcode_libdir_flag_spec_GCJ \
17210 hardcode_libdir_flag_spec_ld_GCJ \
17211 hardcode_libdir_separator_GCJ \
17212 hardcode_automatic_GCJ \
17214 module_expsym_cmds_GCJ \
17215 lt_cv_prog_compiler_c_o_GCJ \
17216 exclude_expsyms_GCJ \
17217 include_expsyms_GCJ; do
17220 old_archive_cmds_GCJ | \
17221 old_archive_from_new_cmds_GCJ | \
17222 archive_cmds_GCJ | \
17223 archive_expsym_cmds_GCJ | \
17224 module_cmds_GCJ | \
17225 module_expsym_cmds_GCJ | \
17226 old_archive_from_expsyms_cmds_GCJ | \
17227 export_symbols_cmds_GCJ | \
17228 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17229 postinstall_cmds | postuninstall_cmds | \
17230 old_postinstall_cmds | old_postuninstall_cmds | \
17231 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17232 # Double-quote double-evaled strings.
17233 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17236 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17242 *'\$0 --fallback-echo"')
17243 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17249 cat <<__EOF__ >> "$cfgfile"
17250 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17252 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17254 # Shell to use when invoking shell scripts.
17257 # Whether or not to build shared libraries.
17258 build_libtool_libs=$enable_shared
17260 # Whether or not to build static libraries.
17261 build_old_libs=$enable_static
17263 # Whether or not to add -lc for building shared libraries.
17264 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17266 # Whether or not to disallow shared libs when runtime libs are static
17267 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17269 # Whether or not to optimize for fast installation.
17270 fast_install=$enable_fast_install
17273 host_alias=$host_alias
17276 # An echo program that does not interpret backslashes.
17281 AR_FLAGS=$lt_AR_FLAGS
17286 # A language-specific compiler.
17287 CC=$lt_compiler_GCJ
17289 # Is the compiler the GNU C compiler?
17295 # The linker used to build libraries.
17298 # Whether we need hard or soft links.
17301 # A BSD-compatible nm program.
17304 # A symbol stripping program
17307 # Used to examine libraries when file_magic_cmd begins "file"
17308 MAGIC_CMD=$MAGIC_CMD
17310 # Used on cygwin: DLL creation program.
17313 # Used on cygwin: object dumper.
17316 # Used on cygwin: assembler.
17319 # The name of the directory that contains temporary libtool files.
17322 # How to create reloadable object files.
17323 reload_flag=$lt_reload_flag
17324 reload_cmds=$lt_reload_cmds
17326 # How to pass a linker flag through the compiler.
17327 wl=$lt_lt_prog_compiler_wl_GCJ
17329 # Object file suffix (normally "o").
17330 objext="$ac_objext"
17332 # Old archive suffix (normally "a").
17335 # Shared library suffix (normally ".so").
17338 # Executable file suffix (normally "").
17341 # Additional compiler flags for building library objects.
17342 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17345 # What is the maximum length of a command?
17346 max_cmd_len=$lt_cv_sys_max_cmd_len
17348 # Does compiler simultaneously support -c and -o options?
17349 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17351 # Must we lock files when doing compilation ?
17352 need_locks=$lt_need_locks
17354 # Do we need the lib prefix for modules?
17355 need_lib_prefix=$need_lib_prefix
17357 # Do we need a version for libraries?
17358 need_version=$need_version
17360 # Whether dlopen is supported.
17361 dlopen_support=$enable_dlopen
17363 # Whether dlopen of programs is supported.
17364 dlopen_self=$enable_dlopen_self
17366 # Whether dlopen of statically linked programs is supported.
17367 dlopen_self_static=$enable_dlopen_self_static
17369 # Compiler flag to prevent dynamic linking.
17370 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17372 # Compiler flag to turn off builtin functions.
17373 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17375 # Compiler flag to allow reflexive dlopens.
17376 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17378 # Compiler flag to generate shared objects directly from archives.
17379 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17381 # Compiler flag to generate thread-safe objects.
17382 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17384 # Library versioning type.
17385 version_type=$version_type
17387 # Format of library name prefix.
17388 libname_spec=$lt_libname_spec
17390 # List of archive names. First name is the real one, the rest are links.
17391 # The last name is the one that the linker finds with -lNAME.
17392 library_names_spec=$lt_library_names_spec
17394 # The coded name of the library, if different from the real name.
17395 soname_spec=$lt_soname_spec
17397 # Commands used to build and install an old-style archive.
17399 old_archive_cmds=$lt_old_archive_cmds_GCJ
17400 old_postinstall_cmds=$lt_old_postinstall_cmds
17401 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17403 # Create an old-style archive from a shared archive.
17404 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17406 # Create a temporary old-style archive to link instead of a shared archive.
17407 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17409 # Commands used to build and install a shared archive.
17410 archive_cmds=$lt_archive_cmds_GCJ
17411 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17412 postinstall_cmds=$lt_postinstall_cmds
17413 postuninstall_cmds=$lt_postuninstall_cmds
17415 # Commands used to build a loadable module (assumed same as above if empty)
17416 module_cmds=$lt_module_cmds_GCJ
17417 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17419 # Commands to strip libraries.
17420 old_striplib=$lt_old_striplib
17421 striplib=$lt_striplib
17423 # Dependencies to place before the objects being linked to create a
17425 predep_objects=$lt_predep_objects_GCJ
17427 # Dependencies to place after the objects being linked to create a
17429 postdep_objects=$lt_postdep_objects_GCJ
17431 # Dependencies to place before the objects being linked to create a
17433 predeps=$lt_predeps_GCJ
17435 # Dependencies to place after the objects being linked to create a
17437 postdeps=$lt_postdeps_GCJ
17439 # The library search path used internally by the compiler when linking
17440 # a shared library.
17441 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17443 # Method to check whether dependent libraries are shared objects.
17444 deplibs_check_method=$lt_deplibs_check_method
17446 # Command to use when deplibs_check_method == file_magic.
17447 file_magic_cmd=$lt_file_magic_cmd
17449 # Flag that allows shared libraries with undefined symbols to be built.
17450 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17452 # Flag that forces no undefined symbols.
17453 no_undefined_flag=$lt_no_undefined_flag_GCJ
17455 # Commands used to finish a libtool library installation in a directory.
17456 finish_cmds=$lt_finish_cmds
17458 # Same as above, but a single script fragment to be evaled but not shown.
17459 finish_eval=$lt_finish_eval
17461 # Take the output of nm and produce a listing of raw symbols and C names.
17462 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17464 # Transform the output of nm in a proper C declaration
17465 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17467 # Transform the output of nm in a C name address pair
17468 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17470 # This is the shared library runtime path variable.
17471 runpath_var=$runpath_var
17473 # This is the shared library path variable.
17474 shlibpath_var=$shlibpath_var
17476 # Is shlibpath searched before the hard-coded library search path?
17477 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17479 # How to hardcode a shared library path into an executable.
17480 hardcode_action=$hardcode_action_GCJ
17482 # Whether we should hardcode library paths into libraries.
17483 hardcode_into_libs=$hardcode_into_libs
17485 # Flag to hardcode \$libdir into a binary during linking.
17486 # This must work even if \$libdir does not exist.
17487 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17489 # If ld is used when linking, flag to hardcode \$libdir into
17490 # a binary during linking. This must work even if \$libdir does
17492 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17494 # Whether we need a single -rpath flag with a separated argument.
17495 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17497 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17498 # resulting binary.
17499 hardcode_direct=$hardcode_direct_GCJ
17501 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17502 # resulting binary.
17503 hardcode_minus_L=$hardcode_minus_L_GCJ
17505 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17506 # the resulting binary.
17507 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17509 # Set to yes if building a shared library automatically hardcodes DIR into the library
17510 # and all subsequent libraries and executables linked against it.
17511 hardcode_automatic=$hardcode_automatic_GCJ
17513 # Variables whose values should be saved in libtool wrapper scripts and
17514 # restored at relink time.
17515 variables_saved_for_relink="$variables_saved_for_relink"
17517 # Whether libtool must link a program against all its dependency libraries.
17518 link_all_deplibs=$link_all_deplibs_GCJ
17520 # Compile-time system search path for libraries
17521 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17523 # Run-time system search path for libraries
17524 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17526 # Fix the shell variable \$srcfile for the compiler.
17527 fix_srcfile_path="$fix_srcfile_path_GCJ"
17529 # Set to yes if exported symbols are required.
17530 always_export_symbols=$always_export_symbols_GCJ
17532 # The commands to list exported symbols.
17533 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17535 # The commands to extract the exported symbol list from a shared archive.
17536 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17538 # Symbols that should not be listed in the preloaded symbols.
17539 exclude_expsyms=$lt_exclude_expsyms_GCJ
17541 # Symbols that must always be exported.
17542 include_expsyms=$lt_include_expsyms_GCJ
17544 # ### END LIBTOOL TAG CONFIG: $tagname
17550 # If there is no Makefile yet, we rely on a make rule to execute
17551 # `config.status --recheck' to rerun these tests and create the
17552 # libtool script then.
17553 test -f Makefile && make "$ltmain"
17558 ac_cpp='$CPP $CPPFLAGS'
17559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17574 # Source file extension for RC test sources.
17577 # Object file extension for compiled RC test sources.
17581 # Code to be used in simple compile tests
17582 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17584 # Code to be used in simple link tests
17585 lt_simple_link_test_code="$lt_simple_compile_test_code"
17587 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17589 # If no C compiler was specified, use CC.
17592 # Allow CC to be a program name with arguments.
17596 # Allow CC to be a program name with arguments.
17601 lt_cv_prog_compiler_c_o_RC=yes
17603 # The else clause should only fire when bootstrapping the
17604 # libtool distribution, otherwise you forgot to ship ltmain.sh
17605 # with your package, and you will get complaints that there are
17606 # no rules to generate ltmain.sh.
17607 if test -f "$ltmain"; then
17608 # See if we are running on zsh, and set the options which allow our commands through
17609 # without removal of \ escapes.
17610 if test -n "${ZSH_VERSION+set}" ; then
17611 setopt NO_GLOB_SUBST
17613 # Now quote all the things that may contain metacharacters while being
17614 # careful not to overquote the AC_SUBSTed values. We take copies of the
17615 # variables and quote the copies for generation of the libtool script.
17616 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17617 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17618 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17619 deplibs_check_method reload_flag reload_cmds need_locks \
17620 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17621 lt_cv_sys_global_symbol_to_c_name_address \
17622 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17623 old_postinstall_cmds old_postuninstall_cmds \
17627 lt_prog_compiler_wl_RC \
17628 lt_prog_compiler_pic_RC \
17629 lt_prog_compiler_static_RC \
17630 lt_prog_compiler_no_builtin_flag_RC \
17631 export_dynamic_flag_spec_RC \
17632 thread_safe_flag_spec_RC \
17633 whole_archive_flag_spec_RC \
17634 enable_shared_with_static_runtimes_RC \
17635 old_archive_cmds_RC \
17636 old_archive_from_new_cmds_RC \
17637 predep_objects_RC \
17638 postdep_objects_RC \
17641 compiler_lib_search_path_RC \
17643 archive_expsym_cmds_RC \
17644 postinstall_cmds_RC \
17645 postuninstall_cmds_RC \
17646 old_archive_from_expsyms_cmds_RC \
17647 allow_undefined_flag_RC \
17648 no_undefined_flag_RC \
17649 export_symbols_cmds_RC \
17650 hardcode_libdir_flag_spec_RC \
17651 hardcode_libdir_flag_spec_ld_RC \
17652 hardcode_libdir_separator_RC \
17653 hardcode_automatic_RC \
17655 module_expsym_cmds_RC \
17656 lt_cv_prog_compiler_c_o_RC \
17657 exclude_expsyms_RC \
17658 include_expsyms_RC; do
17661 old_archive_cmds_RC | \
17662 old_archive_from_new_cmds_RC | \
17663 archive_cmds_RC | \
17664 archive_expsym_cmds_RC | \
17666 module_expsym_cmds_RC | \
17667 old_archive_from_expsyms_cmds_RC | \
17668 export_symbols_cmds_RC | \
17669 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17670 postinstall_cmds | postuninstall_cmds | \
17671 old_postinstall_cmds | old_postuninstall_cmds | \
17672 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17673 # Double-quote double-evaled strings.
17674 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17677 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17683 *'\$0 --fallback-echo"')
17684 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17690 cat <<__EOF__ >> "$cfgfile"
17691 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17693 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17695 # Shell to use when invoking shell scripts.
17698 # Whether or not to build shared libraries.
17699 build_libtool_libs=$enable_shared
17701 # Whether or not to build static libraries.
17702 build_old_libs=$enable_static
17704 # Whether or not to add -lc for building shared libraries.
17705 build_libtool_need_lc=$archive_cmds_need_lc_RC
17707 # Whether or not to disallow shared libs when runtime libs are static
17708 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
17710 # Whether or not to optimize for fast installation.
17711 fast_install=$enable_fast_install
17714 host_alias=$host_alias
17717 # An echo program that does not interpret backslashes.
17722 AR_FLAGS=$lt_AR_FLAGS
17727 # A language-specific compiler.
17730 # Is the compiler the GNU C compiler?
17736 # The linker used to build libraries.
17739 # Whether we need hard or soft links.
17742 # A BSD-compatible nm program.
17745 # A symbol stripping program
17748 # Used to examine libraries when file_magic_cmd begins "file"
17749 MAGIC_CMD=$MAGIC_CMD
17751 # Used on cygwin: DLL creation program.
17754 # Used on cygwin: object dumper.
17757 # Used on cygwin: assembler.
17760 # The name of the directory that contains temporary libtool files.
17763 # How to create reloadable object files.
17764 reload_flag=$lt_reload_flag
17765 reload_cmds=$lt_reload_cmds
17767 # How to pass a linker flag through the compiler.
17768 wl=$lt_lt_prog_compiler_wl_RC
17770 # Object file suffix (normally "o").
17771 objext="$ac_objext"
17773 # Old archive suffix (normally "a").
17776 # Shared library suffix (normally ".so").
17779 # Executable file suffix (normally "").
17782 # Additional compiler flags for building library objects.
17783 pic_flag=$lt_lt_prog_compiler_pic_RC
17786 # What is the maximum length of a command?
17787 max_cmd_len=$lt_cv_sys_max_cmd_len
17789 # Does compiler simultaneously support -c and -o options?
17790 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
17792 # Must we lock files when doing compilation ?
17793 need_locks=$lt_need_locks
17795 # Do we need the lib prefix for modules?
17796 need_lib_prefix=$need_lib_prefix
17798 # Do we need a version for libraries?
17799 need_version=$need_version
17801 # Whether dlopen is supported.
17802 dlopen_support=$enable_dlopen
17804 # Whether dlopen of programs is supported.
17805 dlopen_self=$enable_dlopen_self
17807 # Whether dlopen of statically linked programs is supported.
17808 dlopen_self_static=$enable_dlopen_self_static
17810 # Compiler flag to prevent dynamic linking.
17811 link_static_flag=$lt_lt_prog_compiler_static_RC
17813 # Compiler flag to turn off builtin functions.
17814 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
17816 # Compiler flag to allow reflexive dlopens.
17817 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
17819 # Compiler flag to generate shared objects directly from archives.
17820 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
17822 # Compiler flag to generate thread-safe objects.
17823 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
17825 # Library versioning type.
17826 version_type=$version_type
17828 # Format of library name prefix.
17829 libname_spec=$lt_libname_spec
17831 # List of archive names. First name is the real one, the rest are links.
17832 # The last name is the one that the linker finds with -lNAME.
17833 library_names_spec=$lt_library_names_spec
17835 # The coded name of the library, if different from the real name.
17836 soname_spec=$lt_soname_spec
17838 # Commands used to build and install an old-style archive.
17840 old_archive_cmds=$lt_old_archive_cmds_RC
17841 old_postinstall_cmds=$lt_old_postinstall_cmds
17842 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17844 # Create an old-style archive from a shared archive.
17845 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
17847 # Create a temporary old-style archive to link instead of a shared archive.
17848 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
17850 # Commands used to build and install a shared archive.
17851 archive_cmds=$lt_archive_cmds_RC
17852 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
17853 postinstall_cmds=$lt_postinstall_cmds
17854 postuninstall_cmds=$lt_postuninstall_cmds
17856 # Commands used to build a loadable module (assumed same as above if empty)
17857 module_cmds=$lt_module_cmds_RC
17858 module_expsym_cmds=$lt_module_expsym_cmds_RC
17860 # Commands to strip libraries.
17861 old_striplib=$lt_old_striplib
17862 striplib=$lt_striplib
17864 # Dependencies to place before the objects being linked to create a
17866 predep_objects=$lt_predep_objects_RC
17868 # Dependencies to place after the objects being linked to create a
17870 postdep_objects=$lt_postdep_objects_RC
17872 # Dependencies to place before the objects being linked to create a
17874 predeps=$lt_predeps_RC
17876 # Dependencies to place after the objects being linked to create a
17878 postdeps=$lt_postdeps_RC
17880 # The library search path used internally by the compiler when linking
17881 # a shared library.
17882 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
17884 # Method to check whether dependent libraries are shared objects.
17885 deplibs_check_method=$lt_deplibs_check_method
17887 # Command to use when deplibs_check_method == file_magic.
17888 file_magic_cmd=$lt_file_magic_cmd
17890 # Flag that allows shared libraries with undefined symbols to be built.
17891 allow_undefined_flag=$lt_allow_undefined_flag_RC
17893 # Flag that forces no undefined symbols.
17894 no_undefined_flag=$lt_no_undefined_flag_RC
17896 # Commands used to finish a libtool library installation in a directory.
17897 finish_cmds=$lt_finish_cmds
17899 # Same as above, but a single script fragment to be evaled but not shown.
17900 finish_eval=$lt_finish_eval
17902 # Take the output of nm and produce a listing of raw symbols and C names.
17903 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17905 # Transform the output of nm in a proper C declaration
17906 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17908 # Transform the output of nm in a C name address pair
17909 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17911 # This is the shared library runtime path variable.
17912 runpath_var=$runpath_var
17914 # This is the shared library path variable.
17915 shlibpath_var=$shlibpath_var
17917 # Is shlibpath searched before the hard-coded library search path?
17918 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17920 # How to hardcode a shared library path into an executable.
17921 hardcode_action=$hardcode_action_RC
17923 # Whether we should hardcode library paths into libraries.
17924 hardcode_into_libs=$hardcode_into_libs
17926 # Flag to hardcode \$libdir into a binary during linking.
17927 # This must work even if \$libdir does not exist.
17928 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
17930 # If ld is used when linking, flag to hardcode \$libdir into
17931 # a binary during linking. This must work even if \$libdir does
17933 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
17935 # Whether we need a single -rpath flag with a separated argument.
17936 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
17938 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17939 # resulting binary.
17940 hardcode_direct=$hardcode_direct_RC
17942 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17943 # resulting binary.
17944 hardcode_minus_L=$hardcode_minus_L_RC
17946 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17947 # the resulting binary.
17948 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
17950 # Set to yes if building a shared library automatically hardcodes DIR into the library
17951 # and all subsequent libraries and executables linked against it.
17952 hardcode_automatic=$hardcode_automatic_RC
17954 # Variables whose values should be saved in libtool wrapper scripts and
17955 # restored at relink time.
17956 variables_saved_for_relink="$variables_saved_for_relink"
17958 # Whether libtool must link a program against all its dependency libraries.
17959 link_all_deplibs=$link_all_deplibs_RC
17961 # Compile-time system search path for libraries
17962 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17964 # Run-time system search path for libraries
17965 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17967 # Fix the shell variable \$srcfile for the compiler.
17968 fix_srcfile_path="$fix_srcfile_path_RC"
17970 # Set to yes if exported symbols are required.
17971 always_export_symbols=$always_export_symbols_RC
17973 # The commands to list exported symbols.
17974 export_symbols_cmds=$lt_export_symbols_cmds_RC
17976 # The commands to extract the exported symbol list from a shared archive.
17977 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17979 # Symbols that should not be listed in the preloaded symbols.
17980 exclude_expsyms=$lt_exclude_expsyms_RC
17982 # Symbols that must always be exported.
17983 include_expsyms=$lt_include_expsyms_RC
17985 # ### END LIBTOOL TAG CONFIG: $tagname
17991 # If there is no Makefile yet, we rely on a make rule to execute
17992 # `config.status --recheck' to rerun these tests and create the
17993 # libtool script then.
17994 test -f Makefile && make "$ltmain"
17999 ac_cpp='$CPP $CPPFLAGS'
18000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18009 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18010 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18011 { (exit 1); exit 1; }; }
18015 # Append the new tag name to the list of available tags.
18016 if test -n "$tagname" ; then
18017 available_tags="$available_tags $tagname"
18023 # Now substitute the updated list of available tags.
18024 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18025 mv "${ofile}T" "$ofile"
18029 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18030 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18031 { (exit 1); exit 1; }; }
18037 # This can be used to rebuild libtool when needed
18038 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18040 # Always use our own libtool.
18041 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18043 # Prevent multiple expansion
18065 # Extract the first word of "pwd", so it can be a program name with args.
18066 set dummy pwd; ac_word=$2
18067 echo "$as_me:$LINENO: checking for $ac_word" >&5
18068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18069 if test "${ac_cv_path_RPWD+set}" = set; then
18070 echo $ECHO_N "(cached) $ECHO_C" >&6
18074 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18078 for as_dir in $PATH
18081 test -z "$as_dir" && as_dir=.
18082 for ac_exec_ext in '' $ac_executable_extensions; do
18083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18084 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18094 RPWD=$ac_cv_path_RPWD
18096 if test -n "$RPWD"; then
18097 echo "$as_me:$LINENO: result: $RPWD" >&5
18098 echo "${ECHO_T}$RPWD" >&6
18100 echo "$as_me:$LINENO: result: no" >&5
18101 echo "${ECHO_T}no" >&6
18104 # Extract the first word of "ar", so it can be a program name with args.
18105 set dummy ar; ac_word=$2
18106 echo "$as_me:$LINENO: checking for $ac_word" >&5
18107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18108 if test "${ac_cv_path_AR+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18113 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18117 for as_dir in $PATH
18120 test -z "$as_dir" && as_dir=.
18121 for ac_exec_ext in '' $ac_executable_extensions; do
18122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18123 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18135 if test -n "$AR"; then
18136 echo "$as_me:$LINENO: result: $AR" >&5
18137 echo "${ECHO_T}$AR" >&6
18139 echo "$as_me:$LINENO: result: no" >&5
18140 echo "${ECHO_T}no" >&6
18143 # Extract the first word of "sed", so it can be a program name with args.
18144 set dummy sed; ac_word=$2
18145 echo "$as_me:$LINENO: checking for $ac_word" >&5
18146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18147 if test "${ac_cv_path_SED+set}" = set; then
18148 echo $ECHO_N "(cached) $ECHO_C" >&6
18152 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18156 for as_dir in $PATH
18159 test -z "$as_dir" && as_dir=.
18160 for ac_exec_ext in '' $ac_executable_extensions; do
18161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18162 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18172 SED=$ac_cv_path_SED
18174 if test -n "$SED"; then
18175 echo "$as_me:$LINENO: result: $SED" >&5
18176 echo "${ECHO_T}$SED" >&6
18178 echo "$as_me:$LINENO: result: no" >&5
18179 echo "${ECHO_T}no" >&6
18182 # Extract the first word of "rm", so it can be a program name with args.
18183 set dummy rm; ac_word=$2
18184 echo "$as_me:$LINENO: checking for $ac_word" >&5
18185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18186 if test "${ac_cv_path_RM+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18191 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18195 for as_dir in $PATH
18198 test -z "$as_dir" && as_dir=.
18199 for ac_exec_ext in '' $ac_executable_extensions; do
18200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18201 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18213 if test -n "$RM"; then
18214 echo "$as_me:$LINENO: result: $RM" >&5
18215 echo "${ECHO_T}$RM" >&6
18217 echo "$as_me:$LINENO: result: no" >&5
18218 echo "${ECHO_T}no" >&6
18221 # Extract the first word of "echo", so it can be a program name with args.
18222 set dummy echo; ac_word=$2
18223 echo "$as_me:$LINENO: checking for $ac_word" >&5
18224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18225 if test "${ac_cv_path_ECHO+set}" = set; then
18226 echo $ECHO_N "(cached) $ECHO_C" >&6
18230 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18234 for as_dir in $PATH
18237 test -z "$as_dir" && as_dir=.
18238 for ac_exec_ext in '' $ac_executable_extensions; do
18239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18240 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18250 ECHO=$ac_cv_path_ECHO
18252 if test -n "$ECHO"; then
18253 echo "$as_me:$LINENO: result: $ECHO" >&5
18254 echo "${ECHO_T}$ECHO" >&6
18256 echo "$as_me:$LINENO: result: no" >&5
18257 echo "${ECHO_T}no" >&6
18260 # Extract the first word of "mkdir", so it can be a program name with args.
18261 set dummy mkdir; ac_word=$2
18262 echo "$as_me:$LINENO: checking for $ac_word" >&5
18263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18264 if test "${ac_cv_path_MKDIR+set}" = set; then
18265 echo $ECHO_N "(cached) $ECHO_C" >&6
18269 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18273 for as_dir in $PATH
18276 test -z "$as_dir" && as_dir=.
18277 for ac_exec_ext in '' $ac_executable_extensions; do
18278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18279 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18289 MKDIR=$ac_cv_path_MKDIR
18291 if test -n "$MKDIR"; then
18292 echo "$as_me:$LINENO: result: $MKDIR" >&5
18293 echo "${ECHO_T}$MKDIR" >&6
18295 echo "$as_me:$LINENO: result: no" >&5
18296 echo "${ECHO_T}no" >&6
18299 # Extract the first word of "date", so it can be a program name with args.
18300 set dummy date; ac_word=$2
18301 echo "$as_me:$LINENO: checking for $ac_word" >&5
18302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18303 if test "${ac_cv_path_DATE+set}" = set; then
18304 echo $ECHO_N "(cached) $ECHO_C" >&6
18308 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18312 for as_dir in $PATH
18315 test -z "$as_dir" && as_dir=.
18316 for ac_exec_ext in '' $ac_executable_extensions; do
18317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18318 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18328 DATE=$ac_cv_path_DATE
18330 if test -n "$DATE"; then
18331 echo "$as_me:$LINENO: result: $DATE" >&5
18332 echo "${ECHO_T}$DATE" >&6
18334 echo "$as_me:$LINENO: result: no" >&5
18335 echo "${ECHO_T}no" >&6
18338 # Extract the first word of "mv", so it can be a program name with args.
18339 set dummy mv; ac_word=$2
18340 echo "$as_me:$LINENO: checking for $ac_word" >&5
18341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18342 if test "${ac_cv_path_MV+set}" = set; then
18343 echo $ECHO_N "(cached) $ECHO_C" >&6
18347 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18351 for as_dir in $PATH
18354 test -z "$as_dir" && as_dir=.
18355 for ac_exec_ext in '' $ac_executable_extensions; do
18356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18357 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18369 if test -n "$MV"; then
18370 echo "$as_me:$LINENO: result: $MV" >&5
18371 echo "${ECHO_T}$MV" >&6
18373 echo "$as_me:$LINENO: result: no" >&5
18374 echo "${ECHO_T}no" >&6
18377 # Extract the first word of "dot", so it can be a program name with args.
18378 set dummy dot; ac_word=$2
18379 echo "$as_me:$LINENO: checking for $ac_word" >&5
18380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18381 if test "${ac_cv_path_DOT+set}" = set; then
18382 echo $ECHO_N "(cached) $ECHO_C" >&6
18386 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18390 for as_dir in $PATH
18393 test -z "$as_dir" && as_dir=.
18394 for ac_exec_ext in '' $ac_executable_extensions; do
18395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18396 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18406 DOT=$ac_cv_path_DOT
18408 if test -n "$DOT"; then
18409 echo "$as_me:$LINENO: result: $DOT" >&5
18410 echo "${ECHO_T}$DOT" >&6
18412 echo "$as_me:$LINENO: result: no" >&5
18413 echo "${ECHO_T}no" >&6
18416 # Extract the first word of "etags", so it can be a program name with args.
18417 set dummy etags; ac_word=$2
18418 echo "$as_me:$LINENO: checking for $ac_word" >&5
18419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18420 if test "${ac_cv_path_ETAGS+set}" = set; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18425 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18429 for as_dir in $PATH
18432 test -z "$as_dir" && as_dir=.
18433 for ac_exec_ext in '' $ac_executable_extensions; do
18434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18435 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18445 ETAGS=$ac_cv_path_ETAGS
18447 if test -n "$ETAGS"; then
18448 echo "$as_me:$LINENO: result: $ETAGS" >&5
18449 echo "${ECHO_T}$ETAGS" >&6
18451 echo "$as_me:$LINENO: result: no" >&5
18452 echo "${ECHO_T}no" >&6
18455 # Extract the first word of "purify", so it can be a program name with args.
18456 set dummy purify; ac_word=$2
18457 echo "$as_me:$LINENO: checking for $ac_word" >&5
18458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18459 if test "${ac_cv_path_PURIFY+set}" = set; then
18460 echo $ECHO_N "(cached) $ECHO_C" >&6
18464 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18468 for as_dir in $PATH
18471 test -z "$as_dir" && as_dir=.
18472 for ac_exec_ext in '' $ac_executable_extensions; do
18473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18474 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18484 PURIFY=$ac_cv_path_PURIFY
18486 if test -n "$PURIFY"; then
18487 echo "$as_me:$LINENO: result: $PURIFY" >&5
18488 echo "${ECHO_T}$PURIFY" >&6
18490 echo "$as_me:$LINENO: result: no" >&5
18491 echo "${ECHO_T}no" >&6
18494 # Extract the first word of "python", so it can be a program name with args.
18495 set dummy python; ac_word=$2
18496 echo "$as_me:$LINENO: checking for $ac_word" >&5
18497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18498 if test "${ac_cv_path_PYTHON+set}" = set; then
18499 echo $ECHO_N "(cached) $ECHO_C" >&6
18503 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18507 for as_dir in $PATH
18510 test -z "$as_dir" && as_dir=.
18511 for ac_exec_ext in '' $ac_executable_extensions; do
18512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18513 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18523 PYTHON=$ac_cv_path_PYTHON
18525 if test -n "$PYTHON"; then
18526 echo "$as_me:$LINENO: result: $PYTHON" >&5
18527 echo "${ECHO_T}$PYTHON" >&6
18529 echo "$as_me:$LINENO: result: no" >&5
18530 echo "${ECHO_T}no" >&6
18533 # Extract the first word of "qmtest", so it can be a program name with args.
18534 set dummy qmtest; ac_word=$2
18535 echo "$as_me:$LINENO: checking for $ac_word" >&5
18536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18537 if test "${ac_cv_path_QMTEST+set}" = set; then
18538 echo $ECHO_N "(cached) $ECHO_C" >&6
18542 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18546 for as_dir in $PATH
18549 test -z "$as_dir" && as_dir=.
18550 for ac_exec_ext in '' $ac_executable_extensions; do
18551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18552 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18562 QMTEST=$ac_cv_path_QMTEST
18564 if test -n "$QMTEST"; then
18565 echo "$as_me:$LINENO: result: $QMTEST" >&5
18566 echo "${ECHO_T}$QMTEST" >&6
18568 echo "$as_me:$LINENO: result: no" >&5
18569 echo "${ECHO_T}no" >&6
18573 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18574 pymajor=`echo $pyversion | cut -d. -f1`
18575 pyminor=`echo $pyversion | cut -d. -f2`
18577 if test "$pymajor" -ge "2"
18579 if test "$pymajor" -eq "2"
18581 if test "$pyminor" -lt "2"
18583 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18584 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18585 { (exit 1); exit 1; }; }
18589 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18590 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18591 { (exit 1); exit 1; }; }
18598 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18599 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18600 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18601 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 ac_check_lib_save_LIBS=$LIBS
18605 cat >conftest.$ac_ext <<_ACEOF
18606 #line $LINENO "configure"
18607 #include "confdefs.h"
18609 /* Override any gcc2 internal prototype to avoid an error. */
18613 /* We use char because int might match the return type of a gcc2
18614 builtin and then its argument prototype would still apply. */
18616 #ifdef F77_DUMMY_MAIN
18617 # ifdef __cplusplus
18620 int F77_DUMMY_MAIN() { return 1; }
18630 rm -f conftest.$ac_objext conftest$ac_exeext
18631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18632 (eval $ac_link) 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); } &&
18636 { ac_try='test -s conftest$ac_exeext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 ac_cv_lib_elf_elf_begin=yes
18644 echo "$as_me: failed program was:" >&5
18645 cat conftest.$ac_ext >&5
18646 ac_cv_lib_elf_elf_begin=no
18648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18649 LIBS=$ac_check_lib_save_LIBS
18651 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
18652 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
18653 if test $ac_cv_lib_elf_elf_begin = yes; then
18654 cat >>confdefs.h <<_ACEOF
18655 #define HAVE_LIBELF 1
18663 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
18664 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
18665 if test "${ac_cv_search_dlopen+set}" = set; then
18666 echo $ECHO_N "(cached) $ECHO_C" >&6
18668 ac_func_search_save_LIBS=$LIBS
18669 ac_cv_search_dlopen=no
18670 cat >conftest.$ac_ext <<_ACEOF
18671 #line $LINENO "configure"
18672 #include "confdefs.h"
18674 /* Override any gcc2 internal prototype to avoid an error. */
18678 /* We use char because int might match the return type of a gcc2
18679 builtin and then its argument prototype would still apply. */
18681 #ifdef F77_DUMMY_MAIN
18682 # ifdef __cplusplus
18685 int F77_DUMMY_MAIN() { return 1; }
18695 rm -f conftest.$ac_objext conftest$ac_exeext
18696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18697 (eval $ac_link) 2>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } &&
18701 { ac_try='test -s conftest$ac_exeext'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; }; then
18707 ac_cv_search_dlopen="none required"
18709 echo "$as_me: failed program was:" >&5
18710 cat conftest.$ac_ext >&5
18712 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18713 if test "$ac_cv_search_dlopen" = no; then
18714 for ac_lib in dl; do
18715 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18716 cat >conftest.$ac_ext <<_ACEOF
18717 #line $LINENO "configure"
18718 #include "confdefs.h"
18720 /* Override any gcc2 internal prototype to avoid an error. */
18724 /* We use char because int might match the return type of a gcc2
18725 builtin and then its argument prototype would still apply. */
18727 #ifdef F77_DUMMY_MAIN
18728 # ifdef __cplusplus
18731 int F77_DUMMY_MAIN() { return 1; }
18741 rm -f conftest.$ac_objext conftest$ac_exeext
18742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18743 (eval $ac_link) 2>&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); } &&
18747 { ac_try='test -s conftest$ac_exeext'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; }; then
18753 ac_cv_search_dlopen="-l$ac_lib"
18756 echo "$as_me: failed program was:" >&5
18757 cat conftest.$ac_ext >&5
18759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18762 LIBS=$ac_func_search_save_LIBS
18764 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
18765 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
18766 if test "$ac_cv_search_dlopen" != no; then
18767 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
18770 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
18771 echo "$as_me: error: dlopen() required but not found" >&2;}
18772 { (exit 1); exit 1; }; }
18776 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
18777 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
18778 if test "${ac_cv_search_mallinfo+set}" = set; then
18779 echo $ECHO_N "(cached) $ECHO_C" >&6
18781 ac_func_search_save_LIBS=$LIBS
18782 ac_cv_search_mallinfo=no
18783 cat >conftest.$ac_ext <<_ACEOF
18784 #line $LINENO "configure"
18785 #include "confdefs.h"
18787 /* Override any gcc2 internal prototype to avoid an error. */
18791 /* We use char because int might match the return type of a gcc2
18792 builtin and then its argument prototype would still apply. */
18794 #ifdef F77_DUMMY_MAIN
18795 # ifdef __cplusplus
18798 int F77_DUMMY_MAIN() { return 1; }
18808 rm -f conftest.$ac_objext conftest$ac_exeext
18809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18810 (eval $ac_link) 2>&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); } &&
18814 { ac_try='test -s conftest$ac_exeext'
18815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18816 (eval $ac_try) 2>&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); }; }; then
18820 ac_cv_search_mallinfo="none required"
18822 echo "$as_me: failed program was:" >&5
18823 cat conftest.$ac_ext >&5
18825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18826 if test "$ac_cv_search_mallinfo" = no; then
18827 for ac_lib in malloc; do
18828 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18829 cat >conftest.$ac_ext <<_ACEOF
18830 #line $LINENO "configure"
18831 #include "confdefs.h"
18833 /* Override any gcc2 internal prototype to avoid an error. */
18837 /* We use char because int might match the return type of a gcc2
18838 builtin and then its argument prototype would still apply. */
18840 #ifdef F77_DUMMY_MAIN
18841 # ifdef __cplusplus
18844 int F77_DUMMY_MAIN() { return 1; }
18854 rm -f conftest.$ac_objext conftest$ac_exeext
18855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18856 (eval $ac_link) 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } &&
18860 { ac_try='test -s conftest$ac_exeext'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; }; then
18866 ac_cv_search_mallinfo="-l$ac_lib"
18869 echo "$as_me: failed program was:" >&5
18870 cat conftest.$ac_ext >&5
18872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18875 LIBS=$ac_func_search_save_LIBS
18877 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
18878 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
18879 if test "$ac_cv_search_mallinfo" != no; then
18880 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
18881 cat >>confdefs.h <<\_ACEOF
18882 #define HAVE_MALLINFO 1
18889 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18890 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
18891 if test "${ac_cv_header_stdc+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 cat >conftest.$ac_ext <<_ACEOF
18895 #line $LINENO "configure"
18896 #include "confdefs.h"
18897 #include <stdlib.h>
18898 #include <stdarg.h>
18899 #include <string.h>
18903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18906 egrep -v '^ *\+' conftest.er1 >conftest.err
18908 cat conftest.err >&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } >/dev/null; then
18911 if test -s conftest.err; then
18912 ac_cpp_err=$ac_c_preproc_warn_flag
18919 if test -z "$ac_cpp_err"; then
18920 ac_cv_header_stdc=yes
18922 echo "$as_me: failed program was:" >&5
18923 cat conftest.$ac_ext >&5
18924 ac_cv_header_stdc=no
18926 rm -f conftest.err conftest.$ac_ext
18928 if test $ac_cv_header_stdc = yes; then
18929 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18930 cat >conftest.$ac_ext <<_ACEOF
18931 #line $LINENO "configure"
18932 #include "confdefs.h"
18933 #include <string.h>
18936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18937 egrep "memchr" >/dev/null 2>&1; then
18940 ac_cv_header_stdc=no
18946 if test $ac_cv_header_stdc = yes; then
18947 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18948 cat >conftest.$ac_ext <<_ACEOF
18949 #line $LINENO "configure"
18950 #include "confdefs.h"
18951 #include <stdlib.h>
18954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18955 egrep "free" >/dev/null 2>&1; then
18958 ac_cv_header_stdc=no
18964 if test $ac_cv_header_stdc = yes; then
18965 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18966 if test "$cross_compiling" = yes; then
18969 cat >conftest.$ac_ext <<_ACEOF
18970 #line $LINENO "configure"
18971 #include "confdefs.h"
18973 #if ((' ' & 0x0FF) == 0x020)
18974 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18975 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18977 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
18978 || ('j' <= (c) && (c) <= 'r') \
18979 || ('s' <= (c) && (c) <= 'z'))
18980 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18983 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18988 for (i = 0; i < 256; i++)
18989 if (XOR (islower (i), ISLOWER (i))
18990 || toupper (i) != TOUPPER (i))
18995 rm -f conftest$ac_exeext
18996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18997 (eval $ac_link) 2>&5
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002 (eval $ac_try) 2>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; }; then
19008 echo "$as_me: program exited with status $ac_status" >&5
19009 echo "$as_me: failed program was:" >&5
19010 cat conftest.$ac_ext >&5
19011 ( exit $ac_status )
19012 ac_cv_header_stdc=no
19014 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19018 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19019 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19020 if test $ac_cv_header_stdc = yes; then
19022 cat >>confdefs.h <<\_ACEOF
19023 #define STDC_HEADERS 1
19028 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19029 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19030 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 cat >conftest.$ac_ext <<_ACEOF
19034 #line $LINENO "configure"
19035 #include "confdefs.h"
19036 #include <sys/types.h>
19037 #include <sys/wait.h>
19038 #ifndef WEXITSTATUS
19039 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19042 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19045 #ifdef F77_DUMMY_MAIN
19046 # ifdef __cplusplus
19049 int F77_DUMMY_MAIN() { return 1; }
19056 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19061 rm -f conftest.$ac_objext
19062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19063 (eval $ac_compile) 2>&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } &&
19067 { ac_try='test -s conftest.$ac_objext'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; }; then
19073 ac_cv_header_sys_wait_h=yes
19075 echo "$as_me: failed program was:" >&5
19076 cat conftest.$ac_ext >&5
19077 ac_cv_header_sys_wait_h=no
19079 rm -f conftest.$ac_objext conftest.$ac_ext
19081 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19082 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19083 if test $ac_cv_header_sys_wait_h = yes; then
19085 cat >>confdefs.h <<\_ACEOF
19086 #define HAVE_SYS_WAIT_H 1
19100 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19104 echo "$as_me:$LINENO: checking for $ac_header" >&5
19105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19107 echo $ECHO_N "(cached) $ECHO_C" >&6
19109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19112 # Is the header compilable?
19113 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19115 cat >conftest.$ac_ext <<_ACEOF
19116 #line $LINENO "configure"
19117 #include "confdefs.h"
19118 $ac_includes_default
19119 #include <$ac_header>
19121 rm -f conftest.$ac_objext
19122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19123 (eval $ac_compile) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } &&
19127 { ac_try='test -s conftest.$ac_objext'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; }; then
19133 ac_header_compiler=yes
19135 echo "$as_me: failed program was:" >&5
19136 cat conftest.$ac_ext >&5
19137 ac_header_compiler=no
19139 rm -f conftest.$ac_objext conftest.$ac_ext
19140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19141 echo "${ECHO_T}$ac_header_compiler" >&6
19143 # Is the header present?
19144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19146 cat >conftest.$ac_ext <<_ACEOF
19147 #line $LINENO "configure"
19148 #include "confdefs.h"
19149 #include <$ac_header>
19151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19154 egrep -v '^ *\+' conftest.er1 >conftest.err
19156 cat conftest.err >&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); } >/dev/null; then
19159 if test -s conftest.err; then
19160 ac_cpp_err=$ac_c_preproc_warn_flag
19167 if test -z "$ac_cpp_err"; then
19168 ac_header_preproc=yes
19170 echo "$as_me: failed program was:" >&5
19171 cat conftest.$ac_ext >&5
19172 ac_header_preproc=no
19174 rm -f conftest.err conftest.$ac_ext
19175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19176 echo "${ECHO_T}$ac_header_preproc" >&6
19178 # So? What about this header?
19179 case $ac_header_compiler:$ac_header_preproc in
19181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
19186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
19193 echo "$as_me:$LINENO: checking for $ac_header" >&5
19194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19196 echo $ECHO_N "(cached) $ECHO_C" >&6
19198 eval "$as_ac_Header=$ac_header_preproc"
19200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19205 cat >>confdefs.h <<_ACEOF
19206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19218 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19222 echo "$as_me:$LINENO: checking for $ac_header" >&5
19223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19225 echo $ECHO_N "(cached) $ECHO_C" >&6
19227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19230 # Is the header compilable?
19231 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19232 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19233 cat >conftest.$ac_ext <<_ACEOF
19234 #line $LINENO "configure"
19235 #include "confdefs.h"
19236 $ac_includes_default
19237 #include <$ac_header>
19239 rm -f conftest.$ac_objext
19240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19241 (eval $ac_compile) 2>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } &&
19245 { ac_try='test -s conftest.$ac_objext'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; }; then
19251 ac_header_compiler=yes
19253 echo "$as_me: failed program was:" >&5
19254 cat conftest.$ac_ext >&5
19255 ac_header_compiler=no
19257 rm -f conftest.$ac_objext conftest.$ac_ext
19258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19259 echo "${ECHO_T}$ac_header_compiler" >&6
19261 # Is the header present?
19262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19264 cat >conftest.$ac_ext <<_ACEOF
19265 #line $LINENO "configure"
19266 #include "confdefs.h"
19267 #include <$ac_header>
19269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19272 egrep -v '^ *\+' conftest.er1 >conftest.err
19274 cat conftest.err >&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } >/dev/null; then
19277 if test -s conftest.err; then
19278 ac_cpp_err=$ac_c_preproc_warn_flag
19285 if test -z "$ac_cpp_err"; then
19286 ac_header_preproc=yes
19288 echo "$as_me: failed program was:" >&5
19289 cat conftest.$ac_ext >&5
19290 ac_header_preproc=no
19292 rm -f conftest.err conftest.$ac_ext
19293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19294 echo "${ECHO_T}$ac_header_preproc" >&6
19296 # So? What about this header?
19297 case $ac_header_compiler:$ac_header_preproc in
19299 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19300 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
19304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
19311 echo "$as_me:$LINENO: checking for $ac_header" >&5
19312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19314 echo $ECHO_N "(cached) $ECHO_C" >&6
19316 eval "$as_ac_Header=$ac_header_preproc"
19318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19323 cat >>confdefs.h <<_ACEOF
19324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19334 for ac_header in dlfcn.h link.h
19336 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19338 echo "$as_me:$LINENO: checking for $ac_header" >&5
19339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19341 echo $ECHO_N "(cached) $ECHO_C" >&6
19343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19346 # Is the header compilable?
19347 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19348 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19349 cat >conftest.$ac_ext <<_ACEOF
19350 #line $LINENO "configure"
19351 #include "confdefs.h"
19352 $ac_includes_default
19353 #include <$ac_header>
19355 rm -f conftest.$ac_objext
19356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19357 (eval $ac_compile) 2>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try='test -s conftest.$ac_objext'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; }; then
19367 ac_header_compiler=yes
19369 echo "$as_me: failed program was:" >&5
19370 cat conftest.$ac_ext >&5
19371 ac_header_compiler=no
19373 rm -f conftest.$ac_objext conftest.$ac_ext
19374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19375 echo "${ECHO_T}$ac_header_compiler" >&6
19377 # Is the header present?
19378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19380 cat >conftest.$ac_ext <<_ACEOF
19381 #line $LINENO "configure"
19382 #include "confdefs.h"
19383 #include <$ac_header>
19385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19386 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19388 egrep -v '^ *\+' conftest.er1 >conftest.err
19390 cat conftest.err >&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); } >/dev/null; then
19393 if test -s conftest.err; then
19394 ac_cpp_err=$ac_c_preproc_warn_flag
19401 if test -z "$ac_cpp_err"; then
19402 ac_header_preproc=yes
19404 echo "$as_me: failed program was:" >&5
19405 cat conftest.$ac_ext >&5
19406 ac_header_preproc=no
19408 rm -f conftest.err conftest.$ac_ext
19409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19410 echo "${ECHO_T}$ac_header_preproc" >&6
19412 # So? What about this header?
19413 case $ac_header_compiler:$ac_header_preproc in
19415 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19416 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19418 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
19420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
19427 echo "$as_me:$LINENO: checking for $ac_header" >&5
19428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19432 eval "$as_ac_Header=$ac_header_preproc"
19434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19439 cat >>confdefs.h <<_ACEOF
19440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19449 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
19450 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
19451 if test "${ac_cv_prog_cc_stdc+set}" = set; then
19452 echo $ECHO_N "(cached) $ECHO_C" >&6
19454 ac_cv_prog_cc_stdc=no
19456 cat >conftest.$ac_ext <<_ACEOF
19457 #line $LINENO "configure"
19458 #include "confdefs.h"
19459 #include <stdarg.h>
19461 #include <sys/types.h>
19462 #include <sys/stat.h>
19463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
19464 struct buf { int x; };
19465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
19466 static char *e (p, i)
19472 static char *f (char * (*g) (char **, int), char **p, ...)
19477 s = g (p, va_arg (v,int));
19481 int test (int i, double x);
19482 struct s1 {int (*f) (int a);};
19483 struct s2 {int (*f) (double a);};
19484 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19487 #ifdef F77_DUMMY_MAIN
19488 # ifdef __cplusplus
19491 int F77_DUMMY_MAIN() { return 1; }
19496 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
19501 # Don't try gcc -ansi; that turns off useful extensions and
19502 # breaks some systems' header files.
19503 # AIX -qlanglvl=ansi
19504 # Ultrix and OSF/1 -std1
19505 # HP-UX 10.20 and later -Ae
19506 # HP-UX older versions -Aa -D_HPUX_SOURCE
19507 # SVR4 -Xc -D__EXTENSIONS__
19508 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19510 CC="$ac_save_CC $ac_arg"
19511 rm -f conftest.$ac_objext
19512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19513 (eval $ac_compile) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); } &&
19517 { ac_try='test -s conftest.$ac_objext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19523 ac_cv_prog_cc_stdc=$ac_arg
19526 echo "$as_me: failed program was:" >&5
19527 cat conftest.$ac_ext >&5
19529 rm -f conftest.$ac_objext
19531 rm -f conftest.$ac_ext conftest.$ac_objext
19536 case "x$ac_cv_prog_cc_stdc" in
19538 echo "$as_me:$LINENO: result: none needed" >&5
19539 echo "${ECHO_T}none needed" >&6 ;;
19541 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
19542 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
19543 CC="$CC $ac_cv_prog_cc_stdc" ;;
19546 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19547 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19548 if test "${ac_cv_c_const+set}" = set; then
19549 echo $ECHO_N "(cached) $ECHO_C" >&6
19551 cat >conftest.$ac_ext <<_ACEOF
19552 #line $LINENO "configure"
19553 #include "confdefs.h"
19555 #ifdef F77_DUMMY_MAIN
19556 # ifdef __cplusplus
19559 int F77_DUMMY_MAIN() { return 1; }
19564 /* FIXME: Include the comments suggested by Paul. */
19565 #ifndef __cplusplus
19566 /* Ultrix mips cc rejects this. */
19567 typedef int charset[2];
19569 /* SunOS 4.1.1 cc rejects this. */
19570 char const *const *ccp;
19572 /* NEC SVR4.0.2 mips cc rejects this. */
19573 struct point {int x, y;};
19574 static struct point const zero = {0,0};
19575 /* AIX XL C 1.02.0.0 rejects this.
19576 It does not let you subtract one const X* pointer from another in
19577 an arm of an if-expression whose if-part is not a constant
19579 const char *g = "string";
19580 ccp = &g + (g ? g-g : 0);
19581 /* HPUX 7.0 cc rejects these. */
19584 ccp = (char const *const *) p;
19585 { /* SCO 3.2v4 cc rejects this. */
19587 char const *s = 0 ? (char *) 0 : (char const *) 0;
19591 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19592 int x[] = {25, 17};
19593 const int *foo = &x[0];
19596 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19597 typedef const int *iptr;
19601 { /* AIX XL C 1.02.0.0 rejects this saying
19602 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19603 struct s { int j; const int *ap[3]; };
19604 struct s *b; b->j = 5;
19606 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19607 const int foo = 10;
19615 rm -f conftest.$ac_objext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19617 (eval $ac_compile) 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } &&
19621 { ac_try='test -s conftest.$ac_objext'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; }; then
19629 echo "$as_me: failed program was:" >&5
19630 cat conftest.$ac_ext >&5
19633 rm -f conftest.$ac_objext conftest.$ac_ext
19635 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19636 echo "${ECHO_T}$ac_cv_c_const" >&6
19637 if test $ac_cv_c_const = no; then
19639 cat >>confdefs.h <<\_ACEOF
19645 echo "$as_me:$LINENO: checking for inline" >&5
19646 echo $ECHO_N "checking for inline... $ECHO_C" >&6
19647 if test "${ac_cv_c_inline+set}" = set; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19651 for ac_kw in inline __inline__ __inline; do
19652 cat >conftest.$ac_ext <<_ACEOF
19653 #line $LINENO "configure"
19654 #include "confdefs.h"
19655 #ifndef __cplusplus
19656 static $ac_kw int static_foo () {return 0; }
19657 $ac_kw int foo () {return 0; }
19661 rm -f conftest.$ac_objext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19663 (eval $ac_compile) 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } &&
19667 { ac_try='test -s conftest.$ac_objext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19673 ac_cv_c_inline=$ac_kw; break
19675 echo "$as_me: failed program was:" >&5
19676 cat conftest.$ac_ext >&5
19678 rm -f conftest.$ac_objext conftest.$ac_ext
19682 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19683 echo "${ECHO_T}$ac_cv_c_inline" >&6
19684 case $ac_cv_c_inline in
19687 cat >>confdefs.h <<\_ACEOF
19691 *) cat >>confdefs.h <<_ACEOF
19692 #define inline $ac_cv_c_inline
19698 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19699 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19700 if test "${ac_cv_c_bigendian+set}" = set; then
19701 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 # See if sys/param.h defines the BYTE_ORDER macro.
19704 cat >conftest.$ac_ext <<_ACEOF
19705 #line $LINENO "configure"
19706 #include "confdefs.h"
19707 #include <sys/types.h>
19708 #include <sys/param.h>
19710 #ifdef F77_DUMMY_MAIN
19711 # ifdef __cplusplus
19714 int F77_DUMMY_MAIN() { return 1; }
19719 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19720 bogus endian macros
19727 rm -f conftest.$ac_objext
19728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19729 (eval $ac_compile) 2>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } &&
19733 { ac_try='test -s conftest.$ac_objext'
19734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19735 (eval $ac_try) 2>&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); }; }; then
19739 # It does; now see whether it defined to BIG_ENDIAN or not.
19740 cat >conftest.$ac_ext <<_ACEOF
19741 #line $LINENO "configure"
19742 #include "confdefs.h"
19743 #include <sys/types.h>
19744 #include <sys/param.h>
19746 #ifdef F77_DUMMY_MAIN
19747 # ifdef __cplusplus
19750 int F77_DUMMY_MAIN() { return 1; }
19755 #if BYTE_ORDER != BIG_ENDIAN
19763 rm -f conftest.$ac_objext
19764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19765 (eval $ac_compile) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } &&
19769 { ac_try='test -s conftest.$ac_objext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19775 ac_cv_c_bigendian=yes
19777 echo "$as_me: failed program was:" >&5
19778 cat conftest.$ac_ext >&5
19779 ac_cv_c_bigendian=no
19781 rm -f conftest.$ac_objext conftest.$ac_ext
19783 echo "$as_me: failed program was:" >&5
19784 cat conftest.$ac_ext >&5
19785 # It does not; compile a test program.
19786 if test "$cross_compiling" = yes; then
19787 # try to guess the endianess by grep'ing values into an object file
19788 ac_cv_c_bigendian=unknown
19789 cat >conftest.$ac_ext <<_ACEOF
19790 #line $LINENO "configure"
19791 #include "confdefs.h"
19792 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19793 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19794 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
19795 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19796 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19797 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
19798 #ifdef F77_DUMMY_MAIN
19799 # ifdef __cplusplus
19802 int F77_DUMMY_MAIN() { return 1; }
19807 _ascii (); _ebcdic ();
19812 rm -f conftest.$ac_objext
19813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19814 (eval $ac_compile) 2>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } &&
19818 { ac_try='test -s conftest.$ac_objext'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; }; then
19824 if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
19825 ac_cv_c_bigendian=yes
19827 if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19828 if test "$ac_cv_c_bigendian" = unknown; then
19829 ac_cv_c_bigendian=no
19831 # finding both strings is unlikely to happen, but who knows?
19832 ac_cv_c_bigendian=unknown
19836 echo "$as_me: failed program was:" >&5
19837 cat conftest.$ac_ext >&5
19839 rm -f conftest.$ac_objext conftest.$ac_ext
19841 cat >conftest.$ac_ext <<_ACEOF
19842 #line $LINENO "configure"
19843 #include "confdefs.h"
19847 /* Are we little or big endian? From Harbison&Steele. */
19851 char c[sizeof (long)];
19854 exit (u.c[sizeof (long) - 1] == 1);
19857 rm -f conftest$ac_exeext
19858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19859 (eval $ac_link) 2>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19864 (eval $ac_try) 2>&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); }; }; then
19868 ac_cv_c_bigendian=no
19870 echo "$as_me: program exited with status $ac_status" >&5
19871 echo "$as_me: failed program was:" >&5
19872 cat conftest.$ac_ext >&5
19873 ( exit $ac_status )
19874 ac_cv_c_bigendian=yes
19876 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19879 rm -f conftest.$ac_objext conftest.$ac_ext
19881 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19882 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19883 case $ac_cv_c_bigendian in
19885 cat >>confdefs.h <<\_ACEOF
19886 #define ENDIAN_BIG 1
19890 cat >>confdefs.h <<\_ACEOF
19891 #define ENDIAN_LITTLE 1
19895 { { echo "$as_me:$LINENO: error: unknown endianess
19896 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
19897 echo "$as_me: error: unknown endianess
19898 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
19899 { (exit 1); exit 1; }; } ;;
19903 echo "$as_me:$LINENO: checking for pid_t" >&5
19904 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
19905 if test "${ac_cv_type_pid_t+set}" = set; then
19906 echo $ECHO_N "(cached) $ECHO_C" >&6
19908 cat >conftest.$ac_ext <<_ACEOF
19909 #line $LINENO "configure"
19910 #include "confdefs.h"
19911 $ac_includes_default
19912 #ifdef F77_DUMMY_MAIN
19913 # ifdef __cplusplus
19916 int F77_DUMMY_MAIN() { return 1; }
19923 if (sizeof (pid_t))
19929 rm -f conftest.$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931 (eval $ac_compile) 2>&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } &&
19935 { ac_try='test -s conftest.$ac_objext'
19936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19937 (eval $ac_try) 2>&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); }; }; then
19941 ac_cv_type_pid_t=yes
19943 echo "$as_me: failed program was:" >&5
19944 cat conftest.$ac_ext >&5
19945 ac_cv_type_pid_t=no
19947 rm -f conftest.$ac_objext conftest.$ac_ext
19949 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19950 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
19951 if test $ac_cv_type_pid_t = yes; then
19955 cat >>confdefs.h <<_ACEOF
19961 echo "$as_me:$LINENO: checking for size_t" >&5
19962 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19963 if test "${ac_cv_type_size_t+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19966 cat >conftest.$ac_ext <<_ACEOF
19967 #line $LINENO "configure"
19968 #include "confdefs.h"
19969 $ac_includes_default
19970 #ifdef F77_DUMMY_MAIN
19971 # ifdef __cplusplus
19974 int F77_DUMMY_MAIN() { return 1; }
19981 if (sizeof (size_t))
19987 rm -f conftest.$ac_objext
19988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19989 (eval $ac_compile) 2>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } &&
19993 { ac_try='test -s conftest.$ac_objext'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; }; then
19999 ac_cv_type_size_t=yes
20001 echo "$as_me: failed program was:" >&5
20002 cat conftest.$ac_ext >&5
20003 ac_cv_type_size_t=no
20005 rm -f conftest.$ac_objext conftest.$ac_ext
20007 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20008 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20009 if test $ac_cv_type_size_t = yes; then
20013 cat >>confdefs.h <<_ACEOF
20014 #define size_t unsigned
20019 echo "$as_me:$LINENO: checking for int64_t" >&5
20020 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20021 if test "${ac_cv_type_int64_t+set}" = set; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20024 cat >conftest.$ac_ext <<_ACEOF
20025 #line $LINENO "configure"
20026 #include "confdefs.h"
20027 $ac_includes_default
20028 #ifdef F77_DUMMY_MAIN
20029 # ifdef __cplusplus
20032 int F77_DUMMY_MAIN() { return 1; }
20039 if (sizeof (int64_t))
20045 rm -f conftest.$ac_objext
20046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20047 (eval $ac_compile) 2>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); } &&
20051 { ac_try='test -s conftest.$ac_objext'
20052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20053 (eval $ac_try) 2>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; }; then
20057 ac_cv_type_int64_t=yes
20059 echo "$as_me: failed program was:" >&5
20060 cat conftest.$ac_ext >&5
20061 ac_cv_type_int64_t=no
20063 rm -f conftest.$ac_objext conftest.$ac_ext
20065 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20066 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20067 if test $ac_cv_type_int64_t = yes; then
20069 cat >>confdefs.h <<_ACEOF
20070 #define HAVE_INT64_T 1
20075 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20076 echo "$as_me: error: Type int64_t required but not found" >&2;}
20077 { (exit 1); exit 1; }; }
20080 echo "$as_me:$LINENO: checking for uint64_t" >&5
20081 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20082 if test "${ac_cv_type_uint64_t+set}" = set; then
20083 echo $ECHO_N "(cached) $ECHO_C" >&6
20085 cat >conftest.$ac_ext <<_ACEOF
20086 #line $LINENO "configure"
20087 #include "confdefs.h"
20088 $ac_includes_default
20089 #ifdef F77_DUMMY_MAIN
20090 # ifdef __cplusplus
20093 int F77_DUMMY_MAIN() { return 1; }
20098 if ((uint64_t *) 0)
20100 if (sizeof (uint64_t))
20106 rm -f conftest.$ac_objext
20107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20108 (eval $ac_compile) 2>&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } &&
20112 { ac_try='test -s conftest.$ac_objext'
20113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20114 (eval $ac_try) 2>&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); }; }; then
20118 ac_cv_type_uint64_t=yes
20120 echo "$as_me: failed program was:" >&5
20121 cat conftest.$ac_ext >&5
20122 ac_cv_type_uint64_t=no
20124 rm -f conftest.$ac_objext conftest.$ac_ext
20126 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20127 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20128 if test $ac_cv_type_uint64_t = yes; then
20130 cat >>confdefs.h <<_ACEOF
20131 #define HAVE_UINT64_T 1
20136 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20137 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20138 { (exit 1); exit 1; }; }
20141 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20142 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20143 if test "${ac_cv_header_time+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 cat >conftest.$ac_ext <<_ACEOF
20147 #line $LINENO "configure"
20148 #include "confdefs.h"
20149 #include <sys/types.h>
20150 #include <sys/time.h>
20153 #ifdef F77_DUMMY_MAIN
20154 # ifdef __cplusplus
20157 int F77_DUMMY_MAIN() { return 1; }
20162 if ((struct tm *) 0)
20168 rm -f conftest.$ac_objext
20169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20170 (eval $ac_compile) 2>&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); } &&
20174 { ac_try='test -s conftest.$ac_objext'
20175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20176 (eval $ac_try) 2>&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); }; }; then
20180 ac_cv_header_time=yes
20182 echo "$as_me: failed program was:" >&5
20183 cat conftest.$ac_ext >&5
20184 ac_cv_header_time=no
20186 rm -f conftest.$ac_objext conftest.$ac_ext
20188 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20189 echo "${ECHO_T}$ac_cv_header_time" >&6
20190 if test $ac_cv_header_time = yes; then
20192 cat >>confdefs.h <<\_ACEOF
20193 #define TIME_WITH_SYS_TIME 1
20198 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20199 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20200 if test "${ac_cv_struct_tm+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20203 cat >conftest.$ac_ext <<_ACEOF
20204 #line $LINENO "configure"
20205 #include "confdefs.h"
20206 #include <sys/types.h>
20209 #ifdef F77_DUMMY_MAIN
20210 # ifdef __cplusplus
20213 int F77_DUMMY_MAIN() { return 1; }
20218 struct tm *tp; tp->tm_sec;
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_struct_tm=time.h
20237 echo "$as_me: failed program was:" >&5
20238 cat conftest.$ac_ext >&5
20239 ac_cv_struct_tm=sys/time.h
20241 rm -f conftest.$ac_objext conftest.$ac_ext
20243 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20244 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20245 if test $ac_cv_struct_tm = sys/time.h; then
20247 cat >>confdefs.h <<\_ACEOF
20248 #define TM_IN_SYS_TIME 1
20254 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20255 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20256 if test "${ac_cv_cxx_namespaces+set}" = set; then
20257 echo $ECHO_N "(cached) $ECHO_C" >&6
20262 ac_cpp='$CXXCPP $CPPFLAGS'
20263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20267 cat >conftest.$ac_ext <<_ACEOF
20268 #line $LINENO "configure"
20269 #include "confdefs.h"
20270 namespace Outer { namespace Inner { int i = 0; }}
20271 #ifdef F77_DUMMY_MAIN
20272 # ifdef __cplusplus
20275 int F77_DUMMY_MAIN() { return 1; }
20280 using namespace Outer::Inner; return i;
20285 rm -f conftest.$ac_objext
20286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20287 (eval $ac_compile) 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } &&
20291 { ac_try='test -s conftest.$ac_objext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20297 ac_cv_cxx_namespaces=yes
20299 echo "$as_me: failed program was:" >&5
20300 cat conftest.$ac_ext >&5
20301 ac_cv_cxx_namespaces=no
20303 rm -f conftest.$ac_objext conftest.$ac_ext
20305 ac_cpp='$CPP $CPPFLAGS'
20306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20312 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20313 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20314 if test "$ac_cv_cxx_namespaces" = yes; then
20316 cat >>confdefs.h <<\_ACEOF
20317 #define HAVE_NAMESPACES
20322 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20323 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20324 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20325 echo $ECHO_N "(cached) $ECHO_C" >&6
20331 ac_cpp='$CXXCPP $CPPFLAGS'
20332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20336 cat >conftest.$ac_ext <<_ACEOF
20337 #line $LINENO "configure"
20338 #include "confdefs.h"
20339 #include <ext/hash_map>
20340 #ifdef HAVE_NAMESPACES
20341 using namespace std;
20343 #ifdef F77_DUMMY_MAIN
20344 # ifdef __cplusplus
20347 int F77_DUMMY_MAIN() { return 1; }
20352 hash_map<int, int> t; return 0;
20357 rm -f conftest.$ac_objext
20358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20359 (eval $ac_compile) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } &&
20363 { ac_try='test -s conftest.$ac_objext'
20364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20365 (eval $ac_try) 2>&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); }; }; then
20369 ac_cv_cxx_have_ext_hash_map=std
20371 echo "$as_me: failed program was:" >&5
20372 cat conftest.$ac_ext >&5
20373 ac_cv_cxx_have_ext_hash_map=no
20375 rm -f conftest.$ac_objext conftest.$ac_ext
20376 cat >conftest.$ac_ext <<_ACEOF
20377 #line $LINENO "configure"
20378 #include "confdefs.h"
20379 #include <ext/hash_map>
20380 #ifdef HAVE_NAMESPACES
20381 using namespace __gnu_cxx;
20383 #ifdef F77_DUMMY_MAIN
20384 # ifdef __cplusplus
20387 int F77_DUMMY_MAIN() { return 1; }
20392 hash_map<int, int> t; return 0;
20397 rm -f conftest.$ac_objext
20398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20399 (eval $ac_compile) 2>&5
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); } &&
20403 { ac_try='test -s conftest.$ac_objext'
20404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405 (eval $ac_try) 2>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; }; then
20409 ac_cv_cxx_have_ext_hash_map=gnu
20411 echo "$as_me: failed program was:" >&5
20412 cat conftest.$ac_ext >&5
20413 ac_cv_cxx_have_ext_hash_map=no
20415 rm -f conftest.$ac_objext conftest.$ac_ext
20417 ac_cpp='$CPP $CPPFLAGS'
20418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20424 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20425 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20426 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20428 cat >>confdefs.h <<\_ACEOF
20429 #define HAVE_STD_EXT_HASH_MAP
20433 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20435 cat >>confdefs.h <<\_ACEOF
20436 #define HAVE_GNU_EXT_HASH_MAP
20441 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20442 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20443 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20444 echo $ECHO_N "(cached) $ECHO_C" >&6
20450 ac_cpp='$CXXCPP $CPPFLAGS'
20451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20455 cat >conftest.$ac_ext <<_ACEOF
20456 #line $LINENO "configure"
20457 #include "confdefs.h"
20458 #include <ext/hash_set>
20459 #ifdef HAVE_NAMESPACES
20460 using namespace std;
20462 #ifdef F77_DUMMY_MAIN
20463 # ifdef __cplusplus
20466 int F77_DUMMY_MAIN() { return 1; }
20471 hash_set<int> t; return 0;
20476 rm -f conftest.$ac_objext
20477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20478 (eval $ac_compile) 2>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } &&
20482 { ac_try='test -s conftest.$ac_objext'
20483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20484 (eval $ac_try) 2>&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); }; }; then
20488 ac_cv_cxx_have_ext_hash_set=std
20490 echo "$as_me: failed program was:" >&5
20491 cat conftest.$ac_ext >&5
20492 ac_cv_cxx_have_ext_hash_set=no
20494 rm -f conftest.$ac_objext conftest.$ac_ext
20495 cat >conftest.$ac_ext <<_ACEOF
20496 #line $LINENO "configure"
20497 #include "confdefs.h"
20498 #include <ext/hash_set>
20499 #ifdef HAVE_NAMESPACES
20500 using namespace __gnu_cxx;
20502 #ifdef F77_DUMMY_MAIN
20503 # ifdef __cplusplus
20506 int F77_DUMMY_MAIN() { return 1; }
20511 hash_set<int> t; return 0;
20516 rm -f conftest.$ac_objext
20517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20518 (eval $ac_compile) 2>&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } &&
20522 { ac_try='test -s conftest.$ac_objext'
20523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524 (eval $ac_try) 2>&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); }; }; then
20528 ac_cv_cxx_have_ext_hash_set=gnu
20530 echo "$as_me: failed program was:" >&5
20531 cat conftest.$ac_ext >&5
20532 ac_cv_cxx_have_ext_hash_set=no
20534 rm -f conftest.$ac_objext conftest.$ac_ext
20536 ac_cpp='$CPP $CPPFLAGS'
20537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20543 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20544 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20545 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20547 cat >>confdefs.h <<\_ACEOF
20548 #define HAVE_STD_EXT_HASH_SET
20552 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20554 cat >>confdefs.h <<\_ACEOF
20555 #define HAVE_GNU_EXT_HASH_SET
20560 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20561 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20562 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20563 echo $ECHO_N "(cached) $ECHO_C" >&6
20569 ac_cpp='$CXXCPP $CPPFLAGS'
20570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20574 cat >conftest.$ac_ext <<_ACEOF
20575 #line $LINENO "configure"
20576 #include "confdefs.h"
20577 #include <ext/slist>
20578 #ifdef HAVE_NAMESPACES
20579 using namespace std;
20581 #ifdef F77_DUMMY_MAIN
20582 # ifdef __cplusplus
20585 int F77_DUMMY_MAIN() { return 1; }
20590 slist<int> s; return 0;
20595 rm -f conftest.$ac_objext
20596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20597 (eval $ac_compile) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } &&
20601 { ac_try='test -s conftest.$ac_objext'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; }; then
20607 ac_cv_cxx_have_ext_slist=std
20609 echo "$as_me: failed program was:" >&5
20610 cat conftest.$ac_ext >&5
20611 ac_cv_cxx_have_ext_slist=no
20613 rm -f conftest.$ac_objext conftest.$ac_ext
20614 cat >conftest.$ac_ext <<_ACEOF
20615 #line $LINENO "configure"
20616 #include "confdefs.h"
20617 #include <ext/slist>
20618 #ifdef HAVE_NAMESPACES
20619 using namespace __gnu_cxx;
20621 #ifdef F77_DUMMY_MAIN
20622 # ifdef __cplusplus
20625 int F77_DUMMY_MAIN() { return 1; }
20630 slist<int> s; return 0;
20635 rm -f conftest.$ac_objext
20636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20637 (eval $ac_compile) 2>&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); } &&
20641 { ac_try='test -s conftest.$ac_objext'
20642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20643 (eval $ac_try) 2>&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); }; }; then
20647 ac_cv_cxx_have_ext_slist=gnu
20649 echo "$as_me: failed program was:" >&5
20650 cat conftest.$ac_ext >&5
20651 ac_cv_cxx_have_ext_slist=no
20653 rm -f conftest.$ac_objext conftest.$ac_ext
20656 ac_cpp='$CPP $CPPFLAGS'
20657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20663 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
20664 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
20665 if test "$ac_cv_cxx_have_ext_slist" = std; then
20667 cat >>confdefs.h <<\_ACEOF
20668 #define HAVE_EXT_SLIST std
20672 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
20674 cat >>confdefs.h <<\_ACEOF
20675 #define HAVE_EXT_SLIST gnu
20680 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
20681 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
20682 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
20683 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 ac_cpp='$CXXCPP $CPPFLAGS'
20690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20694 cat >conftest.$ac_ext <<_ACEOF
20695 #line $LINENO "configure"
20696 #include "confdefs.h"
20697 #include <iterator>
20698 #ifdef HAVE_NAMESPACES
20699 using namespace std;
20701 #ifdef F77_DUMMY_MAIN
20702 # ifdef __cplusplus
20705 int F77_DUMMY_MAIN() { return 1; }
20710 iterator<int,int,int> t; return 0;
20715 rm -f conftest.$ac_objext
20716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20717 (eval $ac_compile) 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); } &&
20721 { ac_try='test -s conftest.$ac_objext'
20722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20723 (eval $ac_try) 2>&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); }; }; then
20727 ac_cv_cxx_have_std_iterator=yes
20729 echo "$as_me: failed program was:" >&5
20730 cat conftest.$ac_ext >&5
20731 ac_cv_cxx_have_std_iterator=no
20733 rm -f conftest.$ac_objext conftest.$ac_ext
20735 ac_cpp='$CPP $CPPFLAGS'
20736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20742 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
20743 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
20744 if test "$ac_cv_cxx_have_std_iterator" = yes; then
20746 cat >>confdefs.h <<\_ACEOF
20747 #define HAVE_STD_ITERATOR
20752 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
20753 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
20754 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
20755 echo $ECHO_N "(cached) $ECHO_C" >&6
20761 ac_cpp='$CXXCPP $CPPFLAGS'
20762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20766 cat >conftest.$ac_ext <<_ACEOF
20767 #line $LINENO "configure"
20768 #include "confdefs.h"
20769 #include <iterator>
20770 #ifdef HAVE_NAMESPACES
20771 using namespace std;
20773 #ifdef F77_DUMMY_MAIN
20774 # ifdef __cplusplus
20777 int F77_DUMMY_MAIN() { return 1; }
20782 bidirectional_iterator<int,int> t; return 0;
20787 rm -f conftest.$ac_objext
20788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20789 (eval $ac_compile) 2>&5
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); } &&
20793 { ac_try='test -s conftest.$ac_objext'
20794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20795 (eval $ac_try) 2>&5
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); }; }; then
20799 ac_cv_cxx_have_bi_iterator=yes
20801 echo "$as_me: failed program was:" >&5
20802 cat conftest.$ac_ext >&5
20803 ac_cv_cxx_have_bi_iterator=no
20805 rm -f conftest.$ac_objext conftest.$ac_ext
20807 ac_cpp='$CPP $CPPFLAGS'
20808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20814 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
20815 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
20816 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
20818 cat >>confdefs.h <<\_ACEOF
20819 #define HAVE_BI_ITERATOR
20824 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
20825 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
20826 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
20827 echo $ECHO_N "(cached) $ECHO_C" >&6
20833 ac_cpp='$CXXCPP $CPPFLAGS'
20834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20838 cat >conftest.$ac_ext <<_ACEOF
20839 #line $LINENO "configure"
20840 #include "confdefs.h"
20841 #include <iterator>
20842 #ifdef HAVE_NAMESPACES
20843 using namespace std;
20845 #ifdef F77_DUMMY_MAIN
20846 # ifdef __cplusplus
20849 int F77_DUMMY_MAIN() { return 1; }
20854 forward_iterator<int,int> t; return 0;
20859 rm -f conftest.$ac_objext
20860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20861 (eval $ac_compile) 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); } &&
20865 { ac_try='test -s conftest.$ac_objext'
20866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20867 (eval $ac_try) 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; }; then
20871 ac_cv_cxx_have_fwd_iterator=yes
20873 echo "$as_me: failed program was:" >&5
20874 cat conftest.$ac_ext >&5
20875 ac_cv_cxx_have_fwd_iterator=no
20877 rm -f conftest.$ac_objext conftest.$ac_ext
20879 ac_cpp='$CPP $CPPFLAGS'
20880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20886 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
20887 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
20888 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
20890 cat >>confdefs.h <<\_ACEOF
20891 #define HAVE_FWD_ITERATOR
20897 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20898 # for constant arguments. Useless!
20899 echo "$as_me:$LINENO: checking for working alloca.h" >&5
20900 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
20901 if test "${ac_cv_working_alloca_h+set}" = set; then
20902 echo $ECHO_N "(cached) $ECHO_C" >&6
20904 cat >conftest.$ac_ext <<_ACEOF
20905 #line $LINENO "configure"
20906 #include "confdefs.h"
20907 #include <alloca.h>
20908 #ifdef F77_DUMMY_MAIN
20909 # ifdef __cplusplus
20912 int F77_DUMMY_MAIN() { return 1; }
20917 char *p = (char *) alloca (2 * sizeof (int));
20922 rm -f conftest.$ac_objext conftest$ac_exeext
20923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20924 (eval $ac_link) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } &&
20928 { ac_try='test -s conftest$ac_exeext'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; }; then
20934 ac_cv_working_alloca_h=yes
20936 echo "$as_me: failed program was:" >&5
20937 cat conftest.$ac_ext >&5
20938 ac_cv_working_alloca_h=no
20940 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20942 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
20943 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
20944 if test $ac_cv_working_alloca_h = yes; then
20946 cat >>confdefs.h <<\_ACEOF
20947 #define HAVE_ALLOCA_H 1
20952 echo "$as_me:$LINENO: checking for alloca" >&5
20953 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
20954 if test "${ac_cv_func_alloca_works+set}" = set; then
20955 echo $ECHO_N "(cached) $ECHO_C" >&6
20957 cat >conftest.$ac_ext <<_ACEOF
20958 #line $LINENO "configure"
20959 #include "confdefs.h"
20961 # define alloca __builtin_alloca
20964 # include <malloc.h>
20965 # define alloca _alloca
20968 # include <alloca.h>
20973 # ifndef alloca /* predefined by HP cc +Olibcalls */
20981 #ifdef F77_DUMMY_MAIN
20982 # ifdef __cplusplus
20985 int F77_DUMMY_MAIN() { return 1; }
20990 char *p = (char *) alloca (1);
20995 rm -f conftest.$ac_objext conftest$ac_exeext
20996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20997 (eval $ac_link) 2>&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); } &&
21001 { ac_try='test -s conftest$ac_exeext'
21002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003 (eval $ac_try) 2>&5
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); }; }; then
21007 ac_cv_func_alloca_works=yes
21009 echo "$as_me: failed program was:" >&5
21010 cat conftest.$ac_ext >&5
21011 ac_cv_func_alloca_works=no
21013 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21015 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21016 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21018 if test $ac_cv_func_alloca_works = yes; then
21020 cat >>confdefs.h <<\_ACEOF
21021 #define HAVE_ALLOCA 1
21025 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21026 # that cause trouble. Some versions do not even contain alloca or
21027 # contain a buggy version. If you still want to use their alloca,
21028 # use ar to extract alloca.o from them instead of compiling alloca.c.
21030 ALLOCA=alloca.$ac_objext
21032 cat >>confdefs.h <<\_ACEOF
21037 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21038 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21039 if test "${ac_cv_os_cray+set}" = set; then
21040 echo $ECHO_N "(cached) $ECHO_C" >&6
21042 cat >conftest.$ac_ext <<_ACEOF
21043 #line $LINENO "configure"
21044 #include "confdefs.h"
21045 #if defined(CRAY) && ! defined(CRAY2)
21052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21053 egrep "webecray" >/dev/null 2>&1; then
21061 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21062 echo "${ECHO_T}$ac_cv_os_cray" >&6
21063 if test $ac_cv_os_cray = yes; then
21064 for ac_func in _getb67 GETB67 getb67; do
21065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21066 echo "$as_me:$LINENO: checking for $ac_func" >&5
21067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21068 if eval "test \"\${$as_ac_var+set}\" = set"; then
21069 echo $ECHO_N "(cached) $ECHO_C" >&6
21071 cat >conftest.$ac_ext <<_ACEOF
21072 #line $LINENO "configure"
21073 #include "confdefs.h"
21074 /* System header to define __stub macros and hopefully few prototypes,
21075 which can conflict with char $ac_func (); below. */
21076 #include <assert.h>
21077 /* Override any gcc2 internal prototype to avoid an error. */
21081 /* We use char because int might match the return type of a gcc2
21082 builtin and then its argument prototype would still apply. */
21086 #ifdef F77_DUMMY_MAIN
21087 # ifdef __cplusplus
21090 int F77_DUMMY_MAIN() { return 1; }
21095 /* The GNU C library defines this for functions which it implements
21096 to always fail with ENOSYS. Some functions are actually named
21097 something starting with __ and the normal name is an alias. */
21098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21108 rm -f conftest.$ac_objext conftest$ac_exeext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21110 (eval $ac_link) 2>&5
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); } &&
21114 { ac_try='test -s conftest$ac_exeext'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; }; then
21120 eval "$as_ac_var=yes"
21122 echo "$as_me: failed program was:" >&5
21123 cat conftest.$ac_ext >&5
21124 eval "$as_ac_var=no"
21126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21130 if test `eval echo '${'$as_ac_var'}'` = yes; then
21132 cat >>confdefs.h <<_ACEOF
21133 #define CRAY_STACKSEG_END $ac_func
21142 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21143 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21144 if test "${ac_cv_c_stack_direction+set}" = set; then
21145 echo $ECHO_N "(cached) $ECHO_C" >&6
21147 if test "$cross_compiling" = yes; then
21148 ac_cv_c_stack_direction=0
21150 cat >conftest.$ac_ext <<_ACEOF
21151 #line $LINENO "configure"
21152 #include "confdefs.h"
21154 find_stack_direction ()
21156 static char *addr = 0;
21161 return find_stack_direction ();
21164 return (&dummy > addr) ? 1 : -1;
21170 exit (find_stack_direction () < 0);
21173 rm -f conftest$ac_exeext
21174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21175 (eval $ac_link) 2>&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21180 (eval $ac_try) 2>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }; }; then
21184 ac_cv_c_stack_direction=1
21186 echo "$as_me: program exited with status $ac_status" >&5
21187 echo "$as_me: failed program was:" >&5
21188 cat conftest.$ac_ext >&5
21189 ( exit $ac_status )
21190 ac_cv_c_stack_direction=-1
21192 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21195 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21196 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21198 cat >>confdefs.h <<_ACEOF
21199 #define STACK_DIRECTION $ac_cv_c_stack_direction
21205 if test $ac_cv_c_compiler_gnu = yes; then
21206 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21207 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21208 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21209 echo $ECHO_N "(cached) $ECHO_C" >&6
21211 ac_pattern="Autoconf.*'x'"
21212 cat >conftest.$ac_ext <<_ACEOF
21213 #line $LINENO "configure"
21214 #include "confdefs.h"
21218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21219 egrep "$ac_pattern" >/dev/null 2>&1; then
21220 ac_cv_prog_gcc_traditional=yes
21222 ac_cv_prog_gcc_traditional=no
21227 if test $ac_cv_prog_gcc_traditional = no; then
21228 cat >conftest.$ac_ext <<_ACEOF
21229 #line $LINENO "configure"
21230 #include "confdefs.h"
21231 #include <termio.h>
21234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21235 egrep "$ac_pattern" >/dev/null 2>&1; then
21236 ac_cv_prog_gcc_traditional=yes
21242 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21243 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21244 if test $ac_cv_prog_gcc_traditional = yes; then
21245 CC="$CC -traditional"
21249 echo "$as_me:$LINENO: checking for working memcmp" >&5
21250 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21251 if test "${ac_cv_func_memcmp_working+set}" = set; then
21252 echo $ECHO_N "(cached) $ECHO_C" >&6
21254 if test "$cross_compiling" = yes; then
21255 ac_cv_func_memcmp_working=no
21257 cat >conftest.$ac_ext <<_ACEOF
21258 #line $LINENO "configure"
21259 #include "confdefs.h"
21261 #ifdef F77_DUMMY_MAIN
21262 # ifdef __cplusplus
21265 int F77_DUMMY_MAIN() { return 1; }
21271 /* Some versions of memcmp are not 8-bit clean. */
21272 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21273 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21276 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21277 or more and with at least one buffer not starting on a 4-byte boundary.
21278 William Lewis provided this test program. */
21283 for (i = 0; i < 4; i++)
21287 strcpy (a, "--------01111111");
21288 strcpy (b, "--------10000000");
21289 if (memcmp (a, b, 16) >= 0)
21299 rm -f conftest$ac_exeext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21301 (eval $ac_link) 2>&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306 (eval $ac_try) 2>&5
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); }; }; then
21310 ac_cv_func_memcmp_working=yes
21312 echo "$as_me: program exited with status $ac_status" >&5
21313 echo "$as_me: failed program was:" >&5
21314 cat conftest.$ac_ext >&5
21315 ( exit $ac_status )
21316 ac_cv_func_memcmp_working=no
21318 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21321 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21322 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21323 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21327 for ac_header in stdlib.h unistd.h
21329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21331 echo "$as_me:$LINENO: checking for $ac_header" >&5
21332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21334 echo $ECHO_N "(cached) $ECHO_C" >&6
21336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21339 # Is the header compilable?
21340 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21341 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21342 cat >conftest.$ac_ext <<_ACEOF
21343 #line $LINENO "configure"
21344 #include "confdefs.h"
21345 $ac_includes_default
21346 #include <$ac_header>
21348 rm -f conftest.$ac_objext
21349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21350 (eval $ac_compile) 2>&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } &&
21354 { ac_try='test -s conftest.$ac_objext'
21355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21356 (eval $ac_try) 2>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; }; then
21360 ac_header_compiler=yes
21362 echo "$as_me: failed program was:" >&5
21363 cat conftest.$ac_ext >&5
21364 ac_header_compiler=no
21366 rm -f conftest.$ac_objext conftest.$ac_ext
21367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21368 echo "${ECHO_T}$ac_header_compiler" >&6
21370 # Is the header present?
21371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21373 cat >conftest.$ac_ext <<_ACEOF
21374 #line $LINENO "configure"
21375 #include "confdefs.h"
21376 #include <$ac_header>
21378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21381 egrep -v '^ *\+' conftest.er1 >conftest.err
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } >/dev/null; then
21386 if test -s conftest.err; then
21387 ac_cpp_err=$ac_c_preproc_warn_flag
21394 if test -z "$ac_cpp_err"; then
21395 ac_header_preproc=yes
21397 echo "$as_me: failed program was:" >&5
21398 cat conftest.$ac_ext >&5
21399 ac_header_preproc=no
21401 rm -f conftest.err conftest.$ac_ext
21402 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21403 echo "${ECHO_T}$ac_header_preproc" >&6
21405 # So? What about this header?
21406 case $ac_header_compiler:$ac_header_preproc in
21408 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21409 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21411 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
21413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21418 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
21420 echo "$as_me:$LINENO: checking for $ac_header" >&5
21421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21423 echo $ECHO_N "(cached) $ECHO_C" >&6
21425 eval "$as_ac_Header=$ac_header_preproc"
21427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21432 cat >>confdefs.h <<_ACEOF
21433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21441 for ac_func in getpagesize
21443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21444 echo "$as_me:$LINENO: checking for $ac_func" >&5
21445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21446 if eval "test \"\${$as_ac_var+set}\" = set"; then
21447 echo $ECHO_N "(cached) $ECHO_C" >&6
21449 cat >conftest.$ac_ext <<_ACEOF
21450 #line $LINENO "configure"
21451 #include "confdefs.h"
21452 /* System header to define __stub macros and hopefully few prototypes,
21453 which can conflict with char $ac_func (); below. */
21454 #include <assert.h>
21455 /* Override any gcc2 internal prototype to avoid an error. */
21459 /* We use char because int might match the return type of a gcc2
21460 builtin and then its argument prototype would still apply. */
21464 #ifdef F77_DUMMY_MAIN
21465 # ifdef __cplusplus
21468 int F77_DUMMY_MAIN() { return 1; }
21473 /* The GNU C library defines this for functions which it implements
21474 to always fail with ENOSYS. Some functions are actually named
21475 something starting with __ and the normal name is an alias. */
21476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21486 rm -f conftest.$ac_objext conftest$ac_exeext
21487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21488 (eval $ac_link) 2>&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); } &&
21492 { ac_try='test -s conftest$ac_exeext'
21493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21494 (eval $ac_try) 2>&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); }; }; then
21498 eval "$as_ac_var=yes"
21500 echo "$as_me: failed program was:" >&5
21501 cat conftest.$ac_ext >&5
21502 eval "$as_ac_var=no"
21504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21508 if test `eval echo '${'$as_ac_var'}'` = yes; then
21509 cat >>confdefs.h <<_ACEOF
21510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21516 echo "$as_me:$LINENO: checking for working mmap" >&5
21517 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21518 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21519 echo $ECHO_N "(cached) $ECHO_C" >&6
21521 if test "$cross_compiling" = yes; then
21522 ac_cv_func_mmap_fixed_mapped=no
21524 cat >conftest.$ac_ext <<_ACEOF
21525 #line $LINENO "configure"
21526 #include "confdefs.h"
21527 $ac_includes_default
21528 /* malloc might have been renamed as rpl_malloc. */
21531 /* Thanks to Mike Haertel and Jim Avera for this test.
21532 Here is a matrix of mmap possibilities:
21533 mmap private not fixed
21534 mmap private fixed at somewhere currently unmapped
21535 mmap private fixed at somewhere already mapped
21536 mmap shared not fixed
21537 mmap shared fixed at somewhere currently unmapped
21538 mmap shared fixed at somewhere already mapped
21539 For private mappings, we should verify that changes cannot be read()
21540 back from the file, nor mmap's back from the file at a different
21541 address. (There have been systems where private was not correctly
21542 implemented like the infamous i386 svr4.0, and systems where the
21543 VM page cache was not coherent with the file system buffer cache
21544 like early versions of FreeBSD and possibly contemporary NetBSD.)
21545 For shared mappings, we should conversely verify that changes get
21546 propagated back to all the places they're supposed to be.
21548 Grep wants private fixed already mapped.
21549 The main things grep needs to know about mmap are:
21550 * does it exist and is it safe to write into the mmap'd area
21551 * how to use it (BSD variants) */
21554 #include <sys/mman.h>
21556 #if !STDC_HEADERS && !HAVE_STDLIB_H
21560 /* This mess was copied from the GNU getpagesize.h. */
21561 #if !HAVE_GETPAGESIZE
21562 /* Assume that all systems that can run configure have sys/param.h. */
21563 # if !HAVE_SYS_PARAM_H
21564 # define HAVE_SYS_PARAM_H 1
21567 # ifdef _SC_PAGESIZE
21568 # define getpagesize() sysconf(_SC_PAGESIZE)
21569 # else /* no _SC_PAGESIZE */
21570 # if HAVE_SYS_PARAM_H
21571 # include <sys/param.h>
21572 # ifdef EXEC_PAGESIZE
21573 # define getpagesize() EXEC_PAGESIZE
21574 # else /* no EXEC_PAGESIZE */
21576 # define getpagesize() NBPG * CLSIZE
21579 # endif /* no CLSIZE */
21580 # else /* no NBPG */
21582 # define getpagesize() NBPC
21583 # else /* no NBPC */
21585 # define getpagesize() PAGESIZE
21586 # endif /* PAGESIZE */
21587 # endif /* no NBPC */
21588 # endif /* no NBPG */
21589 # endif /* no EXEC_PAGESIZE */
21590 # else /* no HAVE_SYS_PARAM_H */
21591 # define getpagesize() 8192 /* punt totally */
21592 # endif /* no HAVE_SYS_PARAM_H */
21593 # endif /* no _SC_PAGESIZE */
21595 #endif /* no HAVE_GETPAGESIZE */
21600 char *data, *data2, *data3;
21604 pagesize = getpagesize ();
21606 /* First, make a file with some known garbage in it. */
21607 data = (char *) malloc (pagesize);
21610 for (i = 0; i < pagesize; ++i)
21611 *(data + i) = rand ();
21613 fd = creat ("conftest.mmap", 0600);
21616 if (write (fd, data, pagesize) != pagesize)
21620 /* Next, try to mmap the file at a fixed address which already has
21621 something else allocated at it. If we can, also make sure that
21622 we see the same garbage. */
21623 fd = open ("conftest.mmap", O_RDWR);
21626 data2 = (char *) malloc (2 * pagesize);
21629 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21630 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21631 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21633 for (i = 0; i < pagesize; ++i)
21634 if (*(data + i) != *(data2 + i))
21637 /* Finally, make sure that changes to the mapped area do not
21638 percolate back to the file as seen by read(). (This is a bug on
21639 some variants of i386 svr4.0.) */
21640 for (i = 0; i < pagesize; ++i)
21641 *(data2 + i) = *(data2 + i) + 1;
21642 data3 = (char *) malloc (pagesize);
21645 if (read (fd, data3, pagesize) != pagesize)
21647 for (i = 0; i < pagesize; ++i)
21648 if (*(data + i) != *(data3 + i))
21654 rm -f conftest$ac_exeext
21655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21656 (eval $ac_link) 2>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21661 (eval $ac_try) 2>&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); }; }; then
21665 ac_cv_func_mmap_fixed_mapped=yes
21667 echo "$as_me: program exited with status $ac_status" >&5
21668 echo "$as_me: failed program was:" >&5
21669 cat conftest.$ac_ext >&5
21670 ( exit $ac_status )
21671 ac_cv_func_mmap_fixed_mapped=no
21673 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21676 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
21677 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
21678 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21680 cat >>confdefs.h <<\_ACEOF
21681 #define HAVE_MMAP 1
21685 rm -f conftest.mmap
21687 echo "$as_me:$LINENO: checking for mmap of files" >&5
21688 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
21689 if test "${ac_cv_func_mmap_file+set}" = set; then
21690 echo $ECHO_N "(cached) $ECHO_C" >&6
21695 ac_cpp='$CPP $CPPFLAGS'
21696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21700 if test "$cross_compiling" = yes; then
21701 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
21702 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
21703 { (exit 1); exit 1; }; }
21705 cat >conftest.$ac_ext <<_ACEOF
21706 #line $LINENO "configure"
21707 #include "confdefs.h"
21709 #ifdef HAVE_SYS_MMAN_H
21710 #include <sys/mman.h>
21713 #ifdef HAVE_SYS_TYPES_H
21714 #include <sys/types.h>
21717 #ifdef HAVE_FCNTL_H
21723 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
21725 rm -f conftest$ac_exeext
21726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21727 (eval $ac_link) 2>&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732 (eval $ac_try) 2>&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); }; }; then
21736 ac_cv_func_mmap_file=yes
21738 echo "$as_me: program exited with status $ac_status" >&5
21739 echo "$as_me: failed program was:" >&5
21740 cat conftest.$ac_ext >&5
21741 ( exit $ac_status )
21742 ac_cv_func_mmap_file=no
21744 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21747 ac_cpp='$CPP $CPPFLAGS'
21748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21754 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
21755 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
21756 if test "$ac_cv_func_mmap_file" = yes; then
21757 cat >>confdefs.h <<\_ACEOF
21758 #define HAVE_MMAP_FILE 1
21765 if test ${ac_cv_func_mmap_file} = "no"
21767 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
21768 echo "$as_me: error: mmap() of files required but not found" >&2;}
21769 { (exit 1); exit 1; }; }
21771 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
21772 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
21773 if test "${ac_cv_header_mmap_anon+set}" = set; then
21774 echo $ECHO_N "(cached) $ECHO_C" >&6
21779 ac_cpp='$CPP $CPPFLAGS'
21780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21784 cat >conftest.$ac_ext <<_ACEOF
21785 #line $LINENO "configure"
21786 #include "confdefs.h"
21787 #include <sys/mman.h>
21788 #include <unistd.h>
21790 #ifdef F77_DUMMY_MAIN
21791 # ifdef __cplusplus
21794 int F77_DUMMY_MAIN() { return 1; }
21799 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
21804 rm -f conftest.$ac_objext
21805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21806 (eval $ac_compile) 2>&5
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); } &&
21810 { ac_try='test -s conftest.$ac_objext'
21811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21812 (eval $ac_try) 2>&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; }; then
21816 ac_cv_header_mmap_anon=yes
21818 echo "$as_me: failed program was:" >&5
21819 cat conftest.$ac_ext >&5
21820 ac_cv_header_mmap_anon=no
21822 rm -f conftest.$ac_objext conftest.$ac_ext
21824 ac_cpp='$CPP $CPPFLAGS'
21825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21831 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
21832 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
21833 if test "$ac_cv_header_mmap_anon" = yes; then
21834 cat >>confdefs.h <<\_ACEOF
21835 #define HAVE_MMAP_ANONYMOUS 1
21840 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
21841 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
21842 if test "${ac_cv_type_signal+set}" = set; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21845 cat >conftest.$ac_ext <<_ACEOF
21846 #line $LINENO "configure"
21847 #include "confdefs.h"
21848 #include <sys/types.h>
21849 #include <signal.h>
21854 extern "C" void (*signal (int, void (*)(int)))(int);
21856 void (*signal ()) ();
21859 #ifdef F77_DUMMY_MAIN
21860 # ifdef __cplusplus
21863 int F77_DUMMY_MAIN() { return 1; }
21873 rm -f conftest.$ac_objext
21874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21875 (eval $ac_compile) 2>&5
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); } &&
21879 { ac_try='test -s conftest.$ac_objext'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; }; then
21885 ac_cv_type_signal=void
21887 echo "$as_me: failed program was:" >&5
21888 cat conftest.$ac_ext >&5
21889 ac_cv_type_signal=int
21891 rm -f conftest.$ac_objext conftest.$ac_ext
21893 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
21894 echo "${ECHO_T}$ac_cv_type_signal" >&6
21896 cat >>confdefs.h <<_ACEOF
21897 #define RETSIGTYPE $ac_cv_type_signal
21910 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
21912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21913 echo "$as_me:$LINENO: checking for $ac_func" >&5
21914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21915 if eval "test \"\${$as_ac_var+set}\" = set"; then
21916 echo $ECHO_N "(cached) $ECHO_C" >&6
21918 cat >conftest.$ac_ext <<_ACEOF
21919 #line $LINENO "configure"
21920 #include "confdefs.h"
21921 /* System header to define __stub macros and hopefully few prototypes,
21922 which can conflict with char $ac_func (); below. */
21923 #include <assert.h>
21924 /* Override any gcc2 internal prototype to avoid an error. */
21928 /* We use char because int might match the return type of a gcc2
21929 builtin and then its argument prototype would still apply. */
21933 #ifdef F77_DUMMY_MAIN
21934 # ifdef __cplusplus
21937 int F77_DUMMY_MAIN() { return 1; }
21942 /* The GNU C library defines this for functions which it implements
21943 to always fail with ENOSYS. Some functions are actually named
21944 something starting with __ and the normal name is an alias. */
21945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21955 rm -f conftest.$ac_objext conftest$ac_exeext
21956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21957 (eval $ac_link) 2>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); } &&
21961 { ac_try='test -s conftest$ac_exeext'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; }; then
21967 eval "$as_ac_var=yes"
21969 echo "$as_me: failed program was:" >&5
21970 cat conftest.$ac_ext >&5
21971 eval "$as_ac_var=no"
21973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21977 if test `eval echo '${'$as_ac_var'}'` = yes; then
21978 cat >>confdefs.h <<_ACEOF
21979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21987 echo "$as_me:$LINENO: checking for mmap" >&5
21988 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
21989 if test "${ac_cv_func_mmap+set}" = set; then
21990 echo $ECHO_N "(cached) $ECHO_C" >&6
21992 cat >conftest.$ac_ext <<_ACEOF
21993 #line $LINENO "configure"
21994 #include "confdefs.h"
21995 /* System header to define __stub macros and hopefully few prototypes,
21996 which can conflict with char mmap (); below. */
21997 #include <assert.h>
21998 /* Override any gcc2 internal prototype to avoid an error. */
22002 /* We use char because int might match the return type of a gcc2
22003 builtin and then its argument prototype would still apply. */
22007 #ifdef F77_DUMMY_MAIN
22008 # ifdef __cplusplus
22011 int F77_DUMMY_MAIN() { return 1; }
22016 /* The GNU C library defines this for functions which it implements
22017 to always fail with ENOSYS. Some functions are actually named
22018 something starting with __ and the normal name is an alias. */
22019 #if defined (__stub_mmap) || defined (__stub___mmap)
22029 rm -f conftest.$ac_objext conftest$ac_exeext
22030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22031 (eval $ac_link) 2>&5
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); } &&
22035 { ac_try='test -s conftest$ac_exeext'
22036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22037 (eval $ac_try) 2>&5
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); }; }; then
22041 ac_cv_func_mmap=yes
22043 echo "$as_me: failed program was:" >&5
22044 cat conftest.$ac_ext >&5
22047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22049 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22050 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22051 if test $ac_cv_func_mmap = yes; then
22054 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22055 echo "$as_me: error: Function mmap() required but not found" >&2;}
22056 { (exit 1); exit 1; }; }
22059 echo "$as_me:$LINENO: checking for mprotect" >&5
22060 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22061 if test "${ac_cv_func_mprotect+set}" = set; then
22062 echo $ECHO_N "(cached) $ECHO_C" >&6
22064 cat >conftest.$ac_ext <<_ACEOF
22065 #line $LINENO "configure"
22066 #include "confdefs.h"
22067 /* System header to define __stub macros and hopefully few prototypes,
22068 which can conflict with char mprotect (); below. */
22069 #include <assert.h>
22070 /* Override any gcc2 internal prototype to avoid an error. */
22074 /* We use char because int might match the return type of a gcc2
22075 builtin and then its argument prototype would still apply. */
22079 #ifdef F77_DUMMY_MAIN
22080 # ifdef __cplusplus
22083 int F77_DUMMY_MAIN() { return 1; }
22088 /* The GNU C library defines this for functions which it implements
22089 to always fail with ENOSYS. Some functions are actually named
22090 something starting with __ and the normal name is an alias. */
22091 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22101 rm -f conftest.$ac_objext conftest$ac_exeext
22102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22103 (eval $ac_link) 2>&5
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); } &&
22107 { ac_try='test -s conftest$ac_exeext'
22108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22109 (eval $ac_try) 2>&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); }; }; then
22113 ac_cv_func_mprotect=yes
22115 echo "$as_me: failed program was:" >&5
22116 cat conftest.$ac_ext >&5
22117 ac_cv_func_mprotect=no
22119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22121 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22122 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22123 if test $ac_cv_func_mprotect = yes; then
22126 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22127 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22128 { (exit 1); exit 1; }; }
22133 # Check whether --enable-purify or --disable-purify was given.
22134 if test "${enable_purify+set}" = set; then
22135 enableval="$enable_purify"
22140 if test ${enableval} = "no"
22145 ENABLE_PURIFY=ENABLE_PURIFY=1
22149 # Check whether --enable-optimized or --disable-optimized was given.
22150 if test "${enable_optimized+set}" = set; then
22151 enableval="$enable_optimized"
22156 if test ${enableval} = "no"
22161 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22165 # Check whether --enable-spec or --disable-spec was given.
22166 if test "${enable_spec+set}" = set; then
22167 enableval="$enable_spec"
22172 if test ${enableval} = "no"
22177 USE_SPEC=USE_SPEC=1
22181 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22182 if test "${enable_precompiled_bytecode+set}" = set; then
22183 enableval="$enable_precompiled_bytecode"
22188 if test ${enableval} = "no"
22193 UPB=USE_PRECOMPILED_BYTECODE=1
22198 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22199 if test "${enable_llc_diffs+set}" = set; then
22200 enableval="$enable_llc_diffs"
22205 if test ${enableval} = "no"
22207 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22214 # Check whether --enable-jit or --disable-jit was given.
22215 if test "${enable_jit+set}" = set; then
22216 enableval="$enable_jit"
22222 if test ${enableval} = "no"
22229 JIT=TARGET_HAS_JIT=1
22233 JIT=TARGET_HAS_JIT=1
22245 # Check whether --with-spec or --without-spec was given.
22246 if test "${with_spec+set}" = set; then
22247 withval="$with_spec"
22251 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22256 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22257 if test "${with_llvmgccdir+set}" = set; then
22258 withval="$with_llvmgccdir"
22259 LLVMGCCDIR=$withval
22264 # Check whether --with-bcrepos or --without-bcrepos was given.
22265 if test "${with_bcrepos+set}" = set; then
22266 withval="$with_bcrepos"
22270 BCR=/home/vadve/lattner/LLVMPrograms
22275 # Check whether --with-papi or --without-papi was given.
22276 if test "${with_papi+set}" = set; then
22277 withval="$with_papi"
22281 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22286 # Check whether --with-purify or --without-purify was given.
22287 if test "${with_purify+set}" = set; then
22288 withval="$with_purify"
22294 ac_config_files="$ac_config_files Makefile.config"
22295 cat >confcache <<\_ACEOF
22296 # This file is a shell script that caches the results of configure
22297 # tests run on this system so they can be shared between configure
22298 # scripts and configure runs, see configure's option --config-cache.
22299 # It is not useful on other systems. If it contains results you don't
22300 # want to keep, you may remove or edit it.
22302 # config.status only pays attention to the cache file if you give it
22303 # the --recheck option to rerun configure.
22305 # `ac_cv_env_foo' variables (set or unset) will be overriden when
22306 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22307 # following values.
22311 # The following way of writing the cache mishandles newlines in values,
22312 # but we know of no workaround that is simple, portable, and efficient.
22313 # So, don't put newlines in cache variables' values.
22314 # Ultrix sh set writes to stderr and can't be redirected directly,
22315 # and sets the high bit in the cache file unless we assign to the vars.
22318 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22320 # `set' does not quote correctly, so add quotes (double-quote
22321 # substitution turns \\\\ into \\, and sed turns \\ into \).
22324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22327 # `set' quotes correctly as required by POSIX, so do not add quotes.
22329 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22336 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22338 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22340 if cmp -s $cache_file confcache; then :; else
22341 if test -w $cache_file; then
22342 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22343 cat confcache >$cache_file
22345 echo "not updating unwritable cache $cache_file"
22350 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22351 # Let make expand exec_prefix.
22352 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22354 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22355 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22356 # trailing colons and then remove the whole line if VPATH becomes empty
22357 # (actually we leave an empty line to preserve line numbers).
22358 if test "x$srcdir" = x.; then
22359 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22360 s/:*\$(srcdir):*/:/;
22361 s/:*\${srcdir}:*/:/;
22363 s/^\([^=]*=[ ]*\):*/\1/;
22369 DEFS=-DHAVE_CONFIG_H
22372 : ${CONFIG_STATUS=./config.status}
22373 ac_clean_files_save=$ac_clean_files
22374 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22375 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22376 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22377 cat >$CONFIG_STATUS <<_ACEOF
22379 # Generated by $as_me.
22380 # Run this file to recreate the current configuration.
22381 # Compiler output produced by configure, useful for debugging
22382 # configure, is in config.log if it exists.
22385 SHELL=\${CONFIG_SHELL-$SHELL}
22388 cat >>$CONFIG_STATUS <<\_ACEOF
22390 ## --------------------- ##
22391 ## M4sh Initialization. ##
22392 ## --------------------- ##
22394 # Be Bourne compatible
22395 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22398 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22403 # Support unset when possible.
22404 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22410 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
22411 { $as_unset LANG || test "${LANG+set}" != set; } ||
22412 { LANG=C; export LANG; }
22413 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
22414 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
22415 { LC_ALL=C; export LC_ALL; }
22416 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
22417 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
22418 { LC_TIME=C; export LC_TIME; }
22419 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
22420 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
22421 { LC_CTYPE=C; export LC_CTYPE; }
22422 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
22423 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
22424 { LANGUAGE=C; export LANGUAGE; }
22425 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
22426 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
22427 { LC_COLLATE=C; export LC_COLLATE; }
22428 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
22429 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
22430 { LC_NUMERIC=C; export LC_NUMERIC; }
22431 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
22432 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
22433 { LC_MESSAGES=C; export LC_MESSAGES; }
22436 # Name of the executable.
22437 as_me=`(basename "$0") 2>/dev/null ||
22438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22439 X"$0" : 'X\(//\)$' \| \
22440 X"$0" : 'X\(/\)$' \| \
22441 . : '\(.\)' 2>/dev/null ||
22443 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22444 /^X\/\(\/\/\)$/{ s//\1/; q; }
22445 /^X\/\(\/\).*/{ s//\1/; q; }
22448 # PATH needs CR, and LINENO needs CR and PATH.
22449 # Avoid depending upon Character Ranges.
22450 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22451 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22452 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22453 as_cr_digits='0123456789'
22454 as_cr_alnum=$as_cr_Letters$as_cr_digits
22456 # The user is always right.
22457 if test "${PATH_SEPARATOR+set}" != set; then
22458 echo "#! /bin/sh" >conftest.sh
22459 echo "exit 0" >>conftest.sh
22460 chmod +x conftest.sh
22461 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
22470 as_lineno_1=$LINENO
22471 as_lineno_2=$LINENO
22472 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22473 test "x$as_lineno_1" != "x$as_lineno_2" &&
22474 test "x$as_lineno_3" = "x$as_lineno_2" || {
22475 # Find who we are. Look in the path if we contain no path at all
22478 *[\\/]* ) as_myself=$0 ;;
22479 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22480 for as_dir in $PATH
22483 test -z "$as_dir" && as_dir=.
22484 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22489 # We did not find ourselves, most probably we were run as `sh COMMAND'
22490 # in which case we are not to be found in the path.
22491 if test "x$as_myself" = x; then
22494 if test ! -f "$as_myself"; then
22495 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22496 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22497 { (exit 1); exit 1; }; }
22499 case $CONFIG_SHELL in
22501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22502 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22505 test -z "$as_dir" && as_dir=.
22506 for as_base in sh bash ksh sh5; do
22509 if ("$as_dir/$as_base" -c '
22510 as_lineno_1=$LINENO
22511 as_lineno_2=$LINENO
22512 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22513 test "x$as_lineno_1" != "x$as_lineno_2" &&
22514 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22515 CONFIG_SHELL=$as_dir/$as_base
22516 export CONFIG_SHELL
22517 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22525 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22526 # uniformly replaced by the line number. The first 'sed' inserts a
22527 # line-number line before each line; the second 'sed' does the real
22528 # work. The second script uses 'N' to pair each line-number line
22529 # with the numbered line, and appends trailing '-' during
22530 # substitution so that $LINENO is not a special case at line end.
22531 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22532 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22533 sed '=' <$as_myself |
22538 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22541 s,^['$as_cr_digits']*\n,,
22542 ' >$as_me.lineno &&
22543 chmod +x $as_me.lineno ||
22544 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22545 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22546 { (exit 1); exit 1; }; }
22548 # Don't try to exec as it changes $[0], causing all sort of problems
22549 # (the dirname of $[0] is not the place where we might find the
22550 # original and so on. Autoconf is especially sensible to this).
22552 # Exit status is that of the last command.
22557 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22558 *c*,-n*) ECHO_N= ECHO_C='
22560 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22561 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
22564 if expr a : '\(a\)' >/dev/null 2>&1; then
22570 rm -f conf$$ conf$$.exe conf$$.file
22572 if ln -s conf$$.file conf$$ 2>/dev/null; then
22573 # We could just check for DJGPP; but this test a) works b) is more generic
22574 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22575 if test -f conf$$.exe; then
22576 # Don't use ln at all; we don't have any links
22581 elif ln conf$$.file conf$$ 2>/dev/null; then
22586 rm -f conf$$ conf$$.exe conf$$.file
22588 as_executable_p="test -f"
22590 # Sed expression to map a string onto a valid CPP name.
22591 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
22593 # Sed expression to map a string onto a valid variable name.
22594 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
22598 # We need space, tab and new line, in precisely that order.
22604 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
22608 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22609 # report actual input values of CONFIG_FILES etc. instead of their
22610 # values after options handling. Logging --version etc. is OK.
22614 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22615 ## Running $as_me. ##
22620 This file was extended by [LLVM] $as_me [1.0], which was
22621 generated by GNU Autoconf 2.53. Invocation command line was
22623 CONFIG_FILES = $CONFIG_FILES
22624 CONFIG_HEADERS = $CONFIG_HEADERS
22625 CONFIG_LINKS = $CONFIG_LINKS
22626 CONFIG_COMMANDS = $CONFIG_COMMANDS
22630 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22634 # Files that config.status was made for.
22635 if test -n "$ac_config_files"; then
22636 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22639 if test -n "$ac_config_headers"; then
22640 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22643 if test -n "$ac_config_links"; then
22644 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22647 if test -n "$ac_config_commands"; then
22648 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22651 cat >>$CONFIG_STATUS <<\_ACEOF
22654 \`$as_me' instantiates files from templates according to the
22655 current configuration.
22657 Usage: $0 [OPTIONS] [FILE]...
22659 -h, --help print this help, then exit
22660 -V, --version print version number, then exit
22661 -d, --debug don't remove temporary files
22662 --recheck update $as_me by reconfiguring in the same conditions
22663 --file=FILE[:TEMPLATE]
22664 instantiate the configuration file FILE
22665 --header=FILE[:TEMPLATE]
22666 instantiate the configuration header FILE
22668 Configuration files:
22671 Configuration headers:
22674 Configuration commands:
22677 Report bugs to <bug-autoconf@gnu.org>."
22680 cat >>$CONFIG_STATUS <<_ACEOF
22682 [LLVM] config.status [1.0]
22683 configured by $0, generated by GNU Autoconf 2.53,
22684 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22686 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
22687 Free Software Foundation, Inc.
22688 This config.status script is free software; the Free Software Foundation
22689 gives unlimited permission to copy, distribute and modify it."
22694 cat >>$CONFIG_STATUS <<\_ACEOF
22695 # If no file are specified by the user, then we need to provide default
22696 # value. By we need to know if files were specified by the user.
22702 ac_option=`expr "x$1" : 'x\([^=]*\)='`
22703 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
22705 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
22709 *) # This is not an option, so the user has probably given explicit
22711 ac_need_defaults=false;;
22715 # Handling of the options.
22717 cat >>$CONFIG_STATUS <<_ACEOF
22718 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22719 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
22720 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
22722 cat >>$CONFIG_STATUS <<\_ACEOF
22723 --version | --vers* | -V )
22724 echo "$ac_cs_version"; exit 0 ;;
22726 # Conflict between --help and --header
22727 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22728 Try \`$0 --help' for more information." >&5
22729 echo "$as_me: error: ambiguous option: $1
22730 Try \`$0 --help' for more information." >&2;}
22731 { (exit 1); exit 1; }; };;
22732 --help | --hel | -h )
22733 echo "$ac_cs_usage"; exit 0 ;;
22734 --debug | --d* | -d )
22736 --file | --fil | --fi | --f )
22738 CONFIG_FILES="$CONFIG_FILES $1"
22739 ac_need_defaults=false;;
22740 --header | --heade | --head | --hea )
22742 CONFIG_HEADERS="$CONFIG_HEADERS $1"
22743 ac_need_defaults=false;;
22745 # This is an error.
22746 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22747 Try \`$0 --help' for more information." >&5
22748 echo "$as_me: error: unrecognized option: $1
22749 Try \`$0 --help' for more information." >&2;}
22750 { (exit 1); exit 1; }; } ;;
22752 *) ac_config_targets="$ac_config_targets $1" ;;
22760 cat >>$CONFIG_STATUS <<_ACEOF
22762 # INIT-COMMANDS section.
22765 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
22766 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
22767 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
22768 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
22769 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
22770 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
22771 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
22772 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
22773 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
22774 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
22775 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
22776 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
22777 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
22778 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
22779 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
22780 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
22781 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
22782 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
22783 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
22784 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
22785 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
22786 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
22787 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
22788 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
22789 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
22790 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
22791 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
22792 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
22793 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
22794 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
22795 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
22796 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
22797 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
22798 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
22799 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
22800 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
22801 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
22802 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
22803 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
22804 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
22805 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
22806 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
22807 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
22808 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
22809 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
22810 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
22811 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
22812 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
22813 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
22814 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
22815 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
22816 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
22817 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
22818 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
22819 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
22820 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
22821 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
22822 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
22823 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
22824 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
22825 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
22826 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
22827 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
22828 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
22829 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
22830 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
22831 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
22832 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
22833 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
22834 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
22835 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
22836 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
22837 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
22838 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
22839 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
22840 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
22841 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
22842 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
22843 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
22844 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
22845 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
22846 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
22847 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
22848 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Burg/Makefile`
22849 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Fhourstones/Makefile`
22850 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/Makefile`
22851 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/01-qbsort/Makefile`
22852 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/03-testtrie/Makefile`
22853 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/04-bisect/Makefile`
22854 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/05-eks/Makefile`
22855 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/08-main/Makefile`
22856 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/09-vor/Makefile`
22857 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/12-IOtest/Makefile`
22858 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/15-trie/Makefile`
22859 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/17-bintr/Makefile`
22860 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/18-imp/Makefile`
22861 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/Makefile`
22862 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/bh/Makefile`
22863 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/bisort/Makefile`
22864 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/em3d/Makefile`
22865 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/health/Makefile`
22866 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/mst/Makefile`
22867 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/perimeter/Makefile`
22868 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/power/Makefile`
22869 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/treeadd/Makefile`
22870 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/tsp/Makefile`
22871 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/voronoi/Makefile`
22872 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/OptimizerEval/Makefile`
22873 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/Makefile`
22874 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/anagram/Makefile`
22875 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/bc/Makefile`
22876 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/ft/Makefile`
22877 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/ks/Makefile`
22878 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/yacr2/Makefile`
22879 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/aha/Makefile`
22880 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/llubenchmark/Makefile`
22881 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/sgefa/Makefile`
22882 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/sim/Makefile`
22883 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
22884 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
22885 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
22886 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
22887 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
22888 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
22889 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
22890 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
22891 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
22892 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Shootout/Makefile`
22893 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Stanford/Makefile`
22894 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
22895 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
22896 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
22897 ${srcdir}/autoconf/mkinstalldirs `dirname tools/as/Makefile`
22898 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
22899 ${srcdir}/autoconf/mkinstalldirs `dirname tools/dis/Makefile`
22900 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
22901 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
22902 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
22903 ${srcdir}/autoconf/mkinstalldirs `dirname tools/link/Makefile`
22904 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
22905 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
22906 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
22907 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
22908 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
22909 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
22910 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
22911 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
22912 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
22913 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
22914 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
22915 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
22916 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
22917 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
22918 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
22919 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
22920 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
22921 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
22922 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
22923 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
22924 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
22925 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
22926 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
22932 cat >>$CONFIG_STATUS <<\_ACEOF
22933 for ac_config_target in $ac_config_targets
22935 case "$ac_config_target" in
22936 # Handling of arguments.
22937 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
22938 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22939 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
22940 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
22941 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
22942 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
22943 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
22944 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
22945 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
22946 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
22947 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
22948 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
22949 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
22950 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
22951 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
22952 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
22953 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
22954 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
22955 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
22956 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
22957 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
22958 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
22959 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
22960 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
22961 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
22962 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
22963 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
22964 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
22965 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
22966 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
22967 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
22968 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
22969 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
22970 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
22971 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
22972 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
22973 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
22974 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
22975 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
22976 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
22977 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
22978 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
22979 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
22980 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
22981 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
22982 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
22983 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
22984 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
22985 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
22986 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
22987 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
22988 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
22989 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
22990 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
22991 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
22992 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
22993 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
22994 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
22995 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
22996 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
22997 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
22998 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
22999 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23000 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23001 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23002 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23003 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23004 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23005 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23006 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23007 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23008 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23009 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23010 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23011 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23012 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23013 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23014 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23015 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23016 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23017 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23018 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23019 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23020 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23021 "test/Programs/MultiSource/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Burg/Makefile" ;;
23022 "test/Programs/MultiSource/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Fhourstones/Makefile" ;;
23023 "test/Programs/MultiSource/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/Makefile" ;;
23024 "test/Programs/MultiSource/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/01-qbsort/Makefile" ;;
23025 "test/Programs/MultiSource/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/03-testtrie/Makefile" ;;
23026 "test/Programs/MultiSource/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/04-bisect/Makefile" ;;
23027 "test/Programs/MultiSource/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/05-eks/Makefile" ;;
23028 "test/Programs/MultiSource/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/08-main/Makefile" ;;
23029 "test/Programs/MultiSource/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/09-vor/Makefile" ;;
23030 "test/Programs/MultiSource/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/12-IOtest/Makefile" ;;
23031 "test/Programs/MultiSource/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/15-trie/Makefile" ;;
23032 "test/Programs/MultiSource/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/17-bintr/Makefile" ;;
23033 "test/Programs/MultiSource/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/18-imp/Makefile" ;;
23034 "test/Programs/MultiSource/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/Makefile" ;;
23035 "test/Programs/MultiSource/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/bh/Makefile" ;;
23036 "test/Programs/MultiSource/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/bisort/Makefile" ;;
23037 "test/Programs/MultiSource/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/em3d/Makefile" ;;
23038 "test/Programs/MultiSource/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/health/Makefile" ;;
23039 "test/Programs/MultiSource/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/mst/Makefile" ;;
23040 "test/Programs/MultiSource/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/perimeter/Makefile" ;;
23041 "test/Programs/MultiSource/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/power/Makefile" ;;
23042 "test/Programs/MultiSource/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/treeadd/Makefile" ;;
23043 "test/Programs/MultiSource/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/tsp/Makefile" ;;
23044 "test/Programs/MultiSource/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/voronoi/Makefile" ;;
23045 "test/Programs/MultiSource/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/OptimizerEval/Makefile" ;;
23046 "test/Programs/MultiSource/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/Makefile" ;;
23047 "test/Programs/MultiSource/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/anagram/Makefile" ;;
23048 "test/Programs/MultiSource/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/bc/Makefile" ;;
23049 "test/Programs/MultiSource/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/ft/Makefile" ;;
23050 "test/Programs/MultiSource/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/ks/Makefile" ;;
23051 "test/Programs/MultiSource/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/yacr2/Makefile" ;;
23052 "test/Programs/MultiSource/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/aha/Makefile" ;;
23053 "test/Programs/MultiSource/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/llubenchmark/Makefile" ;;
23054 "test/Programs/MultiSource/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/sgefa/Makefile" ;;
23055 "test/Programs/MultiSource/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/sim/Makefile" ;;
23056 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23057 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23058 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23059 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23060 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23061 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23062 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23063 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23064 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23065 "test/Programs/SingleSource/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Shootout/Makefile" ;;
23066 "test/Programs/SingleSource/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Stanford/Makefile" ;;
23067 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23068 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23069 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23070 "tools/as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/as/Makefile" ;;
23071 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23072 "tools/dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/dis/Makefile" ;;
23073 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23074 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23075 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23076 "tools/link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/link/Makefile" ;;
23077 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23078 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23079 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23080 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23081 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23082 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23083 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23084 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23085 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23086 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23087 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23088 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23089 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23090 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23091 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23092 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23093 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23094 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23095 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23096 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23097 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23098 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23099 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23100 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23101 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23102 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23103 { (exit 1); exit 1; }; };;
23107 # If the user did not use the arguments to specify the items to instantiate,
23108 # then the envvar interface is used. Set only those that are not.
23109 # We use the long form for the default assignment because of an extremely
23110 # bizarre bug on SunOS 4.1.3.
23111 if $ac_need_defaults; then
23112 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23113 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23114 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23117 # Create a temporary directory, and hook for its removal unless debugging.
23120 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23121 trap '{ (exit 1); exit 1; }' 1 2 13 15
23124 # Create a (secure) tmp directory for tmp files.
23127 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
23128 test -n "$tmp" && test -d "$tmp"
23131 tmp=$TMPDIR/cs$$-$RANDOM
23132 (umask 077 && mkdir $tmp)
23135 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
23136 { (exit 1); exit 1; }
23141 cat >>$CONFIG_STATUS <<_ACEOF
23144 # CONFIG_FILES section.
23147 # No need to generate the scripts if there are no CONFIG_FILES.
23148 # This happens for instance when ./config.status config.h
23149 if test -n "\$CONFIG_FILES"; then
23150 # Protect against being on the right side of a sed subst in config.status.
23151 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23152 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23153 s,@SHELL@,$SHELL,;t t
23154 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23155 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23156 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23157 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23158 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23159 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23160 s,@exec_prefix@,$exec_prefix,;t t
23161 s,@prefix@,$prefix,;t t
23162 s,@program_transform_name@,$program_transform_name,;t t
23163 s,@bindir@,$bindir,;t t
23164 s,@sbindir@,$sbindir,;t t
23165 s,@libexecdir@,$libexecdir,;t t
23166 s,@datadir@,$datadir,;t t
23167 s,@sysconfdir@,$sysconfdir,;t t
23168 s,@sharedstatedir@,$sharedstatedir,;t t
23169 s,@localstatedir@,$localstatedir,;t t
23170 s,@libdir@,$libdir,;t t
23171 s,@includedir@,$includedir,;t t
23172 s,@oldincludedir@,$oldincludedir,;t t
23173 s,@infodir@,$infodir,;t t
23174 s,@mandir@,$mandir,;t t
23175 s,@build_alias@,$build_alias,;t t
23176 s,@host_alias@,$host_alias,;t t
23177 s,@target_alias@,$target_alias,;t t
23178 s,@DEFS@,$DEFS,;t t
23179 s,@ECHO_C@,$ECHO_C,;t t
23180 s,@ECHO_N@,$ECHO_N,;t t
23181 s,@ECHO_T@,$ECHO_T,;t t
23182 s,@LIBS@,$LIBS,;t t
23183 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23184 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23185 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23186 s,@build@,$build,;t t
23187 s,@build_cpu@,$build_cpu,;t t
23188 s,@build_vendor@,$build_vendor,;t t
23189 s,@build_os@,$build_os,;t t
23190 s,@host@,$host,;t t
23191 s,@host_cpu@,$host_cpu,;t t
23192 s,@host_vendor@,$host_vendor,;t t
23193 s,@host_os@,$host_os,;t t
23194 s,@target@,$target,;t t
23195 s,@target_cpu@,$target_cpu,;t t
23196 s,@target_vendor@,$target_vendor,;t t
23197 s,@target_os@,$target_os,;t t
23199 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23200 s,@ARCH@,$ARCH,;t t
23202 s,@CXXFLAGS@,$CXXFLAGS,;t t
23203 s,@LDFLAGS@,$LDFLAGS,;t t
23204 s,@CPPFLAGS@,$CPPFLAGS,;t t
23205 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23206 s,@EXEEXT@,$EXEEXT,;t t
23207 s,@OBJEXT@,$OBJEXT,;t t
23209 s,@CFLAGS@,$CFLAGS,;t t
23210 s,@ac_ct_CC@,$ac_ct_CC,;t t
23212 s,@ifGNUmake@,$ifGNUmake,;t t
23214 s,@LEXLIB@,$LEXLIB,;t t
23215 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23216 s,@YACC@,$YACC,;t t
23217 s,@EGREP@,$EGREP,;t t
23218 s,@LN_S@,$LN_S,;t t
23219 s,@ECHO@,$ECHO,;t t
23221 s,@ac_ct_AR@,$ac_ct_AR,;t t
23222 s,@RANLIB@,$RANLIB,;t t
23223 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23224 s,@STRIP@,$STRIP,;t t
23225 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23226 s,@CXXCPP@,$CXXCPP,;t t
23228 s,@FFLAGS@,$FFLAGS,;t t
23229 s,@ac_ct_F77@,$ac_ct_F77,;t t
23230 s,@LIBTOOL@,$LIBTOOL,;t t
23231 s,@RPWD@,$RPWD,;t t
23234 s,@MKDIR@,$MKDIR,;t t
23235 s,@DATE@,$DATE,;t t
23238 s,@ETAGS@,$ETAGS,;t t
23239 s,@PURIFY@,$PURIFY,;t t
23240 s,@PYTHON@,$PYTHON,;t t
23241 s,@QMTEST@,$QMTEST,;t t
23242 s,@ALLOCA@,$ALLOCA,;t t
23243 s,@LIBOBJS@,$LIBOBJS,;t t
23244 s,@MMAP_FILE@,$MMAP_FILE,;t t
23245 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23246 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23247 s,@USE_SPEC@,$USE_SPEC,;t t
23249 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23251 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23253 s,@PAPIDIR@,$PAPIDIR,;t t
23258 cat >>$CONFIG_STATUS <<\_ACEOF
23259 # Split the substitutions into bite-sized pieces for seds with
23260 # small command number limits, like on Digital OSF/1 and HP-UX.
23261 ac_max_sed_lines=48
23262 ac_sed_frag=1 # Number of current file.
23263 ac_beg=1 # First line for current file.
23264 ac_end=$ac_max_sed_lines # Line after last line for current file.
23267 while $ac_more_lines; do
23268 if test $ac_beg -gt 1; then
23269 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23271 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23273 if test ! -s $tmp/subs.frag; then
23274 ac_more_lines=false
23276 # The purpose of the label and of the branching condition is to
23277 # speed up the sed processing (if there are no `@' at all, there
23278 # is no need to browse any of the substitutions).
23279 # These are the two extra sed commands mentioned above.
23281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23282 if test -z "$ac_sed_cmds"; then
23283 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23285 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23287 ac_sed_frag=`expr $ac_sed_frag + 1`
23289 ac_end=`expr $ac_end + $ac_max_sed_lines`
23292 if test -z "$ac_sed_cmds"; then
23295 fi # test -n "$CONFIG_FILES"
23298 cat >>$CONFIG_STATUS <<\_ACEOF
23299 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23300 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23302 - | *:- | *:-:* ) # input from stdin
23304 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23305 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23306 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23307 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23308 * ) ac_file_in=$ac_file.in ;;
23311 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23312 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23313 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23314 X"$ac_file" : 'X\(//\)[^/]' \| \
23315 X"$ac_file" : 'X\(//\)$' \| \
23316 X"$ac_file" : 'X\(/\)' \| \
23317 . : '\(.\)' 2>/dev/null ||
23319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23320 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23321 /^X\(\/\/\)$/{ s//\1/; q; }
23322 /^X\(\/\).*/{ s//\1/; q; }
23324 { case "$ac_dir" in
23325 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
23329 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
23330 case $as_mkdir_dir in
23331 # Skip DOS drivespec
23332 ?:) as_incr_dir=$as_mkdir_dir ;;
23334 as_incr_dir=$as_incr_dir/$as_mkdir_dir
23335 test -d "$as_incr_dir" ||
23336 mkdir "$as_incr_dir" ||
23337 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
23338 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
23339 { (exit 1); exit 1; }; }
23346 if test "$ac_dir" != .; then
23347 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23348 # A "../" for each directory in $ac_dir_suffix.
23349 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23351 ac_dir_suffix= ac_top_builddir=
23355 .) # No --srcdir option. We are building in place.
23357 if test -z "$ac_top_builddir"; then
23360 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23362 [\\/]* | ?:[\\/]* ) # Absolute path.
23363 ac_srcdir=$srcdir$ac_dir_suffix;
23364 ac_top_srcdir=$srcdir ;;
23365 *) # Relative path.
23366 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23367 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23369 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23371 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23372 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
23373 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23374 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23378 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23379 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23382 if test x"$ac_file" != x-; then
23383 { echo "$as_me:$LINENO: creating $ac_file" >&5
23384 echo "$as_me: creating $ac_file" >&6;}
23387 # Let's still pretend it is `configure' which instantiates (i.e., don't
23388 # use $as_me), people would be surprised to read:
23389 # /* config.h. Generated by config.status. */
23390 if test x"$ac_file" = x-; then
23393 configure_input="$ac_file. "
23395 configure_input=$configure_input"Generated from `echo $ac_file_in |
23396 sed 's,.*/,,'` by configure."
23398 # First look for the input files in the build tree, otherwise in the
23400 ac_file_inputs=`IFS=:
23401 for f in $ac_file_in; do
23403 -) echo $tmp/stdin ;;
23405 # Absolute (can't be DOS-style, as IFS=:)
23406 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23407 echo "$as_me: error: cannot find input file: $f" >&2;}
23408 { (exit 1); exit 1; }; }
23411 if test -f "$f"; then
23414 elif test -f "$srcdir/$f"; then
23419 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23420 echo "$as_me: error: cannot find input file: $f" >&2;}
23421 { (exit 1); exit 1; }; }
23424 done` || { (exit 1); exit 1; }
23426 cat >>$CONFIG_STATUS <<_ACEOF
23430 cat >>$CONFIG_STATUS <<\_ACEOF
23432 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23433 s,@configure_input@,$configure_input,;t t
23434 s,@srcdir@,$ac_srcdir,;t t
23435 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23436 s,@top_srcdir@,$ac_top_srcdir,;t t
23437 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23438 s,@builddir@,$ac_builddir,;t t
23439 s,@abs_builddir@,$ac_abs_builddir,;t t
23440 s,@top_builddir@,$ac_top_builddir,;t t
23441 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23442 s,@INSTALL@,$ac_INSTALL,;t t
23443 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23445 if test x"$ac_file" != x-; then
23446 mv $tmp/out $ac_file
23454 cat >>$CONFIG_STATUS <<\_ACEOF
23457 # CONFIG_HEADER section.
23460 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23461 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23463 # ac_d sets the value in "#define NAME VALUE" lines.
23464 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23465 ac_dB='[ ].*$,\1#\2'
23468 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23469 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23470 ac_uB='$,\1#\2define\3'
23474 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23475 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23477 - | *:- | *:-:* ) # input from stdin
23479 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23480 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23481 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23482 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23483 * ) ac_file_in=$ac_file.in ;;
23486 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23487 echo "$as_me: creating $ac_file" >&6;}
23489 # First look for the input files in the build tree, otherwise in the
23491 ac_file_inputs=`IFS=:
23492 for f in $ac_file_in; do
23494 -) echo $tmp/stdin ;;
23496 # Absolute (can't be DOS-style, as IFS=:)
23497 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23498 echo "$as_me: error: cannot find input file: $f" >&2;}
23499 { (exit 1); exit 1; }; }
23502 if test -f "$f"; then
23505 elif test -f "$srcdir/$f"; then
23510 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23511 echo "$as_me: error: cannot find input file: $f" >&2;}
23512 { (exit 1); exit 1; }; }
23515 done` || { (exit 1); exit 1; }
23516 # Remove the trailing spaces.
23517 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23521 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23522 # `conftest.undefs', that substitutes the proper values into
23523 # config.h.in to produce config.h. The first handles `#define'
23524 # templates, and the second `#undef' templates.
23525 # And first: Protect against being on the right side of a sed subst in
23526 # config.status. Protect against being in an unquoted here document
23527 # in config.status.
23528 rm -f conftest.defines conftest.undefs
23529 # Using a here document instead of a string reduces the quoting nightmare.
23530 # Putting comments in sed scripts is not portable.
23532 # `end' is used to avoid that the second main sed command (meant for
23533 # 0-ary CPP macros) applies to n-ary macro definitions.
23534 # See the Autoconf documentation for `clear'.
23535 cat >confdef2sed.sed <<\_ACEOF
23540 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23542 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23545 # If some macros were called several times there might be several times
23546 # the same #defines, which is useless. Nevertheless, we may not want to
23547 # sort them, since we want the *last* AC-DEFINE to be honored.
23548 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23549 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23550 rm -f confdef2sed.sed
23552 # This sed command replaces #undef with comments. This is necessary, for
23553 # example, in the case of _POSIX_SOURCE, which is predefined and required
23554 # on some systems where configure will not decide to define it.
23555 cat >>conftest.undefs <<\_ACEOF
23556 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23559 # Break up conftest.defines because some shells have a limit on the size
23560 # of here documents, and old seds have small limits too (100 cmds).
23561 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23562 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23563 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23564 echo ' :' >>$CONFIG_STATUS
23565 rm -f conftest.tail
23566 while grep . conftest.defines >/dev/null
23568 # Write a limited-size here document to $tmp/defines.sed.
23569 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23570 # Speed up: don't consider the non `#define' lines.
23571 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23572 # Work around the forget-to-reset-the-flag bug.
23573 echo 't clr' >>$CONFIG_STATUS
23574 echo ': clr' >>$CONFIG_STATUS
23575 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
23577 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23579 mv $tmp/out $tmp/in
23581 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
23582 rm -f conftest.defines
23583 mv conftest.tail conftest.defines
23585 rm -f conftest.defines
23586 echo ' fi # egrep' >>$CONFIG_STATUS
23587 echo >>$CONFIG_STATUS
23589 # Break up conftest.undefs because some shells have a limit on the size
23590 # of here documents, and old seds have small limits too (100 cmds).
23591 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23592 rm -f conftest.tail
23593 while grep . conftest.undefs >/dev/null
23595 # Write a limited-size here document to $tmp/undefs.sed.
23596 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23597 # Speed up: don't consider the non `#undef'
23598 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23599 # Work around the forget-to-reset-the-flag bug.
23600 echo 't clr' >>$CONFIG_STATUS
23601 echo ': clr' >>$CONFIG_STATUS
23602 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23604 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23606 mv $tmp/out $tmp/in
23608 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23609 rm -f conftest.undefs
23610 mv conftest.tail conftest.undefs
23612 rm -f conftest.undefs
23614 cat >>$CONFIG_STATUS <<\_ACEOF
23615 # Let's still pretend it is `configure' which instantiates (i.e., don't
23616 # use $as_me), people would be surprised to read:
23617 # /* config.h. Generated by config.status. */
23618 if test x"$ac_file" = x-; then
23619 echo "/* Generated by configure. */" >$tmp/config.h
23621 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23623 cat $tmp/in >>$tmp/config.h
23625 if test x"$ac_file" != x-; then
23626 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
23627 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23628 echo "$as_me: $ac_file is unchanged" >&6;}
23630 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23632 X"$ac_file" : 'X\(//\)[^/]' \| \
23633 X"$ac_file" : 'X\(//\)$' \| \
23634 X"$ac_file" : 'X\(/\)' \| \
23635 . : '\(.\)' 2>/dev/null ||
23637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23638 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23639 /^X\(\/\/\)$/{ s//\1/; q; }
23640 /^X\(\/\).*/{ s//\1/; q; }
23642 { case "$ac_dir" in
23643 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
23647 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
23648 case $as_mkdir_dir in
23649 # Skip DOS drivespec
23650 ?:) as_incr_dir=$as_mkdir_dir ;;
23652 as_incr_dir=$as_incr_dir/$as_mkdir_dir
23653 test -d "$as_incr_dir" ||
23654 mkdir "$as_incr_dir" ||
23655 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
23656 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
23657 { (exit 1); exit 1; }; }
23663 mv $tmp/config.h $ac_file
23667 rm -f $tmp/config.h
23671 cat >>$CONFIG_STATUS <<\_ACEOF
23674 # CONFIG_COMMANDS section.
23676 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
23677 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
23678 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
23679 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
23680 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23681 X"$ac_dest" : 'X\(//\)[^/]' \| \
23682 X"$ac_dest" : 'X\(//\)$' \| \
23683 X"$ac_dest" : 'X\(/\)' \| \
23684 . : '\(.\)' 2>/dev/null ||
23686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23687 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23688 /^X\(\/\/\)$/{ s//\1/; q; }
23689 /^X\(\/\).*/{ s//\1/; q; }
23693 if test "$ac_dir" != .; then
23694 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23695 # A "../" for each directory in $ac_dir_suffix.
23696 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23698 ac_dir_suffix= ac_top_builddir=
23702 .) # No --srcdir option. We are building in place.
23704 if test -z "$ac_top_builddir"; then
23707 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23709 [\\/]* | ?:[\\/]* ) # Absolute path.
23710 ac_srcdir=$srcdir$ac_dir_suffix;
23711 ac_top_srcdir=$srcdir ;;
23712 *) # Relative path.
23713 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23714 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23716 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23718 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23719 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
23720 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23721 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23724 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23725 echo "$as_me: executing $ac_dest commands" >&6;}
23727 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
23728 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
23729 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
23730 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
23731 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
23732 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
23733 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
23734 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
23735 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
23736 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
23737 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
23738 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
23739 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
23740 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
23741 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
23742 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
23743 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
23744 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
23745 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
23746 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
23747 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
23748 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
23749 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
23750 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
23751 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
23752 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
23753 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
23754 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
23755 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
23756 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
23757 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
23758 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
23759 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
23760 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
23761 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
23762 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
23763 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
23764 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
23765 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
23766 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
23767 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
23768 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
23769 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
23770 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
23771 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
23772 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
23773 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
23774 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
23775 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
23776 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
23777 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
23778 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
23779 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
23780 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
23781 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
23782 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
23783 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
23784 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
23785 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
23786 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
23787 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
23788 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
23789 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
23790 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
23791 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
23792 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 ;;
23793 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 ;;
23794 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 ;;
23795 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 ;;
23796 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 ;;
23797 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 ;;
23798 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 ;;
23799 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 ;;
23800 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 ;;
23801 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 ;;
23802 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 ;;
23803 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 ;;
23804 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 ;;
23805 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 ;;
23806 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 ;;
23807 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
23808 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
23809 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
23810 test/Programs/MultiSource/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Burg/Makefile test/Programs/MultiSource/Burg/Makefile ;;
23811 test/Programs/MultiSource/Fhourstones/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Fhourstones/Makefile test/Programs/MultiSource/Fhourstones/Makefile ;;
23812 test/Programs/MultiSource/McCat/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/Makefile test/Programs/MultiSource/McCat/Makefile ;;
23813 test/Programs/MultiSource/McCat/01-qbsort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/01-qbsort/Makefile test/Programs/MultiSource/McCat/01-qbsort/Makefile ;;
23814 test/Programs/MultiSource/McCat/03-testtrie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/03-testtrie/Makefile test/Programs/MultiSource/McCat/03-testtrie/Makefile ;;
23815 test/Programs/MultiSource/McCat/04-bisect/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/04-bisect/Makefile test/Programs/MultiSource/McCat/04-bisect/Makefile ;;
23816 test/Programs/MultiSource/McCat/05-eks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/05-eks/Makefile test/Programs/MultiSource/McCat/05-eks/Makefile ;;
23817 test/Programs/MultiSource/McCat/08-main/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/08-main/Makefile test/Programs/MultiSource/McCat/08-main/Makefile ;;
23818 test/Programs/MultiSource/McCat/09-vor/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/09-vor/Makefile test/Programs/MultiSource/McCat/09-vor/Makefile ;;
23819 test/Programs/MultiSource/McCat/12-IOtest/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/12-IOtest/Makefile test/Programs/MultiSource/McCat/12-IOtest/Makefile ;;
23820 test/Programs/MultiSource/McCat/15-trie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/15-trie/Makefile test/Programs/MultiSource/McCat/15-trie/Makefile ;;
23821 test/Programs/MultiSource/McCat/17-bintr/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/17-bintr/Makefile test/Programs/MultiSource/McCat/17-bintr/Makefile ;;
23822 test/Programs/MultiSource/McCat/18-imp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/18-imp/Makefile test/Programs/MultiSource/McCat/18-imp/Makefile ;;
23823 test/Programs/MultiSource/Olden/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/Makefile test/Programs/MultiSource/Olden/Makefile ;;
23824 test/Programs/MultiSource/Olden/bh/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/bh/Makefile test/Programs/MultiSource/Olden/bh/Makefile ;;
23825 test/Programs/MultiSource/Olden/bisort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/bisort/Makefile test/Programs/MultiSource/Olden/bisort/Makefile ;;
23826 test/Programs/MultiSource/Olden/em3d/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/em3d/Makefile test/Programs/MultiSource/Olden/em3d/Makefile ;;
23827 test/Programs/MultiSource/Olden/health/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/health/Makefile test/Programs/MultiSource/Olden/health/Makefile ;;
23828 test/Programs/MultiSource/Olden/mst/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/mst/Makefile test/Programs/MultiSource/Olden/mst/Makefile ;;
23829 test/Programs/MultiSource/Olden/perimeter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/perimeter/Makefile test/Programs/MultiSource/Olden/perimeter/Makefile ;;
23830 test/Programs/MultiSource/Olden/power/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/power/Makefile test/Programs/MultiSource/Olden/power/Makefile ;;
23831 test/Programs/MultiSource/Olden/treeadd/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/treeadd/Makefile test/Programs/MultiSource/Olden/treeadd/Makefile ;;
23832 test/Programs/MultiSource/Olden/tsp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/tsp/Makefile test/Programs/MultiSource/Olden/tsp/Makefile ;;
23833 test/Programs/MultiSource/Olden/voronoi/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/voronoi/Makefile test/Programs/MultiSource/Olden/voronoi/Makefile ;;
23834 test/Programs/MultiSource/OptimizerEval/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/OptimizerEval/Makefile test/Programs/MultiSource/OptimizerEval/Makefile ;;
23835 test/Programs/MultiSource/Ptrdist/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/Makefile test/Programs/MultiSource/Ptrdist/Makefile ;;
23836 test/Programs/MultiSource/Ptrdist/anagram/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/anagram/Makefile test/Programs/MultiSource/Ptrdist/anagram/Makefile ;;
23837 test/Programs/MultiSource/Ptrdist/bc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/bc/Makefile test/Programs/MultiSource/Ptrdist/bc/Makefile ;;
23838 test/Programs/MultiSource/Ptrdist/ft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/ft/Makefile test/Programs/MultiSource/Ptrdist/ft/Makefile ;;
23839 test/Programs/MultiSource/Ptrdist/ks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/ks/Makefile test/Programs/MultiSource/Ptrdist/ks/Makefile ;;
23840 test/Programs/MultiSource/Ptrdist/yacr2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/yacr2/Makefile test/Programs/MultiSource/Ptrdist/yacr2/Makefile ;;
23841 test/Programs/MultiSource/aha/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/aha/Makefile test/Programs/MultiSource/aha/Makefile ;;
23842 test/Programs/MultiSource/llubenchmark/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/llubenchmark/Makefile test/Programs/MultiSource/llubenchmark/Makefile ;;
23843 test/Programs/MultiSource/sgefa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/sgefa/Makefile test/Programs/MultiSource/sgefa/Makefile ;;
23844 test/Programs/MultiSource/sim/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/sim/Makefile test/Programs/MultiSource/sim/Makefile ;;
23845 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
23846 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
23847 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
23848 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 ;;
23849 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
23850 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
23851 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
23852 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
23853 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
23854 test/Programs/SingleSource/Shootout/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Shootout/Makefile test/Programs/SingleSource/Shootout/Makefile ;;
23855 test/Programs/SingleSource/Stanford/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Stanford/Makefile test/Programs/SingleSource/Stanford/Makefile ;;
23856 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
23857 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
23858 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
23859 tools/as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/as/Makefile tools/as/Makefile ;;
23860 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
23861 tools/dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/dis/Makefile tools/dis/Makefile ;;
23862 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
23863 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
23864 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
23865 tools/link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/link/Makefile tools/link/Makefile ;;
23866 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
23867 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
23868 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
23869 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
23870 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
23871 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
23872 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
23873 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
23874 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
23875 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
23876 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
23877 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
23878 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
23879 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
23880 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
23881 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
23882 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
23883 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
23884 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
23885 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
23886 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
23887 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
23888 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
23893 cat >>$CONFIG_STATUS <<\_ACEOF
23895 { (exit 0); exit 0; }
23897 chmod +x $CONFIG_STATUS
23898 ac_clean_files=$ac_clean_files_save
23901 # configure is writing to config.log, and then calls config.status.
23902 # config.status does its own redirection, appending to config.log.
23903 # Unfortunately, on DOS this fails, as config.log is still kept open
23904 # by configure, so config.status won't be able to write to it; its
23905 # output is simply discarded. So we exec the FD to /dev/null,
23906 # effectively closing config.log, so it can be properly (re)opened and
23907 # appended to by config.status. When coming back to configure, we
23908 # need to make the FD available again.
23909 if test "$no_create" != yes; then
23912 $SHELL $CONFIG_STATUS || ac_cs_success=false
23914 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23915 # would make configure fail if this is the last instruction.
23916 $ac_cs_success || { (exit 1); exit 1; }