2 # Guess values for system-dependent variables and create Makefiles.
\r
3 # Generated by GNU Autoconf 2.63 for libantlr3c 3.2.
\r
5 # Report bugs to <jimi@temporal-wave.com>.
\r
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
\r
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
\r
9 # This configure script is free software; the Free Software Foundation
\r
10 # gives unlimited permission to copy, distribute and modify it.
\r
13 # (The "BSD licence")
\r
14 # Copyright (c) 2005-2009 Jim Idle, Temporal Wave LLC
\r
15 # http://www.temporal-wave.com
\r
16 # http://www.linkedin.com/in/jimidle
\r
17 # All rights reserved.
\r
19 # Redistribution and use in source and binary forms, with or without
\r
20 # modification, are permitted provided that the following conditions
\r
22 # 1. Redistributions of source code must retain the above copyright
\r
23 # notice, this list of conditions and the following disclaimer.
\r
24 # 2. Redistributions in binary form must reproduce the above copyright
\r
25 # notice, this list of conditions and the following disclaimer in the
\r
26 # documentation and/or other materials provided with the distribution.
\r
27 # 3. The name of the author may not be used to endorse or promote products
\r
28 # derived from this software without specific prior written permission.
\r
30 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
\r
31 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
\r
32 # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
\r
33 # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
\r
34 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
\r
35 # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
\r
36 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
\r
37 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
\r
38 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
\r
39 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\r
41 ## --------------------- ##
\r
42 ## M4sh Initialization. ##
\r
43 ## --------------------- ##
\r
45 # Be more Bourne compatible
\r
46 DUALCASE=1; export DUALCASE # for MKS sh
\r
47 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
\r
50 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
\r
51 # is contrary to our usage. Disable this feature.
\r
52 alias -g '${1+"$@"}'='"$@"'
\r
53 setopt NO_GLOB_SUBST
\r
55 case `(set -o) 2>/dev/null` in
\r
56 *posix*) set -o posix ;;
\r
65 # Avoid depending upon Character Ranges.
\r
66 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
\r
67 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
\r
68 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
\r
69 as_cr_digits='0123456789'
\r
70 as_cr_alnum=$as_cr_Letters$as_cr_digits
\r
75 # Printing a long string crashes Solaris 7 /usr/bin/printf.
\r
76 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
\r
77 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
\r
78 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
\r
79 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
\r
80 as_echo='printf %s\n'
\r
81 as_echo_n='printf %s'
\r
83 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
\r
84 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
\r
85 as_echo_n='/usr/ucb/echo -n'
\r
87 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
\r
88 as_echo_n_body='eval
\r
92 expr "X$arg" : "X\\(.*\\)$as_nl";
\r
93 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
\r
95 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
\r
97 export as_echo_n_body
\r
98 as_echo_n='sh -c $as_echo_n_body as_echo'
\r
100 export as_echo_body
\r
101 as_echo='sh -c $as_echo_body as_echo'
\r
104 # The user is always right.
\r
105 if test "${PATH_SEPARATOR+set}" != set; then
\r
107 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
\r
108 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
\r
113 # Support unset when possible.
\r
114 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
\r
122 # We need space, tab and new line, in precisely that order. Quoting is
\r
123 # there to prevent editors from complaining about space-tab.
\r
124 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
\r
125 # splitting by setting IFS to empty value.)
\r
128 # Find who we are. Look in the path if we contain no directory separator.
\r
130 *[\\/]* ) as_myself=$0 ;;
\r
131 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
132 for as_dir in $PATH
\r
135 test -z "$as_dir" && as_dir=.
\r
136 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
\r
142 # We did not find ourselves, most probably we were run as `sh COMMAND'
\r
143 # in which case we are not to be found in the path.
\r
144 if test "x$as_myself" = x; then
\r
147 if test ! -f "$as_myself"; then
\r
148 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
\r
149 { (exit 1); exit 1; }
\r
152 # Work around bugs in pre-3.0 UWIN ksh.
\r
153 for as_var in ENV MAIL MAILPATH
\r
154 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
\r
166 # Required to use basename.
\r
167 if expr a : '\(a\)' >/dev/null 2>&1 &&
\r
168 test "X`expr 00001 : '.*\(...\)'`" = X001; then
\r
174 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
\r
175 as_basename=basename
\r
181 # Name of the executable.
\r
182 as_me=`$as_basename -- "$0" ||
\r
183 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
\r
184 X"$0" : 'X\(//\)$' \| \
\r
185 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
\r
187 sed '/^.*\/\([^/][^/]*\)\/*$/{
\r
205 if test "x$CONFIG_SHELL" = x; then
\r
206 if (eval ":") 2>/dev/null; then
\r
207 as_have_required=yes
\r
209 as_have_required=no
\r
212 if test $as_have_required = yes && (eval ":
\r
213 (as_func_return () {
\r
216 as_func_success () {
\r
219 as_func_failure () {
\r
222 as_func_ret_success () {
\r
225 as_func_ret_failure () {
\r
230 if as_func_success; then
\r
234 echo as_func_success failed.
\r
237 if as_func_failure; then
\r
239 echo as_func_failure succeeded.
\r
242 if as_func_ret_success; then
\r
246 echo as_func_ret_success failed.
\r
249 if as_func_ret_failure; then
\r
251 echo as_func_ret_failure succeeded.
\r
254 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
\r
258 echo positional parameters were not saved.
\r
261 test \$exitcode = 0) || { (exit 1); exit 1; }
\r
264 as_lineno_1=\$LINENO
\r
265 as_lineno_2=\$LINENO
\r
266 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
\r
267 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
\r
268 ") 2> /dev/null; then
\r
271 as_candidate_shells=
\r
272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
273 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
\r
276 test -z "$as_dir" && as_dir=.
\r
279 for as_base in sh bash ksh sh5; do
\r
280 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
\r
287 for as_shell in $as_candidate_shells $SHELL; do
\r
288 # Try only shells that exist, to save several forks.
\r
289 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
\r
290 { ("$as_shell") 2> /dev/null <<\_ASEOF
\r
291 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
\r
294 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
\r
295 # is contrary to our usage. Disable this feature.
\r
296 alias -g '${1+"$@"}'='"$@"'
\r
297 setopt NO_GLOB_SUBST
\r
299 case `(set -o) 2>/dev/null` in
\r
300 *posix*) set -o posix ;;
\r
309 CONFIG_SHELL=$as_shell
\r
310 as_have_required=yes
\r
311 if { "$as_shell" 2> /dev/null <<\_ASEOF
\r
312 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
\r
315 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
\r
316 # is contrary to our usage. Disable this feature.
\r
317 alias -g '${1+"$@"}'='"$@"'
\r
318 setopt NO_GLOB_SUBST
\r
320 case `(set -o) 2>/dev/null` in
\r
321 *posix*) set -o posix ;;
\r
328 (as_func_return () {
\r
331 as_func_success () {
\r
334 as_func_failure () {
\r
337 as_func_ret_success () {
\r
340 as_func_ret_failure () {
\r
345 if as_func_success; then
\r
349 echo as_func_success failed.
\r
352 if as_func_failure; then
\r
354 echo as_func_failure succeeded.
\r
357 if as_func_ret_success; then
\r
361 echo as_func_ret_success failed.
\r
364 if as_func_ret_failure; then
\r
366 echo as_func_ret_failure succeeded.
\r
369 if ( set x; as_func_ret_success y && test x = "$1" ); then
\r
373 echo positional parameters were not saved.
\r
376 test $exitcode = 0) || { (exit 1); exit 1; }
\r
379 as_lineno_1=$LINENO
\r
380 as_lineno_2=$LINENO
\r
381 test "x$as_lineno_1" != "x$as_lineno_2" &&
\r
382 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
\r
393 if test "x$CONFIG_SHELL" != x; then
\r
394 for as_var in BASH_ENV ENV
\r
395 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
\r
397 export CONFIG_SHELL
\r
398 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
\r
402 if test $as_have_required = no; then
\r
403 echo This script requires a shell more modern than all the
\r
404 echo shells that I found on your system. Please install a
\r
405 echo modern shell, or manually run the script under such a
\r
406 echo shell if you do have one.
\r
407 { (exit 1); exit 1; }
\r
417 (eval "as_func_return () {
\r
420 as_func_success () {
\r
423 as_func_failure () {
\r
426 as_func_ret_success () {
\r
429 as_func_ret_failure () {
\r
434 if as_func_success; then
\r
438 echo as_func_success failed.
\r
441 if as_func_failure; then
\r
443 echo as_func_failure succeeded.
\r
446 if as_func_ret_success; then
\r
450 echo as_func_ret_success failed.
\r
453 if as_func_ret_failure; then
\r
455 echo as_func_ret_failure succeeded.
\r
458 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
\r
462 echo positional parameters were not saved.
\r
465 test \$exitcode = 0") || {
\r
466 echo No shell found that supports shell functions.
\r
467 echo Please tell bug-autoconf@gnu.org about your system,
\r
468 echo including any error possibly output before this message.
\r
469 echo This can help us improve future autoconf versions.
\r
470 echo Configuration will now proceed without shell functions.
\r
475 as_lineno_1=$LINENO
\r
476 as_lineno_2=$LINENO
\r
477 test "x$as_lineno_1" != "x$as_lineno_2" &&
\r
478 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
\r
480 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
\r
481 # uniformly replaced by the line number. The first 'sed' inserts a
\r
482 # line-number line after each line using $LINENO; the second 'sed'
\r
483 # does the real work. The second script uses 'N' to pair each
\r
484 # line-number line with the line containing $LINENO, and appends
\r
485 # trailing '-' during substitution so that $LINENO is not a special
\r
486 # case at line end.
\r
487 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
\r
488 # scripts with optimization help from Paolo Bonzini. Blame Lee
\r
489 # E. McMahon (1931-1989) for sed's syntax. :-)
\r
501 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
\r
504 ' >$as_me.lineno &&
\r
505 chmod +x "$as_me.lineno" ||
\r
506 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
\r
507 { (exit 1); exit 1; }; }
\r
509 # Don't try to exec as it changes $[0], causing all sort of problems
\r
510 # (the dirname of $[0] is not the place where we might find the
\r
511 # original and so on. Autoconf is especially sensitive to this).
\r
512 . "./$as_me.lineno"
\r
513 # Exit status is that of the last command.
\r
518 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
\r
524 ECHO_C= ECHO_N= ECHO_T=
\r
525 case `echo -n x` in
\r
527 case `echo 'x\c'` in
\r
528 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
\r
534 if expr a : '\(a\)' >/dev/null 2>&1 &&
\r
535 test "X`expr 00001 : '.*\(...\)'`" = X001; then
\r
541 rm -f conf$$ conf$$.exe conf$$.file
\r
542 if test -d conf$$.dir; then
\r
543 rm -f conf$$.dir/conf$$.file
\r
546 mkdir conf$$.dir 2>/dev/null
\r
548 if (echo >conf$$.file) 2>/dev/null; then
\r
549 if ln -s conf$$.file conf$$ 2>/dev/null; then
\r
551 # ... but there are two gotchas:
\r
552 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
\r
553 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
\r
554 # In both cases, we have to default to `cp -p'.
\r
555 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
\r
557 elif ln conf$$.file conf$$ 2>/dev/null; then
\r
565 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
\r
566 rmdir conf$$.dir 2>/dev/null
\r
568 if mkdir -p . 2>/dev/null; then
\r
571 test -d ./-p && rmdir ./-p
\r
575 if test -x / >/dev/null 2>&1; then
\r
576 as_test_x='test -x'
\r
578 if ls -dL / >/dev/null 2>&1; then
\r
585 if test -d "$1"; then
\r
591 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
\r
592 ???[sx]*):;;*)false;;esac;fi
\r
596 as_executable_p=$as_test_x
\r
598 # Sed expression to map a string onto a valid CPP name.
\r
599 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
\r
601 # Sed expression to map a string onto a valid variable name.
\r
602 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
\r
607 # Check that we are running under the correct shell.
\r
608 SHELL=${CONFIG_SHELL-/bin/sh}
\r
612 # Remove one level of quotation (which was required for Make).
\r
613 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
\r
618 if test "X$1" = X--no-reexec; then
\r
619 # Discard the --no-reexec flag, and continue.
\r
621 elif test "X$1" = X--fallback-echo; then
\r
622 # Avoid inline document here, it may be left over
\r
624 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
\r
625 # Yippee, $echo works!
\r
628 # Restart under the correct shell.
\r
629 exec $SHELL "$0" --no-reexec ${1+"$@"}
\r
632 if test "X$1" = X--fallback-echo; then
\r
633 # used as fallback echo
\r
641 # The HP-UX ksh and POSIX shell print the target directory to stdout
\r
642 # if CDPATH is set.
\r
643 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
\r
645 if test -z "$ECHO"; then
\r
646 if test "X${echo_test_string+set}" != Xset; then
\r
647 # find a string as large as possible, as long as the shell can cope with it
\r
648 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
\r
649 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
\r
650 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
\r
651 echo_test_string=`eval $cmd` &&
\r
652 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
\r
659 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
\r
660 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
\r
661 test "X$echo_testing_string" = "X$echo_test_string"; then
\r
664 # The Solaris, AIX, and Digital Unix default echo programs unquote
\r
665 # backslashes. This makes it impossible to quote backslashes using
\r
666 # echo "$something" | sed 's/\\/\\\\/g'
\r
668 # So, first we look for a working echo in the user's PATH.
\r
670 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
\r
671 for dir in $PATH /usr/ucb; do
\r
673 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
\r
674 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
\r
675 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
\r
676 test "X$echo_testing_string" = "X$echo_test_string"; then
\r
683 if test "X$echo" = Xecho; then
\r
684 # We didn't find a better echo, so look for alternatives.
\r
685 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
\r
686 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
\r
687 test "X$echo_testing_string" = "X$echo_test_string"; then
\r
688 # This shell has a builtin print -r that does the trick.
\r
690 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
\r
691 test "X$CONFIG_SHELL" != X/bin/ksh; then
\r
692 # If we have ksh, try running configure again with it.
\r
693 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
\r
694 export ORIGINAL_CONFIG_SHELL
\r
695 CONFIG_SHELL=/bin/ksh
\r
696 export CONFIG_SHELL
\r
697 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
\r
699 # Try using printf.
\r
701 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
\r
702 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
\r
703 test "X$echo_testing_string" = "X$echo_test_string"; then
\r
704 # Cool, printf works
\r
706 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
\r
707 test "X$echo_testing_string" = 'X\t' &&
\r
708 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
\r
709 test "X$echo_testing_string" = "X$echo_test_string"; then
\r
710 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
\r
711 export CONFIG_SHELL
\r
712 SHELL="$CONFIG_SHELL"
\r
714 echo="$CONFIG_SHELL $0 --fallback-echo"
\r
715 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
\r
716 test "X$echo_testing_string" = 'X\t' &&
\r
717 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
\r
718 test "X$echo_testing_string" = "X$echo_test_string"; then
\r
719 echo="$CONFIG_SHELL $0 --fallback-echo"
\r
721 # maybe with a smaller string...
\r
724 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
\r
725 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
\r
732 if test "$prev" != 'sed 50q "$0"'; then
\r
733 echo_test_string=`eval $prev`
\r
734 export echo_test_string
\r
735 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
\r
737 # Oops. We lost completely, so just stick with echo.
\r
746 # Copy echo and quote the copy suitably for passing to libtool from
\r
747 # the Makefile, instead of quoting the original, which is used later.
\r
749 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
\r
750 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
\r
756 tagnames=${tagnames+${tagnames},}CXX
\r
758 tagnames=${tagnames+${tagnames},}F77
\r
760 exec 7<&0 </dev/null 6>&1
\r
762 # Name of the host.
\r
763 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
\r
764 # so uname gets run too.
\r
765 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
\r
770 ac_default_prefix=/usr/local
\r
772 ac_config_libobj_dir=.
\r
778 SHELL=${CONFIG_SHELL-/bin/sh}
\r
780 # Identity of this package.
\r
781 PACKAGE_NAME='libantlr3c'
\r
782 PACKAGE_TARNAME='libantlr3c'
\r
783 PACKAGE_VERSION='3.2'
\r
784 PACKAGE_STRING='libantlr3c 3.2'
\r
785 PACKAGE_BUGREPORT='jimi@temporal-wave.com'
\r
787 ac_unique_file="src/antlr3parser.c"
\r
788 # Factoring default headers for most tests.
\r
789 ac_includes_default="\
\r
791 #ifdef HAVE_SYS_TYPES_H
\r
792 # include <sys/types.h>
\r
794 #ifdef HAVE_SYS_STAT_H
\r
795 # include <sys/stat.h>
\r
797 #ifdef STDC_HEADERS
\r
798 # include <stdlib.h>
\r
799 # include <stddef.h>
\r
801 # ifdef HAVE_STDLIB_H
\r
802 # include <stdlib.h>
\r
805 #ifdef HAVE_STRING_H
\r
806 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
\r
807 # include <memory.h>
\r
809 # include <string.h>
\r
811 #ifdef HAVE_STRINGS_H
\r
812 # include <strings.h>
\r
814 #ifdef HAVE_INTTYPES_H
\r
815 # include <inttypes.h>
\r
817 #ifdef HAVE_STDINT_H
\r
818 # include <stdint.h>
\r
820 #ifdef HAVE_UNISTD_H
\r
821 # include <unistd.h>
\r
824 ac_subst_vars='LTLIBOBJS
\r
832 am__fastdepCXX_FALSE
\r
833 am__fastdepCXX_TRUE
\r
855 MAINTAINER_MODE_FALSE
\r
856 MAINTAINER_MODE_TRUE
\r
857 am__fastdepCC_FALSE
\r
880 INSTALL_STRIP_PROGRAM
\r
921 program_transform_name
\r
933 enable_option_checking
\r
938 enable_dependency_tracking
\r
939 enable_maintainer_mode
\r
942 enable_fast_install
\r
944 enable_libtool_lock
\r
948 ac_precious_vars='build_alias
\r
965 # Initialize some variables set by options.
\r
967 ac_init_version=false
\r
968 ac_unrecognized_opts=
\r
969 ac_unrecognized_sep=
\r
970 # The variables have the same names as the options, with
\r
971 # dashes changed to underlines.
\r
972 cache_file=/dev/null
\r
977 program_prefix=NONE
\r
978 program_suffix=NONE
\r
979 program_transform_name=s,x,x,
\r
987 # Installation directory options.
\r
988 # These are left unexpanded so users can "make install exec_prefix=/foo"
\r
989 # and all the variables that are supposed to be based on exec_prefix
\r
990 # by default will actually change.
\r
991 # Use braces instead of parens because sh, perl, etc. also accept them.
\r
992 # (The list follows the same order as the GNU Coding Standards.)
\r
993 bindir='${exec_prefix}/bin'
\r
994 sbindir='${exec_prefix}/sbin'
\r
995 libexecdir='${exec_prefix}/libexec'
\r
996 datarootdir='${prefix}/share'
\r
997 datadir='${datarootdir}'
\r
998 sysconfdir='${prefix}/etc'
\r
999 sharedstatedir='${prefix}/com'
\r
1000 localstatedir='${prefix}/var'
\r
1001 includedir='${prefix}/include'
\r
1002 oldincludedir='/usr/include'
\r
1003 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
\r
1004 infodir='${datarootdir}/info'
\r
1005 htmldir='${docdir}'
\r
1006 dvidir='${docdir}'
\r
1007 pdfdir='${docdir}'
\r
1009 libdir='${exec_prefix}/lib'
\r
1010 localedir='${datarootdir}/locale'
\r
1011 mandir='${datarootdir}/man'
\r
1017 # If the previous option needs an argument, assign it.
\r
1018 if test -n "$ac_prev"; then
\r
1019 eval $ac_prev=\$ac_option
\r
1024 case $ac_option in
\r
1025 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
\r
1026 *) ac_optarg=yes ;;
\r
1029 # Accept the important Cygnus configure options, so we can diagnose typos.
\r
1031 case $ac_dashdash$ac_option in
\r
1033 ac_dashdash=yes ;;
\r
1035 -bindir | --bindir | --bindi | --bind | --bin | --bi)
\r
1037 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
\r
1038 bindir=$ac_optarg ;;
\r
1040 -build | --build | --buil | --bui | --bu)
\r
1041 ac_prev=build_alias ;;
\r
1042 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
\r
1043 build_alias=$ac_optarg ;;
\r
1045 -cache-file | --cache-file | --cache-fil | --cache-fi \
\r
1046 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
\r
1047 ac_prev=cache_file ;;
\r
1048 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
\r
1049 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
\r
1050 cache_file=$ac_optarg ;;
\r
1052 --config-cache | -C)
\r
1053 cache_file=config.cache ;;
\r
1055 -datadir | --datadir | --datadi | --datad)
\r
1056 ac_prev=datadir ;;
\r
1057 -datadir=* | --datadir=* | --datadi=* | --datad=*)
\r
1058 datadir=$ac_optarg ;;
\r
1060 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
\r
1061 | --dataroo | --dataro | --datar)
\r
1062 ac_prev=datarootdir ;;
\r
1063 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
\r
1064 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
\r
1065 datarootdir=$ac_optarg ;;
\r
1067 -disable-* | --disable-*)
\r
1068 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
\r
1069 # Reject names that are not valid shell variable names.
\r
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
\r
1071 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
\r
1072 { (exit 1); exit 1; }; }
\r
1073 ac_useropt_orig=$ac_useropt
\r
1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
\r
1075 case $ac_user_opts in
\r
1077 "enable_$ac_useropt"
\r
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
\r
1080 ac_unrecognized_sep=', ';;
\r
1082 eval enable_$ac_useropt=no ;;
\r
1084 -docdir | --docdir | --docdi | --doc | --do)
\r
1086 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
\r
1087 docdir=$ac_optarg ;;
\r
1089 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
\r
1091 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
\r
1092 dvidir=$ac_optarg ;;
\r
1094 -enable-* | --enable-*)
\r
1095 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
\r
1096 # Reject names that are not valid shell variable names.
\r
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
\r
1098 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
\r
1099 { (exit 1); exit 1; }; }
\r
1100 ac_useropt_orig=$ac_useropt
\r
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
\r
1102 case $ac_user_opts in
\r
1104 "enable_$ac_useropt"
\r
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
\r
1107 ac_unrecognized_sep=', ';;
\r
1109 eval enable_$ac_useropt=\$ac_optarg ;;
\r
1111 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
\r
1112 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
\r
1113 | --exec | --exe | --ex)
\r
1114 ac_prev=exec_prefix ;;
\r
1115 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
\r
1116 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
\r
1117 | --exec=* | --exe=* | --ex=*)
\r
1118 exec_prefix=$ac_optarg ;;
\r
1120 -gas | --gas | --ga | --g)
\r
1121 # Obsolete; use --with-gas.
\r
1124 -help | --help | --hel | --he | -h)
\r
1125 ac_init_help=long ;;
\r
1126 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
\r
1127 ac_init_help=recursive ;;
\r
1128 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
\r
1129 ac_init_help=short ;;
\r
1131 -host | --host | --hos | --ho)
\r
1132 ac_prev=host_alias ;;
\r
1133 -host=* | --host=* | --hos=* | --ho=*)
\r
1134 host_alias=$ac_optarg ;;
\r
1136 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
\r
1137 ac_prev=htmldir ;;
\r
1138 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
\r
1140 htmldir=$ac_optarg ;;
\r
1142 -includedir | --includedir | --includedi | --included | --include \
\r
1143 | --includ | --inclu | --incl | --inc)
\r
1144 ac_prev=includedir ;;
\r
1145 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
\r
1146 | --includ=* | --inclu=* | --incl=* | --inc=*)
\r
1147 includedir=$ac_optarg ;;
\r
1149 -infodir | --infodir | --infodi | --infod | --info | --inf)
\r
1150 ac_prev=infodir ;;
\r
1151 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
\r
1152 infodir=$ac_optarg ;;
\r
1154 -libdir | --libdir | --libdi | --libd)
\r
1156 -libdir=* | --libdir=* | --libdi=* | --libd=*)
\r
1157 libdir=$ac_optarg ;;
\r
1159 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
\r
1160 | --libexe | --libex | --libe)
\r
1161 ac_prev=libexecdir ;;
\r
1162 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
\r
1163 | --libexe=* | --libex=* | --libe=*)
\r
1164 libexecdir=$ac_optarg ;;
\r
1166 -localedir | --localedir | --localedi | --localed | --locale)
\r
1167 ac_prev=localedir ;;
\r
1168 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
\r
1169 localedir=$ac_optarg ;;
\r
1171 -localstatedir | --localstatedir | --localstatedi | --localstated \
\r
1172 | --localstate | --localstat | --localsta | --localst | --locals)
\r
1173 ac_prev=localstatedir ;;
\r
1174 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
\r
1175 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
\r
1176 localstatedir=$ac_optarg ;;
\r
1178 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
\r
1180 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
\r
1181 mandir=$ac_optarg ;;
\r
1183 -nfp | --nfp | --nf)
\r
1184 # Obsolete; use --without-fp.
\r
1187 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
\r
1188 | --no-cr | --no-c | -n)
\r
1191 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
\r
1192 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
\r
1193 no_recursion=yes ;;
\r
1195 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
\r
1196 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
\r
1197 | --oldin | --oldi | --old | --ol | --o)
\r
1198 ac_prev=oldincludedir ;;
\r
1199 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
\r
1200 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
\r
1201 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
\r
1202 oldincludedir=$ac_optarg ;;
\r
1204 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
\r
1206 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
\r
1207 prefix=$ac_optarg ;;
\r
1209 -program-prefix | --program-prefix | --program-prefi | --program-pref \
\r
1210 | --program-pre | --program-pr | --program-p)
\r
1211 ac_prev=program_prefix ;;
\r
1212 -program-prefix=* | --program-prefix=* | --program-prefi=* \
\r
1213 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
\r
1214 program_prefix=$ac_optarg ;;
\r
1216 -program-suffix | --program-suffix | --program-suffi | --program-suff \
\r
1217 | --program-suf | --program-su | --program-s)
\r
1218 ac_prev=program_suffix ;;
\r
1219 -program-suffix=* | --program-suffix=* | --program-suffi=* \
\r
1220 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
\r
1221 program_suffix=$ac_optarg ;;
\r
1223 -program-transform-name | --program-transform-name \
\r
1224 | --program-transform-nam | --program-transform-na \
\r
1225 | --program-transform-n | --program-transform- \
\r
1226 | --program-transform | --program-transfor \
\r
1227 | --program-transfo | --program-transf \
\r
1228 | --program-trans | --program-tran \
\r
1229 | --progr-tra | --program-tr | --program-t)
\r
1230 ac_prev=program_transform_name ;;
\r
1231 -program-transform-name=* | --program-transform-name=* \
\r
1232 | --program-transform-nam=* | --program-transform-na=* \
\r
1233 | --program-transform-n=* | --program-transform-=* \
\r
1234 | --program-transform=* | --program-transfor=* \
\r
1235 | --program-transfo=* | --program-transf=* \
\r
1236 | --program-trans=* | --program-tran=* \
\r
1237 | --progr-tra=* | --program-tr=* | --program-t=*)
\r
1238 program_transform_name=$ac_optarg ;;
\r
1240 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
\r
1242 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
\r
1243 pdfdir=$ac_optarg ;;
\r
1245 -psdir | --psdir | --psdi | --psd | --ps)
\r
1247 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
\r
1248 psdir=$ac_optarg ;;
\r
1250 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
\r
1251 | -silent | --silent | --silen | --sile | --sil)
\r
1254 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
\r
1255 ac_prev=sbindir ;;
\r
1256 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
\r
1257 | --sbi=* | --sb=*)
\r
1258 sbindir=$ac_optarg ;;
\r
1260 -sharedstatedir | --sharedstatedir | --sharedstatedi \
\r
1261 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
\r
1262 | --sharedst | --shareds | --shared | --share | --shar \
\r
1264 ac_prev=sharedstatedir ;;
\r
1265 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
\r
1266 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
\r
1267 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
\r
1268 | --sha=* | --sh=*)
\r
1269 sharedstatedir=$ac_optarg ;;
\r
1271 -site | --site | --sit)
\r
1273 -site=* | --site=* | --sit=*)
\r
1274 site=$ac_optarg ;;
\r
1276 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
\r
1278 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
\r
1279 srcdir=$ac_optarg ;;
\r
1281 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
\r
1282 | --syscon | --sysco | --sysc | --sys | --sy)
\r
1283 ac_prev=sysconfdir ;;
\r
1284 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
\r
1285 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
\r
1286 sysconfdir=$ac_optarg ;;
\r
1288 -target | --target | --targe | --targ | --tar | --ta | --t)
\r
1289 ac_prev=target_alias ;;
\r
1290 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
\r
1291 target_alias=$ac_optarg ;;
\r
1293 -v | -verbose | --verbose | --verbos | --verbo | --verb)
\r
1296 -version | --version | --versio | --versi | --vers | -V)
\r
1297 ac_init_version=: ;;
\r
1299 -with-* | --with-*)
\r
1300 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
\r
1301 # Reject names that are not valid shell variable names.
\r
1302 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
\r
1303 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
\r
1304 { (exit 1); exit 1; }; }
\r
1305 ac_useropt_orig=$ac_useropt
\r
1306 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
\r
1307 case $ac_user_opts in
\r
1309 "with_$ac_useropt"
\r
1311 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
\r
1312 ac_unrecognized_sep=', ';;
\r
1314 eval with_$ac_useropt=\$ac_optarg ;;
\r
1316 -without-* | --without-*)
\r
1317 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
\r
1318 # Reject names that are not valid shell variable names.
\r
1319 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
\r
1320 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
\r
1321 { (exit 1); exit 1; }; }
\r
1322 ac_useropt_orig=$ac_useropt
\r
1323 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
\r
1324 case $ac_user_opts in
\r
1326 "with_$ac_useropt"
\r
1328 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
\r
1329 ac_unrecognized_sep=', ';;
\r
1331 eval with_$ac_useropt=no ;;
\r
1334 # Obsolete; use --with-x.
\r
1337 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
\r
1338 | --x-incl | --x-inc | --x-in | --x-i)
\r
1339 ac_prev=x_includes ;;
\r
1340 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
\r
1341 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
\r
1342 x_includes=$ac_optarg ;;
\r
1344 -x-libraries | --x-libraries | --x-librarie | --x-librari \
\r
1345 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
\r
1346 ac_prev=x_libraries ;;
\r
1347 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
\r
1348 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
\r
1349 x_libraries=$ac_optarg ;;
\r
1351 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
\r
1352 Try \`$0 --help' for more information." >&2
\r
1353 { (exit 1); exit 1; }; }
\r
1357 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
\r
1358 # Reject names that are not valid shell variable names.
\r
1359 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
\r
1360 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
\r
1361 { (exit 1); exit 1; }; }
\r
1362 eval $ac_envvar=\$ac_optarg
\r
1363 export $ac_envvar ;;
\r
1366 # FIXME: should be removed in autoconf 3.0.
\r
1367 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
\r
1368 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
\r
1369 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
\r
1370 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
\r
1376 if test -n "$ac_prev"; then
\r
1377 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
\r
1378 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
\r
1379 { (exit 1); exit 1; }; }
\r
1382 if test -n "$ac_unrecognized_opts"; then
\r
1383 case $enable_option_checking in
\r
1385 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
\r
1386 { (exit 1); exit 1; }; } ;;
\r
1387 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
\r
1391 # Check all directory arguments for consistency.
\r
1392 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
\r
1393 datadir sysconfdir sharedstatedir localstatedir includedir \
\r
1394 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
\r
1395 libdir localedir mandir
\r
1397 eval ac_val=\$$ac_var
\r
1398 # Remove trailing slashes.
\r
1401 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
\r
1402 eval $ac_var=\$ac_val;;
\r
1404 # Be sure to have absolute directory names.
\r
1406 [\\/$]* | ?:[\\/]* ) continue;;
\r
1407 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
\r
1409 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
\r
1410 { (exit 1); exit 1; }; }
\r
1413 # There might be people who depend on the old broken behavior: `$host'
\r
1414 # used to hold the argument of --host etc.
\r
1415 # FIXME: To remove some day.
\r
1416 build=$build_alias
\r
1418 target=$target_alias
\r
1420 # FIXME: To remove some day.
\r
1421 if test "x$host_alias" != x; then
\r
1422 if test "x$build_alias" = x; then
\r
1423 cross_compiling=maybe
\r
1424 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
\r
1425 If a cross compiler is detected then cross compile mode will be used." >&2
\r
1426 elif test "x$build_alias" != "x$host_alias"; then
\r
1427 cross_compiling=yes
\r
1432 test -n "$host_alias" && ac_tool_prefix=$host_alias-
\r
1434 test "$silent" = yes && exec 6>/dev/null
\r
1437 ac_pwd=`pwd` && test -n "$ac_pwd" &&
\r
1438 ac_ls_di=`ls -di .` &&
\r
1439 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
\r
1440 { $as_echo "$as_me: error: working directory cannot be determined" >&2
\r
1441 { (exit 1); exit 1; }; }
\r
1442 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
\r
1443 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
\r
1444 { (exit 1); exit 1; }; }
\r
1447 # Find the source files, if location was not specified.
\r
1448 if test -z "$srcdir"; then
\r
1449 ac_srcdir_defaulted=yes
\r
1450 # Try the directory containing this script, then the parent directory.
\r
1451 ac_confdir=`$as_dirname -- "$as_myself" ||
\r
1452 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
1453 X"$as_myself" : 'X\(//\)[^/]' \| \
\r
1454 X"$as_myself" : 'X\(//\)$' \| \
\r
1455 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
\r
1456 $as_echo X"$as_myself" |
\r
1457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
1461 /^X\(\/\/\)[^/].*/{
\r
1474 srcdir=$ac_confdir
\r
1475 if test ! -r "$srcdir/$ac_unique_file"; then
\r
1479 ac_srcdir_defaulted=no
\r
1481 if test ! -r "$srcdir/$ac_unique_file"; then
\r
1482 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
\r
1483 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
\r
1484 { (exit 1); exit 1; }; }
\r
1486 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
\r
1488 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
\r
1489 { (exit 1); exit 1; }; }
\r
1491 # When building in place, set srcdir=.
\r
1492 if test "$ac_abs_confdir" = "$ac_pwd"; then
\r
1495 # Remove unnecessary trailing slashes from srcdir.
\r
1496 # Double slashes in file names in object file debugging info
\r
1497 # mess up M-x gdb in Emacs.
\r
1499 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
\r
1501 for ac_var in $ac_precious_vars; do
\r
1502 eval ac_env_${ac_var}_set=\${${ac_var}+set}
\r
1503 eval ac_env_${ac_var}_value=\$${ac_var}
\r
1504 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
\r
1505 eval ac_cv_env_${ac_var}_value=\$${ac_var}
\r
1509 # Report the --help message.
\r
1511 if test "$ac_init_help" = "long"; then
\r
1512 # Omit some internal or obsolete options to make the list less imposing.
\r
1513 # This message is too long to be a string in the A/UX 3.1 sh.
\r
1515 \`configure' configures libantlr3c 3.2 to adapt to many kinds of systems.
\r
1517 Usage: $0 [OPTION]... [VAR=VALUE]...
\r
1519 To assign environment variables (e.g., CC, CFLAGS...), specify them as
\r
1520 VAR=VALUE. See below for descriptions of some of the useful variables.
\r
1522 Defaults for the options are specified in brackets.
\r
1525 -h, --help display this help and exit
\r
1526 --help=short display options specific to this package
\r
1527 --help=recursive display the short help of all the included packages
\r
1528 -V, --version display version information and exit
\r
1529 -q, --quiet, --silent do not print \`checking...' messages
\r
1530 --cache-file=FILE cache test results in FILE [disabled]
\r
1531 -C, --config-cache alias for \`--cache-file=config.cache'
\r
1532 -n, --no-create do not create output files
\r
1533 --srcdir=DIR find the sources in DIR [configure dir or \`..']
\r
1535 Installation directories:
\r
1536 --prefix=PREFIX install architecture-independent files in PREFIX
\r
1537 [$ac_default_prefix]
\r
1538 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
\r
1541 By default, \`make install' will install all the files in
\r
1542 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
\r
1543 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
\r
1544 for instance \`--prefix=\$HOME'.
\r
1546 For better control, use the options below.
\r
1548 Fine tuning of the installation directories:
\r
1549 --bindir=DIR user executables [EPREFIX/bin]
\r
1550 --sbindir=DIR system admin executables [EPREFIX/sbin]
\r
1551 --libexecdir=DIR program executables [EPREFIX/libexec]
\r
1552 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
\r
1553 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
\r
1554 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
\r
1555 --libdir=DIR object code libraries [EPREFIX/lib]
\r
1556 --includedir=DIR C header files [PREFIX/include]
\r
1557 --oldincludedir=DIR C header files for non-gcc [/usr/include]
\r
1558 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
\r
1559 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
\r
1560 --infodir=DIR info documentation [DATAROOTDIR/info]
\r
1561 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
\r
1562 --mandir=DIR man documentation [DATAROOTDIR/man]
\r
1563 --docdir=DIR documentation root [DATAROOTDIR/doc/libantlr3c]
\r
1564 --htmldir=DIR html documentation [DOCDIR]
\r
1565 --dvidir=DIR dvi documentation [DOCDIR]
\r
1566 --pdfdir=DIR pdf documentation [DOCDIR]
\r
1567 --psdir=DIR ps documentation [DOCDIR]
\r
1573 --program-prefix=PREFIX prepend PREFIX to installed program names
\r
1574 --program-suffix=SUFFIX append SUFFIX to installed program names
\r
1575 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
\r
1578 --build=BUILD configure for building on BUILD [guessed]
\r
1579 --host=HOST cross-compile to build programs to run on HOST [BUILD]
\r
1583 if test -n "$ac_init_help"; then
\r
1584 case $ac_init_help in
\r
1585 short | recursive ) echo "Configuration of libantlr3c 3.2:";;
\r
1589 Optional Features:
\r
1590 --disable-option-checking ignore unrecognized --enable/--with options
\r
1591 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
\r
1592 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
\r
1593 --enable-debuginfo Compiles debug info into the library (default
\r
1594 --disable-debuginfo)
\r
1595 --enable-64bit Turns on flags that produce 64 bit object code if
\r
1596 any are required (default --disable-64bit)
\r
1597 --disable-abiflags Does not add ABI flags -m32 or -m64 for older
\r
1598 versions of gcc, such as itanium 3.x (default
\r
1599 --enable-abiflags=yes)
\r
1600 --disable-antlrdebug Turns off default flags that include the antlr
\r
1601 debugger in the runtime. Specify to remove debugger
\r
1602 and the socket dependancies (default
\r
1603 --enable-antlrdebug)
\r
1604 --disable-dependency-tracking speeds up one-time build
\r
1605 --enable-dependency-tracking do not reject slow dependency extractors
\r
1606 --enable-maintainer-mode enable make rules and dependencies not useful
\r
1607 (and sometimes confusing) to the casual installer
\r
1608 --enable-shared[=PKGS] build shared libraries [default=yes]
\r
1609 --enable-static[=PKGS] build static libraries [default=yes]
\r
1610 --enable-fast-install[=PKGS]
\r
1611 optimize for fast installation [default=yes]
\r
1612 --disable-libtool-lock avoid locking (might break parallel builds)
\r
1614 Optional Packages:
\r
1615 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
\r
1616 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
\r
1617 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
\r
1618 --with-pic try to use only PIC/non-PIC objects [default=use
\r
1620 --with-tags[=TAGS] include additional configurations [automatic]
\r
1622 Some influential environment variables:
\r
1623 CC C compiler command
\r
1624 CFLAGS C compiler flags
\r
1625 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
\r
1626 nonstandard directory <lib dir>
\r
1627 LIBS libraries to pass to the linker, e.g. -l<library>
\r
1628 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
\r
1629 you have headers in a nonstandard directory <include dir>
\r
1630 CPP C preprocessor
\r
1631 CXX C++ compiler command
\r
1632 CXXFLAGS C++ compiler flags
\r
1633 CXXCPP C++ preprocessor
\r
1634 F77 Fortran 77 compiler command
\r
1635 FFLAGS Fortran 77 compiler flags
\r
1637 Use these variables to override the choices made by `configure' or to help
\r
1638 it to find libraries and programs with nonstandard names/locations.
\r
1640 Report bugs to <jimi@temporal-wave.com>.
\r
1645 if test "$ac_init_help" = "recursive"; then
\r
1646 # If there are subdirs, report their specific --help.
\r
1647 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
\r
1648 test -d "$ac_dir" ||
\r
1649 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
\r
1654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
\r
1656 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
\r
1657 # A ".." for each directory in $ac_dir_suffix.
\r
1658 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
\r
1659 case $ac_top_builddir_sub in
\r
1660 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
\r
1661 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
\r
1664 ac_abs_top_builddir=$ac_pwd
\r
1665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
\r
1666 # for backward compatibility:
\r
1667 ac_top_builddir=$ac_top_build_prefix
\r
1670 .) # We are building in place.
\r
1672 ac_top_srcdir=$ac_top_builddir_sub
\r
1673 ac_abs_top_srcdir=$ac_pwd ;;
\r
1674 [\\/]* | ?:[\\/]* ) # Absolute name.
\r
1675 ac_srcdir=$srcdir$ac_dir_suffix;
\r
1676 ac_top_srcdir=$srcdir
\r
1677 ac_abs_top_srcdir=$srcdir ;;
\r
1678 *) # Relative name.
\r
1679 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
\r
1680 ac_top_srcdir=$ac_top_build_prefix$srcdir
\r
1681 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
\r
1683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
\r
1685 cd "$ac_dir" || { ac_status=$?; continue; }
\r
1686 # Check for guested configure.
\r
1687 if test -f "$ac_srcdir/configure.gnu"; then
\r
1689 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
\r
1690 elif test -f "$ac_srcdir/configure"; then
\r
1692 $SHELL "$ac_srcdir/configure" --help=recursive
\r
1694 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
\r
1695 fi || ac_status=$?
\r
1696 cd "$ac_pwd" || { ac_status=$?; break; }
\r
1700 test -n "$ac_init_help" && exit $ac_status
\r
1701 if $ac_init_version; then
\r
1703 libantlr3c configure 3.2
\r
1704 generated by GNU Autoconf 2.63
\r
1706 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
\r
1707 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
\r
1708 This configure script is free software; the Free Software Foundation
\r
1709 gives unlimited permission to copy, distribute and modify it.
\r
1712 (The "BSD licence")
\r
1713 Copyright (c) 2005-2009 Jim Idle, Temporal Wave LLC
\r
1714 http://www.temporal-wave.com
\r
1715 http://www.linkedin.com/in/jimidle
\r
1716 All rights reserved.
\r
1718 Redistribution and use in source and binary forms, with or without
\r
1719 modification, are permitted provided that the following conditions
\r
1721 1. Redistributions of source code must retain the above copyright
\r
1722 notice, this list of conditions and the following disclaimer.
\r
1723 2. Redistributions in binary form must reproduce the above copyright
\r
1724 notice, this list of conditions and the following disclaimer in the
\r
1725 documentation and/or other materials provided with the distribution.
\r
1726 3. The name of the author may not be used to endorse or promote products
\r
1727 derived from this software without specific prior written permission.
\r
1729 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
\r
1730 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
\r
1731 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
\r
1732 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
\r
1733 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
\r
1734 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
\r
1735 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
\r
1736 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
\r
1737 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
\r
1738 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\r
1743 cat >config.log <<_ACEOF
\r
1744 This file contains any messages produced by compilers while
\r
1745 running configure, to aid debugging if configure makes a mistake.
\r
1747 It was created by libantlr3c $as_me 3.2, which was
\r
1748 generated by GNU Autoconf 2.63. Invocation command line was
\r
1753 exec 5>>config.log
\r
1760 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
\r
1761 uname -m = `(uname -m) 2>/dev/null || echo unknown`
\r
1762 uname -r = `(uname -r) 2>/dev/null || echo unknown`
\r
1763 uname -s = `(uname -s) 2>/dev/null || echo unknown`
\r
1764 uname -v = `(uname -v) 2>/dev/null || echo unknown`
\r
1766 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
\r
1767 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
\r
1769 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
\r
1770 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
\r
1771 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
\r
1772 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
\r
1773 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
\r
1774 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
\r
1775 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
\r
1779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
1780 for as_dir in $PATH
\r
1783 test -z "$as_dir" && as_dir=.
\r
1784 $as_echo "PATH: $as_dir"
\r
1800 # Keep a trace of the command line.
\r
1801 # Strip out --no-create and --no-recursion so they do not pile up.
\r
1802 # Strip out --silent because we don't want to record it for future runs.
\r
1803 # Also quote any args containing shell meta-characters.
\r
1804 # Make two passes to allow for proper duplicate-argument suppression.
\r
1805 ac_configure_args=
\r
1806 ac_configure_args0=
\r
1807 ac_configure_args1=
\r
1808 ac_must_keep_next=false
\r
1809 for ac_pass in 1 2
\r
1814 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
\r
1815 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
\r
1816 | -silent | --silent | --silen | --sile | --sil)
\r
1819 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
\r
1822 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
\r
1824 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
\r
1825 if test $ac_must_keep_next = true; then
\r
1826 ac_must_keep_next=false # Got value, back to normal.
\r
1829 *=* | --config-cache | -C | -disable-* | --disable-* \
\r
1830 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
\r
1831 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
\r
1832 | -with-* | --with-* | -without-* | --without-* | --x)
\r
1833 case "$ac_configure_args0 " in
\r
1834 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
\r
1837 -* ) ac_must_keep_next=true ;;
\r
1840 ac_configure_args="$ac_configure_args '$ac_arg'"
\r
1845 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
\r
1846 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
\r
1848 # When interrupted or exit'd, cleanup temporary files, and complete
\r
1849 # config.log. We remove comments because anyway the quotes in there
\r
1850 # would cause problems or look ugly.
\r
1851 # WARNING: Use '\'' to represent an apostrophe within the trap.
\r
1852 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
\r
1853 trap 'exit_status=$?
\r
1854 # Save into config.log some information that might help in debugging.
\r
1859 ## ---------------- ##
\r
1860 ## Cache variables. ##
\r
1861 ## ---------------- ##
\r
1864 # The following way of writing the cache mishandles newlines in values,
\r
1866 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
\r
1867 eval ac_val=\$$ac_var
\r
1868 case $ac_val in #(
\r
1870 case $ac_var in #(
\r
1871 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
\r
1872 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
\r
1874 case $ac_var in #(
\r
1875 _ | IFS | as_nl) ;; #(
\r
1876 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
\r
1877 *) $as_unset $ac_var ;;
\r
1882 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
\r
1883 *${as_nl}ac_space=\ *)
\r
1885 "s/'\''/'\''\\\\'\'''\''/g;
\r
1886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
\r
1889 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
\r
1897 ## ----------------- ##
\r
1898 ## Output variables. ##
\r
1899 ## ----------------- ##
\r
1902 for ac_var in $ac_subst_vars
\r
1904 eval ac_val=\$$ac_var
\r
1906 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
\r
1908 $as_echo "$ac_var='\''$ac_val'\''"
\r
1912 if test -n "$ac_subst_files"; then
\r
1914 ## ------------------- ##
\r
1915 ## File substitutions. ##
\r
1916 ## ------------------- ##
\r
1919 for ac_var in $ac_subst_files
\r
1921 eval ac_val=\$$ac_var
\r
1923 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
\r
1925 $as_echo "$ac_var='\''$ac_val'\''"
\r
1930 if test -s confdefs.h; then
\r
1940 test "$ac_signal" != 0 &&
\r
1941 $as_echo "$as_me: caught signal $ac_signal"
\r
1942 $as_echo "$as_me: exit $exit_status"
\r
1944 rm -f core *.core core.conftest.* &&
\r
1945 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
\r
1948 for ac_signal in 1 2 13 15; do
\r
1949 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
\r
1953 # confdefs.h avoids OS command line length limits that DEFS can exceed.
\r
1954 rm -f -r conftest* confdefs.h
\r
1956 # Predefined preprocessor variables.
\r
1958 cat >>confdefs.h <<_ACEOF
\r
1959 #define PACKAGE_NAME "$PACKAGE_NAME"
\r
1963 cat >>confdefs.h <<_ACEOF
\r
1964 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
\r
1968 cat >>confdefs.h <<_ACEOF
\r
1969 #define PACKAGE_VERSION "$PACKAGE_VERSION"
\r
1973 cat >>confdefs.h <<_ACEOF
\r
1974 #define PACKAGE_STRING "$PACKAGE_STRING"
\r
1978 cat >>confdefs.h <<_ACEOF
\r
1979 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
\r
1983 # Let the site file select an alternate cache file if it wants to.
\r
1984 # Prefer an explicitly selected file to automatically selected ones.
\r
1985 ac_site_file1=NONE
\r
1986 ac_site_file2=NONE
\r
1987 if test -n "$CONFIG_SITE"; then
\r
1988 ac_site_file1=$CONFIG_SITE
\r
1989 elif test "x$prefix" != xNONE; then
\r
1990 ac_site_file1=$prefix/share/config.site
\r
1991 ac_site_file2=$prefix/etc/config.site
\r
1993 ac_site_file1=$ac_default_prefix/share/config.site
\r
1994 ac_site_file2=$ac_default_prefix/etc/config.site
\r
1996 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
\r
1998 test "x$ac_site_file" = xNONE && continue
\r
1999 if test -r "$ac_site_file"; then
\r
2000 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
\r
2001 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
\r
2002 sed 's/^/| /' "$ac_site_file" >&5
\r
2007 if test -r "$cache_file"; then
\r
2008 # Some versions of bash will fail to source /dev/null (special
\r
2009 # files actually), so we avoid doing that.
\r
2010 if test -f "$cache_file"; then
\r
2011 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
\r
2012 $as_echo "$as_me: loading cache $cache_file" >&6;}
\r
2013 case $cache_file in
\r
2014 [\\/]* | ?:[\\/]* ) . "$cache_file";;
\r
2015 *) . "./$cache_file";;
\r
2019 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
\r
2020 $as_echo "$as_me: creating cache $cache_file" >&6;}
\r
2024 # Check that the precious variables saved in the cache have kept the same
\r
2026 ac_cache_corrupted=false
\r
2027 for ac_var in $ac_precious_vars; do
\r
2028 eval ac_old_set=\$ac_cv_env_${ac_var}_set
\r
2029 eval ac_new_set=\$ac_env_${ac_var}_set
\r
2030 eval ac_old_val=\$ac_cv_env_${ac_var}_value
\r
2031 eval ac_new_val=\$ac_env_${ac_var}_value
\r
2032 case $ac_old_set,$ac_new_set in
\r
2034 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
\r
2035 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
\r
2036 ac_cache_corrupted=: ;;
\r
2038 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
\r
2039 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
\r
2040 ac_cache_corrupted=: ;;
\r
2043 if test "x$ac_old_val" != "x$ac_new_val"; then
\r
2044 # differences in whitespace do not lead to failure.
\r
2045 ac_old_val_w=`echo x $ac_old_val`
\r
2046 ac_new_val_w=`echo x $ac_new_val`
\r
2047 if test "$ac_old_val_w" != "$ac_new_val_w"; then
\r
2048 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
\r
2049 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
\r
2050 ac_cache_corrupted=:
\r
2052 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
\r
2053 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
\r
2054 eval $ac_var=\$ac_old_val
\r
2056 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
\r
2057 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
\r
2058 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
\r
2059 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
\r
2062 # Pass precious variables to config.status.
\r
2063 if test "$ac_new_set" = set; then
\r
2064 case $ac_new_val in
\r
2065 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
\r
2066 *) ac_arg=$ac_var=$ac_new_val ;;
\r
2068 case " $ac_configure_args " in
\r
2069 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
\r
2070 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
\r
2074 if $ac_cache_corrupted; then
\r
2075 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
\r
2076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
\r
2077 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
\r
2078 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
\r
2079 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
\r
2080 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
\r
2081 { (exit 1); exit 1; }; }
\r
2109 ac_cpp='$CPP $CPPFLAGS'
\r
2110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
2111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
2112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
2120 # Check whether --enable-debuginfo was given.
\r
2121 if test "${enable_debuginfo+set}" = set; then
\r
2122 enableval=$enable_debuginfo;
\r
2124 enable_debuginfo=no
\r
2128 # Check whether --enable-64bit was given.
\r
2129 if test "${enable_64bit+set}" = set; then
\r
2130 enableval=$enable_64bit;
\r
2136 # Check whether --enable-abiflags was given.
\r
2137 if test "${enable_abiflags+set}" = set; then
\r
2138 enableval=$enable_abiflags;
\r
2140 enable_abiflags=yes
\r
2144 # Check whether --enable-antlrdebug was given.
\r
2145 if test "${enable_antlrdebug+set}" = set; then
\r
2146 enableval=$enable_antlrdebug;
\r
2148 enable_antlrdebug=yes
\r
2152 am__api_version="1.9"
\r
2154 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
\r
2155 if test -f "$ac_dir/install-sh"; then
\r
2156 ac_aux_dir=$ac_dir
\r
2157 ac_install_sh="$ac_aux_dir/install-sh -c"
\r
2159 elif test -f "$ac_dir/install.sh"; then
\r
2160 ac_aux_dir=$ac_dir
\r
2161 ac_install_sh="$ac_aux_dir/install.sh -c"
\r
2163 elif test -f "$ac_dir/shtool"; then
\r
2164 ac_aux_dir=$ac_dir
\r
2165 ac_install_sh="$ac_aux_dir/shtool install -c"
\r
2169 if test -z "$ac_aux_dir"; then
\r
2170 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
\r
2171 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
\r
2172 { (exit 1); exit 1; }; }
\r
2175 # These three variables are undocumented and unsupported,
\r
2176 # and are intended to be withdrawn in a future Autoconf release.
\r
2177 # They can cause serious problems if a builder's source tree is in a directory
\r
2178 # whose full name contains unusual characters.
\r
2179 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
\r
2180 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
\r
2181 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
\r
2184 # Find a good install program. We prefer a C program (faster),
\r
2185 # so one script is as good as another. But avoid the broken or
\r
2186 # incompatible versions:
\r
2187 # SysV /etc/install, /usr/sbin/install
\r
2188 # SunOS /usr/etc/install
\r
2189 # IRIX /sbin/install
\r
2190 # AIX /bin/install
\r
2191 # AmigaOS /C/install, which installs bootblocks on floppy discs
\r
2192 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
\r
2193 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
\r
2194 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
\r
2195 # OS/2's system install, which has a completely different semantic
\r
2196 # ./install, which can be erroneously created by make from ./install.sh.
\r
2197 # Reject install programs that cannot install multiple files.
\r
2198 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
\r
2199 $as_echo_n "checking for a BSD-compatible install... " >&6; }
\r
2200 if test -z "$INSTALL"; then
\r
2201 if test "${ac_cv_path_install+set}" = set; then
\r
2202 $as_echo_n "(cached) " >&6
\r
2204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2205 for as_dir in $PATH
\r
2208 test -z "$as_dir" && as_dir=.
\r
2209 # Account for people who put trailing slashes in PATH elements.
\r
2211 ./ | .// | /cC/* | \
\r
2212 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
\r
2213 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
\r
2216 # OSF1 and SCO ODT 3.0 have their own names for install.
\r
2217 # Don't use installbsd from OSF since it installs stuff as root
\r
2219 for ac_prog in ginstall scoinst install; do
\r
2220 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2221 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
\r
2222 if test $ac_prog = install &&
\r
2223 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
\r
2224 # AIX install. It has an incompatible calling convention.
\r
2226 elif test $ac_prog = install &&
\r
2227 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
\r
2228 # program-specific install script used by HP pwplus--don't use.
\r
2231 rm -rf conftest.one conftest.two conftest.dir
\r
2232 echo one > conftest.one
\r
2233 echo two > conftest.two
\r
2234 mkdir conftest.dir
\r
2235 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
\r
2236 test -s conftest.one && test -s conftest.two &&
\r
2237 test -s conftest.dir/conftest.one &&
\r
2238 test -s conftest.dir/conftest.two
\r
2240 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
\r
2253 rm -rf conftest.one conftest.two conftest.dir
\r
2256 if test "${ac_cv_path_install+set}" = set; then
\r
2257 INSTALL=$ac_cv_path_install
\r
2259 # As a last resort, use the slow shell script. Don't cache a
\r
2260 # value for INSTALL within a source directory, because that will
\r
2261 # break other packages using the cache if that directory is
\r
2262 # removed, or if the value is a relative name.
\r
2263 INSTALL=$ac_install_sh
\r
2266 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
\r
2267 $as_echo "$INSTALL" >&6; }
\r
2269 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
\r
2270 # It thinks the first close brace ends the variable substitution.
\r
2271 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
\r
2273 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
\r
2275 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
\r
2277 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
\r
2278 $as_echo_n "checking whether build environment is sane... " >&6; }
\r
2281 echo timestamp > conftest.file
\r
2282 # Do `set' in a subshell so we don't clobber the current shell's
\r
2283 # arguments. Must try -L first in case configure is actually a
\r
2284 # symlink; some systems play weird games with the mod time of symlinks
\r
2285 # (eg FreeBSD returns the mod time of the symlink's containing
\r
2288 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
\r
2289 if test "$*" = "X"; then
\r
2291 set X `ls -t $srcdir/configure conftest.file`
\r
2293 rm -f conftest.file
\r
2294 if test "$*" != "X $srcdir/configure conftest.file" \
\r
2295 && test "$*" != "X conftest.file $srcdir/configure"; then
\r
2297 # If neither matched, then we have a broken ls. This can happen
\r
2298 # if, for instance, CONFIG_SHELL is bash and it inherits a
\r
2299 # broken ls alias from the environment. This has actually
\r
2300 # happened. Such a system could not be considered "sane".
\r
2301 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
\r
2302 alias in your environment" >&5
\r
2303 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
\r
2304 alias in your environment" >&2;}
\r
2305 { (exit 1); exit 1; }; }
\r
2308 test "$2" = conftest.file
\r
2314 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
\r
2315 Check your system clock" >&5
\r
2316 $as_echo "$as_me: error: newly created file is older than distributed files!
\r
2317 Check your system clock" >&2;}
\r
2318 { (exit 1); exit 1; }; }
\r
2320 { $as_echo "$as_me:$LINENO: result: yes" >&5
\r
2321 $as_echo "yes" >&6; }
\r
2322 test "$program_prefix" != NONE &&
\r
2323 program_transform_name="s&^&$program_prefix&;$program_transform_name"
\r
2324 # Use a double $ so make ignores it.
\r
2325 test "$program_suffix" != NONE &&
\r
2326 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
\r
2327 # Double any \ or $.
\r
2328 # By default was `s,x,x', remove it if useless.
\r
2329 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
\r
2330 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
\r
2332 # expand $ac_aux_dir to an absolute path
\r
2333 am_aux_dir=`cd $ac_aux_dir && pwd`
\r
2335 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
\r
2336 # Use eval to expand $SHELL
\r
2337 if eval "$MISSING --run true"; then
\r
2338 am_missing_run="$MISSING --run "
\r
2341 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
\r
2342 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
\r
2345 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
\r
2346 # We used to keeping the `.' as first argument, in order to
\r
2347 # allow $(mkdir_p) to be used without argument. As in
\r
2348 # $(mkdir_p) $(somedir)
\r
2349 # where $(somedir) is conditionally defined. However this is wrong
\r
2350 # for two reasons:
\r
2351 # 1. if the package is installed by a user who cannot write `.'
\r
2352 # make install will fail,
\r
2353 # 2. the above comment should most certainly read
\r
2354 # $(mkdir_p) $(DESTDIR)$(somedir)
\r
2355 # so it does not work when $(somedir) is undefined and
\r
2356 # $(DESTDIR) is not.
\r
2357 # To support the latter case, we have to write
\r
2358 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
\r
2359 # so the `.' trick is pointless.
\r
2360 mkdir_p='mkdir -p --'
\r
2362 # On NextStep and OpenStep, the `mkdir' command does not
\r
2363 # recognize any option. It will interpret all options as
\r
2364 # directories to create, and then abort because `.' already
\r
2366 for d in ./-p ./--version;
\r
2368 test -d $d && rmdir $d
\r
2370 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
\r
2371 if test -f "$ac_aux_dir/mkinstalldirs"; then
\r
2372 mkdir_p='$(mkinstalldirs)'
\r
2374 mkdir_p='$(install_sh) -d'
\r
2378 for ac_prog in gawk mawk nawk awk
\r
2380 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
2381 set dummy $ac_prog; ac_word=$2
\r
2382 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2383 $as_echo_n "checking for $ac_word... " >&6; }
\r
2384 if test "${ac_cv_prog_AWK+set}" = set; then
\r
2385 $as_echo_n "(cached) " >&6
\r
2387 if test -n "$AWK"; then
\r
2388 ac_cv_prog_AWK="$AWK" # Let the user override the test.
\r
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2391 for as_dir in $PATH
\r
2394 test -z "$as_dir" && as_dir=.
\r
2395 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2397 ac_cv_prog_AWK="$ac_prog"
\r
2398 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2407 AWK=$ac_cv_prog_AWK
\r
2408 if test -n "$AWK"; then
\r
2409 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
\r
2410 $as_echo "$AWK" >&6; }
\r
2412 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
2413 $as_echo "no" >&6; }
\r
2417 test -n "$AWK" && break
\r
2420 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
\r
2421 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
\r
2422 set x ${MAKE-make}
\r
2423 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
\r
2424 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
\r
2425 $as_echo_n "(cached) " >&6
\r
2427 cat >conftest.make <<\_ACEOF
\r
2430 @echo '@@@%%%=$(MAKE)=@@@%%%'
\r
2432 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
\r
2433 case `${MAKE-make} -f conftest.make 2>/dev/null` in
\r
2434 *@@@%%%=?*=@@@%%%*)
\r
2435 eval ac_cv_prog_make_${ac_make}_set=yes;;
\r
2437 eval ac_cv_prog_make_${ac_make}_set=no;;
\r
2439 rm -f conftest.make
\r
2441 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
\r
2442 { $as_echo "$as_me:$LINENO: result: yes" >&5
\r
2443 $as_echo "yes" >&6; }
\r
2446 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
2447 $as_echo "no" >&6; }
\r
2448 SET_MAKE="MAKE=${MAKE-make}"
\r
2451 rm -rf .tst 2>/dev/null
\r
2452 mkdir .tst 2>/dev/null
\r
2453 if test -d .tst; then
\r
2458 rmdir .tst 2>/dev/null
\r
2460 # test to see if srcdir already configured
\r
2461 if test "`cd $srcdir && pwd`" != "`pwd`" &&
\r
2462 test -f $srcdir/config.status; then
\r
2463 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
\r
2464 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
\r
2465 { (exit 1); exit 1; }; }
\r
2468 # test whether we have cygpath
\r
2469 if test -z "$CYGPATH_W"; then
\r
2470 if (cygpath --version) >/dev/null 2>/dev/null; then
\r
2471 CYGPATH_W='cygpath -w'
\r
2478 # Define the identity of the package.
\r
2479 PACKAGE='libantlr3c'
\r
2483 cat >>confdefs.h <<_ACEOF
\r
2484 #define PACKAGE "$PACKAGE"
\r
2488 cat >>confdefs.h <<_ACEOF
\r
2489 #define VERSION "$VERSION"
\r
2492 # Some tools Automake needs.
\r
2494 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
\r
2497 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
\r
2500 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
\r
2503 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
\r
2506 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
\r
2508 install_sh=${install_sh-"$am_aux_dir/install-sh"}
\r
2510 # Installed binaries are usually stripped using `strip' when the user
\r
2511 # run `make install-strip'. However `strip' might not be the right
\r
2512 # tool to use in cross-compilation environments, therefore Automake
\r
2513 # will honor the `STRIP' environment variable to overrule this program.
\r
2514 if test "$cross_compiling" != no; then
\r
2515 if test -n "$ac_tool_prefix"; then
\r
2516 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
\r
2517 set dummy ${ac_tool_prefix}strip; ac_word=$2
\r
2518 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2519 $as_echo_n "checking for $ac_word... " >&6; }
\r
2520 if test "${ac_cv_prog_STRIP+set}" = set; then
\r
2521 $as_echo_n "(cached) " >&6
\r
2523 if test -n "$STRIP"; then
\r
2524 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
\r
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2527 for as_dir in $PATH
\r
2530 test -z "$as_dir" && as_dir=.
\r
2531 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2533 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
\r
2534 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2543 STRIP=$ac_cv_prog_STRIP
\r
2544 if test -n "$STRIP"; then
\r
2545 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
\r
2546 $as_echo "$STRIP" >&6; }
\r
2548 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
2549 $as_echo "no" >&6; }
\r
2554 if test -z "$ac_cv_prog_STRIP"; then
\r
2555 ac_ct_STRIP=$STRIP
\r
2556 # Extract the first word of "strip", so it can be a program name with args.
\r
2557 set dummy strip; ac_word=$2
\r
2558 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2559 $as_echo_n "checking for $ac_word... " >&6; }
\r
2560 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
\r
2561 $as_echo_n "(cached) " >&6
\r
2563 if test -n "$ac_ct_STRIP"; then
\r
2564 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
\r
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2567 for as_dir in $PATH
\r
2570 test -z "$as_dir" && as_dir=.
\r
2571 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2573 ac_cv_prog_ac_ct_STRIP="strip"
\r
2574 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2583 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
\r
2584 if test -n "$ac_ct_STRIP"; then
\r
2585 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
\r
2586 $as_echo "$ac_ct_STRIP" >&6; }
\r
2588 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
2589 $as_echo "no" >&6; }
\r
2592 if test "x$ac_ct_STRIP" = x; then
\r
2595 case $cross_compiling:$ac_tool_warned in
\r
2597 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
\r
2598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
\r
2599 ac_tool_warned=yes ;;
\r
2601 STRIP=$ac_ct_STRIP
\r
2604 STRIP="$ac_cv_prog_STRIP"
\r
2608 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
\r
2610 # We need awk for the "check" target. The system "awk" is bad on
\r
2612 # Always define AMTAR for backward compatibility.
\r
2614 AMTAR=${AMTAR-"${am_missing_run}tar"}
\r
2616 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
\r
2623 ac_cpp='$CPP $CPPFLAGS'
\r
2624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
2625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
2626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
2629 ac_cpp='$CPP $CPPFLAGS'
\r
2630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
2631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
2632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
2633 if test -n "$ac_tool_prefix"; then
\r
2634 for ac_prog in xlc aCC gcc cc
\r
2636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
\r
2637 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
\r
2638 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2639 $as_echo_n "checking for $ac_word... " >&6; }
\r
2640 if test "${ac_cv_prog_CC+set}" = set; then
\r
2641 $as_echo_n "(cached) " >&6
\r
2643 if test -n "$CC"; then
\r
2644 ac_cv_prog_CC="$CC" # Let the user override the test.
\r
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2647 for as_dir in $PATH
\r
2650 test -z "$as_dir" && as_dir=.
\r
2651 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2653 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
\r
2654 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2664 if test -n "$CC"; then
\r
2665 { $as_echo "$as_me:$LINENO: result: $CC" >&5
\r
2666 $as_echo "$CC" >&6; }
\r
2668 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
2669 $as_echo "no" >&6; }
\r
2673 test -n "$CC" && break
\r
2676 if test -z "$CC"; then
\r
2678 for ac_prog in xlc aCC gcc cc
\r
2680 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
2681 set dummy $ac_prog; ac_word=$2
\r
2682 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2683 $as_echo_n "checking for $ac_word... " >&6; }
\r
2684 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
\r
2685 $as_echo_n "(cached) " >&6
\r
2687 if test -n "$ac_ct_CC"; then
\r
2688 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
\r
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2691 for as_dir in $PATH
\r
2694 test -z "$as_dir" && as_dir=.
\r
2695 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2697 ac_cv_prog_ac_ct_CC="$ac_prog"
\r
2698 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2707 ac_ct_CC=$ac_cv_prog_ac_ct_CC
\r
2708 if test -n "$ac_ct_CC"; then
\r
2709 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
\r
2710 $as_echo "$ac_ct_CC" >&6; }
\r
2712 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
2713 $as_echo "no" >&6; }
\r
2717 test -n "$ac_ct_CC" && break
\r
2720 if test "x$ac_ct_CC" = x; then
\r
2723 case $cross_compiling:$ac_tool_warned in
\r
2725 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
\r
2726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
\r
2727 ac_tool_warned=yes ;;
\r
2734 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
\r
2735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
\r
2736 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
\r
2737 See \`config.log' for more details." >&5
\r
2738 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
\r
2739 See \`config.log' for more details." >&2;}
\r
2740 { (exit 1); exit 1; }; }; }
\r
2742 # Provide some information about the compiler.
\r
2743 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
\r
2746 { (ac_try="$ac_compiler --version >&5"
\r
2747 case "(($ac_try" in
\r
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2749 *) ac_try_echo=$ac_try;;
\r
2751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
2752 $as_echo "$ac_try_echo") >&5
\r
2753 (eval "$ac_compiler --version >&5") 2>&5
\r
2755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2756 (exit $ac_status); }
\r
2757 { (ac_try="$ac_compiler -v >&5"
\r
2758 case "(($ac_try" in
\r
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2760 *) ac_try_echo=$ac_try;;
\r
2762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
2763 $as_echo "$ac_try_echo") >&5
\r
2764 (eval "$ac_compiler -v >&5") 2>&5
\r
2766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2767 (exit $ac_status); }
\r
2768 { (ac_try="$ac_compiler -V >&5"
\r
2769 case "(($ac_try" in
\r
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2771 *) ac_try_echo=$ac_try;;
\r
2773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
2774 $as_echo "$ac_try_echo") >&5
\r
2775 (eval "$ac_compiler -V >&5") 2>&5
\r
2777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2778 (exit $ac_status); }
\r
2780 cat >conftest.$ac_ext <<_ACEOF
\r
2783 cat confdefs.h >>conftest.$ac_ext
\r
2784 cat >>conftest.$ac_ext <<_ACEOF
\r
2785 /* end confdefs.h. */
\r
2795 ac_clean_files_save=$ac_clean_files
\r
2796 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
\r
2797 # Try to create an executable without -o first, disregard a.out.
\r
2798 # It will help us diagnose broken compilers, and finding out an intuition
\r
2800 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
\r
2801 $as_echo_n "checking for C compiler default output file name... " >&6; }
\r
2802 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
\r
2804 # The possible output files:
\r
2805 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
\r
2808 for ac_file in $ac_files
\r
2811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
\r
2812 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
\r
2817 if { (ac_try="$ac_link_default"
\r
2818 case "(($ac_try" in
\r
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2820 *) ac_try_echo=$ac_try;;
\r
2822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
2823 $as_echo "$ac_try_echo") >&5
\r
2824 (eval "$ac_link_default") 2>&5
\r
2826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2827 (exit $ac_status); }; then
\r
2828 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
\r
2829 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
\r
2830 # in a Makefile. We should not override ac_cv_exeext if it was cached,
\r
2831 # so that the user can short-circuit this test for compilers unknown to
\r
2833 for ac_file in $ac_files ''
\r
2835 test -f "$ac_file" || continue
\r
2837 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
\r
2840 # We found the default executable, but exeext='' is most
\r
2841 # certainly right.
\r
2844 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
\r
2846 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
\r
2848 # We set ac_cv_exeext here because the later test for it is not
\r
2849 # safe: cross compilers may not add the suffix if given an `-o'
\r
2850 # argument, so we may need to know it at that point already.
\r
2851 # Even if this section looks crufty: it has the advantage of
\r
2852 # actually working.
\r
2858 test "$ac_cv_exeext" = no && ac_cv_exeext=
\r
2864 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
\r
2865 $as_echo "$ac_file" >&6; }
\r
2866 if test -z "$ac_file"; then
\r
2867 $as_echo "$as_me: failed program was:" >&5
\r
2868 sed 's/^/| /' conftest.$ac_ext >&5
\r
2870 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
\r
2871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
\r
2872 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
\r
2873 See \`config.log' for more details." >&5
\r
2874 $as_echo "$as_me: error: C compiler cannot create executables
\r
2875 See \`config.log' for more details." >&2;}
\r
2876 { (exit 77); exit 77; }; }; }
\r
2879 ac_exeext=$ac_cv_exeext
\r
2881 # Check that the compiler produces executables we can run. If not, either
\r
2882 # the compiler is broken, or we cross compile.
\r
2883 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
\r
2884 $as_echo_n "checking whether the C compiler works... " >&6; }
\r
2885 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
\r
2886 # If not cross compiling, check that we can run a simple program.
\r
2887 if test "$cross_compiling" != yes; then
\r
2888 if { ac_try='./$ac_file'
\r
2889 { (case "(($ac_try" in
\r
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2891 *) ac_try_echo=$ac_try;;
\r
2893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
2894 $as_echo "$ac_try_echo") >&5
\r
2895 (eval "$ac_try") 2>&5
\r
2897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2898 (exit $ac_status); }; }; then
\r
2899 cross_compiling=no
\r
2901 if test "$cross_compiling" = maybe; then
\r
2902 cross_compiling=yes
\r
2904 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
\r
2905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
\r
2906 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
\r
2907 If you meant to cross compile, use \`--host'.
\r
2908 See \`config.log' for more details." >&5
\r
2909 $as_echo "$as_me: error: cannot run C compiled programs.
\r
2910 If you meant to cross compile, use \`--host'.
\r
2911 See \`config.log' for more details." >&2;}
\r
2912 { (exit 1); exit 1; }; }; }
\r
2916 { $as_echo "$as_me:$LINENO: result: yes" >&5
\r
2917 $as_echo "yes" >&6; }
\r
2919 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
\r
2920 ac_clean_files=$ac_clean_files_save
\r
2921 # Check that the compiler produces executables we can run. If not, either
\r
2922 # the compiler is broken, or we cross compile.
\r
2923 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
\r
2924 $as_echo_n "checking whether we are cross compiling... " >&6; }
\r
2925 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
\r
2926 $as_echo "$cross_compiling" >&6; }
\r
2928 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
\r
2929 $as_echo_n "checking for suffix of executables... " >&6; }
\r
2930 if { (ac_try="$ac_link"
\r
2931 case "(($ac_try" in
\r
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2933 *) ac_try_echo=$ac_try;;
\r
2935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
2936 $as_echo "$ac_try_echo") >&5
\r
2937 (eval "$ac_link") 2>&5
\r
2939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2940 (exit $ac_status); }; then
\r
2941 # If both `conftest.exe' and `conftest' are `present' (well, observable)
\r
2942 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
\r
2943 # work properly (i.e., refer to `conftest.exe'), while it won't with
\r
2945 for ac_file in conftest.exe conftest conftest.*; do
\r
2946 test -f "$ac_file" || continue
\r
2948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
\r
2949 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
\r
2955 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
\r
2956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
\r
2957 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
\r
2958 See \`config.log' for more details." >&5
\r
2959 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
\r
2960 See \`config.log' for more details." >&2;}
\r
2961 { (exit 1); exit 1; }; }; }
\r
2964 rm -f conftest$ac_cv_exeext
\r
2965 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
\r
2966 $as_echo "$ac_cv_exeext" >&6; }
\r
2968 rm -f conftest.$ac_ext
\r
2969 EXEEXT=$ac_cv_exeext
\r
2971 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
\r
2972 $as_echo_n "checking for suffix of object files... " >&6; }
\r
2973 if test "${ac_cv_objext+set}" = set; then
\r
2974 $as_echo_n "(cached) " >&6
\r
2976 cat >conftest.$ac_ext <<_ACEOF
\r
2979 cat confdefs.h >>conftest.$ac_ext
\r
2980 cat >>conftest.$ac_ext <<_ACEOF
\r
2981 /* end confdefs.h. */
\r
2991 rm -f conftest.o conftest.obj
\r
2992 if { (ac_try="$ac_compile"
\r
2993 case "(($ac_try" in
\r
2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2995 *) ac_try_echo=$ac_try;;
\r
2997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
2998 $as_echo "$ac_try_echo") >&5
\r
2999 (eval "$ac_compile") 2>&5
\r
3001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
3002 (exit $ac_status); }; then
\r
3003 for ac_file in conftest.o conftest.obj conftest.*; do
\r
3004 test -f "$ac_file" || continue;
\r
3006 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
\r
3007 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
\r
3012 $as_echo "$as_me: failed program was:" >&5
\r
3013 sed 's/^/| /' conftest.$ac_ext >&5
\r
3015 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
\r
3016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
\r
3017 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
\r
3018 See \`config.log' for more details." >&5
\r
3019 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
\r
3020 See \`config.log' for more details." >&2;}
\r
3021 { (exit 1); exit 1; }; }; }
\r
3024 rm -f conftest.$ac_cv_objext conftest.$ac_ext
\r
3026 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
\r
3027 $as_echo "$ac_cv_objext" >&6; }
\r
3028 OBJEXT=$ac_cv_objext
\r
3030 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
\r
3031 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
\r
3032 if test "${ac_cv_c_compiler_gnu+set}" = set; then
\r
3033 $as_echo_n "(cached) " >&6
\r
3035 cat >conftest.$ac_ext <<_ACEOF
\r
3038 cat confdefs.h >>conftest.$ac_ext
\r
3039 cat >>conftest.$ac_ext <<_ACEOF
\r
3040 /* end confdefs.h. */
\r
3053 rm -f conftest.$ac_objext
\r
3054 if { (ac_try="$ac_compile"
\r
3055 case "(($ac_try" in
\r
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
3057 *) ac_try_echo=$ac_try;;
\r
3059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
3060 $as_echo "$ac_try_echo") >&5
\r
3061 (eval "$ac_compile") 2>conftest.er1
\r
3063 grep -v '^ *+' conftest.er1 >conftest.err
\r
3064 rm -f conftest.er1
\r
3065 cat conftest.err >&5
\r
3066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
3067 (exit $ac_status); } && {
\r
3068 test -z "$ac_c_werror_flag" ||
\r
3069 test ! -s conftest.err
\r
3070 } && test -s conftest.$ac_objext; then
\r
3071 ac_compiler_gnu=yes
\r
3073 $as_echo "$as_me: failed program was:" >&5
\r
3074 sed 's/^/| /' conftest.$ac_ext >&5
\r
3076 ac_compiler_gnu=no
\r
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
3080 ac_cv_c_compiler_gnu=$ac_compiler_gnu
\r
3083 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
\r
3084 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
\r
3085 if test $ac_compiler_gnu = yes; then
\r
3090 ac_test_CFLAGS=${CFLAGS+set}
\r
3091 ac_save_CFLAGS=$CFLAGS
\r
3092 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
\r
3093 $as_echo_n "checking whether $CC accepts -g... " >&6; }
\r
3094 if test "${ac_cv_prog_cc_g+set}" = set; then
\r
3095 $as_echo_n "(cached) " >&6
\r
3097 ac_save_c_werror_flag=$ac_c_werror_flag
\r
3098 ac_c_werror_flag=yes
\r
3099 ac_cv_prog_cc_g=no
\r
3101 cat >conftest.$ac_ext <<_ACEOF
\r
3104 cat confdefs.h >>conftest.$ac_ext
\r
3105 cat >>conftest.$ac_ext <<_ACEOF
\r
3106 /* end confdefs.h. */
\r
3116 rm -f conftest.$ac_objext
\r
3117 if { (ac_try="$ac_compile"
\r
3118 case "(($ac_try" in
\r
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
3120 *) ac_try_echo=$ac_try;;
\r
3122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
3123 $as_echo "$ac_try_echo") >&5
\r
3124 (eval "$ac_compile") 2>conftest.er1
\r
3126 grep -v '^ *+' conftest.er1 >conftest.err
\r
3127 rm -f conftest.er1
\r
3128 cat conftest.err >&5
\r
3129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
3130 (exit $ac_status); } && {
\r
3131 test -z "$ac_c_werror_flag" ||
\r
3132 test ! -s conftest.err
\r
3133 } && test -s conftest.$ac_objext; then
\r
3134 ac_cv_prog_cc_g=yes
\r
3136 $as_echo "$as_me: failed program was:" >&5
\r
3137 sed 's/^/| /' conftest.$ac_ext >&5
\r
3140 cat >conftest.$ac_ext <<_ACEOF
\r
3143 cat confdefs.h >>conftest.$ac_ext
\r
3144 cat >>conftest.$ac_ext <<_ACEOF
\r
3145 /* end confdefs.h. */
\r
3155 rm -f conftest.$ac_objext
\r
3156 if { (ac_try="$ac_compile"
\r
3157 case "(($ac_try" in
\r
3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
3159 *) ac_try_echo=$ac_try;;
\r
3161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
3162 $as_echo "$ac_try_echo") >&5
\r
3163 (eval "$ac_compile") 2>conftest.er1
\r
3165 grep -v '^ *+' conftest.er1 >conftest.err
\r
3166 rm -f conftest.er1
\r
3167 cat conftest.err >&5
\r
3168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
3169 (exit $ac_status); } && {
\r
3170 test -z "$ac_c_werror_flag" ||
\r
3171 test ! -s conftest.err
\r
3172 } && test -s conftest.$ac_objext; then
\r
3175 $as_echo "$as_me: failed program was:" >&5
\r
3176 sed 's/^/| /' conftest.$ac_ext >&5
\r
3178 ac_c_werror_flag=$ac_save_c_werror_flag
\r
3180 cat >conftest.$ac_ext <<_ACEOF
\r
3183 cat confdefs.h >>conftest.$ac_ext
\r
3184 cat >>conftest.$ac_ext <<_ACEOF
\r
3185 /* end confdefs.h. */
\r
3195 rm -f conftest.$ac_objext
\r
3196 if { (ac_try="$ac_compile"
\r
3197 case "(($ac_try" in
\r
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
3199 *) ac_try_echo=$ac_try;;
\r
3201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
3202 $as_echo "$ac_try_echo") >&5
\r
3203 (eval "$ac_compile") 2>conftest.er1
\r
3205 grep -v '^ *+' conftest.er1 >conftest.err
\r
3206 rm -f conftest.er1
\r
3207 cat conftest.err >&5
\r
3208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
3209 (exit $ac_status); } && {
\r
3210 test -z "$ac_c_werror_flag" ||
\r
3211 test ! -s conftest.err
\r
3212 } && test -s conftest.$ac_objext; then
\r
3213 ac_cv_prog_cc_g=yes
\r
3215 $as_echo "$as_me: failed program was:" >&5
\r
3216 sed 's/^/| /' conftest.$ac_ext >&5
\r
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
3228 ac_c_werror_flag=$ac_save_c_werror_flag
\r
3230 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
\r
3231 $as_echo "$ac_cv_prog_cc_g" >&6; }
\r
3232 if test "$ac_test_CFLAGS" = set; then
\r
3233 CFLAGS=$ac_save_CFLAGS
\r
3234 elif test $ac_cv_prog_cc_g = yes; then
\r
3235 if test "$GCC" = yes; then
\r
3241 if test "$GCC" = yes; then
\r
3247 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
\r
3248 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
\r
3249 if test "${ac_cv_prog_cc_c89+set}" = set; then
\r
3250 $as_echo_n "(cached) " >&6
\r
3252 ac_cv_prog_cc_c89=no
\r
3254 cat >conftest.$ac_ext <<_ACEOF
\r
3257 cat confdefs.h >>conftest.$ac_ext
\r
3258 cat >>conftest.$ac_ext <<_ACEOF
\r
3259 /* end confdefs.h. */
\r
3260 #include <stdarg.h>
\r
3261 #include <stdio.h>
\r
3262 #include <sys/types.h>
\r
3263 #include <sys/stat.h>
\r
3264 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
\r
3265 struct buf { int x; };
\r
3266 FILE * (*rcsopen) (struct buf *, struct stat *, int);
\r
3267 static char *e (p, i)
\r
3273 static char *f (char * (*g) (char **, int), char **p, ...)
\r
3278 s = g (p, va_arg (v,int));
\r
3283 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
\r
3284 function prototypes and stuff, but not '\xHH' hex character constants.
\r
3285 These don't provoke an error unfortunately, instead are silently treated
\r
3286 as 'x'. The following induces an error, until -std is added to get
\r
3287 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
\r
3288 array size at least. It's necessary to write '\x00'==0 to get something
\r
3289 that's true only with -std. */
\r
3290 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
\r
3292 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
\r
3293 inside strings and character constants. */
\r
3294 #define FOO(x) 'x'
\r
3295 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
\r
3297 int test (int i, double x);
\r
3298 struct s1 {int (*f) (int a);};
\r
3299 struct s2 {int (*f) (double a);};
\r
3300 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
\r
3306 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
\r
3311 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
\r
3312 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
\r
3314 CC="$ac_save_CC $ac_arg"
\r
3315 rm -f conftest.$ac_objext
\r
3316 if { (ac_try="$ac_compile"
\r
3317 case "(($ac_try" in
\r
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
3319 *) ac_try_echo=$ac_try;;
\r
3321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
3322 $as_echo "$ac_try_echo") >&5
\r
3323 (eval "$ac_compile") 2>conftest.er1
\r
3325 grep -v '^ *+' conftest.er1 >conftest.err
\r
3326 rm -f conftest.er1
\r
3327 cat conftest.err >&5
\r
3328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
3329 (exit $ac_status); } && {
\r
3330 test -z "$ac_c_werror_flag" ||
\r
3331 test ! -s conftest.err
\r
3332 } && test -s conftest.$ac_objext; then
\r
3333 ac_cv_prog_cc_c89=$ac_arg
\r
3335 $as_echo "$as_me: failed program was:" >&5
\r
3336 sed 's/^/| /' conftest.$ac_ext >&5
\r
3341 rm -f core conftest.err conftest.$ac_objext
\r
3342 test "x$ac_cv_prog_cc_c89" != "xno" && break
\r
3344 rm -f conftest.$ac_ext
\r
3349 case "x$ac_cv_prog_cc_c89" in
\r
3351 { $as_echo "$as_me:$LINENO: result: none needed" >&5
\r
3352 $as_echo "none needed" >&6; } ;;
\r
3354 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
\r
3355 $as_echo "unsupported" >&6; } ;;
\r
3357 CC="$CC $ac_cv_prog_cc_c89"
\r
3358 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
\r
3359 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
\r
3364 ac_cpp='$CPP $CPPFLAGS'
\r
3365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
3366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
3367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
3368 DEPDIR="${am__leading_dot}deps"
\r
3370 ac_config_commands="$ac_config_commands depfiles"
\r
3373 am_make=${MAKE-make}
\r
3374 cat > confinc << 'END'
\r
3379 # If we don't find an include directive, just comment out the code.
\r
3380 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
\r
3381 $as_echo_n "checking for style of include used by $am_make... " >&6; }
\r
3385 # First try GNU make style include.
\r
3386 echo "include confinc" > confmf
\r
3387 # We grep out `Entering directory' and `Leaving directory'
\r
3388 # messages which can occur if `w' ends up in MAKEFLAGS.
\r
3389 # In particular we don't look at `^make:' because GNU make might
\r
3390 # be invoked under some other name (usually "gmake"), in which
\r
3391 # case it prints its new name instead of `make'.
\r
3392 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
\r
3393 am__include=include
\r
3397 # Now try BSD make style include.
\r
3398 if test "$am__include" = "#"; then
\r
3399 echo '.include "confinc"' > confmf
\r
3400 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
\r
3401 am__include=.include
\r
3408 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
\r
3409 $as_echo "$_am_result" >&6; }
\r
3410 rm -f confinc confmf
\r
3412 # Check whether --enable-dependency-tracking was given.
\r
3413 if test "${enable_dependency_tracking+set}" = set; then
\r
3414 enableval=$enable_dependency_tracking;
\r
3417 if test "x$enable_dependency_tracking" != xno; then
\r
3418 am_depcomp="$ac_aux_dir/depcomp"
\r
3419 AMDEPBACKSLASH='\'
\r
3423 if test "x$enable_dependency_tracking" != xno; then
\r
3434 depcc="$CC" am_compiler_list=
\r
3436 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
\r
3437 $as_echo_n "checking dependency style of $depcc... " >&6; }
\r
3438 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
\r
3439 $as_echo_n "(cached) " >&6
\r
3441 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
\r
3442 # We make a subdir and do the tests there. Otherwise we can end up
\r
3443 # making bogus files that we don't know about and never remove. For
\r
3444 # instance it was reported that on HP-UX the gcc test will end up
\r
3445 # making a dummy file named `D' -- because `-MD' means `put the output
\r
3447 mkdir conftest.dir
\r
3448 # Copy depcomp to subdir because otherwise we won't find it if we're
\r
3449 # using a relative directory.
\r
3450 cp "$am_depcomp" conftest.dir
\r
3452 # We will build objects and dependencies in a subdirectory because
\r
3453 # it helps to detect inapplicable dependency modes. For instance
\r
3454 # both Tru64's cc and ICC support -MD to output dependencies as a
\r
3455 # side effect of compilation, but ICC will put the dependencies in
\r
3456 # the current directory while Tru64 will put them in the object
\r
3460 am_cv_CC_dependencies_compiler_type=none
\r
3461 if test "$am_compiler_list" = ""; then
\r
3462 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
\r
3464 for depmode in $am_compiler_list; do
\r
3465 # Setup a source with many dependencies, because some compilers
\r
3466 # like to wrap large dependency lists on column 80 (with \), and
\r
3467 # we should not choose a depcomp mode which is confused by this.
\r
3469 # We need to recreate these files for each test, as the compiler may
\r
3470 # overwrite some of them when testing with obscure command lines.
\r
3471 # This happens at least with the AIX C compiler.
\r
3472 : > sub/conftest.c
\r
3473 for i in 1 2 3 4 5 6; do
\r
3474 echo '#include "conftst'$i'.h"' >> sub/conftest.c
\r
3475 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
\r
3476 # Solaris 8's {/usr,}/bin/sh.
\r
3477 touch sub/conftst$i.h
\r
3479 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
\r
3483 # after this tag, mechanisms are not by side-effect, so they'll
\r
3484 # only be used when explicitly requested
\r
3485 if test "x$enable_dependency_tracking" = xyes; then
\r
3493 # We check with `-c' and `-o' for the sake of the "dashmstdout"
\r
3494 # mode. It turns out that the SunPro C++ compiler does not properly
\r
3495 # handle `-M -o', and we need to detect this.
\r
3496 if depmode=$depmode \
\r
3497 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
\r
3498 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
\r
3499 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
\r
3500 >/dev/null 2>conftest.err &&
\r
3501 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
\r
3502 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
\r
3503 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
\r
3504 # icc doesn't choke on unknown options, it will just issue warnings
\r
3505 # or remarks (even with -Werror). So we grep stderr for any message
\r
3506 # that says an option was ignored or not supported.
\r
3507 # When given -MP, icc 7.0 and 7.1 complain thusly:
\r
3508 # icc: Command line warning: ignoring option '-M'; no argument required
\r
3509 # The diagnosis changed in icc 8.0:
\r
3510 # icc: Command line remark: option '-MP' not supported
\r
3511 if (grep 'ignoring option' conftest.err ||
\r
3512 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
\r
3513 am_cv_CC_dependencies_compiler_type=$depmode
\r
3520 rm -rf conftest.dir
\r
3522 am_cv_CC_dependencies_compiler_type=none
\r
3526 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
\r
3527 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
\r
3528 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
\r
3533 test "x$enable_dependency_tracking" != xno \
\r
3534 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
\r
3535 am__fastdepCC_TRUE=
\r
3536 am__fastdepCC_FALSE='#'
\r
3538 am__fastdepCC_TRUE='#'
\r
3539 am__fastdepCC_FALSE=
\r
3543 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
\r
3544 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
\r
3545 # Check whether --enable-maintainer-mode was given.
\r
3546 if test "${enable_maintainer_mode+set}" = set; then
\r
3547 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
\r
3549 USE_MAINTAINER_MODE=no
\r
3552 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
\r
3553 $as_echo "$USE_MAINTAINER_MODE" >&6; }
\r
3556 if test $USE_MAINTAINER_MODE = yes; then
\r
3557 MAINTAINER_MODE_TRUE=
\r
3558 MAINTAINER_MODE_FALSE='#'
\r
3560 MAINTAINER_MODE_TRUE='#'
\r
3561 MAINTAINER_MODE_FALSE=
\r
3564 MAINT=$MAINTAINER_MODE_TRUE
\r
3567 # Check whether --enable-shared was given.
\r
3568 if test "${enable_shared+set}" = set; then
\r
3569 enableval=$enable_shared; p=${PACKAGE-default}
\r
3570 case $enableval in
\r
3571 yes) enable_shared=yes ;;
\r
3572 no) enable_shared=no ;;
\r
3575 # Look at the argument we got. We use all the common list separators.
\r
3576 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
\r
3577 for pkg in $enableval; do
\r
3578 IFS="$lt_save_ifs"
\r
3579 if test "X$pkg" = "X$p"; then
\r
3583 IFS="$lt_save_ifs"
\r
3591 # Check whether --enable-static was given.
\r
3592 if test "${enable_static+set}" = set; then
\r
3593 enableval=$enable_static; p=${PACKAGE-default}
\r
3594 case $enableval in
\r
3595 yes) enable_static=yes ;;
\r
3596 no) enable_static=no ;;
\r
3599 # Look at the argument we got. We use all the common list separators.
\r
3600 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
\r
3601 for pkg in $enableval; do
\r
3602 IFS="$lt_save_ifs"
\r
3603 if test "X$pkg" = "X$p"; then
\r
3607 IFS="$lt_save_ifs"
\r
3615 # Check whether --enable-fast-install was given.
\r
3616 if test "${enable_fast_install+set}" = set; then
\r
3617 enableval=$enable_fast_install; p=${PACKAGE-default}
\r
3618 case $enableval in
\r
3619 yes) enable_fast_install=yes ;;
\r
3620 no) enable_fast_install=no ;;
\r
3622 enable_fast_install=no
\r
3623 # Look at the argument we got. We use all the common list separators.
\r
3624 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
\r
3625 for pkg in $enableval; do
\r
3626 IFS="$lt_save_ifs"
\r
3627 if test "X$pkg" = "X$p"; then
\r
3628 enable_fast_install=yes
\r
3631 IFS="$lt_save_ifs"
\r
3635 enable_fast_install=yes
\r
3639 # Make sure we can run config.sub.
\r
3640 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
\r
3641 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
\r
3642 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
\r
3643 { (exit 1); exit 1; }; }
\r
3645 { $as_echo "$as_me:$LINENO: checking build system type" >&5
\r
3646 $as_echo_n "checking build system type... " >&6; }
\r
3647 if test "${ac_cv_build+set}" = set; then
\r
3648 $as_echo_n "(cached) " >&6
\r
3650 ac_build_alias=$build_alias
\r
3651 test "x$ac_build_alias" = x &&
\r
3652 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
\r
3653 test "x$ac_build_alias" = x &&
\r
3654 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
\r
3655 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
\r
3656 { (exit 1); exit 1; }; }
\r
3657 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
\r
3658 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
\r
3659 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
\r
3660 { (exit 1); exit 1; }; }
\r
3663 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
\r
3664 $as_echo "$ac_cv_build" >&6; }
\r
3665 case $ac_cv_build in
\r
3667 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
\r
3668 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
\r
3669 { (exit 1); exit 1; }; };;
\r
3671 build=$ac_cv_build
\r
3672 ac_save_IFS=$IFS; IFS='-'
\r
3673 set x $ac_cv_build
\r
3678 # Remember, the first character of IFS is used to create $*,
\r
3679 # except with old shells:
\r
3682 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
\r
3685 { $as_echo "$as_me:$LINENO: checking host system type" >&5
\r
3686 $as_echo_n "checking host system type... " >&6; }
\r
3687 if test "${ac_cv_host+set}" = set; then
\r
3688 $as_echo_n "(cached) " >&6
\r
3690 if test "x$host_alias" = x; then
\r
3691 ac_cv_host=$ac_cv_build
\r
3693 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
\r
3694 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
\r
3695 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
\r
3696 { (exit 1); exit 1; }; }
\r
3700 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
\r
3701 $as_echo "$ac_cv_host" >&6; }
\r
3702 case $ac_cv_host in
\r
3704 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
\r
3705 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
\r
3706 { (exit 1); exit 1; }; };;
\r
3709 ac_save_IFS=$IFS; IFS='-'
\r
3715 # Remember, the first character of IFS is used to create $*,
\r
3716 # except with old shells:
\r
3719 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
\r
3722 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
\r
3723 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
\r
3724 if test "${lt_cv_path_SED+set}" = set; then
\r
3725 $as_echo_n "(cached) " >&6
\r
3727 # Loop through the user's path and test for sed and gsed.
\r
3728 # Then use that list of sed's as ones to test for truncation.
\r
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
3730 for as_dir in $PATH
\r
3733 test -z "$as_dir" && as_dir=.
\r
3734 for lt_ac_prog in sed gsed; do
\r
3735 for ac_exec_ext in '' $ac_executable_extensions; do
\r
3736 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
\r
3737 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
\r
3745 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
\r
3746 # along with /bin/sed that truncates output.
\r
3747 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
\r
3748 test ! -f $lt_ac_sed && continue
\r
3749 cat /dev/null > conftest.in
\r
3751 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
\r
3752 # Check for GNU sed and select it if it is found.
\r
3753 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
\r
3754 lt_cv_path_SED=$lt_ac_sed
\r
3758 cat conftest.in conftest.in >conftest.tmp
\r
3759 mv conftest.tmp conftest.in
\r
3760 cp conftest.in conftest.nl
\r
3761 echo >>conftest.nl
\r
3762 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
\r
3763 cmp -s conftest.out conftest.nl || break
\r
3764 # 10000 chars as input seems more than enough
\r
3765 test $lt_ac_count -gt 10 && break
\r
3766 lt_ac_count=`expr $lt_ac_count + 1`
\r
3767 if test $lt_ac_count -gt $lt_ac_max; then
\r
3768 lt_ac_max=$lt_ac_count
\r
3769 lt_cv_path_SED=$lt_ac_sed
\r
3776 SED=$lt_cv_path_SED
\r
3778 { $as_echo "$as_me:$LINENO: result: $SED" >&5
\r
3779 $as_echo "$SED" >&6; }
\r
3781 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
\r
3782 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
\r
3783 if test "${ac_cv_path_GREP+set}" = set; then
\r
3784 $as_echo_n "(cached) " >&6
\r
3786 if test -z "$GREP"; then
\r
3787 ac_path_GREP_found=false
\r
3788 # Loop through the user's path and test for each of PROGNAME-LIST
\r
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
3790 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
\r
3793 test -z "$as_dir" && as_dir=.
\r
3794 for ac_prog in grep ggrep; do
\r
3795 for ac_exec_ext in '' $ac_executable_extensions; do
\r
3796 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
\r
3797 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
\r
3798 # Check for GNU ac_path_GREP and select it if it is found.
\r
3799 # Check for GNU $ac_path_GREP
\r
3800 case `"$ac_path_GREP" --version 2>&1` in
\r
3802 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
\r
3805 $as_echo_n 0123456789 >"conftest.in"
\r
3808 cat "conftest.in" "conftest.in" >"conftest.tmp"
\r
3809 mv "conftest.tmp" "conftest.in"
\r
3810 cp "conftest.in" "conftest.nl"
\r
3811 $as_echo 'GREP' >> "conftest.nl"
\r
3812 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
\r
3813 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
\r
3814 ac_count=`expr $ac_count + 1`
\r
3815 if test $ac_count -gt ${ac_path_GREP_max-0}; then
\r
3816 # Best one so far, save it but keep looking for a better one
\r
3817 ac_cv_path_GREP="$ac_path_GREP"
\r
3818 ac_path_GREP_max=$ac_count
\r
3820 # 10*(2^10) chars as input seems more than enough
\r
3821 test $ac_count -gt 10 && break
\r
3823 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
\r
3826 $ac_path_GREP_found && break 3
\r
3831 if test -z "$ac_cv_path_GREP"; then
\r
3832 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
\r
3833 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
\r
3834 { (exit 1); exit 1; }; }
\r
3837 ac_cv_path_GREP=$GREP
\r
3841 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
\r
3842 $as_echo "$ac_cv_path_GREP" >&6; }
\r
3843 GREP="$ac_cv_path_GREP"
\r
3846 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
\r
3847 $as_echo_n "checking for egrep... " >&6; }
\r
3848 if test "${ac_cv_path_EGREP+set}" = set; then
\r
3849 $as_echo_n "(cached) " >&6
\r
3851 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
\r
3852 then ac_cv_path_EGREP="$GREP -E"
\r
3854 if test -z "$EGREP"; then
\r
3855 ac_path_EGREP_found=false
\r
3856 # Loop through the user's path and test for each of PROGNAME-LIST
\r
3857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
3858 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
\r
3861 test -z "$as_dir" && as_dir=.
\r
3862 for ac_prog in egrep; do
\r
3863 for ac_exec_ext in '' $ac_executable_extensions; do
\r
3864 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
\r
3865 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
\r
3866 # Check for GNU ac_path_EGREP and select it if it is found.
\r
3867 # Check for GNU $ac_path_EGREP
\r
3868 case `"$ac_path_EGREP" --version 2>&1` in
\r
3870 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
\r
3873 $as_echo_n 0123456789 >"conftest.in"
\r
3876 cat "conftest.in" "conftest.in" >"conftest.tmp"
\r
3877 mv "conftest.tmp" "conftest.in"
\r
3878 cp "conftest.in" "conftest.nl"
\r
3879 $as_echo 'EGREP' >> "conftest.nl"
\r
3880 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
\r
3881 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
\r
3882 ac_count=`expr $ac_count + 1`
\r
3883 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
\r
3884 # Best one so far, save it but keep looking for a better one
\r
3885 ac_cv_path_EGREP="$ac_path_EGREP"
\r
3886 ac_path_EGREP_max=$ac_count
\r
3888 # 10*(2^10) chars as input seems more than enough
\r
3889 test $ac_count -gt 10 && break
\r
3891 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
\r
3894 $ac_path_EGREP_found && break 3
\r
3899 if test -z "$ac_cv_path_EGREP"; then
\r
3900 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
\r
3901 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
\r
3902 { (exit 1); exit 1; }; }
\r
3905 ac_cv_path_EGREP=$EGREP
\r
3910 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
\r
3911 $as_echo "$ac_cv_path_EGREP" >&6; }
\r
3912 EGREP="$ac_cv_path_EGREP"
\r
3916 # Check whether --with-gnu-ld was given.
\r
3917 if test "${with_gnu_ld+set}" = set; then
\r
3918 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
\r
3924 if test "$GCC" = yes; then
\r
3925 # Check if gcc -print-prog-name=ld gives a path.
\r
3926 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
\r
3927 $as_echo_n "checking for ld used by $CC... " >&6; }
\r
3930 # gcc leaves a trailing carriage return which upsets mingw
\r
3931 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
\r
3933 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
\r
3936 # Accept absolute paths.
\r
3937 [\\/]* | ?:[\\/]*)
\r
3938 re_direlt='/[^/][^/]*/\.\./'
\r
3939 # Canonicalize the pathname of ld
\r
3940 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
\r
3941 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
\r
3942 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
\r
3944 test -z "$LD" && LD="$ac_prog"
\r
3947 # If it fails, then pretend we aren't using GCC.
\r
3951 # If it is relative, then search for the first ld in PATH.
\r
3952 with_gnu_ld=unknown
\r
3955 elif test "$with_gnu_ld" = yes; then
\r
3956 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
\r
3957 $as_echo_n "checking for GNU ld... " >&6; }
\r
3959 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
\r
3960 $as_echo_n "checking for non-GNU ld... " >&6; }
\r
3962 if test "${lt_cv_path_LD+set}" = set; then
\r
3963 $as_echo_n "(cached) " >&6
\r
3965 if test -z "$LD"; then
\r
3966 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
\r
3967 for ac_dir in $PATH; do
\r
3968 IFS="$lt_save_ifs"
\r
3969 test -z "$ac_dir" && ac_dir=.
\r
3970 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
\r
3971 lt_cv_path_LD="$ac_dir/$ac_prog"
\r
3972 # Check to see if the program is GNU ld. I'd rather use --version,
\r
3973 # but apparently some variants of GNU ld only accept -v.
\r
3974 # Break only if it was the GNU/non-GNU ld that we prefer.
\r
3975 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
\r
3976 *GNU* | *'with BFD'*)
\r
3977 test "$with_gnu_ld" != no && break
\r
3980 test "$with_gnu_ld" != yes && break
\r
3985 IFS="$lt_save_ifs"
\r
3987 lt_cv_path_LD="$LD" # Let the user override the test with a path.
\r
3991 LD="$lt_cv_path_LD"
\r
3992 if test -n "$LD"; then
\r
3993 { $as_echo "$as_me:$LINENO: result: $LD" >&5
\r
3994 $as_echo "$LD" >&6; }
\r
3996 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
3997 $as_echo "no" >&6; }
\r
3999 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
\r
4000 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
\r
4001 { (exit 1); exit 1; }; }
\r
4002 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
\r
4003 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
\r
4004 if test "${lt_cv_prog_gnu_ld+set}" = set; then
\r
4005 $as_echo_n "(cached) " >&6
\r
4007 # I'd rather use --version here, but apparently some GNU lds only accept -v.
\r
4008 case `$LD -v 2>&1 </dev/null` in
\r
4009 *GNU* | *'with BFD'*)
\r
4010 lt_cv_prog_gnu_ld=yes
\r
4013 lt_cv_prog_gnu_ld=no
\r
4017 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
\r
4018 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
\r
4019 with_gnu_ld=$lt_cv_prog_gnu_ld
\r
4022 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
\r
4023 $as_echo_n "checking for $LD option to reload object files... " >&6; }
\r
4024 if test "${lt_cv_ld_reload_flag+set}" = set; then
\r
4025 $as_echo_n "(cached) " >&6
\r
4027 lt_cv_ld_reload_flag='-r'
\r
4029 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
\r
4030 $as_echo "$lt_cv_ld_reload_flag" >&6; }
\r
4031 reload_flag=$lt_cv_ld_reload_flag
\r
4032 case $reload_flag in
\r
4034 *) reload_flag=" $reload_flag" ;;
\r
4036 reload_cmds='$LD$reload_flag -o $output$reload_objs'
\r
4039 if test "$GCC" = yes; then
\r
4040 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
\r
4042 reload_cmds='$LD$reload_flag -o $output$reload_objs'
\r
4047 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
\r
4048 $as_echo_n "checking for BSD-compatible nm... " >&6; }
\r
4049 if test "${lt_cv_path_NM+set}" = set; then
\r
4050 $as_echo_n "(cached) " >&6
\r
4052 if test -n "$NM"; then
\r
4053 # Let the user override the test.
\r
4054 lt_cv_path_NM="$NM"
\r
4056 lt_nm_to_check="${ac_tool_prefix}nm"
\r
4057 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
\r
4058 lt_nm_to_check="$lt_nm_to_check nm"
\r
4060 for lt_tmp_nm in $lt_nm_to_check; do
\r
4061 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
\r
4062 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
\r
4063 IFS="$lt_save_ifs"
\r
4064 test -z "$ac_dir" && ac_dir=.
\r
4065 tmp_nm="$ac_dir/$lt_tmp_nm"
\r
4066 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
\r
4067 # Check to see if the nm accepts a BSD-compat flag.
\r
4068 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
\r
4069 # nm: unknown option "B" ignored
\r
4070 # Tru64's nm complains that /dev/null is an invalid object file
\r
4071 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
\r
4072 */dev/null* | *'Invalid file or object type'*)
\r
4073 lt_cv_path_NM="$tmp_nm -B"
\r
4077 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
\r
4079 lt_cv_path_NM="$tmp_nm -p"
\r
4083 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
\r
4084 continue # so that we can try to find one that supports BSD flags
\r
4091 IFS="$lt_save_ifs"
\r
4093 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
\r
4096 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
\r
4097 $as_echo "$lt_cv_path_NM" >&6; }
\r
4098 NM="$lt_cv_path_NM"
\r
4100 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
\r
4101 $as_echo_n "checking whether ln -s works... " >&6; }
\r
4103 if test "$LN_S" = "ln -s"; then
\r
4104 { $as_echo "$as_me:$LINENO: result: yes" >&5
\r
4105 $as_echo "yes" >&6; }
\r
4107 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
\r
4108 $as_echo "no, using $LN_S" >&6; }
\r
4111 { $as_echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
\r
4112 $as_echo_n "checking how to recognise dependent libraries... " >&6; }
\r
4113 if test "${lt_cv_deplibs_check_method+set}" = set; then
\r
4114 $as_echo_n "(cached) " >&6
\r
4116 lt_cv_file_magic_cmd='$MAGIC_CMD'
\r
4117 lt_cv_file_magic_test_file=
\r
4118 lt_cv_deplibs_check_method='unknown'
\r
4119 # Need to set the preceding variable on all platforms that support
\r
4120 # interlibrary dependencies.
\r
4121 # 'none' -- dependencies not supported.
\r
4122 # `unknown' -- same as none, but documents that we really don't know.
\r
4123 # 'pass_all' -- all dependencies passed with no checks.
\r
4124 # 'test_compile' -- check by making test program.
\r
4125 # 'file_magic [[regex]]' -- check by looking for files in library path
\r
4126 # which responds to the $file_magic_cmd with a given extended regex.
\r
4127 # If you have `file' or equivalent on your system and you're not sure
\r
4128 # whether `pass_all' will *always* work, you probably want this one.
\r
4132 lt_cv_deplibs_check_method=pass_all
\r
4136 lt_cv_deplibs_check_method=pass_all
\r
4140 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
\r
4141 lt_cv_file_magic_cmd='/usr/bin/file -L'
\r
4142 lt_cv_file_magic_test_file=/shlib/libc.so
\r
4146 # func_win32_libid is a shell function defined in ltmain.sh
\r
4147 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
\r
4148 lt_cv_file_magic_cmd='func_win32_libid'
\r
4152 # Base MSYS/MinGW do not provide the 'file' command needed by
\r
4153 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
\r
4154 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
\r
4155 lt_cv_file_magic_cmd='$OBJDUMP -f'
\r
4158 darwin* | rhapsody*)
\r
4159 lt_cv_deplibs_check_method=pass_all
\r
4162 freebsd* | kfreebsd*-gnu | dragonfly*)
\r
4163 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
\r
4166 # Not sure whether the presence of OpenBSD here was a mistake.
\r
4167 # Let's accept both of them until this is cleared up.
\r
4168 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
\r
4169 lt_cv_file_magic_cmd=/usr/bin/file
\r
4170 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
\r
4174 lt_cv_deplibs_check_method=pass_all
\r
4179 lt_cv_deplibs_check_method=pass_all
\r
4182 hpux10.20* | hpux11*)
\r
4183 lt_cv_file_magic_cmd=/usr/bin/file
\r
4186 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
\r
4187 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
\r
4190 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]'
\r
4191 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
\r
4194 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
\r
4195 lt_cv_file_magic_test_file=/usr/lib/libc.sl
\r
4201 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
\r
4202 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
\r
4205 irix5* | irix6* | nonstopux*)
\r
4207 *-32|*"-32 ") libmagic=32-bit;;
\r
4208 *-n32|*"-n32 ") libmagic=N32;;
\r
4209 *-64|*"-64 ") libmagic=64-bit;;
\r
4210 *) libmagic=never-match;;
\r
4212 lt_cv_deplibs_check_method=pass_all
\r
4215 # This must be Linux ELF.
\r
4217 lt_cv_deplibs_check_method=pass_all
\r
4221 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
\r
4222 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
\r
4224 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
\r
4229 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
\r
4230 lt_cv_file_magic_cmd=/usr/bin/file
\r
4231 lt_cv_file_magic_test_file=/usr/lib/libnls.so
\r
4235 lt_cv_deplibs_check_method=unknown
\r
4239 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
\r
4240 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
\r
4242 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
\r
4246 osf3* | osf4* | osf5*)
\r
4247 lt_cv_deplibs_check_method=pass_all
\r
4251 lt_cv_deplibs_check_method=pass_all
\r
4255 case $host_vendor in
\r
4257 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]'
\r
4258 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
\r
4261 lt_cv_deplibs_check_method=pass_all
\r
4264 lt_cv_file_magic_cmd='/bin/file'
\r
4265 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
\r
4268 lt_cv_file_magic_cmd='/bin/file'
\r
4269 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
\r
4270 lt_cv_file_magic_test_file=/lib/libc.so
\r
4273 lt_cv_deplibs_check_method=pass_all
\r
4276 lt_cv_deplibs_check_method=pass_all
\r
4281 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
\r
4282 lt_cv_deplibs_check_method=pass_all
\r
4287 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
\r
4288 $as_echo "$lt_cv_deplibs_check_method" >&6; }
\r
4289 file_magic_cmd=$lt_cv_file_magic_cmd
\r
4290 deplibs_check_method=$lt_cv_deplibs_check_method
\r
4291 test -z "$deplibs_check_method" && deplibs_check_method=unknown
\r
4296 # If no C compiler was specified, use CC.
\r
4297 LTCC=${LTCC-"$CC"}
\r
4299 # If no C compiler flags were specified, use CFLAGS.
\r
4300 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
\r
4302 # Allow CC to be a program name with arguments.
\r
4306 # Check whether --enable-libtool-lock was given.
\r
4307 if test "${enable_libtool_lock+set}" = set; then
\r
4308 enableval=$enable_libtool_lock;
\r
4311 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
\r
4313 # Some flags need to be propagated to the compiler or linker for good
\r
4314 # libtool support.
\r
4317 # Find out which ABI we are using.
\r
4318 echo 'int i;' > conftest.$ac_ext
\r
4319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
4320 (eval $ac_compile) 2>&5
\r
4322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4323 (exit $ac_status); }; then
\r
4324 case `/usr/bin/file conftest.$ac_objext` in
\r
4326 HPUX_IA64_MODE="32"
\r
4329 HPUX_IA64_MODE="64"
\r
4336 # Find out which ABI we are using.
\r
4337 echo '#line 4337 "configure"' > conftest.$ac_ext
\r
4338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
4339 (eval $ac_compile) 2>&5
\r
4341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4342 (exit $ac_status); }; then
\r
4343 if test "$lt_cv_prog_gnu_ld" = yes; then
\r
4344 case `/usr/bin/file conftest.$ac_objext` in
\r
4346 LD="${LD-ld} -melf32bsmip"
\r
4349 LD="${LD-ld} -melf32bmipn32"
\r
4352 LD="${LD-ld} -melf64bmip"
\r
4356 case `/usr/bin/file conftest.$ac_objext` in
\r
4361 LD="${LD-ld} -n32"
\r
4372 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
\r
4373 # Find out which ABI we are using.
\r
4374 echo 'int i;' > conftest.$ac_ext
\r
4375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
4376 (eval $ac_compile) 2>&5
\r
4378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4379 (exit $ac_status); }; then
\r
4380 case `/usr/bin/file conftest.o` in
\r
4384 LD="${LD-ld} -m elf_i386"
\r
4386 ppc64-*linux*|powerpc64-*linux*)
\r
4387 LD="${LD-ld} -m elf32ppclinux"
\r
4390 LD="${LD-ld} -m elf_s390"
\r
4393 LD="${LD-ld} -m elf32_sparc"
\r
4400 LD="${LD-ld} -m elf_x86_64"
\r
4402 ppc*-*linux*|powerpc*-*linux*)
\r
4403 LD="${LD-ld} -m elf64ppc"
\r
4406 LD="${LD-ld} -m elf64_s390"
\r
4409 LD="${LD-ld} -m elf64_sparc"
\r
4419 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
\r
4420 SAVE_CFLAGS="$CFLAGS"
\r
4421 CFLAGS="$CFLAGS -belf"
\r
4422 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
\r
4423 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
\r
4424 if test "${lt_cv_cc_needs_belf+set}" = set; then
\r
4425 $as_echo_n "(cached) " >&6
\r
4428 ac_cpp='$CPP $CPPFLAGS'
\r
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
4433 cat >conftest.$ac_ext <<_ACEOF
\r
4436 cat confdefs.h >>conftest.$ac_ext
\r
4437 cat >>conftest.$ac_ext <<_ACEOF
\r
4438 /* end confdefs.h. */
\r
4448 rm -f conftest.$ac_objext conftest$ac_exeext
\r
4449 if { (ac_try="$ac_link"
\r
4450 case "(($ac_try" in
\r
4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
4452 *) ac_try_echo=$ac_try;;
\r
4454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
4455 $as_echo "$ac_try_echo") >&5
\r
4456 (eval "$ac_link") 2>conftest.er1
\r
4458 grep -v '^ *+' conftest.er1 >conftest.err
\r
4459 rm -f conftest.er1
\r
4460 cat conftest.err >&5
\r
4461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4462 (exit $ac_status); } && {
\r
4463 test -z "$ac_c_werror_flag" ||
\r
4464 test ! -s conftest.err
\r
4465 } && test -s conftest$ac_exeext && {
\r
4466 test "$cross_compiling" = yes ||
\r
4467 $as_test_x conftest$ac_exeext
\r
4469 lt_cv_cc_needs_belf=yes
\r
4471 $as_echo "$as_me: failed program was:" >&5
\r
4472 sed 's/^/| /' conftest.$ac_ext >&5
\r
4474 lt_cv_cc_needs_belf=no
\r
4477 rm -rf conftest.dSYM
\r
4478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
4479 conftest$ac_exeext conftest.$ac_ext
\r
4481 ac_cpp='$CPP $CPPFLAGS'
\r
4482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
4483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
4484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
4487 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
\r
4488 $as_echo "$lt_cv_cc_needs_belf" >&6; }
\r
4489 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
\r
4490 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
\r
4491 CFLAGS="$SAVE_CFLAGS"
\r
4495 # Find out which ABI we are using.
\r
4496 echo 'int i;' > conftest.$ac_ext
\r
4497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
4498 (eval $ac_compile) 2>&5
\r
4500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4501 (exit $ac_status); }; then
\r
4502 case `/usr/bin/file conftest.o` in
\r
4504 case $lt_cv_prog_gnu_ld in
\r
4505 yes*) LD="${LD-ld} -m elf64_sparc" ;;
\r
4506 *) LD="${LD-ld} -64" ;;
\r
4517 need_locks="$enable_libtool_lock"
\r
4521 ac_cpp='$CPP $CPPFLAGS'
\r
4522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
4523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
4524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
4525 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
\r
4526 $as_echo_n "checking how to run the C preprocessor... " >&6; }
\r
4527 # On Suns, sometimes $CPP names a directory.
\r
4528 if test -n "$CPP" && test -d "$CPP"; then
\r
4531 if test -z "$CPP"; then
\r
4532 if test "${ac_cv_prog_CPP+set}" = set; then
\r
4533 $as_echo_n "(cached) " >&6
\r
4535 # Double quotes because CPP needs to be expanded
\r
4536 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
\r
4538 ac_preproc_ok=false
\r
4539 for ac_c_preproc_warn_flag in '' yes
\r
4541 # Use a header file that comes with gcc, so configuring glibc
\r
4542 # with a fresh cross-compiler works.
\r
4543 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
4544 # <limits.h> exists even on freestanding compilers.
\r
4545 # On the NeXT, cc -E runs the code through the compiler's parser,
\r
4546 # not just through cpp. "Syntax error" is here to catch this case.
\r
4547 cat >conftest.$ac_ext <<_ACEOF
\r
4550 cat confdefs.h >>conftest.$ac_ext
\r
4551 cat >>conftest.$ac_ext <<_ACEOF
\r
4552 /* end confdefs.h. */
\r
4554 # include <limits.h>
\r
4556 # include <assert.h>
\r
4560 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
4561 case "(($ac_try" in
\r
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
4563 *) ac_try_echo=$ac_try;;
\r
4565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
4566 $as_echo "$ac_try_echo") >&5
\r
4567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
4569 grep -v '^ *+' conftest.er1 >conftest.err
\r
4570 rm -f conftest.er1
\r
4571 cat conftest.err >&5
\r
4572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4573 (exit $ac_status); } >/dev/null && {
\r
4574 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
4575 test ! -s conftest.err
\r
4579 $as_echo "$as_me: failed program was:" >&5
\r
4580 sed 's/^/| /' conftest.$ac_ext >&5
\r
4582 # Broken: fails on valid input.
\r
4586 rm -f conftest.err conftest.$ac_ext
\r
4588 # OK, works on sane cases. Now check whether nonexistent headers
\r
4589 # can be detected and how.
\r
4590 cat >conftest.$ac_ext <<_ACEOF
\r
4593 cat confdefs.h >>conftest.$ac_ext
\r
4594 cat >>conftest.$ac_ext <<_ACEOF
\r
4595 /* end confdefs.h. */
\r
4596 #include <ac_nonexistent.h>
\r
4598 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
4599 case "(($ac_try" in
\r
4600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
4601 *) ac_try_echo=$ac_try;;
\r
4603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
4604 $as_echo "$ac_try_echo") >&5
\r
4605 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
4607 grep -v '^ *+' conftest.er1 >conftest.err
\r
4608 rm -f conftest.er1
\r
4609 cat conftest.err >&5
\r
4610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4611 (exit $ac_status); } >/dev/null && {
\r
4612 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
4613 test ! -s conftest.err
\r
4615 # Broken: success on invalid input.
\r
4618 $as_echo "$as_me: failed program was:" >&5
\r
4619 sed 's/^/| /' conftest.$ac_ext >&5
\r
4621 # Passes both tests.
\r
4626 rm -f conftest.err conftest.$ac_ext
\r
4629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
\r
4630 rm -f conftest.err conftest.$ac_ext
\r
4631 if $ac_preproc_ok; then
\r
4636 ac_cv_prog_CPP=$CPP
\r
4639 CPP=$ac_cv_prog_CPP
\r
4641 ac_cv_prog_CPP=$CPP
\r
4643 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
\r
4644 $as_echo "$CPP" >&6; }
\r
4645 ac_preproc_ok=false
\r
4646 for ac_c_preproc_warn_flag in '' yes
\r
4648 # Use a header file that comes with gcc, so configuring glibc
\r
4649 # with a fresh cross-compiler works.
\r
4650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
4651 # <limits.h> exists even on freestanding compilers.
\r
4652 # On the NeXT, cc -E runs the code through the compiler's parser,
\r
4653 # not just through cpp. "Syntax error" is here to catch this case.
\r
4654 cat >conftest.$ac_ext <<_ACEOF
\r
4657 cat confdefs.h >>conftest.$ac_ext
\r
4658 cat >>conftest.$ac_ext <<_ACEOF
\r
4659 /* end confdefs.h. */
\r
4661 # include <limits.h>
\r
4663 # include <assert.h>
\r
4667 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
4668 case "(($ac_try" in
\r
4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
4670 *) ac_try_echo=$ac_try;;
\r
4672 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
4673 $as_echo "$ac_try_echo") >&5
\r
4674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
4676 grep -v '^ *+' conftest.er1 >conftest.err
\r
4677 rm -f conftest.er1
\r
4678 cat conftest.err >&5
\r
4679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4680 (exit $ac_status); } >/dev/null && {
\r
4681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
4682 test ! -s conftest.err
\r
4686 $as_echo "$as_me: failed program was:" >&5
\r
4687 sed 's/^/| /' conftest.$ac_ext >&5
\r
4689 # Broken: fails on valid input.
\r
4693 rm -f conftest.err conftest.$ac_ext
\r
4695 # OK, works on sane cases. Now check whether nonexistent headers
\r
4696 # can be detected and how.
\r
4697 cat >conftest.$ac_ext <<_ACEOF
\r
4700 cat confdefs.h >>conftest.$ac_ext
\r
4701 cat >>conftest.$ac_ext <<_ACEOF
\r
4702 /* end confdefs.h. */
\r
4703 #include <ac_nonexistent.h>
\r
4705 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
4706 case "(($ac_try" in
\r
4707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
4708 *) ac_try_echo=$ac_try;;
\r
4710 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
4711 $as_echo "$ac_try_echo") >&5
\r
4712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
4714 grep -v '^ *+' conftest.er1 >conftest.err
\r
4715 rm -f conftest.er1
\r
4716 cat conftest.err >&5
\r
4717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4718 (exit $ac_status); } >/dev/null && {
\r
4719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
4720 test ! -s conftest.err
\r
4722 # Broken: success on invalid input.
\r
4725 $as_echo "$as_me: failed program was:" >&5
\r
4726 sed 's/^/| /' conftest.$ac_ext >&5
\r
4728 # Passes both tests.
\r
4733 rm -f conftest.err conftest.$ac_ext
\r
4736 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
\r
4737 rm -f conftest.err conftest.$ac_ext
\r
4738 if $ac_preproc_ok; then
\r
4741 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
\r
4742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
\r
4743 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
\r
4744 See \`config.log' for more details." >&5
\r
4745 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
\r
4746 See \`config.log' for more details." >&2;}
\r
4747 { (exit 1); exit 1; }; }; }
\r
4751 ac_cpp='$CPP $CPPFLAGS'
\r
4752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
4753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
4754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
4757 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
\r
4758 $as_echo_n "checking for ANSI C header files... " >&6; }
\r
4759 if test "${ac_cv_header_stdc+set}" = set; then
\r
4760 $as_echo_n "(cached) " >&6
\r
4762 cat >conftest.$ac_ext <<_ACEOF
\r
4765 cat confdefs.h >>conftest.$ac_ext
\r
4766 cat >>conftest.$ac_ext <<_ACEOF
\r
4767 /* end confdefs.h. */
\r
4768 #include <stdlib.h>
\r
4769 #include <stdarg.h>
\r
4770 #include <string.h>
\r
4771 #include <float.h>
\r
4781 rm -f conftest.$ac_objext
\r
4782 if { (ac_try="$ac_compile"
\r
4783 case "(($ac_try" in
\r
4784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
4785 *) ac_try_echo=$ac_try;;
\r
4787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
4788 $as_echo "$ac_try_echo") >&5
\r
4789 (eval "$ac_compile") 2>conftest.er1
\r
4791 grep -v '^ *+' conftest.er1 >conftest.err
\r
4792 rm -f conftest.er1
\r
4793 cat conftest.err >&5
\r
4794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4795 (exit $ac_status); } && {
\r
4796 test -z "$ac_c_werror_flag" ||
\r
4797 test ! -s conftest.err
\r
4798 } && test -s conftest.$ac_objext; then
\r
4799 ac_cv_header_stdc=yes
\r
4801 $as_echo "$as_me: failed program was:" >&5
\r
4802 sed 's/^/| /' conftest.$ac_ext >&5
\r
4804 ac_cv_header_stdc=no
\r
4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
4809 if test $ac_cv_header_stdc = yes; then
\r
4810 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
\r
4811 cat >conftest.$ac_ext <<_ACEOF
\r
4814 cat confdefs.h >>conftest.$ac_ext
\r
4815 cat >>conftest.$ac_ext <<_ACEOF
\r
4816 /* end confdefs.h. */
\r
4817 #include <string.h>
\r
4820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
\r
4821 $EGREP "memchr" >/dev/null 2>&1; then
\r
4824 ac_cv_header_stdc=no
\r
4830 if test $ac_cv_header_stdc = yes; then
\r
4831 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
\r
4832 cat >conftest.$ac_ext <<_ACEOF
\r
4835 cat confdefs.h >>conftest.$ac_ext
\r
4836 cat >>conftest.$ac_ext <<_ACEOF
\r
4837 /* end confdefs.h. */
\r
4838 #include <stdlib.h>
\r
4841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
\r
4842 $EGREP "free" >/dev/null 2>&1; then
\r
4845 ac_cv_header_stdc=no
\r
4851 if test $ac_cv_header_stdc = yes; then
\r
4852 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
\r
4853 if test "$cross_compiling" = yes; then
\r
4856 cat >conftest.$ac_ext <<_ACEOF
\r
4859 cat confdefs.h >>conftest.$ac_ext
\r
4860 cat >>conftest.$ac_ext <<_ACEOF
\r
4861 /* end confdefs.h. */
\r
4862 #include <ctype.h>
\r
4863 #include <stdlib.h>
\r
4864 #if ((' ' & 0x0FF) == 0x020)
\r
4865 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
\r
4866 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
\r
4868 # define ISLOWER(c) \
\r
4869 (('a' <= (c) && (c) <= 'i') \
\r
4870 || ('j' <= (c) && (c) <= 'r') \
\r
4871 || ('s' <= (c) && (c) <= 'z'))
\r
4872 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
\r
4875 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
\r
4880 for (i = 0; i < 256; i++)
\r
4881 if (XOR (islower (i), ISLOWER (i))
\r
4882 || toupper (i) != TOUPPER (i))
\r
4887 rm -f conftest$ac_exeext
\r
4888 if { (ac_try="$ac_link"
\r
4889 case "(($ac_try" in
\r
4890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
4891 *) ac_try_echo=$ac_try;;
\r
4893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
4894 $as_echo "$ac_try_echo") >&5
\r
4895 (eval "$ac_link") 2>&5
\r
4897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4898 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
\r
4899 { (case "(($ac_try" in
\r
4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
4901 *) ac_try_echo=$ac_try;;
\r
4903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
4904 $as_echo "$ac_try_echo") >&5
\r
4905 (eval "$ac_try") 2>&5
\r
4907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4908 (exit $ac_status); }; }; then
\r
4911 $as_echo "$as_me: program exited with status $ac_status" >&5
\r
4912 $as_echo "$as_me: failed program was:" >&5
\r
4913 sed 's/^/| /' conftest.$ac_ext >&5
\r
4915 ( exit $ac_status )
\r
4916 ac_cv_header_stdc=no
\r
4918 rm -rf conftest.dSYM
\r
4919 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
\r
4925 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
\r
4926 $as_echo "$ac_cv_header_stdc" >&6; }
\r
4927 if test $ac_cv_header_stdc = yes; then
\r
4929 cat >>confdefs.h <<\_ACEOF
\r
4930 #define STDC_HEADERS 1
\r
4935 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
\r
4945 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
\r
4946 inttypes.h stdint.h unistd.h
\r
4948 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
4949 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
4950 $as_echo_n "checking for $ac_header... " >&6; }
\r
4951 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
4952 $as_echo_n "(cached) " >&6
\r
4954 cat >conftest.$ac_ext <<_ACEOF
\r
4957 cat confdefs.h >>conftest.$ac_ext
\r
4958 cat >>conftest.$ac_ext <<_ACEOF
\r
4959 /* end confdefs.h. */
\r
4960 $ac_includes_default
\r
4962 #include <$ac_header>
\r
4964 rm -f conftest.$ac_objext
\r
4965 if { (ac_try="$ac_compile"
\r
4966 case "(($ac_try" in
\r
4967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
4968 *) ac_try_echo=$ac_try;;
\r
4970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
4971 $as_echo "$ac_try_echo") >&5
\r
4972 (eval "$ac_compile") 2>conftest.er1
\r
4974 grep -v '^ *+' conftest.er1 >conftest.err
\r
4975 rm -f conftest.er1
\r
4976 cat conftest.err >&5
\r
4977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
4978 (exit $ac_status); } && {
\r
4979 test -z "$ac_c_werror_flag" ||
\r
4980 test ! -s conftest.err
\r
4981 } && test -s conftest.$ac_objext; then
\r
4982 eval "$as_ac_Header=yes"
\r
4984 $as_echo "$as_me: failed program was:" >&5
\r
4985 sed 's/^/| /' conftest.$ac_ext >&5
\r
4987 eval "$as_ac_Header=no"
\r
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
4992 ac_res=`eval 'as_val=${'$as_ac_Header'}
\r
4993 $as_echo "$as_val"'`
\r
4994 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
\r
4995 $as_echo "$ac_res" >&6; }
\r
4996 as_val=`eval 'as_val=${'$as_ac_Header'}
\r
4997 $as_echo "$as_val"'`
\r
4998 if test "x$as_val" = x""yes; then
\r
4999 cat >>confdefs.h <<_ACEOF
\r
5000 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
5009 for ac_header in dlfcn.h
\r
5011 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
5012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
5013 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
5014 $as_echo_n "checking for $ac_header... " >&6; }
\r
5015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
5016 $as_echo_n "(cached) " >&6
\r
5018 ac_res=`eval 'as_val=${'$as_ac_Header'}
\r
5019 $as_echo "$as_val"'`
\r
5020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
\r
5021 $as_echo "$ac_res" >&6; }
\r
5023 # Is the header compilable?
\r
5024 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
\r
5025 $as_echo_n "checking $ac_header usability... " >&6; }
\r
5026 cat >conftest.$ac_ext <<_ACEOF
\r
5029 cat confdefs.h >>conftest.$ac_ext
\r
5030 cat >>conftest.$ac_ext <<_ACEOF
\r
5031 /* end confdefs.h. */
\r
5032 $ac_includes_default
\r
5033 #include <$ac_header>
\r
5035 rm -f conftest.$ac_objext
\r
5036 if { (ac_try="$ac_compile"
\r
5037 case "(($ac_try" in
\r
5038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5039 *) ac_try_echo=$ac_try;;
\r
5041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5042 $as_echo "$ac_try_echo") >&5
\r
5043 (eval "$ac_compile") 2>conftest.er1
\r
5045 grep -v '^ *+' conftest.er1 >conftest.err
\r
5046 rm -f conftest.er1
\r
5047 cat conftest.err >&5
\r
5048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5049 (exit $ac_status); } && {
\r
5050 test -z "$ac_c_werror_flag" ||
\r
5051 test ! -s conftest.err
\r
5052 } && test -s conftest.$ac_objext; then
\r
5053 ac_header_compiler=yes
\r
5055 $as_echo "$as_me: failed program was:" >&5
\r
5056 sed 's/^/| /' conftest.$ac_ext >&5
\r
5058 ac_header_compiler=no
\r
5061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
5062 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
\r
5063 $as_echo "$ac_header_compiler" >&6; }
\r
5065 # Is the header present?
\r
5066 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
\r
5067 $as_echo_n "checking $ac_header presence... " >&6; }
\r
5068 cat >conftest.$ac_ext <<_ACEOF
\r
5071 cat confdefs.h >>conftest.$ac_ext
\r
5072 cat >>conftest.$ac_ext <<_ACEOF
\r
5073 /* end confdefs.h. */
\r
5074 #include <$ac_header>
\r
5076 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
5077 case "(($ac_try" in
\r
5078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5079 *) ac_try_echo=$ac_try;;
\r
5081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5082 $as_echo "$ac_try_echo") >&5
\r
5083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
5085 grep -v '^ *+' conftest.er1 >conftest.err
\r
5086 rm -f conftest.er1
\r
5087 cat conftest.err >&5
\r
5088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5089 (exit $ac_status); } >/dev/null && {
\r
5090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
5091 test ! -s conftest.err
\r
5093 ac_header_preproc=yes
\r
5095 $as_echo "$as_me: failed program was:" >&5
\r
5096 sed 's/^/| /' conftest.$ac_ext >&5
\r
5098 ac_header_preproc=no
\r
5101 rm -f conftest.err conftest.$ac_ext
\r
5102 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
\r
5103 $as_echo "$ac_header_preproc" >&6; }
\r
5105 # So? What about this header?
\r
5106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
\r
5108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
\r
5109 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
\r
5110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
\r
5111 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
\r
5112 ac_header_preproc=yes
\r
5115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
\r
5116 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
\r
5117 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
\r
5118 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
\r
5119 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
\r
5120 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
\r
5121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
\r
5122 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
\r
5123 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
\r
5124 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
\r
5125 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
\r
5126 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
\r
5128 ## ------------------------------------- ##
\r
5129 ## Report this to jimi@temporal-wave.com ##
\r
5130 ## ------------------------------------- ##
\r
5132 ) | sed "s/^/$as_me: WARNING: /" >&2
\r
5135 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
5136 $as_echo_n "checking for $ac_header... " >&6; }
\r
5137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
5138 $as_echo_n "(cached) " >&6
\r
5140 eval "$as_ac_Header=\$ac_header_preproc"
\r
5142 ac_res=`eval 'as_val=${'$as_ac_Header'}
\r
5143 $as_echo "$as_val"'`
\r
5144 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
\r
5145 $as_echo "$ac_res" >&6; }
\r
5148 as_val=`eval 'as_val=${'$as_ac_Header'}
\r
5149 $as_echo "$as_val"'`
\r
5150 if test "x$as_val" = x""yes; then
\r
5151 cat >>confdefs.h <<_ACEOF
\r
5152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
5160 ac_cpp='$CXXCPP $CPPFLAGS'
\r
5161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
5162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
5163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
\r
5164 if test -z "$CXX"; then
\r
5165 if test -n "$CCC"; then
\r
5168 if test -n "$ac_tool_prefix"; then
\r
5169 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
\r
5171 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
\r
5172 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
\r
5173 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
5174 $as_echo_n "checking for $ac_word... " >&6; }
\r
5175 if test "${ac_cv_prog_CXX+set}" = set; then
\r
5176 $as_echo_n "(cached) " >&6
\r
5178 if test -n "$CXX"; then
\r
5179 ac_cv_prog_CXX="$CXX" # Let the user override the test.
\r
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
5182 for as_dir in $PATH
\r
5185 test -z "$as_dir" && as_dir=.
\r
5186 for ac_exec_ext in '' $ac_executable_extensions; do
\r
5187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
5188 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
\r
5189 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
5198 CXX=$ac_cv_prog_CXX
\r
5199 if test -n "$CXX"; then
\r
5200 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
\r
5201 $as_echo "$CXX" >&6; }
\r
5203 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
5204 $as_echo "no" >&6; }
\r
5208 test -n "$CXX" && break
\r
5211 if test -z "$CXX"; then
\r
5213 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
\r
5215 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
5216 set dummy $ac_prog; ac_word=$2
\r
5217 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
5218 $as_echo_n "checking for $ac_word... " >&6; }
\r
5219 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
\r
5220 $as_echo_n "(cached) " >&6
\r
5222 if test -n "$ac_ct_CXX"; then
\r
5223 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
\r
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
5226 for as_dir in $PATH
\r
5229 test -z "$as_dir" && as_dir=.
\r
5230 for ac_exec_ext in '' $ac_executable_extensions; do
\r
5231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
5232 ac_cv_prog_ac_ct_CXX="$ac_prog"
\r
5233 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
5242 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
\r
5243 if test -n "$ac_ct_CXX"; then
\r
5244 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
\r
5245 $as_echo "$ac_ct_CXX" >&6; }
\r
5247 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
5248 $as_echo "no" >&6; }
\r
5252 test -n "$ac_ct_CXX" && break
\r
5255 if test "x$ac_ct_CXX" = x; then
\r
5258 case $cross_compiling:$ac_tool_warned in
\r
5260 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
\r
5261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
\r
5262 ac_tool_warned=yes ;;
\r
5270 # Provide some information about the compiler.
\r
5271 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
\r
5274 { (ac_try="$ac_compiler --version >&5"
\r
5275 case "(($ac_try" in
\r
5276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5277 *) ac_try_echo=$ac_try;;
\r
5279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5280 $as_echo "$ac_try_echo") >&5
\r
5281 (eval "$ac_compiler --version >&5") 2>&5
\r
5283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5284 (exit $ac_status); }
\r
5285 { (ac_try="$ac_compiler -v >&5"
\r
5286 case "(($ac_try" in
\r
5287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5288 *) ac_try_echo=$ac_try;;
\r
5290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5291 $as_echo "$ac_try_echo") >&5
\r
5292 (eval "$ac_compiler -v >&5") 2>&5
\r
5294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5295 (exit $ac_status); }
\r
5296 { (ac_try="$ac_compiler -V >&5"
\r
5297 case "(($ac_try" in
\r
5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5299 *) ac_try_echo=$ac_try;;
\r
5301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5302 $as_echo "$ac_try_echo") >&5
\r
5303 (eval "$ac_compiler -V >&5") 2>&5
\r
5305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5306 (exit $ac_status); }
\r
5308 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
\r
5309 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
\r
5310 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
\r
5311 $as_echo_n "(cached) " >&6
\r
5313 cat >conftest.$ac_ext <<_ACEOF
\r
5316 cat confdefs.h >>conftest.$ac_ext
\r
5317 cat >>conftest.$ac_ext <<_ACEOF
\r
5318 /* end confdefs.h. */
\r
5331 rm -f conftest.$ac_objext
\r
5332 if { (ac_try="$ac_compile"
\r
5333 case "(($ac_try" in
\r
5334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5335 *) ac_try_echo=$ac_try;;
\r
5337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5338 $as_echo "$ac_try_echo") >&5
\r
5339 (eval "$ac_compile") 2>conftest.er1
\r
5341 grep -v '^ *+' conftest.er1 >conftest.err
\r
5342 rm -f conftest.er1
\r
5343 cat conftest.err >&5
\r
5344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5345 (exit $ac_status); } && {
\r
5346 test -z "$ac_cxx_werror_flag" ||
\r
5347 test ! -s conftest.err
\r
5348 } && test -s conftest.$ac_objext; then
\r
5349 ac_compiler_gnu=yes
\r
5351 $as_echo "$as_me: failed program was:" >&5
\r
5352 sed 's/^/| /' conftest.$ac_ext >&5
\r
5354 ac_compiler_gnu=no
\r
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
5358 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
\r
5361 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
\r
5362 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
\r
5363 if test $ac_compiler_gnu = yes; then
\r
5368 ac_test_CXXFLAGS=${CXXFLAGS+set}
\r
5369 ac_save_CXXFLAGS=$CXXFLAGS
\r
5370 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
\r
5371 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
\r
5372 if test "${ac_cv_prog_cxx_g+set}" = set; then
\r
5373 $as_echo_n "(cached) " >&6
\r
5375 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
\r
5376 ac_cxx_werror_flag=yes
\r
5377 ac_cv_prog_cxx_g=no
\r
5379 cat >conftest.$ac_ext <<_ACEOF
\r
5382 cat confdefs.h >>conftest.$ac_ext
\r
5383 cat >>conftest.$ac_ext <<_ACEOF
\r
5384 /* end confdefs.h. */
\r
5394 rm -f conftest.$ac_objext
\r
5395 if { (ac_try="$ac_compile"
\r
5396 case "(($ac_try" in
\r
5397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5398 *) ac_try_echo=$ac_try;;
\r
5400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5401 $as_echo "$ac_try_echo") >&5
\r
5402 (eval "$ac_compile") 2>conftest.er1
\r
5404 grep -v '^ *+' conftest.er1 >conftest.err
\r
5405 rm -f conftest.er1
\r
5406 cat conftest.err >&5
\r
5407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5408 (exit $ac_status); } && {
\r
5409 test -z "$ac_cxx_werror_flag" ||
\r
5410 test ! -s conftest.err
\r
5411 } && test -s conftest.$ac_objext; then
\r
5412 ac_cv_prog_cxx_g=yes
\r
5414 $as_echo "$as_me: failed program was:" >&5
\r
5415 sed 's/^/| /' conftest.$ac_ext >&5
\r
5418 cat >conftest.$ac_ext <<_ACEOF
\r
5421 cat confdefs.h >>conftest.$ac_ext
\r
5422 cat >>conftest.$ac_ext <<_ACEOF
\r
5423 /* end confdefs.h. */
\r
5433 rm -f conftest.$ac_objext
\r
5434 if { (ac_try="$ac_compile"
\r
5435 case "(($ac_try" in
\r
5436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5437 *) ac_try_echo=$ac_try;;
\r
5439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5440 $as_echo "$ac_try_echo") >&5
\r
5441 (eval "$ac_compile") 2>conftest.er1
\r
5443 grep -v '^ *+' conftest.er1 >conftest.err
\r
5444 rm -f conftest.er1
\r
5445 cat conftest.err >&5
\r
5446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5447 (exit $ac_status); } && {
\r
5448 test -z "$ac_cxx_werror_flag" ||
\r
5449 test ! -s conftest.err
\r
5450 } && test -s conftest.$ac_objext; then
\r
5453 $as_echo "$as_me: failed program was:" >&5
\r
5454 sed 's/^/| /' conftest.$ac_ext >&5
\r
5456 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
\r
5458 cat >conftest.$ac_ext <<_ACEOF
\r
5461 cat confdefs.h >>conftest.$ac_ext
\r
5462 cat >>conftest.$ac_ext <<_ACEOF
\r
5463 /* end confdefs.h. */
\r
5473 rm -f conftest.$ac_objext
\r
5474 if { (ac_try="$ac_compile"
\r
5475 case "(($ac_try" in
\r
5476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5477 *) ac_try_echo=$ac_try;;
\r
5479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5480 $as_echo "$ac_try_echo") >&5
\r
5481 (eval "$ac_compile") 2>conftest.er1
\r
5483 grep -v '^ *+' conftest.er1 >conftest.err
\r
5484 rm -f conftest.er1
\r
5485 cat conftest.err >&5
\r
5486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5487 (exit $ac_status); } && {
\r
5488 test -z "$ac_cxx_werror_flag" ||
\r
5489 test ! -s conftest.err
\r
5490 } && test -s conftest.$ac_objext; then
\r
5491 ac_cv_prog_cxx_g=yes
\r
5493 $as_echo "$as_me: failed program was:" >&5
\r
5494 sed 's/^/| /' conftest.$ac_ext >&5
\r
5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
5502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
5505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
5506 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
\r
5508 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
\r
5509 $as_echo "$ac_cv_prog_cxx_g" >&6; }
\r
5510 if test "$ac_test_CXXFLAGS" = set; then
\r
5511 CXXFLAGS=$ac_save_CXXFLAGS
\r
5512 elif test $ac_cv_prog_cxx_g = yes; then
\r
5513 if test "$GXX" = yes; then
\r
5519 if test "$GXX" = yes; then
\r
5526 ac_cpp='$CXXCPP $CPPFLAGS'
\r
5527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
5528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
5529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
\r
5531 depcc="$CXX" am_compiler_list=
\r
5533 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
\r
5534 $as_echo_n "checking dependency style of $depcc... " >&6; }
\r
5535 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
\r
5536 $as_echo_n "(cached) " >&6
\r
5538 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
\r
5539 # We make a subdir and do the tests there. Otherwise we can end up
\r
5540 # making bogus files that we don't know about and never remove. For
\r
5541 # instance it was reported that on HP-UX the gcc test will end up
\r
5542 # making a dummy file named `D' -- because `-MD' means `put the output
\r
5544 mkdir conftest.dir
\r
5545 # Copy depcomp to subdir because otherwise we won't find it if we're
\r
5546 # using a relative directory.
\r
5547 cp "$am_depcomp" conftest.dir
\r
5549 # We will build objects and dependencies in a subdirectory because
\r
5550 # it helps to detect inapplicable dependency modes. For instance
\r
5551 # both Tru64's cc and ICC support -MD to output dependencies as a
\r
5552 # side effect of compilation, but ICC will put the dependencies in
\r
5553 # the current directory while Tru64 will put them in the object
\r
5557 am_cv_CXX_dependencies_compiler_type=none
\r
5558 if test "$am_compiler_list" = ""; then
\r
5559 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
\r
5561 for depmode in $am_compiler_list; do
\r
5562 # Setup a source with many dependencies, because some compilers
\r
5563 # like to wrap large dependency lists on column 80 (with \), and
\r
5564 # we should not choose a depcomp mode which is confused by this.
\r
5566 # We need to recreate these files for each test, as the compiler may
\r
5567 # overwrite some of them when testing with obscure command lines.
\r
5568 # This happens at least with the AIX C compiler.
\r
5569 : > sub/conftest.c
\r
5570 for i in 1 2 3 4 5 6; do
\r
5571 echo '#include "conftst'$i'.h"' >> sub/conftest.c
\r
5572 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
\r
5573 # Solaris 8's {/usr,}/bin/sh.
\r
5574 touch sub/conftst$i.h
\r
5576 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
\r
5580 # after this tag, mechanisms are not by side-effect, so they'll
\r
5581 # only be used when explicitly requested
\r
5582 if test "x$enable_dependency_tracking" = xyes; then
\r
5590 # We check with `-c' and `-o' for the sake of the "dashmstdout"
\r
5591 # mode. It turns out that the SunPro C++ compiler does not properly
\r
5592 # handle `-M -o', and we need to detect this.
\r
5593 if depmode=$depmode \
\r
5594 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
\r
5595 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
\r
5596 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
\r
5597 >/dev/null 2>conftest.err &&
\r
5598 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
\r
5599 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
\r
5600 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
\r
5601 # icc doesn't choke on unknown options, it will just issue warnings
\r
5602 # or remarks (even with -Werror). So we grep stderr for any message
\r
5603 # that says an option was ignored or not supported.
\r
5604 # When given -MP, icc 7.0 and 7.1 complain thusly:
\r
5605 # icc: Command line warning: ignoring option '-M'; no argument required
\r
5606 # The diagnosis changed in icc 8.0:
\r
5607 # icc: Command line remark: option '-MP' not supported
\r
5608 if (grep 'ignoring option' conftest.err ||
\r
5609 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
\r
5610 am_cv_CXX_dependencies_compiler_type=$depmode
\r
5617 rm -rf conftest.dir
\r
5619 am_cv_CXX_dependencies_compiler_type=none
\r
5623 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
\r
5624 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
\r
5625 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
\r
5630 test "x$enable_dependency_tracking" != xno \
\r
5631 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
\r
5632 am__fastdepCXX_TRUE=
\r
5633 am__fastdepCXX_FALSE='#'
\r
5635 am__fastdepCXX_TRUE='#'
\r
5636 am__fastdepCXX_FALSE=
\r
5642 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
\r
5643 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
\r
5644 (test "X$CXX" != "Xg++"))) ; then
\r
5646 ac_cpp='$CXXCPP $CPPFLAGS'
\r
5647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
5648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
5649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
\r
5650 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
\r
5651 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
\r
5652 if test -z "$CXXCPP"; then
\r
5653 if test "${ac_cv_prog_CXXCPP+set}" = set; then
\r
5654 $as_echo_n "(cached) " >&6
\r
5656 # Double quotes because CXXCPP needs to be expanded
\r
5657 for CXXCPP in "$CXX -E" "/lib/cpp"
\r
5659 ac_preproc_ok=false
\r
5660 for ac_cxx_preproc_warn_flag in '' yes
\r
5662 # Use a header file that comes with gcc, so configuring glibc
\r
5663 # with a fresh cross-compiler works.
\r
5664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
5665 # <limits.h> exists even on freestanding compilers.
\r
5666 # On the NeXT, cc -E runs the code through the compiler's parser,
\r
5667 # not just through cpp. "Syntax error" is here to catch this case.
\r
5668 cat >conftest.$ac_ext <<_ACEOF
\r
5671 cat confdefs.h >>conftest.$ac_ext
\r
5672 cat >>conftest.$ac_ext <<_ACEOF
\r
5673 /* end confdefs.h. */
\r
5675 # include <limits.h>
\r
5677 # include <assert.h>
\r
5681 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
5682 case "(($ac_try" in
\r
5683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5684 *) ac_try_echo=$ac_try;;
\r
5686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5687 $as_echo "$ac_try_echo") >&5
\r
5688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
5690 grep -v '^ *+' conftest.er1 >conftest.err
\r
5691 rm -f conftest.er1
\r
5692 cat conftest.err >&5
\r
5693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5694 (exit $ac_status); } >/dev/null && {
\r
5695 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
\r
5696 test ! -s conftest.err
\r
5700 $as_echo "$as_me: failed program was:" >&5
\r
5701 sed 's/^/| /' conftest.$ac_ext >&5
\r
5703 # Broken: fails on valid input.
\r
5707 rm -f conftest.err conftest.$ac_ext
\r
5709 # OK, works on sane cases. Now check whether nonexistent headers
\r
5710 # can be detected and how.
\r
5711 cat >conftest.$ac_ext <<_ACEOF
\r
5714 cat confdefs.h >>conftest.$ac_ext
\r
5715 cat >>conftest.$ac_ext <<_ACEOF
\r
5716 /* end confdefs.h. */
\r
5717 #include <ac_nonexistent.h>
\r
5719 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
5720 case "(($ac_try" in
\r
5721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5722 *) ac_try_echo=$ac_try;;
\r
5724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5725 $as_echo "$ac_try_echo") >&5
\r
5726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
5728 grep -v '^ *+' conftest.er1 >conftest.err
\r
5729 rm -f conftest.er1
\r
5730 cat conftest.err >&5
\r
5731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5732 (exit $ac_status); } >/dev/null && {
\r
5733 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
\r
5734 test ! -s conftest.err
\r
5736 # Broken: success on invalid input.
\r
5739 $as_echo "$as_me: failed program was:" >&5
\r
5740 sed 's/^/| /' conftest.$ac_ext >&5
\r
5742 # Passes both tests.
\r
5747 rm -f conftest.err conftest.$ac_ext
\r
5750 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
\r
5751 rm -f conftest.err conftest.$ac_ext
\r
5752 if $ac_preproc_ok; then
\r
5757 ac_cv_prog_CXXCPP=$CXXCPP
\r
5760 CXXCPP=$ac_cv_prog_CXXCPP
\r
5762 ac_cv_prog_CXXCPP=$CXXCPP
\r
5764 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
\r
5765 $as_echo "$CXXCPP" >&6; }
\r
5766 ac_preproc_ok=false
\r
5767 for ac_cxx_preproc_warn_flag in '' yes
\r
5769 # Use a header file that comes with gcc, so configuring glibc
\r
5770 # with a fresh cross-compiler works.
\r
5771 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
5772 # <limits.h> exists even on freestanding compilers.
\r
5773 # On the NeXT, cc -E runs the code through the compiler's parser,
\r
5774 # not just through cpp. "Syntax error" is here to catch this case.
\r
5775 cat >conftest.$ac_ext <<_ACEOF
\r
5778 cat confdefs.h >>conftest.$ac_ext
\r
5779 cat >>conftest.$ac_ext <<_ACEOF
\r
5780 /* end confdefs.h. */
\r
5782 # include <limits.h>
\r
5784 # include <assert.h>
\r
5788 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
5789 case "(($ac_try" in
\r
5790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5791 *) ac_try_echo=$ac_try;;
\r
5793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5794 $as_echo "$ac_try_echo") >&5
\r
5795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
5797 grep -v '^ *+' conftest.er1 >conftest.err
\r
5798 rm -f conftest.er1
\r
5799 cat conftest.err >&5
\r
5800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5801 (exit $ac_status); } >/dev/null && {
\r
5802 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
\r
5803 test ! -s conftest.err
\r
5807 $as_echo "$as_me: failed program was:" >&5
\r
5808 sed 's/^/| /' conftest.$ac_ext >&5
\r
5810 # Broken: fails on valid input.
\r
5814 rm -f conftest.err conftest.$ac_ext
\r
5816 # OK, works on sane cases. Now check whether nonexistent headers
\r
5817 # can be detected and how.
\r
5818 cat >conftest.$ac_ext <<_ACEOF
\r
5821 cat confdefs.h >>conftest.$ac_ext
\r
5822 cat >>conftest.$ac_ext <<_ACEOF
\r
5823 /* end confdefs.h. */
\r
5824 #include <ac_nonexistent.h>
\r
5826 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
5827 case "(($ac_try" in
\r
5828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5829 *) ac_try_echo=$ac_try;;
\r
5831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5832 $as_echo "$ac_try_echo") >&5
\r
5833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
5835 grep -v '^ *+' conftest.er1 >conftest.err
\r
5836 rm -f conftest.er1
\r
5837 cat conftest.err >&5
\r
5838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5839 (exit $ac_status); } >/dev/null && {
\r
5840 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
\r
5841 test ! -s conftest.err
\r
5843 # Broken: success on invalid input.
\r
5846 $as_echo "$as_me: failed program was:" >&5
\r
5847 sed 's/^/| /' conftest.$ac_ext >&5
\r
5849 # Passes both tests.
\r
5854 rm -f conftest.err conftest.$ac_ext
\r
5857 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
\r
5858 rm -f conftest.err conftest.$ac_ext
\r
5859 if $ac_preproc_ok; then
\r
5862 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
\r
5863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
\r
5864 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
\r
5865 See \`config.log' for more details." >&5
\r
5866 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
\r
5867 See \`config.log' for more details." >&2;}
\r
5868 { (exit 1); exit 1; }; }; }
\r
5872 ac_cpp='$CXXCPP $CPPFLAGS'
\r
5873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
5874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
5875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
\r
5881 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
\r
5882 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
5883 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
\r
5884 if test -n "$ac_tool_prefix"; then
\r
5885 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
\r
5887 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
\r
5888 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
\r
5889 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
5890 $as_echo_n "checking for $ac_word... " >&6; }
\r
5891 if test "${ac_cv_prog_F77+set}" = set; then
\r
5892 $as_echo_n "(cached) " >&6
\r
5894 if test -n "$F77"; then
\r
5895 ac_cv_prog_F77="$F77" # Let the user override the test.
\r
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
5898 for as_dir in $PATH
\r
5901 test -z "$as_dir" && as_dir=.
\r
5902 for ac_exec_ext in '' $ac_executable_extensions; do
\r
5903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
5904 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
\r
5905 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
5914 F77=$ac_cv_prog_F77
\r
5915 if test -n "$F77"; then
\r
5916 { $as_echo "$as_me:$LINENO: result: $F77" >&5
\r
5917 $as_echo "$F77" >&6; }
\r
5919 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
5920 $as_echo "no" >&6; }
\r
5924 test -n "$F77" && break
\r
5927 if test -z "$F77"; then
\r
5929 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
\r
5931 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
5932 set dummy $ac_prog; ac_word=$2
\r
5933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
5934 $as_echo_n "checking for $ac_word... " >&6; }
\r
5935 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
\r
5936 $as_echo_n "(cached) " >&6
\r
5938 if test -n "$ac_ct_F77"; then
\r
5939 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
\r
5941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
5942 for as_dir in $PATH
\r
5945 test -z "$as_dir" && as_dir=.
\r
5946 for ac_exec_ext in '' $ac_executable_extensions; do
\r
5947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
5948 ac_cv_prog_ac_ct_F77="$ac_prog"
\r
5949 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
5958 ac_ct_F77=$ac_cv_prog_ac_ct_F77
\r
5959 if test -n "$ac_ct_F77"; then
\r
5960 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
\r
5961 $as_echo "$ac_ct_F77" >&6; }
\r
5963 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
5964 $as_echo "no" >&6; }
\r
5968 test -n "$ac_ct_F77" && break
\r
5971 if test "x$ac_ct_F77" = x; then
\r
5974 case $cross_compiling:$ac_tool_warned in
\r
5976 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
\r
5977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
\r
5978 ac_tool_warned=yes ;;
\r
5985 # Provide some information about the compiler.
\r
5986 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
\r
5989 { (ac_try="$ac_compiler --version >&5"
\r
5990 case "(($ac_try" in
\r
5991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5992 *) ac_try_echo=$ac_try;;
\r
5994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
5995 $as_echo "$ac_try_echo") >&5
\r
5996 (eval "$ac_compiler --version >&5") 2>&5
\r
5998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5999 (exit $ac_status); }
\r
6000 { (ac_try="$ac_compiler -v >&5"
\r
6001 case "(($ac_try" in
\r
6002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6003 *) ac_try_echo=$ac_try;;
\r
6005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
6006 $as_echo "$ac_try_echo") >&5
\r
6007 (eval "$ac_compiler -v >&5") 2>&5
\r
6009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6010 (exit $ac_status); }
\r
6011 { (ac_try="$ac_compiler -V >&5"
\r
6012 case "(($ac_try" in
\r
6013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6014 *) ac_try_echo=$ac_try;;
\r
6016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
6017 $as_echo "$ac_try_echo") >&5
\r
6018 (eval "$ac_compiler -V >&5") 2>&5
\r
6020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6021 (exit $ac_status); }
\r
6024 # If we don't use `.F' as extension, the preprocessor is not run on the
\r
6025 # input file. (Note that this only needs to work for GNU compilers.)
\r
6026 ac_save_ext=$ac_ext
\r
6028 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
\r
6029 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
\r
6030 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
\r
6031 $as_echo_n "(cached) " >&6
\r
6033 cat >conftest.$ac_ext <<_ACEOF
\r
6041 rm -f conftest.$ac_objext
\r
6042 if { (ac_try="$ac_compile"
\r
6043 case "(($ac_try" in
\r
6044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6045 *) ac_try_echo=$ac_try;;
\r
6047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
6048 $as_echo "$ac_try_echo") >&5
\r
6049 (eval "$ac_compile") 2>conftest.er1
\r
6051 grep -v '^ *+' conftest.er1 >conftest.err
\r
6052 rm -f conftest.er1
\r
6053 cat conftest.err >&5
\r
6054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6055 (exit $ac_status); } && {
\r
6056 test -z "$ac_f77_werror_flag" ||
\r
6057 test ! -s conftest.err
\r
6058 } && test -s conftest.$ac_objext; then
\r
6059 ac_compiler_gnu=yes
\r
6061 $as_echo "$as_me: failed program was:" >&5
\r
6062 sed 's/^/| /' conftest.$ac_ext >&5
\r
6064 ac_compiler_gnu=no
\r
6067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
6068 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
\r
6071 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
\r
6072 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
\r
6073 ac_ext=$ac_save_ext
\r
6074 ac_test_FFLAGS=${FFLAGS+set}
\r
6075 ac_save_FFLAGS=$FFLAGS
\r
6077 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
\r
6078 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
\r
6079 if test "${ac_cv_prog_f77_g+set}" = set; then
\r
6080 $as_echo_n "(cached) " >&6
\r
6083 cat >conftest.$ac_ext <<_ACEOF
\r
6088 rm -f conftest.$ac_objext
\r
6089 if { (ac_try="$ac_compile"
\r
6090 case "(($ac_try" in
\r
6091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6092 *) ac_try_echo=$ac_try;;
\r
6094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
6095 $as_echo "$ac_try_echo") >&5
\r
6096 (eval "$ac_compile") 2>conftest.er1
\r
6098 grep -v '^ *+' conftest.er1 >conftest.err
\r
6099 rm -f conftest.er1
\r
6100 cat conftest.err >&5
\r
6101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6102 (exit $ac_status); } && {
\r
6103 test -z "$ac_f77_werror_flag" ||
\r
6104 test ! -s conftest.err
\r
6105 } && test -s conftest.$ac_objext; then
\r
6106 ac_cv_prog_f77_g=yes
\r
6108 $as_echo "$as_me: failed program was:" >&5
\r
6109 sed 's/^/| /' conftest.$ac_ext >&5
\r
6111 ac_cv_prog_f77_g=no
\r
6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
6117 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
\r
6118 $as_echo "$ac_cv_prog_f77_g" >&6; }
\r
6119 if test "$ac_test_FFLAGS" = set; then
\r
6120 FFLAGS=$ac_save_FFLAGS
\r
6121 elif test $ac_cv_prog_f77_g = yes; then
\r
6122 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
\r
6128 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
\r
6135 if test $ac_compiler_gnu = yes; then
\r
6141 ac_cpp='$CPP $CPPFLAGS'
\r
6142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
6143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
6144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
6148 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
\r
6150 # find the maximum length of command line arguments
\r
6151 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
\r
6152 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
\r
6153 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
\r
6154 $as_echo_n "(cached) " >&6
\r
6161 # On DJGPP, this test can blow up pretty badly due to problems in libc
\r
6162 # (any single argument exceeding 2000 bytes causes a buffer overrun
\r
6163 # during glob expansion). Even if it were fixed, the result of this
\r
6164 # check would be larger than it should be.
\r
6165 lt_cv_sys_max_cmd_len=12288; # 12K is about right
\r
6169 # Under GNU Hurd, this test is not required because there is
\r
6170 # no limit to the length of command line arguments.
\r
6171 # Libtool will interpret -1 as no limit whatsoever
\r
6172 lt_cv_sys_max_cmd_len=-1;
\r
6176 # On Win9x/ME, this test blows up -- it succeeds, but takes
\r
6177 # about 5 minutes as the teststring grows exponentially.
\r
6178 # Worse, since 9x/ME are not pre-emptively multitasking,
\r
6179 # you end up with a "frozen" computer, even though with patience
\r
6180 # the test eventually succeeds (with a max line length of 256k).
\r
6181 # Instead, let's just punt: use the minimum linelength reported by
\r
6182 # all of the supported platforms: 8192 (on NT/2K/XP).
\r
6183 lt_cv_sys_max_cmd_len=8192;
\r
6187 # On AmigaOS with pdksh, this test takes hours, literally.
\r
6188 # So we just punt and use a minimum line length of 8192.
\r
6189 lt_cv_sys_max_cmd_len=8192;
\r
6192 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
\r
6193 # This has been around since 386BSD, at least. Likely further.
\r
6194 if test -x /sbin/sysctl; then
\r
6195 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
\r
6196 elif test -x /usr/sbin/sysctl; then
\r
6197 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
\r
6199 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
\r
6201 # And add a safety zone
\r
6202 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
\r
6203 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
\r
6207 # We know the value 262144 and hardcode it with a safety zone (like BSD)
\r
6208 lt_cv_sys_max_cmd_len=196608
\r
6212 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
\r
6213 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
\r
6214 # nice to cause kernel panics so lets avoid the loop below.
\r
6215 # First set a reasonable default.
\r
6216 lt_cv_sys_max_cmd_len=16384
\r
6218 if test -x /sbin/sysconfig; then
\r
6219 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
\r
6220 *1*) lt_cv_sys_max_cmd_len=-1 ;;
\r
6225 lt_cv_sys_max_cmd_len=102400
\r
6227 sysv5* | sco5v6* | sysv4.2uw2*)
\r
6228 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
\r
6229 if test -n "$kargmax"; then
\r
6230 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
\r
6232 lt_cv_sys_max_cmd_len=32768
\r
6236 # If test is not a shell built-in, we'll probably end up computing a
\r
6237 # maximum length that is only half of the actual maximum length, but
\r
6239 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
\r
6240 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
\r
6241 = "XX$teststring") >/dev/null 2>&1 &&
\r
6242 new_result=`expr "X$teststring" : ".*" 2>&1` &&
\r
6243 lt_cv_sys_max_cmd_len=$new_result &&
\r
6244 test $i != 17 # 1/2 MB should be enough
\r
6247 teststring=$teststring$teststring
\r
6250 # Add a significant safety factor because C++ compilers can tack on massive
\r
6251 # amounts of additional arguments before passing them to the linker.
\r
6252 # It appears as though 1/2 is a usable value.
\r
6253 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
\r
6259 if test -n $lt_cv_sys_max_cmd_len ; then
\r
6260 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
\r
6261 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
\r
6263 { $as_echo "$as_me:$LINENO: result: none" >&5
\r
6264 $as_echo "none" >&6; }
\r
6270 # Check for command to grab the raw symbol name followed by C symbol from nm.
\r
6271 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
\r
6272 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
\r
6273 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
\r
6274 $as_echo_n "(cached) " >&6
\r
6277 # These are sane defaults that work on at least a few old systems.
\r
6278 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
\r
6280 # Character class describing NM global symbol codes.
\r
6281 symcode='[BCDEGRST]'
\r
6283 # Regexp to match symbols that can be accessed directly from C.
\r
6284 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
\r
6286 # Transform an extracted symbol line into a proper C declaration
\r
6287 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
\r
6289 # Transform an extracted symbol line into symbol name and symbol address
\r
6290 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'"
\r
6292 # Define system-specific variables.
\r
6297 cygwin* | mingw* | pw32*)
\r
6298 symcode='[ABCDGISTW]'
\r
6300 hpux*) # Its linker distinguishes data from code symbols
\r
6301 if test "$host_cpu" = ia64; then
\r
6302 symcode='[ABCDEGRST]'
\r
6304 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
\r
6305 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'"
\r
6308 if test "$host_cpu" = ia64; then
\r
6309 symcode='[ABCDGIRSTW]'
\r
6310 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
\r
6311 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'"
\r
6314 irix* | nonstopux*)
\r
6315 symcode='[BCDEGRST]'
\r
6318 symcode='[BCDEGQRST]'
\r
6329 sysv5* | sco5v6* | unixware* | OpenUNIX*)
\r
6333 symcode='[DFNSTU]'
\r
6337 # Handle CRLF in mingw tool chain
\r
6341 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
\r
6345 # If we're using GNU nm, then use its standard symbol codes.
\r
6346 case `$NM -V 2>&1` in
\r
6347 *GNU* | *'with BFD'*)
\r
6348 symcode='[ABCDGIRSTW]' ;;
\r
6351 # Try without a prefix undercore, then with it.
\r
6352 for ac_symprfx in "" "_"; do
\r
6354 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
\r
6355 symxfrm="\\1 $ac_symprfx\\2 \\2"
\r
6357 # Write the raw and C identifiers.
\r
6358 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
\r
6360 # Check to see that the pipe works correctly.
\r
6364 cat > conftest.$ac_ext <<EOF
\r
6365 #ifdef __cplusplus
\r
6369 void nm_test_func(){}
\r
6370 #ifdef __cplusplus
\r
6373 int main(){nm_test_var='a';nm_test_func();return(0);}
\r
6376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
6377 (eval $ac_compile) 2>&5
\r
6379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6380 (exit $ac_status); }; then
\r
6381 # Now try to grab the symbols.
\r
6383 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
\r
6384 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
\r
6386 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6387 (exit $ac_status); } && test -s "$nlist"; then
\r
6388 # Try sorting and uniquifying the output.
\r
6389 if sort "$nlist" | uniq > "$nlist"T; then
\r
6390 mv -f "$nlist"T "$nlist"
\r
6395 # Make sure that we snagged all the symbols we need.
\r
6396 if grep ' nm_test_var$' "$nlist" >/dev/null; then
\r
6397 if grep ' nm_test_func$' "$nlist" >/dev/null; then
\r
6398 cat <<EOF > conftest.$ac_ext
\r
6399 #ifdef __cplusplus
\r
6404 # Now generate the symbol file.
\r
6405 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
\r
6407 cat <<EOF >> conftest.$ac_ext
\r
6408 #if defined (__STDC__) && __STDC__
\r
6409 # define lt_ptr_t void *
\r
6411 # define lt_ptr_t char *
\r
6415 /* The mapping between symbol names and symbols. */
\r
6420 lt_preloaded_symbols[] =
\r
6423 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
\r
6424 cat <<\EOF >> conftest.$ac_ext
\r
6428 #ifdef __cplusplus
\r
6432 # Now try linking the two files.
\r
6433 mv conftest.$ac_objext conftstm.$ac_objext
\r
6434 lt_save_LIBS="$LIBS"
\r
6435 lt_save_CFLAGS="$CFLAGS"
\r
6436 LIBS="conftstm.$ac_objext"
\r
6437 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
\r
6438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
\r
6439 (eval $ac_link) 2>&5
\r
6441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6442 (exit $ac_status); } && test -s conftest${ac_exeext}; then
\r
6445 LIBS="$lt_save_LIBS"
\r
6446 CFLAGS="$lt_save_CFLAGS"
\r
6448 echo "cannot find nm_test_func in $nlist" >&5
\r
6451 echo "cannot find nm_test_var in $nlist" >&5
\r
6454 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
\r
6457 echo "$progname: failed program was:" >&5
\r
6458 cat conftest.$ac_ext >&5
\r
6460 rm -f conftest* conftst*
\r
6462 # Do not use the global_symbol_pipe unless it works.
\r
6463 if test "$pipe_works" = yes; then
\r
6466 lt_cv_sys_global_symbol_pipe=
\r
6472 if test -z "$lt_cv_sys_global_symbol_pipe"; then
\r
6473 lt_cv_sys_global_symbol_to_cdecl=
\r
6475 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
\r
6476 { $as_echo "$as_me:$LINENO: result: failed" >&5
\r
6477 $as_echo "failed" >&6; }
\r
6479 { $as_echo "$as_me:$LINENO: result: ok" >&5
\r
6480 $as_echo "ok" >&6; }
\r
6483 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
\r
6484 $as_echo_n "checking for objdir... " >&6; }
\r
6485 if test "${lt_cv_objdir+set}" = set; then
\r
6486 $as_echo_n "(cached) " >&6
\r
6488 rm -f .libs 2>/dev/null
\r
6489 mkdir .libs 2>/dev/null
\r
6490 if test -d .libs; then
\r
6491 lt_cv_objdir=.libs
\r
6493 # MS-DOS does not allow filenames that begin with a dot.
\r
6494 lt_cv_objdir=_libs
\r
6496 rmdir .libs 2>/dev/null
\r
6498 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
\r
6499 $as_echo "$lt_cv_objdir" >&6; }
\r
6500 objdir=$lt_cv_objdir
\r
6508 # AIX sometimes has problems with the GCC collect2 program. For some
\r
6509 # reason, if we set the COLLECT_NAMES environment variable, the problems
\r
6510 # vanish in a puff of smoke.
\r
6511 if test "X${COLLECT_NAMES+set}" != Xset; then
\r
6513 export COLLECT_NAMES
\r
6518 # Sed substitution that helps us do robust quoting. It backslashifies
\r
6519 # metacharacters that are still active within double-quoted strings.
\r
6520 Xsed='sed -e 1s/^X//'
\r
6521 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
\r
6523 # Same as above, but do not quote variable references.
\r
6524 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
\r
6526 # Sed substitution to delay expansion of an escaped shell variable in a
\r
6527 # double_quote_subst'ed string.
\r
6528 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
\r
6530 # Sed substitution to avoid accidental globbing in evaled expressions
\r
6531 no_glob_subst='s/\*/\\\*/g'
\r
6536 # Global variables:
\r
6537 default_ofile=libtool
\r
6538 can_build_shared=yes
\r
6540 # All known linkers require a `.a' archive for static linking (except MSVC,
\r
6541 # which needs '.lib').
\r
6543 ltmain="$ac_aux_dir/ltmain.sh"
\r
6544 ofile="$default_ofile"
\r
6545 with_gnu_ld="$lt_cv_prog_gnu_ld"
\r
6547 if test -n "$ac_tool_prefix"; then
\r
6548 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
\r
6549 set dummy ${ac_tool_prefix}ar; ac_word=$2
\r
6550 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
6551 $as_echo_n "checking for $ac_word... " >&6; }
\r
6552 if test "${ac_cv_prog_AR+set}" = set; then
\r
6553 $as_echo_n "(cached) " >&6
\r
6555 if test -n "$AR"; then
\r
6556 ac_cv_prog_AR="$AR" # Let the user override the test.
\r
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6559 for as_dir in $PATH
\r
6562 test -z "$as_dir" && as_dir=.
\r
6563 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
6565 ac_cv_prog_AR="${ac_tool_prefix}ar"
\r
6566 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
6576 if test -n "$AR"; then
\r
6577 { $as_echo "$as_me:$LINENO: result: $AR" >&5
\r
6578 $as_echo "$AR" >&6; }
\r
6580 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
6581 $as_echo "no" >&6; }
\r
6586 if test -z "$ac_cv_prog_AR"; then
\r
6588 # Extract the first word of "ar", so it can be a program name with args.
\r
6589 set dummy ar; ac_word=$2
\r
6590 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
6591 $as_echo_n "checking for $ac_word... " >&6; }
\r
6592 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
\r
6593 $as_echo_n "(cached) " >&6
\r
6595 if test -n "$ac_ct_AR"; then
\r
6596 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
\r
6598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6599 for as_dir in $PATH
\r
6602 test -z "$as_dir" && as_dir=.
\r
6603 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
6605 ac_cv_prog_ac_ct_AR="ar"
\r
6606 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
6615 ac_ct_AR=$ac_cv_prog_ac_ct_AR
\r
6616 if test -n "$ac_ct_AR"; then
\r
6617 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
\r
6618 $as_echo "$ac_ct_AR" >&6; }
\r
6620 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
6621 $as_echo "no" >&6; }
\r
6624 if test "x$ac_ct_AR" = x; then
\r
6627 case $cross_compiling:$ac_tool_warned in
\r
6629 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
\r
6630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
\r
6631 ac_tool_warned=yes ;;
\r
6636 AR="$ac_cv_prog_AR"
\r
6639 if test -n "$ac_tool_prefix"; then
\r
6640 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
\r
6641 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
\r
6642 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
6643 $as_echo_n "checking for $ac_word... " >&6; }
\r
6644 if test "${ac_cv_prog_RANLIB+set}" = set; then
\r
6645 $as_echo_n "(cached) " >&6
\r
6647 if test -n "$RANLIB"; then
\r
6648 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
\r
6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6651 for as_dir in $PATH
\r
6654 test -z "$as_dir" && as_dir=.
\r
6655 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
6657 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
\r
6658 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
6667 RANLIB=$ac_cv_prog_RANLIB
\r
6668 if test -n "$RANLIB"; then
\r
6669 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
\r
6670 $as_echo "$RANLIB" >&6; }
\r
6672 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
6673 $as_echo "no" >&6; }
\r
6678 if test -z "$ac_cv_prog_RANLIB"; then
\r
6679 ac_ct_RANLIB=$RANLIB
\r
6680 # Extract the first word of "ranlib", so it can be a program name with args.
\r
6681 set dummy ranlib; ac_word=$2
\r
6682 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
6683 $as_echo_n "checking for $ac_word... " >&6; }
\r
6684 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
\r
6685 $as_echo_n "(cached) " >&6
\r
6687 if test -n "$ac_ct_RANLIB"; then
\r
6688 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
\r
6690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6691 for as_dir in $PATH
\r
6694 test -z "$as_dir" && as_dir=.
\r
6695 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
6697 ac_cv_prog_ac_ct_RANLIB="ranlib"
\r
6698 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
6707 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
\r
6708 if test -n "$ac_ct_RANLIB"; then
\r
6709 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
\r
6710 $as_echo "$ac_ct_RANLIB" >&6; }
\r
6712 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
6713 $as_echo "no" >&6; }
\r
6716 if test "x$ac_ct_RANLIB" = x; then
\r
6719 case $cross_compiling:$ac_tool_warned in
\r
6721 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
\r
6722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
\r
6723 ac_tool_warned=yes ;;
\r
6725 RANLIB=$ac_ct_RANLIB
\r
6728 RANLIB="$ac_cv_prog_RANLIB"
\r
6731 if test -n "$ac_tool_prefix"; then
\r
6732 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
\r
6733 set dummy ${ac_tool_prefix}strip; ac_word=$2
\r
6734 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
6735 $as_echo_n "checking for $ac_word... " >&6; }
\r
6736 if test "${ac_cv_prog_STRIP+set}" = set; then
\r
6737 $as_echo_n "(cached) " >&6
\r
6739 if test -n "$STRIP"; then
\r
6740 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
\r
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6743 for as_dir in $PATH
\r
6746 test -z "$as_dir" && as_dir=.
\r
6747 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
6749 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
\r
6750 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
6759 STRIP=$ac_cv_prog_STRIP
\r
6760 if test -n "$STRIP"; then
\r
6761 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
\r
6762 $as_echo "$STRIP" >&6; }
\r
6764 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
6765 $as_echo "no" >&6; }
\r
6770 if test -z "$ac_cv_prog_STRIP"; then
\r
6771 ac_ct_STRIP=$STRIP
\r
6772 # Extract the first word of "strip", so it can be a program name with args.
\r
6773 set dummy strip; ac_word=$2
\r
6774 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
6775 $as_echo_n "checking for $ac_word... " >&6; }
\r
6776 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
\r
6777 $as_echo_n "(cached) " >&6
\r
6779 if test -n "$ac_ct_STRIP"; then
\r
6780 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
\r
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6783 for as_dir in $PATH
\r
6786 test -z "$as_dir" && as_dir=.
\r
6787 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
6789 ac_cv_prog_ac_ct_STRIP="strip"
\r
6790 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
6799 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
\r
6800 if test -n "$ac_ct_STRIP"; then
\r
6801 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
\r
6802 $as_echo "$ac_ct_STRIP" >&6; }
\r
6804 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
6805 $as_echo "no" >&6; }
\r
6808 if test "x$ac_ct_STRIP" = x; then
\r
6811 case $cross_compiling:$ac_tool_warned in
\r
6813 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
\r
6814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
\r
6815 ac_tool_warned=yes ;;
\r
6817 STRIP=$ac_ct_STRIP
\r
6820 STRIP="$ac_cv_prog_STRIP"
\r
6825 old_CFLAGS="$CFLAGS"
\r
6827 # Set sane defaults for various variables
\r
6828 test -z "$AR" && AR=ar
\r
6829 test -z "$AR_FLAGS" && AR_FLAGS=cru
\r
6830 test -z "$AS" && AS=as
\r
6831 test -z "$CC" && CC=cc
\r
6832 test -z "$LTCC" && LTCC=$CC
\r
6833 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
\r
6834 test -z "$DLLTOOL" && DLLTOOL=dlltool
\r
6835 test -z "$LD" && LD=ld
\r
6836 test -z "$LN_S" && LN_S="ln -s"
\r
6837 test -z "$MAGIC_CMD" && MAGIC_CMD=file
\r
6838 test -z "$NM" && NM=nm
\r
6839 test -z "$SED" && SED=sed
\r
6840 test -z "$OBJDUMP" && OBJDUMP=objdump
\r
6841 test -z "$RANLIB" && RANLIB=:
\r
6842 test -z "$STRIP" && STRIP=:
\r
6843 test -z "$ac_objext" && ac_objext=o
\r
6845 # Determine commands to create old-style static archives.
\r
6846 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
\r
6847 old_postinstall_cmds='chmod 644 $oldlib'
\r
6848 old_postuninstall_cmds=
\r
6850 if test -n "$RANLIB"; then
\r
6853 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
\r
6856 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
\r
6859 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
\r
6862 for cc_temp in $compiler""; do
\r
6864 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
\r
6865 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\r
6870 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
\r
6873 # Only perform the check for file, if the check method requires it
\r
6874 case $deplibs_check_method in
\r
6876 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
\r
6877 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
\r
6878 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
\r
6879 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
\r
6880 $as_echo_n "(cached) " >&6
\r
6882 case $MAGIC_CMD in
\r
6883 [\\/*] | ?:[\\/]*)
\r
6884 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
\r
6887 lt_save_MAGIC_CMD="$MAGIC_CMD"
\r
6888 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
\r
6889 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
\r
6890 for ac_dir in $ac_dummy; do
\r
6891 IFS="$lt_save_ifs"
\r
6892 test -z "$ac_dir" && ac_dir=.
\r
6893 if test -f $ac_dir/${ac_tool_prefix}file; then
\r
6894 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
\r
6895 if test -n "$file_magic_test_file"; then
\r
6896 case $deplibs_check_method in
\r
6898 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
\r
6899 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
\r
6900 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
\r
6901 $EGREP "$file_magic_regex" > /dev/null; then
\r
6906 *** Warning: the command libtool uses to detect shared libraries,
\r
6907 *** $file_magic_cmd, produces output that libtool cannot recognize.
\r
6908 *** The result is that libtool may fail to recognize shared libraries
\r
6909 *** as such. This will affect the creation of libtool libraries that
\r
6910 *** depend on shared libraries, but programs linked with such libtool
\r
6911 *** libraries will work regardless of this problem. Nevertheless, you
\r
6912 *** may want to report the problem to your system manager and/or to
\r
6913 *** bug-libtool@gnu.org
\r
6922 IFS="$lt_save_ifs"
\r
6923 MAGIC_CMD="$lt_save_MAGIC_CMD"
\r
6928 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
\r
6929 if test -n "$MAGIC_CMD"; then
\r
6930 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
\r
6931 $as_echo "$MAGIC_CMD" >&6; }
\r
6933 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
6934 $as_echo "no" >&6; }
\r
6937 if test -z "$lt_cv_path_MAGIC_CMD"; then
\r
6938 if test -n "$ac_tool_prefix"; then
\r
6939 { $as_echo "$as_me:$LINENO: checking for file" >&5
\r
6940 $as_echo_n "checking for file... " >&6; }
\r
6941 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
\r
6942 $as_echo_n "(cached) " >&6
\r
6944 case $MAGIC_CMD in
\r
6945 [\\/*] | ?:[\\/]*)
\r
6946 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
\r
6949 lt_save_MAGIC_CMD="$MAGIC_CMD"
\r
6950 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
\r
6951 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
\r
6952 for ac_dir in $ac_dummy; do
\r
6953 IFS="$lt_save_ifs"
\r
6954 test -z "$ac_dir" && ac_dir=.
\r
6955 if test -f $ac_dir/file; then
\r
6956 lt_cv_path_MAGIC_CMD="$ac_dir/file"
\r
6957 if test -n "$file_magic_test_file"; then
\r
6958 case $deplibs_check_method in
\r
6960 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
\r
6961 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
\r
6962 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
\r
6963 $EGREP "$file_magic_regex" > /dev/null; then
\r
6968 *** Warning: the command libtool uses to detect shared libraries,
\r
6969 *** $file_magic_cmd, produces output that libtool cannot recognize.
\r
6970 *** The result is that libtool may fail to recognize shared libraries
\r
6971 *** as such. This will affect the creation of libtool libraries that
\r
6972 *** depend on shared libraries, but programs linked with such libtool
\r
6973 *** libraries will work regardless of this problem. Nevertheless, you
\r
6974 *** may want to report the problem to your system manager and/or to
\r
6975 *** bug-libtool@gnu.org
\r
6984 IFS="$lt_save_ifs"
\r
6985 MAGIC_CMD="$lt_save_MAGIC_CMD"
\r
6990 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
\r
6991 if test -n "$MAGIC_CMD"; then
\r
6992 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
\r
6993 $as_echo "$MAGIC_CMD" >&6; }
\r
6995 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
6996 $as_echo "no" >&6; }
\r
7009 enable_win32_dll=no
\r
7011 # Check whether --enable-libtool-lock was given.
\r
7012 if test "${enable_libtool_lock+set}" = set; then
\r
7013 enableval=$enable_libtool_lock;
\r
7016 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
\r
7019 # Check whether --with-pic was given.
\r
7020 if test "${with_pic+set}" = set; then
\r
7021 withval=$with_pic; pic_mode="$withval"
\r
7026 test -z "$pic_mode" && pic_mode=default
\r
7028 # Use C for the default configuration in the libtool script
\r
7032 ac_cpp='$CPP $CPPFLAGS'
\r
7033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
7034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
7035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
7038 # Source file extension for C test sources.
\r
7041 # Object file extension for compiled C test sources.
\r
7045 # Code to be used in simple compile tests
\r
7046 lt_simple_compile_test_code="int some_variable = 0;\n"
\r
7048 # Code to be used in simple link tests
\r
7049 lt_simple_link_test_code='int main(){return(0);}\n'
\r
7052 # If no C compiler was specified, use CC.
\r
7053 LTCC=${LTCC-"$CC"}
\r
7055 # If no C compiler flags were specified, use CFLAGS.
\r
7056 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
\r
7058 # Allow CC to be a program name with arguments.
\r
7062 # save warnings/boilerplate of simple test code
\r
7063 ac_outfile=conftest.$ac_objext
\r
7064 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
\r
7065 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
\r
7066 _lt_compiler_boilerplate=`cat conftest.err`
\r
7069 ac_outfile=conftest.$ac_objext
\r
7070 printf "$lt_simple_link_test_code" >conftest.$ac_ext
\r
7071 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
\r
7072 _lt_linker_boilerplate=`cat conftest.err`
\r
7077 lt_prog_compiler_no_builtin_flag=
\r
7079 if test "$GCC" = yes; then
\r
7080 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
\r
7083 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
\r
7084 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
\r
7085 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
\r
7086 $as_echo_n "(cached) " >&6
\r
7088 lt_cv_prog_compiler_rtti_exceptions=no
\r
7089 ac_outfile=conftest.$ac_objext
\r
7090 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
7091 lt_compiler_flag="-fno-rtti -fno-exceptions"
\r
7092 # Insert the option either (1) after the last *FLAGS variable, or
\r
7093 # (2) before a word containing "conftest.", or (3) at the end.
\r
7094 # Note that $ac_compile itself does not contain backslashes and begins
\r
7095 # with a dollar sign (not a hyphen), so the echo should work correctly.
\r
7096 # The option is referenced via a variable to avoid confusing sed.
\r
7097 lt_compile=`echo "$ac_compile" | $SED \
\r
7098 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
\r
7099 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
\r
7100 -e 's:$: $lt_compiler_flag:'`
\r
7101 (eval echo "\"\$as_me:7101: $lt_compile\"" >&5)
\r
7102 (eval "$lt_compile" 2>conftest.err)
\r
7104 cat conftest.err >&5
\r
7105 echo "$as_me:7105: \$? = $ac_status" >&5
\r
7106 if (exit $ac_status) && test -s "$ac_outfile"; then
\r
7107 # The compiler can only warn and ignore the option if not recognized
\r
7108 # So say no if there are warnings other than the usual output.
\r
7109 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
\r
7110 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
\r
7111 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
\r
7112 lt_cv_prog_compiler_rtti_exceptions=yes
\r
7118 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
\r
7119 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
\r
7121 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
\r
7122 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
\r
7129 lt_prog_compiler_wl=
\r
7130 lt_prog_compiler_pic=
\r
7131 lt_prog_compiler_static=
\r
7133 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
\r
7134 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
\r
7136 if test "$GCC" = yes; then
\r
7137 lt_prog_compiler_wl='-Wl,'
\r
7138 lt_prog_compiler_static='-static'
\r
7142 # All AIX code is PIC.
\r
7143 if test "$host_cpu" = ia64; then
\r
7144 # AIX 5 now supports IA64 processor
\r
7145 lt_prog_compiler_static='-Bstatic'
\r
7150 # FIXME: we need at least 68020 code to build shared libraries, but
\r
7151 # adding the `-m68020' flag to GCC prevents building anything better,
\r
7153 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
\r
7156 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
\r
7157 # PIC is the default for these OSes.
\r
7160 mingw* | pw32* | os2*)
\r
7161 # This hack is so that the source file can tell whether it is being
\r
7162 # built for inclusion in a dll (and should export symbols for example).
\r
7163 lt_prog_compiler_pic='-DDLL_EXPORT'
\r
7166 darwin* | rhapsody*)
\r
7167 # PIC is the default on this platform
\r
7168 # Common symbols not allowed in MH_DYLIB files
\r
7169 lt_prog_compiler_pic='-fno-common'
\r
7173 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
\r
7174 # Instead, we relocate shared libraries at runtime.
\r
7178 # Just because we use GCC doesn't mean we suddenly get shared libraries
\r
7179 # on systems that don't support them.
\r
7180 lt_prog_compiler_can_build_shared=no
\r
7185 if test -d /usr/nec; then
\r
7186 lt_prog_compiler_pic=-Kconform_pic
\r
7191 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
\r
7192 # not for PA HP-UX.
\r
7198 lt_prog_compiler_pic='-fPIC'
\r
7204 lt_prog_compiler_pic='-fPIC'
\r
7208 # PORTME Check for flag to pass linker flags through the system compiler.
\r
7211 lt_prog_compiler_wl='-Wl,'
\r
7212 if test "$host_cpu" = ia64; then
\r
7213 # AIX 5 now supports IA64 processor
\r
7214 lt_prog_compiler_static='-Bstatic'
\r
7216 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
\r
7220 # PIC is the default on this platform
\r
7221 # Common symbols not allowed in MH_DYLIB files
\r
7222 case $cc_basename in
\r
7224 lt_prog_compiler_pic='-qnocommon'
\r
7225 lt_prog_compiler_wl='-Wl,'
\r
7230 mingw* | pw32* | os2*)
\r
7231 # This hack is so that the source file can tell whether it is being
\r
7232 # built for inclusion in a dll (and should export symbols for example).
\r
7233 lt_prog_compiler_pic='-DDLL_EXPORT'
\r
7236 hpux9* | hpux10* | hpux11*)
\r
7237 lt_prog_compiler_wl='-Wl,'
\r
7238 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
\r
7239 # not for PA HP-UX.
\r
7245 lt_prog_compiler_pic='+Z'
\r
7248 # Is there a better lt_prog_compiler_static that works with the bundled CC?
\r
7249 lt_prog_compiler_static='${wl}-a ${wl}archive'
\r
7252 irix5* | irix6* | nonstopux*)
\r
7253 lt_prog_compiler_wl='-Wl,'
\r
7254 # PIC (with -KPIC) is the default.
\r
7255 lt_prog_compiler_static='-non_shared'
\r
7259 lt_prog_compiler_pic='-KPIC'
\r
7260 lt_prog_compiler_static='-Bstatic'
\r
7264 case $cc_basename in
\r
7266 lt_prog_compiler_wl='-Wl,'
\r
7267 lt_prog_compiler_pic='-KPIC'
\r
7268 lt_prog_compiler_static='-static'
\r
7270 pgcc* | pgf77* | pgf90* | pgf95*)
\r
7271 # Portland Group compilers (*not* the Pentium gcc compiler,
\r
7272 # which looks to be a dead project)
\r
7273 lt_prog_compiler_wl='-Wl,'
\r
7274 lt_prog_compiler_pic='-fpic'
\r
7275 lt_prog_compiler_static='-Bstatic'
\r
7278 lt_prog_compiler_wl='-Wl,'
\r
7279 # All Alpha code is PIC.
\r
7280 lt_prog_compiler_static='-non_shared'
\r
7285 osf3* | osf4* | osf5*)
\r
7286 lt_prog_compiler_wl='-Wl,'
\r
7287 # All OSF/1 code is PIC.
\r
7288 lt_prog_compiler_static='-non_shared'
\r
7292 lt_prog_compiler_pic='-KPIC'
\r
7293 lt_prog_compiler_static='-Bstatic'
\r
7294 case $cc_basename in
\r
7295 f77* | f90* | f95*)
\r
7296 lt_prog_compiler_wl='-Qoption ld ';;
\r
7298 lt_prog_compiler_wl='-Wl,';;
\r
7303 lt_prog_compiler_wl='-Qoption ld '
\r
7304 lt_prog_compiler_pic='-PIC'
\r
7305 lt_prog_compiler_static='-Bstatic'
\r
7308 sysv4 | sysv4.2uw2* | sysv4.3*)
\r
7309 lt_prog_compiler_wl='-Wl,'
\r
7310 lt_prog_compiler_pic='-KPIC'
\r
7311 lt_prog_compiler_static='-Bstatic'
\r
7315 if test -d /usr/nec ;then
\r
7316 lt_prog_compiler_pic='-Kconform_pic'
\r
7317 lt_prog_compiler_static='-Bstatic'
\r
7321 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
\r
7322 lt_prog_compiler_wl='-Wl,'
\r
7323 lt_prog_compiler_pic='-KPIC'
\r
7324 lt_prog_compiler_static='-Bstatic'
\r
7328 lt_prog_compiler_wl='-Wl,'
\r
7329 lt_prog_compiler_can_build_shared=no
\r
7333 lt_prog_compiler_pic='-pic'
\r
7334 lt_prog_compiler_static='-Bstatic'
\r
7338 lt_prog_compiler_can_build_shared=no
\r
7343 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
\r
7344 $as_echo "$lt_prog_compiler_pic" >&6; }
\r
7347 # Check to make sure the PIC flag actually works.
\r
7349 if test -n "$lt_prog_compiler_pic"; then
\r
7351 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
\r
7352 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
\r
7353 if test "${lt_prog_compiler_pic_works+set}" = set; then
\r
7354 $as_echo_n "(cached) " >&6
\r
7356 lt_prog_compiler_pic_works=no
\r
7357 ac_outfile=conftest.$ac_objext
\r
7358 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
7359 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
\r
7360 # Insert the option either (1) after the last *FLAGS variable, or
\r
7361 # (2) before a word containing "conftest.", or (3) at the end.
\r
7362 # Note that $ac_compile itself does not contain backslashes and begins
\r
7363 # with a dollar sign (not a hyphen), so the echo should work correctly.
\r
7364 # The option is referenced via a variable to avoid confusing sed.
\r
7365 lt_compile=`echo "$ac_compile" | $SED \
\r
7366 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
\r
7367 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
\r
7368 -e 's:$: $lt_compiler_flag:'`
\r
7369 (eval echo "\"\$as_me:7369: $lt_compile\"" >&5)
\r
7370 (eval "$lt_compile" 2>conftest.err)
\r
7372 cat conftest.err >&5
\r
7373 echo "$as_me:7373: \$? = $ac_status" >&5
\r
7374 if (exit $ac_status) && test -s "$ac_outfile"; then
\r
7375 # The compiler can only warn and ignore the option if not recognized
\r
7376 # So say no if there are warnings other than the usual output.
\r
7377 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
\r
7378 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
\r
7379 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
\r
7380 lt_prog_compiler_pic_works=yes
\r
7386 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
\r
7387 $as_echo "$lt_prog_compiler_pic_works" >&6; }
\r
7389 if test x"$lt_prog_compiler_pic_works" = xyes; then
\r
7390 case $lt_prog_compiler_pic in
\r
7392 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
\r
7395 lt_prog_compiler_pic=
\r
7396 lt_prog_compiler_can_build_shared=no
\r
7401 # For platforms which do not support PIC, -DPIC is meaningless:
\r
7403 lt_prog_compiler_pic=
\r
7406 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
\r
7411 # Check to make sure the static flag actually works.
\r
7413 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
\r
7414 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
\r
7415 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
\r
7416 if test "${lt_prog_compiler_static_works+set}" = set; then
\r
7417 $as_echo_n "(cached) " >&6
\r
7419 lt_prog_compiler_static_works=no
\r
7420 save_LDFLAGS="$LDFLAGS"
\r
7421 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
\r
7422 printf "$lt_simple_link_test_code" > conftest.$ac_ext
\r
7423 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
\r
7424 # The linker can only warn and ignore the option if not recognized
\r
7425 # So say no if there are warnings
\r
7426 if test -s conftest.err; then
\r
7427 # Append any errors to the config.log.
\r
7428 cat conftest.err 1>&5
\r
7429 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
\r
7430 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
\r
7431 if diff conftest.exp conftest.er2 >/dev/null; then
\r
7432 lt_prog_compiler_static_works=yes
\r
7435 lt_prog_compiler_static_works=yes
\r
7439 LDFLAGS="$save_LDFLAGS"
\r
7442 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
\r
7443 $as_echo "$lt_prog_compiler_static_works" >&6; }
\r
7445 if test x"$lt_prog_compiler_static_works" = xyes; then
\r
7448 lt_prog_compiler_static=
\r
7452 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
\r
7453 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
\r
7454 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
\r
7455 $as_echo_n "(cached) " >&6
\r
7457 lt_cv_prog_compiler_c_o=no
\r
7458 $rm -r conftest 2>/dev/null
\r
7462 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
7464 lt_compiler_flag="-o out/conftest2.$ac_objext"
\r
7465 # Insert the option either (1) after the last *FLAGS variable, or
\r
7466 # (2) before a word containing "conftest.", or (3) at the end.
\r
7467 # Note that $ac_compile itself does not contain backslashes and begins
\r
7468 # with a dollar sign (not a hyphen), so the echo should work correctly.
\r
7469 lt_compile=`echo "$ac_compile" | $SED \
\r
7470 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
\r
7471 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
\r
7472 -e 's:$: $lt_compiler_flag:'`
\r
7473 (eval echo "\"\$as_me:7473: $lt_compile\"" >&5)
\r
7474 (eval "$lt_compile" 2>out/conftest.err)
\r
7476 cat out/conftest.err >&5
\r
7477 echo "$as_me:7477: \$? = $ac_status" >&5
\r
7478 if (exit $ac_status) && test -s out/conftest2.$ac_objext
\r
7480 # The compiler can only warn and ignore the option if not recognized
\r
7481 # So say no if there are warnings
\r
7482 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
\r
7483 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
\r
7484 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
\r
7485 lt_cv_prog_compiler_c_o=yes
\r
7490 # SGI C++ compiler will create directory out/ii_files/ for
\r
7491 # template instantiation
\r
7492 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
\r
7493 $rm out/* && rmdir out
\r
7499 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
\r
7500 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
\r
7503 hard_links="nottested"
\r
7504 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
\r
7505 # do not overwrite the value of need_locks provided by the user
\r
7506 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
\r
7507 $as_echo_n "checking if we can lock with hard links... " >&6; }
\r
7510 ln conftest.a conftest.b 2>/dev/null && hard_links=no
\r
7512 ln conftest.a conftest.b 2>&5 || hard_links=no
\r
7513 ln conftest.a conftest.b 2>/dev/null && hard_links=no
\r
7514 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
\r
7515 $as_echo "$hard_links" >&6; }
\r
7516 if test "$hard_links" = no; then
\r
7517 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
\r
7518 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
\r
7525 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
\r
7526 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
\r
7529 allow_undefined_flag=
\r
7530 enable_shared_with_static_runtimes=no
\r
7532 archive_expsym_cmds=
\r
7533 old_archive_From_new_cmds=
\r
7534 old_archive_from_expsyms_cmds=
\r
7535 export_dynamic_flag_spec=
\r
7536 whole_archive_flag_spec=
\r
7537 thread_safe_flag_spec=
\r
7538 hardcode_libdir_flag_spec=
\r
7539 hardcode_libdir_flag_spec_ld=
\r
7540 hardcode_libdir_separator=
\r
7541 hardcode_direct=no
\r
7542 hardcode_minus_L=no
\r
7543 hardcode_shlibpath_var=unsupported
\r
7544 link_all_deplibs=unknown
\r
7545 hardcode_automatic=no
\r
7547 module_expsym_cmds=
\r
7548 always_export_symbols=no
\r
7549 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
\r
7550 # include_expsyms should be a list of space-separated symbols to be *always*
\r
7551 # included in the symbol list
\r
7553 # exclude_expsyms can be an extended regexp of symbols to exclude
\r
7554 # it will be wrapped by ` (' and `)$', so one must not match beginning or
\r
7555 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
\r
7556 # as well as any symbol that contains `d'.
\r
7557 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
\r
7558 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
\r
7559 # platforms (ab)use it in PIC code, but their linkers get confused if
\r
7560 # the symbol is explicitly referenced. Since portable code cannot
\r
7561 # rely on this symbol name, it's probably fine to never include it in
\r
7562 # preloaded symbol tables.
\r
7563 extract_expsyms_cmds=
\r
7564 # Just being paranoid about ensuring that cc_basename is set.
\r
7565 for cc_temp in $compiler""; do
\r
7567 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
\r
7568 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\r
7573 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
\r
7576 cygwin* | mingw* | pw32*)
\r
7577 # FIXME: the MSVC++ port hasn't been tested in a loooong time
\r
7578 # When not using gcc, we currently assume that we are using
\r
7579 # Microsoft Visual C++.
\r
7580 if test "$GCC" != yes; then
\r
7585 # we just hope/assume this is gcc and not c89 (= MSVC++)
\r
7594 if test "$with_gnu_ld" = yes; then
\r
7595 # If archive_cmds runs LD, not CC, wlarc should be empty
\r
7598 # Set some defaults for GNU ld with shared library support. These
\r
7599 # are reset later if shared libraries are not supported. Putting them
\r
7600 # here allows them to be overridden if necessary.
\r
7601 runpath_var=LD_RUN_PATH
\r
7602 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
\r
7603 export_dynamic_flag_spec='${wl}--export-dynamic'
\r
7604 # ancient GNU ld didn't support --whole-archive et. al.
\r
7605 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
\r
7606 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
\r
7608 whole_archive_flag_spec=
\r
7610 supports_anon_versioning=no
\r
7611 case `$LD -v 2>/dev/null` in
\r
7612 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
\r
7613 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
\r
7614 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
\r
7615 *\ 2.11.*) ;; # other 2.11 versions
\r
7616 *) supports_anon_versioning=yes ;;
\r
7619 # See if GNU ld supports shared libraries.
\r
7621 aix3* | aix4* | aix5*)
\r
7622 # On AIX/PPC, the GNU linker is very broken
\r
7623 if test "$host_cpu" != ia64; then
\r
7627 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
\r
7628 *** to be unable to reliably create shared libraries on AIX.
\r
7629 *** Therefore, libtool is disabling shared libraries support. If you
\r
7630 *** really care for shared libraries, you may want to modify your PATH
\r
7631 *** so that a non-GNU linker is found, and then restart.
\r
7638 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)'
\r
7639 hardcode_libdir_flag_spec='-L$libdir'
\r
7640 hardcode_minus_L=yes
\r
7642 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
\r
7643 # that the semantics of dynamic libraries on AmigaOS, at least up
\r
7644 # to version 4, is to share data among multiple programs linked
\r
7645 # with the same dynamic library. Since this doesn't match the
\r
7646 # behavior of shared libraries on other platforms, we can't use
\r
7652 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
7653 allow_undefined_flag=unsupported
\r
7654 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
\r
7655 # support --undefined. This deserves some investigation. FIXME
\r
7656 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
7662 cygwin* | mingw* | pw32*)
\r
7663 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
\r
7664 # as there is no search path for DLLs.
\r
7665 hardcode_libdir_flag_spec='-L$libdir'
\r
7666 allow_undefined_flag=unsupported
\r
7667 always_export_symbols=no
\r
7668 enable_shared_with_static_runtimes=yes
\r
7669 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
\r
7671 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
\r
7672 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
\r
7673 # If the export-symbols file already is a .def file (1st line
\r
7674 # is EXPORTS), use it as is; otherwise, prepend...
\r
7675 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
\r
7676 cp $export_symbols $output_objdir/$soname.def;
\r
7678 echo EXPORTS > $output_objdir/$soname.def;
\r
7679 cat $export_symbols >> $output_objdir/$soname.def;
\r
7681 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
\r
7688 hardcode_direct=no
\r
7689 hardcode_shlibpath_var=no
\r
7690 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
\r
7691 export_dynamic_flag_spec='${wl}-E'
\r
7692 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
\r
7693 # Instead, shared libraries are loaded at an image base (0x10000000 by
\r
7694 # default) and relocated if they conflict, which is a slow very memory
\r
7695 # consuming and fragmenting process. To avoid this, we pick a random,
\r
7696 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
\r
7697 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
\r
7698 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
\r
7699 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
\r
7703 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
7705 case $cc_basename,$host_cpu in
\r
7706 pgcc*) # Portland Group C compiler
\r
7707 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
\r
7708 tmp_addflag=' $pic_flag'
\r
7710 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
\r
7711 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
\r
7712 tmp_addflag=' $pic_flag -Mnomain' ;;
\r
7713 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
\r
7714 tmp_addflag=' -i_dynamic' ;;
\r
7715 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
\r
7716 tmp_addflag=' -i_dynamic -nofor_main' ;;
\r
7717 ifc* | ifort*) # Intel Fortran compiler
\r
7718 tmp_addflag=' -nofor_main' ;;
\r
7720 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
7722 if test $supports_anon_versioning = yes; then
\r
7723 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
\r
7724 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
\r
7725 $echo "local: *; };" >> $output_objdir/$libname.ver~
\r
7726 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
\r
7734 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
\r
7735 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
\r
7738 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
7739 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
\r
7744 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
\r
7748 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
\r
7749 *** create shared libraries on Solaris systems. Therefore, libtool
\r
7750 *** is disabling shared libraries support. We urge you to upgrade GNU
\r
7751 *** binutils to release 2.9.1 or newer. Another option is to modify
\r
7752 *** your PATH or compiler configuration so that the native linker is
\r
7753 *** used, and then restart.
\r
7756 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
7757 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
7758 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
\r
7764 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
\r
7765 case `$LD -v 2>&1` in
\r
7766 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
\r
7768 cat <<_LT_EOF 1>&2
\r
7770 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
\r
7771 *** reliably create shared libraries on SCO systems. Therefore, libtool
\r
7772 *** is disabling shared libraries support. We urge you to upgrade GNU
\r
7773 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
\r
7774 *** your PATH or compiler configuration so that the native linker is
\r
7775 *** used, and then restart.
\r
7780 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
7781 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
\r
7782 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
\r
7783 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
\r
7792 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
\r
7794 hardcode_direct=yes
\r
7795 hardcode_shlibpath_var=no
\r
7799 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
7800 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
7801 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
\r
7808 if test "$ld_shlibs" = no; then
\r
7810 hardcode_libdir_flag_spec=
\r
7811 export_dynamic_flag_spec=
\r
7812 whole_archive_flag_spec=
\r
7815 # PORTME fill in a description of your system's linker (not GNU ld)
\r
7818 allow_undefined_flag=unsupported
\r
7819 always_export_symbols=yes
\r
7820 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'
\r
7821 # Note: this linker hardcodes the directories in LIBPATH if there
\r
7822 # are no directories specified by -L.
\r
7823 hardcode_minus_L=yes
\r
7824 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
\r
7825 # Neither direct hardcoding nor static linking is supported with a
\r
7826 # broken collect2.
\r
7827 hardcode_direct=unsupported
\r
7832 if test "$host_cpu" = ia64; then
\r
7833 # On IA64, the linker does run time linking by default, so we don't
\r
7834 # have to do anything special.
\r
7835 aix_use_runtimelinking=no
\r
7836 exp_sym_flag='-Bexport'
\r
7839 # If we're using GNU nm, then we don't want the "-C" option.
\r
7840 # -C means demangle to AIX nm, but means don't demangle with GNU nm
\r
7841 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
\r
7842 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'
\r
7844 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'
\r
7846 aix_use_runtimelinking=no
\r
7848 # Test if we are trying to use run time linking or normal
\r
7849 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
\r
7850 # need to do runtime linking.
\r
7851 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
\r
7852 for ld_flag in $LDFLAGS; do
\r
7853 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
\r
7854 aix_use_runtimelinking=yes
\r
7861 exp_sym_flag='-bexport'
\r
7862 no_entry_flag='-bnoentry'
\r
7865 # When large executables or shared objects are built, AIX ld can
\r
7866 # have problems creating the table of contents. If linking a library
\r
7867 # or program results in "error TOC overflow" add -mminimal-toc to
\r
7868 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
\r
7869 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
\r
7872 hardcode_direct=yes
\r
7873 hardcode_libdir_separator=':'
\r
7874 link_all_deplibs=yes
\r
7876 if test "$GCC" = yes; then
\r
7877 case $host_os in aix4.[012]|aix4.[012].*)
\r
7878 # We only want to do this on AIX 4.2 and lower, the check
\r
7879 # below for broken collect2 doesn't work under 4.3+
\r
7880 collect2name=`${CC} -print-prog-name=collect2`
\r
7881 if test -f "$collect2name" && \
\r
7882 strings "$collect2name" | grep resolve_lib_name >/dev/null
\r
7884 # We have reworked collect2
\r
7885 hardcode_direct=yes
\r
7887 # We have old collect2
\r
7888 hardcode_direct=unsupported
\r
7889 # It fails to find uninstalled libraries when the uninstalled
\r
7890 # path is not listed in the libpath. Setting hardcode_minus_L
\r
7891 # to unsupported forces relinking
\r
7892 hardcode_minus_L=yes
\r
7893 hardcode_libdir_flag_spec='-L$libdir'
\r
7894 hardcode_libdir_separator=
\r
7898 shared_flag='-shared'
\r
7899 if test "$aix_use_runtimelinking" = yes; then
\r
7900 shared_flag="$shared_flag "'${wl}-G'
\r
7904 if test "$host_cpu" = ia64; then
\r
7905 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
\r
7906 # chokes on -Wl,-G. The following line is correct:
\r
7909 if test "$aix_use_runtimelinking" = yes; then
\r
7910 shared_flag='${wl}-G'
\r
7912 shared_flag='${wl}-bM:SRE'
\r
7917 # It seems that -bexpall does not export symbols beginning with
\r
7918 # underscore (_), so it is better to generate a list of symbols to export.
\r
7919 always_export_symbols=yes
\r
7920 if test "$aix_use_runtimelinking" = yes; then
\r
7921 # Warning - without using the other runtime loading flags (-brtl),
\r
7922 # -berok will link without error, but may produce a broken library.
\r
7923 allow_undefined_flag='-berok'
\r
7924 # Determine the default libpath from the value encoded in an empty executable.
\r
7925 cat >conftest.$ac_ext <<_ACEOF
\r
7928 cat confdefs.h >>conftest.$ac_ext
\r
7929 cat >>conftest.$ac_ext <<_ACEOF
\r
7930 /* end confdefs.h. */
\r
7940 rm -f conftest.$ac_objext conftest$ac_exeext
\r
7941 if { (ac_try="$ac_link"
\r
7942 case "(($ac_try" in
\r
7943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7944 *) ac_try_echo=$ac_try;;
\r
7946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
7947 $as_echo "$ac_try_echo") >&5
\r
7948 (eval "$ac_link") 2>conftest.er1
\r
7950 grep -v '^ *+' conftest.er1 >conftest.err
\r
7951 rm -f conftest.er1
\r
7952 cat conftest.err >&5
\r
7953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7954 (exit $ac_status); } && {
\r
7955 test -z "$ac_c_werror_flag" ||
\r
7956 test ! -s conftest.err
\r
7957 } && test -s conftest$ac_exeext && {
\r
7958 test "$cross_compiling" = yes ||
\r
7959 $as_test_x conftest$ac_exeext
\r
7962 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
\r
7964 # Check for a 64-bit object if we didn't find anything.
\r
7965 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; }
\r
7968 $as_echo "$as_me: failed program was:" >&5
\r
7969 sed 's/^/| /' conftest.$ac_ext >&5
\r
7974 rm -rf conftest.dSYM
\r
7975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
7976 conftest$ac_exeext conftest.$ac_ext
\r
7977 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
\r
7979 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
\r
7980 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
\r
7982 if test "$host_cpu" = ia64; then
\r
7983 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
\r
7984 allow_undefined_flag="-z nodefs"
\r
7985 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
\r
7987 # Determine the default libpath from the value encoded in an empty executable.
\r
7988 cat >conftest.$ac_ext <<_ACEOF
\r
7991 cat confdefs.h >>conftest.$ac_ext
\r
7992 cat >>conftest.$ac_ext <<_ACEOF
\r
7993 /* end confdefs.h. */
\r
8003 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8004 if { (ac_try="$ac_link"
\r
8005 case "(($ac_try" in
\r
8006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8007 *) ac_try_echo=$ac_try;;
\r
8009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
8010 $as_echo "$ac_try_echo") >&5
\r
8011 (eval "$ac_link") 2>conftest.er1
\r
8013 grep -v '^ *+' conftest.er1 >conftest.err
\r
8014 rm -f conftest.er1
\r
8015 cat conftest.err >&5
\r
8016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8017 (exit $ac_status); } && {
\r
8018 test -z "$ac_c_werror_flag" ||
\r
8019 test ! -s conftest.err
\r
8020 } && test -s conftest$ac_exeext && {
\r
8021 test "$cross_compiling" = yes ||
\r
8022 $as_test_x conftest$ac_exeext
\r
8025 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
\r
8027 # Check for a 64-bit object if we didn't find anything.
\r
8028 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; }
\r
8031 $as_echo "$as_me: failed program was:" >&5
\r
8032 sed 's/^/| /' conftest.$ac_ext >&5
\r
8037 rm -rf conftest.dSYM
\r
8038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8039 conftest$ac_exeext conftest.$ac_ext
\r
8040 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
\r
8042 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
\r
8043 # Warning - without using the other run time loading flags,
\r
8044 # -berok will link without error, but may produce a broken library.
\r
8045 no_undefined_flag=' ${wl}-bernotok'
\r
8046 allow_undefined_flag=' ${wl}-berok'
\r
8047 # Exported symbols can be pulled into shared objects from archives
\r
8048 whole_archive_flag_spec='$convenience'
\r
8049 archive_cmds_need_lc=yes
\r
8050 # This is similar to how AIX traditionally builds its shared libraries.
\r
8051 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
\r
8057 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)'
\r
8058 hardcode_libdir_flag_spec='-L$libdir'
\r
8059 hardcode_minus_L=yes
\r
8060 # see comment about different semantics on the GNU ld section
\r
8065 export_dynamic_flag_spec=-rdynamic
\r
8068 cygwin* | mingw* | pw32*)
\r
8069 # When not using gcc, we currently assume that we are using
\r
8070 # Microsoft Visual C++.
\r
8071 # hardcode_libdir_flag_spec is actually meaningless, as there is
\r
8072 # no search path for DLLs.
\r
8073 hardcode_libdir_flag_spec=' '
\r
8074 allow_undefined_flag=unsupported
\r
8075 # Tell ltmain to make .lib files, not .a files.
\r
8077 # Tell ltmain to make .dll files, not .so files.
\r
8078 shrext_cmds=".dll"
\r
8079 # FIXME: Setting linknames here is a bad hack.
\r
8080 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
\r
8081 # The linker will automatically build a .lib file if we build a DLL.
\r
8082 old_archive_From_new_cmds='true'
\r
8083 # FIXME: Should let the user specify the lib program.
\r
8084 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
\r
8085 fix_srcfile_path='`cygpath -w "$srcfile"`'
\r
8086 enable_shared_with_static_runtimes=yes
\r
8089 darwin* | rhapsody*)
\r
8091 rhapsody* | darwin1.[012])
\r
8092 allow_undefined_flag='${wl}-undefined ${wl}suppress'
\r
8094 *) # Darwin 1.3 on
\r
8095 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
\r
8096 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
\r
8098 case ${MACOSX_DEPLOYMENT_TARGET} in
\r
8100 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
\r
8103 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
\r
8109 archive_cmds_need_lc=no
\r
8110 hardcode_direct=no
\r
8111 hardcode_automatic=yes
\r
8112 hardcode_shlibpath_var=unsupported
\r
8113 whole_archive_flag_spec=''
\r
8114 link_all_deplibs=yes
\r
8115 if test "$GCC" = yes ; then
\r
8116 output_verbose_link_cmd='echo'
\r
8117 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
\r
8118 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
\r
8119 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
\r
8120 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}'
\r
8121 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
8123 case $cc_basename in
\r
8125 output_verbose_link_cmd='echo'
\r
8126 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
\r
8127 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
\r
8128 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
\r
8129 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
8130 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
8140 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
8141 hardcode_libdir_flag_spec='-L$libdir'
\r
8142 hardcode_shlibpath_var=no
\r
8149 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
\r
8150 # support. Future versions do this automatically, but an explicit c++rt0.o
\r
8151 # does not break anything, and helps significantly (at the cost of a little
\r
8154 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
\r
8155 hardcode_libdir_flag_spec='-R$libdir'
\r
8156 hardcode_direct=yes
\r
8157 hardcode_shlibpath_var=no
\r
8160 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
\r
8162 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
\r
8163 hardcode_direct=yes
\r
8164 hardcode_minus_L=yes
\r
8165 hardcode_shlibpath_var=no
\r
8168 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
\r
8169 freebsd* | kfreebsd*-gnu | dragonfly*)
\r
8170 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
\r
8171 hardcode_libdir_flag_spec='-R$libdir'
\r
8172 hardcode_direct=yes
\r
8173 hardcode_shlibpath_var=no
\r
8177 if test "$GCC" = yes; then
\r
8178 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'
\r
8180 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'
\r
8182 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
\r
8183 hardcode_libdir_separator=:
\r
8184 hardcode_direct=yes
\r
8186 # hardcode_minus_L: Not really in the search PATH,
\r
8187 # but as the default location of the library.
\r
8188 hardcode_minus_L=yes
\r
8189 export_dynamic_flag_spec='${wl}-E'
\r
8193 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
\r
8194 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
\r
8196 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
\r
8198 if test "$with_gnu_ld" = no; then
\r
8199 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
\r
8200 hardcode_libdir_separator=:
\r
8202 hardcode_direct=yes
\r
8203 export_dynamic_flag_spec='${wl}-E'
\r
8205 # hardcode_minus_L: Not really in the search PATH,
\r
8206 # but as the default location of the library.
\r
8207 hardcode_minus_L=yes
\r
8212 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
\r
8215 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8218 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
\r
8221 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
\r
8227 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8230 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
\r
8233 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
\r
8237 if test "$with_gnu_ld" = no; then
\r
8238 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
\r
8239 hardcode_libdir_separator=:
\r
8243 hardcode_libdir_flag_spec_ld='+b $libdir'
\r
8244 hardcode_direct=no
\r
8245 hardcode_shlibpath_var=no
\r
8248 hardcode_direct=yes
\r
8249 export_dynamic_flag_spec='${wl}-E'
\r
8251 # hardcode_minus_L: Not really in the search PATH,
\r
8252 # but as the default location of the library.
\r
8253 hardcode_minus_L=yes
\r
8259 irix5* | irix6* | nonstopux*)
\r
8260 if test "$GCC" = yes; then
\r
8261 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'
\r
8263 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'
\r
8264 hardcode_libdir_flag_spec_ld='-rpath $libdir'
\r
8266 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
\r
8267 hardcode_libdir_separator=:
\r
8268 link_all_deplibs=yes
\r
8272 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
\r
8273 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
\r
8275 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
\r
8277 hardcode_libdir_flag_spec='-R$libdir'
\r
8278 hardcode_direct=yes
\r
8279 hardcode_shlibpath_var=no
\r
8283 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
8284 hardcode_direct=yes
\r
8285 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
\r
8286 hardcode_libdir_separator=:
\r
8287 hardcode_shlibpath_var=no
\r
8291 hardcode_direct=yes
\r
8292 hardcode_shlibpath_var=no
\r
8293 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
\r
8294 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
\r
8295 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
\r
8296 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
\r
8297 export_dynamic_flag_spec='${wl}-E'
\r
8300 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
\r
8301 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
\r
8302 hardcode_libdir_flag_spec='-R$libdir'
\r
8305 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
\r
8306 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
\r
8313 hardcode_libdir_flag_spec='-L$libdir'
\r
8314 hardcode_minus_L=yes
\r
8315 allow_undefined_flag=unsupported
\r
8316 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'
\r
8317 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
\r
8321 if test "$GCC" = yes; then
\r
8322 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
\r
8323 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'
\r
8325 allow_undefined_flag=' -expect_unresolved \*'
\r
8326 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'
\r
8328 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
\r
8329 hardcode_libdir_separator=:
\r
8332 osf4* | osf5*) # as osf3* with the addition of -msym flag
\r
8333 if test "$GCC" = yes; then
\r
8334 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
\r
8335 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'
\r
8336 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
\r
8338 allow_undefined_flag=' -expect_unresolved \*'
\r
8339 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'
\r
8340 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
\r
8341 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
\r
8343 # Both c and cxx compiler support -rpath directly
\r
8344 hardcode_libdir_flag_spec='-rpath $libdir'
\r
8346 hardcode_libdir_separator=:
\r
8350 no_undefined_flag=' -z text'
\r
8351 if test "$GCC" = yes; then
\r
8353 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8354 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
\r
8355 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
\r
8358 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
8359 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
\r
8360 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
\r
8362 hardcode_libdir_flag_spec='-R$libdir'
\r
8363 hardcode_shlibpath_var=no
\r
8365 solaris2.[0-5] | solaris2.[0-5].*) ;;
\r
8367 # The compiler driver will combine linker options so we
\r
8368 # cannot just pass the convience library names through
\r
8369 # without $wl, iff we do not link with $LD.
\r
8370 # Luckily, gcc supports the same syntax we need for Sun Studio.
\r
8371 # Supported since Solaris 2.6 (maybe 2.5.1?)
\r
8374 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
\r
8376 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
\r
8379 link_all_deplibs=yes
\r
8383 if test "x$host_vendor" = xsequent; then
\r
8384 # Use $CC to link under sequent, because it throws in some extra .o
\r
8385 # files that make .init and .fini sections work.
\r
8386 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8388 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
\r
8390 hardcode_libdir_flag_spec='-L$libdir'
\r
8391 hardcode_direct=yes
\r
8392 hardcode_minus_L=yes
\r
8393 hardcode_shlibpath_var=no
\r
8397 case $host_vendor in
\r
8399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
8400 hardcode_direct=yes # is this really true???
\r
8403 ## LD is ld it makes a PLAMLIB
\r
8404 ## CC just makes a GrossModule.
\r
8405 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
\r
8406 reload_cmds='$CC -r -o $output$reload_objs'
\r
8407 hardcode_direct=no
\r
8410 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
8411 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
\r
8414 runpath_var='LD_RUN_PATH'
\r
8415 hardcode_shlibpath_var=no
\r
8419 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
8420 hardcode_shlibpath_var=no
\r
8421 export_dynamic_flag_spec='-Bexport'
\r
8425 if test -d /usr/nec; then
\r
8426 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
8427 hardcode_shlibpath_var=no
\r
8428 runpath_var=LD_RUN_PATH
\r
8429 hardcode_runpath_var=yes
\r
8434 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
\r
8435 no_undefined_flag='${wl}-z,text'
\r
8436 archive_cmds_need_lc=no
\r
8437 hardcode_shlibpath_var=no
\r
8438 runpath_var='LD_RUN_PATH'
\r
8440 if test "$GCC" = yes; then
\r
8441 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8442 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8444 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8445 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8449 sysv5* | sco3.2v5* | sco5v6*)
\r
8450 # Note: We can NOT use -z defs as we might desire, because we do not
\r
8451 # link with -lc, and that would cause any symbols used from libc to
\r
8452 # always be unresolved, which means just about no library would
\r
8453 # ever link correctly. If we're not using GNU ld we use -z text
\r
8454 # though, which does catch some bad symbols but isn't as heavy-handed
\r
8456 no_undefined_flag='${wl}-z,text'
\r
8457 allow_undefined_flag='${wl}-z,nodefs'
\r
8458 archive_cmds_need_lc=no
\r
8459 hardcode_shlibpath_var=no
\r
8460 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
\r
8461 hardcode_libdir_separator=':'
\r
8462 link_all_deplibs=yes
\r
8463 export_dynamic_flag_spec='${wl}-Bexport'
\r
8464 runpath_var='LD_RUN_PATH'
\r
8466 if test "$GCC" = yes; then
\r
8467 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8468 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8470 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8471 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
8476 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
8477 hardcode_libdir_flag_spec='-L$libdir'
\r
8478 hardcode_shlibpath_var=no
\r
8487 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
\r
8488 $as_echo "$ld_shlibs" >&6; }
\r
8489 test "$ld_shlibs" = no && can_build_shared=no
\r
8492 # Do we need to explicitly link libc?
\r
8494 case "x$archive_cmds_need_lc" in
\r
8496 # Assume -lc should be added
\r
8497 archive_cmds_need_lc=yes
\r
8499 if test "$enable_shared" = yes && test "$GCC" = yes; then
\r
8500 case $archive_cmds in
\r
8502 # FIXME: we may have to deal with multi-command sequences.
\r
8505 # Test whether the compiler implicitly links with -lc since on some
\r
8506 # systems, -lgcc has to come before -lc. If gcc already passes -lc
\r
8507 # to ld, don't add -lc before -lgcc.
\r
8508 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
\r
8509 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
\r
8511 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
8513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
8514 (eval $ac_compile) 2>&5
\r
8516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8517 (exit $ac_status); } 2>conftest.err; then
\r
8520 libobjs=conftest.$ac_objext
\r
8522 wl=$lt_prog_compiler_wl
\r
8523 pic_flag=$lt_prog_compiler_pic
\r
8529 lt_save_allow_undefined_flag=$allow_undefined_flag
\r
8530 allow_undefined_flag=
\r
8531 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
\r
8532 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
\r
8534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8535 (exit $ac_status); }
\r
8537 archive_cmds_need_lc=no
\r
8539 archive_cmds_need_lc=yes
\r
8541 allow_undefined_flag=$lt_save_allow_undefined_flag
\r
8543 cat conftest.err 1>&5
\r
8546 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
\r
8547 $as_echo "$archive_cmds_need_lc" >&6; }
\r
8554 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
\r
8555 $as_echo_n "checking dynamic linker characteristics... " >&6; }
\r
8556 library_names_spec=
\r
8557 libname_spec='lib$name'
\r
8561 postuninstall_cmds=
\r
8565 shlibpath_overrides_runpath=unknown
\r
8567 dynamic_linker="$host_os ld.so"
\r
8568 sys_lib_dlsearch_path_spec="/lib /usr/lib"
\r
8569 if test "$GCC" = yes; then
\r
8570 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
\r
8571 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
\r
8572 # if the path contains ";" then we assume it to be the separator
\r
8573 # otherwise default to the standard path separator (i.e. ":") - it is
\r
8574 # assumed that no part of a normal pathname contains ";" but that should
\r
8575 # okay in the real world where ";" in dirpaths is itself problematic.
\r
8576 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
\r
8578 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
\r
8581 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
\r
8583 need_lib_prefix=unknown
\r
8584 hardcode_into_libs=no
\r
8586 # when you set need_version to no, make sure it does not cause -set_version
\r
8587 # flags to be left without arguments
\r
8588 need_version=unknown
\r
8592 version_type=linux
\r
8593 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
\r
8594 shlibpath_var=LIBPATH
\r
8596 # AIX 3 has no versioning support, so we append a major version to the name.
\r
8597 soname_spec='${libname}${release}${shared_ext}$major'
\r
8601 version_type=linux
\r
8602 need_lib_prefix=no
\r
8604 hardcode_into_libs=yes
\r
8605 if test "$host_cpu" = ia64; then
\r
8606 # AIX 5 supports IA64
\r
8607 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
\r
8608 shlibpath_var=LD_LIBRARY_PATH
\r
8610 # With GCC up to 2.95.x, collect2 would create an import file
\r
8611 # for dependence libraries. The import file would start with
\r
8612 # the line `#! .'. This would cause the generated library to
\r
8613 # depend on `.', always an invalid library. This was fixed in
\r
8614 # development snapshots of GCC prior to 3.0.
\r
8616 aix4 | aix4.[01] | aix4.[01].*)
\r
8617 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
\r
8619 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
\r
8622 can_build_shared=no
\r
8626 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
\r
8627 # soname into executable. Probably we can add versioning support to
\r
8628 # collect2, so additional links can be useful in future.
\r
8629 if test "$aix_use_runtimelinking" = yes; then
\r
8630 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
\r
8631 # instead of lib<name>.a to let people know that these are not
\r
8632 # typical AIX shared libraries.
\r
8633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
8635 # We preserve .a as extension for shared libraries through AIX4.2
\r
8636 # and later when we are not doing run time linking.
\r
8637 library_names_spec='${libname}${release}.a $libname.a'
\r
8638 soname_spec='${libname}${release}${shared_ext}$major'
\r
8640 shlibpath_var=LIBPATH
\r
8645 library_names_spec='$libname.ixlibrary $libname.a'
\r
8646 # Create ${libname}_ixlibrary.a entries in /sys/libs.
\r
8647 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'
\r
8651 library_names_spec='${libname}${shared_ext}'
\r
8652 dynamic_linker="$host_os ld.so"
\r
8653 shlibpath_var=LIBRARY_PATH
\r
8657 version_type=linux
\r
8659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
8660 soname_spec='${libname}${release}${shared_ext}$major'
\r
8661 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
\r
8662 shlibpath_var=LD_LIBRARY_PATH
\r
8663 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
\r
8664 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
\r
8665 # the default ld.so.conf also contains /usr/contrib/lib and
\r
8666 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
\r
8667 # libtool to hard-code these into programs
\r
8670 cygwin* | mingw* | pw32*)
\r
8671 version_type=windows
\r
8672 shrext_cmds=".dll"
\r
8674 need_lib_prefix=no
\r
8676 case $GCC,$host_os in
\r
8677 yes,cygwin* | yes,mingw* | yes,pw32*)
\r
8678 library_names_spec='$libname.dll.a'
\r
8679 # DLL is installed to $(libdir)/../bin by postinstall_cmds
\r
8680 postinstall_cmds='base_file=`basename \${file}`~
\r
8681 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
\r
8682 dldir=$destdir/`dirname \$dlpath`~
\r
8683 test -d \$dldir || mkdir -p \$dldir~
\r
8684 $install_prog $dir/$dlname \$dldir/$dlname~
\r
8685 chmod a+x \$dldir/$dlname'
\r
8686 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
\r
8687 dlpath=$dir/\$dldll~
\r
8689 shlibpath_overrides_runpath=yes
\r
8693 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
\r
8694 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
8695 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
\r
8698 # MinGW DLLs use traditional 'lib' prefix
\r
8699 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
8700 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
\r
8701 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
\r
8702 # It is most probably a Windows format PATH printed by
\r
8703 # mingw gcc, but we are running on Cygwin. Gcc prints its search
\r
8704 # path with ; separators, and with drive letters. We can handle the
\r
8705 # drive letters (cygwin fileutils understands them), so leave them,
\r
8706 # especially as we might pass files found there to a mingw objdump,
\r
8707 # which wouldn't understand a cygwinified path. Ahh.
\r
8708 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
\r
8710 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
\r
8714 # pw32 DLLs use 'pw' prefix rather than 'lib'
\r
8715 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
8721 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
\r
8724 dynamic_linker='Win32 ld.exe'
\r
8725 # FIXME: first we should search . and the directory the executable is in
\r
8726 shlibpath_var=PATH
\r
8729 darwin* | rhapsody*)
\r
8730 dynamic_linker="$host_os dyld"
\r
8731 version_type=darwin
\r
8732 need_lib_prefix=no
\r
8734 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
\r
8735 soname_spec='${libname}${release}${major}$shared_ext'
\r
8736 shlibpath_overrides_runpath=yes
\r
8737 shlibpath_var=DYLD_LIBRARY_PATH
\r
8738 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
\r
8739 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
\r
8740 if test "$GCC" = yes; then
\r
8741 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"`
\r
8743 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
\r
8745 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
\r
8749 version_type=linux
\r
8750 need_lib_prefix=no
\r
8752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
\r
8753 soname_spec='${libname}${release}${shared_ext}$major'
\r
8754 shlibpath_var=LD_LIBRARY_PATH
\r
8762 version_type=linux
\r
8763 need_lib_prefix=no
\r
8765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
8766 soname_spec='${libname}${release}${shared_ext}$major'
\r
8767 shlibpath_var=LD_LIBRARY_PATH
\r
8768 shlibpath_overrides_runpath=no
\r
8769 hardcode_into_libs=yes
\r
8770 dynamic_linker='GNU ld.so'
\r
8773 freebsd* | dragonfly*)
\r
8774 # DragonFly does not have aout. When/if they implement a new
\r
8775 # versioning mechanism, adjust this.
\r
8776 if test -x /usr/bin/objformat; then
\r
8777 objformat=`/usr/bin/objformat`
\r
8780 freebsd[123]*) objformat=aout ;;
\r
8781 *) objformat=elf ;;
\r
8784 version_type=freebsd-$objformat
\r
8785 case $version_type in
\r
8787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
8789 need_lib_prefix=no
\r
8792 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
\r
8796 shlibpath_var=LD_LIBRARY_PATH
\r
8799 shlibpath_overrides_runpath=yes
\r
8801 freebsd3.[01]* | freebsdelf3.[01]*)
\r
8802 shlibpath_overrides_runpath=yes
\r
8803 hardcode_into_libs=yes
\r
8805 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
\r
8806 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
\r
8807 shlibpath_overrides_runpath=no
\r
8808 hardcode_into_libs=yes
\r
8810 freebsd*) # from 4.6 on
\r
8811 shlibpath_overrides_runpath=yes
\r
8812 hardcode_into_libs=yes
\r
8818 version_type=linux
\r
8819 need_lib_prefix=no
\r
8821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
\r
8822 soname_spec='${libname}${release}${shared_ext}$major'
\r
8823 shlibpath_var=LD_LIBRARY_PATH
\r
8824 hardcode_into_libs=yes
\r
8827 hpux9* | hpux10* | hpux11*)
\r
8828 # Give a soname corresponding to the major version so that dld.sl refuses to
\r
8829 # link against other versions.
\r
8830 version_type=sunos
\r
8831 need_lib_prefix=no
\r
8836 hardcode_into_libs=yes
\r
8837 dynamic_linker="$host_os dld.so"
\r
8838 shlibpath_var=LD_LIBRARY_PATH
\r
8839 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
\r
8840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
8841 soname_spec='${libname}${release}${shared_ext}$major'
\r
8842 if test "X$HPUX_IA64_MODE" = X32; then
\r
8843 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
\r
8845 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
\r
8847 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
\r
8851 hardcode_into_libs=yes
\r
8852 dynamic_linker="$host_os dld.sl"
\r
8853 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
\r
8854 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
\r
8855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
8856 soname_spec='${libname}${release}${shared_ext}$major'
\r
8857 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
\r
8858 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
\r
8862 dynamic_linker="$host_os dld.sl"
\r
8863 shlibpath_var=SHLIB_PATH
\r
8864 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
\r
8865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
8866 soname_spec='${libname}${release}${shared_ext}$major'
\r
8869 # HP-UX runs *really* slowly unless shared libraries are mode 555.
\r
8870 postinstall_cmds='chmod 555 $lib'
\r
8874 version_type=linux
\r
8875 need_lib_prefix=no
\r
8877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
8878 soname_spec='${libname}${release}${shared_ext}$major'
\r
8879 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
\r
8880 shlibpath_var=LD_LIBRARY_PATH
\r
8881 shlibpath_overrides_runpath=no
\r
8882 hardcode_into_libs=yes
\r
8885 irix5* | irix6* | nonstopux*)
\r
8887 nonstopux*) version_type=nonstopux ;;
\r
8889 if test "$lt_cv_prog_gnu_ld" = yes; then
\r
8890 version_type=linux
\r
8895 need_lib_prefix=no
\r
8897 soname_spec='${libname}${release}${shared_ext}$major'
\r
8898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
8900 irix5* | nonstopux*)
\r
8901 libsuff= shlibsuff=
\r
8904 case $LD in # libtool.m4 will add one of these switches to LD
\r
8905 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
\r
8906 libsuff= shlibsuff= libmagic=32-bit;;
\r
8907 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
\r
8908 libsuff=32 shlibsuff=N32 libmagic=N32;;
\r
8909 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
\r
8910 libsuff=64 shlibsuff=64 libmagic=64-bit;;
\r
8911 *) libsuff= shlibsuff= libmagic=never-match;;
\r
8915 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
\r
8916 shlibpath_overrides_runpath=no
\r
8917 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
\r
8918 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
\r
8919 hardcode_into_libs=yes
\r
8922 # No shared lib support for Linux oldld, aout, or coff.
\r
8923 linux*oldld* | linux*aout* | linux*coff*)
\r
8927 # This must be Linux ELF.
\r
8929 version_type=linux
\r
8930 need_lib_prefix=no
\r
8932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
8933 soname_spec='${libname}${release}${shared_ext}$major'
\r
8934 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
\r
8935 shlibpath_var=LD_LIBRARY_PATH
\r
8936 shlibpath_overrides_runpath=no
\r
8937 # This implies no fast_install, which is unacceptable.
\r
8938 # Some rework will be needed to allow for fast_install
\r
8939 # before this can be enabled.
\r
8940 hardcode_into_libs=yes
\r
8942 # find out which ABI we are using
\r
8944 case "$host_cpu" in
\r
8945 x86_64*|s390x*|powerpc64*)
\r
8946 echo '#line 8946 "configure"' > conftest.$ac_ext
\r
8947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
8948 (eval $ac_compile) 2>&5
\r
8950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8951 (exit $ac_status); }; then
\r
8952 case `/usr/bin/file conftest.$ac_objext` in
\r
8955 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
\r
8963 # Append ld.so.conf contents to the search path
\r
8964 if test -f /etc/ld.so.conf; then
\r
8965 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
\r
8966 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
\r
8969 # We used to test for /lib/ld.so.1 and disable shared libraries on
\r
8970 # powerpc, because MkLinux only supported shared libraries with the
\r
8971 # GNU dynamic linker. Since this was broken with cross compilers,
\r
8972 # most powerpc-linux boxes support dynamic linking these days and
\r
8973 # people can always --disable-shared, the test was removed, and we
\r
8974 # assume the GNU/Linux dynamic linker is in use.
\r
8975 dynamic_linker='GNU/Linux ld.so'
\r
8979 version_type=linux
\r
8980 need_lib_prefix=no
\r
8982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
8983 soname_spec='${libname}${release}${shared_ext}$major'
\r
8984 shlibpath_var=LD_LIBRARY_PATH
\r
8985 shlibpath_overrides_runpath=no
\r
8986 hardcode_into_libs=yes
\r
8987 dynamic_linker='GNU ld.so'
\r
8991 version_type=sunos
\r
8992 need_lib_prefix=no
\r
8994 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
\r
8995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
8996 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
\r
8997 dynamic_linker='NetBSD (a.out) ld.so'
\r
8999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
9000 soname_spec='${libname}${release}${shared_ext}$major'
\r
9001 dynamic_linker='NetBSD ld.elf_so'
\r
9003 shlibpath_var=LD_LIBRARY_PATH
\r
9004 shlibpath_overrides_runpath=yes
\r
9005 hardcode_into_libs=yes
\r
9009 version_type=linux
\r
9010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
9011 shlibpath_var=LD_LIBRARY_PATH
\r
9012 shlibpath_overrides_runpath=yes
\r
9016 version_type=linux
\r
9017 need_lib_prefix=no
\r
9019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
9020 soname_spec='${libname}${release}${shared_ext}$major'
\r
9021 shlibpath_var=LD_LIBRARY_PATH
\r
9022 shlibpath_overrides_runpath=yes
\r
9026 version_type=sunos
\r
9027 sys_lib_dlsearch_path_spec="/usr/lib"
\r
9028 need_lib_prefix=no
\r
9029 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
\r
9031 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
\r
9032 *) need_version=no ;;
\r
9034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
9035 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
\r
9036 shlibpath_var=LD_LIBRARY_PATH
\r
9037 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
\r
9039 openbsd2.[89] | openbsd2.[89].*)
\r
9040 shlibpath_overrides_runpath=no
\r
9043 shlibpath_overrides_runpath=yes
\r
9047 shlibpath_overrides_runpath=yes
\r
9052 libname_spec='$name'
\r
9053 shrext_cmds=".dll"
\r
9054 need_lib_prefix=no
\r
9055 library_names_spec='$libname${shared_ext} $libname.a'
\r
9056 dynamic_linker='OS/2 ld.exe'
\r
9057 shlibpath_var=LIBPATH
\r
9060 osf3* | osf4* | osf5*)
\r
9062 need_lib_prefix=no
\r
9064 soname_spec='${libname}${release}${shared_ext}$major'
\r
9065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
9066 shlibpath_var=LD_LIBRARY_PATH
\r
9067 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
\r
9068 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
\r
9072 version_type=linux
\r
9073 need_lib_prefix=no
\r
9075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
9076 soname_spec='${libname}${release}${shared_ext}$major'
\r
9077 shlibpath_var=LD_LIBRARY_PATH
\r
9078 shlibpath_overrides_runpath=yes
\r
9079 hardcode_into_libs=yes
\r
9080 # ldd complains unless libraries are executable
\r
9081 postinstall_cmds='chmod +x $lib'
\r
9085 version_type=sunos
\r
9086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
9087 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
\r
9088 shlibpath_var=LD_LIBRARY_PATH
\r
9089 shlibpath_overrides_runpath=yes
\r
9090 if test "$with_gnu_ld" = yes; then
\r
9091 need_lib_prefix=no
\r
9097 version_type=linux
\r
9098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
9099 soname_spec='${libname}${release}${shared_ext}$major'
\r
9100 shlibpath_var=LD_LIBRARY_PATH
\r
9101 case $host_vendor in
\r
9103 shlibpath_overrides_runpath=no
\r
9104 need_lib_prefix=no
\r
9105 export_dynamic_flag_spec='${wl}-Blargedynsym'
\r
9106 runpath_var=LD_RUN_PATH
\r
9109 need_lib_prefix=no
\r
9112 need_lib_prefix=no
\r
9114 shlibpath_overrides_runpath=no
\r
9115 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
\r
9121 if test -d /usr/nec ;then
\r
9122 version_type=linux
\r
9123 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
\r
9124 soname_spec='$libname${shared_ext}.$major'
\r
9125 shlibpath_var=LD_LIBRARY_PATH
\r
9129 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
\r
9130 version_type=freebsd-elf
\r
9131 need_lib_prefix=no
\r
9133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
9134 soname_spec='${libname}${release}${shared_ext}$major'
\r
9135 shlibpath_var=LD_LIBRARY_PATH
\r
9136 hardcode_into_libs=yes
\r
9137 if test "$with_gnu_ld" = yes; then
\r
9138 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
\r
9139 shlibpath_overrides_runpath=no
\r
9141 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
\r
9142 shlibpath_overrides_runpath=yes
\r
9145 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
\r
9149 sys_lib_dlsearch_path_spec='/usr/lib'
\r
9153 version_type=linux
\r
9154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
9155 soname_spec='${libname}${release}${shared_ext}$major'
\r
9156 shlibpath_var=LD_LIBRARY_PATH
\r
9163 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
\r
9164 $as_echo "$dynamic_linker" >&6; }
\r
9165 test "$dynamic_linker" = no && can_build_shared=no
\r
9167 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
\r
9168 if test "$GCC" = yes; then
\r
9169 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
\r
9172 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
\r
9173 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
\r
9175 if test -n "$hardcode_libdir_flag_spec" || \
\r
9176 test -n "$runpath_var" || \
\r
9177 test "X$hardcode_automatic" = "Xyes" ; then
\r
9179 # We can hardcode non-existant directories.
\r
9180 if test "$hardcode_direct" != no &&
\r
9181 # If the only mechanism to avoid hardcoding is shlibpath_var, we
\r
9182 # have to relink, otherwise we might link with an installed library
\r
9183 # when we should be linking with a yet-to-be-installed one
\r
9184 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
\r
9185 test "$hardcode_minus_L" != no; then
\r
9186 # Linking always hardcodes the temporary library directory.
\r
9187 hardcode_action=relink
\r
9189 # We can link without hardcoding, and we can hardcode nonexisting dirs.
\r
9190 hardcode_action=immediate
\r
9193 # We cannot hardcode anything, or else we can only hardcode existing
\r
9195 hardcode_action=unsupported
\r
9197 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
\r
9198 $as_echo "$hardcode_action" >&6; }
\r
9200 if test "$hardcode_action" = relink; then
\r
9201 # Fast installation is not supported
\r
9202 enable_fast_install=no
\r
9203 elif test "$shlibpath_overrides_runpath" = yes ||
\r
9204 test "$enable_shared" = no; then
\r
9205 # Fast installation is not necessary
\r
9206 enable_fast_install=needless
\r
9211 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
\r
9212 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
\r
9213 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
\r
9214 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
\r
9215 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
\r
9216 { $as_echo "$as_me:$LINENO: result: yes" >&5
\r
9217 $as_echo "yes" >&6; }
\r
9219 # FIXME - insert some real tests, host_os isn't really good enough
\r
9222 if test -n "$STRIP" ; then
\r
9223 striplib="$STRIP -x"
\r
9224 { $as_echo "$as_me:$LINENO: result: yes" >&5
\r
9225 $as_echo "yes" >&6; }
\r
9227 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
9228 $as_echo "no" >&6; }
\r
9232 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
9233 $as_echo "no" >&6; }
\r
9238 if test "x$enable_dlopen" != xyes; then
\r
9239 enable_dlopen=unknown
\r
9240 enable_dlopen_self=unknown
\r
9241 enable_dlopen_self_static=unknown
\r
9244 lt_cv_dlopen_libs=
\r
9248 lt_cv_dlopen="load_add_on"
\r
9249 lt_cv_dlopen_libs=
\r
9250 lt_cv_dlopen_self=yes
\r
9254 lt_cv_dlopen="LoadLibrary"
\r
9255 lt_cv_dlopen_libs=
\r
9259 lt_cv_dlopen="dlopen"
\r
9260 lt_cv_dlopen_libs=
\r
9264 # if libdl is installed we need to link against it
\r
9265 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
\r
9266 $as_echo_n "checking for dlopen in -ldl... " >&6; }
\r
9267 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
\r
9268 $as_echo_n "(cached) " >&6
\r
9270 ac_check_lib_save_LIBS=$LIBS
\r
9272 cat >conftest.$ac_ext <<_ACEOF
\r
9275 cat confdefs.h >>conftest.$ac_ext
\r
9276 cat >>conftest.$ac_ext <<_ACEOF
\r
9277 /* end confdefs.h. */
\r
9279 /* Override any GCC internal prototype to avoid an error.
\r
9280 Use char because int might match the return type of a GCC
\r
9281 builtin and then its argument prototype would still apply. */
\r
9282 #ifdef __cplusplus
\r
9294 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9295 if { (ac_try="$ac_link"
\r
9296 case "(($ac_try" in
\r
9297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9298 *) ac_try_echo=$ac_try;;
\r
9300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
9301 $as_echo "$ac_try_echo") >&5
\r
9302 (eval "$ac_link") 2>conftest.er1
\r
9304 grep -v '^ *+' conftest.er1 >conftest.err
\r
9305 rm -f conftest.er1
\r
9306 cat conftest.err >&5
\r
9307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9308 (exit $ac_status); } && {
\r
9309 test -z "$ac_c_werror_flag" ||
\r
9310 test ! -s conftest.err
\r
9311 } && test -s conftest$ac_exeext && {
\r
9312 test "$cross_compiling" = yes ||
\r
9313 $as_test_x conftest$ac_exeext
\r
9315 ac_cv_lib_dl_dlopen=yes
\r
9317 $as_echo "$as_me: failed program was:" >&5
\r
9318 sed 's/^/| /' conftest.$ac_ext >&5
\r
9320 ac_cv_lib_dl_dlopen=no
\r
9323 rm -rf conftest.dSYM
\r
9324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9325 conftest$ac_exeext conftest.$ac_ext
\r
9326 LIBS=$ac_check_lib_save_LIBS
\r
9328 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
\r
9329 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
\r
9330 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
\r
9331 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
\r
9334 lt_cv_dlopen="dyld"
\r
9335 lt_cv_dlopen_libs=
\r
9336 lt_cv_dlopen_self=yes
\r
9343 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
\r
9344 $as_echo_n "checking for shl_load... " >&6; }
\r
9345 if test "${ac_cv_func_shl_load+set}" = set; then
\r
9346 $as_echo_n "(cached) " >&6
\r
9348 cat >conftest.$ac_ext <<_ACEOF
\r
9351 cat confdefs.h >>conftest.$ac_ext
\r
9352 cat >>conftest.$ac_ext <<_ACEOF
\r
9353 /* end confdefs.h. */
\r
9354 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
\r
9355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
9356 #define shl_load innocuous_shl_load
\r
9358 /* System header to define __stub macros and hopefully few prototypes,
\r
9359 which can conflict with char shl_load (); below.
\r
9360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
9361 <limits.h> exists even on freestanding compilers. */
\r
9364 # include <limits.h>
\r
9366 # include <assert.h>
\r
9371 /* Override any GCC internal prototype to avoid an error.
\r
9372 Use char because int might match the return type of a GCC
\r
9373 builtin and then its argument prototype would still apply. */
\r
9374 #ifdef __cplusplus
\r
9378 /* The GNU C library defines this for functions which it implements
\r
9379 to always fail with ENOSYS. Some functions are actually named
\r
9380 something starting with __ and the normal name is an alias. */
\r
9381 #if defined __stub_shl_load || defined __stub___shl_load
\r
9388 return shl_load ();
\r
9393 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9394 if { (ac_try="$ac_link"
\r
9395 case "(($ac_try" in
\r
9396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9397 *) ac_try_echo=$ac_try;;
\r
9399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
9400 $as_echo "$ac_try_echo") >&5
\r
9401 (eval "$ac_link") 2>conftest.er1
\r
9403 grep -v '^ *+' conftest.er1 >conftest.err
\r
9404 rm -f conftest.er1
\r
9405 cat conftest.err >&5
\r
9406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9407 (exit $ac_status); } && {
\r
9408 test -z "$ac_c_werror_flag" ||
\r
9409 test ! -s conftest.err
\r
9410 } && test -s conftest$ac_exeext && {
\r
9411 test "$cross_compiling" = yes ||
\r
9412 $as_test_x conftest$ac_exeext
\r
9414 ac_cv_func_shl_load=yes
\r
9416 $as_echo "$as_me: failed program was:" >&5
\r
9417 sed 's/^/| /' conftest.$ac_ext >&5
\r
9419 ac_cv_func_shl_load=no
\r
9422 rm -rf conftest.dSYM
\r
9423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9424 conftest$ac_exeext conftest.$ac_ext
\r
9426 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
\r
9427 $as_echo "$ac_cv_func_shl_load" >&6; }
\r
9428 if test "x$ac_cv_func_shl_load" = x""yes; then
\r
9429 lt_cv_dlopen="shl_load"
\r
9431 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
\r
9432 $as_echo_n "checking for shl_load in -ldld... " >&6; }
\r
9433 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
\r
9434 $as_echo_n "(cached) " >&6
\r
9436 ac_check_lib_save_LIBS=$LIBS
\r
9437 LIBS="-ldld $LIBS"
\r
9438 cat >conftest.$ac_ext <<_ACEOF
\r
9441 cat confdefs.h >>conftest.$ac_ext
\r
9442 cat >>conftest.$ac_ext <<_ACEOF
\r
9443 /* end confdefs.h. */
\r
9445 /* Override any GCC internal prototype to avoid an error.
\r
9446 Use char because int might match the return type of a GCC
\r
9447 builtin and then its argument prototype would still apply. */
\r
9448 #ifdef __cplusplus
\r
9455 return shl_load ();
\r
9460 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9461 if { (ac_try="$ac_link"
\r
9462 case "(($ac_try" in
\r
9463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9464 *) ac_try_echo=$ac_try;;
\r
9466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
9467 $as_echo "$ac_try_echo") >&5
\r
9468 (eval "$ac_link") 2>conftest.er1
\r
9470 grep -v '^ *+' conftest.er1 >conftest.err
\r
9471 rm -f conftest.er1
\r
9472 cat conftest.err >&5
\r
9473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9474 (exit $ac_status); } && {
\r
9475 test -z "$ac_c_werror_flag" ||
\r
9476 test ! -s conftest.err
\r
9477 } && test -s conftest$ac_exeext && {
\r
9478 test "$cross_compiling" = yes ||
\r
9479 $as_test_x conftest$ac_exeext
\r
9481 ac_cv_lib_dld_shl_load=yes
\r
9483 $as_echo "$as_me: failed program was:" >&5
\r
9484 sed 's/^/| /' conftest.$ac_ext >&5
\r
9486 ac_cv_lib_dld_shl_load=no
\r
9489 rm -rf conftest.dSYM
\r
9490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9491 conftest$ac_exeext conftest.$ac_ext
\r
9492 LIBS=$ac_check_lib_save_LIBS
\r
9494 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
\r
9495 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
\r
9496 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
\r
9497 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
\r
9499 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
\r
9500 $as_echo_n "checking for dlopen... " >&6; }
\r
9501 if test "${ac_cv_func_dlopen+set}" = set; then
\r
9502 $as_echo_n "(cached) " >&6
\r
9504 cat >conftest.$ac_ext <<_ACEOF
\r
9507 cat confdefs.h >>conftest.$ac_ext
\r
9508 cat >>conftest.$ac_ext <<_ACEOF
\r
9509 /* end confdefs.h. */
\r
9510 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
\r
9511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
9512 #define dlopen innocuous_dlopen
\r
9514 /* System header to define __stub macros and hopefully few prototypes,
\r
9515 which can conflict with char dlopen (); below.
\r
9516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
9517 <limits.h> exists even on freestanding compilers. */
\r
9520 # include <limits.h>
\r
9522 # include <assert.h>
\r
9527 /* Override any GCC internal prototype to avoid an error.
\r
9528 Use char because int might match the return type of a GCC
\r
9529 builtin and then its argument prototype would still apply. */
\r
9530 #ifdef __cplusplus
\r
9534 /* The GNU C library defines this for functions which it implements
\r
9535 to always fail with ENOSYS. Some functions are actually named
\r
9536 something starting with __ and the normal name is an alias. */
\r
9537 #if defined __stub_dlopen || defined __stub___dlopen
\r
9549 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9550 if { (ac_try="$ac_link"
\r
9551 case "(($ac_try" in
\r
9552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9553 *) ac_try_echo=$ac_try;;
\r
9555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
9556 $as_echo "$ac_try_echo") >&5
\r
9557 (eval "$ac_link") 2>conftest.er1
\r
9559 grep -v '^ *+' conftest.er1 >conftest.err
\r
9560 rm -f conftest.er1
\r
9561 cat conftest.err >&5
\r
9562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9563 (exit $ac_status); } && {
\r
9564 test -z "$ac_c_werror_flag" ||
\r
9565 test ! -s conftest.err
\r
9566 } && test -s conftest$ac_exeext && {
\r
9567 test "$cross_compiling" = yes ||
\r
9568 $as_test_x conftest$ac_exeext
\r
9570 ac_cv_func_dlopen=yes
\r
9572 $as_echo "$as_me: failed program was:" >&5
\r
9573 sed 's/^/| /' conftest.$ac_ext >&5
\r
9575 ac_cv_func_dlopen=no
\r
9578 rm -rf conftest.dSYM
\r
9579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9580 conftest$ac_exeext conftest.$ac_ext
\r
9582 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
\r
9583 $as_echo "$ac_cv_func_dlopen" >&6; }
\r
9584 if test "x$ac_cv_func_dlopen" = x""yes; then
\r
9585 lt_cv_dlopen="dlopen"
\r
9587 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
\r
9588 $as_echo_n "checking for dlopen in -ldl... " >&6; }
\r
9589 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
\r
9590 $as_echo_n "(cached) " >&6
\r
9592 ac_check_lib_save_LIBS=$LIBS
\r
9594 cat >conftest.$ac_ext <<_ACEOF
\r
9597 cat confdefs.h >>conftest.$ac_ext
\r
9598 cat >>conftest.$ac_ext <<_ACEOF
\r
9599 /* end confdefs.h. */
\r
9601 /* Override any GCC internal prototype to avoid an error.
\r
9602 Use char because int might match the return type of a GCC
\r
9603 builtin and then its argument prototype would still apply. */
\r
9604 #ifdef __cplusplus
\r
9616 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9617 if { (ac_try="$ac_link"
\r
9618 case "(($ac_try" in
\r
9619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9620 *) ac_try_echo=$ac_try;;
\r
9622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
9623 $as_echo "$ac_try_echo") >&5
\r
9624 (eval "$ac_link") 2>conftest.er1
\r
9626 grep -v '^ *+' conftest.er1 >conftest.err
\r
9627 rm -f conftest.er1
\r
9628 cat conftest.err >&5
\r
9629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9630 (exit $ac_status); } && {
\r
9631 test -z "$ac_c_werror_flag" ||
\r
9632 test ! -s conftest.err
\r
9633 } && test -s conftest$ac_exeext && {
\r
9634 test "$cross_compiling" = yes ||
\r
9635 $as_test_x conftest$ac_exeext
\r
9637 ac_cv_lib_dl_dlopen=yes
\r
9639 $as_echo "$as_me: failed program was:" >&5
\r
9640 sed 's/^/| /' conftest.$ac_ext >&5
\r
9642 ac_cv_lib_dl_dlopen=no
\r
9645 rm -rf conftest.dSYM
\r
9646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9647 conftest$ac_exeext conftest.$ac_ext
\r
9648 LIBS=$ac_check_lib_save_LIBS
\r
9650 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
\r
9651 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
\r
9652 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
\r
9653 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
\r
9655 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
\r
9656 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
\r
9657 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
\r
9658 $as_echo_n "(cached) " >&6
\r
9660 ac_check_lib_save_LIBS=$LIBS
\r
9661 LIBS="-lsvld $LIBS"
\r
9662 cat >conftest.$ac_ext <<_ACEOF
\r
9665 cat confdefs.h >>conftest.$ac_ext
\r
9666 cat >>conftest.$ac_ext <<_ACEOF
\r
9667 /* end confdefs.h. */
\r
9669 /* Override any GCC internal prototype to avoid an error.
\r
9670 Use char because int might match the return type of a GCC
\r
9671 builtin and then its argument prototype would still apply. */
\r
9672 #ifdef __cplusplus
\r
9684 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9685 if { (ac_try="$ac_link"
\r
9686 case "(($ac_try" in
\r
9687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9688 *) ac_try_echo=$ac_try;;
\r
9690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
9691 $as_echo "$ac_try_echo") >&5
\r
9692 (eval "$ac_link") 2>conftest.er1
\r
9694 grep -v '^ *+' conftest.er1 >conftest.err
\r
9695 rm -f conftest.er1
\r
9696 cat conftest.err >&5
\r
9697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9698 (exit $ac_status); } && {
\r
9699 test -z "$ac_c_werror_flag" ||
\r
9700 test ! -s conftest.err
\r
9701 } && test -s conftest$ac_exeext && {
\r
9702 test "$cross_compiling" = yes ||
\r
9703 $as_test_x conftest$ac_exeext
\r
9705 ac_cv_lib_svld_dlopen=yes
\r
9707 $as_echo "$as_me: failed program was:" >&5
\r
9708 sed 's/^/| /' conftest.$ac_ext >&5
\r
9710 ac_cv_lib_svld_dlopen=no
\r
9713 rm -rf conftest.dSYM
\r
9714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9715 conftest$ac_exeext conftest.$ac_ext
\r
9716 LIBS=$ac_check_lib_save_LIBS
\r
9718 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
\r
9719 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
\r
9720 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
\r
9721 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
\r
9723 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
\r
9724 $as_echo_n "checking for dld_link in -ldld... " >&6; }
\r
9725 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
\r
9726 $as_echo_n "(cached) " >&6
\r
9728 ac_check_lib_save_LIBS=$LIBS
\r
9729 LIBS="-ldld $LIBS"
\r
9730 cat >conftest.$ac_ext <<_ACEOF
\r
9733 cat confdefs.h >>conftest.$ac_ext
\r
9734 cat >>conftest.$ac_ext <<_ACEOF
\r
9735 /* end confdefs.h. */
\r
9737 /* Override any GCC internal prototype to avoid an error.
\r
9738 Use char because int might match the return type of a GCC
\r
9739 builtin and then its argument prototype would still apply. */
\r
9740 #ifdef __cplusplus
\r
9747 return dld_link ();
\r
9752 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9753 if { (ac_try="$ac_link"
\r
9754 case "(($ac_try" in
\r
9755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9756 *) ac_try_echo=$ac_try;;
\r
9758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
9759 $as_echo "$ac_try_echo") >&5
\r
9760 (eval "$ac_link") 2>conftest.er1
\r
9762 grep -v '^ *+' conftest.er1 >conftest.err
\r
9763 rm -f conftest.er1
\r
9764 cat conftest.err >&5
\r
9765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9766 (exit $ac_status); } && {
\r
9767 test -z "$ac_c_werror_flag" ||
\r
9768 test ! -s conftest.err
\r
9769 } && test -s conftest$ac_exeext && {
\r
9770 test "$cross_compiling" = yes ||
\r
9771 $as_test_x conftest$ac_exeext
\r
9773 ac_cv_lib_dld_dld_link=yes
\r
9775 $as_echo "$as_me: failed program was:" >&5
\r
9776 sed 's/^/| /' conftest.$ac_ext >&5
\r
9778 ac_cv_lib_dld_dld_link=no
\r
9781 rm -rf conftest.dSYM
\r
9782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9783 conftest$ac_exeext conftest.$ac_ext
\r
9784 LIBS=$ac_check_lib_save_LIBS
\r
9786 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
\r
9787 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
\r
9788 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
\r
9789 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
\r
9810 if test "x$lt_cv_dlopen" != xno; then
\r
9816 case $lt_cv_dlopen in
\r
9818 save_CPPFLAGS="$CPPFLAGS"
\r
9819 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
\r
9821 save_LDFLAGS="$LDFLAGS"
\r
9822 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
\r
9825 LIBS="$lt_cv_dlopen_libs $LIBS"
\r
9827 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
\r
9828 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
\r
9829 if test "${lt_cv_dlopen_self+set}" = set; then
\r
9830 $as_echo_n "(cached) " >&6
\r
9832 if test "$cross_compiling" = yes; then :
\r
9833 lt_cv_dlopen_self=cross
\r
9835 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
\r
9836 lt_status=$lt_dlunknown
\r
9837 cat > conftest.$ac_ext <<EOF
\r
9838 #line 9838 "configure"
\r
9839 #include "confdefs.h"
\r
9842 #include <dlfcn.h>
\r
9845 #include <stdio.h>
\r
9847 #ifdef RTLD_GLOBAL
\r
9848 # define LT_DLGLOBAL RTLD_GLOBAL
\r
9851 # define LT_DLGLOBAL DL_GLOBAL
\r
9853 # define LT_DLGLOBAL 0
\r
9857 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
\r
9858 find out it does not work in some platform. */
\r
9859 #ifndef LT_DLLAZY_OR_NOW
\r
9861 # define LT_DLLAZY_OR_NOW RTLD_LAZY
\r
9864 # define LT_DLLAZY_OR_NOW DL_LAZY
\r
9867 # define LT_DLLAZY_OR_NOW RTLD_NOW
\r
9870 # define LT_DLLAZY_OR_NOW DL_NOW
\r
9872 # define LT_DLLAZY_OR_NOW 0
\r
9879 #ifdef __cplusplus
\r
9880 extern "C" void exit (int);
\r
9883 void fnord() { int i=42;}
\r
9886 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
\r
9887 int status = $lt_dlunknown;
\r
9891 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
\r
9892 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
\r
9893 /* dlclose (self); */
\r
9896 puts (dlerror ());
\r
9901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
\r
9902 (eval $ac_link) 2>&5
\r
9904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9905 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
\r
9906 (./conftest; exit; ) >&5 2>/dev/null
\r
9908 case x$lt_status in
\r
9909 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
\r
9910 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
\r
9911 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
\r
9914 # compilation failed
\r
9915 lt_cv_dlopen_self=no
\r
9922 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
\r
9923 $as_echo "$lt_cv_dlopen_self" >&6; }
\r
9925 if test "x$lt_cv_dlopen_self" = xyes; then
\r
9926 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
\r
9927 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
\r
9928 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
\r
9929 if test "${lt_cv_dlopen_self_static+set}" = set; then
\r
9930 $as_echo_n "(cached) " >&6
\r
9932 if test "$cross_compiling" = yes; then :
\r
9933 lt_cv_dlopen_self_static=cross
\r
9935 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
\r
9936 lt_status=$lt_dlunknown
\r
9937 cat > conftest.$ac_ext <<EOF
\r
9938 #line 9938 "configure"
\r
9939 #include "confdefs.h"
\r
9942 #include <dlfcn.h>
\r
9945 #include <stdio.h>
\r
9947 #ifdef RTLD_GLOBAL
\r
9948 # define LT_DLGLOBAL RTLD_GLOBAL
\r
9951 # define LT_DLGLOBAL DL_GLOBAL
\r
9953 # define LT_DLGLOBAL 0
\r
9957 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
\r
9958 find out it does not work in some platform. */
\r
9959 #ifndef LT_DLLAZY_OR_NOW
\r
9961 # define LT_DLLAZY_OR_NOW RTLD_LAZY
\r
9964 # define LT_DLLAZY_OR_NOW DL_LAZY
\r
9967 # define LT_DLLAZY_OR_NOW RTLD_NOW
\r
9970 # define LT_DLLAZY_OR_NOW DL_NOW
\r
9972 # define LT_DLLAZY_OR_NOW 0
\r
9979 #ifdef __cplusplus
\r
9980 extern "C" void exit (int);
\r
9983 void fnord() { int i=42;}
\r
9986 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
\r
9987 int status = $lt_dlunknown;
\r
9991 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
\r
9992 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
\r
9993 /* dlclose (self); */
\r
9996 puts (dlerror ());
\r
10001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
\r
10002 (eval $ac_link) 2>&5
\r
10004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
10005 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
\r
10006 (./conftest; exit; ) >&5 2>/dev/null
\r
10008 case x$lt_status in
\r
10009 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
\r
10010 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
\r
10011 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
\r
10014 # compilation failed
\r
10015 lt_cv_dlopen_self_static=no
\r
10022 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
\r
10023 $as_echo "$lt_cv_dlopen_self_static" >&6; }
\r
10026 CPPFLAGS="$save_CPPFLAGS"
\r
10027 LDFLAGS="$save_LDFLAGS"
\r
10028 LIBS="$save_LIBS"
\r
10032 case $lt_cv_dlopen_self in
\r
10033 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
\r
10034 *) enable_dlopen_self=unknown ;;
\r
10037 case $lt_cv_dlopen_self_static in
\r
10038 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
\r
10039 *) enable_dlopen_self_static=unknown ;;
\r
10044 # Report which library types will actually be built
\r
10045 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
\r
10046 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
\r
10047 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
\r
10048 $as_echo "$can_build_shared" >&6; }
\r
10050 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
\r
10051 $as_echo_n "checking whether to build shared libraries... " >&6; }
\r
10052 test "$can_build_shared" = "no" && enable_shared=no
\r
10054 # On AIX, shared libraries and static libraries use the same namespace, and
\r
10055 # are all built from PIC.
\r
10058 test "$enable_shared" = yes && enable_static=no
\r
10059 if test -n "$RANLIB"; then
\r
10060 archive_cmds="$archive_cmds~\$RANLIB \$lib"
\r
10061 postinstall_cmds='$RANLIB $lib'
\r
10066 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
\r
10067 test "$enable_shared" = yes && enable_static=no
\r
10071 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
\r
10072 $as_echo "$enable_shared" >&6; }
\r
10074 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
\r
10075 $as_echo_n "checking whether to build static libraries... " >&6; }
\r
10076 # Make sure either enable_shared or enable_static is yes.
\r
10077 test "$enable_shared" = yes || enable_static=yes
\r
10078 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
\r
10079 $as_echo "$enable_static" >&6; }
\r
10081 # The else clause should only fire when bootstrapping the
\r
10082 # libtool distribution, otherwise you forgot to ship ltmain.sh
\r
10083 # with your package, and you will get complaints that there are
\r
10084 # no rules to generate ltmain.sh.
\r
10085 if test -f "$ltmain"; then
\r
10086 # See if we are running on zsh, and set the options which allow our commands through
\r
10087 # without removal of \ escapes.
\r
10088 if test -n "${ZSH_VERSION+set}" ; then
\r
10089 setopt NO_GLOB_SUBST
\r
10091 # Now quote all the things that may contain metacharacters while being
\r
10092 # careful not to overquote the AC_SUBSTed values. We take copies of the
\r
10093 # variables and quote the copies for generation of the libtool script.
\r
10094 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
\r
10095 SED SHELL STRIP \
\r
10096 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
\r
10097 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
\r
10098 deplibs_check_method reload_flag reload_cmds need_locks \
\r
10099 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
\r
10100 lt_cv_sys_global_symbol_to_c_name_address \
\r
10101 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
\r
10102 old_postinstall_cmds old_postuninstall_cmds \
\r
10106 lt_prog_compiler_wl \
\r
10107 lt_prog_compiler_pic \
\r
10108 lt_prog_compiler_static \
\r
10109 lt_prog_compiler_no_builtin_flag \
\r
10110 export_dynamic_flag_spec \
\r
10111 thread_safe_flag_spec \
\r
10112 whole_archive_flag_spec \
\r
10113 enable_shared_with_static_runtimes \
\r
10114 old_archive_cmds \
\r
10115 old_archive_from_new_cmds \
\r
10117 postdep_objects \
\r
10120 compiler_lib_search_path \
\r
10122 archive_expsym_cmds \
\r
10123 postinstall_cmds \
\r
10124 postuninstall_cmds \
\r
10125 old_archive_from_expsyms_cmds \
\r
10126 allow_undefined_flag \
\r
10127 no_undefined_flag \
\r
10128 export_symbols_cmds \
\r
10129 hardcode_libdir_flag_spec \
\r
10130 hardcode_libdir_flag_spec_ld \
\r
10131 hardcode_libdir_separator \
\r
10132 hardcode_automatic \
\r
10134 module_expsym_cmds \
\r
10135 lt_cv_prog_compiler_c_o \
\r
10136 exclude_expsyms \
\r
10137 include_expsyms; do
\r
10140 old_archive_cmds | \
\r
10141 old_archive_from_new_cmds | \
\r
10143 archive_expsym_cmds | \
\r
10145 module_expsym_cmds | \
\r
10146 old_archive_from_expsyms_cmds | \
\r
10147 export_symbols_cmds | \
\r
10148 extract_expsyms_cmds | reload_cmds | finish_cmds | \
\r
10149 postinstall_cmds | postuninstall_cmds | \
\r
10150 old_postinstall_cmds | old_postuninstall_cmds | \
\r
10151 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
\r
10152 # Double-quote double-evaled strings.
\r
10153 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
\r
10156 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
\r
10162 *'\$0 --fallback-echo"')
\r
10163 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
\r
10167 cfgfile="${ofile}T"
\r
10168 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
\r
10169 $rm -f "$cfgfile"
\r
10170 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
\r
10171 $as_echo "$as_me: creating $ofile" >&6;}
\r
10173 cat <<__EOF__ >> "$cfgfile"
\r
10176 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
\r
10177 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
\r
10178 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
\r
10180 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
\r
10181 # Free Software Foundation, Inc.
\r
10183 # This file is part of GNU Libtool:
\r
10184 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
\r
10186 # This program is free software; you can redistribute it and/or modify
\r
10187 # it under the terms of the GNU General Public License as published by
\r
10188 # the Free Software Foundation; either version 2 of the License, or
\r
10189 # (at your option) any later version.
\r
10191 # This program is distributed in the hope that it will be useful, but
\r
10192 # WITHOUT ANY WARRANTY; without even the implied warranty of
\r
10193 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
\r
10194 # General Public License for more details.
\r
10196 # You should have received a copy of the GNU General Public License
\r
10197 # along with this program; if not, write to the Free Software
\r
10198 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
\r
10200 # As a special exception to the GNU General Public License, if you
\r
10201 # distribute this file as part of a program that contains a
\r
10202 # configuration script generated by Autoconf, you may include it under
\r
10203 # the same distribution terms that you use for the rest of that program.
\r
10205 # A sed program that does not truncate output.
\r
10208 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
\r
10209 Xsed="$SED -e 1s/^X//"
\r
10211 # The HP-UX ksh and POSIX shell print the target directory to stdout
\r
10212 # if CDPATH is set.
\r
10213 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
\r
10215 # The names of the tagged configurations supported by this script.
\r
10218 # ### BEGIN LIBTOOL CONFIG
\r
10220 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
\r
10222 # Shell to use when invoking shell scripts.
\r
10225 # Whether or not to build shared libraries.
\r
10226 build_libtool_libs=$enable_shared
\r
10228 # Whether or not to build static libraries.
\r
10229 build_old_libs=$enable_static
\r
10231 # Whether or not to add -lc for building shared libraries.
\r
10232 build_libtool_need_lc=$archive_cmds_need_lc
\r
10234 # Whether or not to disallow shared libs when runtime libs are static
\r
10235 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
\r
10237 # Whether or not to optimize for fast installation.
\r
10238 fast_install=$enable_fast_install
\r
10240 # The host system.
\r
10241 host_alias=$host_alias
\r
10245 # The build system.
\r
10246 build_alias=$build_alias
\r
10248 build_os=$build_os
\r
10250 # An echo program that does not interpret backslashes.
\r
10255 AR_FLAGS=$lt_AR_FLAGS
\r
10260 # LTCC compiler flags.
\r
10261 LTCFLAGS=$lt_LTCFLAGS
\r
10263 # A language-specific compiler.
\r
10266 # Is the compiler the GNU C compiler?
\r
10269 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
\r
10270 gcc_ver=\`gcc -dumpversion\`
\r
10272 # An ERE matcher.
\r
10275 # The linker used to build libraries.
\r
10278 # Whether we need hard or soft links.
\r
10281 # A BSD-compatible nm program.
\r
10284 # A symbol stripping program
\r
10287 # Used to examine libraries when file_magic_cmd begins "file"
\r
10288 MAGIC_CMD=$MAGIC_CMD
\r
10290 # Used on cygwin: DLL creation program.
\r
10291 DLLTOOL="$DLLTOOL"
\r
10293 # Used on cygwin: object dumper.
\r
10294 OBJDUMP="$OBJDUMP"
\r
10296 # Used on cygwin: assembler.
\r
10299 # The name of the directory that contains temporary libtool files.
\r
10302 # How to create reloadable object files.
\r
10303 reload_flag=$lt_reload_flag
\r
10304 reload_cmds=$lt_reload_cmds
\r
10306 # How to pass a linker flag through the compiler.
\r
10307 wl=$lt_lt_prog_compiler_wl
\r
10309 # Object file suffix (normally "o").
\r
10310 objext="$ac_objext"
\r
10312 # Old archive suffix (normally "a").
\r
10315 # Shared library suffix (normally ".so").
\r
10316 shrext_cmds='$shrext_cmds'
\r
10318 # Executable file suffix (normally "").
\r
10321 # Additional compiler flags for building library objects.
\r
10322 pic_flag=$lt_lt_prog_compiler_pic
\r
10323 pic_mode=$pic_mode
\r
10325 # What is the maximum length of a command?
\r
10326 max_cmd_len=$lt_cv_sys_max_cmd_len
\r
10328 # Does compiler simultaneously support -c and -o options?
\r
10329 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
\r
10331 # Must we lock files when doing compilation?
\r
10332 need_locks=$lt_need_locks
\r
10334 # Do we need the lib prefix for modules?
\r
10335 need_lib_prefix=$need_lib_prefix
\r
10337 # Do we need a version for libraries?
\r
10338 need_version=$need_version
\r
10340 # Whether dlopen is supported.
\r
10341 dlopen_support=$enable_dlopen
\r
10343 # Whether dlopen of programs is supported.
\r
10344 dlopen_self=$enable_dlopen_self
\r
10346 # Whether dlopen of statically linked programs is supported.
\r
10347 dlopen_self_static=$enable_dlopen_self_static
\r
10349 # Compiler flag to prevent dynamic linking.
\r
10350 link_static_flag=$lt_lt_prog_compiler_static
\r
10352 # Compiler flag to turn off builtin functions.
\r
10353 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
\r
10355 # Compiler flag to allow reflexive dlopens.
\r
10356 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
\r
10358 # Compiler flag to generate shared objects directly from archives.
\r
10359 whole_archive_flag_spec=$lt_whole_archive_flag_spec
\r
10361 # Compiler flag to generate thread-safe objects.
\r
10362 thread_safe_flag_spec=$lt_thread_safe_flag_spec
\r
10364 # Library versioning type.
\r
10365 version_type=$version_type
\r
10367 # Format of library name prefix.
\r
10368 libname_spec=$lt_libname_spec
\r
10370 # List of archive names. First name is the real one, the rest are links.
\r
10371 # The last name is the one that the linker finds with -lNAME.
\r
10372 library_names_spec=$lt_library_names_spec
\r
10374 # The coded name of the library, if different from the real name.
\r
10375 soname_spec=$lt_soname_spec
\r
10377 # Commands used to build and install an old-style archive.
\r
10378 RANLIB=$lt_RANLIB
\r
10379 old_archive_cmds=$lt_old_archive_cmds
\r
10380 old_postinstall_cmds=$lt_old_postinstall_cmds
\r
10381 old_postuninstall_cmds=$lt_old_postuninstall_cmds
\r
10383 # Create an old-style archive from a shared archive.
\r
10384 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
\r
10386 # Create a temporary old-style archive to link instead of a shared archive.
\r
10387 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
\r
10389 # Commands used to build and install a shared archive.
\r
10390 archive_cmds=$lt_archive_cmds
\r
10391 archive_expsym_cmds=$lt_archive_expsym_cmds
\r
10392 postinstall_cmds=$lt_postinstall_cmds
\r
10393 postuninstall_cmds=$lt_postuninstall_cmds
\r
10395 # Commands used to build a loadable module (assumed same as above if empty)
\r
10396 module_cmds=$lt_module_cmds
\r
10397 module_expsym_cmds=$lt_module_expsym_cmds
\r
10399 # Commands to strip libraries.
\r
10400 old_striplib=$lt_old_striplib
\r
10401 striplib=$lt_striplib
\r
10403 # Dependencies to place before the objects being linked to create a
\r
10404 # shared library.
\r
10405 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
10407 # Dependencies to place after the objects being linked to create a
\r
10408 # shared library.
\r
10409 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
10411 # Dependencies to place before the objects being linked to create a
\r
10412 # shared library.
\r
10413 predeps=$lt_predeps
\r
10415 # Dependencies to place after the objects being linked to create a
\r
10416 # shared library.
\r
10417 postdeps=$lt_postdeps
\r
10419 # The library search path used internally by the compiler when linking
\r
10420 # a shared library.
\r
10421 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
10423 # Method to check whether dependent libraries are shared objects.
\r
10424 deplibs_check_method=$lt_deplibs_check_method
\r
10426 # Command to use when deplibs_check_method == file_magic.
\r
10427 file_magic_cmd=$lt_file_magic_cmd
\r
10429 # Flag that allows shared libraries with undefined symbols to be built.
\r
10430 allow_undefined_flag=$lt_allow_undefined_flag
\r
10432 # Flag that forces no undefined symbols.
\r
10433 no_undefined_flag=$lt_no_undefined_flag
\r
10435 # Commands used to finish a libtool library installation in a directory.
\r
10436 finish_cmds=$lt_finish_cmds
\r
10438 # Same as above, but a single script fragment to be evaled but not shown.
\r
10439 finish_eval=$lt_finish_eval
\r
10441 # Take the output of nm and produce a listing of raw symbols and C names.
\r
10442 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
\r
10444 # Transform the output of nm in a proper C declaration
\r
10445 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
\r
10447 # Transform the output of nm in a C name address pair
\r
10448 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
\r
10450 # This is the shared library runtime path variable.
\r
10451 runpath_var=$runpath_var
\r
10453 # This is the shared library path variable.
\r
10454 shlibpath_var=$shlibpath_var
\r
10456 # Is shlibpath searched before the hard-coded library search path?
\r
10457 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
\r
10459 # How to hardcode a shared library path into an executable.
\r
10460 hardcode_action=$hardcode_action
\r
10462 # Whether we should hardcode library paths into libraries.
\r
10463 hardcode_into_libs=$hardcode_into_libs
\r
10465 # Flag to hardcode \$libdir into a binary during linking.
\r
10466 # This must work even if \$libdir does not exist.
\r
10467 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
\r
10469 # If ld is used when linking, flag to hardcode \$libdir into
\r
10470 # a binary during linking. This must work even if \$libdir does
\r
10472 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
\r
10474 # Whether we need a single -rpath flag with a separated argument.
\r
10475 hardcode_libdir_separator=$lt_hardcode_libdir_separator
\r
10477 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
\r
10478 # resulting binary.
\r
10479 hardcode_direct=$hardcode_direct
\r
10481 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
\r
10482 # resulting binary.
\r
10483 hardcode_minus_L=$hardcode_minus_L
\r
10485 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
\r
10486 # the resulting binary.
\r
10487 hardcode_shlibpath_var=$hardcode_shlibpath_var
\r
10489 # Set to yes if building a shared library automatically hardcodes DIR into the library
\r
10490 # and all subsequent libraries and executables linked against it.
\r
10491 hardcode_automatic=$hardcode_automatic
\r
10493 # Variables whose values should be saved in libtool wrapper scripts and
\r
10494 # restored at relink time.
\r
10495 variables_saved_for_relink="$variables_saved_for_relink"
\r
10497 # Whether libtool must link a program against all its dependency libraries.
\r
10498 link_all_deplibs=$link_all_deplibs
\r
10500 # Compile-time system search path for libraries
\r
10501 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
10503 # Run-time system search path for libraries
\r
10504 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
\r
10506 # Fix the shell variable \$srcfile for the compiler.
\r
10507 fix_srcfile_path="$fix_srcfile_path"
\r
10509 # Set to yes if exported symbols are required.
\r
10510 always_export_symbols=$always_export_symbols
\r
10512 # The commands to list exported symbols.
\r
10513 export_symbols_cmds=$lt_export_symbols_cmds
\r
10515 # The commands to extract the exported symbol list from a shared archive.
\r
10516 extract_expsyms_cmds=$lt_extract_expsyms_cmds
\r
10518 # Symbols that should not be listed in the preloaded symbols.
\r
10519 exclude_expsyms=$lt_exclude_expsyms
\r
10521 # Symbols that must always be exported.
\r
10522 include_expsyms=$lt_include_expsyms
\r
10524 # ### END LIBTOOL CONFIG
\r
10531 cat <<\EOF >> "$cfgfile"
\r
10533 # AIX sometimes has problems with the GCC collect2 program. For some
\r
10534 # reason, if we set the COLLECT_NAMES environment variable, the problems
\r
10535 # vanish in a puff of smoke.
\r
10536 if test "X${COLLECT_NAMES+set}" != Xset; then
\r
10538 export COLLECT_NAMES
\r
10544 # We use sed instead of cat because bash on DJGPP gets confused if
\r
10545 # if finds mixed CR/LF and LF-only lines. Since sed operates in
\r
10546 # text mode, it properly converts lines to CR/LF. This bash problem
\r
10547 # is reportedly fixed, but why not run on old versions too?
\r
10548 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
\r
10550 mv -f "$cfgfile" "$ofile" || \
\r
10551 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
\r
10552 chmod +x "$ofile"
\r
10555 # If there is no Makefile yet, we rely on a make rule to execute
\r
10556 # `config.status --recheck' to rerun these tests and create the
\r
10557 # libtool script then.
\r
10558 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
\r
10559 if test -f "$ltmain_in"; then
\r
10560 test -f Makefile && make "$ltmain"
\r
10566 ac_cpp='$CPP $CPPFLAGS'
\r
10567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
10568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
10569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
10574 # Check whether --with-tags was given.
\r
10575 if test "${with_tags+set}" = set; then
\r
10576 withval=$with_tags; tagnames="$withval"
\r
10580 if test -f "$ltmain" && test -n "$tagnames"; then
\r
10581 if test ! -f "${ofile}"; then
\r
10582 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
\r
10583 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
\r
10586 if test -z "$LTCC"; then
\r
10587 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
\r
10588 if test -z "$LTCC"; then
\r
10589 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
\r
10590 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
\r
10592 { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
\r
10593 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
\r
10596 if test -z "$LTCFLAGS"; then
\r
10597 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
\r
10600 # Extract list of available tagged configurations in $ofile.
\r
10601 # Note that this assumes the entire list is on one line.
\r
10602 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
\r
10604 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
\r
10605 for tagname in $tagnames; do
\r
10606 IFS="$lt_save_ifs"
\r
10607 # Check whether tagname contains only valid characters
\r
10608 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
\r
10610 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
\r
10611 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
\r
10612 { (exit 1); exit 1; }; }
\r
10616 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
\r
10618 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
\r
10619 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
\r
10620 { (exit 1); exit 1; }; }
\r
10623 # Update the list of available tags.
\r
10624 if test -n "$tagname"; then
\r
10625 echo appending configuration tag \"$tagname\" to $ofile
\r
10629 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
\r
10630 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
\r
10631 (test "X$CXX" != "Xg++"))) ; then
\r
10633 ac_cpp='$CXXCPP $CPPFLAGS'
\r
10634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
10635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
10636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
\r
10641 archive_cmds_need_lc_CXX=no
\r
10642 allow_undefined_flag_CXX=
\r
10643 always_export_symbols_CXX=no
\r
10644 archive_expsym_cmds_CXX=
\r
10645 export_dynamic_flag_spec_CXX=
\r
10646 hardcode_direct_CXX=no
\r
10647 hardcode_libdir_flag_spec_CXX=
\r
10648 hardcode_libdir_flag_spec_ld_CXX=
\r
10649 hardcode_libdir_separator_CXX=
\r
10650 hardcode_minus_L_CXX=no
\r
10651 hardcode_shlibpath_var_CXX=unsupported
\r
10652 hardcode_automatic_CXX=no
\r
10654 module_expsym_cmds_CXX=
\r
10655 link_all_deplibs_CXX=unknown
\r
10656 old_archive_cmds_CXX=$old_archive_cmds
\r
10657 no_undefined_flag_CXX=
\r
10658 whole_archive_flag_spec_CXX=
\r
10659 enable_shared_with_static_runtimes_CXX=no
\r
10661 # Dependencies to place before and after the object being linked:
\r
10662 predep_objects_CXX=
\r
10663 postdep_objects_CXX=
\r
10666 compiler_lib_search_path_CXX=
\r
10668 # Source file extension for C++ test sources.
\r
10671 # Object file extension for compiled C++ test sources.
\r
10673 objext_CXX=$objext
\r
10675 # Code to be used in simple compile tests
\r
10676 lt_simple_compile_test_code="int some_variable = 0;\n"
\r
10678 # Code to be used in simple link tests
\r
10679 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
\r
10681 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
\r
10683 # If no C compiler was specified, use CC.
\r
10684 LTCC=${LTCC-"$CC"}
\r
10686 # If no C compiler flags were specified, use CFLAGS.
\r
10687 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
\r
10689 # Allow CC to be a program name with arguments.
\r
10693 # save warnings/boilerplate of simple test code
\r
10694 ac_outfile=conftest.$ac_objext
\r
10695 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
\r
10696 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
\r
10697 _lt_compiler_boilerplate=`cat conftest.err`
\r
10700 ac_outfile=conftest.$ac_objext
\r
10701 printf "$lt_simple_link_test_code" >conftest.$ac_ext
\r
10702 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
\r
10703 _lt_linker_boilerplate=`cat conftest.err`
\r
10707 # Allow CC to be a program name with arguments.
\r
10712 lt_save_with_gnu_ld=$with_gnu_ld
\r
10713 lt_save_path_LD=$lt_cv_path_LD
\r
10714 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
\r
10715 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
\r
10717 $as_unset lt_cv_prog_gnu_ld
\r
10719 if test -n "${lt_cv_path_LDCXX+set}"; then
\r
10720 lt_cv_path_LD=$lt_cv_path_LDCXX
\r
10722 $as_unset lt_cv_path_LD
\r
10724 test -z "${LDCXX+set}" || LD=$LDCXX
\r
10728 for cc_temp in $compiler""; do
\r
10730 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
\r
10731 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\r
10736 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
\r
10739 # We don't want -fno-exception wen compiling C++ code, so set the
\r
10740 # no_builtin_flag separately
\r
10741 if test "$GXX" = yes; then
\r
10742 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
\r
10744 lt_prog_compiler_no_builtin_flag_CXX=
\r
10747 if test "$GXX" = yes; then
\r
10748 # Set up default GNU C++ configuration
\r
10751 # Check whether --with-gnu-ld was given.
\r
10752 if test "${with_gnu_ld+set}" = set; then
\r
10753 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
\r
10759 if test "$GCC" = yes; then
\r
10760 # Check if gcc -print-prog-name=ld gives a path.
\r
10761 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
\r
10762 $as_echo_n "checking for ld used by $CC... " >&6; }
\r
10765 # gcc leaves a trailing carriage return which upsets mingw
\r
10766 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
\r
10768 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
\r
10771 # Accept absolute paths.
\r
10772 [\\/]* | ?:[\\/]*)
\r
10773 re_direlt='/[^/][^/]*/\.\./'
\r
10774 # Canonicalize the pathname of ld
\r
10775 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
\r
10776 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
\r
10777 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
\r
10779 test -z "$LD" && LD="$ac_prog"
\r
10782 # If it fails, then pretend we aren't using GCC.
\r
10786 # If it is relative, then search for the first ld in PATH.
\r
10787 with_gnu_ld=unknown
\r
10790 elif test "$with_gnu_ld" = yes; then
\r
10791 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
\r
10792 $as_echo_n "checking for GNU ld... " >&6; }
\r
10794 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
\r
10795 $as_echo_n "checking for non-GNU ld... " >&6; }
\r
10797 if test "${lt_cv_path_LD+set}" = set; then
\r
10798 $as_echo_n "(cached) " >&6
\r
10800 if test -z "$LD"; then
\r
10801 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
\r
10802 for ac_dir in $PATH; do
\r
10803 IFS="$lt_save_ifs"
\r
10804 test -z "$ac_dir" && ac_dir=.
\r
10805 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
\r
10806 lt_cv_path_LD="$ac_dir/$ac_prog"
\r
10807 # Check to see if the program is GNU ld. I'd rather use --version,
\r
10808 # but apparently some variants of GNU ld only accept -v.
\r
10809 # Break only if it was the GNU/non-GNU ld that we prefer.
\r
10810 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
\r
10811 *GNU* | *'with BFD'*)
\r
10812 test "$with_gnu_ld" != no && break
\r
10815 test "$with_gnu_ld" != yes && break
\r
10820 IFS="$lt_save_ifs"
\r
10822 lt_cv_path_LD="$LD" # Let the user override the test with a path.
\r
10826 LD="$lt_cv_path_LD"
\r
10827 if test -n "$LD"; then
\r
10828 { $as_echo "$as_me:$LINENO: result: $LD" >&5
\r
10829 $as_echo "$LD" >&6; }
\r
10831 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
10832 $as_echo "no" >&6; }
\r
10834 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
\r
10835 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
\r
10836 { (exit 1); exit 1; }; }
\r
10837 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
\r
10838 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
\r
10839 if test "${lt_cv_prog_gnu_ld+set}" = set; then
\r
10840 $as_echo_n "(cached) " >&6
\r
10842 # I'd rather use --version here, but apparently some GNU lds only accept -v.
\r
10843 case `$LD -v 2>&1 </dev/null` in
\r
10844 *GNU* | *'with BFD'*)
\r
10845 lt_cv_prog_gnu_ld=yes
\r
10848 lt_cv_prog_gnu_ld=no
\r
10852 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
\r
10853 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
\r
10854 with_gnu_ld=$lt_cv_prog_gnu_ld
\r
10858 # Check if GNU C++ uses GNU ld as the underlying linker, since the
\r
10859 # archiving commands below assume that GNU ld is being used.
\r
10860 if test "$with_gnu_ld" = yes; then
\r
10861 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
10862 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'
\r
10864 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
\r
10865 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
\r
10867 # If archive_cmds runs LD, not CC, wlarc should be empty
\r
10868 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
\r
10869 # investigate it a little bit more. (MM)
\r
10872 # ancient GNU ld didn't support --whole-archive et. al.
\r
10873 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
\r
10874 grep 'no-whole-archive' > /dev/null; then
\r
10875 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
\r
10877 whole_archive_flag_spec_CXX=
\r
10883 # A generic and very simple default shared library creation
\r
10884 # command for GNU C++ for the case where it uses the native
\r
10885 # linker, instead of GNU ld. If possible, this setting should
\r
10886 # overridden to take advantage of the native linker features on
\r
10887 # the platform it is being used on.
\r
10888 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
\r
10891 # Commands to make compiler produce verbose output that lists
\r
10892 # what "hidden" libraries, object files and flags are used when
\r
10893 # linking a shared library.
\r
10894 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
\r
10902 # PORTME: fill in a description of your system's C++ link characteristics
\r
10903 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
\r
10904 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
\r
10905 ld_shlibs_CXX=yes
\r
10908 # FIXME: insert proper C++ library support
\r
10912 if test "$host_cpu" = ia64; then
\r
10913 # On IA64, the linker does run time linking by default, so we don't
\r
10914 # have to do anything special.
\r
10915 aix_use_runtimelinking=no
\r
10916 exp_sym_flag='-Bexport'
\r
10919 aix_use_runtimelinking=no
\r
10921 # Test if we are trying to use run time linking or normal
\r
10922 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
\r
10923 # need to do runtime linking.
\r
10924 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
\r
10925 for ld_flag in $LDFLAGS; do
\r
10928 aix_use_runtimelinking=yes
\r
10936 exp_sym_flag='-bexport'
\r
10937 no_entry_flag='-bnoentry'
\r
10940 # When large executables or shared objects are built, AIX ld can
\r
10941 # have problems creating the table of contents. If linking a library
\r
10942 # or program results in "error TOC overflow" add -mminimal-toc to
\r
10943 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
\r
10944 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
\r
10946 archive_cmds_CXX=''
\r
10947 hardcode_direct_CXX=yes
\r
10948 hardcode_libdir_separator_CXX=':'
\r
10949 link_all_deplibs_CXX=yes
\r
10951 if test "$GXX" = yes; then
\r
10952 case $host_os in aix4.[012]|aix4.[012].*)
\r
10953 # We only want to do this on AIX 4.2 and lower, the check
\r
10954 # below for broken collect2 doesn't work under 4.3+
\r
10955 collect2name=`${CC} -print-prog-name=collect2`
\r
10956 if test -f "$collect2name" && \
\r
10957 strings "$collect2name" | grep resolve_lib_name >/dev/null
\r
10959 # We have reworked collect2
\r
10960 hardcode_direct_CXX=yes
\r
10962 # We have old collect2
\r
10963 hardcode_direct_CXX=unsupported
\r
10964 # It fails to find uninstalled libraries when the uninstalled
\r
10965 # path is not listed in the libpath. Setting hardcode_minus_L
\r
10966 # to unsupported forces relinking
\r
10967 hardcode_minus_L_CXX=yes
\r
10968 hardcode_libdir_flag_spec_CXX='-L$libdir'
\r
10969 hardcode_libdir_separator_CXX=
\r
10973 shared_flag='-shared'
\r
10974 if test "$aix_use_runtimelinking" = yes; then
\r
10975 shared_flag="$shared_flag "'${wl}-G'
\r
10979 if test "$host_cpu" = ia64; then
\r
10980 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
\r
10981 # chokes on -Wl,-G. The following line is correct:
\r
10984 if test "$aix_use_runtimelinking" = yes; then
\r
10985 shared_flag='${wl}-G'
\r
10987 shared_flag='${wl}-bM:SRE'
\r
10992 # It seems that -bexpall does not export symbols beginning with
\r
10993 # underscore (_), so it is better to generate a list of symbols to export.
\r
10994 always_export_symbols_CXX=yes
\r
10995 if test "$aix_use_runtimelinking" = yes; then
\r
10996 # Warning - without using the other runtime loading flags (-brtl),
\r
10997 # -berok will link without error, but may produce a broken library.
\r
10998 allow_undefined_flag_CXX='-berok'
\r
10999 # Determine the default libpath from the value encoded in an empty executable.
\r
11000 cat >conftest.$ac_ext <<_ACEOF
\r
11001 /* confdefs.h. */
\r
11003 cat confdefs.h >>conftest.$ac_ext
\r
11004 cat >>conftest.$ac_ext <<_ACEOF
\r
11005 /* end confdefs.h. */
\r
11015 rm -f conftest.$ac_objext conftest$ac_exeext
\r
11016 if { (ac_try="$ac_link"
\r
11017 case "(($ac_try" in
\r
11018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
11019 *) ac_try_echo=$ac_try;;
\r
11021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
11022 $as_echo "$ac_try_echo") >&5
\r
11023 (eval "$ac_link") 2>conftest.er1
\r
11025 grep -v '^ *+' conftest.er1 >conftest.err
\r
11026 rm -f conftest.er1
\r
11027 cat conftest.err >&5
\r
11028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
11029 (exit $ac_status); } && {
\r
11030 test -z "$ac_cxx_werror_flag" ||
\r
11031 test ! -s conftest.err
\r
11032 } && test -s conftest$ac_exeext && {
\r
11033 test "$cross_compiling" = yes ||
\r
11034 $as_test_x conftest$ac_exeext
\r
11037 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
\r
11039 # Check for a 64-bit object if we didn't find anything.
\r
11040 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; }
\r
11043 $as_echo "$as_me: failed program was:" >&5
\r
11044 sed 's/^/| /' conftest.$ac_ext >&5
\r
11049 rm -rf conftest.dSYM
\r
11050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
11051 conftest$ac_exeext conftest.$ac_ext
\r
11052 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
\r
11054 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
\r
11056 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
\r
11058 if test "$host_cpu" = ia64; then
\r
11059 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
\r
11060 allow_undefined_flag_CXX="-z nodefs"
\r
11061 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
\r
11063 # Determine the default libpath from the value encoded in an empty executable.
\r
11064 cat >conftest.$ac_ext <<_ACEOF
\r
11065 /* confdefs.h. */
\r
11067 cat confdefs.h >>conftest.$ac_ext
\r
11068 cat >>conftest.$ac_ext <<_ACEOF
\r
11069 /* end confdefs.h. */
\r
11079 rm -f conftest.$ac_objext conftest$ac_exeext
\r
11080 if { (ac_try="$ac_link"
\r
11081 case "(($ac_try" in
\r
11082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
11083 *) ac_try_echo=$ac_try;;
\r
11085 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
11086 $as_echo "$ac_try_echo") >&5
\r
11087 (eval "$ac_link") 2>conftest.er1
\r
11089 grep -v '^ *+' conftest.er1 >conftest.err
\r
11090 rm -f conftest.er1
\r
11091 cat conftest.err >&5
\r
11092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
11093 (exit $ac_status); } && {
\r
11094 test -z "$ac_cxx_werror_flag" ||
\r
11095 test ! -s conftest.err
\r
11096 } && test -s conftest$ac_exeext && {
\r
11097 test "$cross_compiling" = yes ||
\r
11098 $as_test_x conftest$ac_exeext
\r
11101 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
\r
11103 # Check for a 64-bit object if we didn't find anything.
\r
11104 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; }
\r
11107 $as_echo "$as_me: failed program was:" >&5
\r
11108 sed 's/^/| /' conftest.$ac_ext >&5
\r
11113 rm -rf conftest.dSYM
\r
11114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
11115 conftest$ac_exeext conftest.$ac_ext
\r
11116 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
\r
11118 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
\r
11119 # Warning - without using the other run time loading flags,
\r
11120 # -berok will link without error, but may produce a broken library.
\r
11121 no_undefined_flag_CXX=' ${wl}-bernotok'
\r
11122 allow_undefined_flag_CXX=' ${wl}-berok'
\r
11123 # Exported symbols can be pulled into shared objects from archives
\r
11124 whole_archive_flag_spec_CXX='$convenience'
\r
11125 archive_cmds_need_lc_CXX=yes
\r
11126 # This is similar to how AIX traditionally builds its shared libraries.
\r
11127 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
\r
11133 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
11134 allow_undefined_flag_CXX=unsupported
\r
11135 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
\r
11136 # support --undefined. This deserves some investigation. FIXME
\r
11137 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
11144 case $cc_basename in
\r
11146 # FIXME: insert proper C++ library support
\r
11152 cygwin* | mingw* | pw32*)
\r
11153 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
\r
11154 # as there is no search path for DLLs.
\r
11155 hardcode_libdir_flag_spec_CXX='-L$libdir'
\r
11156 allow_undefined_flag_CXX=unsupported
\r
11157 always_export_symbols_CXX=no
\r
11158 enable_shared_with_static_runtimes_CXX=yes
\r
11160 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
\r
11161 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
\r
11162 # If the export-symbols file already is a .def file (1st line
\r
11163 # is EXPORTS), use it as is; otherwise, prepend...
\r
11164 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
\r
11165 cp $export_symbols $output_objdir/$soname.def;
\r
11167 echo EXPORTS > $output_objdir/$soname.def;
\r
11168 cat $export_symbols >> $output_objdir/$soname.def;
\r
11170 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
\r
11175 darwin* | rhapsody*)
\r
11177 rhapsody* | darwin1.[012])
\r
11178 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
\r
11180 *) # Darwin 1.3 on
\r
11181 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
\r
11182 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
\r
11184 case ${MACOSX_DEPLOYMENT_TARGET} in
\r
11186 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
\r
11189 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
\r
11195 archive_cmds_need_lc_CXX=no
\r
11196 hardcode_direct_CXX=no
\r
11197 hardcode_automatic_CXX=yes
\r
11198 hardcode_shlibpath_var_CXX=unsupported
\r
11199 whole_archive_flag_spec_CXX=''
\r
11200 link_all_deplibs_CXX=yes
\r
11202 if test "$GXX" = yes ; then
\r
11203 lt_int_apple_cc_single_mod=no
\r
11204 output_verbose_link_cmd='echo'
\r
11205 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
\r
11206 lt_int_apple_cc_single_mod=yes
\r
11208 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
\r
11209 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
\r
11211 archive_cmds_CXX='$CC -r -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'
\r
11213 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
\r
11214 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
\r
11215 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
\r
11216 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}'
\r
11218 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -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}'
\r
11220 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
11222 case $cc_basename in
\r
11224 output_verbose_link_cmd='echo'
\r
11225 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
\r
11226 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
\r
11227 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
\r
11228 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
11229 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
11239 case $cc_basename in
\r
11241 # FIXME: insert proper C++ library support
\r
11245 # Green Hills C++ Compiler
\r
11246 # FIXME: insert proper C++ library support
\r
11250 # FIXME: insert proper C++ library support
\r
11256 # C++ shared libraries reported to be fairly broken before switch to ELF
\r
11260 archive_cmds_need_lc_CXX=no
\r
11262 freebsd* | kfreebsd*-gnu | dragonfly*)
\r
11263 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
\r
11265 ld_shlibs_CXX=yes
\r
11270 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
\r
11271 hardcode_libdir_separator_CXX=:
\r
11272 export_dynamic_flag_spec_CXX='${wl}-E'
\r
11273 hardcode_direct_CXX=yes
\r
11274 hardcode_minus_L_CXX=yes # Not in the search PATH,
\r
11275 # but as the default
\r
11276 # location of the library.
\r
11278 case $cc_basename in
\r
11280 # FIXME: insert proper C++ library support
\r
11284 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'
\r
11285 # Commands to make compiler produce verbose output that lists
\r
11286 # what "hidden" libraries, object files and flags are used when
\r
11287 # linking a shared library.
\r
11289 # There doesn't appear to be a way to prevent this compiler from
\r
11290 # explicitly linking system object files so we need to strip them
\r
11291 # from the output so that they don't get included in the library
\r
11293 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'
\r
11296 if test "$GXX" = yes; then
\r
11297 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'
\r
11299 # FIXME: insert proper C++ library support
\r
11306 if test $with_gnu_ld = no; then
\r
11307 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
\r
11308 hardcode_libdir_separator_CXX=:
\r
11310 case $host_cpu in
\r
11312 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
\r
11315 export_dynamic_flag_spec_CXX='${wl}-E'
\r
11319 case $host_cpu in
\r
11321 hardcode_direct_CXX=no
\r
11322 hardcode_shlibpath_var_CXX=no
\r
11325 hardcode_direct_CXX=yes
\r
11326 hardcode_minus_L_CXX=yes # Not in the search PATH,
\r
11327 # but as the default
\r
11328 # location of the library.
\r
11332 case $cc_basename in
\r
11334 # FIXME: insert proper C++ library support
\r
11338 case $host_cpu in
\r
11340 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
\r
11343 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
\r
11346 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
\r
11349 # Commands to make compiler produce verbose output that lists
\r
11350 # what "hidden" libraries, object files and flags are used when
\r
11351 # linking a shared library.
\r
11353 # There doesn't appear to be a way to prevent this compiler from
\r
11354 # explicitly linking system object files so we need to strip them
\r
11355 # from the output so that they don't get included in the library
\r
11357 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'
\r
11360 if test "$GXX" = yes; then
\r
11361 if test $with_gnu_ld = no; then
\r
11362 case $host_cpu in
\r
11364 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
\r
11367 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
\r
11370 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'
\r
11375 # FIXME: insert proper C++ library support
\r
11382 hardcode_direct_CXX=no
\r
11383 hardcode_shlibpath_var_CXX=no
\r
11384 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
\r
11385 export_dynamic_flag_spec_CXX='${wl}-E'
\r
11386 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
\r
11387 # Instead, shared libraries are loaded at an image base (0x10000000 by
\r
11388 # default) and relocated if they conflict, which is a slow very memory
\r
11389 # consuming and fragmenting process. To avoid this, we pick a random,
\r
11390 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
\r
11391 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
\r
11392 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
\r
11393 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
\r
11396 case $cc_basename in
\r
11399 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 ${output_objdir}/so_locations -o $lib'
\r
11401 # Archives containing C++ object files must be created using
\r
11402 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
\r
11403 # necessary to make sure instantiated templates are included
\r
11404 # in the archive.
\r
11405 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
\r
11408 if test "$GXX" = yes; then
\r
11409 if test "$with_gnu_ld" = no; then
\r
11410 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}${output_objdir}/so_locations -o $lib'
\r
11412 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'
\r
11415 link_all_deplibs_CXX=yes
\r
11418 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
\r
11419 hardcode_libdir_separator_CXX=:
\r
11422 case $cc_basename in
\r
11424 # Kuck and Associates, Inc. (KAI) C++ Compiler
\r
11426 # KCC will only create a shared library if the output file
\r
11427 # ends with ".so" (or ".sl" for HP-UX), so rename the library
\r
11428 # to its proper name (with version) after linking.
\r
11429 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'
\r
11430 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'
\r
11431 # Commands to make compiler produce verbose output that lists
\r
11432 # what "hidden" libraries, object files and flags are used when
\r
11433 # linking a shared library.
\r
11435 # There doesn't appear to be a way to prevent this compiler from
\r
11436 # explicitly linking system object files so we need to strip them
\r
11437 # from the output so that they don't get included in the library
\r
11439 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'
\r
11441 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
\r
11442 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
\r
11444 # Archives containing C++ object files must be created using
\r
11445 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
\r
11446 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
\r
11451 # version 8.0 and above of icpc choke on multiply defined symbols
\r
11452 # if we add $predep_objects and $postdep_objects, however 7.1 and
\r
11453 # earlier do not add the objects themselves.
\r
11454 case `$CC -V 2>&1` in
\r
11456 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
11457 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'
\r
11459 *) # Version 8.0 or newer
\r
11461 case $host_cpu in
\r
11462 ia64*) tmp_idyn=' -i_dynamic';;
\r
11464 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
11465 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
\r
11468 archive_cmds_need_lc_CXX=no
\r
11469 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
\r
11470 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
\r
11471 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
\r
11474 # Portland Group C++ compiler
\r
11475 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
\r
11476 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
\r
11478 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
\r
11479 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
\r
11480 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
\r
11484 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
11485 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'
\r
11487 runpath_var=LD_RUN_PATH
\r
11488 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
\r
11489 hardcode_libdir_separator_CXX=:
\r
11491 # Commands to make compiler produce verbose output that lists
\r
11492 # what "hidden" libraries, object files and flags are used when
\r
11493 # linking a shared library.
\r
11495 # There doesn't appear to be a way to prevent this compiler from
\r
11496 # explicitly linking system object files so we need to strip them
\r
11497 # from the output so that they don't get included in the library
\r
11499 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'
\r
11504 # FIXME: insert proper C++ library support
\r
11508 # FIXME: insert proper C++ library support
\r
11512 case $cc_basename in
\r
11514 # FIXME: insert proper C++ library support
\r
11518 # FIXME: insert proper C++ library support
\r
11524 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
\r
11525 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
\r
11527 hardcode_libdir_flag_spec_CXX='-R$libdir'
\r
11528 hardcode_direct_CXX=yes
\r
11529 hardcode_shlibpath_var_CXX=no
\r
11531 # Workaround some broken pre-1.5 toolchains
\r
11532 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
\r
11535 # C++ shared libraries are fairly broken
\r
11539 hardcode_direct_CXX=yes
\r
11540 hardcode_shlibpath_var_CXX=no
\r
11541 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
\r
11542 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
\r
11543 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
\r
11544 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
\r
11545 export_dynamic_flag_spec_CXX='${wl}-E'
\r
11546 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
\r
11548 output_verbose_link_cmd='echo'
\r
11551 case $cc_basename in
\r
11553 # Kuck and Associates, Inc. (KAI) C++ Compiler
\r
11555 # KCC will only create a shared library if the output file
\r
11556 # ends with ".so" (or ".sl" for HP-UX), so rename the library
\r
11557 # to its proper name (with version) after linking.
\r
11558 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'
\r
11560 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
\r
11561 hardcode_libdir_separator_CXX=:
\r
11563 # Archives containing C++ object files must be created using
\r
11564 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
\r
11565 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
\r
11569 # Rational C++ 2.4.1
\r
11570 # FIXME: insert proper C++ library support
\r
11574 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
\r
11575 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 ${output_objdir}/so_locations -o $lib'
\r
11577 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
\r
11578 hardcode_libdir_separator_CXX=:
\r
11580 # Commands to make compiler produce verbose output that lists
\r
11581 # what "hidden" libraries, object files and flags are used when
\r
11582 # linking a shared library.
\r
11584 # There doesn't appear to be a way to prevent this compiler from
\r
11585 # explicitly linking system object files so we need to strip them
\r
11586 # from the output so that they don't get included in the library
\r
11588 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'
\r
11591 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
\r
11592 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
\r
11593 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}${output_objdir}/so_locations -o $lib'
\r
11595 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
\r
11596 hardcode_libdir_separator_CXX=:
\r
11598 # Commands to make compiler produce verbose output that lists
\r
11599 # what "hidden" libraries, object files and flags are used when
\r
11600 # linking a shared library.
\r
11601 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
\r
11604 # FIXME: insert proper C++ library support
\r
11611 case $cc_basename in
\r
11613 # Kuck and Associates, Inc. (KAI) C++ Compiler
\r
11615 # KCC will only create a shared library if the output file
\r
11616 # ends with ".so" (or ".sl" for HP-UX), so rename the library
\r
11617 # to its proper name (with version) after linking.
\r
11618 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'
\r
11620 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
\r
11621 hardcode_libdir_separator_CXX=:
\r
11623 # Archives containing C++ object files must be created using
\r
11624 # the KAI C++ compiler.
\r
11625 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
\r
11628 # Rational C++ 2.4.1
\r
11629 # FIXME: insert proper C++ library support
\r
11633 allow_undefined_flag_CXX=' -expect_unresolved \*'
\r
11634 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 ${output_objdir}/so_locations -o $lib'
\r
11635 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
\r
11636 echo "-hidden">> $lib.exp~
\r
11637 $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 ${output_objdir}/so_locations -o $lib~
\r
11640 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
\r
11641 hardcode_libdir_separator_CXX=:
\r
11643 # Commands to make compiler produce verbose output that lists
\r
11644 # what "hidden" libraries, object files and flags are used when
\r
11645 # linking a shared library.
\r
11647 # There doesn't appear to be a way to prevent this compiler from
\r
11648 # explicitly linking system object files so we need to strip them
\r
11649 # from the output so that they don't get included in the library
\r
11651 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'
\r
11654 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
\r
11655 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
\r
11656 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}${output_objdir}/so_locations -o $lib'
\r
11658 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
\r
11659 hardcode_libdir_separator_CXX=:
\r
11661 # Commands to make compiler produce verbose output that lists
\r
11662 # what "hidden" libraries, object files and flags are used when
\r
11663 # linking a shared library.
\r
11664 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
\r
11667 # FIXME: insert proper C++ library support
\r
11674 # FIXME: insert proper C++ library support
\r
11678 case $cc_basename in
\r
11681 # FIXME: insert proper C++ library support
\r
11686 # FIXME: insert proper C++ library support
\r
11690 # FIXME: insert proper C++ library support
\r
11696 case $cc_basename in
\r
11698 # Sun C++ 4.2, 5.x and Centerline C++
\r
11699 archive_cmds_need_lc_CXX=yes
\r
11700 no_undefined_flag_CXX=' -zdefs'
\r
11701 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
\r
11702 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
\r
11703 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
\r
11705 hardcode_libdir_flag_spec_CXX='-R$libdir'
\r
11706 hardcode_shlibpath_var_CXX=no
\r
11708 solaris2.[0-5] | solaris2.[0-5].*) ;;
\r
11710 # The C++ compiler is used as linker so we must use $wl
\r
11711 # flag to pass the commands to the underlying system
\r
11712 # linker. We must also pass each convience library through
\r
11713 # to the system linker between allextract/defaultextract.
\r
11714 # The C++ compiler will combine linker options so we
\r
11715 # cannot just pass the convience library names through
\r
11717 # Supported since Solaris 2.6 (maybe 2.5.1?)
\r
11718 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
\r
11721 link_all_deplibs_CXX=yes
\r
11723 output_verbose_link_cmd='echo'
\r
11725 # Archives containing C++ object files must be created using
\r
11726 # "CC -xar", where "CC" is the Sun C++ compiler. This is
\r
11727 # necessary to make sure instantiated templates are included
\r
11728 # in the archive.
\r
11729 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
\r
11732 # Green Hills C++ Compiler
\r
11733 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
\r
11735 # The C++ compiler must be used to create the archive.
\r
11736 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
\r
11739 # GNU C++ compiler with Solaris linker
\r
11740 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
\r
11741 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
\r
11742 if $CC --version | grep -v '^2\.7' > /dev/null; then
\r
11743 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
\r
11744 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
\r
11745 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
\r
11747 # Commands to make compiler produce verbose output that lists
\r
11748 # what "hidden" libraries, object files and flags are used when
\r
11749 # linking a shared library.
\r
11750 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
\r
11752 # g++ 2.7 appears to require `-G' NOT `-shared' on this
\r
11754 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
\r
11755 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
\r
11756 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
\r
11758 # Commands to make compiler produce verbose output that lists
\r
11759 # what "hidden" libraries, object files and flags are used when
\r
11760 # linking a shared library.
\r
11761 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
\r
11764 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
\r
11769 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
\r
11770 no_undefined_flag_CXX='${wl}-z,text'
\r
11771 archive_cmds_need_lc_CXX=no
\r
11772 hardcode_shlibpath_var_CXX=no
\r
11773 runpath_var='LD_RUN_PATH'
\r
11775 case $cc_basename in
\r
11777 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
11778 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
11781 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
11782 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
11786 sysv5* | sco3.2v5* | sco5v6*)
\r
11787 # Note: We can NOT use -z defs as we might desire, because we do not
\r
11788 # link with -lc, and that would cause any symbols used from libc to
\r
11789 # always be unresolved, which means just about no library would
\r
11790 # ever link correctly. If we're not using GNU ld we use -z text
\r
11791 # though, which does catch some bad symbols but isn't as heavy-handed
\r
11793 # For security reasons, it is highly recommended that you always
\r
11794 # use absolute paths for naming shared libraries, and exclude the
\r
11795 # DT_RUNPATH tag from executables and libraries. But doing so
\r
11796 # requires that you compile everything twice, which is a pain.
\r
11797 # So that behaviour is only enabled if SCOABSPATH is set to a
\r
11798 # non-empty value in the environment. Most likely only useful for
\r
11799 # creating official distributions of packages.
\r
11800 # This is a hack until libtool officially supports absolute path
\r
11801 # names for shared libraries.
\r
11802 no_undefined_flag_CXX='${wl}-z,text'
\r
11803 allow_undefined_flag_CXX='${wl}-z,nodefs'
\r
11804 archive_cmds_need_lc_CXX=no
\r
11805 hardcode_shlibpath_var_CXX=no
\r
11806 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
\r
11807 hardcode_libdir_separator_CXX=':'
\r
11808 link_all_deplibs_CXX=yes
\r
11809 export_dynamic_flag_spec_CXX='${wl}-Bexport'
\r
11810 runpath_var='LD_RUN_PATH'
\r
11812 case $cc_basename in
\r
11814 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
11815 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
11818 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
11819 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
11824 case $cc_basename in
\r
11826 # NonStop-UX NCC 3.20
\r
11827 # FIXME: insert proper C++ library support
\r
11831 # FIXME: insert proper C++ library support
\r
11837 # FIXME: insert proper C++ library support
\r
11841 # FIXME: insert proper C++ library support
\r
11845 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
\r
11846 $as_echo "$ld_shlibs_CXX" >&6; }
\r
11847 test "$ld_shlibs_CXX" = no && can_build_shared=no
\r
11853 cat > conftest.$ac_ext <<EOF
\r
11857 Foo (void) { a = 0; }
\r
11863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
11864 (eval $ac_compile) 2>&5
\r
11866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
11867 (exit $ac_status); }; then
\r
11868 # Parse the compiler output and extract the necessary
\r
11869 # objects, libraries and library flags.
\r
11871 # Sentinel used to keep track of whether or not we are before
\r
11872 # the conftest object file.
\r
11873 pre_test_object_deps_done=no
\r
11875 # The `*' in the case matches for architectures that use `case' in
\r
11876 # $output_verbose_cmd can trigger glob expansion during the loop
\r
11877 # eval without this substitution.
\r
11878 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
\r
11880 for p in `eval $output_verbose_link_cmd`; do
\r
11884 # Some compilers place space between "-{L,R}" and the path.
\r
11885 # Remove the space.
\r
11886 if test $p = "-L" \
\r
11887 || test $p = "-R"; then
\r
11894 if test "$pre_test_object_deps_done" = no; then
\r
11897 # Internal compiler library paths should come after those
\r
11898 # provided the user. The postdeps already come after the
\r
11899 # user supplied libs so there is no need to process them.
\r
11900 if test -z "$compiler_lib_search_path_CXX"; then
\r
11901 compiler_lib_search_path_CXX="${prev}${p}"
\r
11903 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
\r
11906 # The "-l" case would never come before the object being
\r
11907 # linked, so don't bother handling this case.
\r
11910 if test -z "$postdeps_CXX"; then
\r
11911 postdeps_CXX="${prev}${p}"
\r
11913 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
\r
11919 # This assumes that the test object file only shows up
\r
11920 # once in the compiler output.
\r
11921 if test "$p" = "conftest.$objext"; then
\r
11922 pre_test_object_deps_done=yes
\r
11926 if test "$pre_test_object_deps_done" = no; then
\r
11927 if test -z "$predep_objects_CXX"; then
\r
11928 predep_objects_CXX="$p"
\r
11930 predep_objects_CXX="$predep_objects_CXX $p"
\r
11933 if test -z "$postdep_objects_CXX"; then
\r
11934 postdep_objects_CXX="$p"
\r
11936 postdep_objects_CXX="$postdep_objects_CXX $p"
\r
11941 *) ;; # Ignore the rest.
\r
11947 rm -f a.out a.exe
\r
11949 echo "libtool.m4: error: problem compiling CXX test program"
\r
11952 $rm -f confest.$objext
\r
11954 # PORTME: override above test on systems where it is broken
\r
11957 # Interix 3.5 installs completely hosed .la files for C++, so rather than
\r
11958 # hack all around it, let's just trust "g++" to DTRT.
\r
11959 predep_objects_CXX=
\r
11960 postdep_objects_CXX=
\r
11965 case $cc_basename in
\r
11967 # Adding this requires a known-good setup of shared libraries for
\r
11968 # Sun compiler versions before 5.6, else PIC objects from an old
\r
11969 # archive will be linked into the output, leading to subtle bugs.
\r
11970 postdeps_CXX='-lCstd -lCrun'
\r
11977 case " $postdeps_CXX " in
\r
11978 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
\r
11981 lt_prog_compiler_wl_CXX=
\r
11982 lt_prog_compiler_pic_CXX=
\r
11983 lt_prog_compiler_static_CXX=
\r
11985 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
\r
11986 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
\r
11988 # C++ specific cases for pic, static, wl, etc.
\r
11989 if test "$GXX" = yes; then
\r
11990 lt_prog_compiler_wl_CXX='-Wl,'
\r
11991 lt_prog_compiler_static_CXX='-static'
\r
11995 # All AIX code is PIC.
\r
11996 if test "$host_cpu" = ia64; then
\r
11997 # AIX 5 now supports IA64 processor
\r
11998 lt_prog_compiler_static_CXX='-Bstatic'
\r
12002 # FIXME: we need at least 68020 code to build shared libraries, but
\r
12003 # adding the `-m68020' flag to GCC prevents building anything better,
\r
12004 # like `-m68040'.
\r
12005 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
\r
12007 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
\r
12008 # PIC is the default for these OSes.
\r
12010 mingw* | os2* | pw32*)
\r
12011 # This hack is so that the source file can tell whether it is being
\r
12012 # built for inclusion in a dll (and should export symbols for example).
\r
12013 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
\r
12015 darwin* | rhapsody*)
\r
12016 # PIC is the default on this platform
\r
12017 # Common symbols not allowed in MH_DYLIB files
\r
12018 lt_prog_compiler_pic_CXX='-fno-common'
\r
12021 # DJGPP does not support shared libraries at all
\r
12022 lt_prog_compiler_pic_CXX=
\r
12025 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
\r
12026 # Instead, we relocate shared libraries at runtime.
\r
12029 if test -d /usr/nec; then
\r
12030 lt_prog_compiler_pic_CXX=-Kconform_pic
\r
12034 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
\r
12035 # not for PA HP-UX.
\r
12036 case $host_cpu in
\r
12040 lt_prog_compiler_pic_CXX='-fPIC'
\r
12045 lt_prog_compiler_pic_CXX='-fPIC'
\r
12051 # All AIX code is PIC.
\r
12052 if test "$host_cpu" = ia64; then
\r
12053 # AIX 5 now supports IA64 processor
\r
12054 lt_prog_compiler_static_CXX='-Bstatic'
\r
12056 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
\r
12060 case $cc_basename in
\r
12062 # Green Hills C++ Compiler
\r
12063 # _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"
\r
12068 # PIC is the default on this platform
\r
12069 # Common symbols not allowed in MH_DYLIB files
\r
12070 case $cc_basename in
\r
12072 lt_prog_compiler_pic_CXX='-qnocommon'
\r
12073 lt_prog_compiler_wl_CXX='-Wl,'
\r
12078 case $cc_basename in
\r
12080 lt_prog_compiler_pic_CXX='-KPIC'
\r
12083 # Green Hills C++ Compiler
\r
12084 lt_prog_compiler_pic_CXX='-pic'
\r
12090 freebsd* | kfreebsd*-gnu | dragonfly*)
\r
12091 # FreeBSD uses GNU C++
\r
12093 hpux9* | hpux10* | hpux11*)
\r
12094 case $cc_basename in
\r
12096 lt_prog_compiler_wl_CXX='-Wl,'
\r
12097 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
\r
12098 if test "$host_cpu" != ia64; then
\r
12099 lt_prog_compiler_pic_CXX='+Z'
\r
12103 lt_prog_compiler_wl_CXX='-Wl,'
\r
12104 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
\r
12105 case $host_cpu in
\r
12110 lt_prog_compiler_pic_CXX='+Z'
\r
12119 # This is c89, which is MS Visual C++ (no shared libs)
\r
12120 # Anyone wants to do a port?
\r
12122 irix5* | irix6* | nonstopux*)
\r
12123 case $cc_basename in
\r
12125 lt_prog_compiler_wl_CXX='-Wl,'
\r
12126 lt_prog_compiler_static_CXX='-non_shared'
\r
12127 # CC pic flag -KPIC is the default.
\r
12134 case $cc_basename in
\r
12136 # KAI C++ Compiler
\r
12137 lt_prog_compiler_wl_CXX='--backend -Wl,'
\r
12138 lt_prog_compiler_pic_CXX='-fPIC'
\r
12142 lt_prog_compiler_wl_CXX='-Wl,'
\r
12143 lt_prog_compiler_pic_CXX='-KPIC'
\r
12144 lt_prog_compiler_static_CXX='-static'
\r
12147 # Portland Group C++ compiler.
\r
12148 lt_prog_compiler_wl_CXX='-Wl,'
\r
12149 lt_prog_compiler_pic_CXX='-fpic'
\r
12150 lt_prog_compiler_static_CXX='-Bstatic'
\r
12154 # Make sure the PIC flag is empty. It appears that all Alpha
\r
12155 # Linux and Compaq Tru64 Unix objects are PIC.
\r
12156 lt_prog_compiler_pic_CXX=
\r
12157 lt_prog_compiler_static_CXX='-non_shared'
\r
12168 case $cc_basename in
\r
12170 lt_prog_compiler_pic_CXX='-W c,exportall'
\r
12178 osf3* | osf4* | osf5*)
\r
12179 case $cc_basename in
\r
12181 lt_prog_compiler_wl_CXX='--backend -Wl,'
\r
12184 # Rational C++ 2.4.1
\r
12185 lt_prog_compiler_pic_CXX='-pic'
\r
12188 # Digital/Compaq C++
\r
12189 lt_prog_compiler_wl_CXX='-Wl,'
\r
12190 # Make sure the PIC flag is empty. It appears that all Alpha
\r
12191 # Linux and Compaq Tru64 Unix objects are PIC.
\r
12192 lt_prog_compiler_pic_CXX=
\r
12193 lt_prog_compiler_static_CXX='-non_shared'
\r
12202 case $cc_basename in
\r
12204 # Sun C++ 4.2, 5.x and Centerline C++
\r
12205 lt_prog_compiler_pic_CXX='-KPIC'
\r
12206 lt_prog_compiler_static_CXX='-Bstatic'
\r
12207 lt_prog_compiler_wl_CXX='-Qoption ld '
\r
12210 # Green Hills C++ Compiler
\r
12211 lt_prog_compiler_pic_CXX='-PIC'
\r
12218 case $cc_basename in
\r
12221 lt_prog_compiler_pic_CXX='-pic'
\r
12222 lt_prog_compiler_static_CXX='-Bstatic'
\r
12226 lt_prog_compiler_pic_CXX='-pic'
\r
12233 case $cc_basename in
\r
12235 # NonStop-UX NCC 3.20
\r
12236 lt_prog_compiler_pic_CXX='-KPIC'
\r
12242 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
\r
12243 case $cc_basename in
\r
12245 lt_prog_compiler_wl_CXX='-Wl,'
\r
12246 lt_prog_compiler_pic_CXX='-KPIC'
\r
12247 lt_prog_compiler_static_CXX='-Bstatic'
\r
12254 lt_prog_compiler_can_build_shared_CXX=no
\r
12259 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
\r
12260 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
\r
12263 # Check to make sure the PIC flag actually works.
\r
12265 if test -n "$lt_prog_compiler_pic_CXX"; then
\r
12267 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
\r
12268 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
\r
12269 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
\r
12270 $as_echo_n "(cached) " >&6
\r
12272 lt_prog_compiler_pic_works_CXX=no
\r
12273 ac_outfile=conftest.$ac_objext
\r
12274 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
12275 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
\r
12276 # Insert the option either (1) after the last *FLAGS variable, or
\r
12277 # (2) before a word containing "conftest.", or (3) at the end.
\r
12278 # Note that $ac_compile itself does not contain backslashes and begins
\r
12279 # with a dollar sign (not a hyphen), so the echo should work correctly.
\r
12280 # The option is referenced via a variable to avoid confusing sed.
\r
12281 lt_compile=`echo "$ac_compile" | $SED \
\r
12282 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
\r
12283 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
\r
12284 -e 's:$: $lt_compiler_flag:'`
\r
12285 (eval echo "\"\$as_me:12285: $lt_compile\"" >&5)
\r
12286 (eval "$lt_compile" 2>conftest.err)
\r
12288 cat conftest.err >&5
\r
12289 echo "$as_me:12289: \$? = $ac_status" >&5
\r
12290 if (exit $ac_status) && test -s "$ac_outfile"; then
\r
12291 # The compiler can only warn and ignore the option if not recognized
\r
12292 # So say no if there are warnings other than the usual output.
\r
12293 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
\r
12294 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
\r
12295 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
\r
12296 lt_prog_compiler_pic_works_CXX=yes
\r
12302 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
\r
12303 $as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
\r
12305 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
\r
12306 case $lt_prog_compiler_pic_CXX in
\r
12308 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
\r
12311 lt_prog_compiler_pic_CXX=
\r
12312 lt_prog_compiler_can_build_shared_CXX=no
\r
12317 # For platforms which do not support PIC, -DPIC is meaningless:
\r
12319 lt_prog_compiler_pic_CXX=
\r
12322 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
\r
12327 # Check to make sure the static flag actually works.
\r
12329 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
\r
12330 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
\r
12331 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
\r
12332 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
\r
12333 $as_echo_n "(cached) " >&6
\r
12335 lt_prog_compiler_static_works_CXX=no
\r
12336 save_LDFLAGS="$LDFLAGS"
\r
12337 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
\r
12338 printf "$lt_simple_link_test_code" > conftest.$ac_ext
\r
12339 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
\r
12340 # The linker can only warn and ignore the option if not recognized
\r
12341 # So say no if there are warnings
\r
12342 if test -s conftest.err; then
\r
12343 # Append any errors to the config.log.
\r
12344 cat conftest.err 1>&5
\r
12345 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
\r
12346 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
\r
12347 if diff conftest.exp conftest.er2 >/dev/null; then
\r
12348 lt_prog_compiler_static_works_CXX=yes
\r
12351 lt_prog_compiler_static_works_CXX=yes
\r
12355 LDFLAGS="$save_LDFLAGS"
\r
12358 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
\r
12359 $as_echo "$lt_prog_compiler_static_works_CXX" >&6; }
\r
12361 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
\r
12364 lt_prog_compiler_static_CXX=
\r
12368 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
\r
12369 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
\r
12370 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
\r
12371 $as_echo_n "(cached) " >&6
\r
12373 lt_cv_prog_compiler_c_o_CXX=no
\r
12374 $rm -r conftest 2>/dev/null
\r
12378 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
12380 lt_compiler_flag="-o out/conftest2.$ac_objext"
\r
12381 # Insert the option either (1) after the last *FLAGS variable, or
\r
12382 # (2) before a word containing "conftest.", or (3) at the end.
\r
12383 # Note that $ac_compile itself does not contain backslashes and begins
\r
12384 # with a dollar sign (not a hyphen), so the echo should work correctly.
\r
12385 lt_compile=`echo "$ac_compile" | $SED \
\r
12386 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
\r
12387 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
\r
12388 -e 's:$: $lt_compiler_flag:'`
\r
12389 (eval echo "\"\$as_me:12389: $lt_compile\"" >&5)
\r
12390 (eval "$lt_compile" 2>out/conftest.err)
\r
12392 cat out/conftest.err >&5
\r
12393 echo "$as_me:12393: \$? = $ac_status" >&5
\r
12394 if (exit $ac_status) && test -s out/conftest2.$ac_objext
\r
12396 # The compiler can only warn and ignore the option if not recognized
\r
12397 # So say no if there are warnings
\r
12398 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
\r
12399 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
\r
12400 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
\r
12401 lt_cv_prog_compiler_c_o_CXX=yes
\r
12406 # SGI C++ compiler will create directory out/ii_files/ for
\r
12407 # template instantiation
\r
12408 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
\r
12409 $rm out/* && rmdir out
\r
12415 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
\r
12416 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
\r
12419 hard_links="nottested"
\r
12420 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
\r
12421 # do not overwrite the value of need_locks provided by the user
\r
12422 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
\r
12423 $as_echo_n "checking if we can lock with hard links... " >&6; }
\r
12426 ln conftest.a conftest.b 2>/dev/null && hard_links=no
\r
12428 ln conftest.a conftest.b 2>&5 || hard_links=no
\r
12429 ln conftest.a conftest.b 2>/dev/null && hard_links=no
\r
12430 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
\r
12431 $as_echo "$hard_links" >&6; }
\r
12432 if test "$hard_links" = no; then
\r
12433 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
\r
12434 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
\r
12441 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
\r
12442 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
\r
12444 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
\r
12447 # If we're using GNU nm, then we don't want the "-C" option.
\r
12448 # -C means demangle to AIX nm, but means don't demangle with GNU nm
\r
12449 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
\r
12450 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'
\r
12452 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'
\r
12456 export_symbols_cmds_CXX="$ltdll_cmds"
\r
12458 cygwin* | mingw*)
\r
12459 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
\r
12462 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
\r
12466 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
\r
12467 $as_echo "$ld_shlibs_CXX" >&6; }
\r
12468 test "$ld_shlibs_CXX" = no && can_build_shared=no
\r
12471 # Do we need to explicitly link libc?
\r
12473 case "x$archive_cmds_need_lc_CXX" in
\r
12475 # Assume -lc should be added
\r
12476 archive_cmds_need_lc_CXX=yes
\r
12478 if test "$enable_shared" = yes && test "$GCC" = yes; then
\r
12479 case $archive_cmds_CXX in
\r
12481 # FIXME: we may have to deal with multi-command sequences.
\r
12484 # Test whether the compiler implicitly links with -lc since on some
\r
12485 # systems, -lgcc has to come before -lc. If gcc already passes -lc
\r
12486 # to ld, don't add -lc before -lgcc.
\r
12487 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
\r
12488 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
\r
12490 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
12492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
12493 (eval $ac_compile) 2>&5
\r
12495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
12496 (exit $ac_status); } 2>conftest.err; then
\r
12499 libobjs=conftest.$ac_objext
\r
12501 wl=$lt_prog_compiler_wl_CXX
\r
12502 pic_flag=$lt_prog_compiler_pic_CXX
\r
12503 compiler_flags=-v
\r
12508 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
\r
12509 allow_undefined_flag_CXX=
\r
12510 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
\r
12511 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
\r
12513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
12514 (exit $ac_status); }
\r
12516 archive_cmds_need_lc_CXX=no
\r
12518 archive_cmds_need_lc_CXX=yes
\r
12520 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
\r
12522 cat conftest.err 1>&5
\r
12525 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
\r
12526 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
\r
12533 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
\r
12534 $as_echo_n "checking dynamic linker characteristics... " >&6; }
\r
12535 library_names_spec=
\r
12536 libname_spec='lib$name'
\r
12538 shrext_cmds=".so"
\r
12539 postinstall_cmds=
\r
12540 postuninstall_cmds=
\r
12544 shlibpath_overrides_runpath=unknown
\r
12545 version_type=none
\r
12546 dynamic_linker="$host_os ld.so"
\r
12547 sys_lib_dlsearch_path_spec="/lib /usr/lib"
\r
12548 if test "$GCC" = yes; then
\r
12549 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
\r
12550 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
\r
12551 # if the path contains ";" then we assume it to be the separator
\r
12552 # otherwise default to the standard path separator (i.e. ":") - it is
\r
12553 # assumed that no part of a normal pathname contains ";" but that should
\r
12554 # okay in the real world where ";" in dirpaths is itself problematic.
\r
12555 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
\r
12557 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
\r
12560 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
\r
12562 need_lib_prefix=unknown
\r
12563 hardcode_into_libs=no
\r
12565 # when you set need_version to no, make sure it does not cause -set_version
\r
12566 # flags to be left without arguments
\r
12567 need_version=unknown
\r
12571 version_type=linux
\r
12572 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
\r
12573 shlibpath_var=LIBPATH
\r
12575 # AIX 3 has no versioning support, so we append a major version to the name.
\r
12576 soname_spec='${libname}${release}${shared_ext}$major'
\r
12580 version_type=linux
\r
12581 need_lib_prefix=no
\r
12583 hardcode_into_libs=yes
\r
12584 if test "$host_cpu" = ia64; then
\r
12585 # AIX 5 supports IA64
\r
12586 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
\r
12587 shlibpath_var=LD_LIBRARY_PATH
\r
12589 # With GCC up to 2.95.x, collect2 would create an import file
\r
12590 # for dependence libraries. The import file would start with
\r
12591 # the line `#! .'. This would cause the generated library to
\r
12592 # depend on `.', always an invalid library. This was fixed in
\r
12593 # development snapshots of GCC prior to 3.0.
\r
12595 aix4 | aix4.[01] | aix4.[01].*)
\r
12596 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
\r
12598 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
\r
12601 can_build_shared=no
\r
12605 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
\r
12606 # soname into executable. Probably we can add versioning support to
\r
12607 # collect2, so additional links can be useful in future.
\r
12608 if test "$aix_use_runtimelinking" = yes; then
\r
12609 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
\r
12610 # instead of lib<name>.a to let people know that these are not
\r
12611 # typical AIX shared libraries.
\r
12612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
12614 # We preserve .a as extension for shared libraries through AIX4.2
\r
12615 # and later when we are not doing run time linking.
\r
12616 library_names_spec='${libname}${release}.a $libname.a'
\r
12617 soname_spec='${libname}${release}${shared_ext}$major'
\r
12619 shlibpath_var=LIBPATH
\r
12624 library_names_spec='$libname.ixlibrary $libname.a'
\r
12625 # Create ${libname}_ixlibrary.a entries in /sys/libs.
\r
12626 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'
\r
12630 library_names_spec='${libname}${shared_ext}'
\r
12631 dynamic_linker="$host_os ld.so"
\r
12632 shlibpath_var=LIBRARY_PATH
\r
12636 version_type=linux
\r
12638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
12639 soname_spec='${libname}${release}${shared_ext}$major'
\r
12640 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
\r
12641 shlibpath_var=LD_LIBRARY_PATH
\r
12642 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
\r
12643 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
\r
12644 # the default ld.so.conf also contains /usr/contrib/lib and
\r
12645 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
\r
12646 # libtool to hard-code these into programs
\r
12649 cygwin* | mingw* | pw32*)
\r
12650 version_type=windows
\r
12651 shrext_cmds=".dll"
\r
12653 need_lib_prefix=no
\r
12655 case $GCC,$host_os in
\r
12656 yes,cygwin* | yes,mingw* | yes,pw32*)
\r
12657 library_names_spec='$libname.dll.a'
\r
12658 # DLL is installed to $(libdir)/../bin by postinstall_cmds
\r
12659 postinstall_cmds='base_file=`basename \${file}`~
\r
12660 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
\r
12661 dldir=$destdir/`dirname \$dlpath`~
\r
12662 test -d \$dldir || mkdir -p \$dldir~
\r
12663 $install_prog $dir/$dlname \$dldir/$dlname~
\r
12664 chmod a+x \$dldir/$dlname'
\r
12665 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
\r
12666 dlpath=$dir/\$dldll~
\r
12668 shlibpath_overrides_runpath=yes
\r
12672 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
\r
12673 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
12674 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
\r
12677 # MinGW DLLs use traditional 'lib' prefix
\r
12678 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
12679 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
\r
12680 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
\r
12681 # It is most probably a Windows format PATH printed by
\r
12682 # mingw gcc, but we are running on Cygwin. Gcc prints its search
\r
12683 # path with ; separators, and with drive letters. We can handle the
\r
12684 # drive letters (cygwin fileutils understands them), so leave them,
\r
12685 # especially as we might pass files found there to a mingw objdump,
\r
12686 # which wouldn't understand a cygwinified path. Ahh.
\r
12687 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
\r
12689 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
\r
12693 # pw32 DLLs use 'pw' prefix rather than 'lib'
\r
12694 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
12700 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
\r
12703 dynamic_linker='Win32 ld.exe'
\r
12704 # FIXME: first we should search . and the directory the executable is in
\r
12705 shlibpath_var=PATH
\r
12708 darwin* | rhapsody*)
\r
12709 dynamic_linker="$host_os dyld"
\r
12710 version_type=darwin
\r
12711 need_lib_prefix=no
\r
12713 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
\r
12714 soname_spec='${libname}${release}${major}$shared_ext'
\r
12715 shlibpath_overrides_runpath=yes
\r
12716 shlibpath_var=DYLD_LIBRARY_PATH
\r
12717 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
\r
12718 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
\r
12719 if test "$GCC" = yes; then
\r
12720 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"`
\r
12722 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
\r
12724 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
\r
12728 version_type=linux
\r
12729 need_lib_prefix=no
\r
12731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
\r
12732 soname_spec='${libname}${release}${shared_ext}$major'
\r
12733 shlibpath_var=LD_LIBRARY_PATH
\r
12737 dynamic_linker=no
\r
12741 version_type=linux
\r
12742 need_lib_prefix=no
\r
12744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
12745 soname_spec='${libname}${release}${shared_ext}$major'
\r
12746 shlibpath_var=LD_LIBRARY_PATH
\r
12747 shlibpath_overrides_runpath=no
\r
12748 hardcode_into_libs=yes
\r
12749 dynamic_linker='GNU ld.so'
\r
12752 freebsd* | dragonfly*)
\r
12753 # DragonFly does not have aout. When/if they implement a new
\r
12754 # versioning mechanism, adjust this.
\r
12755 if test -x /usr/bin/objformat; then
\r
12756 objformat=`/usr/bin/objformat`
\r
12759 freebsd[123]*) objformat=aout ;;
\r
12760 *) objformat=elf ;;
\r
12763 version_type=freebsd-$objformat
\r
12764 case $version_type in
\r
12766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
12768 need_lib_prefix=no
\r
12771 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
\r
12775 shlibpath_var=LD_LIBRARY_PATH
\r
12778 shlibpath_overrides_runpath=yes
\r
12780 freebsd3.[01]* | freebsdelf3.[01]*)
\r
12781 shlibpath_overrides_runpath=yes
\r
12782 hardcode_into_libs=yes
\r
12784 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
\r
12785 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
\r
12786 shlibpath_overrides_runpath=no
\r
12787 hardcode_into_libs=yes
\r
12789 freebsd*) # from 4.6 on
\r
12790 shlibpath_overrides_runpath=yes
\r
12791 hardcode_into_libs=yes
\r
12797 version_type=linux
\r
12798 need_lib_prefix=no
\r
12800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
\r
12801 soname_spec='${libname}${release}${shared_ext}$major'
\r
12802 shlibpath_var=LD_LIBRARY_PATH
\r
12803 hardcode_into_libs=yes
\r
12806 hpux9* | hpux10* | hpux11*)
\r
12807 # Give a soname corresponding to the major version so that dld.sl refuses to
\r
12808 # link against other versions.
\r
12809 version_type=sunos
\r
12810 need_lib_prefix=no
\r
12812 case $host_cpu in
\r
12814 shrext_cmds='.so'
\r
12815 hardcode_into_libs=yes
\r
12816 dynamic_linker="$host_os dld.so"
\r
12817 shlibpath_var=LD_LIBRARY_PATH
\r
12818 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
\r
12819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
12820 soname_spec='${libname}${release}${shared_ext}$major'
\r
12821 if test "X$HPUX_IA64_MODE" = X32; then
\r
12822 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
\r
12824 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
\r
12826 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
\r
12829 shrext_cmds='.sl'
\r
12830 hardcode_into_libs=yes
\r
12831 dynamic_linker="$host_os dld.sl"
\r
12832 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
\r
12833 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
\r
12834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
12835 soname_spec='${libname}${release}${shared_ext}$major'
\r
12836 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
\r
12837 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
\r
12840 shrext_cmds='.sl'
\r
12841 dynamic_linker="$host_os dld.sl"
\r
12842 shlibpath_var=SHLIB_PATH
\r
12843 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
\r
12844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
12845 soname_spec='${libname}${release}${shared_ext}$major'
\r
12848 # HP-UX runs *really* slowly unless shared libraries are mode 555.
\r
12849 postinstall_cmds='chmod 555 $lib'
\r
12853 version_type=linux
\r
12854 need_lib_prefix=no
\r
12856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
12857 soname_spec='${libname}${release}${shared_ext}$major'
\r
12858 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
\r
12859 shlibpath_var=LD_LIBRARY_PATH
\r
12860 shlibpath_overrides_runpath=no
\r
12861 hardcode_into_libs=yes
\r
12864 irix5* | irix6* | nonstopux*)
\r
12866 nonstopux*) version_type=nonstopux ;;
\r
12868 if test "$lt_cv_prog_gnu_ld" = yes; then
\r
12869 version_type=linux
\r
12871 version_type=irix
\r
12874 need_lib_prefix=no
\r
12876 soname_spec='${libname}${release}${shared_ext}$major'
\r
12877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
12879 irix5* | nonstopux*)
\r
12880 libsuff= shlibsuff=
\r
12883 case $LD in # libtool.m4 will add one of these switches to LD
\r
12884 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
\r
12885 libsuff= shlibsuff= libmagic=32-bit;;
\r
12886 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
\r
12887 libsuff=32 shlibsuff=N32 libmagic=N32;;
\r
12888 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
\r
12889 libsuff=64 shlibsuff=64 libmagic=64-bit;;
\r
12890 *) libsuff= shlibsuff= libmagic=never-match;;
\r
12894 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
\r
12895 shlibpath_overrides_runpath=no
\r
12896 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
\r
12897 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
\r
12898 hardcode_into_libs=yes
\r
12901 # No shared lib support for Linux oldld, aout, or coff.
\r
12902 linux*oldld* | linux*aout* | linux*coff*)
\r
12903 dynamic_linker=no
\r
12906 # This must be Linux ELF.
\r
12908 version_type=linux
\r
12909 need_lib_prefix=no
\r
12911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
12912 soname_spec='${libname}${release}${shared_ext}$major'
\r
12913 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
\r
12914 shlibpath_var=LD_LIBRARY_PATH
\r
12915 shlibpath_overrides_runpath=no
\r
12916 # This implies no fast_install, which is unacceptable.
\r
12917 # Some rework will be needed to allow for fast_install
\r
12918 # before this can be enabled.
\r
12919 hardcode_into_libs=yes
\r
12921 # find out which ABI we are using
\r
12923 case "$host_cpu" in
\r
12924 x86_64*|s390x*|powerpc64*)
\r
12925 echo '#line 12925 "configure"' > conftest.$ac_ext
\r
12926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
12927 (eval $ac_compile) 2>&5
\r
12929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
12930 (exit $ac_status); }; then
\r
12931 case `/usr/bin/file conftest.$ac_objext` in
\r
12934 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
\r
12942 # Append ld.so.conf contents to the search path
\r
12943 if test -f /etc/ld.so.conf; then
\r
12944 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
\r
12945 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
\r
12948 # We used to test for /lib/ld.so.1 and disable shared libraries on
\r
12949 # powerpc, because MkLinux only supported shared libraries with the
\r
12950 # GNU dynamic linker. Since this was broken with cross compilers,
\r
12951 # most powerpc-linux boxes support dynamic linking these days and
\r
12952 # people can always --disable-shared, the test was removed, and we
\r
12953 # assume the GNU/Linux dynamic linker is in use.
\r
12954 dynamic_linker='GNU/Linux ld.so'
\r
12958 version_type=linux
\r
12959 need_lib_prefix=no
\r
12961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
12962 soname_spec='${libname}${release}${shared_ext}$major'
\r
12963 shlibpath_var=LD_LIBRARY_PATH
\r
12964 shlibpath_overrides_runpath=no
\r
12965 hardcode_into_libs=yes
\r
12966 dynamic_linker='GNU ld.so'
\r
12970 version_type=sunos
\r
12971 need_lib_prefix=no
\r
12973 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
\r
12974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
12975 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
\r
12976 dynamic_linker='NetBSD (a.out) ld.so'
\r
12978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
12979 soname_spec='${libname}${release}${shared_ext}$major'
\r
12980 dynamic_linker='NetBSD ld.elf_so'
\r
12982 shlibpath_var=LD_LIBRARY_PATH
\r
12983 shlibpath_overrides_runpath=yes
\r
12984 hardcode_into_libs=yes
\r
12988 version_type=linux
\r
12989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
12990 shlibpath_var=LD_LIBRARY_PATH
\r
12991 shlibpath_overrides_runpath=yes
\r
12995 version_type=linux
\r
12996 need_lib_prefix=no
\r
12998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
12999 soname_spec='${libname}${release}${shared_ext}$major'
\r
13000 shlibpath_var=LD_LIBRARY_PATH
\r
13001 shlibpath_overrides_runpath=yes
\r
13005 version_type=sunos
\r
13006 sys_lib_dlsearch_path_spec="/usr/lib"
\r
13007 need_lib_prefix=no
\r
13008 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
\r
13010 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
\r
13011 *) need_version=no ;;
\r
13013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
13014 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
\r
13015 shlibpath_var=LD_LIBRARY_PATH
\r
13016 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
\r
13018 openbsd2.[89] | openbsd2.[89].*)
\r
13019 shlibpath_overrides_runpath=no
\r
13022 shlibpath_overrides_runpath=yes
\r
13026 shlibpath_overrides_runpath=yes
\r
13031 libname_spec='$name'
\r
13032 shrext_cmds=".dll"
\r
13033 need_lib_prefix=no
\r
13034 library_names_spec='$libname${shared_ext} $libname.a'
\r
13035 dynamic_linker='OS/2 ld.exe'
\r
13036 shlibpath_var=LIBPATH
\r
13039 osf3* | osf4* | osf5*)
\r
13041 need_lib_prefix=no
\r
13043 soname_spec='${libname}${release}${shared_ext}$major'
\r
13044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
13045 shlibpath_var=LD_LIBRARY_PATH
\r
13046 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
\r
13047 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
\r
13051 version_type=linux
\r
13052 need_lib_prefix=no
\r
13054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
13055 soname_spec='${libname}${release}${shared_ext}$major'
\r
13056 shlibpath_var=LD_LIBRARY_PATH
\r
13057 shlibpath_overrides_runpath=yes
\r
13058 hardcode_into_libs=yes
\r
13059 # ldd complains unless libraries are executable
\r
13060 postinstall_cmds='chmod +x $lib'
\r
13064 version_type=sunos
\r
13065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
13066 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
\r
13067 shlibpath_var=LD_LIBRARY_PATH
\r
13068 shlibpath_overrides_runpath=yes
\r
13069 if test "$with_gnu_ld" = yes; then
\r
13070 need_lib_prefix=no
\r
13075 sysv4 | sysv4.3*)
\r
13076 version_type=linux
\r
13077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
13078 soname_spec='${libname}${release}${shared_ext}$major'
\r
13079 shlibpath_var=LD_LIBRARY_PATH
\r
13080 case $host_vendor in
\r
13082 shlibpath_overrides_runpath=no
\r
13083 need_lib_prefix=no
\r
13084 export_dynamic_flag_spec='${wl}-Blargedynsym'
\r
13085 runpath_var=LD_RUN_PATH
\r
13088 need_lib_prefix=no
\r
13091 need_lib_prefix=no
\r
13093 shlibpath_overrides_runpath=no
\r
13094 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
\r
13100 if test -d /usr/nec ;then
\r
13101 version_type=linux
\r
13102 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
\r
13103 soname_spec='$libname${shared_ext}.$major'
\r
13104 shlibpath_var=LD_LIBRARY_PATH
\r
13108 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
\r
13109 version_type=freebsd-elf
\r
13110 need_lib_prefix=no
\r
13112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
13113 soname_spec='${libname}${release}${shared_ext}$major'
\r
13114 shlibpath_var=LD_LIBRARY_PATH
\r
13115 hardcode_into_libs=yes
\r
13116 if test "$with_gnu_ld" = yes; then
\r
13117 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
\r
13118 shlibpath_overrides_runpath=no
\r
13120 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
\r
13121 shlibpath_overrides_runpath=yes
\r
13124 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
\r
13128 sys_lib_dlsearch_path_spec='/usr/lib'
\r
13132 version_type=linux
\r
13133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
13134 soname_spec='${libname}${release}${shared_ext}$major'
\r
13135 shlibpath_var=LD_LIBRARY_PATH
\r
13139 dynamic_linker=no
\r
13142 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
\r
13143 $as_echo "$dynamic_linker" >&6; }
\r
13144 test "$dynamic_linker" = no && can_build_shared=no
\r
13146 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
\r
13147 if test "$GCC" = yes; then
\r
13148 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
\r
13151 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
\r
13152 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
\r
13153 hardcode_action_CXX=
\r
13154 if test -n "$hardcode_libdir_flag_spec_CXX" || \
\r
13155 test -n "$runpath_var_CXX" || \
\r
13156 test "X$hardcode_automatic_CXX" = "Xyes" ; then
\r
13158 # We can hardcode non-existant directories.
\r
13159 if test "$hardcode_direct_CXX" != no &&
\r
13160 # If the only mechanism to avoid hardcoding is shlibpath_var, we
\r
13161 # have to relink, otherwise we might link with an installed library
\r
13162 # when we should be linking with a yet-to-be-installed one
\r
13163 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
\r
13164 test "$hardcode_minus_L_CXX" != no; then
\r
13165 # Linking always hardcodes the temporary library directory.
\r
13166 hardcode_action_CXX=relink
\r
13168 # We can link without hardcoding, and we can hardcode nonexisting dirs.
\r
13169 hardcode_action_CXX=immediate
\r
13172 # We cannot hardcode anything, or else we can only hardcode existing
\r
13174 hardcode_action_CXX=unsupported
\r
13176 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
\r
13177 $as_echo "$hardcode_action_CXX" >&6; }
\r
13179 if test "$hardcode_action_CXX" = relink; then
\r
13180 # Fast installation is not supported
\r
13181 enable_fast_install=no
\r
13182 elif test "$shlibpath_overrides_runpath" = yes ||
\r
13183 test "$enable_shared" = no; then
\r
13184 # Fast installation is not necessary
\r
13185 enable_fast_install=needless
\r
13189 # The else clause should only fire when bootstrapping the
\r
13190 # libtool distribution, otherwise you forgot to ship ltmain.sh
\r
13191 # with your package, and you will get complaints that there are
\r
13192 # no rules to generate ltmain.sh.
\r
13193 if test -f "$ltmain"; then
\r
13194 # See if we are running on zsh, and set the options which allow our commands through
\r
13195 # without removal of \ escapes.
\r
13196 if test -n "${ZSH_VERSION+set}" ; then
\r
13197 setopt NO_GLOB_SUBST
\r
13199 # Now quote all the things that may contain metacharacters while being
\r
13200 # careful not to overquote the AC_SUBSTed values. We take copies of the
\r
13201 # variables and quote the copies for generation of the libtool script.
\r
13202 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
\r
13203 SED SHELL STRIP \
\r
13204 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
\r
13205 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
\r
13206 deplibs_check_method reload_flag reload_cmds need_locks \
\r
13207 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
\r
13208 lt_cv_sys_global_symbol_to_c_name_address \
\r
13209 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
\r
13210 old_postinstall_cmds old_postuninstall_cmds \
\r
13214 lt_prog_compiler_wl_CXX \
\r
13215 lt_prog_compiler_pic_CXX \
\r
13216 lt_prog_compiler_static_CXX \
\r
13217 lt_prog_compiler_no_builtin_flag_CXX \
\r
13218 export_dynamic_flag_spec_CXX \
\r
13219 thread_safe_flag_spec_CXX \
\r
13220 whole_archive_flag_spec_CXX \
\r
13221 enable_shared_with_static_runtimes_CXX \
\r
13222 old_archive_cmds_CXX \
\r
13223 old_archive_from_new_cmds_CXX \
\r
13224 predep_objects_CXX \
\r
13225 postdep_objects_CXX \
\r
13228 compiler_lib_search_path_CXX \
\r
13229 archive_cmds_CXX \
\r
13230 archive_expsym_cmds_CXX \
\r
13231 postinstall_cmds_CXX \
\r
13232 postuninstall_cmds_CXX \
\r
13233 old_archive_from_expsyms_cmds_CXX \
\r
13234 allow_undefined_flag_CXX \
\r
13235 no_undefined_flag_CXX \
\r
13236 export_symbols_cmds_CXX \
\r
13237 hardcode_libdir_flag_spec_CXX \
\r
13238 hardcode_libdir_flag_spec_ld_CXX \
\r
13239 hardcode_libdir_separator_CXX \
\r
13240 hardcode_automatic_CXX \
\r
13241 module_cmds_CXX \
\r
13242 module_expsym_cmds_CXX \
\r
13243 lt_cv_prog_compiler_c_o_CXX \
\r
13244 exclude_expsyms_CXX \
\r
13245 include_expsyms_CXX; do
\r
13248 old_archive_cmds_CXX | \
\r
13249 old_archive_from_new_cmds_CXX | \
\r
13250 archive_cmds_CXX | \
\r
13251 archive_expsym_cmds_CXX | \
\r
13252 module_cmds_CXX | \
\r
13253 module_expsym_cmds_CXX | \
\r
13254 old_archive_from_expsyms_cmds_CXX | \
\r
13255 export_symbols_cmds_CXX | \
\r
13256 extract_expsyms_cmds | reload_cmds | finish_cmds | \
\r
13257 postinstall_cmds | postuninstall_cmds | \
\r
13258 old_postinstall_cmds | old_postuninstall_cmds | \
\r
13259 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
\r
13260 # Double-quote double-evaled strings.
\r
13261 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
\r
13264 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
\r
13270 *'\$0 --fallback-echo"')
\r
13271 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
\r
13277 cat <<__EOF__ >> "$cfgfile"
\r
13278 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
\r
13280 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
\r
13282 # Shell to use when invoking shell scripts.
\r
13285 # Whether or not to build shared libraries.
\r
13286 build_libtool_libs=$enable_shared
\r
13288 # Whether or not to build static libraries.
\r
13289 build_old_libs=$enable_static
\r
13291 # Whether or not to add -lc for building shared libraries.
\r
13292 build_libtool_need_lc=$archive_cmds_need_lc_CXX
\r
13294 # Whether or not to disallow shared libs when runtime libs are static
\r
13295 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
\r
13297 # Whether or not to optimize for fast installation.
\r
13298 fast_install=$enable_fast_install
\r
13300 # The host system.
\r
13301 host_alias=$host_alias
\r
13305 # The build system.
\r
13306 build_alias=$build_alias
\r
13308 build_os=$build_os
\r
13310 # An echo program that does not interpret backslashes.
\r
13315 AR_FLAGS=$lt_AR_FLAGS
\r
13320 # LTCC compiler flags.
\r
13321 LTCFLAGS=$lt_LTCFLAGS
\r
13323 # A language-specific compiler.
\r
13324 CC=$lt_compiler_CXX
\r
13326 # Is the compiler the GNU C compiler?
\r
13327 with_gcc=$GCC_CXX
\r
13329 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
\r
13330 gcc_ver=\`gcc -dumpversion\`
\r
13332 # An ERE matcher.
\r
13335 # The linker used to build libraries.
\r
13338 # Whether we need hard or soft links.
\r
13341 # A BSD-compatible nm program.
\r
13344 # A symbol stripping program
\r
13347 # Used to examine libraries when file_magic_cmd begins "file"
\r
13348 MAGIC_CMD=$MAGIC_CMD
\r
13350 # Used on cygwin: DLL creation program.
\r
13351 DLLTOOL="$DLLTOOL"
\r
13353 # Used on cygwin: object dumper.
\r
13354 OBJDUMP="$OBJDUMP"
\r
13356 # Used on cygwin: assembler.
\r
13359 # The name of the directory that contains temporary libtool files.
\r
13362 # How to create reloadable object files.
\r
13363 reload_flag=$lt_reload_flag
\r
13364 reload_cmds=$lt_reload_cmds
\r
13366 # How to pass a linker flag through the compiler.
\r
13367 wl=$lt_lt_prog_compiler_wl_CXX
\r
13369 # Object file suffix (normally "o").
\r
13370 objext="$ac_objext"
\r
13372 # Old archive suffix (normally "a").
\r
13375 # Shared library suffix (normally ".so").
\r
13376 shrext_cmds='$shrext_cmds'
\r
13378 # Executable file suffix (normally "").
\r
13381 # Additional compiler flags for building library objects.
\r
13382 pic_flag=$lt_lt_prog_compiler_pic_CXX
\r
13383 pic_mode=$pic_mode
\r
13385 # What is the maximum length of a command?
\r
13386 max_cmd_len=$lt_cv_sys_max_cmd_len
\r
13388 # Does compiler simultaneously support -c and -o options?
\r
13389 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
\r
13391 # Must we lock files when doing compilation?
\r
13392 need_locks=$lt_need_locks
\r
13394 # Do we need the lib prefix for modules?
\r
13395 need_lib_prefix=$need_lib_prefix
\r
13397 # Do we need a version for libraries?
\r
13398 need_version=$need_version
\r
13400 # Whether dlopen is supported.
\r
13401 dlopen_support=$enable_dlopen
\r
13403 # Whether dlopen of programs is supported.
\r
13404 dlopen_self=$enable_dlopen_self
\r
13406 # Whether dlopen of statically linked programs is supported.
\r
13407 dlopen_self_static=$enable_dlopen_self_static
\r
13409 # Compiler flag to prevent dynamic linking.
\r
13410 link_static_flag=$lt_lt_prog_compiler_static_CXX
\r
13412 # Compiler flag to turn off builtin functions.
\r
13413 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
\r
13415 # Compiler flag to allow reflexive dlopens.
\r
13416 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
\r
13418 # Compiler flag to generate shared objects directly from archives.
\r
13419 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
\r
13421 # Compiler flag to generate thread-safe objects.
\r
13422 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
\r
13424 # Library versioning type.
\r
13425 version_type=$version_type
\r
13427 # Format of library name prefix.
\r
13428 libname_spec=$lt_libname_spec
\r
13430 # List of archive names. First name is the real one, the rest are links.
\r
13431 # The last name is the one that the linker finds with -lNAME.
\r
13432 library_names_spec=$lt_library_names_spec
\r
13434 # The coded name of the library, if different from the real name.
\r
13435 soname_spec=$lt_soname_spec
\r
13437 # Commands used to build and install an old-style archive.
\r
13438 RANLIB=$lt_RANLIB
\r
13439 old_archive_cmds=$lt_old_archive_cmds_CXX
\r
13440 old_postinstall_cmds=$lt_old_postinstall_cmds
\r
13441 old_postuninstall_cmds=$lt_old_postuninstall_cmds
\r
13443 # Create an old-style archive from a shared archive.
\r
13444 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
\r
13446 # Create a temporary old-style archive to link instead of a shared archive.
\r
13447 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
\r
13449 # Commands used to build and install a shared archive.
\r
13450 archive_cmds=$lt_archive_cmds_CXX
\r
13451 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
\r
13452 postinstall_cmds=$lt_postinstall_cmds
\r
13453 postuninstall_cmds=$lt_postuninstall_cmds
\r
13455 # Commands used to build a loadable module (assumed same as above if empty)
\r
13456 module_cmds=$lt_module_cmds_CXX
\r
13457 module_expsym_cmds=$lt_module_expsym_cmds_CXX
\r
13459 # Commands to strip libraries.
\r
13460 old_striplib=$lt_old_striplib
\r
13461 striplib=$lt_striplib
\r
13463 # Dependencies to place before the objects being linked to create a
\r
13464 # shared library.
\r
13465 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
13467 # Dependencies to place after the objects being linked to create a
\r
13468 # shared library.
\r
13469 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
13471 # Dependencies to place before the objects being linked to create a
\r
13472 # shared library.
\r
13473 predeps=$lt_predeps_CXX
\r
13475 # Dependencies to place after the objects being linked to create a
\r
13476 # shared library.
\r
13477 postdeps=$lt_postdeps_CXX
\r
13479 # The library search path used internally by the compiler when linking
\r
13480 # a shared library.
\r
13481 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
13483 # Method to check whether dependent libraries are shared objects.
\r
13484 deplibs_check_method=$lt_deplibs_check_method
\r
13486 # Command to use when deplibs_check_method == file_magic.
\r
13487 file_magic_cmd=$lt_file_magic_cmd
\r
13489 # Flag that allows shared libraries with undefined symbols to be built.
\r
13490 allow_undefined_flag=$lt_allow_undefined_flag_CXX
\r
13492 # Flag that forces no undefined symbols.
\r
13493 no_undefined_flag=$lt_no_undefined_flag_CXX
\r
13495 # Commands used to finish a libtool library installation in a directory.
\r
13496 finish_cmds=$lt_finish_cmds
\r
13498 # Same as above, but a single script fragment to be evaled but not shown.
\r
13499 finish_eval=$lt_finish_eval
\r
13501 # Take the output of nm and produce a listing of raw symbols and C names.
\r
13502 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
\r
13504 # Transform the output of nm in a proper C declaration
\r
13505 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
\r
13507 # Transform the output of nm in a C name address pair
\r
13508 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
\r
13510 # This is the shared library runtime path variable.
\r
13511 runpath_var=$runpath_var
\r
13513 # This is the shared library path variable.
\r
13514 shlibpath_var=$shlibpath_var
\r
13516 # Is shlibpath searched before the hard-coded library search path?
\r
13517 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
\r
13519 # How to hardcode a shared library path into an executable.
\r
13520 hardcode_action=$hardcode_action_CXX
\r
13522 # Whether we should hardcode library paths into libraries.
\r
13523 hardcode_into_libs=$hardcode_into_libs
\r
13525 # Flag to hardcode \$libdir into a binary during linking.
\r
13526 # This must work even if \$libdir does not exist.
\r
13527 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
\r
13529 # If ld is used when linking, flag to hardcode \$libdir into
\r
13530 # a binary during linking. This must work even if \$libdir does
\r
13532 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
\r
13534 # Whether we need a single -rpath flag with a separated argument.
\r
13535 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
\r
13537 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
\r
13538 # resulting binary.
\r
13539 hardcode_direct=$hardcode_direct_CXX
\r
13541 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
\r
13542 # resulting binary.
\r
13543 hardcode_minus_L=$hardcode_minus_L_CXX
\r
13545 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
\r
13546 # the resulting binary.
\r
13547 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
\r
13549 # Set to yes if building a shared library automatically hardcodes DIR into the library
\r
13550 # and all subsequent libraries and executables linked against it.
\r
13551 hardcode_automatic=$hardcode_automatic_CXX
\r
13553 # Variables whose values should be saved in libtool wrapper scripts and
\r
13554 # restored at relink time.
\r
13555 variables_saved_for_relink="$variables_saved_for_relink"
\r
13557 # Whether libtool must link a program against all its dependency libraries.
\r
13558 link_all_deplibs=$link_all_deplibs_CXX
\r
13560 # Compile-time system search path for libraries
\r
13561 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
13563 # Run-time system search path for libraries
\r
13564 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
\r
13566 # Fix the shell variable \$srcfile for the compiler.
\r
13567 fix_srcfile_path="$fix_srcfile_path_CXX"
\r
13569 # Set to yes if exported symbols are required.
\r
13570 always_export_symbols=$always_export_symbols_CXX
\r
13572 # The commands to list exported symbols.
\r
13573 export_symbols_cmds=$lt_export_symbols_cmds_CXX
\r
13575 # The commands to extract the exported symbol list from a shared archive.
\r
13576 extract_expsyms_cmds=$lt_extract_expsyms_cmds
\r
13578 # Symbols that should not be listed in the preloaded symbols.
\r
13579 exclude_expsyms=$lt_exclude_expsyms_CXX
\r
13581 # Symbols that must always be exported.
\r
13582 include_expsyms=$lt_include_expsyms_CXX
\r
13584 # ### END LIBTOOL TAG CONFIG: $tagname
\r
13590 # If there is no Makefile yet, we rely on a make rule to execute
\r
13591 # `config.status --recheck' to rerun these tests and create the
\r
13592 # libtool script then.
\r
13593 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
\r
13594 if test -f "$ltmain_in"; then
\r
13595 test -f Makefile && make "$ltmain"
\r
13601 ac_cpp='$CPP $CPPFLAGS'
\r
13602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
13603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
13604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
13610 with_gnu_ldcxx=$with_gnu_ld
\r
13611 with_gnu_ld=$lt_save_with_gnu_ld
\r
13612 lt_cv_path_LDCXX=$lt_cv_path_LD
\r
13613 lt_cv_path_LD=$lt_save_path_LD
\r
13614 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
\r
13615 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
\r
13623 if test -n "$F77" && test "X$F77" != "Xno"; then
\r
13626 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
\r
13627 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
13628 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
\r
13631 archive_cmds_need_lc_F77=no
\r
13632 allow_undefined_flag_F77=
\r
13633 always_export_symbols_F77=no
\r
13634 archive_expsym_cmds_F77=
\r
13635 export_dynamic_flag_spec_F77=
\r
13636 hardcode_direct_F77=no
\r
13637 hardcode_libdir_flag_spec_F77=
\r
13638 hardcode_libdir_flag_spec_ld_F77=
\r
13639 hardcode_libdir_separator_F77=
\r
13640 hardcode_minus_L_F77=no
\r
13641 hardcode_automatic_F77=no
\r
13643 module_expsym_cmds_F77=
\r
13644 link_all_deplibs_F77=unknown
\r
13645 old_archive_cmds_F77=$old_archive_cmds
\r
13646 no_undefined_flag_F77=
\r
13647 whole_archive_flag_spec_F77=
\r
13648 enable_shared_with_static_runtimes_F77=no
\r
13650 # Source file extension for f77 test sources.
\r
13653 # Object file extension for compiled f77 test sources.
\r
13655 objext_F77=$objext
\r
13657 # Code to be used in simple compile tests
\r
13658 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
\r
13660 # Code to be used in simple link tests
\r
13661 lt_simple_link_test_code=" program t\n end\n"
\r
13663 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
\r
13665 # If no C compiler was specified, use CC.
\r
13666 LTCC=${LTCC-"$CC"}
\r
13668 # If no C compiler flags were specified, use CFLAGS.
\r
13669 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
\r
13671 # Allow CC to be a program name with arguments.
\r
13675 # save warnings/boilerplate of simple test code
\r
13676 ac_outfile=conftest.$ac_objext
\r
13677 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
\r
13678 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
\r
13679 _lt_compiler_boilerplate=`cat conftest.err`
\r
13682 ac_outfile=conftest.$ac_objext
\r
13683 printf "$lt_simple_link_test_code" >conftest.$ac_ext
\r
13684 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
\r
13685 _lt_linker_boilerplate=`cat conftest.err`
\r
13689 # Allow CC to be a program name with arguments.
\r
13694 for cc_temp in $compiler""; do
\r
13696 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
\r
13697 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\r
13702 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
\r
13705 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
\r
13706 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
\r
13707 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
\r
13708 $as_echo "$can_build_shared" >&6; }
\r
13710 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
\r
13711 $as_echo_n "checking whether to build shared libraries... " >&6; }
\r
13712 test "$can_build_shared" = "no" && enable_shared=no
\r
13714 # On AIX, shared libraries and static libraries use the same namespace, and
\r
13715 # are all built from PIC.
\r
13718 test "$enable_shared" = yes && enable_static=no
\r
13719 if test -n "$RANLIB"; then
\r
13720 archive_cmds="$archive_cmds~\$RANLIB \$lib"
\r
13721 postinstall_cmds='$RANLIB $lib'
\r
13725 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
\r
13726 test "$enable_shared" = yes && enable_static=no
\r
13730 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
\r
13731 $as_echo "$enable_shared" >&6; }
\r
13733 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
\r
13734 $as_echo_n "checking whether to build static libraries... " >&6; }
\r
13735 # Make sure either enable_shared or enable_static is yes.
\r
13736 test "$enable_shared" = yes || enable_static=yes
\r
13737 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
\r
13738 $as_echo "$enable_static" >&6; }
\r
13743 lt_prog_compiler_wl_F77=
\r
13744 lt_prog_compiler_pic_F77=
\r
13745 lt_prog_compiler_static_F77=
\r
13747 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
\r
13748 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
\r
13750 if test "$GCC" = yes; then
\r
13751 lt_prog_compiler_wl_F77='-Wl,'
\r
13752 lt_prog_compiler_static_F77='-static'
\r
13756 # All AIX code is PIC.
\r
13757 if test "$host_cpu" = ia64; then
\r
13758 # AIX 5 now supports IA64 processor
\r
13759 lt_prog_compiler_static_F77='-Bstatic'
\r
13764 # FIXME: we need at least 68020 code to build shared libraries, but
\r
13765 # adding the `-m68020' flag to GCC prevents building anything better,
\r
13766 # like `-m68040'.
\r
13767 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
\r
13770 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
\r
13771 # PIC is the default for these OSes.
\r
13774 mingw* | pw32* | os2*)
\r
13775 # This hack is so that the source file can tell whether it is being
\r
13776 # built for inclusion in a dll (and should export symbols for example).
\r
13777 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
\r
13780 darwin* | rhapsody*)
\r
13781 # PIC is the default on this platform
\r
13782 # Common symbols not allowed in MH_DYLIB files
\r
13783 lt_prog_compiler_pic_F77='-fno-common'
\r
13787 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
\r
13788 # Instead, we relocate shared libraries at runtime.
\r
13792 # Just because we use GCC doesn't mean we suddenly get shared libraries
\r
13793 # on systems that don't support them.
\r
13794 lt_prog_compiler_can_build_shared_F77=no
\r
13799 if test -d /usr/nec; then
\r
13800 lt_prog_compiler_pic_F77=-Kconform_pic
\r
13805 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
\r
13806 # not for PA HP-UX.
\r
13807 case $host_cpu in
\r
13812 lt_prog_compiler_pic_F77='-fPIC'
\r
13818 lt_prog_compiler_pic_F77='-fPIC'
\r
13822 # PORTME Check for flag to pass linker flags through the system compiler.
\r
13825 lt_prog_compiler_wl_F77='-Wl,'
\r
13826 if test "$host_cpu" = ia64; then
\r
13827 # AIX 5 now supports IA64 processor
\r
13828 lt_prog_compiler_static_F77='-Bstatic'
\r
13830 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
\r
13834 # PIC is the default on this platform
\r
13835 # Common symbols not allowed in MH_DYLIB files
\r
13836 case $cc_basename in
\r
13838 lt_prog_compiler_pic_F77='-qnocommon'
\r
13839 lt_prog_compiler_wl_F77='-Wl,'
\r
13844 mingw* | pw32* | os2*)
\r
13845 # This hack is so that the source file can tell whether it is being
\r
13846 # built for inclusion in a dll (and should export symbols for example).
\r
13847 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
\r
13850 hpux9* | hpux10* | hpux11*)
\r
13851 lt_prog_compiler_wl_F77='-Wl,'
\r
13852 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
\r
13853 # not for PA HP-UX.
\r
13854 case $host_cpu in
\r
13859 lt_prog_compiler_pic_F77='+Z'
\r
13862 # Is there a better lt_prog_compiler_static that works with the bundled CC?
\r
13863 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
\r
13866 irix5* | irix6* | nonstopux*)
\r
13867 lt_prog_compiler_wl_F77='-Wl,'
\r
13868 # PIC (with -KPIC) is the default.
\r
13869 lt_prog_compiler_static_F77='-non_shared'
\r
13873 lt_prog_compiler_pic_F77='-KPIC'
\r
13874 lt_prog_compiler_static_F77='-Bstatic'
\r
13878 case $cc_basename in
\r
13880 lt_prog_compiler_wl_F77='-Wl,'
\r
13881 lt_prog_compiler_pic_F77='-KPIC'
\r
13882 lt_prog_compiler_static_F77='-static'
\r
13884 pgcc* | pgf77* | pgf90* | pgf95*)
\r
13885 # Portland Group compilers (*not* the Pentium gcc compiler,
\r
13886 # which looks to be a dead project)
\r
13887 lt_prog_compiler_wl_F77='-Wl,'
\r
13888 lt_prog_compiler_pic_F77='-fpic'
\r
13889 lt_prog_compiler_static_F77='-Bstatic'
\r
13892 lt_prog_compiler_wl_F77='-Wl,'
\r
13893 # All Alpha code is PIC.
\r
13894 lt_prog_compiler_static_F77='-non_shared'
\r
13899 osf3* | osf4* | osf5*)
\r
13900 lt_prog_compiler_wl_F77='-Wl,'
\r
13901 # All OSF/1 code is PIC.
\r
13902 lt_prog_compiler_static_F77='-non_shared'
\r
13906 lt_prog_compiler_pic_F77='-KPIC'
\r
13907 lt_prog_compiler_static_F77='-Bstatic'
\r
13908 case $cc_basename in
\r
13909 f77* | f90* | f95*)
\r
13910 lt_prog_compiler_wl_F77='-Qoption ld ';;
\r
13912 lt_prog_compiler_wl_F77='-Wl,';;
\r
13917 lt_prog_compiler_wl_F77='-Qoption ld '
\r
13918 lt_prog_compiler_pic_F77='-PIC'
\r
13919 lt_prog_compiler_static_F77='-Bstatic'
\r
13922 sysv4 | sysv4.2uw2* | sysv4.3*)
\r
13923 lt_prog_compiler_wl_F77='-Wl,'
\r
13924 lt_prog_compiler_pic_F77='-KPIC'
\r
13925 lt_prog_compiler_static_F77='-Bstatic'
\r
13929 if test -d /usr/nec ;then
\r
13930 lt_prog_compiler_pic_F77='-Kconform_pic'
\r
13931 lt_prog_compiler_static_F77='-Bstatic'
\r
13935 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
\r
13936 lt_prog_compiler_wl_F77='-Wl,'
\r
13937 lt_prog_compiler_pic_F77='-KPIC'
\r
13938 lt_prog_compiler_static_F77='-Bstatic'
\r
13942 lt_prog_compiler_wl_F77='-Wl,'
\r
13943 lt_prog_compiler_can_build_shared_F77=no
\r
13947 lt_prog_compiler_pic_F77='-pic'
\r
13948 lt_prog_compiler_static_F77='-Bstatic'
\r
13952 lt_prog_compiler_can_build_shared_F77=no
\r
13957 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
\r
13958 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
\r
13961 # Check to make sure the PIC flag actually works.
\r
13963 if test -n "$lt_prog_compiler_pic_F77"; then
\r
13965 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
\r
13966 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
\r
13967 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
\r
13968 $as_echo_n "(cached) " >&6
\r
13970 lt_prog_compiler_pic_works_F77=no
\r
13971 ac_outfile=conftest.$ac_objext
\r
13972 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
13973 lt_compiler_flag="$lt_prog_compiler_pic_F77"
\r
13974 # Insert the option either (1) after the last *FLAGS variable, or
\r
13975 # (2) before a word containing "conftest.", or (3) at the end.
\r
13976 # Note that $ac_compile itself does not contain backslashes and begins
\r
13977 # with a dollar sign (not a hyphen), so the echo should work correctly.
\r
13978 # The option is referenced via a variable to avoid confusing sed.
\r
13979 lt_compile=`echo "$ac_compile" | $SED \
\r
13980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
\r
13981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
\r
13982 -e 's:$: $lt_compiler_flag:'`
\r
13983 (eval echo "\"\$as_me:13983: $lt_compile\"" >&5)
\r
13984 (eval "$lt_compile" 2>conftest.err)
\r
13986 cat conftest.err >&5
\r
13987 echo "$as_me:13987: \$? = $ac_status" >&5
\r
13988 if (exit $ac_status) && test -s "$ac_outfile"; then
\r
13989 # The compiler can only warn and ignore the option if not recognized
\r
13990 # So say no if there are warnings other than the usual output.
\r
13991 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
\r
13992 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
\r
13993 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
\r
13994 lt_prog_compiler_pic_works_F77=yes
\r
14000 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
\r
14001 $as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
\r
14003 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
\r
14004 case $lt_prog_compiler_pic_F77 in
\r
14006 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
\r
14009 lt_prog_compiler_pic_F77=
\r
14010 lt_prog_compiler_can_build_shared_F77=no
\r
14015 # For platforms which do not support PIC, -DPIC is meaningless:
\r
14017 lt_prog_compiler_pic_F77=
\r
14020 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
\r
14025 # Check to make sure the static flag actually works.
\r
14027 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
\r
14028 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
\r
14029 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
\r
14030 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
\r
14031 $as_echo_n "(cached) " >&6
\r
14033 lt_prog_compiler_static_works_F77=no
\r
14034 save_LDFLAGS="$LDFLAGS"
\r
14035 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
\r
14036 printf "$lt_simple_link_test_code" > conftest.$ac_ext
\r
14037 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
\r
14038 # The linker can only warn and ignore the option if not recognized
\r
14039 # So say no if there are warnings
\r
14040 if test -s conftest.err; then
\r
14041 # Append any errors to the config.log.
\r
14042 cat conftest.err 1>&5
\r
14043 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
\r
14044 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
\r
14045 if diff conftest.exp conftest.er2 >/dev/null; then
\r
14046 lt_prog_compiler_static_works_F77=yes
\r
14049 lt_prog_compiler_static_works_F77=yes
\r
14053 LDFLAGS="$save_LDFLAGS"
\r
14056 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
\r
14057 $as_echo "$lt_prog_compiler_static_works_F77" >&6; }
\r
14059 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
\r
14062 lt_prog_compiler_static_F77=
\r
14066 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
\r
14067 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
\r
14068 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
\r
14069 $as_echo_n "(cached) " >&6
\r
14071 lt_cv_prog_compiler_c_o_F77=no
\r
14072 $rm -r conftest 2>/dev/null
\r
14076 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
14078 lt_compiler_flag="-o out/conftest2.$ac_objext"
\r
14079 # Insert the option either (1) after the last *FLAGS variable, or
\r
14080 # (2) before a word containing "conftest.", or (3) at the end.
\r
14081 # Note that $ac_compile itself does not contain backslashes and begins
\r
14082 # with a dollar sign (not a hyphen), so the echo should work correctly.
\r
14083 lt_compile=`echo "$ac_compile" | $SED \
\r
14084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
\r
14085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
\r
14086 -e 's:$: $lt_compiler_flag:'`
\r
14087 (eval echo "\"\$as_me:14087: $lt_compile\"" >&5)
\r
14088 (eval "$lt_compile" 2>out/conftest.err)
\r
14090 cat out/conftest.err >&5
\r
14091 echo "$as_me:14091: \$? = $ac_status" >&5
\r
14092 if (exit $ac_status) && test -s out/conftest2.$ac_objext
\r
14094 # The compiler can only warn and ignore the option if not recognized
\r
14095 # So say no if there are warnings
\r
14096 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
\r
14097 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
\r
14098 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
\r
14099 lt_cv_prog_compiler_c_o_F77=yes
\r
14104 # SGI C++ compiler will create directory out/ii_files/ for
\r
14105 # template instantiation
\r
14106 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
\r
14107 $rm out/* && rmdir out
\r
14113 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
\r
14114 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
\r
14117 hard_links="nottested"
\r
14118 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
\r
14119 # do not overwrite the value of need_locks provided by the user
\r
14120 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
\r
14121 $as_echo_n "checking if we can lock with hard links... " >&6; }
\r
14124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
\r
14126 ln conftest.a conftest.b 2>&5 || hard_links=no
\r
14127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
\r
14128 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
\r
14129 $as_echo "$hard_links" >&6; }
\r
14130 if test "$hard_links" = no; then
\r
14131 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
\r
14132 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
\r
14139 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
\r
14140 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
\r
14143 allow_undefined_flag_F77=
\r
14144 enable_shared_with_static_runtimes_F77=no
\r
14145 archive_cmds_F77=
\r
14146 archive_expsym_cmds_F77=
\r
14147 old_archive_From_new_cmds_F77=
\r
14148 old_archive_from_expsyms_cmds_F77=
\r
14149 export_dynamic_flag_spec_F77=
\r
14150 whole_archive_flag_spec_F77=
\r
14151 thread_safe_flag_spec_F77=
\r
14152 hardcode_libdir_flag_spec_F77=
\r
14153 hardcode_libdir_flag_spec_ld_F77=
\r
14154 hardcode_libdir_separator_F77=
\r
14155 hardcode_direct_F77=no
\r
14156 hardcode_minus_L_F77=no
\r
14157 hardcode_shlibpath_var_F77=unsupported
\r
14158 link_all_deplibs_F77=unknown
\r
14159 hardcode_automatic_F77=no
\r
14161 module_expsym_cmds_F77=
\r
14162 always_export_symbols_F77=no
\r
14163 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
\r
14164 # include_expsyms should be a list of space-separated symbols to be *always*
\r
14165 # included in the symbol list
\r
14166 include_expsyms_F77=
\r
14167 # exclude_expsyms can be an extended regexp of symbols to exclude
\r
14168 # it will be wrapped by ` (' and `)$', so one must not match beginning or
\r
14169 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
\r
14170 # as well as any symbol that contains `d'.
\r
14171 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
\r
14172 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
\r
14173 # platforms (ab)use it in PIC code, but their linkers get confused if
\r
14174 # the symbol is explicitly referenced. Since portable code cannot
\r
14175 # rely on this symbol name, it's probably fine to never include it in
\r
14176 # preloaded symbol tables.
\r
14177 extract_expsyms_cmds=
\r
14178 # Just being paranoid about ensuring that cc_basename is set.
\r
14179 for cc_temp in $compiler""; do
\r
14181 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
\r
14182 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\r
14187 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
\r
14190 cygwin* | mingw* | pw32*)
\r
14191 # FIXME: the MSVC++ port hasn't been tested in a loooong time
\r
14192 # When not using gcc, we currently assume that we are using
\r
14193 # Microsoft Visual C++.
\r
14194 if test "$GCC" != yes; then
\r
14199 # we just hope/assume this is gcc and not c89 (= MSVC++)
\r
14207 ld_shlibs_F77=yes
\r
14208 if test "$with_gnu_ld" = yes; then
\r
14209 # If archive_cmds runs LD, not CC, wlarc should be empty
\r
14212 # Set some defaults for GNU ld with shared library support. These
\r
14213 # are reset later if shared libraries are not supported. Putting them
\r
14214 # here allows them to be overridden if necessary.
\r
14215 runpath_var=LD_RUN_PATH
\r
14216 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
\r
14217 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
\r
14218 # ancient GNU ld didn't support --whole-archive et. al.
\r
14219 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
\r
14220 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
\r
14222 whole_archive_flag_spec_F77=
\r
14224 supports_anon_versioning=no
\r
14225 case `$LD -v 2>/dev/null` in
\r
14226 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
\r
14227 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
\r
14228 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
\r
14229 *\ 2.11.*) ;; # other 2.11 versions
\r
14230 *) supports_anon_versioning=yes ;;
\r
14233 # See if GNU ld supports shared libraries.
\r
14235 aix3* | aix4* | aix5*)
\r
14236 # On AIX/PPC, the GNU linker is very broken
\r
14237 if test "$host_cpu" != ia64; then
\r
14241 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
\r
14242 *** to be unable to reliably create shared libraries on AIX.
\r
14243 *** Therefore, libtool is disabling shared libraries support. If you
\r
14244 *** really care for shared libraries, you may want to modify your PATH
\r
14245 *** so that a non-GNU linker is found, and then restart.
\r
14252 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)'
\r
14253 hardcode_libdir_flag_spec_F77='-L$libdir'
\r
14254 hardcode_minus_L_F77=yes
\r
14256 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
\r
14257 # that the semantics of dynamic libraries on AmigaOS, at least up
\r
14258 # to version 4, is to share data among multiple programs linked
\r
14259 # with the same dynamic library. Since this doesn't match the
\r
14260 # behavior of shared libraries on other platforms, we can't use
\r
14266 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
14267 allow_undefined_flag_F77=unsupported
\r
14268 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
\r
14269 # support --undefined. This deserves some investigation. FIXME
\r
14270 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
14276 cygwin* | mingw* | pw32*)
\r
14277 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
\r
14278 # as there is no search path for DLLs.
\r
14279 hardcode_libdir_flag_spec_F77='-L$libdir'
\r
14280 allow_undefined_flag_F77=unsupported
\r
14281 always_export_symbols_F77=no
\r
14282 enable_shared_with_static_runtimes_F77=yes
\r
14283 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
\r
14285 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
\r
14286 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
\r
14287 # If the export-symbols file already is a .def file (1st line
\r
14288 # is EXPORTS), use it as is; otherwise, prepend...
\r
14289 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
\r
14290 cp $export_symbols $output_objdir/$soname.def;
\r
14292 echo EXPORTS > $output_objdir/$soname.def;
\r
14293 cat $export_symbols >> $output_objdir/$soname.def;
\r
14295 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
\r
14302 hardcode_direct_F77=no
\r
14303 hardcode_shlibpath_var_F77=no
\r
14304 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
\r
14305 export_dynamic_flag_spec_F77='${wl}-E'
\r
14306 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
\r
14307 # Instead, shared libraries are loaded at an image base (0x10000000 by
\r
14308 # default) and relocated if they conflict, which is a slow very memory
\r
14309 # consuming and fragmenting process. To avoid this, we pick a random,
\r
14310 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
\r
14311 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
\r
14312 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
\r
14313 archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
\r
14317 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
14319 case $cc_basename,$host_cpu in
\r
14320 pgcc*) # Portland Group C compiler
\r
14321 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
\r
14322 tmp_addflag=' $pic_flag'
\r
14324 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
\r
14325 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
\r
14326 tmp_addflag=' $pic_flag -Mnomain' ;;
\r
14327 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
\r
14328 tmp_addflag=' -i_dynamic' ;;
\r
14329 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
\r
14330 tmp_addflag=' -i_dynamic -nofor_main' ;;
\r
14331 ifc* | ifort*) # Intel Fortran compiler
\r
14332 tmp_addflag=' -nofor_main' ;;
\r
14334 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
14336 if test $supports_anon_versioning = yes; then
\r
14337 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
\r
14338 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
\r
14339 $echo "local: *; };" >> $output_objdir/$libname.ver~
\r
14340 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
\r
14348 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
\r
14349 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
\r
14352 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
14353 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
\r
14358 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
\r
14362 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
\r
14363 *** create shared libraries on Solaris systems. Therefore, libtool
\r
14364 *** is disabling shared libraries support. We urge you to upgrade GNU
\r
14365 *** binutils to release 2.9.1 or newer. Another option is to modify
\r
14366 *** your PATH or compiler configuration so that the native linker is
\r
14367 *** used, and then restart.
\r
14370 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
14371 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
14372 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
\r
14378 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
\r
14379 case `$LD -v 2>&1` in
\r
14380 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
\r
14382 cat <<_LT_EOF 1>&2
\r
14384 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
\r
14385 *** reliably create shared libraries on SCO systems. Therefore, libtool
\r
14386 *** is disabling shared libraries support. We urge you to upgrade GNU
\r
14387 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
\r
14388 *** your PATH or compiler configuration so that the native linker is
\r
14389 *** used, and then restart.
\r
14394 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
14395 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
\r
14396 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
\r
14397 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
\r
14406 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
\r
14408 hardcode_direct_F77=yes
\r
14409 hardcode_shlibpath_var_F77=no
\r
14413 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
14414 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
14415 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
\r
14422 if test "$ld_shlibs_F77" = no; then
\r
14424 hardcode_libdir_flag_spec_F77=
\r
14425 export_dynamic_flag_spec_F77=
\r
14426 whole_archive_flag_spec_F77=
\r
14429 # PORTME fill in a description of your system's linker (not GNU ld)
\r
14432 allow_undefined_flag_F77=unsupported
\r
14433 always_export_symbols_F77=yes
\r
14434 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'
\r
14435 # Note: this linker hardcodes the directories in LIBPATH if there
\r
14436 # are no directories specified by -L.
\r
14437 hardcode_minus_L_F77=yes
\r
14438 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
\r
14439 # Neither direct hardcoding nor static linking is supported with a
\r
14440 # broken collect2.
\r
14441 hardcode_direct_F77=unsupported
\r
14446 if test "$host_cpu" = ia64; then
\r
14447 # On IA64, the linker does run time linking by default, so we don't
\r
14448 # have to do anything special.
\r
14449 aix_use_runtimelinking=no
\r
14450 exp_sym_flag='-Bexport'
\r
14453 # If we're using GNU nm, then we don't want the "-C" option.
\r
14454 # -C means demangle to AIX nm, but means don't demangle with GNU nm
\r
14455 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
\r
14456 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'
\r
14458 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'
\r
14460 aix_use_runtimelinking=no
\r
14462 # Test if we are trying to use run time linking or normal
\r
14463 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
\r
14464 # need to do runtime linking.
\r
14465 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
\r
14466 for ld_flag in $LDFLAGS; do
\r
14467 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
\r
14468 aix_use_runtimelinking=yes
\r
14475 exp_sym_flag='-bexport'
\r
14476 no_entry_flag='-bnoentry'
\r
14479 # When large executables or shared objects are built, AIX ld can
\r
14480 # have problems creating the table of contents. If linking a library
\r
14481 # or program results in "error TOC overflow" add -mminimal-toc to
\r
14482 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
\r
14483 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
\r
14485 archive_cmds_F77=''
\r
14486 hardcode_direct_F77=yes
\r
14487 hardcode_libdir_separator_F77=':'
\r
14488 link_all_deplibs_F77=yes
\r
14490 if test "$GCC" = yes; then
\r
14491 case $host_os in aix4.[012]|aix4.[012].*)
\r
14492 # We only want to do this on AIX 4.2 and lower, the check
\r
14493 # below for broken collect2 doesn't work under 4.3+
\r
14494 collect2name=`${CC} -print-prog-name=collect2`
\r
14495 if test -f "$collect2name" && \
\r
14496 strings "$collect2name" | grep resolve_lib_name >/dev/null
\r
14498 # We have reworked collect2
\r
14499 hardcode_direct_F77=yes
\r
14501 # We have old collect2
\r
14502 hardcode_direct_F77=unsupported
\r
14503 # It fails to find uninstalled libraries when the uninstalled
\r
14504 # path is not listed in the libpath. Setting hardcode_minus_L
\r
14505 # to unsupported forces relinking
\r
14506 hardcode_minus_L_F77=yes
\r
14507 hardcode_libdir_flag_spec_F77='-L$libdir'
\r
14508 hardcode_libdir_separator_F77=
\r
14512 shared_flag='-shared'
\r
14513 if test "$aix_use_runtimelinking" = yes; then
\r
14514 shared_flag="$shared_flag "'${wl}-G'
\r
14518 if test "$host_cpu" = ia64; then
\r
14519 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
\r
14520 # chokes on -Wl,-G. The following line is correct:
\r
14523 if test "$aix_use_runtimelinking" = yes; then
\r
14524 shared_flag='${wl}-G'
\r
14526 shared_flag='${wl}-bM:SRE'
\r
14531 # It seems that -bexpall does not export symbols beginning with
\r
14532 # underscore (_), so it is better to generate a list of symbols to export.
\r
14533 always_export_symbols_F77=yes
\r
14534 if test "$aix_use_runtimelinking" = yes; then
\r
14535 # Warning - without using the other runtime loading flags (-brtl),
\r
14536 # -berok will link without error, but may produce a broken library.
\r
14537 allow_undefined_flag_F77='-berok'
\r
14538 # Determine the default libpath from the value encoded in an empty executable.
\r
14539 cat >conftest.$ac_ext <<_ACEOF
\r
14544 rm -f conftest.$ac_objext conftest$ac_exeext
\r
14545 if { (ac_try="$ac_link"
\r
14546 case "(($ac_try" in
\r
14547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
14548 *) ac_try_echo=$ac_try;;
\r
14550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
14551 $as_echo "$ac_try_echo") >&5
\r
14552 (eval "$ac_link") 2>conftest.er1
\r
14554 grep -v '^ *+' conftest.er1 >conftest.err
\r
14555 rm -f conftest.er1
\r
14556 cat conftest.err >&5
\r
14557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
14558 (exit $ac_status); } && {
\r
14559 test -z "$ac_f77_werror_flag" ||
\r
14560 test ! -s conftest.err
\r
14561 } && test -s conftest$ac_exeext && {
\r
14562 test "$cross_compiling" = yes ||
\r
14563 $as_test_x conftest$ac_exeext
\r
14566 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
\r
14568 # Check for a 64-bit object if we didn't find anything.
\r
14569 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; }
\r
14572 $as_echo "$as_me: failed program was:" >&5
\r
14573 sed 's/^/| /' conftest.$ac_ext >&5
\r
14578 rm -rf conftest.dSYM
\r
14579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
14580 conftest$ac_exeext conftest.$ac_ext
\r
14581 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
\r
14583 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
\r
14584 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
\r
14586 if test "$host_cpu" = ia64; then
\r
14587 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
\r
14588 allow_undefined_flag_F77="-z nodefs"
\r
14589 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
\r
14591 # Determine the default libpath from the value encoded in an empty executable.
\r
14592 cat >conftest.$ac_ext <<_ACEOF
\r
14597 rm -f conftest.$ac_objext conftest$ac_exeext
\r
14598 if { (ac_try="$ac_link"
\r
14599 case "(($ac_try" in
\r
14600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
14601 *) ac_try_echo=$ac_try;;
\r
14603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
14604 $as_echo "$ac_try_echo") >&5
\r
14605 (eval "$ac_link") 2>conftest.er1
\r
14607 grep -v '^ *+' conftest.er1 >conftest.err
\r
14608 rm -f conftest.er1
\r
14609 cat conftest.err >&5
\r
14610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
14611 (exit $ac_status); } && {
\r
14612 test -z "$ac_f77_werror_flag" ||
\r
14613 test ! -s conftest.err
\r
14614 } && test -s conftest$ac_exeext && {
\r
14615 test "$cross_compiling" = yes ||
\r
14616 $as_test_x conftest$ac_exeext
\r
14619 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
\r
14621 # Check for a 64-bit object if we didn't find anything.
\r
14622 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; }
\r
14625 $as_echo "$as_me: failed program was:" >&5
\r
14626 sed 's/^/| /' conftest.$ac_ext >&5
\r
14631 rm -rf conftest.dSYM
\r
14632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
14633 conftest$ac_exeext conftest.$ac_ext
\r
14634 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
\r
14636 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
\r
14637 # Warning - without using the other run time loading flags,
\r
14638 # -berok will link without error, but may produce a broken library.
\r
14639 no_undefined_flag_F77=' ${wl}-bernotok'
\r
14640 allow_undefined_flag_F77=' ${wl}-berok'
\r
14641 # Exported symbols can be pulled into shared objects from archives
\r
14642 whole_archive_flag_spec_F77='$convenience'
\r
14643 archive_cmds_need_lc_F77=yes
\r
14644 # This is similar to how AIX traditionally builds its shared libraries.
\r
14645 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
\r
14651 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)'
\r
14652 hardcode_libdir_flag_spec_F77='-L$libdir'
\r
14653 hardcode_minus_L_F77=yes
\r
14654 # see comment about different semantics on the GNU ld section
\r
14659 export_dynamic_flag_spec_F77=-rdynamic
\r
14662 cygwin* | mingw* | pw32*)
\r
14663 # When not using gcc, we currently assume that we are using
\r
14664 # Microsoft Visual C++.
\r
14665 # hardcode_libdir_flag_spec is actually meaningless, as there is
\r
14666 # no search path for DLLs.
\r
14667 hardcode_libdir_flag_spec_F77=' '
\r
14668 allow_undefined_flag_F77=unsupported
\r
14669 # Tell ltmain to make .lib files, not .a files.
\r
14671 # Tell ltmain to make .dll files, not .so files.
\r
14672 shrext_cmds=".dll"
\r
14673 # FIXME: Setting linknames here is a bad hack.
\r
14674 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
\r
14675 # The linker will automatically build a .lib file if we build a DLL.
\r
14676 old_archive_From_new_cmds_F77='true'
\r
14677 # FIXME: Should let the user specify the lib program.
\r
14678 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
\r
14679 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
\r
14680 enable_shared_with_static_runtimes_F77=yes
\r
14683 darwin* | rhapsody*)
\r
14685 rhapsody* | darwin1.[012])
\r
14686 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
\r
14688 *) # Darwin 1.3 on
\r
14689 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
\r
14690 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
\r
14692 case ${MACOSX_DEPLOYMENT_TARGET} in
\r
14694 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
\r
14697 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
\r
14703 archive_cmds_need_lc_F77=no
\r
14704 hardcode_direct_F77=no
\r
14705 hardcode_automatic_F77=yes
\r
14706 hardcode_shlibpath_var_F77=unsupported
\r
14707 whole_archive_flag_spec_F77=''
\r
14708 link_all_deplibs_F77=yes
\r
14709 if test "$GCC" = yes ; then
\r
14710 output_verbose_link_cmd='echo'
\r
14711 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
\r
14712 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
\r
14713 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
\r
14714 archive_expsym_cmds_F77='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}'
\r
14715 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
14717 case $cc_basename in
\r
14719 output_verbose_link_cmd='echo'
\r
14720 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
\r
14721 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
\r
14722 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
\r
14723 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
14724 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
14734 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
14735 hardcode_libdir_flag_spec_F77='-L$libdir'
\r
14736 hardcode_shlibpath_var_F77=no
\r
14743 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
\r
14744 # support. Future versions do this automatically, but an explicit c++rt0.o
\r
14745 # does not break anything, and helps significantly (at the cost of a little
\r
14748 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
\r
14749 hardcode_libdir_flag_spec_F77='-R$libdir'
\r
14750 hardcode_direct_F77=yes
\r
14751 hardcode_shlibpath_var_F77=no
\r
14754 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
\r
14756 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
\r
14757 hardcode_direct_F77=yes
\r
14758 hardcode_minus_L_F77=yes
\r
14759 hardcode_shlibpath_var_F77=no
\r
14762 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
\r
14763 freebsd* | kfreebsd*-gnu | dragonfly*)
\r
14764 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
\r
14765 hardcode_libdir_flag_spec_F77='-R$libdir'
\r
14766 hardcode_direct_F77=yes
\r
14767 hardcode_shlibpath_var_F77=no
\r
14771 if test "$GCC" = yes; then
\r
14772 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'
\r
14774 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'
\r
14776 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
\r
14777 hardcode_libdir_separator_F77=:
\r
14778 hardcode_direct_F77=yes
\r
14780 # hardcode_minus_L: Not really in the search PATH,
\r
14781 # but as the default location of the library.
\r
14782 hardcode_minus_L_F77=yes
\r
14783 export_dynamic_flag_spec_F77='${wl}-E'
\r
14787 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
\r
14788 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
\r
14790 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
\r
14792 if test "$with_gnu_ld" = no; then
\r
14793 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
\r
14794 hardcode_libdir_separator_F77=:
\r
14796 hardcode_direct_F77=yes
\r
14797 export_dynamic_flag_spec_F77='${wl}-E'
\r
14799 # hardcode_minus_L: Not really in the search PATH,
\r
14800 # but as the default location of the library.
\r
14801 hardcode_minus_L_F77=yes
\r
14806 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
\r
14807 case $host_cpu in
\r
14809 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
14812 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
\r
14815 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
\r
14819 case $host_cpu in
\r
14821 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
14824 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
\r
14827 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
\r
14831 if test "$with_gnu_ld" = no; then
\r
14832 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
\r
14833 hardcode_libdir_separator_F77=:
\r
14835 case $host_cpu in
\r
14837 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
\r
14838 hardcode_direct_F77=no
\r
14839 hardcode_shlibpath_var_F77=no
\r
14842 hardcode_direct_F77=yes
\r
14843 export_dynamic_flag_spec_F77='${wl}-E'
\r
14845 # hardcode_minus_L: Not really in the search PATH,
\r
14846 # but as the default location of the library.
\r
14847 hardcode_minus_L_F77=yes
\r
14853 irix5* | irix6* | nonstopux*)
\r
14854 if test "$GCC" = yes; then
\r
14855 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'
\r
14857 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'
\r
14858 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
\r
14860 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
\r
14861 hardcode_libdir_separator_F77=:
\r
14862 link_all_deplibs_F77=yes
\r
14866 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
\r
14867 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
\r
14869 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
\r
14871 hardcode_libdir_flag_spec_F77='-R$libdir'
\r
14872 hardcode_direct_F77=yes
\r
14873 hardcode_shlibpath_var_F77=no
\r
14877 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
14878 hardcode_direct_F77=yes
\r
14879 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
\r
14880 hardcode_libdir_separator_F77=:
\r
14881 hardcode_shlibpath_var_F77=no
\r
14885 hardcode_direct_F77=yes
\r
14886 hardcode_shlibpath_var_F77=no
\r
14887 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
\r
14888 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
\r
14889 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
\r
14890 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
\r
14891 export_dynamic_flag_spec_F77='${wl}-E'
\r
14894 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
\r
14895 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
\r
14896 hardcode_libdir_flag_spec_F77='-R$libdir'
\r
14899 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
\r
14900 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
\r
14907 hardcode_libdir_flag_spec_F77='-L$libdir'
\r
14908 hardcode_minus_L_F77=yes
\r
14909 allow_undefined_flag_F77=unsupported
\r
14910 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'
\r
14911 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
\r
14915 if test "$GCC" = yes; then
\r
14916 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
\r
14917 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'
\r
14919 allow_undefined_flag_F77=' -expect_unresolved \*'
\r
14920 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'
\r
14922 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
\r
14923 hardcode_libdir_separator_F77=:
\r
14926 osf4* | osf5*) # as osf3* with the addition of -msym flag
\r
14927 if test "$GCC" = yes; then
\r
14928 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
\r
14929 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'
\r
14930 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
\r
14932 allow_undefined_flag_F77=' -expect_unresolved \*'
\r
14933 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'
\r
14934 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~
\r
14935 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
\r
14937 # Both c and cxx compiler support -rpath directly
\r
14938 hardcode_libdir_flag_spec_F77='-rpath $libdir'
\r
14940 hardcode_libdir_separator_F77=:
\r
14944 no_undefined_flag_F77=' -z text'
\r
14945 if test "$GCC" = yes; then
\r
14947 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
14948 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
\r
14949 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
\r
14952 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
14953 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
\r
14954 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
\r
14956 hardcode_libdir_flag_spec_F77='-R$libdir'
\r
14957 hardcode_shlibpath_var_F77=no
\r
14959 solaris2.[0-5] | solaris2.[0-5].*) ;;
\r
14961 # The compiler driver will combine linker options so we
\r
14962 # cannot just pass the convience library names through
\r
14963 # without $wl, iff we do not link with $LD.
\r
14964 # Luckily, gcc supports the same syntax we need for Sun Studio.
\r
14965 # Supported since Solaris 2.6 (maybe 2.5.1?)
\r
14968 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
\r
14970 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
\r
14973 link_all_deplibs_F77=yes
\r
14977 if test "x$host_vendor" = xsequent; then
\r
14978 # Use $CC to link under sequent, because it throws in some extra .o
\r
14979 # files that make .init and .fini sections work.
\r
14980 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
\r
14982 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
\r
14984 hardcode_libdir_flag_spec_F77='-L$libdir'
\r
14985 hardcode_direct_F77=yes
\r
14986 hardcode_minus_L_F77=yes
\r
14987 hardcode_shlibpath_var_F77=no
\r
14991 case $host_vendor in
\r
14993 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
14994 hardcode_direct_F77=yes # is this really true???
\r
14997 ## LD is ld it makes a PLAMLIB
\r
14998 ## CC just makes a GrossModule.
\r
14999 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
\r
15000 reload_cmds_F77='$CC -r -o $output$reload_objs'
\r
15001 hardcode_direct_F77=no
\r
15004 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
15005 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
\r
15008 runpath_var='LD_RUN_PATH'
\r
15009 hardcode_shlibpath_var_F77=no
\r
15013 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
15014 hardcode_shlibpath_var_F77=no
\r
15015 export_dynamic_flag_spec_F77='-Bexport'
\r
15019 if test -d /usr/nec; then
\r
15020 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
15021 hardcode_shlibpath_var_F77=no
\r
15022 runpath_var=LD_RUN_PATH
\r
15023 hardcode_runpath_var=yes
\r
15024 ld_shlibs_F77=yes
\r
15028 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
\r
15029 no_undefined_flag_F77='${wl}-z,text'
\r
15030 archive_cmds_need_lc_F77=no
\r
15031 hardcode_shlibpath_var_F77=no
\r
15032 runpath_var='LD_RUN_PATH'
\r
15034 if test "$GCC" = yes; then
\r
15035 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
15036 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
15038 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
15039 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
15043 sysv5* | sco3.2v5* | sco5v6*)
\r
15044 # Note: We can NOT use -z defs as we might desire, because we do not
\r
15045 # link with -lc, and that would cause any symbols used from libc to
\r
15046 # always be unresolved, which means just about no library would
\r
15047 # ever link correctly. If we're not using GNU ld we use -z text
\r
15048 # though, which does catch some bad symbols but isn't as heavy-handed
\r
15050 no_undefined_flag_F77='${wl}-z,text'
\r
15051 allow_undefined_flag_F77='${wl}-z,nodefs'
\r
15052 archive_cmds_need_lc_F77=no
\r
15053 hardcode_shlibpath_var_F77=no
\r
15054 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
\r
15055 hardcode_libdir_separator_F77=':'
\r
15056 link_all_deplibs_F77=yes
\r
15057 export_dynamic_flag_spec_F77='${wl}-Bexport'
\r
15058 runpath_var='LD_RUN_PATH'
\r
15060 if test "$GCC" = yes; then
\r
15061 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
15062 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
15064 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
15065 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
15070 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
15071 hardcode_libdir_flag_spec_F77='-L$libdir'
\r
15072 hardcode_shlibpath_var_F77=no
\r
15081 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
\r
15082 $as_echo "$ld_shlibs_F77" >&6; }
\r
15083 test "$ld_shlibs_F77" = no && can_build_shared=no
\r
15086 # Do we need to explicitly link libc?
\r
15088 case "x$archive_cmds_need_lc_F77" in
\r
15090 # Assume -lc should be added
\r
15091 archive_cmds_need_lc_F77=yes
\r
15093 if test "$enable_shared" = yes && test "$GCC" = yes; then
\r
15094 case $archive_cmds_F77 in
\r
15096 # FIXME: we may have to deal with multi-command sequences.
\r
15099 # Test whether the compiler implicitly links with -lc since on some
\r
15100 # systems, -lgcc has to come before -lc. If gcc already passes -lc
\r
15101 # to ld, don't add -lc before -lgcc.
\r
15102 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
\r
15103 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
\r
15105 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
15107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
15108 (eval $ac_compile) 2>&5
\r
15110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
15111 (exit $ac_status); } 2>conftest.err; then
\r
15114 libobjs=conftest.$ac_objext
\r
15116 wl=$lt_prog_compiler_wl_F77
\r
15117 pic_flag=$lt_prog_compiler_pic_F77
\r
15118 compiler_flags=-v
\r
15123 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
\r
15124 allow_undefined_flag_F77=
\r
15125 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
\r
15126 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
\r
15128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
15129 (exit $ac_status); }
\r
15131 archive_cmds_need_lc_F77=no
\r
15133 archive_cmds_need_lc_F77=yes
\r
15135 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
\r
15137 cat conftest.err 1>&5
\r
15140 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
\r
15141 $as_echo "$archive_cmds_need_lc_F77" >&6; }
\r
15148 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
\r
15149 $as_echo_n "checking dynamic linker characteristics... " >&6; }
\r
15150 library_names_spec=
\r
15151 libname_spec='lib$name'
\r
15153 shrext_cmds=".so"
\r
15154 postinstall_cmds=
\r
15155 postuninstall_cmds=
\r
15159 shlibpath_overrides_runpath=unknown
\r
15160 version_type=none
\r
15161 dynamic_linker="$host_os ld.so"
\r
15162 sys_lib_dlsearch_path_spec="/lib /usr/lib"
\r
15163 if test "$GCC" = yes; then
\r
15164 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
\r
15165 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
\r
15166 # if the path contains ";" then we assume it to be the separator
\r
15167 # otherwise default to the standard path separator (i.e. ":") - it is
\r
15168 # assumed that no part of a normal pathname contains ";" but that should
\r
15169 # okay in the real world where ";" in dirpaths is itself problematic.
\r
15170 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
\r
15172 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
\r
15175 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
\r
15177 need_lib_prefix=unknown
\r
15178 hardcode_into_libs=no
\r
15180 # when you set need_version to no, make sure it does not cause -set_version
\r
15181 # flags to be left without arguments
\r
15182 need_version=unknown
\r
15186 version_type=linux
\r
15187 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
\r
15188 shlibpath_var=LIBPATH
\r
15190 # AIX 3 has no versioning support, so we append a major version to the name.
\r
15191 soname_spec='${libname}${release}${shared_ext}$major'
\r
15195 version_type=linux
\r
15196 need_lib_prefix=no
\r
15198 hardcode_into_libs=yes
\r
15199 if test "$host_cpu" = ia64; then
\r
15200 # AIX 5 supports IA64
\r
15201 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
\r
15202 shlibpath_var=LD_LIBRARY_PATH
\r
15204 # With GCC up to 2.95.x, collect2 would create an import file
\r
15205 # for dependence libraries. The import file would start with
\r
15206 # the line `#! .'. This would cause the generated library to
\r
15207 # depend on `.', always an invalid library. This was fixed in
\r
15208 # development snapshots of GCC prior to 3.0.
\r
15210 aix4 | aix4.[01] | aix4.[01].*)
\r
15211 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
\r
15213 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
\r
15216 can_build_shared=no
\r
15220 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
\r
15221 # soname into executable. Probably we can add versioning support to
\r
15222 # collect2, so additional links can be useful in future.
\r
15223 if test "$aix_use_runtimelinking" = yes; then
\r
15224 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
\r
15225 # instead of lib<name>.a to let people know that these are not
\r
15226 # typical AIX shared libraries.
\r
15227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15229 # We preserve .a as extension for shared libraries through AIX4.2
\r
15230 # and later when we are not doing run time linking.
\r
15231 library_names_spec='${libname}${release}.a $libname.a'
\r
15232 soname_spec='${libname}${release}${shared_ext}$major'
\r
15234 shlibpath_var=LIBPATH
\r
15239 library_names_spec='$libname.ixlibrary $libname.a'
\r
15240 # Create ${libname}_ixlibrary.a entries in /sys/libs.
\r
15241 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'
\r
15245 library_names_spec='${libname}${shared_ext}'
\r
15246 dynamic_linker="$host_os ld.so"
\r
15247 shlibpath_var=LIBRARY_PATH
\r
15251 version_type=linux
\r
15253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15254 soname_spec='${libname}${release}${shared_ext}$major'
\r
15255 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
\r
15256 shlibpath_var=LD_LIBRARY_PATH
\r
15257 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
\r
15258 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
\r
15259 # the default ld.so.conf also contains /usr/contrib/lib and
\r
15260 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
\r
15261 # libtool to hard-code these into programs
\r
15264 cygwin* | mingw* | pw32*)
\r
15265 version_type=windows
\r
15266 shrext_cmds=".dll"
\r
15268 need_lib_prefix=no
\r
15270 case $GCC,$host_os in
\r
15271 yes,cygwin* | yes,mingw* | yes,pw32*)
\r
15272 library_names_spec='$libname.dll.a'
\r
15273 # DLL is installed to $(libdir)/../bin by postinstall_cmds
\r
15274 postinstall_cmds='base_file=`basename \${file}`~
\r
15275 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
\r
15276 dldir=$destdir/`dirname \$dlpath`~
\r
15277 test -d \$dldir || mkdir -p \$dldir~
\r
15278 $install_prog $dir/$dlname \$dldir/$dlname~
\r
15279 chmod a+x \$dldir/$dlname'
\r
15280 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
\r
15281 dlpath=$dir/\$dldll~
\r
15283 shlibpath_overrides_runpath=yes
\r
15287 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
\r
15288 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
15289 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
\r
15292 # MinGW DLLs use traditional 'lib' prefix
\r
15293 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
15294 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
\r
15295 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
\r
15296 # It is most probably a Windows format PATH printed by
\r
15297 # mingw gcc, but we are running on Cygwin. Gcc prints its search
\r
15298 # path with ; separators, and with drive letters. We can handle the
\r
15299 # drive letters (cygwin fileutils understands them), so leave them,
\r
15300 # especially as we might pass files found there to a mingw objdump,
\r
15301 # which wouldn't understand a cygwinified path. Ahh.
\r
15302 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
\r
15304 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
\r
15308 # pw32 DLLs use 'pw' prefix rather than 'lib'
\r
15309 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
15315 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
\r
15318 dynamic_linker='Win32 ld.exe'
\r
15319 # FIXME: first we should search . and the directory the executable is in
\r
15320 shlibpath_var=PATH
\r
15323 darwin* | rhapsody*)
\r
15324 dynamic_linker="$host_os dyld"
\r
15325 version_type=darwin
\r
15326 need_lib_prefix=no
\r
15328 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
\r
15329 soname_spec='${libname}${release}${major}$shared_ext'
\r
15330 shlibpath_overrides_runpath=yes
\r
15331 shlibpath_var=DYLD_LIBRARY_PATH
\r
15332 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
\r
15333 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
\r
15334 if test "$GCC" = yes; then
\r
15335 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"`
\r
15337 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
\r
15339 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
\r
15343 version_type=linux
\r
15344 need_lib_prefix=no
\r
15346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
\r
15347 soname_spec='${libname}${release}${shared_ext}$major'
\r
15348 shlibpath_var=LD_LIBRARY_PATH
\r
15352 dynamic_linker=no
\r
15356 version_type=linux
\r
15357 need_lib_prefix=no
\r
15359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
15360 soname_spec='${libname}${release}${shared_ext}$major'
\r
15361 shlibpath_var=LD_LIBRARY_PATH
\r
15362 shlibpath_overrides_runpath=no
\r
15363 hardcode_into_libs=yes
\r
15364 dynamic_linker='GNU ld.so'
\r
15367 freebsd* | dragonfly*)
\r
15368 # DragonFly does not have aout. When/if they implement a new
\r
15369 # versioning mechanism, adjust this.
\r
15370 if test -x /usr/bin/objformat; then
\r
15371 objformat=`/usr/bin/objformat`
\r
15374 freebsd[123]*) objformat=aout ;;
\r
15375 *) objformat=elf ;;
\r
15378 version_type=freebsd-$objformat
\r
15379 case $version_type in
\r
15381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
15383 need_lib_prefix=no
\r
15386 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
\r
15390 shlibpath_var=LD_LIBRARY_PATH
\r
15393 shlibpath_overrides_runpath=yes
\r
15395 freebsd3.[01]* | freebsdelf3.[01]*)
\r
15396 shlibpath_overrides_runpath=yes
\r
15397 hardcode_into_libs=yes
\r
15399 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
\r
15400 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
\r
15401 shlibpath_overrides_runpath=no
\r
15402 hardcode_into_libs=yes
\r
15404 freebsd*) # from 4.6 on
\r
15405 shlibpath_overrides_runpath=yes
\r
15406 hardcode_into_libs=yes
\r
15412 version_type=linux
\r
15413 need_lib_prefix=no
\r
15415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
\r
15416 soname_spec='${libname}${release}${shared_ext}$major'
\r
15417 shlibpath_var=LD_LIBRARY_PATH
\r
15418 hardcode_into_libs=yes
\r
15421 hpux9* | hpux10* | hpux11*)
\r
15422 # Give a soname corresponding to the major version so that dld.sl refuses to
\r
15423 # link against other versions.
\r
15424 version_type=sunos
\r
15425 need_lib_prefix=no
\r
15427 case $host_cpu in
\r
15429 shrext_cmds='.so'
\r
15430 hardcode_into_libs=yes
\r
15431 dynamic_linker="$host_os dld.so"
\r
15432 shlibpath_var=LD_LIBRARY_PATH
\r
15433 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
\r
15434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15435 soname_spec='${libname}${release}${shared_ext}$major'
\r
15436 if test "X$HPUX_IA64_MODE" = X32; then
\r
15437 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
\r
15439 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
\r
15441 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
\r
15444 shrext_cmds='.sl'
\r
15445 hardcode_into_libs=yes
\r
15446 dynamic_linker="$host_os dld.sl"
\r
15447 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
\r
15448 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
\r
15449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15450 soname_spec='${libname}${release}${shared_ext}$major'
\r
15451 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
\r
15452 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
\r
15455 shrext_cmds='.sl'
\r
15456 dynamic_linker="$host_os dld.sl"
\r
15457 shlibpath_var=SHLIB_PATH
\r
15458 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
\r
15459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15460 soname_spec='${libname}${release}${shared_ext}$major'
\r
15463 # HP-UX runs *really* slowly unless shared libraries are mode 555.
\r
15464 postinstall_cmds='chmod 555 $lib'
\r
15468 version_type=linux
\r
15469 need_lib_prefix=no
\r
15471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
15472 soname_spec='${libname}${release}${shared_ext}$major'
\r
15473 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
\r
15474 shlibpath_var=LD_LIBRARY_PATH
\r
15475 shlibpath_overrides_runpath=no
\r
15476 hardcode_into_libs=yes
\r
15479 irix5* | irix6* | nonstopux*)
\r
15481 nonstopux*) version_type=nonstopux ;;
\r
15483 if test "$lt_cv_prog_gnu_ld" = yes; then
\r
15484 version_type=linux
\r
15486 version_type=irix
\r
15489 need_lib_prefix=no
\r
15491 soname_spec='${libname}${release}${shared_ext}$major'
\r
15492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
15494 irix5* | nonstopux*)
\r
15495 libsuff= shlibsuff=
\r
15498 case $LD in # libtool.m4 will add one of these switches to LD
\r
15499 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
\r
15500 libsuff= shlibsuff= libmagic=32-bit;;
\r
15501 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
\r
15502 libsuff=32 shlibsuff=N32 libmagic=N32;;
\r
15503 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
\r
15504 libsuff=64 shlibsuff=64 libmagic=64-bit;;
\r
15505 *) libsuff= shlibsuff= libmagic=never-match;;
\r
15509 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
\r
15510 shlibpath_overrides_runpath=no
\r
15511 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
\r
15512 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
\r
15513 hardcode_into_libs=yes
\r
15516 # No shared lib support for Linux oldld, aout, or coff.
\r
15517 linux*oldld* | linux*aout* | linux*coff*)
\r
15518 dynamic_linker=no
\r
15521 # This must be Linux ELF.
\r
15523 version_type=linux
\r
15524 need_lib_prefix=no
\r
15526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15527 soname_spec='${libname}${release}${shared_ext}$major'
\r
15528 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
\r
15529 shlibpath_var=LD_LIBRARY_PATH
\r
15530 shlibpath_overrides_runpath=no
\r
15531 # This implies no fast_install, which is unacceptable.
\r
15532 # Some rework will be needed to allow for fast_install
\r
15533 # before this can be enabled.
\r
15534 hardcode_into_libs=yes
\r
15536 # find out which ABI we are using
\r
15538 case "$host_cpu" in
\r
15539 x86_64*|s390x*|powerpc64*)
\r
15540 echo '#line 15540 "configure"' > conftest.$ac_ext
\r
15541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
15542 (eval $ac_compile) 2>&5
\r
15544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
15545 (exit $ac_status); }; then
\r
15546 case `/usr/bin/file conftest.$ac_objext` in
\r
15549 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
\r
15557 # Append ld.so.conf contents to the search path
\r
15558 if test -f /etc/ld.so.conf; then
\r
15559 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
\r
15560 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
\r
15563 # We used to test for /lib/ld.so.1 and disable shared libraries on
\r
15564 # powerpc, because MkLinux only supported shared libraries with the
\r
15565 # GNU dynamic linker. Since this was broken with cross compilers,
\r
15566 # most powerpc-linux boxes support dynamic linking these days and
\r
15567 # people can always --disable-shared, the test was removed, and we
\r
15568 # assume the GNU/Linux dynamic linker is in use.
\r
15569 dynamic_linker='GNU/Linux ld.so'
\r
15573 version_type=linux
\r
15574 need_lib_prefix=no
\r
15576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
15577 soname_spec='${libname}${release}${shared_ext}$major'
\r
15578 shlibpath_var=LD_LIBRARY_PATH
\r
15579 shlibpath_overrides_runpath=no
\r
15580 hardcode_into_libs=yes
\r
15581 dynamic_linker='GNU ld.so'
\r
15585 version_type=sunos
\r
15586 need_lib_prefix=no
\r
15588 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
\r
15589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
15590 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
\r
15591 dynamic_linker='NetBSD (a.out) ld.so'
\r
15593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
15594 soname_spec='${libname}${release}${shared_ext}$major'
\r
15595 dynamic_linker='NetBSD ld.elf_so'
\r
15597 shlibpath_var=LD_LIBRARY_PATH
\r
15598 shlibpath_overrides_runpath=yes
\r
15599 hardcode_into_libs=yes
\r
15603 version_type=linux
\r
15604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15605 shlibpath_var=LD_LIBRARY_PATH
\r
15606 shlibpath_overrides_runpath=yes
\r
15610 version_type=linux
\r
15611 need_lib_prefix=no
\r
15613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15614 soname_spec='${libname}${release}${shared_ext}$major'
\r
15615 shlibpath_var=LD_LIBRARY_PATH
\r
15616 shlibpath_overrides_runpath=yes
\r
15620 version_type=sunos
\r
15621 sys_lib_dlsearch_path_spec="/usr/lib"
\r
15622 need_lib_prefix=no
\r
15623 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
\r
15625 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
\r
15626 *) need_version=no ;;
\r
15628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
15629 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
\r
15630 shlibpath_var=LD_LIBRARY_PATH
\r
15631 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
\r
15633 openbsd2.[89] | openbsd2.[89].*)
\r
15634 shlibpath_overrides_runpath=no
\r
15637 shlibpath_overrides_runpath=yes
\r
15641 shlibpath_overrides_runpath=yes
\r
15646 libname_spec='$name'
\r
15647 shrext_cmds=".dll"
\r
15648 need_lib_prefix=no
\r
15649 library_names_spec='$libname${shared_ext} $libname.a'
\r
15650 dynamic_linker='OS/2 ld.exe'
\r
15651 shlibpath_var=LIBPATH
\r
15654 osf3* | osf4* | osf5*)
\r
15656 need_lib_prefix=no
\r
15658 soname_spec='${libname}${release}${shared_ext}$major'
\r
15659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15660 shlibpath_var=LD_LIBRARY_PATH
\r
15661 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
\r
15662 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
\r
15666 version_type=linux
\r
15667 need_lib_prefix=no
\r
15669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15670 soname_spec='${libname}${release}${shared_ext}$major'
\r
15671 shlibpath_var=LD_LIBRARY_PATH
\r
15672 shlibpath_overrides_runpath=yes
\r
15673 hardcode_into_libs=yes
\r
15674 # ldd complains unless libraries are executable
\r
15675 postinstall_cmds='chmod +x $lib'
\r
15679 version_type=sunos
\r
15680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
15681 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
\r
15682 shlibpath_var=LD_LIBRARY_PATH
\r
15683 shlibpath_overrides_runpath=yes
\r
15684 if test "$with_gnu_ld" = yes; then
\r
15685 need_lib_prefix=no
\r
15690 sysv4 | sysv4.3*)
\r
15691 version_type=linux
\r
15692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15693 soname_spec='${libname}${release}${shared_ext}$major'
\r
15694 shlibpath_var=LD_LIBRARY_PATH
\r
15695 case $host_vendor in
\r
15697 shlibpath_overrides_runpath=no
\r
15698 need_lib_prefix=no
\r
15699 export_dynamic_flag_spec='${wl}-Blargedynsym'
\r
15700 runpath_var=LD_RUN_PATH
\r
15703 need_lib_prefix=no
\r
15706 need_lib_prefix=no
\r
15708 shlibpath_overrides_runpath=no
\r
15709 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
\r
15715 if test -d /usr/nec ;then
\r
15716 version_type=linux
\r
15717 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
\r
15718 soname_spec='$libname${shared_ext}.$major'
\r
15719 shlibpath_var=LD_LIBRARY_PATH
\r
15723 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
\r
15724 version_type=freebsd-elf
\r
15725 need_lib_prefix=no
\r
15727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
15728 soname_spec='${libname}${release}${shared_ext}$major'
\r
15729 shlibpath_var=LD_LIBRARY_PATH
\r
15730 hardcode_into_libs=yes
\r
15731 if test "$with_gnu_ld" = yes; then
\r
15732 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
\r
15733 shlibpath_overrides_runpath=no
\r
15735 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
\r
15736 shlibpath_overrides_runpath=yes
\r
15739 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
\r
15743 sys_lib_dlsearch_path_spec='/usr/lib'
\r
15747 version_type=linux
\r
15748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
15749 soname_spec='${libname}${release}${shared_ext}$major'
\r
15750 shlibpath_var=LD_LIBRARY_PATH
\r
15754 dynamic_linker=no
\r
15757 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
\r
15758 $as_echo "$dynamic_linker" >&6; }
\r
15759 test "$dynamic_linker" = no && can_build_shared=no
\r
15761 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
\r
15762 if test "$GCC" = yes; then
\r
15763 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
\r
15766 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
\r
15767 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
\r
15768 hardcode_action_F77=
\r
15769 if test -n "$hardcode_libdir_flag_spec_F77" || \
\r
15770 test -n "$runpath_var_F77" || \
\r
15771 test "X$hardcode_automatic_F77" = "Xyes" ; then
\r
15773 # We can hardcode non-existant directories.
\r
15774 if test "$hardcode_direct_F77" != no &&
\r
15775 # If the only mechanism to avoid hardcoding is shlibpath_var, we
\r
15776 # have to relink, otherwise we might link with an installed library
\r
15777 # when we should be linking with a yet-to-be-installed one
\r
15778 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
\r
15779 test "$hardcode_minus_L_F77" != no; then
\r
15780 # Linking always hardcodes the temporary library directory.
\r
15781 hardcode_action_F77=relink
\r
15783 # We can link without hardcoding, and we can hardcode nonexisting dirs.
\r
15784 hardcode_action_F77=immediate
\r
15787 # We cannot hardcode anything, or else we can only hardcode existing
\r
15789 hardcode_action_F77=unsupported
\r
15791 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
\r
15792 $as_echo "$hardcode_action_F77" >&6; }
\r
15794 if test "$hardcode_action_F77" = relink; then
\r
15795 # Fast installation is not supported
\r
15796 enable_fast_install=no
\r
15797 elif test "$shlibpath_overrides_runpath" = yes ||
\r
15798 test "$enable_shared" = no; then
\r
15799 # Fast installation is not necessary
\r
15800 enable_fast_install=needless
\r
15804 # The else clause should only fire when bootstrapping the
\r
15805 # libtool distribution, otherwise you forgot to ship ltmain.sh
\r
15806 # with your package, and you will get complaints that there are
\r
15807 # no rules to generate ltmain.sh.
\r
15808 if test -f "$ltmain"; then
\r
15809 # See if we are running on zsh, and set the options which allow our commands through
\r
15810 # without removal of \ escapes.
\r
15811 if test -n "${ZSH_VERSION+set}" ; then
\r
15812 setopt NO_GLOB_SUBST
\r
15814 # Now quote all the things that may contain metacharacters while being
\r
15815 # careful not to overquote the AC_SUBSTed values. We take copies of the
\r
15816 # variables and quote the copies for generation of the libtool script.
\r
15817 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
\r
15818 SED SHELL STRIP \
\r
15819 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
\r
15820 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
\r
15821 deplibs_check_method reload_flag reload_cmds need_locks \
\r
15822 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
\r
15823 lt_cv_sys_global_symbol_to_c_name_address \
\r
15824 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
\r
15825 old_postinstall_cmds old_postuninstall_cmds \
\r
15829 lt_prog_compiler_wl_F77 \
\r
15830 lt_prog_compiler_pic_F77 \
\r
15831 lt_prog_compiler_static_F77 \
\r
15832 lt_prog_compiler_no_builtin_flag_F77 \
\r
15833 export_dynamic_flag_spec_F77 \
\r
15834 thread_safe_flag_spec_F77 \
\r
15835 whole_archive_flag_spec_F77 \
\r
15836 enable_shared_with_static_runtimes_F77 \
\r
15837 old_archive_cmds_F77 \
\r
15838 old_archive_from_new_cmds_F77 \
\r
15839 predep_objects_F77 \
\r
15840 postdep_objects_F77 \
\r
15843 compiler_lib_search_path_F77 \
\r
15844 archive_cmds_F77 \
\r
15845 archive_expsym_cmds_F77 \
\r
15846 postinstall_cmds_F77 \
\r
15847 postuninstall_cmds_F77 \
\r
15848 old_archive_from_expsyms_cmds_F77 \
\r
15849 allow_undefined_flag_F77 \
\r
15850 no_undefined_flag_F77 \
\r
15851 export_symbols_cmds_F77 \
\r
15852 hardcode_libdir_flag_spec_F77 \
\r
15853 hardcode_libdir_flag_spec_ld_F77 \
\r
15854 hardcode_libdir_separator_F77 \
\r
15855 hardcode_automatic_F77 \
\r
15856 module_cmds_F77 \
\r
15857 module_expsym_cmds_F77 \
\r
15858 lt_cv_prog_compiler_c_o_F77 \
\r
15859 exclude_expsyms_F77 \
\r
15860 include_expsyms_F77; do
\r
15863 old_archive_cmds_F77 | \
\r
15864 old_archive_from_new_cmds_F77 | \
\r
15865 archive_cmds_F77 | \
\r
15866 archive_expsym_cmds_F77 | \
\r
15867 module_cmds_F77 | \
\r
15868 module_expsym_cmds_F77 | \
\r
15869 old_archive_from_expsyms_cmds_F77 | \
\r
15870 export_symbols_cmds_F77 | \
\r
15871 extract_expsyms_cmds | reload_cmds | finish_cmds | \
\r
15872 postinstall_cmds | postuninstall_cmds | \
\r
15873 old_postinstall_cmds | old_postuninstall_cmds | \
\r
15874 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
\r
15875 # Double-quote double-evaled strings.
\r
15876 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
\r
15879 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
\r
15885 *'\$0 --fallback-echo"')
\r
15886 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
\r
15892 cat <<__EOF__ >> "$cfgfile"
\r
15893 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
\r
15895 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
\r
15897 # Shell to use when invoking shell scripts.
\r
15900 # Whether or not to build shared libraries.
\r
15901 build_libtool_libs=$enable_shared
\r
15903 # Whether or not to build static libraries.
\r
15904 build_old_libs=$enable_static
\r
15906 # Whether or not to add -lc for building shared libraries.
\r
15907 build_libtool_need_lc=$archive_cmds_need_lc_F77
\r
15909 # Whether or not to disallow shared libs when runtime libs are static
\r
15910 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
\r
15912 # Whether or not to optimize for fast installation.
\r
15913 fast_install=$enable_fast_install
\r
15915 # The host system.
\r
15916 host_alias=$host_alias
\r
15920 # The build system.
\r
15921 build_alias=$build_alias
\r
15923 build_os=$build_os
\r
15925 # An echo program that does not interpret backslashes.
\r
15930 AR_FLAGS=$lt_AR_FLAGS
\r
15935 # LTCC compiler flags.
\r
15936 LTCFLAGS=$lt_LTCFLAGS
\r
15938 # A language-specific compiler.
\r
15939 CC=$lt_compiler_F77
\r
15941 # Is the compiler the GNU C compiler?
\r
15942 with_gcc=$GCC_F77
\r
15944 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
\r
15945 gcc_ver=\`gcc -dumpversion\`
\r
15947 # An ERE matcher.
\r
15950 # The linker used to build libraries.
\r
15953 # Whether we need hard or soft links.
\r
15956 # A BSD-compatible nm program.
\r
15959 # A symbol stripping program
\r
15962 # Used to examine libraries when file_magic_cmd begins "file"
\r
15963 MAGIC_CMD=$MAGIC_CMD
\r
15965 # Used on cygwin: DLL creation program.
\r
15966 DLLTOOL="$DLLTOOL"
\r
15968 # Used on cygwin: object dumper.
\r
15969 OBJDUMP="$OBJDUMP"
\r
15971 # Used on cygwin: assembler.
\r
15974 # The name of the directory that contains temporary libtool files.
\r
15977 # How to create reloadable object files.
\r
15978 reload_flag=$lt_reload_flag
\r
15979 reload_cmds=$lt_reload_cmds
\r
15981 # How to pass a linker flag through the compiler.
\r
15982 wl=$lt_lt_prog_compiler_wl_F77
\r
15984 # Object file suffix (normally "o").
\r
15985 objext="$ac_objext"
\r
15987 # Old archive suffix (normally "a").
\r
15990 # Shared library suffix (normally ".so").
\r
15991 shrext_cmds='$shrext_cmds'
\r
15993 # Executable file suffix (normally "").
\r
15996 # Additional compiler flags for building library objects.
\r
15997 pic_flag=$lt_lt_prog_compiler_pic_F77
\r
15998 pic_mode=$pic_mode
\r
16000 # What is the maximum length of a command?
\r
16001 max_cmd_len=$lt_cv_sys_max_cmd_len
\r
16003 # Does compiler simultaneously support -c and -o options?
\r
16004 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
\r
16006 # Must we lock files when doing compilation?
\r
16007 need_locks=$lt_need_locks
\r
16009 # Do we need the lib prefix for modules?
\r
16010 need_lib_prefix=$need_lib_prefix
\r
16012 # Do we need a version for libraries?
\r
16013 need_version=$need_version
\r
16015 # Whether dlopen is supported.
\r
16016 dlopen_support=$enable_dlopen
\r
16018 # Whether dlopen of programs is supported.
\r
16019 dlopen_self=$enable_dlopen_self
\r
16021 # Whether dlopen of statically linked programs is supported.
\r
16022 dlopen_self_static=$enable_dlopen_self_static
\r
16024 # Compiler flag to prevent dynamic linking.
\r
16025 link_static_flag=$lt_lt_prog_compiler_static_F77
\r
16027 # Compiler flag to turn off builtin functions.
\r
16028 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
\r
16030 # Compiler flag to allow reflexive dlopens.
\r
16031 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
\r
16033 # Compiler flag to generate shared objects directly from archives.
\r
16034 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
\r
16036 # Compiler flag to generate thread-safe objects.
\r
16037 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
\r
16039 # Library versioning type.
\r
16040 version_type=$version_type
\r
16042 # Format of library name prefix.
\r
16043 libname_spec=$lt_libname_spec
\r
16045 # List of archive names. First name is the real one, the rest are links.
\r
16046 # The last name is the one that the linker finds with -lNAME.
\r
16047 library_names_spec=$lt_library_names_spec
\r
16049 # The coded name of the library, if different from the real name.
\r
16050 soname_spec=$lt_soname_spec
\r
16052 # Commands used to build and install an old-style archive.
\r
16053 RANLIB=$lt_RANLIB
\r
16054 old_archive_cmds=$lt_old_archive_cmds_F77
\r
16055 old_postinstall_cmds=$lt_old_postinstall_cmds
\r
16056 old_postuninstall_cmds=$lt_old_postuninstall_cmds
\r
16058 # Create an old-style archive from a shared archive.
\r
16059 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
\r
16061 # Create a temporary old-style archive to link instead of a shared archive.
\r
16062 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
\r
16064 # Commands used to build and install a shared archive.
\r
16065 archive_cmds=$lt_archive_cmds_F77
\r
16066 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
\r
16067 postinstall_cmds=$lt_postinstall_cmds
\r
16068 postuninstall_cmds=$lt_postuninstall_cmds
\r
16070 # Commands used to build a loadable module (assumed same as above if empty)
\r
16071 module_cmds=$lt_module_cmds_F77
\r
16072 module_expsym_cmds=$lt_module_expsym_cmds_F77
\r
16074 # Commands to strip libraries.
\r
16075 old_striplib=$lt_old_striplib
\r
16076 striplib=$lt_striplib
\r
16078 # Dependencies to place before the objects being linked to create a
\r
16079 # shared library.
\r
16080 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
16082 # Dependencies to place after the objects being linked to create a
\r
16083 # shared library.
\r
16084 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
16086 # Dependencies to place before the objects being linked to create a
\r
16087 # shared library.
\r
16088 predeps=$lt_predeps_F77
\r
16090 # Dependencies to place after the objects being linked to create a
\r
16091 # shared library.
\r
16092 postdeps=$lt_postdeps_F77
\r
16094 # The library search path used internally by the compiler when linking
\r
16095 # a shared library.
\r
16096 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
16098 # Method to check whether dependent libraries are shared objects.
\r
16099 deplibs_check_method=$lt_deplibs_check_method
\r
16101 # Command to use when deplibs_check_method == file_magic.
\r
16102 file_magic_cmd=$lt_file_magic_cmd
\r
16104 # Flag that allows shared libraries with undefined symbols to be built.
\r
16105 allow_undefined_flag=$lt_allow_undefined_flag_F77
\r
16107 # Flag that forces no undefined symbols.
\r
16108 no_undefined_flag=$lt_no_undefined_flag_F77
\r
16110 # Commands used to finish a libtool library installation in a directory.
\r
16111 finish_cmds=$lt_finish_cmds
\r
16113 # Same as above, but a single script fragment to be evaled but not shown.
\r
16114 finish_eval=$lt_finish_eval
\r
16116 # Take the output of nm and produce a listing of raw symbols and C names.
\r
16117 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
\r
16119 # Transform the output of nm in a proper C declaration
\r
16120 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
\r
16122 # Transform the output of nm in a C name address pair
\r
16123 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
\r
16125 # This is the shared library runtime path variable.
\r
16126 runpath_var=$runpath_var
\r
16128 # This is the shared library path variable.
\r
16129 shlibpath_var=$shlibpath_var
\r
16131 # Is shlibpath searched before the hard-coded library search path?
\r
16132 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
\r
16134 # How to hardcode a shared library path into an executable.
\r
16135 hardcode_action=$hardcode_action_F77
\r
16137 # Whether we should hardcode library paths into libraries.
\r
16138 hardcode_into_libs=$hardcode_into_libs
\r
16140 # Flag to hardcode \$libdir into a binary during linking.
\r
16141 # This must work even if \$libdir does not exist.
\r
16142 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
\r
16144 # If ld is used when linking, flag to hardcode \$libdir into
\r
16145 # a binary during linking. This must work even if \$libdir does
\r
16147 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
\r
16149 # Whether we need a single -rpath flag with a separated argument.
\r
16150 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
\r
16152 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
\r
16153 # resulting binary.
\r
16154 hardcode_direct=$hardcode_direct_F77
\r
16156 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
\r
16157 # resulting binary.
\r
16158 hardcode_minus_L=$hardcode_minus_L_F77
\r
16160 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
\r
16161 # the resulting binary.
\r
16162 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
\r
16164 # Set to yes if building a shared library automatically hardcodes DIR into the library
\r
16165 # and all subsequent libraries and executables linked against it.
\r
16166 hardcode_automatic=$hardcode_automatic_F77
\r
16168 # Variables whose values should be saved in libtool wrapper scripts and
\r
16169 # restored at relink time.
\r
16170 variables_saved_for_relink="$variables_saved_for_relink"
\r
16172 # Whether libtool must link a program against all its dependency libraries.
\r
16173 link_all_deplibs=$link_all_deplibs_F77
\r
16175 # Compile-time system search path for libraries
\r
16176 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
16178 # Run-time system search path for libraries
\r
16179 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
\r
16181 # Fix the shell variable \$srcfile for the compiler.
\r
16182 fix_srcfile_path="$fix_srcfile_path_F77"
\r
16184 # Set to yes if exported symbols are required.
\r
16185 always_export_symbols=$always_export_symbols_F77
\r
16187 # The commands to list exported symbols.
\r
16188 export_symbols_cmds=$lt_export_symbols_cmds_F77
\r
16190 # The commands to extract the exported symbol list from a shared archive.
\r
16191 extract_expsyms_cmds=$lt_extract_expsyms_cmds
\r
16193 # Symbols that should not be listed in the preloaded symbols.
\r
16194 exclude_expsyms=$lt_exclude_expsyms_F77
\r
16196 # Symbols that must always be exported.
\r
16197 include_expsyms=$lt_include_expsyms_F77
\r
16199 # ### END LIBTOOL TAG CONFIG: $tagname
\r
16205 # If there is no Makefile yet, we rely on a make rule to execute
\r
16206 # `config.status --recheck' to rerun these tests and create the
\r
16207 # libtool script then.
\r
16208 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
\r
16209 if test -f "$ltmain_in"; then
\r
16210 test -f Makefile && make "$ltmain"
\r
16216 ac_cpp='$CPP $CPPFLAGS'
\r
16217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
16218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
16219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
16229 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
\r
16232 # Source file extension for Java test sources.
\r
16235 # Object file extension for compiled Java test sources.
\r
16237 objext_GCJ=$objext
\r
16239 # Code to be used in simple compile tests
\r
16240 lt_simple_compile_test_code="class foo {}\n"
\r
16242 # Code to be used in simple link tests
\r
16243 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
\r
16245 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
\r
16247 # If no C compiler was specified, use CC.
\r
16248 LTCC=${LTCC-"$CC"}
\r
16250 # If no C compiler flags were specified, use CFLAGS.
\r
16251 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
\r
16253 # Allow CC to be a program name with arguments.
\r
16257 # save warnings/boilerplate of simple test code
\r
16258 ac_outfile=conftest.$ac_objext
\r
16259 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
\r
16260 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
\r
16261 _lt_compiler_boilerplate=`cat conftest.err`
\r
16264 ac_outfile=conftest.$ac_objext
\r
16265 printf "$lt_simple_link_test_code" >conftest.$ac_ext
\r
16266 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
\r
16267 _lt_linker_boilerplate=`cat conftest.err`
\r
16271 # Allow CC to be a program name with arguments.
\r
16276 for cc_temp in $compiler""; do
\r
16278 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
\r
16279 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\r
16284 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
\r
16287 # GCJ did not exist at the time GCC didn't implicitly link libc in.
\r
16288 archive_cmds_need_lc_GCJ=no
\r
16290 old_archive_cmds_GCJ=$old_archive_cmds
\r
16293 lt_prog_compiler_no_builtin_flag_GCJ=
\r
16295 if test "$GCC" = yes; then
\r
16296 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
\r
16299 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
\r
16300 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
\r
16301 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
\r
16302 $as_echo_n "(cached) " >&6
\r
16304 lt_cv_prog_compiler_rtti_exceptions=no
\r
16305 ac_outfile=conftest.$ac_objext
\r
16306 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
16307 lt_compiler_flag="-fno-rtti -fno-exceptions"
\r
16308 # Insert the option either (1) after the last *FLAGS variable, or
\r
16309 # (2) before a word containing "conftest.", or (3) at the end.
\r
16310 # Note that $ac_compile itself does not contain backslashes and begins
\r
16311 # with a dollar sign (not a hyphen), so the echo should work correctly.
\r
16312 # The option is referenced via a variable to avoid confusing sed.
\r
16313 lt_compile=`echo "$ac_compile" | $SED \
\r
16314 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
\r
16315 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
\r
16316 -e 's:$: $lt_compiler_flag:'`
\r
16317 (eval echo "\"\$as_me:16317: $lt_compile\"" >&5)
\r
16318 (eval "$lt_compile" 2>conftest.err)
\r
16320 cat conftest.err >&5
\r
16321 echo "$as_me:16321: \$? = $ac_status" >&5
\r
16322 if (exit $ac_status) && test -s "$ac_outfile"; then
\r
16323 # The compiler can only warn and ignore the option if not recognized
\r
16324 # So say no if there are warnings other than the usual output.
\r
16325 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
\r
16326 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
\r
16327 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
\r
16328 lt_cv_prog_compiler_rtti_exceptions=yes
\r
16334 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
\r
16335 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
\r
16337 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
\r
16338 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
\r
16345 lt_prog_compiler_wl_GCJ=
\r
16346 lt_prog_compiler_pic_GCJ=
\r
16347 lt_prog_compiler_static_GCJ=
\r
16349 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
\r
16350 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
\r
16352 if test "$GCC" = yes; then
\r
16353 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16354 lt_prog_compiler_static_GCJ='-static'
\r
16358 # All AIX code is PIC.
\r
16359 if test "$host_cpu" = ia64; then
\r
16360 # AIX 5 now supports IA64 processor
\r
16361 lt_prog_compiler_static_GCJ='-Bstatic'
\r
16366 # FIXME: we need at least 68020 code to build shared libraries, but
\r
16367 # adding the `-m68020' flag to GCC prevents building anything better,
\r
16368 # like `-m68040'.
\r
16369 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
\r
16372 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
\r
16373 # PIC is the default for these OSes.
\r
16376 mingw* | pw32* | os2*)
\r
16377 # This hack is so that the source file can tell whether it is being
\r
16378 # built for inclusion in a dll (and should export symbols for example).
\r
16379 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
\r
16382 darwin* | rhapsody*)
\r
16383 # PIC is the default on this platform
\r
16384 # Common symbols not allowed in MH_DYLIB files
\r
16385 lt_prog_compiler_pic_GCJ='-fno-common'
\r
16389 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
\r
16390 # Instead, we relocate shared libraries at runtime.
\r
16394 # Just because we use GCC doesn't mean we suddenly get shared libraries
\r
16395 # on systems that don't support them.
\r
16396 lt_prog_compiler_can_build_shared_GCJ=no
\r
16401 if test -d /usr/nec; then
\r
16402 lt_prog_compiler_pic_GCJ=-Kconform_pic
\r
16407 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
\r
16408 # not for PA HP-UX.
\r
16409 case $host_cpu in
\r
16414 lt_prog_compiler_pic_GCJ='-fPIC'
\r
16420 lt_prog_compiler_pic_GCJ='-fPIC'
\r
16424 # PORTME Check for flag to pass linker flags through the system compiler.
\r
16427 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16428 if test "$host_cpu" = ia64; then
\r
16429 # AIX 5 now supports IA64 processor
\r
16430 lt_prog_compiler_static_GCJ='-Bstatic'
\r
16432 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
\r
16436 # PIC is the default on this platform
\r
16437 # Common symbols not allowed in MH_DYLIB files
\r
16438 case $cc_basename in
\r
16440 lt_prog_compiler_pic_GCJ='-qnocommon'
\r
16441 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16446 mingw* | pw32* | os2*)
\r
16447 # This hack is so that the source file can tell whether it is being
\r
16448 # built for inclusion in a dll (and should export symbols for example).
\r
16449 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
\r
16452 hpux9* | hpux10* | hpux11*)
\r
16453 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16454 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
\r
16455 # not for PA HP-UX.
\r
16456 case $host_cpu in
\r
16461 lt_prog_compiler_pic_GCJ='+Z'
\r
16464 # Is there a better lt_prog_compiler_static that works with the bundled CC?
\r
16465 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
\r
16468 irix5* | irix6* | nonstopux*)
\r
16469 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16470 # PIC (with -KPIC) is the default.
\r
16471 lt_prog_compiler_static_GCJ='-non_shared'
\r
16475 lt_prog_compiler_pic_GCJ='-KPIC'
\r
16476 lt_prog_compiler_static_GCJ='-Bstatic'
\r
16480 case $cc_basename in
\r
16482 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16483 lt_prog_compiler_pic_GCJ='-KPIC'
\r
16484 lt_prog_compiler_static_GCJ='-static'
\r
16486 pgcc* | pgf77* | pgf90* | pgf95*)
\r
16487 # Portland Group compilers (*not* the Pentium gcc compiler,
\r
16488 # which looks to be a dead project)
\r
16489 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16490 lt_prog_compiler_pic_GCJ='-fpic'
\r
16491 lt_prog_compiler_static_GCJ='-Bstatic'
\r
16494 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16495 # All Alpha code is PIC.
\r
16496 lt_prog_compiler_static_GCJ='-non_shared'
\r
16501 osf3* | osf4* | osf5*)
\r
16502 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16503 # All OSF/1 code is PIC.
\r
16504 lt_prog_compiler_static_GCJ='-non_shared'
\r
16508 lt_prog_compiler_pic_GCJ='-KPIC'
\r
16509 lt_prog_compiler_static_GCJ='-Bstatic'
\r
16510 case $cc_basename in
\r
16511 f77* | f90* | f95*)
\r
16512 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
\r
16514 lt_prog_compiler_wl_GCJ='-Wl,';;
\r
16519 lt_prog_compiler_wl_GCJ='-Qoption ld '
\r
16520 lt_prog_compiler_pic_GCJ='-PIC'
\r
16521 lt_prog_compiler_static_GCJ='-Bstatic'
\r
16524 sysv4 | sysv4.2uw2* | sysv4.3*)
\r
16525 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16526 lt_prog_compiler_pic_GCJ='-KPIC'
\r
16527 lt_prog_compiler_static_GCJ='-Bstatic'
\r
16531 if test -d /usr/nec ;then
\r
16532 lt_prog_compiler_pic_GCJ='-Kconform_pic'
\r
16533 lt_prog_compiler_static_GCJ='-Bstatic'
\r
16537 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
\r
16538 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16539 lt_prog_compiler_pic_GCJ='-KPIC'
\r
16540 lt_prog_compiler_static_GCJ='-Bstatic'
\r
16544 lt_prog_compiler_wl_GCJ='-Wl,'
\r
16545 lt_prog_compiler_can_build_shared_GCJ=no
\r
16549 lt_prog_compiler_pic_GCJ='-pic'
\r
16550 lt_prog_compiler_static_GCJ='-Bstatic'
\r
16554 lt_prog_compiler_can_build_shared_GCJ=no
\r
16559 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
\r
16560 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
\r
16563 # Check to make sure the PIC flag actually works.
\r
16565 if test -n "$lt_prog_compiler_pic_GCJ"; then
\r
16567 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
\r
16568 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
\r
16569 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
\r
16570 $as_echo_n "(cached) " >&6
\r
16572 lt_prog_compiler_pic_works_GCJ=no
\r
16573 ac_outfile=conftest.$ac_objext
\r
16574 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
16575 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
\r
16576 # Insert the option either (1) after the last *FLAGS variable, or
\r
16577 # (2) before a word containing "conftest.", or (3) at the end.
\r
16578 # Note that $ac_compile itself does not contain backslashes and begins
\r
16579 # with a dollar sign (not a hyphen), so the echo should work correctly.
\r
16580 # The option is referenced via a variable to avoid confusing sed.
\r
16581 lt_compile=`echo "$ac_compile" | $SED \
\r
16582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
\r
16583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
\r
16584 -e 's:$: $lt_compiler_flag:'`
\r
16585 (eval echo "\"\$as_me:16585: $lt_compile\"" >&5)
\r
16586 (eval "$lt_compile" 2>conftest.err)
\r
16588 cat conftest.err >&5
\r
16589 echo "$as_me:16589: \$? = $ac_status" >&5
\r
16590 if (exit $ac_status) && test -s "$ac_outfile"; then
\r
16591 # The compiler can only warn and ignore the option if not recognized
\r
16592 # So say no if there are warnings other than the usual output.
\r
16593 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
\r
16594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
\r
16595 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
\r
16596 lt_prog_compiler_pic_works_GCJ=yes
\r
16602 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
\r
16603 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
\r
16605 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
\r
16606 case $lt_prog_compiler_pic_GCJ in
\r
16608 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
\r
16611 lt_prog_compiler_pic_GCJ=
\r
16612 lt_prog_compiler_can_build_shared_GCJ=no
\r
16617 # For platforms which do not support PIC, -DPIC is meaningless:
\r
16619 lt_prog_compiler_pic_GCJ=
\r
16622 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
\r
16627 # Check to make sure the static flag actually works.
\r
16629 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
\r
16630 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
\r
16631 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
\r
16632 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
\r
16633 $as_echo_n "(cached) " >&6
\r
16635 lt_prog_compiler_static_works_GCJ=no
\r
16636 save_LDFLAGS="$LDFLAGS"
\r
16637 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
\r
16638 printf "$lt_simple_link_test_code" > conftest.$ac_ext
\r
16639 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
\r
16640 # The linker can only warn and ignore the option if not recognized
\r
16641 # So say no if there are warnings
\r
16642 if test -s conftest.err; then
\r
16643 # Append any errors to the config.log.
\r
16644 cat conftest.err 1>&5
\r
16645 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
\r
16646 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
\r
16647 if diff conftest.exp conftest.er2 >/dev/null; then
\r
16648 lt_prog_compiler_static_works_GCJ=yes
\r
16651 lt_prog_compiler_static_works_GCJ=yes
\r
16655 LDFLAGS="$save_LDFLAGS"
\r
16658 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
\r
16659 $as_echo "$lt_prog_compiler_static_works_GCJ" >&6; }
\r
16661 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
\r
16664 lt_prog_compiler_static_GCJ=
\r
16668 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
\r
16669 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
\r
16670 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
\r
16671 $as_echo_n "(cached) " >&6
\r
16673 lt_cv_prog_compiler_c_o_GCJ=no
\r
16674 $rm -r conftest 2>/dev/null
\r
16678 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
16680 lt_compiler_flag="-o out/conftest2.$ac_objext"
\r
16681 # Insert the option either (1) after the last *FLAGS variable, or
\r
16682 # (2) before a word containing "conftest.", or (3) at the end.
\r
16683 # Note that $ac_compile itself does not contain backslashes and begins
\r
16684 # with a dollar sign (not a hyphen), so the echo should work correctly.
\r
16685 lt_compile=`echo "$ac_compile" | $SED \
\r
16686 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
\r
16687 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
\r
16688 -e 's:$: $lt_compiler_flag:'`
\r
16689 (eval echo "\"\$as_me:16689: $lt_compile\"" >&5)
\r
16690 (eval "$lt_compile" 2>out/conftest.err)
\r
16692 cat out/conftest.err >&5
\r
16693 echo "$as_me:16693: \$? = $ac_status" >&5
\r
16694 if (exit $ac_status) && test -s out/conftest2.$ac_objext
\r
16696 # The compiler can only warn and ignore the option if not recognized
\r
16697 # So say no if there are warnings
\r
16698 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
\r
16699 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
\r
16700 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
\r
16701 lt_cv_prog_compiler_c_o_GCJ=yes
\r
16706 # SGI C++ compiler will create directory out/ii_files/ for
\r
16707 # template instantiation
\r
16708 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
\r
16709 $rm out/* && rmdir out
\r
16715 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
\r
16716 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
\r
16719 hard_links="nottested"
\r
16720 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
\r
16721 # do not overwrite the value of need_locks provided by the user
\r
16722 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
\r
16723 $as_echo_n "checking if we can lock with hard links... " >&6; }
\r
16726 ln conftest.a conftest.b 2>/dev/null && hard_links=no
\r
16728 ln conftest.a conftest.b 2>&5 || hard_links=no
\r
16729 ln conftest.a conftest.b 2>/dev/null && hard_links=no
\r
16730 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
\r
16731 $as_echo "$hard_links" >&6; }
\r
16732 if test "$hard_links" = no; then
\r
16733 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
\r
16734 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
\r
16741 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
\r
16742 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
\r
16745 allow_undefined_flag_GCJ=
\r
16746 enable_shared_with_static_runtimes_GCJ=no
\r
16747 archive_cmds_GCJ=
\r
16748 archive_expsym_cmds_GCJ=
\r
16749 old_archive_From_new_cmds_GCJ=
\r
16750 old_archive_from_expsyms_cmds_GCJ=
\r
16751 export_dynamic_flag_spec_GCJ=
\r
16752 whole_archive_flag_spec_GCJ=
\r
16753 thread_safe_flag_spec_GCJ=
\r
16754 hardcode_libdir_flag_spec_GCJ=
\r
16755 hardcode_libdir_flag_spec_ld_GCJ=
\r
16756 hardcode_libdir_separator_GCJ=
\r
16757 hardcode_direct_GCJ=no
\r
16758 hardcode_minus_L_GCJ=no
\r
16759 hardcode_shlibpath_var_GCJ=unsupported
\r
16760 link_all_deplibs_GCJ=unknown
\r
16761 hardcode_automatic_GCJ=no
\r
16763 module_expsym_cmds_GCJ=
\r
16764 always_export_symbols_GCJ=no
\r
16765 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
\r
16766 # include_expsyms should be a list of space-separated symbols to be *always*
\r
16767 # included in the symbol list
\r
16768 include_expsyms_GCJ=
\r
16769 # exclude_expsyms can be an extended regexp of symbols to exclude
\r
16770 # it will be wrapped by ` (' and `)$', so one must not match beginning or
\r
16771 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
\r
16772 # as well as any symbol that contains `d'.
\r
16773 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
\r
16774 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
\r
16775 # platforms (ab)use it in PIC code, but their linkers get confused if
\r
16776 # the symbol is explicitly referenced. Since portable code cannot
\r
16777 # rely on this symbol name, it's probably fine to never include it in
\r
16778 # preloaded symbol tables.
\r
16779 extract_expsyms_cmds=
\r
16780 # Just being paranoid about ensuring that cc_basename is set.
\r
16781 for cc_temp in $compiler""; do
\r
16783 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
\r
16784 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\r
16789 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
\r
16792 cygwin* | mingw* | pw32*)
\r
16793 # FIXME: the MSVC++ port hasn't been tested in a loooong time
\r
16794 # When not using gcc, we currently assume that we are using
\r
16795 # Microsoft Visual C++.
\r
16796 if test "$GCC" != yes; then
\r
16801 # we just hope/assume this is gcc and not c89 (= MSVC++)
\r
16809 ld_shlibs_GCJ=yes
\r
16810 if test "$with_gnu_ld" = yes; then
\r
16811 # If archive_cmds runs LD, not CC, wlarc should be empty
\r
16814 # Set some defaults for GNU ld with shared library support. These
\r
16815 # are reset later if shared libraries are not supported. Putting them
\r
16816 # here allows them to be overridden if necessary.
\r
16817 runpath_var=LD_RUN_PATH
\r
16818 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
\r
16819 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
\r
16820 # ancient GNU ld didn't support --whole-archive et. al.
\r
16821 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
\r
16822 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
\r
16824 whole_archive_flag_spec_GCJ=
\r
16826 supports_anon_versioning=no
\r
16827 case `$LD -v 2>/dev/null` in
\r
16828 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
\r
16829 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
\r
16830 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
\r
16831 *\ 2.11.*) ;; # other 2.11 versions
\r
16832 *) supports_anon_versioning=yes ;;
\r
16835 # See if GNU ld supports shared libraries.
\r
16837 aix3* | aix4* | aix5*)
\r
16838 # On AIX/PPC, the GNU linker is very broken
\r
16839 if test "$host_cpu" != ia64; then
\r
16843 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
\r
16844 *** to be unable to reliably create shared libraries on AIX.
\r
16845 *** Therefore, libtool is disabling shared libraries support. If you
\r
16846 *** really care for shared libraries, you may want to modify your PATH
\r
16847 *** so that a non-GNU linker is found, and then restart.
\r
16854 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)'
\r
16855 hardcode_libdir_flag_spec_GCJ='-L$libdir'
\r
16856 hardcode_minus_L_GCJ=yes
\r
16858 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
\r
16859 # that the semantics of dynamic libraries on AmigaOS, at least up
\r
16860 # to version 4, is to share data among multiple programs linked
\r
16861 # with the same dynamic library. Since this doesn't match the
\r
16862 # behavior of shared libraries on other platforms, we can't use
\r
16868 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
16869 allow_undefined_flag_GCJ=unsupported
\r
16870 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
\r
16871 # support --undefined. This deserves some investigation. FIXME
\r
16872 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
16878 cygwin* | mingw* | pw32*)
\r
16879 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
\r
16880 # as there is no search path for DLLs.
\r
16881 hardcode_libdir_flag_spec_GCJ='-L$libdir'
\r
16882 allow_undefined_flag_GCJ=unsupported
\r
16883 always_export_symbols_GCJ=no
\r
16884 enable_shared_with_static_runtimes_GCJ=yes
\r
16885 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
\r
16887 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
\r
16888 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
\r
16889 # If the export-symbols file already is a .def file (1st line
\r
16890 # is EXPORTS), use it as is; otherwise, prepend...
\r
16891 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
\r
16892 cp $export_symbols $output_objdir/$soname.def;
\r
16894 echo EXPORTS > $output_objdir/$soname.def;
\r
16895 cat $export_symbols >> $output_objdir/$soname.def;
\r
16897 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
\r
16904 hardcode_direct_GCJ=no
\r
16905 hardcode_shlibpath_var_GCJ=no
\r
16906 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
\r
16907 export_dynamic_flag_spec_GCJ='${wl}-E'
\r
16908 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
\r
16909 # Instead, shared libraries are loaded at an image base (0x10000000 by
\r
16910 # default) and relocated if they conflict, which is a slow very memory
\r
16911 # consuming and fragmenting process. To avoid this, we pick a random,
\r
16912 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
\r
16913 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
\r
16914 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
\r
16915 archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
\r
16919 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
16921 case $cc_basename,$host_cpu in
\r
16922 pgcc*) # Portland Group C compiler
\r
16923 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
\r
16924 tmp_addflag=' $pic_flag'
\r
16926 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
\r
16927 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
\r
16928 tmp_addflag=' $pic_flag -Mnomain' ;;
\r
16929 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
\r
16930 tmp_addflag=' -i_dynamic' ;;
\r
16931 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
\r
16932 tmp_addflag=' -i_dynamic -nofor_main' ;;
\r
16933 ifc* | ifort*) # Intel Fortran compiler
\r
16934 tmp_addflag=' -nofor_main' ;;
\r
16936 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
16938 if test $supports_anon_versioning = yes; then
\r
16939 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
\r
16940 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
\r
16941 $echo "local: *; };" >> $output_objdir/$libname.ver~
\r
16942 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
\r
16950 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
\r
16951 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
\r
16954 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
16955 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
\r
16960 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
\r
16964 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
\r
16965 *** create shared libraries on Solaris systems. Therefore, libtool
\r
16966 *** is disabling shared libraries support. We urge you to upgrade GNU
\r
16967 *** binutils to release 2.9.1 or newer. Another option is to modify
\r
16968 *** your PATH or compiler configuration so that the native linker is
\r
16969 *** used, and then restart.
\r
16972 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
16973 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
16974 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
\r
16980 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
\r
16981 case `$LD -v 2>&1` in
\r
16982 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
\r
16984 cat <<_LT_EOF 1>&2
\r
16986 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
\r
16987 *** reliably create shared libraries on SCO systems. Therefore, libtool
\r
16988 *** is disabling shared libraries support. We urge you to upgrade GNU
\r
16989 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
\r
16990 *** your PATH or compiler configuration so that the native linker is
\r
16991 *** used, and then restart.
\r
16996 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
16997 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
\r
16998 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
\r
16999 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
\r
17008 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
\r
17010 hardcode_direct_GCJ=yes
\r
17011 hardcode_shlibpath_var_GCJ=no
\r
17015 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
\r
17016 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
\r
17017 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
\r
17024 if test "$ld_shlibs_GCJ" = no; then
\r
17026 hardcode_libdir_flag_spec_GCJ=
\r
17027 export_dynamic_flag_spec_GCJ=
\r
17028 whole_archive_flag_spec_GCJ=
\r
17031 # PORTME fill in a description of your system's linker (not GNU ld)
\r
17034 allow_undefined_flag_GCJ=unsupported
\r
17035 always_export_symbols_GCJ=yes
\r
17036 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'
\r
17037 # Note: this linker hardcodes the directories in LIBPATH if there
\r
17038 # are no directories specified by -L.
\r
17039 hardcode_minus_L_GCJ=yes
\r
17040 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
\r
17041 # Neither direct hardcoding nor static linking is supported with a
\r
17042 # broken collect2.
\r
17043 hardcode_direct_GCJ=unsupported
\r
17048 if test "$host_cpu" = ia64; then
\r
17049 # On IA64, the linker does run time linking by default, so we don't
\r
17050 # have to do anything special.
\r
17051 aix_use_runtimelinking=no
\r
17052 exp_sym_flag='-Bexport'
\r
17055 # If we're using GNU nm, then we don't want the "-C" option.
\r
17056 # -C means demangle to AIX nm, but means don't demangle with GNU nm
\r
17057 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
\r
17058 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'
\r
17060 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'
\r
17062 aix_use_runtimelinking=no
\r
17064 # Test if we are trying to use run time linking or normal
\r
17065 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
\r
17066 # need to do runtime linking.
\r
17067 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
\r
17068 for ld_flag in $LDFLAGS; do
\r
17069 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
\r
17070 aix_use_runtimelinking=yes
\r
17077 exp_sym_flag='-bexport'
\r
17078 no_entry_flag='-bnoentry'
\r
17081 # When large executables or shared objects are built, AIX ld can
\r
17082 # have problems creating the table of contents. If linking a library
\r
17083 # or program results in "error TOC overflow" add -mminimal-toc to
\r
17084 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
\r
17085 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
\r
17087 archive_cmds_GCJ=''
\r
17088 hardcode_direct_GCJ=yes
\r
17089 hardcode_libdir_separator_GCJ=':'
\r
17090 link_all_deplibs_GCJ=yes
\r
17092 if test "$GCC" = yes; then
\r
17093 case $host_os in aix4.[012]|aix4.[012].*)
\r
17094 # We only want to do this on AIX 4.2 and lower, the check
\r
17095 # below for broken collect2 doesn't work under 4.3+
\r
17096 collect2name=`${CC} -print-prog-name=collect2`
\r
17097 if test -f "$collect2name" && \
\r
17098 strings "$collect2name" | grep resolve_lib_name >/dev/null
\r
17100 # We have reworked collect2
\r
17101 hardcode_direct_GCJ=yes
\r
17103 # We have old collect2
\r
17104 hardcode_direct_GCJ=unsupported
\r
17105 # It fails to find uninstalled libraries when the uninstalled
\r
17106 # path is not listed in the libpath. Setting hardcode_minus_L
\r
17107 # to unsupported forces relinking
\r
17108 hardcode_minus_L_GCJ=yes
\r
17109 hardcode_libdir_flag_spec_GCJ='-L$libdir'
\r
17110 hardcode_libdir_separator_GCJ=
\r
17114 shared_flag='-shared'
\r
17115 if test "$aix_use_runtimelinking" = yes; then
\r
17116 shared_flag="$shared_flag "'${wl}-G'
\r
17120 if test "$host_cpu" = ia64; then
\r
17121 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
\r
17122 # chokes on -Wl,-G. The following line is correct:
\r
17125 if test "$aix_use_runtimelinking" = yes; then
\r
17126 shared_flag='${wl}-G'
\r
17128 shared_flag='${wl}-bM:SRE'
\r
17133 # It seems that -bexpall does not export symbols beginning with
\r
17134 # underscore (_), so it is better to generate a list of symbols to export.
\r
17135 always_export_symbols_GCJ=yes
\r
17136 if test "$aix_use_runtimelinking" = yes; then
\r
17137 # Warning - without using the other runtime loading flags (-brtl),
\r
17138 # -berok will link without error, but may produce a broken library.
\r
17139 allow_undefined_flag_GCJ='-berok'
\r
17140 # Determine the default libpath from the value encoded in an empty executable.
\r
17141 cat >conftest.$ac_ext <<_ACEOF
\r
17142 /* confdefs.h. */
\r
17144 cat confdefs.h >>conftest.$ac_ext
\r
17145 cat >>conftest.$ac_ext <<_ACEOF
\r
17146 /* end confdefs.h. */
\r
17156 rm -f conftest.$ac_objext conftest$ac_exeext
\r
17157 if { (ac_try="$ac_link"
\r
17158 case "(($ac_try" in
\r
17159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
17160 *) ac_try_echo=$ac_try;;
\r
17162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
17163 $as_echo "$ac_try_echo") >&5
\r
17164 (eval "$ac_link") 2>conftest.er1
\r
17166 grep -v '^ *+' conftest.er1 >conftest.err
\r
17167 rm -f conftest.er1
\r
17168 cat conftest.err >&5
\r
17169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
17170 (exit $ac_status); } && {
\r
17171 test -z "$ac_c_werror_flag" ||
\r
17172 test ! -s conftest.err
\r
17173 } && test -s conftest$ac_exeext && {
\r
17174 test "$cross_compiling" = yes ||
\r
17175 $as_test_x conftest$ac_exeext
\r
17178 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
\r
17180 # Check for a 64-bit object if we didn't find anything.
\r
17181 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; }
\r
17184 $as_echo "$as_me: failed program was:" >&5
\r
17185 sed 's/^/| /' conftest.$ac_ext >&5
\r
17190 rm -rf conftest.dSYM
\r
17191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
17192 conftest$ac_exeext conftest.$ac_ext
\r
17193 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
\r
17195 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
\r
17196 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
\r
17198 if test "$host_cpu" = ia64; then
\r
17199 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
\r
17200 allow_undefined_flag_GCJ="-z nodefs"
\r
17201 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
\r
17203 # Determine the default libpath from the value encoded in an empty executable.
\r
17204 cat >conftest.$ac_ext <<_ACEOF
\r
17205 /* confdefs.h. */
\r
17207 cat confdefs.h >>conftest.$ac_ext
\r
17208 cat >>conftest.$ac_ext <<_ACEOF
\r
17209 /* end confdefs.h. */
\r
17219 rm -f conftest.$ac_objext conftest$ac_exeext
\r
17220 if { (ac_try="$ac_link"
\r
17221 case "(($ac_try" in
\r
17222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
17223 *) ac_try_echo=$ac_try;;
\r
17225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
17226 $as_echo "$ac_try_echo") >&5
\r
17227 (eval "$ac_link") 2>conftest.er1
\r
17229 grep -v '^ *+' conftest.er1 >conftest.err
\r
17230 rm -f conftest.er1
\r
17231 cat conftest.err >&5
\r
17232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
17233 (exit $ac_status); } && {
\r
17234 test -z "$ac_c_werror_flag" ||
\r
17235 test ! -s conftest.err
\r
17236 } && test -s conftest$ac_exeext && {
\r
17237 test "$cross_compiling" = yes ||
\r
17238 $as_test_x conftest$ac_exeext
\r
17241 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
\r
17243 # Check for a 64-bit object if we didn't find anything.
\r
17244 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; }
\r
17247 $as_echo "$as_me: failed program was:" >&5
\r
17248 sed 's/^/| /' conftest.$ac_ext >&5
\r
17253 rm -rf conftest.dSYM
\r
17254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
17255 conftest$ac_exeext conftest.$ac_ext
\r
17256 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
\r
17258 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
\r
17259 # Warning - without using the other run time loading flags,
\r
17260 # -berok will link without error, but may produce a broken library.
\r
17261 no_undefined_flag_GCJ=' ${wl}-bernotok'
\r
17262 allow_undefined_flag_GCJ=' ${wl}-berok'
\r
17263 # Exported symbols can be pulled into shared objects from archives
\r
17264 whole_archive_flag_spec_GCJ='$convenience'
\r
17265 archive_cmds_need_lc_GCJ=yes
\r
17266 # This is similar to how AIX traditionally builds its shared libraries.
\r
17267 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
\r
17273 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)'
\r
17274 hardcode_libdir_flag_spec_GCJ='-L$libdir'
\r
17275 hardcode_minus_L_GCJ=yes
\r
17276 # see comment about different semantics on the GNU ld section
\r
17281 export_dynamic_flag_spec_GCJ=-rdynamic
\r
17284 cygwin* | mingw* | pw32*)
\r
17285 # When not using gcc, we currently assume that we are using
\r
17286 # Microsoft Visual C++.
\r
17287 # hardcode_libdir_flag_spec is actually meaningless, as there is
\r
17288 # no search path for DLLs.
\r
17289 hardcode_libdir_flag_spec_GCJ=' '
\r
17290 allow_undefined_flag_GCJ=unsupported
\r
17291 # Tell ltmain to make .lib files, not .a files.
\r
17293 # Tell ltmain to make .dll files, not .so files.
\r
17294 shrext_cmds=".dll"
\r
17295 # FIXME: Setting linknames here is a bad hack.
\r
17296 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
\r
17297 # The linker will automatically build a .lib file if we build a DLL.
\r
17298 old_archive_From_new_cmds_GCJ='true'
\r
17299 # FIXME: Should let the user specify the lib program.
\r
17300 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
\r
17301 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
\r
17302 enable_shared_with_static_runtimes_GCJ=yes
\r
17305 darwin* | rhapsody*)
\r
17307 rhapsody* | darwin1.[012])
\r
17308 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
\r
17310 *) # Darwin 1.3 on
\r
17311 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
\r
17312 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
\r
17314 case ${MACOSX_DEPLOYMENT_TARGET} in
\r
17316 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
\r
17319 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
\r
17325 archive_cmds_need_lc_GCJ=no
\r
17326 hardcode_direct_GCJ=no
\r
17327 hardcode_automatic_GCJ=yes
\r
17328 hardcode_shlibpath_var_GCJ=unsupported
\r
17329 whole_archive_flag_spec_GCJ=''
\r
17330 link_all_deplibs_GCJ=yes
\r
17331 if test "$GCC" = yes ; then
\r
17332 output_verbose_link_cmd='echo'
\r
17333 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
\r
17334 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
\r
17335 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
\r
17336 archive_expsym_cmds_GCJ='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}'
\r
17337 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
17339 case $cc_basename in
\r
17341 output_verbose_link_cmd='echo'
\r
17342 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
\r
17343 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
\r
17344 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
\r
17345 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
17346 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
\r
17356 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
17357 hardcode_libdir_flag_spec_GCJ='-L$libdir'
\r
17358 hardcode_shlibpath_var_GCJ=no
\r
17365 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
\r
17366 # support. Future versions do this automatically, but an explicit c++rt0.o
\r
17367 # does not break anything, and helps significantly (at the cost of a little
\r
17370 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
\r
17371 hardcode_libdir_flag_spec_GCJ='-R$libdir'
\r
17372 hardcode_direct_GCJ=yes
\r
17373 hardcode_shlibpath_var_GCJ=no
\r
17376 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
\r
17378 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
\r
17379 hardcode_direct_GCJ=yes
\r
17380 hardcode_minus_L_GCJ=yes
\r
17381 hardcode_shlibpath_var_GCJ=no
\r
17384 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
\r
17385 freebsd* | kfreebsd*-gnu | dragonfly*)
\r
17386 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
\r
17387 hardcode_libdir_flag_spec_GCJ='-R$libdir'
\r
17388 hardcode_direct_GCJ=yes
\r
17389 hardcode_shlibpath_var_GCJ=no
\r
17393 if test "$GCC" = yes; then
\r
17394 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'
\r
17396 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'
\r
17398 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
\r
17399 hardcode_libdir_separator_GCJ=:
\r
17400 hardcode_direct_GCJ=yes
\r
17402 # hardcode_minus_L: Not really in the search PATH,
\r
17403 # but as the default location of the library.
\r
17404 hardcode_minus_L_GCJ=yes
\r
17405 export_dynamic_flag_spec_GCJ='${wl}-E'
\r
17409 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
\r
17410 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
\r
17412 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
\r
17414 if test "$with_gnu_ld" = no; then
\r
17415 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
\r
17416 hardcode_libdir_separator_GCJ=:
\r
17418 hardcode_direct_GCJ=yes
\r
17419 export_dynamic_flag_spec_GCJ='${wl}-E'
\r
17421 # hardcode_minus_L: Not really in the search PATH,
\r
17422 # but as the default location of the library.
\r
17423 hardcode_minus_L_GCJ=yes
\r
17428 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
\r
17429 case $host_cpu in
\r
17431 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17434 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
\r
17437 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
\r
17441 case $host_cpu in
\r
17443 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17446 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
\r
17449 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
\r
17453 if test "$with_gnu_ld" = no; then
\r
17454 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
\r
17455 hardcode_libdir_separator_GCJ=:
\r
17457 case $host_cpu in
\r
17459 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
\r
17460 hardcode_direct_GCJ=no
\r
17461 hardcode_shlibpath_var_GCJ=no
\r
17464 hardcode_direct_GCJ=yes
\r
17465 export_dynamic_flag_spec_GCJ='${wl}-E'
\r
17467 # hardcode_minus_L: Not really in the search PATH,
\r
17468 # but as the default location of the library.
\r
17469 hardcode_minus_L_GCJ=yes
\r
17475 irix5* | irix6* | nonstopux*)
\r
17476 if test "$GCC" = yes; then
\r
17477 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'
\r
17479 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'
\r
17480 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
\r
17482 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
\r
17483 hardcode_libdir_separator_GCJ=:
\r
17484 link_all_deplibs_GCJ=yes
\r
17488 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
\r
17489 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
\r
17491 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
\r
17493 hardcode_libdir_flag_spec_GCJ='-R$libdir'
\r
17494 hardcode_direct_GCJ=yes
\r
17495 hardcode_shlibpath_var_GCJ=no
\r
17499 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
17500 hardcode_direct_GCJ=yes
\r
17501 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
\r
17502 hardcode_libdir_separator_GCJ=:
\r
17503 hardcode_shlibpath_var_GCJ=no
\r
17507 hardcode_direct_GCJ=yes
\r
17508 hardcode_shlibpath_var_GCJ=no
\r
17509 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
\r
17510 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
\r
17511 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
\r
17512 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
\r
17513 export_dynamic_flag_spec_GCJ='${wl}-E'
\r
17516 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
\r
17517 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
\r
17518 hardcode_libdir_flag_spec_GCJ='-R$libdir'
\r
17521 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
\r
17522 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
\r
17529 hardcode_libdir_flag_spec_GCJ='-L$libdir'
\r
17530 hardcode_minus_L_GCJ=yes
\r
17531 allow_undefined_flag_GCJ=unsupported
\r
17532 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'
\r
17533 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
\r
17537 if test "$GCC" = yes; then
\r
17538 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
\r
17539 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'
\r
17541 allow_undefined_flag_GCJ=' -expect_unresolved \*'
\r
17542 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'
\r
17544 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
\r
17545 hardcode_libdir_separator_GCJ=:
\r
17548 osf4* | osf5*) # as osf3* with the addition of -msym flag
\r
17549 if test "$GCC" = yes; then
\r
17550 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
\r
17551 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'
\r
17552 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
\r
17554 allow_undefined_flag_GCJ=' -expect_unresolved \*'
\r
17555 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'
\r
17556 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~
\r
17557 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
\r
17559 # Both c and cxx compiler support -rpath directly
\r
17560 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
\r
17562 hardcode_libdir_separator_GCJ=:
\r
17566 no_undefined_flag_GCJ=' -z text'
\r
17567 if test "$GCC" = yes; then
\r
17569 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17570 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
\r
17571 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
\r
17574 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
17575 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
\r
17576 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
\r
17578 hardcode_libdir_flag_spec_GCJ='-R$libdir'
\r
17579 hardcode_shlibpath_var_GCJ=no
\r
17581 solaris2.[0-5] | solaris2.[0-5].*) ;;
\r
17583 # The compiler driver will combine linker options so we
\r
17584 # cannot just pass the convience library names through
\r
17585 # without $wl, iff we do not link with $LD.
\r
17586 # Luckily, gcc supports the same syntax we need for Sun Studio.
\r
17587 # Supported since Solaris 2.6 (maybe 2.5.1?)
\r
17590 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
\r
17592 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
\r
17595 link_all_deplibs_GCJ=yes
\r
17599 if test "x$host_vendor" = xsequent; then
\r
17600 # Use $CC to link under sequent, because it throws in some extra .o
\r
17601 # files that make .init and .fini sections work.
\r
17602 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17604 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
\r
17606 hardcode_libdir_flag_spec_GCJ='-L$libdir'
\r
17607 hardcode_direct_GCJ=yes
\r
17608 hardcode_minus_L_GCJ=yes
\r
17609 hardcode_shlibpath_var_GCJ=no
\r
17613 case $host_vendor in
\r
17615 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
17616 hardcode_direct_GCJ=yes # is this really true???
\r
17619 ## LD is ld it makes a PLAMLIB
\r
17620 ## CC just makes a GrossModule.
\r
17621 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
\r
17622 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
\r
17623 hardcode_direct_GCJ=no
\r
17626 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
17627 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
\r
17630 runpath_var='LD_RUN_PATH'
\r
17631 hardcode_shlibpath_var_GCJ=no
\r
17635 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
17636 hardcode_shlibpath_var_GCJ=no
\r
17637 export_dynamic_flag_spec_GCJ='-Bexport'
\r
17641 if test -d /usr/nec; then
\r
17642 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
17643 hardcode_shlibpath_var_GCJ=no
\r
17644 runpath_var=LD_RUN_PATH
\r
17645 hardcode_runpath_var=yes
\r
17646 ld_shlibs_GCJ=yes
\r
17650 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
\r
17651 no_undefined_flag_GCJ='${wl}-z,text'
\r
17652 archive_cmds_need_lc_GCJ=no
\r
17653 hardcode_shlibpath_var_GCJ=no
\r
17654 runpath_var='LD_RUN_PATH'
\r
17656 if test "$GCC" = yes; then
\r
17657 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17658 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17660 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17661 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17665 sysv5* | sco3.2v5* | sco5v6*)
\r
17666 # Note: We can NOT use -z defs as we might desire, because we do not
\r
17667 # link with -lc, and that would cause any symbols used from libc to
\r
17668 # always be unresolved, which means just about no library would
\r
17669 # ever link correctly. If we're not using GNU ld we use -z text
\r
17670 # though, which does catch some bad symbols but isn't as heavy-handed
\r
17672 no_undefined_flag_GCJ='${wl}-z,text'
\r
17673 allow_undefined_flag_GCJ='${wl}-z,nodefs'
\r
17674 archive_cmds_need_lc_GCJ=no
\r
17675 hardcode_shlibpath_var_GCJ=no
\r
17676 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
\r
17677 hardcode_libdir_separator_GCJ=':'
\r
17678 link_all_deplibs_GCJ=yes
\r
17679 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
\r
17680 runpath_var='LD_RUN_PATH'
\r
17682 if test "$GCC" = yes; then
\r
17683 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17684 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17686 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17687 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
\r
17692 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
\r
17693 hardcode_libdir_flag_spec_GCJ='-L$libdir'
\r
17694 hardcode_shlibpath_var_GCJ=no
\r
17703 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
\r
17704 $as_echo "$ld_shlibs_GCJ" >&6; }
\r
17705 test "$ld_shlibs_GCJ" = no && can_build_shared=no
\r
17708 # Do we need to explicitly link libc?
\r
17710 case "x$archive_cmds_need_lc_GCJ" in
\r
17712 # Assume -lc should be added
\r
17713 archive_cmds_need_lc_GCJ=yes
\r
17715 if test "$enable_shared" = yes && test "$GCC" = yes; then
\r
17716 case $archive_cmds_GCJ in
\r
17718 # FIXME: we may have to deal with multi-command sequences.
\r
17721 # Test whether the compiler implicitly links with -lc since on some
\r
17722 # systems, -lgcc has to come before -lc. If gcc already passes -lc
\r
17723 # to ld, don't add -lc before -lgcc.
\r
17724 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
\r
17725 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
\r
17727 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
\r
17729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
17730 (eval $ac_compile) 2>&5
\r
17732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
17733 (exit $ac_status); } 2>conftest.err; then
\r
17736 libobjs=conftest.$ac_objext
\r
17738 wl=$lt_prog_compiler_wl_GCJ
\r
17739 pic_flag=$lt_prog_compiler_pic_GCJ
\r
17740 compiler_flags=-v
\r
17745 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
\r
17746 allow_undefined_flag_GCJ=
\r
17747 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
\r
17748 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
\r
17750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
17751 (exit $ac_status); }
\r
17753 archive_cmds_need_lc_GCJ=no
\r
17755 archive_cmds_need_lc_GCJ=yes
\r
17757 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
\r
17759 cat conftest.err 1>&5
\r
17762 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
\r
17763 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
\r
17770 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
\r
17771 $as_echo_n "checking dynamic linker characteristics... " >&6; }
\r
17772 library_names_spec=
\r
17773 libname_spec='lib$name'
\r
17775 shrext_cmds=".so"
\r
17776 postinstall_cmds=
\r
17777 postuninstall_cmds=
\r
17781 shlibpath_overrides_runpath=unknown
\r
17782 version_type=none
\r
17783 dynamic_linker="$host_os ld.so"
\r
17784 sys_lib_dlsearch_path_spec="/lib /usr/lib"
\r
17785 if test "$GCC" = yes; then
\r
17786 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
\r
17787 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
\r
17788 # if the path contains ";" then we assume it to be the separator
\r
17789 # otherwise default to the standard path separator (i.e. ":") - it is
\r
17790 # assumed that no part of a normal pathname contains ";" but that should
\r
17791 # okay in the real world where ";" in dirpaths is itself problematic.
\r
17792 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
\r
17794 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
\r
17797 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
\r
17799 need_lib_prefix=unknown
\r
17800 hardcode_into_libs=no
\r
17802 # when you set need_version to no, make sure it does not cause -set_version
\r
17803 # flags to be left without arguments
\r
17804 need_version=unknown
\r
17808 version_type=linux
\r
17809 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
\r
17810 shlibpath_var=LIBPATH
\r
17812 # AIX 3 has no versioning support, so we append a major version to the name.
\r
17813 soname_spec='${libname}${release}${shared_ext}$major'
\r
17817 version_type=linux
\r
17818 need_lib_prefix=no
\r
17820 hardcode_into_libs=yes
\r
17821 if test "$host_cpu" = ia64; then
\r
17822 # AIX 5 supports IA64
\r
17823 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
\r
17824 shlibpath_var=LD_LIBRARY_PATH
\r
17826 # With GCC up to 2.95.x, collect2 would create an import file
\r
17827 # for dependence libraries. The import file would start with
\r
17828 # the line `#! .'. This would cause the generated library to
\r
17829 # depend on `.', always an invalid library. This was fixed in
\r
17830 # development snapshots of GCC prior to 3.0.
\r
17832 aix4 | aix4.[01] | aix4.[01].*)
\r
17833 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
\r
17835 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
\r
17838 can_build_shared=no
\r
17842 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
\r
17843 # soname into executable. Probably we can add versioning support to
\r
17844 # collect2, so additional links can be useful in future.
\r
17845 if test "$aix_use_runtimelinking" = yes; then
\r
17846 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
\r
17847 # instead of lib<name>.a to let people know that these are not
\r
17848 # typical AIX shared libraries.
\r
17849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
17851 # We preserve .a as extension for shared libraries through AIX4.2
\r
17852 # and later when we are not doing run time linking.
\r
17853 library_names_spec='${libname}${release}.a $libname.a'
\r
17854 soname_spec='${libname}${release}${shared_ext}$major'
\r
17856 shlibpath_var=LIBPATH
\r
17861 library_names_spec='$libname.ixlibrary $libname.a'
\r
17862 # Create ${libname}_ixlibrary.a entries in /sys/libs.
\r
17863 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'
\r
17867 library_names_spec='${libname}${shared_ext}'
\r
17868 dynamic_linker="$host_os ld.so"
\r
17869 shlibpath_var=LIBRARY_PATH
\r
17873 version_type=linux
\r
17875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
17876 soname_spec='${libname}${release}${shared_ext}$major'
\r
17877 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
\r
17878 shlibpath_var=LD_LIBRARY_PATH
\r
17879 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
\r
17880 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
\r
17881 # the default ld.so.conf also contains /usr/contrib/lib and
\r
17882 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
\r
17883 # libtool to hard-code these into programs
\r
17886 cygwin* | mingw* | pw32*)
\r
17887 version_type=windows
\r
17888 shrext_cmds=".dll"
\r
17890 need_lib_prefix=no
\r
17892 case $GCC,$host_os in
\r
17893 yes,cygwin* | yes,mingw* | yes,pw32*)
\r
17894 library_names_spec='$libname.dll.a'
\r
17895 # DLL is installed to $(libdir)/../bin by postinstall_cmds
\r
17896 postinstall_cmds='base_file=`basename \${file}`~
\r
17897 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
\r
17898 dldir=$destdir/`dirname \$dlpath`~
\r
17899 test -d \$dldir || mkdir -p \$dldir~
\r
17900 $install_prog $dir/$dlname \$dldir/$dlname~
\r
17901 chmod a+x \$dldir/$dlname'
\r
17902 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
\r
17903 dlpath=$dir/\$dldll~
\r
17905 shlibpath_overrides_runpath=yes
\r
17909 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
\r
17910 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
17911 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
\r
17914 # MinGW DLLs use traditional 'lib' prefix
\r
17915 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
17916 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
\r
17917 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
\r
17918 # It is most probably a Windows format PATH printed by
\r
17919 # mingw gcc, but we are running on Cygwin. Gcc prints its search
\r
17920 # path with ; separators, and with drive letters. We can handle the
\r
17921 # drive letters (cygwin fileutils understands them), so leave them,
\r
17922 # especially as we might pass files found there to a mingw objdump,
\r
17923 # which wouldn't understand a cygwinified path. Ahh.
\r
17924 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
\r
17926 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
\r
17930 # pw32 DLLs use 'pw' prefix rather than 'lib'
\r
17931 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
\r
17937 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
\r
17940 dynamic_linker='Win32 ld.exe'
\r
17941 # FIXME: first we should search . and the directory the executable is in
\r
17942 shlibpath_var=PATH
\r
17945 darwin* | rhapsody*)
\r
17946 dynamic_linker="$host_os dyld"
\r
17947 version_type=darwin
\r
17948 need_lib_prefix=no
\r
17950 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
\r
17951 soname_spec='${libname}${release}${major}$shared_ext'
\r
17952 shlibpath_overrides_runpath=yes
\r
17953 shlibpath_var=DYLD_LIBRARY_PATH
\r
17954 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
\r
17955 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
\r
17956 if test "$GCC" = yes; then
\r
17957 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"`
\r
17959 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
\r
17961 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
\r
17965 version_type=linux
\r
17966 need_lib_prefix=no
\r
17968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
\r
17969 soname_spec='${libname}${release}${shared_ext}$major'
\r
17970 shlibpath_var=LD_LIBRARY_PATH
\r
17974 dynamic_linker=no
\r
17978 version_type=linux
\r
17979 need_lib_prefix=no
\r
17981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
17982 soname_spec='${libname}${release}${shared_ext}$major'
\r
17983 shlibpath_var=LD_LIBRARY_PATH
\r
17984 shlibpath_overrides_runpath=no
\r
17985 hardcode_into_libs=yes
\r
17986 dynamic_linker='GNU ld.so'
\r
17989 freebsd* | dragonfly*)
\r
17990 # DragonFly does not have aout. When/if they implement a new
\r
17991 # versioning mechanism, adjust this.
\r
17992 if test -x /usr/bin/objformat; then
\r
17993 objformat=`/usr/bin/objformat`
\r
17996 freebsd[123]*) objformat=aout ;;
\r
17997 *) objformat=elf ;;
\r
18000 version_type=freebsd-$objformat
\r
18001 case $version_type in
\r
18003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
18005 need_lib_prefix=no
\r
18008 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
\r
18012 shlibpath_var=LD_LIBRARY_PATH
\r
18015 shlibpath_overrides_runpath=yes
\r
18017 freebsd3.[01]* | freebsdelf3.[01]*)
\r
18018 shlibpath_overrides_runpath=yes
\r
18019 hardcode_into_libs=yes
\r
18021 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
\r
18022 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
\r
18023 shlibpath_overrides_runpath=no
\r
18024 hardcode_into_libs=yes
\r
18026 freebsd*) # from 4.6 on
\r
18027 shlibpath_overrides_runpath=yes
\r
18028 hardcode_into_libs=yes
\r
18034 version_type=linux
\r
18035 need_lib_prefix=no
\r
18037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
\r
18038 soname_spec='${libname}${release}${shared_ext}$major'
\r
18039 shlibpath_var=LD_LIBRARY_PATH
\r
18040 hardcode_into_libs=yes
\r
18043 hpux9* | hpux10* | hpux11*)
\r
18044 # Give a soname corresponding to the major version so that dld.sl refuses to
\r
18045 # link against other versions.
\r
18046 version_type=sunos
\r
18047 need_lib_prefix=no
\r
18049 case $host_cpu in
\r
18051 shrext_cmds='.so'
\r
18052 hardcode_into_libs=yes
\r
18053 dynamic_linker="$host_os dld.so"
\r
18054 shlibpath_var=LD_LIBRARY_PATH
\r
18055 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
\r
18056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
18057 soname_spec='${libname}${release}${shared_ext}$major'
\r
18058 if test "X$HPUX_IA64_MODE" = X32; then
\r
18059 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
\r
18061 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
\r
18063 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
\r
18066 shrext_cmds='.sl'
\r
18067 hardcode_into_libs=yes
\r
18068 dynamic_linker="$host_os dld.sl"
\r
18069 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
\r
18070 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
\r
18071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
18072 soname_spec='${libname}${release}${shared_ext}$major'
\r
18073 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
\r
18074 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
\r
18077 shrext_cmds='.sl'
\r
18078 dynamic_linker="$host_os dld.sl"
\r
18079 shlibpath_var=SHLIB_PATH
\r
18080 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
\r
18081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
18082 soname_spec='${libname}${release}${shared_ext}$major'
\r
18085 # HP-UX runs *really* slowly unless shared libraries are mode 555.
\r
18086 postinstall_cmds='chmod 555 $lib'
\r
18090 version_type=linux
\r
18091 need_lib_prefix=no
\r
18093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
18094 soname_spec='${libname}${release}${shared_ext}$major'
\r
18095 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
\r
18096 shlibpath_var=LD_LIBRARY_PATH
\r
18097 shlibpath_overrides_runpath=no
\r
18098 hardcode_into_libs=yes
\r
18101 irix5* | irix6* | nonstopux*)
\r
18103 nonstopux*) version_type=nonstopux ;;
\r
18105 if test "$lt_cv_prog_gnu_ld" = yes; then
\r
18106 version_type=linux
\r
18108 version_type=irix
\r
18111 need_lib_prefix=no
\r
18113 soname_spec='${libname}${release}${shared_ext}$major'
\r
18114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
18116 irix5* | nonstopux*)
\r
18117 libsuff= shlibsuff=
\r
18120 case $LD in # libtool.m4 will add one of these switches to LD
\r
18121 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
\r
18122 libsuff= shlibsuff= libmagic=32-bit;;
\r
18123 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
\r
18124 libsuff=32 shlibsuff=N32 libmagic=N32;;
\r
18125 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
\r
18126 libsuff=64 shlibsuff=64 libmagic=64-bit;;
\r
18127 *) libsuff= shlibsuff= libmagic=never-match;;
\r
18131 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
\r
18132 shlibpath_overrides_runpath=no
\r
18133 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
\r
18134 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
\r
18135 hardcode_into_libs=yes
\r
18138 # No shared lib support for Linux oldld, aout, or coff.
\r
18139 linux*oldld* | linux*aout* | linux*coff*)
\r
18140 dynamic_linker=no
\r
18143 # This must be Linux ELF.
\r
18145 version_type=linux
\r
18146 need_lib_prefix=no
\r
18148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
18149 soname_spec='${libname}${release}${shared_ext}$major'
\r
18150 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
\r
18151 shlibpath_var=LD_LIBRARY_PATH
\r
18152 shlibpath_overrides_runpath=no
\r
18153 # This implies no fast_install, which is unacceptable.
\r
18154 # Some rework will be needed to allow for fast_install
\r
18155 # before this can be enabled.
\r
18156 hardcode_into_libs=yes
\r
18158 # find out which ABI we are using
\r
18160 case "$host_cpu" in
\r
18161 x86_64*|s390x*|powerpc64*)
\r
18162 echo '#line 18162 "configure"' > conftest.$ac_ext
\r
18163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
\r
18164 (eval $ac_compile) 2>&5
\r
18166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
18167 (exit $ac_status); }; then
\r
18168 case `/usr/bin/file conftest.$ac_objext` in
\r
18171 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
\r
18179 # Append ld.so.conf contents to the search path
\r
18180 if test -f /etc/ld.so.conf; then
\r
18181 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
\r
18182 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
\r
18185 # We used to test for /lib/ld.so.1 and disable shared libraries on
\r
18186 # powerpc, because MkLinux only supported shared libraries with the
\r
18187 # GNU dynamic linker. Since this was broken with cross compilers,
\r
18188 # most powerpc-linux boxes support dynamic linking these days and
\r
18189 # people can always --disable-shared, the test was removed, and we
\r
18190 # assume the GNU/Linux dynamic linker is in use.
\r
18191 dynamic_linker='GNU/Linux ld.so'
\r
18195 version_type=linux
\r
18196 need_lib_prefix=no
\r
18198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
18199 soname_spec='${libname}${release}${shared_ext}$major'
\r
18200 shlibpath_var=LD_LIBRARY_PATH
\r
18201 shlibpath_overrides_runpath=no
\r
18202 hardcode_into_libs=yes
\r
18203 dynamic_linker='GNU ld.so'
\r
18207 version_type=sunos
\r
18208 need_lib_prefix=no
\r
18210 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
\r
18211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
18212 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
\r
18213 dynamic_linker='NetBSD (a.out) ld.so'
\r
18215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
\r
18216 soname_spec='${libname}${release}${shared_ext}$major'
\r
18217 dynamic_linker='NetBSD ld.elf_so'
\r
18219 shlibpath_var=LD_LIBRARY_PATH
\r
18220 shlibpath_overrides_runpath=yes
\r
18221 hardcode_into_libs=yes
\r
18225 version_type=linux
\r
18226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
18227 shlibpath_var=LD_LIBRARY_PATH
\r
18228 shlibpath_overrides_runpath=yes
\r
18232 version_type=linux
\r
18233 need_lib_prefix=no
\r
18235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
18236 soname_spec='${libname}${release}${shared_ext}$major'
\r
18237 shlibpath_var=LD_LIBRARY_PATH
\r
18238 shlibpath_overrides_runpath=yes
\r
18242 version_type=sunos
\r
18243 sys_lib_dlsearch_path_spec="/usr/lib"
\r
18244 need_lib_prefix=no
\r
18245 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
\r
18247 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
\r
18248 *) need_version=no ;;
\r
18250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
18251 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
\r
18252 shlibpath_var=LD_LIBRARY_PATH
\r
18253 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
\r
18255 openbsd2.[89] | openbsd2.[89].*)
\r
18256 shlibpath_overrides_runpath=no
\r
18259 shlibpath_overrides_runpath=yes
\r
18263 shlibpath_overrides_runpath=yes
\r
18268 libname_spec='$name'
\r
18269 shrext_cmds=".dll"
\r
18270 need_lib_prefix=no
\r
18271 library_names_spec='$libname${shared_ext} $libname.a'
\r
18272 dynamic_linker='OS/2 ld.exe'
\r
18273 shlibpath_var=LIBPATH
\r
18276 osf3* | osf4* | osf5*)
\r
18278 need_lib_prefix=no
\r
18280 soname_spec='${libname}${release}${shared_ext}$major'
\r
18281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
18282 shlibpath_var=LD_LIBRARY_PATH
\r
18283 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
\r
18284 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
\r
18288 version_type=linux
\r
18289 need_lib_prefix=no
\r
18291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
18292 soname_spec='${libname}${release}${shared_ext}$major'
\r
18293 shlibpath_var=LD_LIBRARY_PATH
\r
18294 shlibpath_overrides_runpath=yes
\r
18295 hardcode_into_libs=yes
\r
18296 # ldd complains unless libraries are executable
\r
18297 postinstall_cmds='chmod +x $lib'
\r
18301 version_type=sunos
\r
18302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
\r
18303 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
\r
18304 shlibpath_var=LD_LIBRARY_PATH
\r
18305 shlibpath_overrides_runpath=yes
\r
18306 if test "$with_gnu_ld" = yes; then
\r
18307 need_lib_prefix=no
\r
18312 sysv4 | sysv4.3*)
\r
18313 version_type=linux
\r
18314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
18315 soname_spec='${libname}${release}${shared_ext}$major'
\r
18316 shlibpath_var=LD_LIBRARY_PATH
\r
18317 case $host_vendor in
\r
18319 shlibpath_overrides_runpath=no
\r
18320 need_lib_prefix=no
\r
18321 export_dynamic_flag_spec='${wl}-Blargedynsym'
\r
18322 runpath_var=LD_RUN_PATH
\r
18325 need_lib_prefix=no
\r
18328 need_lib_prefix=no
\r
18330 shlibpath_overrides_runpath=no
\r
18331 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
\r
18337 if test -d /usr/nec ;then
\r
18338 version_type=linux
\r
18339 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
\r
18340 soname_spec='$libname${shared_ext}.$major'
\r
18341 shlibpath_var=LD_LIBRARY_PATH
\r
18345 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
\r
18346 version_type=freebsd-elf
\r
18347 need_lib_prefix=no
\r
18349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
\r
18350 soname_spec='${libname}${release}${shared_ext}$major'
\r
18351 shlibpath_var=LD_LIBRARY_PATH
\r
18352 hardcode_into_libs=yes
\r
18353 if test "$with_gnu_ld" = yes; then
\r
18354 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
\r
18355 shlibpath_overrides_runpath=no
\r
18357 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
\r
18358 shlibpath_overrides_runpath=yes
\r
18361 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
\r
18365 sys_lib_dlsearch_path_spec='/usr/lib'
\r
18369 version_type=linux
\r
18370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
\r
18371 soname_spec='${libname}${release}${shared_ext}$major'
\r
18372 shlibpath_var=LD_LIBRARY_PATH
\r
18376 dynamic_linker=no
\r
18379 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
\r
18380 $as_echo "$dynamic_linker" >&6; }
\r
18381 test "$dynamic_linker" = no && can_build_shared=no
\r
18383 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
\r
18384 if test "$GCC" = yes; then
\r
18385 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
\r
18388 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
\r
18389 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
\r
18390 hardcode_action_GCJ=
\r
18391 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
\r
18392 test -n "$runpath_var_GCJ" || \
\r
18393 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
\r
18395 # We can hardcode non-existant directories.
\r
18396 if test "$hardcode_direct_GCJ" != no &&
\r
18397 # If the only mechanism to avoid hardcoding is shlibpath_var, we
\r
18398 # have to relink, otherwise we might link with an installed library
\r
18399 # when we should be linking with a yet-to-be-installed one
\r
18400 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
\r
18401 test "$hardcode_minus_L_GCJ" != no; then
\r
18402 # Linking always hardcodes the temporary library directory.
\r
18403 hardcode_action_GCJ=relink
\r
18405 # We can link without hardcoding, and we can hardcode nonexisting dirs.
\r
18406 hardcode_action_GCJ=immediate
\r
18409 # We cannot hardcode anything, or else we can only hardcode existing
\r
18411 hardcode_action_GCJ=unsupported
\r
18413 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
\r
18414 $as_echo "$hardcode_action_GCJ" >&6; }
\r
18416 if test "$hardcode_action_GCJ" = relink; then
\r
18417 # Fast installation is not supported
\r
18418 enable_fast_install=no
\r
18419 elif test "$shlibpath_overrides_runpath" = yes ||
\r
18420 test "$enable_shared" = no; then
\r
18421 # Fast installation is not necessary
\r
18422 enable_fast_install=needless
\r
18426 # The else clause should only fire when bootstrapping the
\r
18427 # libtool distribution, otherwise you forgot to ship ltmain.sh
\r
18428 # with your package, and you will get complaints that there are
\r
18429 # no rules to generate ltmain.sh.
\r
18430 if test -f "$ltmain"; then
\r
18431 # See if we are running on zsh, and set the options which allow our commands through
\r
18432 # without removal of \ escapes.
\r
18433 if test -n "${ZSH_VERSION+set}" ; then
\r
18434 setopt NO_GLOB_SUBST
\r
18436 # Now quote all the things that may contain metacharacters while being
\r
18437 # careful not to overquote the AC_SUBSTed values. We take copies of the
\r
18438 # variables and quote the copies for generation of the libtool script.
\r
18439 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
\r
18440 SED SHELL STRIP \
\r
18441 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
\r
18442 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
\r
18443 deplibs_check_method reload_flag reload_cmds need_locks \
\r
18444 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
\r
18445 lt_cv_sys_global_symbol_to_c_name_address \
\r
18446 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
\r
18447 old_postinstall_cmds old_postuninstall_cmds \
\r
18451 lt_prog_compiler_wl_GCJ \
\r
18452 lt_prog_compiler_pic_GCJ \
\r
18453 lt_prog_compiler_static_GCJ \
\r
18454 lt_prog_compiler_no_builtin_flag_GCJ \
\r
18455 export_dynamic_flag_spec_GCJ \
\r
18456 thread_safe_flag_spec_GCJ \
\r
18457 whole_archive_flag_spec_GCJ \
\r
18458 enable_shared_with_static_runtimes_GCJ \
\r
18459 old_archive_cmds_GCJ \
\r
18460 old_archive_from_new_cmds_GCJ \
\r
18461 predep_objects_GCJ \
\r
18462 postdep_objects_GCJ \
\r
18465 compiler_lib_search_path_GCJ \
\r
18466 archive_cmds_GCJ \
\r
18467 archive_expsym_cmds_GCJ \
\r
18468 postinstall_cmds_GCJ \
\r
18469 postuninstall_cmds_GCJ \
\r
18470 old_archive_from_expsyms_cmds_GCJ \
\r
18471 allow_undefined_flag_GCJ \
\r
18472 no_undefined_flag_GCJ \
\r
18473 export_symbols_cmds_GCJ \
\r
18474 hardcode_libdir_flag_spec_GCJ \
\r
18475 hardcode_libdir_flag_spec_ld_GCJ \
\r
18476 hardcode_libdir_separator_GCJ \
\r
18477 hardcode_automatic_GCJ \
\r
18478 module_cmds_GCJ \
\r
18479 module_expsym_cmds_GCJ \
\r
18480 lt_cv_prog_compiler_c_o_GCJ \
\r
18481 exclude_expsyms_GCJ \
\r
18482 include_expsyms_GCJ; do
\r
18485 old_archive_cmds_GCJ | \
\r
18486 old_archive_from_new_cmds_GCJ | \
\r
18487 archive_cmds_GCJ | \
\r
18488 archive_expsym_cmds_GCJ | \
\r
18489 module_cmds_GCJ | \
\r
18490 module_expsym_cmds_GCJ | \
\r
18491 old_archive_from_expsyms_cmds_GCJ | \
\r
18492 export_symbols_cmds_GCJ | \
\r
18493 extract_expsyms_cmds | reload_cmds | finish_cmds | \
\r
18494 postinstall_cmds | postuninstall_cmds | \
\r
18495 old_postinstall_cmds | old_postuninstall_cmds | \
\r
18496 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
\r
18497 # Double-quote double-evaled strings.
\r
18498 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
\r
18501 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
\r
18507 *'\$0 --fallback-echo"')
\r
18508 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
\r
18514 cat <<__EOF__ >> "$cfgfile"
\r
18515 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
\r
18517 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
\r
18519 # Shell to use when invoking shell scripts.
\r
18522 # Whether or not to build shared libraries.
\r
18523 build_libtool_libs=$enable_shared
\r
18525 # Whether or not to build static libraries.
\r
18526 build_old_libs=$enable_static
\r
18528 # Whether or not to add -lc for building shared libraries.
\r
18529 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
\r
18531 # Whether or not to disallow shared libs when runtime libs are static
\r
18532 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
\r
18534 # Whether or not to optimize for fast installation.
\r
18535 fast_install=$enable_fast_install
\r
18537 # The host system.
\r
18538 host_alias=$host_alias
\r
18542 # The build system.
\r
18543 build_alias=$build_alias
\r
18545 build_os=$build_os
\r
18547 # An echo program that does not interpret backslashes.
\r
18552 AR_FLAGS=$lt_AR_FLAGS
\r
18557 # LTCC compiler flags.
\r
18558 LTCFLAGS=$lt_LTCFLAGS
\r
18560 # A language-specific compiler.
\r
18561 CC=$lt_compiler_GCJ
\r
18563 # Is the compiler the GNU C compiler?
\r
18564 with_gcc=$GCC_GCJ
\r
18566 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
\r
18567 gcc_ver=\`gcc -dumpversion\`
\r
18569 # An ERE matcher.
\r
18572 # The linker used to build libraries.
\r
18575 # Whether we need hard or soft links.
\r
18578 # A BSD-compatible nm program.
\r
18581 # A symbol stripping program
\r
18584 # Used to examine libraries when file_magic_cmd begins "file"
\r
18585 MAGIC_CMD=$MAGIC_CMD
\r
18587 # Used on cygwin: DLL creation program.
\r
18588 DLLTOOL="$DLLTOOL"
\r
18590 # Used on cygwin: object dumper.
\r
18591 OBJDUMP="$OBJDUMP"
\r
18593 # Used on cygwin: assembler.
\r
18596 # The name of the directory that contains temporary libtool files.
\r
18599 # How to create reloadable object files.
\r
18600 reload_flag=$lt_reload_flag
\r
18601 reload_cmds=$lt_reload_cmds
\r
18603 # How to pass a linker flag through the compiler.
\r
18604 wl=$lt_lt_prog_compiler_wl_GCJ
\r
18606 # Object file suffix (normally "o").
\r
18607 objext="$ac_objext"
\r
18609 # Old archive suffix (normally "a").
\r
18612 # Shared library suffix (normally ".so").
\r
18613 shrext_cmds='$shrext_cmds'
\r
18615 # Executable file suffix (normally "").
\r
18618 # Additional compiler flags for building library objects.
\r
18619 pic_flag=$lt_lt_prog_compiler_pic_GCJ
\r
18620 pic_mode=$pic_mode
\r
18622 # What is the maximum length of a command?
\r
18623 max_cmd_len=$lt_cv_sys_max_cmd_len
\r
18625 # Does compiler simultaneously support -c and -o options?
\r
18626 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
\r
18628 # Must we lock files when doing compilation?
\r
18629 need_locks=$lt_need_locks
\r
18631 # Do we need the lib prefix for modules?
\r
18632 need_lib_prefix=$need_lib_prefix
\r
18634 # Do we need a version for libraries?
\r
18635 need_version=$need_version
\r
18637 # Whether dlopen is supported.
\r
18638 dlopen_support=$enable_dlopen
\r
18640 # Whether dlopen of programs is supported.
\r
18641 dlopen_self=$enable_dlopen_self
\r
18643 # Whether dlopen of statically linked programs is supported.
\r
18644 dlopen_self_static=$enable_dlopen_self_static
\r
18646 # Compiler flag to prevent dynamic linking.
\r
18647 link_static_flag=$lt_lt_prog_compiler_static_GCJ
\r
18649 # Compiler flag to turn off builtin functions.
\r
18650 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
\r
18652 # Compiler flag to allow reflexive dlopens.
\r
18653 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
\r
18655 # Compiler flag to generate shared objects directly from archives.
\r
18656 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
\r
18658 # Compiler flag to generate thread-safe objects.
\r
18659 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
\r
18661 # Library versioning type.
\r
18662 version_type=$version_type
\r
18664 # Format of library name prefix.
\r
18665 libname_spec=$lt_libname_spec
\r
18667 # List of archive names. First name is the real one, the rest are links.
\r
18668 # The last name is the one that the linker finds with -lNAME.
\r
18669 library_names_spec=$lt_library_names_spec
\r
18671 # The coded name of the library, if different from the real name.
\r
18672 soname_spec=$lt_soname_spec
\r
18674 # Commands used to build and install an old-style archive.
\r
18675 RANLIB=$lt_RANLIB
\r
18676 old_archive_cmds=$lt_old_archive_cmds_GCJ
\r
18677 old_postinstall_cmds=$lt_old_postinstall_cmds
\r
18678 old_postuninstall_cmds=$lt_old_postuninstall_cmds
\r
18680 # Create an old-style archive from a shared archive.
\r
18681 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
\r
18683 # Create a temporary old-style archive to link instead of a shared archive.
\r
18684 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
\r
18686 # Commands used to build and install a shared archive.
\r
18687 archive_cmds=$lt_archive_cmds_GCJ
\r
18688 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
\r
18689 postinstall_cmds=$lt_postinstall_cmds
\r
18690 postuninstall_cmds=$lt_postuninstall_cmds
\r
18692 # Commands used to build a loadable module (assumed same as above if empty)
\r
18693 module_cmds=$lt_module_cmds_GCJ
\r
18694 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
\r
18696 # Commands to strip libraries.
\r
18697 old_striplib=$lt_old_striplib
\r
18698 striplib=$lt_striplib
\r
18700 # Dependencies to place before the objects being linked to create a
\r
18701 # shared library.
\r
18702 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
18704 # Dependencies to place after the objects being linked to create a
\r
18705 # shared library.
\r
18706 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
18708 # Dependencies to place before the objects being linked to create a
\r
18709 # shared library.
\r
18710 predeps=$lt_predeps_GCJ
\r
18712 # Dependencies to place after the objects being linked to create a
\r
18713 # shared library.
\r
18714 postdeps=$lt_postdeps_GCJ
\r
18716 # The library search path used internally by the compiler when linking
\r
18717 # a shared library.
\r
18718 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
18720 # Method to check whether dependent libraries are shared objects.
\r
18721 deplibs_check_method=$lt_deplibs_check_method
\r
18723 # Command to use when deplibs_check_method == file_magic.
\r
18724 file_magic_cmd=$lt_file_magic_cmd
\r
18726 # Flag that allows shared libraries with undefined symbols to be built.
\r
18727 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
\r
18729 # Flag that forces no undefined symbols.
\r
18730 no_undefined_flag=$lt_no_undefined_flag_GCJ
\r
18732 # Commands used to finish a libtool library installation in a directory.
\r
18733 finish_cmds=$lt_finish_cmds
\r
18735 # Same as above, but a single script fragment to be evaled but not shown.
\r
18736 finish_eval=$lt_finish_eval
\r
18738 # Take the output of nm and produce a listing of raw symbols and C names.
\r
18739 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
\r
18741 # Transform the output of nm in a proper C declaration
\r
18742 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
\r
18744 # Transform the output of nm in a C name address pair
\r
18745 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
\r
18747 # This is the shared library runtime path variable.
\r
18748 runpath_var=$runpath_var
\r
18750 # This is the shared library path variable.
\r
18751 shlibpath_var=$shlibpath_var
\r
18753 # Is shlibpath searched before the hard-coded library search path?
\r
18754 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
\r
18756 # How to hardcode a shared library path into an executable.
\r
18757 hardcode_action=$hardcode_action_GCJ
\r
18759 # Whether we should hardcode library paths into libraries.
\r
18760 hardcode_into_libs=$hardcode_into_libs
\r
18762 # Flag to hardcode \$libdir into a binary during linking.
\r
18763 # This must work even if \$libdir does not exist.
\r
18764 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
\r
18766 # If ld is used when linking, flag to hardcode \$libdir into
\r
18767 # a binary during linking. This must work even if \$libdir does
\r
18769 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
\r
18771 # Whether we need a single -rpath flag with a separated argument.
\r
18772 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
\r
18774 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
\r
18775 # resulting binary.
\r
18776 hardcode_direct=$hardcode_direct_GCJ
\r
18778 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
\r
18779 # resulting binary.
\r
18780 hardcode_minus_L=$hardcode_minus_L_GCJ
\r
18782 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
\r
18783 # the resulting binary.
\r
18784 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
\r
18786 # Set to yes if building a shared library automatically hardcodes DIR into the library
\r
18787 # and all subsequent libraries and executables linked against it.
\r
18788 hardcode_automatic=$hardcode_automatic_GCJ
\r
18790 # Variables whose values should be saved in libtool wrapper scripts and
\r
18791 # restored at relink time.
\r
18792 variables_saved_for_relink="$variables_saved_for_relink"
\r
18794 # Whether libtool must link a program against all its dependency libraries.
\r
18795 link_all_deplibs=$link_all_deplibs_GCJ
\r
18797 # Compile-time system search path for libraries
\r
18798 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
18800 # Run-time system search path for libraries
\r
18801 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
\r
18803 # Fix the shell variable \$srcfile for the compiler.
\r
18804 fix_srcfile_path="$fix_srcfile_path_GCJ"
\r
18806 # Set to yes if exported symbols are required.
\r
18807 always_export_symbols=$always_export_symbols_GCJ
\r
18809 # The commands to list exported symbols.
\r
18810 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
\r
18812 # The commands to extract the exported symbol list from a shared archive.
\r
18813 extract_expsyms_cmds=$lt_extract_expsyms_cmds
\r
18815 # Symbols that should not be listed in the preloaded symbols.
\r
18816 exclude_expsyms=$lt_exclude_expsyms_GCJ
\r
18818 # Symbols that must always be exported.
\r
18819 include_expsyms=$lt_include_expsyms_GCJ
\r
18821 # ### END LIBTOOL TAG CONFIG: $tagname
\r
18827 # If there is no Makefile yet, we rely on a make rule to execute
\r
18828 # `config.status --recheck' to rerun these tests and create the
\r
18829 # libtool script then.
\r
18830 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
\r
18831 if test -f "$ltmain_in"; then
\r
18832 test -f Makefile && make "$ltmain"
\r
18838 ac_cpp='$CPP $CPPFLAGS'
\r
18839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
18840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
18841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
18853 # Source file extension for RC test sources.
\r
18856 # Object file extension for compiled RC test sources.
\r
18858 objext_RC=$objext
\r
18860 # Code to be used in simple compile tests
\r
18861 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
\r
18863 # Code to be used in simple link tests
\r
18864 lt_simple_link_test_code="$lt_simple_compile_test_code"
\r
18866 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
\r
18868 # If no C compiler was specified, use CC.
\r
18869 LTCC=${LTCC-"$CC"}
\r
18871 # If no C compiler flags were specified, use CFLAGS.
\r
18872 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
\r
18874 # Allow CC to be a program name with arguments.
\r
18878 # save warnings/boilerplate of simple test code
\r
18879 ac_outfile=conftest.$ac_objext
\r
18880 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
\r
18881 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
\r
18882 _lt_compiler_boilerplate=`cat conftest.err`
\r
18885 ac_outfile=conftest.$ac_objext
\r
18886 printf "$lt_simple_link_test_code" >conftest.$ac_ext
\r
18887 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
\r
18888 _lt_linker_boilerplate=`cat conftest.err`
\r
18892 # Allow CC to be a program name with arguments.
\r
18894 CC=${RC-"windres"}
\r
18897 for cc_temp in $compiler""; do
\r
18899 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
\r
18900 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\r
18905 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
\r
18907 lt_cv_prog_compiler_c_o_RC=yes
\r
18909 # The else clause should only fire when bootstrapping the
\r
18910 # libtool distribution, otherwise you forgot to ship ltmain.sh
\r
18911 # with your package, and you will get complaints that there are
\r
18912 # no rules to generate ltmain.sh.
\r
18913 if test -f "$ltmain"; then
\r
18914 # See if we are running on zsh, and set the options which allow our commands through
\r
18915 # without removal of \ escapes.
\r
18916 if test -n "${ZSH_VERSION+set}" ; then
\r
18917 setopt NO_GLOB_SUBST
\r
18919 # Now quote all the things that may contain metacharacters while being
\r
18920 # careful not to overquote the AC_SUBSTed values. We take copies of the
\r
18921 # variables and quote the copies for generation of the libtool script.
\r
18922 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
\r
18923 SED SHELL STRIP \
\r
18924 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
\r
18925 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
\r
18926 deplibs_check_method reload_flag reload_cmds need_locks \
\r
18927 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
\r
18928 lt_cv_sys_global_symbol_to_c_name_address \
\r
18929 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
\r
18930 old_postinstall_cmds old_postuninstall_cmds \
\r
18934 lt_prog_compiler_wl_RC \
\r
18935 lt_prog_compiler_pic_RC \
\r
18936 lt_prog_compiler_static_RC \
\r
18937 lt_prog_compiler_no_builtin_flag_RC \
\r
18938 export_dynamic_flag_spec_RC \
\r
18939 thread_safe_flag_spec_RC \
\r
18940 whole_archive_flag_spec_RC \
\r
18941 enable_shared_with_static_runtimes_RC \
\r
18942 old_archive_cmds_RC \
\r
18943 old_archive_from_new_cmds_RC \
\r
18944 predep_objects_RC \
\r
18945 postdep_objects_RC \
\r
18948 compiler_lib_search_path_RC \
\r
18949 archive_cmds_RC \
\r
18950 archive_expsym_cmds_RC \
\r
18951 postinstall_cmds_RC \
\r
18952 postuninstall_cmds_RC \
\r
18953 old_archive_from_expsyms_cmds_RC \
\r
18954 allow_undefined_flag_RC \
\r
18955 no_undefined_flag_RC \
\r
18956 export_symbols_cmds_RC \
\r
18957 hardcode_libdir_flag_spec_RC \
\r
18958 hardcode_libdir_flag_spec_ld_RC \
\r
18959 hardcode_libdir_separator_RC \
\r
18960 hardcode_automatic_RC \
\r
18962 module_expsym_cmds_RC \
\r
18963 lt_cv_prog_compiler_c_o_RC \
\r
18964 exclude_expsyms_RC \
\r
18965 include_expsyms_RC; do
\r
18968 old_archive_cmds_RC | \
\r
18969 old_archive_from_new_cmds_RC | \
\r
18970 archive_cmds_RC | \
\r
18971 archive_expsym_cmds_RC | \
\r
18972 module_cmds_RC | \
\r
18973 module_expsym_cmds_RC | \
\r
18974 old_archive_from_expsyms_cmds_RC | \
\r
18975 export_symbols_cmds_RC | \
\r
18976 extract_expsyms_cmds | reload_cmds | finish_cmds | \
\r
18977 postinstall_cmds | postuninstall_cmds | \
\r
18978 old_postinstall_cmds | old_postuninstall_cmds | \
\r
18979 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
\r
18980 # Double-quote double-evaled strings.
\r
18981 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
\r
18984 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
\r
18990 *'\$0 --fallback-echo"')
\r
18991 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
\r
18997 cat <<__EOF__ >> "$cfgfile"
\r
18998 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
\r
19000 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
\r
19002 # Shell to use when invoking shell scripts.
\r
19005 # Whether or not to build shared libraries.
\r
19006 build_libtool_libs=$enable_shared
\r
19008 # Whether or not to build static libraries.
\r
19009 build_old_libs=$enable_static
\r
19011 # Whether or not to add -lc for building shared libraries.
\r
19012 build_libtool_need_lc=$archive_cmds_need_lc_RC
\r
19014 # Whether or not to disallow shared libs when runtime libs are static
\r
19015 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
\r
19017 # Whether or not to optimize for fast installation.
\r
19018 fast_install=$enable_fast_install
\r
19020 # The host system.
\r
19021 host_alias=$host_alias
\r
19025 # The build system.
\r
19026 build_alias=$build_alias
\r
19028 build_os=$build_os
\r
19030 # An echo program that does not interpret backslashes.
\r
19035 AR_FLAGS=$lt_AR_FLAGS
\r
19040 # LTCC compiler flags.
\r
19041 LTCFLAGS=$lt_LTCFLAGS
\r
19043 # A language-specific compiler.
\r
19044 CC=$lt_compiler_RC
\r
19046 # Is the compiler the GNU C compiler?
\r
19049 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
\r
19050 gcc_ver=\`gcc -dumpversion\`
\r
19052 # An ERE matcher.
\r
19055 # The linker used to build libraries.
\r
19058 # Whether we need hard or soft links.
\r
19061 # A BSD-compatible nm program.
\r
19064 # A symbol stripping program
\r
19067 # Used to examine libraries when file_magic_cmd begins "file"
\r
19068 MAGIC_CMD=$MAGIC_CMD
\r
19070 # Used on cygwin: DLL creation program.
\r
19071 DLLTOOL="$DLLTOOL"
\r
19073 # Used on cygwin: object dumper.
\r
19074 OBJDUMP="$OBJDUMP"
\r
19076 # Used on cygwin: assembler.
\r
19079 # The name of the directory that contains temporary libtool files.
\r
19082 # How to create reloadable object files.
\r
19083 reload_flag=$lt_reload_flag
\r
19084 reload_cmds=$lt_reload_cmds
\r
19086 # How to pass a linker flag through the compiler.
\r
19087 wl=$lt_lt_prog_compiler_wl_RC
\r
19089 # Object file suffix (normally "o").
\r
19090 objext="$ac_objext"
\r
19092 # Old archive suffix (normally "a").
\r
19095 # Shared library suffix (normally ".so").
\r
19096 shrext_cmds='$shrext_cmds'
\r
19098 # Executable file suffix (normally "").
\r
19101 # Additional compiler flags for building library objects.
\r
19102 pic_flag=$lt_lt_prog_compiler_pic_RC
\r
19103 pic_mode=$pic_mode
\r
19105 # What is the maximum length of a command?
\r
19106 max_cmd_len=$lt_cv_sys_max_cmd_len
\r
19108 # Does compiler simultaneously support -c and -o options?
\r
19109 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
\r
19111 # Must we lock files when doing compilation?
\r
19112 need_locks=$lt_need_locks
\r
19114 # Do we need the lib prefix for modules?
\r
19115 need_lib_prefix=$need_lib_prefix
\r
19117 # Do we need a version for libraries?
\r
19118 need_version=$need_version
\r
19120 # Whether dlopen is supported.
\r
19121 dlopen_support=$enable_dlopen
\r
19123 # Whether dlopen of programs is supported.
\r
19124 dlopen_self=$enable_dlopen_self
\r
19126 # Whether dlopen of statically linked programs is supported.
\r
19127 dlopen_self_static=$enable_dlopen_self_static
\r
19129 # Compiler flag to prevent dynamic linking.
\r
19130 link_static_flag=$lt_lt_prog_compiler_static_RC
\r
19132 # Compiler flag to turn off builtin functions.
\r
19133 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
\r
19135 # Compiler flag to allow reflexive dlopens.
\r
19136 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
\r
19138 # Compiler flag to generate shared objects directly from archives.
\r
19139 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
\r
19141 # Compiler flag to generate thread-safe objects.
\r
19142 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
\r
19144 # Library versioning type.
\r
19145 version_type=$version_type
\r
19147 # Format of library name prefix.
\r
19148 libname_spec=$lt_libname_spec
\r
19150 # List of archive names. First name is the real one, the rest are links.
\r
19151 # The last name is the one that the linker finds with -lNAME.
\r
19152 library_names_spec=$lt_library_names_spec
\r
19154 # The coded name of the library, if different from the real name.
\r
19155 soname_spec=$lt_soname_spec
\r
19157 # Commands used to build and install an old-style archive.
\r
19158 RANLIB=$lt_RANLIB
\r
19159 old_archive_cmds=$lt_old_archive_cmds_RC
\r
19160 old_postinstall_cmds=$lt_old_postinstall_cmds
\r
19161 old_postuninstall_cmds=$lt_old_postuninstall_cmds
\r
19163 # Create an old-style archive from a shared archive.
\r
19164 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
\r
19166 # Create a temporary old-style archive to link instead of a shared archive.
\r
19167 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
\r
19169 # Commands used to build and install a shared archive.
\r
19170 archive_cmds=$lt_archive_cmds_RC
\r
19171 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
\r
19172 postinstall_cmds=$lt_postinstall_cmds
\r
19173 postuninstall_cmds=$lt_postuninstall_cmds
\r
19175 # Commands used to build a loadable module (assumed same as above if empty)
\r
19176 module_cmds=$lt_module_cmds_RC
\r
19177 module_expsym_cmds=$lt_module_expsym_cmds_RC
\r
19179 # Commands to strip libraries.
\r
19180 old_striplib=$lt_old_striplib
\r
19181 striplib=$lt_striplib
\r
19183 # Dependencies to place before the objects being linked to create a
\r
19184 # shared library.
\r
19185 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
19187 # Dependencies to place after the objects being linked to create a
\r
19188 # shared library.
\r
19189 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
19191 # Dependencies to place before the objects being linked to create a
\r
19192 # shared library.
\r
19193 predeps=$lt_predeps_RC
\r
19195 # Dependencies to place after the objects being linked to create a
\r
19196 # shared library.
\r
19197 postdeps=$lt_postdeps_RC
\r
19199 # The library search path used internally by the compiler when linking
\r
19200 # a shared library.
\r
19201 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
19203 # Method to check whether dependent libraries are shared objects.
\r
19204 deplibs_check_method=$lt_deplibs_check_method
\r
19206 # Command to use when deplibs_check_method == file_magic.
\r
19207 file_magic_cmd=$lt_file_magic_cmd
\r
19209 # Flag that allows shared libraries with undefined symbols to be built.
\r
19210 allow_undefined_flag=$lt_allow_undefined_flag_RC
\r
19212 # Flag that forces no undefined symbols.
\r
19213 no_undefined_flag=$lt_no_undefined_flag_RC
\r
19215 # Commands used to finish a libtool library installation in a directory.
\r
19216 finish_cmds=$lt_finish_cmds
\r
19218 # Same as above, but a single script fragment to be evaled but not shown.
\r
19219 finish_eval=$lt_finish_eval
\r
19221 # Take the output of nm and produce a listing of raw symbols and C names.
\r
19222 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
\r
19224 # Transform the output of nm in a proper C declaration
\r
19225 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
\r
19227 # Transform the output of nm in a C name address pair
\r
19228 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
\r
19230 # This is the shared library runtime path variable.
\r
19231 runpath_var=$runpath_var
\r
19233 # This is the shared library path variable.
\r
19234 shlibpath_var=$shlibpath_var
\r
19236 # Is shlibpath searched before the hard-coded library search path?
\r
19237 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
\r
19239 # How to hardcode a shared library path into an executable.
\r
19240 hardcode_action=$hardcode_action_RC
\r
19242 # Whether we should hardcode library paths into libraries.
\r
19243 hardcode_into_libs=$hardcode_into_libs
\r
19245 # Flag to hardcode \$libdir into a binary during linking.
\r
19246 # This must work even if \$libdir does not exist.
\r
19247 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
\r
19249 # If ld is used when linking, flag to hardcode \$libdir into
\r
19250 # a binary during linking. This must work even if \$libdir does
\r
19252 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
\r
19254 # Whether we need a single -rpath flag with a separated argument.
\r
19255 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
\r
19257 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
\r
19258 # resulting binary.
\r
19259 hardcode_direct=$hardcode_direct_RC
\r
19261 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
\r
19262 # resulting binary.
\r
19263 hardcode_minus_L=$hardcode_minus_L_RC
\r
19265 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
\r
19266 # the resulting binary.
\r
19267 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
\r
19269 # Set to yes if building a shared library automatically hardcodes DIR into the library
\r
19270 # and all subsequent libraries and executables linked against it.
\r
19271 hardcode_automatic=$hardcode_automatic_RC
\r
19273 # Variables whose values should be saved in libtool wrapper scripts and
\r
19274 # restored at relink time.
\r
19275 variables_saved_for_relink="$variables_saved_for_relink"
\r
19277 # Whether libtool must link a program against all its dependency libraries.
\r
19278 link_all_deplibs=$link_all_deplibs_RC
\r
19280 # Compile-time system search path for libraries
\r
19281 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
\r
19283 # Run-time system search path for libraries
\r
19284 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
\r
19286 # Fix the shell variable \$srcfile for the compiler.
\r
19287 fix_srcfile_path="$fix_srcfile_path_RC"
\r
19289 # Set to yes if exported symbols are required.
\r
19290 always_export_symbols=$always_export_symbols_RC
\r
19292 # The commands to list exported symbols.
\r
19293 export_symbols_cmds=$lt_export_symbols_cmds_RC
\r
19295 # The commands to extract the exported symbol list from a shared archive.
\r
19296 extract_expsyms_cmds=$lt_extract_expsyms_cmds
\r
19298 # Symbols that should not be listed in the preloaded symbols.
\r
19299 exclude_expsyms=$lt_exclude_expsyms_RC
\r
19301 # Symbols that must always be exported.
\r
19302 include_expsyms=$lt_include_expsyms_RC
\r
19304 # ### END LIBTOOL TAG CONFIG: $tagname
\r
19310 # If there is no Makefile yet, we rely on a make rule to execute
\r
19311 # `config.status --recheck' to rerun these tests and create the
\r
19312 # libtool script then.
\r
19313 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
\r
19314 if test -f "$ltmain_in"; then
\r
19315 test -f Makefile && make "$ltmain"
\r
19321 ac_cpp='$CPP $CPPFLAGS'
\r
19322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
19323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
19324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
19331 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
\r
19332 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
\r
19333 { (exit 1); exit 1; }; }
\r
19337 # Append the new tag name to the list of available tags.
\r
19338 if test -n "$tagname" ; then
\r
19339 available_tags="$available_tags $tagname"
\r
19343 IFS="$lt_save_ifs"
\r
19345 # Now substitute the updated list of available tags.
\r
19346 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
\r
19347 mv "${ofile}T" "$ofile"
\r
19348 chmod +x "$ofile"
\r
19350 rm -f "${ofile}T"
\r
19351 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
\r
19352 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
\r
19353 { (exit 1); exit 1; }; }
\r
19359 # This can be used to rebuild libtool when needed
\r
19360 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
\r
19362 # Always use our own libtool.
\r
19363 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
\r
19365 # Prevent multiple expansion
\r
19387 # Make sure we can run config.sub.
\r
19388 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
\r
19389 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
\r
19390 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
\r
19391 { (exit 1); exit 1; }; }
\r
19393 { $as_echo "$as_me:$LINENO: checking build system type" >&5
\r
19394 $as_echo_n "checking build system type... " >&6; }
\r
19395 if test "${ac_cv_build+set}" = set; then
\r
19396 $as_echo_n "(cached) " >&6
\r
19398 ac_build_alias=$build_alias
\r
19399 test "x$ac_build_alias" = x &&
\r
19400 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
\r
19401 test "x$ac_build_alias" = x &&
\r
19402 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
\r
19403 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
\r
19404 { (exit 1); exit 1; }; }
\r
19405 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
\r
19406 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
\r
19407 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
\r
19408 { (exit 1); exit 1; }; }
\r
19411 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
\r
19412 $as_echo "$ac_cv_build" >&6; }
\r
19413 case $ac_cv_build in
\r
19415 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
\r
19416 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
\r
19417 { (exit 1); exit 1; }; };;
\r
19419 build=$ac_cv_build
\r
19420 ac_save_IFS=$IFS; IFS='-'
\r
19421 set x $ac_cv_build
\r
19426 # Remember, the first character of IFS is used to create $*,
\r
19427 # except with old shells:
\r
19430 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
\r
19433 { $as_echo "$as_me:$LINENO: checking host system type" >&5
\r
19434 $as_echo_n "checking host system type... " >&6; }
\r
19435 if test "${ac_cv_host+set}" = set; then
\r
19436 $as_echo_n "(cached) " >&6
\r
19438 if test "x$host_alias" = x; then
\r
19439 ac_cv_host=$ac_cv_build
\r
19441 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
\r
19442 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
\r
19443 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
\r
19444 { (exit 1); exit 1; }; }
\r
19448 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
\r
19449 $as_echo "$ac_cv_host" >&6; }
\r
19450 case $ac_cv_host in
\r
19452 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
\r
19453 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
\r
19454 { (exit 1); exit 1; }; };;
\r
19457 ac_save_IFS=$IFS; IFS='-'
\r
19458 set x $ac_cv_host
\r
19463 # Remember, the first character of IFS is used to create $*,
\r
19464 # except with old shells:
\r
19467 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
\r
19472 # Checks for programs.
\r
19473 { $as_echo "$as_me:$LINENO: checking compiler flags required for compiling ANTLR with $CC C compiler on host $host" >&5
\r
19474 $as_echo_n "checking compiler flags required for compiling ANTLR with $CC C compiler on host $host... " >&6; }
\r
19478 CPPCMNTFLAGS="-qcpluscmt"
\r
19479 if test x"$enable_64bit" = xyes; then
\r
19480 CCFLAGS64="-q64 -Wl,-b64"
\r
19486 if test x"$enable_debuginfo" = xyes; then
\r
19493 if test x"$enable_64bit" = xyes; then
\r
19494 CCFLAGS64="+DD64"
\r
19497 if test $DEBUGINF = 1; then
\r
19504 if test x"$enable_64bit" = xyes; then
\r
19505 GCCABIFLAGS="-m64"
\r
19507 GCCABIFLAGS="-m32"
\r
19509 if test x"$enable_abiflags" = xyes; then
\r
19510 CCFLAGS64=$GCCABIFLAGS
\r
19513 if test x"$enable_debuginfo" = xyes; then
\r
19522 sparc*-*solaris*)
\r
19524 if test x"$enable_64bit" = xyes; then
\r
19525 CCFLAGS64="-fast -xtarget=ultra4 -m64 -xarch=sparcvis"
\r
19528 if test x"$enable_debuginfo" = xyes; then
\r
19537 if test x"$enable_debuginfo" = xyes; then
\r
19546 CFLAGS="$CCFLAGS64 $CPPCMNTFLAGS $OPTIMFLAGS $DEBUGFLAGS $WARNFLAGS"
\r
19547 { $as_echo "$as_me:$LINENO: result: $CFLAGS" >&5
\r
19548 $as_echo "$CFLAGS" >&6; }
\r
19551 if test "x$enable_antlrdebug" = xno; then
\r
19553 cat >>confdefs.h <<\_ACEOF
\r
19554 #define ANTLR3_NODEBUGGER 1
\r
19559 if test x"$enable_64bit" = xyes; then
\r
19561 cat >>confdefs.h <<\_ACEOF
\r
19562 #define ANTLR3_USE_64BIT 1
\r
19568 # Find a good install program. We prefer a C program (faster),
\r
19569 # so one script is as good as another. But avoid the broken or
\r
19570 # incompatible versions:
\r
19571 # SysV /etc/install, /usr/sbin/install
\r
19572 # SunOS /usr/etc/install
\r
19573 # IRIX /sbin/install
\r
19574 # AIX /bin/install
\r
19575 # AmigaOS /C/install, which installs bootblocks on floppy discs
\r
19576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
\r
19577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
\r
19578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
\r
19579 # OS/2's system install, which has a completely different semantic
\r
19580 # ./install, which can be erroneously created by make from ./install.sh.
\r
19581 # Reject install programs that cannot install multiple files.
\r
19582 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
\r
19583 $as_echo_n "checking for a BSD-compatible install... " >&6; }
\r
19584 if test -z "$INSTALL"; then
\r
19585 if test "${ac_cv_path_install+set}" = set; then
\r
19586 $as_echo_n "(cached) " >&6
\r
19588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
19589 for as_dir in $PATH
\r
19592 test -z "$as_dir" && as_dir=.
\r
19593 # Account for people who put trailing slashes in PATH elements.
\r
19595 ./ | .// | /cC/* | \
\r
19596 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
\r
19597 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
\r
19600 # OSF1 and SCO ODT 3.0 have their own names for install.
\r
19601 # Don't use installbsd from OSF since it installs stuff as root
\r
19603 for ac_prog in ginstall scoinst install; do
\r
19604 for ac_exec_ext in '' $ac_executable_extensions; do
\r
19605 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
\r
19606 if test $ac_prog = install &&
\r
19607 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
\r
19608 # AIX install. It has an incompatible calling convention.
\r
19610 elif test $ac_prog = install &&
\r
19611 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
\r
19612 # program-specific install script used by HP pwplus--don't use.
\r
19615 rm -rf conftest.one conftest.two conftest.dir
\r
19616 echo one > conftest.one
\r
19617 echo two > conftest.two
\r
19618 mkdir conftest.dir
\r
19619 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
\r
19620 test -s conftest.one && test -s conftest.two &&
\r
19621 test -s conftest.dir/conftest.one &&
\r
19622 test -s conftest.dir/conftest.two
\r
19624 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
\r
19637 rm -rf conftest.one conftest.two conftest.dir
\r
19640 if test "${ac_cv_path_install+set}" = set; then
\r
19641 INSTALL=$ac_cv_path_install
\r
19643 # As a last resort, use the slow shell script. Don't cache a
\r
19644 # value for INSTALL within a source directory, because that will
\r
19645 # break other packages using the cache if that directory is
\r
19646 # removed, or if the value is a relative name.
\r
19647 INSTALL=$ac_install_sh
\r
19650 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
\r
19651 $as_echo "$INSTALL" >&6; }
\r
19653 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
\r
19654 # It thinks the first close brace ends the variable substitution.
\r
19655 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
\r
19657 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
\r
19659 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
\r
19661 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
\r
19662 $as_echo_n "checking whether ln -s works... " >&6; }
\r
19664 if test "$LN_S" = "ln -s"; then
\r
19665 { $as_echo "$as_me:$LINENO: result: yes" >&5
\r
19666 $as_echo "yes" >&6; }
\r
19668 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
\r
19669 $as_echo "no, using $LN_S" >&6; }
\r
19672 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
\r
19673 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
\r
19674 set x ${MAKE-make}
\r
19675 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
\r
19676 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
\r
19677 $as_echo_n "(cached) " >&6
\r
19679 cat >conftest.make <<\_ACEOF
\r
19682 @echo '@@@%%%=$(MAKE)=@@@%%%'
\r
19684 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
\r
19685 case `${MAKE-make} -f conftest.make 2>/dev/null` in
\r
19686 *@@@%%%=?*=@@@%%%*)
\r
19687 eval ac_cv_prog_make_${ac_make}_set=yes;;
\r
19689 eval ac_cv_prog_make_${ac_make}_set=no;;
\r
19691 rm -f conftest.make
\r
19693 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
\r
19694 { $as_echo "$as_me:$LINENO: result: yes" >&5
\r
19695 $as_echo "yes" >&6; }
\r
19698 { $as_echo "$as_me:$LINENO: result: no" >&5
\r
19699 $as_echo "no" >&6; }
\r
19700 SET_MAKE="MAKE=${MAKE-make}"
\r
19704 # Checks for libraries.
\r
19706 # Checks for header files.
\r
19707 $ac_includes_default
\r
19713 for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h
\r
19715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
19716 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
19717 $as_echo_n "checking for $ac_header... " >&6; }
\r
19718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
19719 $as_echo_n "(cached) " >&6
\r
19721 cat >conftest.$ac_ext <<_ACEOF
\r
19722 /* confdefs.h. */
\r
19724 cat confdefs.h >>conftest.$ac_ext
\r
19725 cat >>conftest.$ac_ext <<_ACEOF
\r
19726 /* end confdefs.h. */
\r
19727 #ifdef HAVE_SYS_TYPES_H
\r
19728 # include <sys/types.h>
\r
19730 #ifdef HAVE_NETINET_IN_H
\r
19731 # include <netinet/in.h> /* inet_ functions / structs */
\r
19733 #ifdef HAVE_ARPA_NAMESER_H
\r
19734 # include <arpa/nameser.h> /* DNS HEADER struct */
\r
19736 #ifdef HAVE_NETDB_H
\r
19737 # include <netdb.h>
\r
19740 #include <$ac_header>
\r
19742 rm -f conftest.$ac_objext
\r
19743 if { (ac_try="$ac_compile"
\r
19744 case "(($ac_try" in
\r
19745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
19746 *) ac_try_echo=$ac_try;;
\r
19748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
19749 $as_echo "$ac_try_echo") >&5
\r
19750 (eval "$ac_compile") 2>conftest.er1
\r
19752 grep -v '^ *+' conftest.er1 >conftest.err
\r
19753 rm -f conftest.er1
\r
19754 cat conftest.err >&5
\r
19755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
19756 (exit $ac_status); } && {
\r
19757 test -z "$ac_c_werror_flag" ||
\r
19758 test ! -s conftest.err
\r
19759 } && test -s conftest.$ac_objext; then
\r
19760 eval "$as_ac_Header=yes"
\r
19762 $as_echo "$as_me: failed program was:" >&5
\r
19763 sed 's/^/| /' conftest.$ac_ext >&5
\r
19765 eval "$as_ac_Header=no"
\r
19768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
19770 ac_res=`eval 'as_val=${'$as_ac_Header'}
\r
19771 $as_echo "$as_val"'`
\r
19772 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
\r
19773 $as_echo "$ac_res" >&6; }
\r
19774 as_val=`eval 'as_val=${'$as_ac_Header'}
\r
19775 $as_echo "$as_val"'`
\r
19776 if test "x$as_val" = x""yes; then
\r
19777 cat >>confdefs.h <<_ACEOF
\r
19778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
19788 for ac_header in sys/malloc.h malloc.h
\r
19790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
19791 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
19792 $as_echo_n "checking for $ac_header... " >&6; }
\r
19793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
19794 $as_echo_n "(cached) " >&6
\r
19796 cat >conftest.$ac_ext <<_ACEOF
\r
19797 /* confdefs.h. */
\r
19799 cat confdefs.h >>conftest.$ac_ext
\r
19800 cat >>conftest.$ac_ext <<_ACEOF
\r
19801 /* end confdefs.h. */
\r
19802 #ifdef HAVE_SYS_MALLOC_H
\r
19803 #include <sys/malloc.h>
\r
19805 #ifdef HAVE_MALLOC_H
\r
19806 #include <malloc.h>
\r
19810 #include <$ac_header>
\r
19812 rm -f conftest.$ac_objext
\r
19813 if { (ac_try="$ac_compile"
\r
19814 case "(($ac_try" in
\r
19815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
19816 *) ac_try_echo=$ac_try;;
\r
19818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
19819 $as_echo "$ac_try_echo") >&5
\r
19820 (eval "$ac_compile") 2>conftest.er1
\r
19822 grep -v '^ *+' conftest.er1 >conftest.err
\r
19823 rm -f conftest.er1
\r
19824 cat conftest.err >&5
\r
19825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
19826 (exit $ac_status); } && {
\r
19827 test -z "$ac_c_werror_flag" ||
\r
19828 test ! -s conftest.err
\r
19829 } && test -s conftest.$ac_objext; then
\r
19830 eval "$as_ac_Header=yes"
\r
19832 $as_echo "$as_me: failed program was:" >&5
\r
19833 sed 's/^/| /' conftest.$ac_ext >&5
\r
19835 eval "$as_ac_Header=no"
\r
19838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
19840 ac_res=`eval 'as_val=${'$as_ac_Header'}
\r
19841 $as_echo "$as_val"'`
\r
19842 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
\r
19843 $as_echo "$ac_res" >&6; }
\r
19844 as_val=`eval 'as_val=${'$as_ac_Header'}
\r
19845 $as_echo "$as_val"'`
\r
19846 if test "x$as_val" = x""yes; then
\r
19847 cat >>confdefs.h <<_ACEOF
\r
19848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
19856 for ac_header in stdarg.h
\r
19858 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
19859 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
19860 $as_echo_n "checking for $ac_header... " >&6; }
\r
19861 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
19862 $as_echo_n "(cached) " >&6
\r
19864 cat >conftest.$ac_ext <<_ACEOF
\r
19865 /* confdefs.h. */
\r
19867 cat confdefs.h >>conftest.$ac_ext
\r
19868 cat >>conftest.$ac_ext <<_ACEOF
\r
19869 /* end confdefs.h. */
\r
19870 #ifdef HAVE_STDARG_H
\r
19871 #include <stdarg.h>
\r
19875 #include <$ac_header>
\r
19877 rm -f conftest.$ac_objext
\r
19878 if { (ac_try="$ac_compile"
\r
19879 case "(($ac_try" in
\r
19880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
19881 *) ac_try_echo=$ac_try;;
\r
19883 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
19884 $as_echo "$ac_try_echo") >&5
\r
19885 (eval "$ac_compile") 2>conftest.er1
\r
19887 grep -v '^ *+' conftest.er1 >conftest.err
\r
19888 rm -f conftest.er1
\r
19889 cat conftest.err >&5
\r
19890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
19891 (exit $ac_status); } && {
\r
19892 test -z "$ac_c_werror_flag" ||
\r
19893 test ! -s conftest.err
\r
19894 } && test -s conftest.$ac_objext; then
\r
19895 eval "$as_ac_Header=yes"
\r
19897 $as_echo "$as_me: failed program was:" >&5
\r
19898 sed 's/^/| /' conftest.$ac_ext >&5
\r
19900 eval "$as_ac_Header=no"
\r
19903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
19905 ac_res=`eval 'as_val=${'$as_ac_Header'}
\r
19906 $as_echo "$as_val"'`
\r
19907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
\r
19908 $as_echo "$ac_res" >&6; }
\r
19909 as_val=`eval 'as_val=${'$as_ac_Header'}
\r
19910 $as_echo "$as_val"'`
\r
19911 if test "x$as_val" = x""yes; then
\r
19912 cat >>confdefs.h <<_ACEOF
\r
19913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
19922 for ac_header in sys/stat.h
\r
19924 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
19925 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
19926 $as_echo_n "checking for $ac_header... " >&6; }
\r
19927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
19928 $as_echo_n "(cached) " >&6
\r
19930 cat >conftest.$ac_ext <<_ACEOF
\r
19931 /* confdefs.h. */
\r
19933 cat confdefs.h >>conftest.$ac_ext
\r
19934 cat >>conftest.$ac_ext <<_ACEOF
\r
19935 /* end confdefs.h. */
\r
19936 #ifdef HAVE_SYS_STAT_H
\r
19937 #include <sys/stat.h>
\r
19941 #include <$ac_header>
\r
19943 rm -f conftest.$ac_objext
\r
19944 if { (ac_try="$ac_compile"
\r
19945 case "(($ac_try" in
\r
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
19947 *) ac_try_echo=$ac_try;;
\r
19949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
19950 $as_echo "$ac_try_echo") >&5
\r
19951 (eval "$ac_compile") 2>conftest.er1
\r
19953 grep -v '^ *+' conftest.er1 >conftest.err
\r
19954 rm -f conftest.er1
\r
19955 cat conftest.err >&5
\r
19956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
19957 (exit $ac_status); } && {
\r
19958 test -z "$ac_c_werror_flag" ||
\r
19959 test ! -s conftest.err
\r
19960 } && test -s conftest.$ac_objext; then
\r
19961 eval "$as_ac_Header=yes"
\r
19963 $as_echo "$as_me: failed program was:" >&5
\r
19964 sed 's/^/| /' conftest.$ac_ext >&5
\r
19966 eval "$as_ac_Header=no"
\r
19969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
19971 ac_res=`eval 'as_val=${'$as_ac_Header'}
\r
19972 $as_echo "$as_val"'`
\r
19973 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
\r
19974 $as_echo "$ac_res" >&6; }
\r
19975 as_val=`eval 'as_val=${'$as_ac_Header'}
\r
19976 $as_echo "$as_val"'`
\r
19977 if test "x$as_val" = x""yes; then
\r
19978 cat >>confdefs.h <<_ACEOF
\r
19979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
19988 for ac_header in ctype.h
\r
19990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
19991 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
19992 $as_echo_n "checking for $ac_header... " >&6; }
\r
19993 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
19994 $as_echo_n "(cached) " >&6
\r
19996 cat >conftest.$ac_ext <<_ACEOF
\r
19997 /* confdefs.h. */
\r
19999 cat confdefs.h >>conftest.$ac_ext
\r
20000 cat >>conftest.$ac_ext <<_ACEOF
\r
20001 /* end confdefs.h. */
\r
20002 #ifdef HAVE_CTYPE_H
\r
20003 #include <ctype.h>
\r
20007 #include <$ac_header>
\r
20009 rm -f conftest.$ac_objext
\r
20010 if { (ac_try="$ac_compile"
\r
20011 case "(($ac_try" in
\r
20012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20013 *) ac_try_echo=$ac_try;;
\r
20015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20016 $as_echo "$ac_try_echo") >&5
\r
20017 (eval "$ac_compile") 2>conftest.er1
\r
20019 grep -v '^ *+' conftest.er1 >conftest.err
\r
20020 rm -f conftest.er1
\r
20021 cat conftest.err >&5
\r
20022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20023 (exit $ac_status); } && {
\r
20024 test -z "$ac_c_werror_flag" ||
\r
20025 test ! -s conftest.err
\r
20026 } && test -s conftest.$ac_objext; then
\r
20027 eval "$as_ac_Header=yes"
\r
20029 $as_echo "$as_me: failed program was:" >&5
\r
20030 sed 's/^/| /' conftest.$ac_ext >&5
\r
20032 eval "$as_ac_Header=no"
\r
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20037 ac_res=`eval 'as_val=${'$as_ac_Header'}
\r
20038 $as_echo "$as_val"'`
\r
20039 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
\r
20040 $as_echo "$ac_res" >&6; }
\r
20041 as_val=`eval 'as_val=${'$as_ac_Header'}
\r
20042 $as_echo "$as_val"'`
\r
20043 if test "x$as_val" = x""yes; then
\r
20044 cat >>confdefs.h <<_ACEOF
\r
20045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
20054 for ac_header in netinet/tcp.h
\r
20056 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
20057 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
20058 $as_echo_n "checking for $ac_header... " >&6; }
\r
20059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
20060 $as_echo_n "(cached) " >&6
\r
20062 cat >conftest.$ac_ext <<_ACEOF
\r
20063 /* confdefs.h. */
\r
20065 cat confdefs.h >>conftest.$ac_ext
\r
20066 cat >>conftest.$ac_ext <<_ACEOF
\r
20067 /* end confdefs.h. */
\r
20068 #ifdef HAVE_NETINET_TCP_H
\r
20069 #include <netinet/tcp.h>
\r
20073 #include <$ac_header>
\r
20075 rm -f conftest.$ac_objext
\r
20076 if { (ac_try="$ac_compile"
\r
20077 case "(($ac_try" in
\r
20078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20079 *) ac_try_echo=$ac_try;;
\r
20081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20082 $as_echo "$ac_try_echo") >&5
\r
20083 (eval "$ac_compile") 2>conftest.er1
\r
20085 grep -v '^ *+' conftest.er1 >conftest.err
\r
20086 rm -f conftest.er1
\r
20087 cat conftest.err >&5
\r
20088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20089 (exit $ac_status); } && {
\r
20090 test -z "$ac_c_werror_flag" ||
\r
20091 test ! -s conftest.err
\r
20092 } && test -s conftest.$ac_objext; then
\r
20093 eval "$as_ac_Header=yes"
\r
20095 $as_echo "$as_me: failed program was:" >&5
\r
20096 sed 's/^/| /' conftest.$ac_ext >&5
\r
20098 eval "$as_ac_Header=no"
\r
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20103 ac_res=`eval 'as_val=${'$as_ac_Header'}
\r
20104 $as_echo "$as_val"'`
\r
20105 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
\r
20106 $as_echo "$ac_res" >&6; }
\r
20107 as_val=`eval 'as_val=${'$as_ac_Header'}
\r
20108 $as_echo "$as_val"'`
\r
20109 if test "x$as_val" = x""yes; then
\r
20110 cat >>confdefs.h <<_ACEOF
\r
20111 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
20121 for ac_header in sys/socket.h socket.h
\r
20123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
20124 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
20125 $as_echo_n "checking for $ac_header... " >&6; }
\r
20126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
20127 $as_echo_n "(cached) " >&6
\r
20129 cat >conftest.$ac_ext <<_ACEOF
\r
20130 /* confdefs.h. */
\r
20132 cat confdefs.h >>conftest.$ac_ext
\r
20133 cat >>conftest.$ac_ext <<_ACEOF
\r
20134 /* end confdefs.h. */
\r
20135 #ifdef HAVE_SYS_SOCKET_H
\r
20136 #include <sys/socket.h>
\r
20138 #ifdef HAVE_SOCKET_H
\r
20139 #include <socket.h>
\r
20143 #include <$ac_header>
\r
20145 rm -f conftest.$ac_objext
\r
20146 if { (ac_try="$ac_compile"
\r
20147 case "(($ac_try" in
\r
20148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20149 *) ac_try_echo=$ac_try;;
\r
20151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20152 $as_echo "$ac_try_echo") >&5
\r
20153 (eval "$ac_compile") 2>conftest.er1
\r
20155 grep -v '^ *+' conftest.er1 >conftest.err
\r
20156 rm -f conftest.er1
\r
20157 cat conftest.err >&5
\r
20158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20159 (exit $ac_status); } && {
\r
20160 test -z "$ac_c_werror_flag" ||
\r
20161 test ! -s conftest.err
\r
20162 } && test -s conftest.$ac_objext; then
\r
20163 eval "$as_ac_Header=yes"
\r
20165 $as_echo "$as_me: failed program was:" >&5
\r
20166 sed 's/^/| /' conftest.$ac_ext >&5
\r
20168 eval "$as_ac_Header=no"
\r
20171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20173 ac_res=`eval 'as_val=${'$as_ac_Header'}
\r
20174 $as_echo "$as_val"'`
\r
20175 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
\r
20176 $as_echo "$ac_res" >&6; }
\r
20177 as_val=`eval 'as_val=${'$as_ac_Header'}
\r
20178 $as_echo "$as_val"'`
\r
20179 if test "x$as_val" = x""yes; then
\r
20180 cat >>confdefs.h <<_ACEOF
\r
20181 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
20189 # Checks for typedefs, structures, and compiler characteristics.
\r
20190 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
\r
20191 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
\r
20192 if test "${ac_cv_c_const+set}" = set; then
\r
20193 $as_echo_n "(cached) " >&6
\r
20195 cat >conftest.$ac_ext <<_ACEOF
\r
20196 /* confdefs.h. */
\r
20198 cat confdefs.h >>conftest.$ac_ext
\r
20199 cat >>conftest.$ac_ext <<_ACEOF
\r
20200 /* end confdefs.h. */
\r
20205 /* FIXME: Include the comments suggested by Paul. */
\r
20206 #ifndef __cplusplus
\r
20207 /* Ultrix mips cc rejects this. */
\r
20208 typedef int charset[2];
\r
20209 const charset cs;
\r
20210 /* SunOS 4.1.1 cc rejects this. */
\r
20211 char const *const *pcpcc;
\r
20213 /* NEC SVR4.0.2 mips cc rejects this. */
\r
20214 struct point {int x, y;};
\r
20215 static struct point const zero = {0,0};
\r
20216 /* AIX XL C 1.02.0.0 rejects this.
\r
20217 It does not let you subtract one const X* pointer from another in
\r
20218 an arm of an if-expression whose if-part is not a constant
\r
20220 const char *g = "string";
\r
20221 pcpcc = &g + (g ? g-g : 0);
\r
20222 /* HPUX 7.0 cc rejects these. */
\r
20224 ppc = (char**) pcpcc;
\r
20225 pcpcc = (char const *const *) ppc;
\r
20226 { /* SCO 3.2v4 cc rejects this. */
\r
20228 char const *s = 0 ? (char *) 0 : (char const *) 0;
\r
20233 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
\r
20234 int x[] = {25, 17};
\r
20235 const int *foo = &x[0];
\r
20238 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
\r
20239 typedef const int *iptr;
\r
20243 { /* AIX XL C 1.02.0.0 rejects this saying
\r
20244 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
\r
20245 struct s { int j; const int *ap[3]; };
\r
20246 struct s *b; b->j = 5;
\r
20248 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
\r
20249 const int foo = 10;
\r
20250 if (!foo) return 0;
\r
20252 return !cs[0] && !zero.x;
\r
20259 rm -f conftest.$ac_objext
\r
20260 if { (ac_try="$ac_compile"
\r
20261 case "(($ac_try" in
\r
20262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20263 *) ac_try_echo=$ac_try;;
\r
20265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20266 $as_echo "$ac_try_echo") >&5
\r
20267 (eval "$ac_compile") 2>conftest.er1
\r
20269 grep -v '^ *+' conftest.er1 >conftest.err
\r
20270 rm -f conftest.er1
\r
20271 cat conftest.err >&5
\r
20272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20273 (exit $ac_status); } && {
\r
20274 test -z "$ac_c_werror_flag" ||
\r
20275 test ! -s conftest.err
\r
20276 } && test -s conftest.$ac_objext; then
\r
20277 ac_cv_c_const=yes
\r
20279 $as_echo "$as_me: failed program was:" >&5
\r
20280 sed 's/^/| /' conftest.$ac_ext >&5
\r
20285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20287 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
\r
20288 $as_echo "$ac_cv_c_const" >&6; }
\r
20289 if test $ac_cv_c_const = no; then
\r
20291 cat >>confdefs.h <<\_ACEOF
\r
20292 #define const /**/
\r
20297 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
\r
20298 $as_echo_n "checking for size_t... " >&6; }
\r
20299 if test "${ac_cv_type_size_t+set}" = set; then
\r
20300 $as_echo_n "(cached) " >&6
\r
20302 ac_cv_type_size_t=no
\r
20303 cat >conftest.$ac_ext <<_ACEOF
\r
20304 /* confdefs.h. */
\r
20306 cat confdefs.h >>conftest.$ac_ext
\r
20307 cat >>conftest.$ac_ext <<_ACEOF
\r
20308 /* end confdefs.h. */
\r
20309 $ac_includes_default
\r
20313 if (sizeof (size_t))
\r
20319 rm -f conftest.$ac_objext
\r
20320 if { (ac_try="$ac_compile"
\r
20321 case "(($ac_try" in
\r
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20323 *) ac_try_echo=$ac_try;;
\r
20325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20326 $as_echo "$ac_try_echo") >&5
\r
20327 (eval "$ac_compile") 2>conftest.er1
\r
20329 grep -v '^ *+' conftest.er1 >conftest.err
\r
20330 rm -f conftest.er1
\r
20331 cat conftest.err >&5
\r
20332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20333 (exit $ac_status); } && {
\r
20334 test -z "$ac_c_werror_flag" ||
\r
20335 test ! -s conftest.err
\r
20336 } && test -s conftest.$ac_objext; then
\r
20337 cat >conftest.$ac_ext <<_ACEOF
\r
20338 /* confdefs.h. */
\r
20340 cat confdefs.h >>conftest.$ac_ext
\r
20341 cat >>conftest.$ac_ext <<_ACEOF
\r
20342 /* end confdefs.h. */
\r
20343 $ac_includes_default
\r
20347 if (sizeof ((size_t)))
\r
20353 rm -f conftest.$ac_objext
\r
20354 if { (ac_try="$ac_compile"
\r
20355 case "(($ac_try" in
\r
20356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20357 *) ac_try_echo=$ac_try;;
\r
20359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20360 $as_echo "$ac_try_echo") >&5
\r
20361 (eval "$ac_compile") 2>conftest.er1
\r
20363 grep -v '^ *+' conftest.er1 >conftest.err
\r
20364 rm -f conftest.er1
\r
20365 cat conftest.err >&5
\r
20366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20367 (exit $ac_status); } && {
\r
20368 test -z "$ac_c_werror_flag" ||
\r
20369 test ! -s conftest.err
\r
20370 } && test -s conftest.$ac_objext; then
\r
20373 $as_echo "$as_me: failed program was:" >&5
\r
20374 sed 's/^/| /' conftest.$ac_ext >&5
\r
20376 ac_cv_type_size_t=yes
\r
20379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20381 $as_echo "$as_me: failed program was:" >&5
\r
20382 sed 's/^/| /' conftest.$ac_ext >&5
\r
20387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20389 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
\r
20390 $as_echo "$ac_cv_type_size_t" >&6; }
\r
20391 if test "x$ac_cv_type_size_t" = x""yes; then
\r
20395 cat >>confdefs.h <<_ACEOF
\r
20396 #define size_t unsigned int
\r
20402 { $as_echo "$as_me:$LINENO: checking for int8_t" >&5
\r
20403 $as_echo_n "checking for int8_t... " >&6; }
\r
20404 if test "${ac_cv_c_int8_t+set}" = set; then
\r
20405 $as_echo_n "(cached) " >&6
\r
20407 ac_cv_c_int8_t=no
\r
20408 for ac_type in 'int8_t' 'int' 'long int' \
\r
20409 'long long int' 'short int' 'signed char'; do
\r
20410 cat >conftest.$ac_ext <<_ACEOF
\r
20411 /* confdefs.h. */
\r
20413 cat confdefs.h >>conftest.$ac_ext
\r
20414 cat >>conftest.$ac_ext <<_ACEOF
\r
20415 /* end confdefs.h. */
\r
20416 $ac_includes_default
\r
20420 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1))];
\r
20421 test_array [0] = 0
\r
20427 rm -f conftest.$ac_objext
\r
20428 if { (ac_try="$ac_compile"
\r
20429 case "(($ac_try" in
\r
20430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20431 *) ac_try_echo=$ac_try;;
\r
20433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20434 $as_echo "$ac_try_echo") >&5
\r
20435 (eval "$ac_compile") 2>conftest.er1
\r
20437 grep -v '^ *+' conftest.er1 >conftest.err
\r
20438 rm -f conftest.er1
\r
20439 cat conftest.err >&5
\r
20440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20441 (exit $ac_status); } && {
\r
20442 test -z "$ac_c_werror_flag" ||
\r
20443 test ! -s conftest.err
\r
20444 } && test -s conftest.$ac_objext; then
\r
20445 cat >conftest.$ac_ext <<_ACEOF
\r
20446 /* confdefs.h. */
\r
20448 cat confdefs.h >>conftest.$ac_ext
\r
20449 cat >>conftest.$ac_ext <<_ACEOF
\r
20450 /* end confdefs.h. */
\r
20451 $ac_includes_default
\r
20455 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1)
\r
20456 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 2))];
\r
20457 test_array [0] = 0
\r
20463 rm -f conftest.$ac_objext
\r
20464 if { (ac_try="$ac_compile"
\r
20465 case "(($ac_try" in
\r
20466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20467 *) ac_try_echo=$ac_try;;
\r
20469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20470 $as_echo "$ac_try_echo") >&5
\r
20471 (eval "$ac_compile") 2>conftest.er1
\r
20473 grep -v '^ *+' conftest.er1 >conftest.err
\r
20474 rm -f conftest.er1
\r
20475 cat conftest.err >&5
\r
20476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20477 (exit $ac_status); } && {
\r
20478 test -z "$ac_c_werror_flag" ||
\r
20479 test ! -s conftest.err
\r
20480 } && test -s conftest.$ac_objext; then
\r
20483 $as_echo "$as_me: failed program was:" >&5
\r
20484 sed 's/^/| /' conftest.$ac_ext >&5
\r
20487 int8_t) ac_cv_c_int8_t=yes ;;
\r
20488 *) ac_cv_c_int8_t=$ac_type ;;
\r
20493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20495 $as_echo "$as_me: failed program was:" >&5
\r
20496 sed 's/^/| /' conftest.$ac_ext >&5
\r
20501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20502 test "$ac_cv_c_int8_t" != no && break
\r
20505 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int8_t" >&5
\r
20506 $as_echo "$ac_cv_c_int8_t" >&6; }
\r
20507 case $ac_cv_c_int8_t in #(
\r
20511 cat >>confdefs.h <<_ACEOF
\r
20512 #define int8_t $ac_cv_c_int8_t
\r
20518 { $as_echo "$as_me:$LINENO: checking for int16_t" >&5
\r
20519 $as_echo_n "checking for int16_t... " >&6; }
\r
20520 if test "${ac_cv_c_int16_t+set}" = set; then
\r
20521 $as_echo_n "(cached) " >&6
\r
20523 ac_cv_c_int16_t=no
\r
20524 for ac_type in 'int16_t' 'int' 'long int' \
\r
20525 'long long int' 'short int' 'signed char'; do
\r
20526 cat >conftest.$ac_ext <<_ACEOF
\r
20527 /* confdefs.h. */
\r
20529 cat confdefs.h >>conftest.$ac_ext
\r
20530 cat >>conftest.$ac_ext <<_ACEOF
\r
20531 /* end confdefs.h. */
\r
20532 $ac_includes_default
\r
20536 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
\r
20537 test_array [0] = 0
\r
20543 rm -f conftest.$ac_objext
\r
20544 if { (ac_try="$ac_compile"
\r
20545 case "(($ac_try" in
\r
20546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20547 *) ac_try_echo=$ac_try;;
\r
20549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20550 $as_echo "$ac_try_echo") >&5
\r
20551 (eval "$ac_compile") 2>conftest.er1
\r
20553 grep -v '^ *+' conftest.er1 >conftest.err
\r
20554 rm -f conftest.er1
\r
20555 cat conftest.err >&5
\r
20556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20557 (exit $ac_status); } && {
\r
20558 test -z "$ac_c_werror_flag" ||
\r
20559 test ! -s conftest.err
\r
20560 } && test -s conftest.$ac_objext; then
\r
20561 cat >conftest.$ac_ext <<_ACEOF
\r
20562 /* confdefs.h. */
\r
20564 cat confdefs.h >>conftest.$ac_ext
\r
20565 cat >>conftest.$ac_ext <<_ACEOF
\r
20566 /* end confdefs.h. */
\r
20567 $ac_includes_default
\r
20571 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
\r
20572 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
\r
20573 test_array [0] = 0
\r
20579 rm -f conftest.$ac_objext
\r
20580 if { (ac_try="$ac_compile"
\r
20581 case "(($ac_try" in
\r
20582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20583 *) ac_try_echo=$ac_try;;
\r
20585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20586 $as_echo "$ac_try_echo") >&5
\r
20587 (eval "$ac_compile") 2>conftest.er1
\r
20589 grep -v '^ *+' conftest.er1 >conftest.err
\r
20590 rm -f conftest.er1
\r
20591 cat conftest.err >&5
\r
20592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20593 (exit $ac_status); } && {
\r
20594 test -z "$ac_c_werror_flag" ||
\r
20595 test ! -s conftest.err
\r
20596 } && test -s conftest.$ac_objext; then
\r
20599 $as_echo "$as_me: failed program was:" >&5
\r
20600 sed 's/^/| /' conftest.$ac_ext >&5
\r
20603 int16_t) ac_cv_c_int16_t=yes ;;
\r
20604 *) ac_cv_c_int16_t=$ac_type ;;
\r
20609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20611 $as_echo "$as_me: failed program was:" >&5
\r
20612 sed 's/^/| /' conftest.$ac_ext >&5
\r
20617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20618 test "$ac_cv_c_int16_t" != no && break
\r
20621 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
\r
20622 $as_echo "$ac_cv_c_int16_t" >&6; }
\r
20623 case $ac_cv_c_int16_t in #(
\r
20627 cat >>confdefs.h <<_ACEOF
\r
20628 #define int16_t $ac_cv_c_int16_t
\r
20634 { $as_echo "$as_me:$LINENO: checking for int32_t" >&5
\r
20635 $as_echo_n "checking for int32_t... " >&6; }
\r
20636 if test "${ac_cv_c_int32_t+set}" = set; then
\r
20637 $as_echo_n "(cached) " >&6
\r
20639 ac_cv_c_int32_t=no
\r
20640 for ac_type in 'int32_t' 'int' 'long int' \
\r
20641 'long long int' 'short int' 'signed char'; do
\r
20642 cat >conftest.$ac_ext <<_ACEOF
\r
20643 /* confdefs.h. */
\r
20645 cat confdefs.h >>conftest.$ac_ext
\r
20646 cat >>conftest.$ac_ext <<_ACEOF
\r
20647 /* end confdefs.h. */
\r
20648 $ac_includes_default
\r
20652 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
\r
20653 test_array [0] = 0
\r
20659 rm -f conftest.$ac_objext
\r
20660 if { (ac_try="$ac_compile"
\r
20661 case "(($ac_try" in
\r
20662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20663 *) ac_try_echo=$ac_try;;
\r
20665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20666 $as_echo "$ac_try_echo") >&5
\r
20667 (eval "$ac_compile") 2>conftest.er1
\r
20669 grep -v '^ *+' conftest.er1 >conftest.err
\r
20670 rm -f conftest.er1
\r
20671 cat conftest.err >&5
\r
20672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20673 (exit $ac_status); } && {
\r
20674 test -z "$ac_c_werror_flag" ||
\r
20675 test ! -s conftest.err
\r
20676 } && test -s conftest.$ac_objext; then
\r
20677 cat >conftest.$ac_ext <<_ACEOF
\r
20678 /* confdefs.h. */
\r
20680 cat confdefs.h >>conftest.$ac_ext
\r
20681 cat >>conftest.$ac_ext <<_ACEOF
\r
20682 /* end confdefs.h. */
\r
20683 $ac_includes_default
\r
20687 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
\r
20688 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
\r
20689 test_array [0] = 0
\r
20695 rm -f conftest.$ac_objext
\r
20696 if { (ac_try="$ac_compile"
\r
20697 case "(($ac_try" in
\r
20698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20699 *) ac_try_echo=$ac_try;;
\r
20701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20702 $as_echo "$ac_try_echo") >&5
\r
20703 (eval "$ac_compile") 2>conftest.er1
\r
20705 grep -v '^ *+' conftest.er1 >conftest.err
\r
20706 rm -f conftest.er1
\r
20707 cat conftest.err >&5
\r
20708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20709 (exit $ac_status); } && {
\r
20710 test -z "$ac_c_werror_flag" ||
\r
20711 test ! -s conftest.err
\r
20712 } && test -s conftest.$ac_objext; then
\r
20715 $as_echo "$as_me: failed program was:" >&5
\r
20716 sed 's/^/| /' conftest.$ac_ext >&5
\r
20719 int32_t) ac_cv_c_int32_t=yes ;;
\r
20720 *) ac_cv_c_int32_t=$ac_type ;;
\r
20725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20727 $as_echo "$as_me: failed program was:" >&5
\r
20728 sed 's/^/| /' conftest.$ac_ext >&5
\r
20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20734 test "$ac_cv_c_int32_t" != no && break
\r
20737 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
\r
20738 $as_echo "$ac_cv_c_int32_t" >&6; }
\r
20739 case $ac_cv_c_int32_t in #(
\r
20743 cat >>confdefs.h <<_ACEOF
\r
20744 #define int32_t $ac_cv_c_int32_t
\r
20750 { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
\r
20751 $as_echo_n "checking for int64_t... " >&6; }
\r
20752 if test "${ac_cv_c_int64_t+set}" = set; then
\r
20753 $as_echo_n "(cached) " >&6
\r
20755 ac_cv_c_int64_t=no
\r
20756 for ac_type in 'int64_t' 'int' 'long int' \
\r
20757 'long long int' 'short int' 'signed char'; do
\r
20758 cat >conftest.$ac_ext <<_ACEOF
\r
20759 /* confdefs.h. */
\r
20761 cat confdefs.h >>conftest.$ac_ext
\r
20762 cat >>conftest.$ac_ext <<_ACEOF
\r
20763 /* end confdefs.h. */
\r
20764 $ac_includes_default
\r
20768 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))];
\r
20769 test_array [0] = 0
\r
20775 rm -f conftest.$ac_objext
\r
20776 if { (ac_try="$ac_compile"
\r
20777 case "(($ac_try" in
\r
20778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20779 *) ac_try_echo=$ac_try;;
\r
20781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20782 $as_echo "$ac_try_echo") >&5
\r
20783 (eval "$ac_compile") 2>conftest.er1
\r
20785 grep -v '^ *+' conftest.er1 >conftest.err
\r
20786 rm -f conftest.er1
\r
20787 cat conftest.err >&5
\r
20788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20789 (exit $ac_status); } && {
\r
20790 test -z "$ac_c_werror_flag" ||
\r
20791 test ! -s conftest.err
\r
20792 } && test -s conftest.$ac_objext; then
\r
20793 cat >conftest.$ac_ext <<_ACEOF
\r
20794 /* confdefs.h. */
\r
20796 cat confdefs.h >>conftest.$ac_ext
\r
20797 cat >>conftest.$ac_ext <<_ACEOF
\r
20798 /* end confdefs.h. */
\r
20799 $ac_includes_default
\r
20803 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1)
\r
20804 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))];
\r
20805 test_array [0] = 0
\r
20811 rm -f conftest.$ac_objext
\r
20812 if { (ac_try="$ac_compile"
\r
20813 case "(($ac_try" in
\r
20814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20815 *) ac_try_echo=$ac_try;;
\r
20817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20818 $as_echo "$ac_try_echo") >&5
\r
20819 (eval "$ac_compile") 2>conftest.er1
\r
20821 grep -v '^ *+' conftest.er1 >conftest.err
\r
20822 rm -f conftest.er1
\r
20823 cat conftest.err >&5
\r
20824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20825 (exit $ac_status); } && {
\r
20826 test -z "$ac_c_werror_flag" ||
\r
20827 test ! -s conftest.err
\r
20828 } && test -s conftest.$ac_objext; then
\r
20831 $as_echo "$as_me: failed program was:" >&5
\r
20832 sed 's/^/| /' conftest.$ac_ext >&5
\r
20835 int64_t) ac_cv_c_int64_t=yes ;;
\r
20836 *) ac_cv_c_int64_t=$ac_type ;;
\r
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20843 $as_echo "$as_me: failed program was:" >&5
\r
20844 sed 's/^/| /' conftest.$ac_ext >&5
\r
20849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20850 test "$ac_cv_c_int64_t" != no && break
\r
20853 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5
\r
20854 $as_echo "$ac_cv_c_int64_t" >&6; }
\r
20855 case $ac_cv_c_int64_t in #(
\r
20859 cat >>confdefs.h <<_ACEOF
\r
20860 #define int64_t $ac_cv_c_int64_t
\r
20866 { $as_echo "$as_me:$LINENO: checking for intptr_t" >&5
\r
20867 $as_echo_n "checking for intptr_t... " >&6; }
\r
20868 if test "${ac_cv_type_intptr_t+set}" = set; then
\r
20869 $as_echo_n "(cached) " >&6
\r
20871 ac_cv_type_intptr_t=no
\r
20872 cat >conftest.$ac_ext <<_ACEOF
\r
20873 /* confdefs.h. */
\r
20875 cat confdefs.h >>conftest.$ac_ext
\r
20876 cat >>conftest.$ac_ext <<_ACEOF
\r
20877 /* end confdefs.h. */
\r
20878 $ac_includes_default
\r
20882 if (sizeof (intptr_t))
\r
20888 rm -f conftest.$ac_objext
\r
20889 if { (ac_try="$ac_compile"
\r
20890 case "(($ac_try" in
\r
20891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20892 *) ac_try_echo=$ac_try;;
\r
20894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20895 $as_echo "$ac_try_echo") >&5
\r
20896 (eval "$ac_compile") 2>conftest.er1
\r
20898 grep -v '^ *+' conftest.er1 >conftest.err
\r
20899 rm -f conftest.er1
\r
20900 cat conftest.err >&5
\r
20901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20902 (exit $ac_status); } && {
\r
20903 test -z "$ac_c_werror_flag" ||
\r
20904 test ! -s conftest.err
\r
20905 } && test -s conftest.$ac_objext; then
\r
20906 cat >conftest.$ac_ext <<_ACEOF
\r
20907 /* confdefs.h. */
\r
20909 cat confdefs.h >>conftest.$ac_ext
\r
20910 cat >>conftest.$ac_ext <<_ACEOF
\r
20911 /* end confdefs.h. */
\r
20912 $ac_includes_default
\r
20916 if (sizeof ((intptr_t)))
\r
20922 rm -f conftest.$ac_objext
\r
20923 if { (ac_try="$ac_compile"
\r
20924 case "(($ac_try" in
\r
20925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20926 *) ac_try_echo=$ac_try;;
\r
20928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20929 $as_echo "$ac_try_echo") >&5
\r
20930 (eval "$ac_compile") 2>conftest.er1
\r
20932 grep -v '^ *+' conftest.er1 >conftest.err
\r
20933 rm -f conftest.er1
\r
20934 cat conftest.err >&5
\r
20935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20936 (exit $ac_status); } && {
\r
20937 test -z "$ac_c_werror_flag" ||
\r
20938 test ! -s conftest.err
\r
20939 } && test -s conftest.$ac_objext; then
\r
20942 $as_echo "$as_me: failed program was:" >&5
\r
20943 sed 's/^/| /' conftest.$ac_ext >&5
\r
20945 ac_cv_type_intptr_t=yes
\r
20948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20950 $as_echo "$as_me: failed program was:" >&5
\r
20951 sed 's/^/| /' conftest.$ac_ext >&5
\r
20956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
20958 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
\r
20959 $as_echo "$ac_cv_type_intptr_t" >&6; }
\r
20960 if test "x$ac_cv_type_intptr_t" = x""yes; then
\r
20962 cat >>confdefs.h <<\_ACEOF
\r
20963 #define HAVE_INTPTR_T 1
\r
20967 for ac_type in 'int' 'long int' 'long long int'; do
\r
20968 cat >conftest.$ac_ext <<_ACEOF
\r
20969 /* confdefs.h. */
\r
20971 cat confdefs.h >>conftest.$ac_ext
\r
20972 cat >>conftest.$ac_ext <<_ACEOF
\r
20973 /* end confdefs.h. */
\r
20974 $ac_includes_default
\r
20978 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
\r
20979 test_array [0] = 0
\r
20985 rm -f conftest.$ac_objext
\r
20986 if { (ac_try="$ac_compile"
\r
20987 case "(($ac_try" in
\r
20988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
20989 *) ac_try_echo=$ac_try;;
\r
20991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
20992 $as_echo "$ac_try_echo") >&5
\r
20993 (eval "$ac_compile") 2>conftest.er1
\r
20995 grep -v '^ *+' conftest.er1 >conftest.err
\r
20996 rm -f conftest.er1
\r
20997 cat conftest.err >&5
\r
20998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
20999 (exit $ac_status); } && {
\r
21000 test -z "$ac_c_werror_flag" ||
\r
21001 test ! -s conftest.err
\r
21002 } && test -s conftest.$ac_objext; then
\r
21004 cat >>confdefs.h <<_ACEOF
\r
21005 #define intptr_t $ac_type
\r
21010 $as_echo "$as_me: failed program was:" >&5
\r
21011 sed 's/^/| /' conftest.$ac_ext >&5
\r
21016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
21017 test -z "$ac_type" && break
\r
21023 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
\r
21024 $as_echo_n "checking for uint8_t... " >&6; }
\r
21025 if test "${ac_cv_c_uint8_t+set}" = set; then
\r
21026 $as_echo_n "(cached) " >&6
\r
21028 ac_cv_c_uint8_t=no
\r
21029 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
\r
21030 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
\r
21031 cat >conftest.$ac_ext <<_ACEOF
\r
21032 /* confdefs.h. */
\r
21034 cat confdefs.h >>conftest.$ac_ext
\r
21035 cat >>conftest.$ac_ext <<_ACEOF
\r
21036 /* end confdefs.h. */
\r
21037 $ac_includes_default
\r
21041 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
\r
21042 test_array [0] = 0
\r
21048 rm -f conftest.$ac_objext
\r
21049 if { (ac_try="$ac_compile"
\r
21050 case "(($ac_try" in
\r
21051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
21052 *) ac_try_echo=$ac_try;;
\r
21054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
21055 $as_echo "$ac_try_echo") >&5
\r
21056 (eval "$ac_compile") 2>conftest.er1
\r
21058 grep -v '^ *+' conftest.er1 >conftest.err
\r
21059 rm -f conftest.er1
\r
21060 cat conftest.err >&5
\r
21061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
21062 (exit $ac_status); } && {
\r
21063 test -z "$ac_c_werror_flag" ||
\r
21064 test ! -s conftest.err
\r
21065 } && test -s conftest.$ac_objext; then
\r
21067 uint8_t) ac_cv_c_uint8_t=yes ;;
\r
21068 *) ac_cv_c_uint8_t=$ac_type ;;
\r
21072 $as_echo "$as_me: failed program was:" >&5
\r
21073 sed 's/^/| /' conftest.$ac_ext >&5
\r
21078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
21079 test "$ac_cv_c_uint8_t" != no && break
\r
21082 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
\r
21083 $as_echo "$ac_cv_c_uint8_t" >&6; }
\r
21084 case $ac_cv_c_uint8_t in #(
\r
21088 cat >>confdefs.h <<\_ACEOF
\r
21089 #define _UINT8_T 1
\r
21093 cat >>confdefs.h <<_ACEOF
\r
21094 #define uint8_t $ac_cv_c_uint8_t
\r
21100 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
\r
21101 $as_echo_n "checking for uint16_t... " >&6; }
\r
21102 if test "${ac_cv_c_uint16_t+set}" = set; then
\r
21103 $as_echo_n "(cached) " >&6
\r
21105 ac_cv_c_uint16_t=no
\r
21106 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
\r
21107 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
\r
21108 cat >conftest.$ac_ext <<_ACEOF
\r
21109 /* confdefs.h. */
\r
21111 cat confdefs.h >>conftest.$ac_ext
\r
21112 cat >>conftest.$ac_ext <<_ACEOF
\r
21113 /* end confdefs.h. */
\r
21114 $ac_includes_default
\r
21118 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
\r
21119 test_array [0] = 0
\r
21125 rm -f conftest.$ac_objext
\r
21126 if { (ac_try="$ac_compile"
\r
21127 case "(($ac_try" in
\r
21128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
21129 *) ac_try_echo=$ac_try;;
\r
21131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
21132 $as_echo "$ac_try_echo") >&5
\r
21133 (eval "$ac_compile") 2>conftest.er1
\r
21135 grep -v '^ *+' conftest.er1 >conftest.err
\r
21136 rm -f conftest.er1
\r
21137 cat conftest.err >&5
\r
21138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
21139 (exit $ac_status); } && {
\r
21140 test -z "$ac_c_werror_flag" ||
\r
21141 test ! -s conftest.err
\r
21142 } && test -s conftest.$ac_objext; then
\r
21144 uint16_t) ac_cv_c_uint16_t=yes ;;
\r
21145 *) ac_cv_c_uint16_t=$ac_type ;;
\r
21149 $as_echo "$as_me: failed program was:" >&5
\r
21150 sed 's/^/| /' conftest.$ac_ext >&5
\r
21155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
21156 test "$ac_cv_c_uint16_t" != no && break
\r
21159 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
\r
21160 $as_echo "$ac_cv_c_uint16_t" >&6; }
\r
21161 case $ac_cv_c_uint16_t in #(
\r
21166 cat >>confdefs.h <<_ACEOF
\r
21167 #define uint16_t $ac_cv_c_uint16_t
\r
21173 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
\r
21174 $as_echo_n "checking for uint32_t... " >&6; }
\r
21175 if test "${ac_cv_c_uint32_t+set}" = set; then
\r
21176 $as_echo_n "(cached) " >&6
\r
21178 ac_cv_c_uint32_t=no
\r
21179 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
\r
21180 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
\r
21181 cat >conftest.$ac_ext <<_ACEOF
\r
21182 /* confdefs.h. */
\r
21184 cat confdefs.h >>conftest.$ac_ext
\r
21185 cat >>conftest.$ac_ext <<_ACEOF
\r
21186 /* end confdefs.h. */
\r
21187 $ac_includes_default
\r
21191 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
\r
21192 test_array [0] = 0
\r
21198 rm -f conftest.$ac_objext
\r
21199 if { (ac_try="$ac_compile"
\r
21200 case "(($ac_try" in
\r
21201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
21202 *) ac_try_echo=$ac_try;;
\r
21204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
21205 $as_echo "$ac_try_echo") >&5
\r
21206 (eval "$ac_compile") 2>conftest.er1
\r
21208 grep -v '^ *+' conftest.er1 >conftest.err
\r
21209 rm -f conftest.er1
\r
21210 cat conftest.err >&5
\r
21211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
21212 (exit $ac_status); } && {
\r
21213 test -z "$ac_c_werror_flag" ||
\r
21214 test ! -s conftest.err
\r
21215 } && test -s conftest.$ac_objext; then
\r
21217 uint32_t) ac_cv_c_uint32_t=yes ;;
\r
21218 *) ac_cv_c_uint32_t=$ac_type ;;
\r
21222 $as_echo "$as_me: failed program was:" >&5
\r
21223 sed 's/^/| /' conftest.$ac_ext >&5
\r
21228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
21229 test "$ac_cv_c_uint32_t" != no && break
\r
21232 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
\r
21233 $as_echo "$ac_cv_c_uint32_t" >&6; }
\r
21234 case $ac_cv_c_uint32_t in #(
\r
21238 cat >>confdefs.h <<\_ACEOF
\r
21239 #define _UINT32_T 1
\r
21243 cat >>confdefs.h <<_ACEOF
\r
21244 #define uint32_t $ac_cv_c_uint32_t
\r
21250 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
\r
21251 $as_echo_n "checking for uint64_t... " >&6; }
\r
21252 if test "${ac_cv_c_uint64_t+set}" = set; then
\r
21253 $as_echo_n "(cached) " >&6
\r
21255 ac_cv_c_uint64_t=no
\r
21256 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
\r
21257 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
\r
21258 cat >conftest.$ac_ext <<_ACEOF
\r
21259 /* confdefs.h. */
\r
21261 cat confdefs.h >>conftest.$ac_ext
\r
21262 cat >>conftest.$ac_ext <<_ACEOF
\r
21263 /* end confdefs.h. */
\r
21264 $ac_includes_default
\r
21268 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
\r
21269 test_array [0] = 0
\r
21275 rm -f conftest.$ac_objext
\r
21276 if { (ac_try="$ac_compile"
\r
21277 case "(($ac_try" in
\r
21278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
21279 *) ac_try_echo=$ac_try;;
\r
21281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
21282 $as_echo "$ac_try_echo") >&5
\r
21283 (eval "$ac_compile") 2>conftest.er1
\r
21285 grep -v '^ *+' conftest.er1 >conftest.err
\r
21286 rm -f conftest.er1
\r
21287 cat conftest.err >&5
\r
21288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
21289 (exit $ac_status); } && {
\r
21290 test -z "$ac_c_werror_flag" ||
\r
21291 test ! -s conftest.err
\r
21292 } && test -s conftest.$ac_objext; then
\r
21294 uint64_t) ac_cv_c_uint64_t=yes ;;
\r
21295 *) ac_cv_c_uint64_t=$ac_type ;;
\r
21299 $as_echo "$as_me: failed program was:" >&5
\r
21300 sed 's/^/| /' conftest.$ac_ext >&5
\r
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
21306 test "$ac_cv_c_uint64_t" != no && break
\r
21309 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
\r
21310 $as_echo "$ac_cv_c_uint64_t" >&6; }
\r
21311 case $ac_cv_c_uint64_t in #(
\r
21315 cat >>confdefs.h <<\_ACEOF
\r
21316 #define _UINT64_T 1
\r
21320 cat >>confdefs.h <<_ACEOF
\r
21321 #define uint64_t $ac_cv_c_uint64_t
\r
21327 { $as_echo "$as_me:$LINENO: checking for uintptr_t" >&5
\r
21328 $as_echo_n "checking for uintptr_t... " >&6; }
\r
21329 if test "${ac_cv_type_uintptr_t+set}" = set; then
\r
21330 $as_echo_n "(cached) " >&6
\r
21332 ac_cv_type_uintptr_t=no
\r
21333 cat >conftest.$ac_ext <<_ACEOF
\r
21334 /* confdefs.h. */
\r
21336 cat confdefs.h >>conftest.$ac_ext
\r
21337 cat >>conftest.$ac_ext <<_ACEOF
\r
21338 /* end confdefs.h. */
\r
21339 $ac_includes_default
\r
21343 if (sizeof (uintptr_t))
\r
21349 rm -f conftest.$ac_objext
\r
21350 if { (ac_try="$ac_compile"
\r
21351 case "(($ac_try" in
\r
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
21353 *) ac_try_echo=$ac_try;;
\r
21355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
21356 $as_echo "$ac_try_echo") >&5
\r
21357 (eval "$ac_compile") 2>conftest.er1
\r
21359 grep -v '^ *+' conftest.er1 >conftest.err
\r
21360 rm -f conftest.er1
\r
21361 cat conftest.err >&5
\r
21362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
21363 (exit $ac_status); } && {
\r
21364 test -z "$ac_c_werror_flag" ||
\r
21365 test ! -s conftest.err
\r
21366 } && test -s conftest.$ac_objext; then
\r
21367 cat >conftest.$ac_ext <<_ACEOF
\r
21368 /* confdefs.h. */
\r
21370 cat confdefs.h >>conftest.$ac_ext
\r
21371 cat >>conftest.$ac_ext <<_ACEOF
\r
21372 /* end confdefs.h. */
\r
21373 $ac_includes_default
\r
21377 if (sizeof ((uintptr_t)))
\r
21383 rm -f conftest.$ac_objext
\r
21384 if { (ac_try="$ac_compile"
\r
21385 case "(($ac_try" in
\r
21386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
21387 *) ac_try_echo=$ac_try;;
\r
21389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
21390 $as_echo "$ac_try_echo") >&5
\r
21391 (eval "$ac_compile") 2>conftest.er1
\r
21393 grep -v '^ *+' conftest.er1 >conftest.err
\r
21394 rm -f conftest.er1
\r
21395 cat conftest.err >&5
\r
21396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
21397 (exit $ac_status); } && {
\r
21398 test -z "$ac_c_werror_flag" ||
\r
21399 test ! -s conftest.err
\r
21400 } && test -s conftest.$ac_objext; then
\r
21403 $as_echo "$as_me: failed program was:" >&5
\r
21404 sed 's/^/| /' conftest.$ac_ext >&5
\r
21406 ac_cv_type_uintptr_t=yes
\r
21409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
21411 $as_echo "$as_me: failed program was:" >&5
\r
21412 sed 's/^/| /' conftest.$ac_ext >&5
\r
21417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
21419 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
\r
21420 $as_echo "$ac_cv_type_uintptr_t" >&6; }
\r
21421 if test "x$ac_cv_type_uintptr_t" = x""yes; then
\r
21423 cat >>confdefs.h <<\_ACEOF
\r
21424 #define HAVE_UINTPTR_T 1
\r
21428 for ac_type in 'unsigned int' 'unsigned long int' \
\r
21429 'unsigned long long int'; do
\r
21430 cat >conftest.$ac_ext <<_ACEOF
\r
21431 /* confdefs.h. */
\r
21433 cat confdefs.h >>conftest.$ac_ext
\r
21434 cat >>conftest.$ac_ext <<_ACEOF
\r
21435 /* end confdefs.h. */
\r
21436 $ac_includes_default
\r
21440 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
\r
21441 test_array [0] = 0
\r
21447 rm -f conftest.$ac_objext
\r
21448 if { (ac_try="$ac_compile"
\r
21449 case "(($ac_try" in
\r
21450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
21451 *) ac_try_echo=$ac_try;;
\r
21453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
21454 $as_echo "$ac_try_echo") >&5
\r
21455 (eval "$ac_compile") 2>conftest.er1
\r
21457 grep -v '^ *+' conftest.er1 >conftest.err
\r
21458 rm -f conftest.er1
\r
21459 cat conftest.err >&5
\r
21460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
21461 (exit $ac_status); } && {
\r
21462 test -z "$ac_c_werror_flag" ||
\r
21463 test ! -s conftest.err
\r
21464 } && test -s conftest.$ac_objext; then
\r
21466 cat >>confdefs.h <<_ACEOF
\r
21467 #define uintptr_t $ac_type
\r
21472 $as_echo "$as_me: failed program was:" >&5
\r
21473 sed 's/^/| /' conftest.$ac_ext >&5
\r
21478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
21479 test -z "$ac_type" && break
\r
21484 { $as_echo "$as_me:$LINENO: checking for inline" >&5
\r
21485 $as_echo_n "checking for inline... " >&6; }
\r
21486 if test "${ac_cv_c_inline+set}" = set; then
\r
21487 $as_echo_n "(cached) " >&6
\r
21489 ac_cv_c_inline=no
\r
21490 for ac_kw in inline __inline__ __inline; do
\r
21491 cat >conftest.$ac_ext <<_ACEOF
\r
21492 /* confdefs.h. */
\r
21494 cat confdefs.h >>conftest.$ac_ext
\r
21495 cat >>conftest.$ac_ext <<_ACEOF
\r
21496 /* end confdefs.h. */
\r
21497 #ifndef __cplusplus
\r
21498 typedef int foo_t;
\r
21499 static $ac_kw foo_t static_foo () {return 0; }
\r
21500 $ac_kw foo_t foo () {return 0; }
\r
21504 rm -f conftest.$ac_objext
\r
21505 if { (ac_try="$ac_compile"
\r
21506 case "(($ac_try" in
\r
21507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
21508 *) ac_try_echo=$ac_try;;
\r
21510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
21511 $as_echo "$ac_try_echo") >&5
\r
21512 (eval "$ac_compile") 2>conftest.er1
\r
21514 grep -v '^ *+' conftest.er1 >conftest.err
\r
21515 rm -f conftest.er1
\r
21516 cat conftest.err >&5
\r
21517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
21518 (exit $ac_status); } && {
\r
21519 test -z "$ac_c_werror_flag" ||
\r
21520 test ! -s conftest.err
\r
21521 } && test -s conftest.$ac_objext; then
\r
21522 ac_cv_c_inline=$ac_kw
\r
21524 $as_echo "$as_me: failed program was:" >&5
\r
21525 sed 's/^/| /' conftest.$ac_ext >&5
\r
21530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
21531 test "$ac_cv_c_inline" != no && break
\r
21535 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
\r
21536 $as_echo "$ac_cv_c_inline" >&6; }
\r
21539 case $ac_cv_c_inline in
\r
21542 case $ac_cv_c_inline in
\r
21544 *) ac_val=$ac_cv_c_inline;;
\r
21546 cat >>confdefs.h <<_ACEOF
\r
21547 #ifndef __cplusplus
\r
21548 #define inline $ac_val
\r
21556 # Checks for library functions.
\r
21561 for ac_func in memmove memset strdup accept
\r
21563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
\r
21564 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
\r
21565 $as_echo_n "checking for $ac_func... " >&6; }
\r
21566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
\r
21567 $as_echo_n "(cached) " >&6
\r
21569 cat >conftest.$ac_ext <<_ACEOF
\r
21570 /* confdefs.h. */
\r
21572 cat confdefs.h >>conftest.$ac_ext
\r
21573 cat >>conftest.$ac_ext <<_ACEOF
\r
21574 /* end confdefs.h. */
\r
21575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
\r
21576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
21577 #define $ac_func innocuous_$ac_func
\r
21579 /* System header to define __stub macros and hopefully few prototypes,
\r
21580 which can conflict with char $ac_func (); below.
\r
21581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
21582 <limits.h> exists even on freestanding compilers. */
\r
21585 # include <limits.h>
\r
21587 # include <assert.h>
\r
21592 /* Override any GCC internal prototype to avoid an error.
\r
21593 Use char because int might match the return type of a GCC
\r
21594 builtin and then its argument prototype would still apply. */
\r
21595 #ifdef __cplusplus
\r
21598 char $ac_func ();
\r
21599 /* The GNU C library defines this for functions which it implements
\r
21600 to always fail with ENOSYS. Some functions are actually named
\r
21601 something starting with __ and the normal name is an alias. */
\r
21602 #if defined __stub_$ac_func || defined __stub___$ac_func
\r
21609 return $ac_func ();
\r
21614 rm -f conftest.$ac_objext conftest$ac_exeext
\r
21615 if { (ac_try="$ac_link"
\r
21616 case "(($ac_try" in
\r
21617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
21618 *) ac_try_echo=$ac_try;;
\r
21620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
\r
21621 $as_echo "$ac_try_echo") >&5
\r
21622 (eval "$ac_link") 2>conftest.er1
\r
21624 grep -v '^ *+' conftest.er1 >conftest.err
\r
21625 rm -f conftest.er1
\r
21626 cat conftest.err >&5
\r
21627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
21628 (exit $ac_status); } && {
\r
21629 test -z "$ac_c_werror_flag" ||
\r
21630 test ! -s conftest.err
\r
21631 } && test -s conftest$ac_exeext && {
\r
21632 test "$cross_compiling" = yes ||
\r
21633 $as_test_x conftest$ac_exeext
\r
21635 eval "$as_ac_var=yes"
\r
21637 $as_echo "$as_me: failed program was:" >&5
\r
21638 sed 's/^/| /' conftest.$ac_ext >&5
\r
21640 eval "$as_ac_var=no"
\r
21643 rm -rf conftest.dSYM
\r
21644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
21645 conftest$ac_exeext conftest.$ac_ext
\r
21647 ac_res=`eval 'as_val=${'$as_ac_var'}
\r
21648 $as_echo "$as_val"'`
\r
21649 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
\r
21650 $as_echo "$ac_res" >&6; }
\r
21651 as_val=`eval 'as_val=${'$as_ac_var'}
\r
21652 $as_echo "$as_val"'`
\r
21653 if test "x$as_val" = x""yes; then
\r
21654 cat >>confdefs.h <<_ACEOF
\r
21655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
\r
21664 ac_config_headers="$ac_config_headers antlr3config.h"
\r
21666 ac_config_files="$ac_config_files Makefile"
\r
21668 cat >confcache <<\_ACEOF
\r
21669 # This file is a shell script that caches the results of configure
\r
21670 # tests run on this system so they can be shared between configure
\r
21671 # scripts and configure runs, see configure's option --config-cache.
\r
21672 # It is not useful on other systems. If it contains results you don't
\r
21673 # want to keep, you may remove or edit it.
\r
21675 # config.status only pays attention to the cache file if you give it
\r
21676 # the --recheck option to rerun configure.
\r
21678 # `ac_cv_env_foo' variables (set or unset) will be overridden when
\r
21679 # loading this file, other *unset* `ac_cv_foo' will be assigned the
\r
21680 # following values.
\r
21684 # The following way of writing the cache mishandles newlines in values,
\r
21685 # but we know of no workaround that is simple, portable, and efficient.
\r
21686 # So, we kill variables containing newlines.
\r
21687 # Ultrix sh set writes to stderr and can't be redirected directly,
\r
21688 # and sets the high bit in the cache file unless we assign to the vars.
\r
21690 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
\r
21691 eval ac_val=\$$ac_var
\r
21692 case $ac_val in #(
\r
21694 case $ac_var in #(
\r
21695 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
\r
21696 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
\r
21698 case $ac_var in #(
\r
21699 _ | IFS | as_nl) ;; #(
\r
21700 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
\r
21701 *) $as_unset $ac_var ;;
\r
21707 case $as_nl`(ac_space=' '; set) 2>&1` in #(
\r
21708 *${as_nl}ac_space=\ *)
\r
21709 # `set' does not quote correctly, so add quotes (double-quote
\r
21710 # substitution turns \\\\ into \\, and sed turns \\ into \).
\r
21713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
\r
21716 # `set' quotes correctly as required by POSIX, so do not add quotes.
\r
21717 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
\r
21723 /^ac_cv_env_/b end
\r
21726 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
\r
21728 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
\r
21729 :end' >>confcache
\r
21730 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
\r
21731 if test -w "$cache_file"; then
\r
21732 test "x$cache_file" != "x/dev/null" &&
\r
21733 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
\r
21734 $as_echo "$as_me: updating cache $cache_file" >&6;}
\r
21735 cat confcache >$cache_file
\r
21737 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
\r
21738 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
\r
21743 test "x$prefix" = xNONE && prefix=$ac_default_prefix
\r
21744 # Let make expand exec_prefix.
\r
21745 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
\r
21747 DEFS=-DHAVE_CONFIG_H
\r
21751 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
\r
21752 # 1. Remove the extension, and $U if already installed.
\r
21753 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
\r
21754 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
\r
21755 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
\r
21756 # will be set to the directory where LIBOBJS objects are built.
\r
21757 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
\r
21758 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
\r
21760 LIBOBJS=$ac_libobjs
\r
21762 LTLIBOBJS=$ac_ltlibobjs
\r
21765 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
\r
21766 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
\r
21767 Usually this means the macro was only invoked conditionally." >&5
\r
21768 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
\r
21769 Usually this means the macro was only invoked conditionally." >&2;}
\r
21770 { (exit 1); exit 1; }; }
\r
21772 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
\r
21773 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
\r
21774 Usually this means the macro was only invoked conditionally." >&5
\r
21775 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
\r
21776 Usually this means the macro was only invoked conditionally." >&2;}
\r
21777 { (exit 1); exit 1; }; }
\r
21779 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
\r
21780 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
\r
21781 Usually this means the macro was only invoked conditionally." >&5
\r
21782 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
\r
21783 Usually this means the macro was only invoked conditionally." >&2;}
\r
21784 { (exit 1); exit 1; }; }
\r
21786 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
\r
21787 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
\r
21788 Usually this means the macro was only invoked conditionally." >&5
\r
21789 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
\r
21790 Usually this means the macro was only invoked conditionally." >&2;}
\r
21791 { (exit 1); exit 1; }; }
\r
21794 : ${CONFIG_STATUS=./config.status}
\r
21796 ac_clean_files_save=$ac_clean_files
\r
21797 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
\r
21798 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
\r
21799 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
\r
21800 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
\r
21802 # Generated by $as_me.
\r
21803 # Run this file to recreate the current configuration.
\r
21804 # Compiler output produced by configure, useful for debugging
\r
21805 # configure, is in config.log if it exists.
\r
21808 ac_cs_recheck=false
\r
21809 ac_cs_silent=false
\r
21810 SHELL=\${CONFIG_SHELL-$SHELL}
\r
21813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
\r
21814 ## --------------------- ##
\r
21815 ## M4sh Initialization. ##
\r
21816 ## --------------------- ##
\r
21818 # Be more Bourne compatible
\r
21819 DUALCASE=1; export DUALCASE # for MKS sh
\r
21820 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
\r
21823 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
\r
21824 # is contrary to our usage. Disable this feature.
\r
21825 alias -g '${1+"$@"}'='"$@"'
\r
21826 setopt NO_GLOB_SUBST
\r
21828 case `(set -o) 2>/dev/null` in
\r
21829 *posix*) set -o posix ;;
\r
21838 # Avoid depending upon Character Ranges.
\r
21839 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
\r
21840 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
\r
21841 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
\r
21842 as_cr_digits='0123456789'
\r
21843 as_cr_alnum=$as_cr_Letters$as_cr_digits
\r
21848 # Printing a long string crashes Solaris 7 /usr/bin/printf.
\r
21849 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
\r
21850 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
\r
21851 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
\r
21852 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
\r
21853 as_echo='printf %s\n'
\r
21854 as_echo_n='printf %s'
\r
21856 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
\r
21857 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
\r
21858 as_echo_n='/usr/ucb/echo -n'
\r
21860 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
\r
21861 as_echo_n_body='eval
\r
21865 expr "X$arg" : "X\\(.*\\)$as_nl";
\r
21866 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
\r
21868 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
\r
21870 export as_echo_n_body
\r
21871 as_echo_n='sh -c $as_echo_n_body as_echo'
\r
21873 export as_echo_body
\r
21874 as_echo='sh -c $as_echo_body as_echo'
\r
21877 # The user is always right.
\r
21878 if test "${PATH_SEPARATOR+set}" != set; then
\r
21880 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
\r
21881 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
\r
21882 PATH_SEPARATOR=';'
\r
21886 # Support unset when possible.
\r
21887 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
\r
21895 # We need space, tab and new line, in precisely that order. Quoting is
\r
21896 # there to prevent editors from complaining about space-tab.
\r
21897 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
\r
21898 # splitting by setting IFS to empty value.)
\r
21901 # Find who we are. Look in the path if we contain no directory separator.
\r
21903 *[\\/]* ) as_myself=$0 ;;
\r
21904 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
21905 for as_dir in $PATH
\r
21908 test -z "$as_dir" && as_dir=.
\r
21909 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
\r
21915 # We did not find ourselves, most probably we were run as `sh COMMAND'
\r
21916 # in which case we are not to be found in the path.
\r
21917 if test "x$as_myself" = x; then
\r
21920 if test ! -f "$as_myself"; then
\r
21921 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
\r
21922 { (exit 1); exit 1; }
\r
21925 # Work around bugs in pre-3.0 UWIN ksh.
\r
21926 for as_var in ENV MAIL MAILPATH
\r
21927 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
\r
21939 # Required to use basename.
\r
21940 if expr a : '\(a\)' >/dev/null 2>&1 &&
\r
21941 test "X`expr 00001 : '.*\(...\)'`" = X001; then
\r
21947 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
\r
21948 as_basename=basename
\r
21950 as_basename=false
\r
21954 # Name of the executable.
\r
21955 as_me=`$as_basename -- "$0" ||
\r
21956 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
\r
21957 X"$0" : 'X\(//\)$' \| \
\r
21958 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
\r
21959 $as_echo X/"$0" |
\r
21960 sed '/^.*\/\([^/][^/]*\)\/*$/{
\r
21979 as_lineno_1=$LINENO
\r
21980 as_lineno_2=$LINENO
\r
21981 test "x$as_lineno_1" != "x$as_lineno_2" &&
\r
21982 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
\r
21984 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
\r
21985 # uniformly replaced by the line number. The first 'sed' inserts a
\r
21986 # line-number line after each line using $LINENO; the second 'sed'
\r
21987 # does the real work. The second script uses 'N' to pair each
\r
21988 # line-number line with the line containing $LINENO, and appends
\r
21989 # trailing '-' during substitution so that $LINENO is not a special
\r
21990 # case at line end.
\r
21991 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
\r
21992 # scripts with optimization help from Paolo Bonzini. Blame Lee
\r
21993 # E. McMahon (1931-1989) for sed's syntax. :-)
\r
21999 s/[$]LINENO.*/&-/
\r
22005 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
\r
22008 ' >$as_me.lineno &&
\r
22009 chmod +x "$as_me.lineno" ||
\r
22010 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
\r
22011 { (exit 1); exit 1; }; }
\r
22013 # Don't try to exec as it changes $[0], causing all sort of problems
\r
22014 # (the dirname of $[0] is not the place where we might find the
\r
22015 # original and so on. Autoconf is especially sensitive to this).
\r
22016 . "./$as_me.lineno"
\r
22017 # Exit status is that of the last command.
\r
22022 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
\r
22023 as_dirname=dirname
\r
22028 ECHO_C= ECHO_N= ECHO_T=
\r
22029 case `echo -n x` in
\r
22031 case `echo 'x\c'` in
\r
22032 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
\r
22038 if expr a : '\(a\)' >/dev/null 2>&1 &&
\r
22039 test "X`expr 00001 : '.*\(...\)'`" = X001; then
\r
22045 rm -f conf$$ conf$$.exe conf$$.file
\r
22046 if test -d conf$$.dir; then
\r
22047 rm -f conf$$.dir/conf$$.file
\r
22050 mkdir conf$$.dir 2>/dev/null
\r
22052 if (echo >conf$$.file) 2>/dev/null; then
\r
22053 if ln -s conf$$.file conf$$ 2>/dev/null; then
\r
22055 # ... but there are two gotchas:
\r
22056 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
\r
22057 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
\r
22058 # In both cases, we have to default to `cp -p'.
\r
22059 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
\r
22061 elif ln conf$$.file conf$$ 2>/dev/null; then
\r
22069 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
\r
22070 rmdir conf$$.dir 2>/dev/null
\r
22072 if mkdir -p . 2>/dev/null; then
\r
22075 test -d ./-p && rmdir ./-p
\r
22079 if test -x / >/dev/null 2>&1; then
\r
22080 as_test_x='test -x'
\r
22082 if ls -dL / >/dev/null 2>&1; then
\r
22089 if test -d "$1"; then
\r
22095 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
\r
22096 ???[sx]*):;;*)false;;esac;fi
\r
22100 as_executable_p=$as_test_x
\r
22102 # Sed expression to map a string onto a valid CPP name.
\r
22103 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
\r
22105 # Sed expression to map a string onto a valid variable name.
\r
22106 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
\r
22111 # Save the log message, to keep $[0] and so on meaningful, and to
\r
22112 # report actual input values of CONFIG_FILES etc. instead of their
\r
22113 # values after options handling.
\r
22115 This file was extended by libantlr3c $as_me 3.2, which was
\r
22116 generated by GNU Autoconf 2.63. Invocation command line was
\r
22118 CONFIG_FILES = $CONFIG_FILES
\r
22119 CONFIG_HEADERS = $CONFIG_HEADERS
\r
22120 CONFIG_LINKS = $CONFIG_LINKS
\r
22121 CONFIG_COMMANDS = $CONFIG_COMMANDS
\r
22124 on `(hostname || uname -n) 2>/dev/null | sed 1q`
\r
22129 case $ac_config_files in *"
\r
22130 "*) set x $ac_config_files; shift; ac_config_files=$*;;
\r
22133 case $ac_config_headers in *"
\r
22134 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
\r
22138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
\r
22139 # Files that config.status was made for.
\r
22140 config_files="$ac_config_files"
\r
22141 config_headers="$ac_config_headers"
\r
22142 config_commands="$ac_config_commands"
\r
22146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
\r
22148 \`$as_me' instantiates files from templates according to the
\r
22149 current configuration.
\r
22151 Usage: $0 [OPTION]... [FILE]...
\r
22153 -h, --help print this help, then exit
\r
22154 -V, --version print version number and configuration settings, then exit
\r
22155 -q, --quiet, --silent
\r
22156 do not print progress messages
\r
22157 -d, --debug don't remove temporary files
\r
22158 --recheck update $as_me by reconfiguring in the same conditions
\r
22159 --file=FILE[:TEMPLATE]
\r
22160 instantiate the configuration file FILE
\r
22161 --header=FILE[:TEMPLATE]
\r
22162 instantiate the configuration header FILE
\r
22164 Configuration files:
\r
22167 Configuration headers:
\r
22170 Configuration commands:
\r
22173 Report bugs to <bug-autoconf@gnu.org>."
\r
22176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
\r
22177 ac_cs_version="\\
\r
22178 libantlr3c config.status 3.2
\r
22179 configured by $0, generated by GNU Autoconf 2.63,
\r
22180 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
\r
22182 Copyright (C) 2008 Free Software Foundation, Inc.
\r
22183 This config.status script is free software; the Free Software Foundation
\r
22184 gives unlimited permission to copy, distribute and modify it."
\r
22188 INSTALL='$INSTALL'
\r
22190 test -n "\$AWK" || AWK=awk
\r
22193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
\r
22194 # The default lists apply if the user does not specify any file.
\r
22195 ac_need_defaults=:
\r
22196 while test $# != 0
\r
22200 ac_option=`expr "X$1" : 'X\([^=]*\)='`
\r
22201 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
\r
22211 case $ac_option in
\r
22212 # Handling of the options.
\r
22213 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
\r
22214 ac_cs_recheck=: ;;
\r
22215 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
\r
22216 $as_echo "$ac_cs_version"; exit ;;
\r
22217 --debug | --debu | --deb | --de | --d | -d )
\r
22219 --file | --fil | --fi | --f )
\r
22221 case $ac_optarg in
\r
22222 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
\r
22224 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
\r
22225 ac_need_defaults=false;;
\r
22226 --header | --heade | --head | --hea )
\r
22228 case $ac_optarg in
\r
22229 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
\r
22231 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
\r
22232 ac_need_defaults=false;;
\r
22234 # Conflict between --help and --header
\r
22235 { $as_echo "$as_me: error: ambiguous option: $1
\r
22236 Try \`$0 --help' for more information." >&2
\r
22237 { (exit 1); exit 1; }; };;
\r
22238 --help | --hel | -h )
\r
22239 $as_echo "$ac_cs_usage"; exit ;;
\r
22240 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
\r
22241 | -silent | --silent | --silen | --sile | --sil | --si | --s)
\r
22242 ac_cs_silent=: ;;
\r
22244 # This is an error.
\r
22245 -*) { $as_echo "$as_me: error: unrecognized option: $1
\r
22246 Try \`$0 --help' for more information." >&2
\r
22247 { (exit 1); exit 1; }; } ;;
\r
22249 *) ac_config_targets="$ac_config_targets $1"
\r
22250 ac_need_defaults=false ;;
\r
22256 ac_configure_extra_args=
\r
22258 if $ac_cs_silent; then
\r
22260 ac_configure_extra_args="$ac_configure_extra_args --silent"
\r
22264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
\r
22265 if \$ac_cs_recheck; then
\r
22266 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
\r
22268 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
\r
22269 CONFIG_SHELL='$SHELL'
\r
22270 export CONFIG_SHELL
\r
22275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
\r
22276 exec 5>>config.log
\r
22279 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
\r
22280 ## Running $as_me. ##
\r
22282 $as_echo "$ac_log"
\r
22286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
\r
22290 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
\r
22294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
\r
22296 # Handling of arguments.
\r
22297 for ac_config_target in $ac_config_targets
\r
22299 case $ac_config_target in
\r
22300 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
\r
22301 "antlr3config.h") CONFIG_HEADERS="$CONFIG_HEADERS antlr3config.h" ;;
\r
22302 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
\r
22304 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
\r
22305 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
\r
22306 { (exit 1); exit 1; }; };;
\r
22311 # If the user did not use the arguments to specify the items to instantiate,
\r
22312 # then the envvar interface is used. Set only those that are not.
\r
22313 # We use the long form for the default assignment because of an extremely
\r
22314 # bizarre bug on SunOS 4.1.3.
\r
22315 if $ac_need_defaults; then
\r
22316 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
\r
22317 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
\r
22318 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
\r
22321 # Have a temporary directory for convenience. Make it in the build tree
\r
22322 # simply because there is no reason against having it here, and in addition,
\r
22323 # creating and moving files from /tmp can sometimes cause problems.
\r
22324 # Hook for its removal unless debugging.
\r
22325 # Note that there is a small window in which the directory will not be cleaned:
\r
22326 # after its creation but before its name has been assigned to `$tmp'.
\r
22330 trap 'exit_status=$?
\r
22331 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
\r
22333 trap '{ (exit 1); exit 1; }' 1 2 13 15
\r
22335 # Create a (secure) tmp directory for tmp files.
\r
22338 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
\r
22339 test -n "$tmp" && test -d "$tmp"
\r
22342 tmp=./conf$$-$RANDOM
\r
22343 (umask 077 && mkdir "$tmp")
\r
22346 $as_echo "$as_me: cannot create a temporary directory in ." >&2
\r
22347 { (exit 1); exit 1; }
\r
22350 # Set up the scripts for CONFIG_FILES section.
\r
22351 # No need to generate them if there are no CONFIG_FILES.
\r
22352 # This happens for instance with `./config.status config.h'.
\r
22353 if test -n "$CONFIG_FILES"; then
\r
22358 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
\r
22359 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
\r
22360 ac_cs_awk_cr='\\r'
\r
22362 ac_cs_awk_cr=$ac_cr
\r
22365 echo 'BEGIN {' >"$tmp/subs1.awk" &&
\r
22370 echo "cat >conf$$subs.awk <<_ACEOF" &&
\r
22371 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
\r
22373 } >conf$$subs.sh ||
\r
22374 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
\r
22375 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
\r
22376 { (exit 1); exit 1; }; }
\r
22377 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
\r
22378 ac_delim='%!_!# '
\r
22379 for ac_last_try in false false false false false :; do
\r
22380 . ./conf$$subs.sh ||
\r
22381 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
\r
22382 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
\r
22383 { (exit 1); exit 1; }; }
\r
22385 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
\r
22386 if test $ac_delim_n = $ac_delim_num; then
\r
22388 elif $ac_last_try; then
\r
22389 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
\r
22390 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
\r
22391 { (exit 1); exit 1; }; }
\r
22393 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
\r
22396 rm -f conf$$subs.sh
\r
22398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
\r
22399 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
\r
22403 s/^/S["/; s/!.*/"]=/
\r
22409 s/'"$ac_delim"'$//
\r
22413 s/\(.\{148\}\).*/\1/
\r
22415 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
\r
22420 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
\r
22427 s/\(.\{148\}\).*/\1/
\r
22429 s/["\\]/\\&/g; s/^/"/; s/$/"/
\r
22433 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
\r
22438 ' <conf$$subs.awk | sed '
\r
22443 ' >>$CONFIG_STATUS || ac_write_fail=1
\r
22444 rm -f conf$$subs.awk
\r
22445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
\r
22447 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
\r
22448 for (key in S) S_is_set[key] = 1
\r
22454 nfields = split(line, field, "@")
\r
22456 len = length(field[1])
\r
22457 for (i = 2; i < nfields; i++) {
\r
22459 keylen = length(key)
\r
22460 if (S_is_set[key]) {
\r
22462 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
\r
22463 len += length(value) + length(field[++i])
\r
22466 len += 1 + keylen
\r
22474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
\r
22475 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
\r
22476 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
\r
22479 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
\r
22480 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
\r
22481 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
\r
22482 { (exit 1); exit 1; }; }
\r
22485 # VPATH may cause trouble with some makes, so we remove $(srcdir),
\r
22486 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
\r
22487 # trailing colons and then remove the whole line if VPATH becomes empty
\r
22488 # (actually we leave an empty line to preserve line numbers).
\r
22489 if test "x$srcdir" = x.; then
\r
22490 ac_vpsub='/^[ ]*VPATH[ ]*=/{
\r
22491 s/:*\$(srcdir):*/:/
\r
22492 s/:*\${srcdir}:*/:/
\r
22493 s/:*@srcdir@:*/:/
\r
22494 s/^\([^=]*=[ ]*\):*/\1/
\r
22500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
\r
22501 fi # test -n "$CONFIG_FILES"
\r
22503 # Set up the scripts for CONFIG_HEADERS section.
\r
22504 # No need to generate them if there are no CONFIG_HEADERS.
\r
22505 # This happens for instance with `./config.status Makefile'.
\r
22506 if test -n "$CONFIG_HEADERS"; then
\r
22507 cat >"$tmp/defines.awk" <<\_ACAWK ||
\r
22511 # Transform confdefs.h into an awk script `defines.awk', embedded as
\r
22512 # here-document in config.status, that substitutes the proper values into
\r
22513 # config.h.in to produce config.h.
\r
22515 # Create a delimiter string that does not exist in confdefs.h, to ease
\r
22516 # handling of long lines.
\r
22517 ac_delim='%!_!# '
\r
22518 for ac_last_try in false false :; do
\r
22519 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
\r
22520 if test -z "$ac_t"; then
\r
22522 elif $ac_last_try; then
\r
22523 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
\r
22524 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
\r
22525 { (exit 1); exit 1; }; }
\r
22527 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
\r
22531 # For the awk script, D is an array of macro values keyed by name,
\r
22532 # likewise P contains macro parameters if any. Preserve backslash
\r
22533 # newline sequences.
\r
22535 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
\r
22537 s/.\{148\}/&'"$ac_delim"'/g
\r
22540 s/^[ ]*#[ ]*define[ ][ ]*/ /
\r
22547 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
\r
22549 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
\r
22553 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
\r
22554 D["\1"]=" \3\\\\\\n"\\/p
\r
22556 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
\r
22561 s/.\{148\}/&'"$ac_delim"'/g
\r
22566 s/["\\]/\\&/g; s/^/"/; s/$/"/p
\r
22569 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
\r
22571 ' <confdefs.h | sed '
\r
22572 s/'"$ac_delim"'/"\\\
\r
22573 "/g' >>$CONFIG_STATUS || ac_write_fail=1
\r
22575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
\r
22576 for (key in D) D_is_set[key] = 1
\r
22579 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
\r
22581 split(line, arg, " ")
\r
22582 if (arg[1] == "#") {
\r
22583 defundef = arg[2]
\r
22586 defundef = substr(arg[1], 2)
\r
22589 split(mac1, mac2, "(") #)
\r
22591 prefix = substr(line, 1, index(line, defundef) - 1)
\r
22592 if (D_is_set[macro]) {
\r
22593 # Preserve the white space surrounding the "#".
\r
22594 print prefix "define", macro P[macro] D[macro]
\r
22597 # Replace #undef with comments. This is necessary, for example,
\r
22598 # in the case of _POSIX_SOURCE, which is predefined and required
\r
22599 # on some systems where configure will not decide to define it.
\r
22600 if (defundef == "undef") {
\r
22601 print "/*", prefix defundef, macro, "*/"
\r
22609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
\r
22610 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
\r
22611 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
\r
22612 { (exit 1); exit 1; }; }
\r
22613 fi # test -n "$CONFIG_HEADERS"
\r
22616 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
\r
22621 :[FHLC]) ac_mode=$ac_tag; continue;;
\r
22623 case $ac_mode$ac_tag in
\r
22625 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
\r
22626 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
\r
22627 { (exit 1); exit 1; }; };;
\r
22628 :[FH]-) ac_tag=-:-;;
\r
22629 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
\r
22640 :L) ac_source=$1;;
\r
22646 -) ac_f="$tmp/stdin";;
\r
22647 *) # Look for the file first in the build tree, then in the source tree
\r
22648 # (if the path is not absolute). The absolute path cannot be DOS-style,
\r
22649 # because $ac_f cannot contain `:'.
\r
22650 test -f "$ac_f" ||
\r
22653 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
\r
22655 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
\r
22656 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
\r
22657 { (exit 1); exit 1; }; };;
\r
22659 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
\r
22660 ac_file_inputs="$ac_file_inputs '$ac_f'"
\r
22663 # Let's still pretend it is `configure' which instantiates (i.e., don't
\r
22664 # use $as_me), people would be surprised to read:
\r
22665 # /* config.h. Generated by config.status. */
\r
22666 configure_input='Generated from '`
\r
22667 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
\r
22668 `' by configure.'
\r
22669 if test x"$ac_file" != x-; then
\r
22670 configure_input="$ac_file. $configure_input"
\r
22671 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
\r
22672 $as_echo "$as_me: creating $ac_file" >&6;}
\r
22674 # Neutralize special characters interpreted by sed in replacement strings.
\r
22675 case $configure_input in #(
\r
22676 *\&* | *\|* | *\\* )
\r
22677 ac_sed_conf_input=`$as_echo "$configure_input" |
\r
22678 sed 's/[\\\\&|]/\\\\&/g'`;; #(
\r
22679 *) ac_sed_conf_input=$configure_input;;
\r
22683 *:-:* | *:-) cat >"$tmp/stdin" \
\r
22684 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
\r
22685 $as_echo "$as_me: error: could not create $ac_file" >&2;}
\r
22686 { (exit 1); exit 1; }; } ;;
\r
22691 ac_dir=`$as_dirname -- "$ac_file" ||
\r
22692 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
22693 X"$ac_file" : 'X\(//\)[^/]' \| \
\r
22694 X"$ac_file" : 'X\(//\)$' \| \
\r
22695 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
\r
22696 $as_echo X"$ac_file" |
\r
22697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
22701 /^X\(\/\/\)[^/].*/{
\r
22714 { as_dir="$ac_dir"
\r
22715 case $as_dir in #(
\r
22716 -*) as_dir=./$as_dir;;
\r
22718 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
\r
22721 case $as_dir in #(
\r
22722 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
\r
22723 *) as_qdir=$as_dir;;
\r
22725 as_dirs="'$as_qdir' $as_dirs"
\r
22726 as_dir=`$as_dirname -- "$as_dir" ||
\r
22727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
22728 X"$as_dir" : 'X\(//\)[^/]' \| \
\r
22729 X"$as_dir" : 'X\(//\)$' \| \
\r
22730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
\r
22731 $as_echo X"$as_dir" |
\r
22732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
22736 /^X\(\/\/\)[^/].*/{
\r
22749 test -d "$as_dir" && break
\r
22751 test -z "$as_dirs" || eval "mkdir $as_dirs"
\r
22752 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
\r
22753 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
\r
22754 { (exit 1); exit 1; }; }; }
\r
22757 case "$ac_dir" in
\r
22758 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
\r
22760 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
\r
22761 # A ".." for each directory in $ac_dir_suffix.
\r
22762 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
\r
22763 case $ac_top_builddir_sub in
\r
22764 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
\r
22765 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
\r
22768 ac_abs_top_builddir=$ac_pwd
\r
22769 ac_abs_builddir=$ac_pwd$ac_dir_suffix
\r
22770 # for backward compatibility:
\r
22771 ac_top_builddir=$ac_top_build_prefix
\r
22774 .) # We are building in place.
\r
22776 ac_top_srcdir=$ac_top_builddir_sub
\r
22777 ac_abs_top_srcdir=$ac_pwd ;;
\r
22778 [\\/]* | ?:[\\/]* ) # Absolute name.
\r
22779 ac_srcdir=$srcdir$ac_dir_suffix;
\r
22780 ac_top_srcdir=$srcdir
\r
22781 ac_abs_top_srcdir=$srcdir ;;
\r
22782 *) # Relative name.
\r
22783 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
\r
22784 ac_top_srcdir=$ac_top_build_prefix$srcdir
\r
22785 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
\r
22787 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
\r
22797 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
\r
22798 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
\r
22802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
\r
22803 # If the template does not know about datarootdir, expand it.
\r
22804 # FIXME: This hack should be removed a few years after 2.60.
\r
22805 ac_datarootdir_hack=; ac_datarootdir_seen=
\r
22807 ac_sed_dataroot='
\r
22818 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
\r
22819 *datarootdir*) ac_datarootdir_seen=yes;;
\r
22820 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
\r
22821 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
\r
22822 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
\r
22824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
\r
22825 ac_datarootdir_hack='
\r
22826 s&@datadir@&$datadir&g
\r
22827 s&@docdir@&$docdir&g
\r
22828 s&@infodir@&$infodir&g
\r
22829 s&@localedir@&$localedir&g
\r
22830 s&@mandir@&$mandir&g
\r
22831 s&\\\${datarootdir}&$datarootdir&g' ;;
\r
22835 # Neutralize VPATH when `$srcdir' = `.'.
\r
22836 # Shell code in configure.ac might set extrasub.
\r
22837 # FIXME: do we really want to maintain this feature?
\r
22838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
\r
22839 ac_sed_extra="$ac_vpsub
\r
22842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
\r
22844 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
\r
22845 s|@configure_input@|$ac_sed_conf_input|;t t
\r
22846 s&@top_builddir@&$ac_top_builddir_sub&;t t
\r
22847 s&@top_build_prefix@&$ac_top_build_prefix&;t t
\r
22848 s&@srcdir@&$ac_srcdir&;t t
\r
22849 s&@abs_srcdir@&$ac_abs_srcdir&;t t
\r
22850 s&@top_srcdir@&$ac_top_srcdir&;t t
\r
22851 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
\r
22852 s&@builddir@&$ac_builddir&;t t
\r
22853 s&@abs_builddir@&$ac_abs_builddir&;t t
\r
22854 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
\r
22855 s&@INSTALL@&$ac_INSTALL&;t t
\r
22856 $ac_datarootdir_hack
\r
22858 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
\r
22859 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
\r
22860 $as_echo "$as_me: error: could not create $ac_file" >&2;}
\r
22861 { (exit 1); exit 1; }; }
\r
22863 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
\r
22864 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
\r
22865 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
\r
22866 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
\r
22867 which seems to be undefined. Please make sure it is defined." >&5
\r
22868 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
\r
22869 which seems to be undefined. Please make sure it is defined." >&2;}
\r
22871 rm -f "$tmp/stdin"
\r
22873 -) cat "$tmp/out" && rm -f "$tmp/out";;
\r
22874 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
\r
22876 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
\r
22877 $as_echo "$as_me: error: could not create $ac_file" >&2;}
\r
22878 { (exit 1); exit 1; }; }
\r
22884 if test x"$ac_file" != x-; then
\r
22886 $as_echo "/* $configure_input */" \
\r
22887 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
\r
22888 } >"$tmp/config.h" \
\r
22889 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
\r
22890 $as_echo "$as_me: error: could not create $ac_file" >&2;}
\r
22891 { (exit 1); exit 1; }; }
\r
22892 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
\r
22893 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
\r
22894 $as_echo "$as_me: $ac_file is unchanged" >&6;}
\r
22897 mv "$tmp/config.h" "$ac_file" \
\r
22898 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
\r
22899 $as_echo "$as_me: error: could not create $ac_file" >&2;}
\r
22900 { (exit 1); exit 1; }; }
\r
22903 $as_echo "/* $configure_input */" \
\r
22904 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
\r
22905 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
\r
22906 $as_echo "$as_me: error: could not create -" >&2;}
\r
22907 { (exit 1); exit 1; }; }
\r
22909 # Compute "$ac_file"'s index in $config_headers.
\r
22910 _am_stamp_count=1
\r
22911 for _am_header in $config_headers :; do
\r
22912 case $_am_header in
\r
22913 "$ac_file" | "$ac_file":* )
\r
22916 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
\r
22919 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
\r
22920 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
22921 X"$ac_file" : 'X\(//\)[^/]' \| \
\r
22922 X"$ac_file" : 'X\(//\)$' \| \
\r
22923 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
\r
22924 $as_echo X"$ac_file" |
\r
22925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
22929 /^X\(\/\/\)[^/].*/{
\r
22941 s/.*/./; q'`/stamp-h$_am_stamp_count
\r
22944 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
\r
22945 $as_echo "$as_me: executing $ac_file commands" >&6;}
\r
22950 case $ac_file$ac_mode in
\r
22951 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
\r
22952 # Strip MF so we end up with the name of the file.
\r
22953 mf=`echo "$mf" | sed -e 's/:.*$//'`
\r
22954 # Check whether this is an Automake generated Makefile or not.
\r
22955 # We used to match only the files named `Makefile.in', but
\r
22956 # some people rename them; so instead we look at the file content.
\r
22957 # Grep'ing the first line is not enough: some people post-process
\r
22958 # each Makefile.in and add a new line on top of each file to say so.
\r
22959 # So let's grep whole file.
\r
22960 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
\r
22961 dirpart=`$as_dirname -- "$mf" ||
\r
22962 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
22963 X"$mf" : 'X\(//\)[^/]' \| \
\r
22964 X"$mf" : 'X\(//\)$' \| \
\r
22965 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
\r
22966 $as_echo X"$mf" |
\r
22967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
22971 /^X\(\/\/\)[^/].*/{
\r
22987 # Extract the definition of DEPDIR, am__include, and am__quote
\r
22988 # from the Makefile without running `make'.
\r
22989 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
\r
22990 test -z "$DEPDIR" && continue
\r
22991 am__include=`sed -n 's/^am__include = //p' < "$mf"`
\r
22992 test -z "am__include" && continue
\r
22993 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
\r
22994 # When using ansi2knr, U may be empty or an underscore; expand it
\r
22995 U=`sed -n 's/^U = //p' < "$mf"`
\r
22996 # Find all dependency output files, they are included files with
\r
22997 # $(DEPDIR) in their names. We invoke sed twice because it is the
\r
22998 # simplest approach to changing $(DEPDIR) to its actual value in the
\r
23000 for file in `sed -n "
\r
23001 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
\r
23002 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
\r
23003 # Make sure the directory exists.
\r
23004 test -f "$dirpart/$file" && continue
\r
23005 fdir=`$as_dirname -- "$file" ||
\r
23006 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
23007 X"$file" : 'X\(//\)[^/]' \| \
\r
23008 X"$file" : 'X\(//\)$' \| \
\r
23009 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
\r
23010 $as_echo X"$file" |
\r
23011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
23015 /^X\(\/\/\)[^/].*/{
\r
23028 { as_dir=$dirpart/$fdir
\r
23029 case $as_dir in #(
\r
23030 -*) as_dir=./$as_dir;;
\r
23032 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
\r
23035 case $as_dir in #(
\r
23036 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
\r
23037 *) as_qdir=$as_dir;;
\r
23039 as_dirs="'$as_qdir' $as_dirs"
\r
23040 as_dir=`$as_dirname -- "$as_dir" ||
\r
23041 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
23042 X"$as_dir" : 'X\(//\)[^/]' \| \
\r
23043 X"$as_dir" : 'X\(//\)$' \| \
\r
23044 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
\r
23045 $as_echo X"$as_dir" |
\r
23046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
23050 /^X\(\/\/\)[^/].*/{
\r
23063 test -d "$as_dir" && break
\r
23065 test -z "$as_dirs" || eval "mkdir $as_dirs"
\r
23066 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
\r
23067 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
\r
23068 { (exit 1); exit 1; }; }; }
\r
23069 # echo "creating $dirpart/$file"
\r
23070 echo '# dummy' > "$dirpart/$file"
\r
23076 done # for ac_tag
\r
23079 { (exit 0); exit 0; }
\r
23081 chmod +x $CONFIG_STATUS
\r
23082 ac_clean_files=$ac_clean_files_save
\r
23084 test $ac_write_fail = 0 ||
\r
23085 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
\r
23086 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
\r
23087 { (exit 1); exit 1; }; }
\r
23090 # configure is writing to config.log, and then calls config.status.
\r
23091 # config.status does its own redirection, appending to config.log.
\r
23092 # Unfortunately, on DOS this fails, as config.log is still kept open
\r
23093 # by configure, so config.status won't be able to write to it; its
\r
23094 # output is simply discarded. So we exec the FD to /dev/null,
\r
23095 # effectively closing config.log, so it can be properly (re)opened and
\r
23096 # appended to by config.status. When coming back to configure, we
\r
23097 # need to make the FD available again.
\r
23098 if test "$no_create" != yes; then
\r
23100 ac_config_status_args=
\r
23101 test "$silent" = yes &&
\r
23102 ac_config_status_args="$ac_config_status_args --quiet"
\r
23104 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
\r
23105 exec 5>>config.log
\r
23106 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
\r
23107 # would make configure fail if this is the last instruction.
\r
23108 $ac_cs_success || { (exit 1); exit 1; }
\r
23110 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
\r
23111 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
\r
23112 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
\r