2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for Clustal Omega 1.0.2.
5 # Report bugs to <clustalw@ucd.ie>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo; then
592 # Avoid inline document here, it may be left over
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $ECHO works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
615 if test -z "$lt_ECHO"; then
616 if test "X${echo_test_string+set}" != Xset; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # The Solaris, AIX, and Digital Unix default echo programs unquote
634 # backslashes. This makes it impossible to quote backslashes using
635 # echo "$something" | sed 's/\\/\\\\/g'
637 # So, first we look for a working echo in the user's PATH.
639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640 for dir in $PATH /usr/ucb; do
642 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
652 if test "X$ECHO" = Xecho; then
653 # We didn't find a better echo, so look for alternatives.
654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 # This shell has a builtin print -r that does the trick.
659 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660 test "X$CONFIG_SHELL" != X/bin/ksh; then
661 # If we have ksh, try running configure again with it.
662 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663 export ORIGINAL_CONFIG_SHELL
664 CONFIG_SHELL=/bin/ksh
666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
675 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676 test "X$echo_testing_string" = 'X\t' &&
677 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678 test "X$echo_testing_string" = "X$echo_test_string"; then
679 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681 SHELL="$CONFIG_SHELL"
683 ECHO="$CONFIG_SHELL $0 --fallback-echo"
684 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685 test "X$echo_testing_string" = 'X\t' &&
686 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687 test "X$echo_testing_string" = "X$echo_test_string"; then
688 ECHO="$CONFIG_SHELL $0 --fallback-echo"
690 # maybe with a smaller string...
693 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
701 if test "$prev" != 'sed 50q "$0"'; then
702 echo_test_string=`eval $prev`
703 export echo_test_string
704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706 # Oops. We lost completely, so just stick with echo.
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725 exec 7<&0 </dev/null 6>&1
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
735 ac_default_prefix=/usr/local
737 ac_config_libobj_dir=.
743 SHELL=${CONFIG_SHELL-/bin/sh}
745 # Identity of this package.
746 PACKAGE_NAME='Clustal Omega'
747 PACKAGE_TARNAME='clustal-omega'
748 PACKAGE_VERSION='1.0.2'
749 PACKAGE_STRING='Clustal Omega 1.0.2'
750 PACKAGE_BUGREPORT='clustalw@ucd.ie'
752 # Factoring default headers for most tests.
753 ac_includes_default="\
755 #ifdef HAVE_SYS_TYPES_H
756 # include <sys/types.h>
758 #ifdef HAVE_SYS_STAT_H
759 # include <sys/stat.h>
765 # ifdef HAVE_STDLIB_H
770 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
775 #ifdef HAVE_STRINGS_H
776 # include <strings.h>
778 #ifdef HAVE_INTTYPES_H
779 # include <inttypes.h>
788 ac_subst_vars='LTLIBOBJS
854 INSTALL_STRIP_PROGRAM
897 program_transform_name
909 enable_option_checking
910 enable_dependency_tracking
921 ac_precious_vars='build_alias
936 # Initialize some variables set by options.
938 ac_init_version=false
939 ac_unrecognized_opts=
941 # The variables have the same names as the options, with
942 # dashes changed to underlines.
950 program_transform_name=s,x,x,
958 # Installation directory options.
959 # These are left unexpanded so users can "make install exec_prefix=/foo"
960 # and all the variables that are supposed to be based on exec_prefix
961 # by default will actually change.
962 # Use braces instead of parens because sh, perl, etc. also accept them.
963 # (The list follows the same order as the GNU Coding Standards.)
964 bindir='${exec_prefix}/bin'
965 sbindir='${exec_prefix}/sbin'
966 libexecdir='${exec_prefix}/libexec'
967 datarootdir='${prefix}/share'
968 datadir='${datarootdir}'
969 sysconfdir='${prefix}/etc'
970 sharedstatedir='${prefix}/com'
971 localstatedir='${prefix}/var'
972 includedir='${prefix}/include'
973 oldincludedir='/usr/include'
974 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
975 infodir='${datarootdir}/info'
980 libdir='${exec_prefix}/lib'
981 localedir='${datarootdir}/locale'
982 mandir='${datarootdir}/man'
988 # If the previous option needs an argument, assign it.
989 if test -n "$ac_prev"; then
990 eval $ac_prev=\$ac_option
996 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000 # Accept the important Cygnus configure options, so we can diagnose typos.
1002 case $ac_dashdash$ac_option in
1006 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1008 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1009 bindir=$ac_optarg ;;
1011 -build | --build | --buil | --bui | --bu)
1012 ac_prev=build_alias ;;
1013 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1014 build_alias=$ac_optarg ;;
1016 -cache-file | --cache-file | --cache-fil | --cache-fi \
1017 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1018 ac_prev=cache_file ;;
1019 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1020 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1021 cache_file=$ac_optarg ;;
1023 --config-cache | -C)
1024 cache_file=config.cache ;;
1026 -datadir | --datadir | --datadi | --datad)
1028 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1029 datadir=$ac_optarg ;;
1031 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1032 | --dataroo | --dataro | --datar)
1033 ac_prev=datarootdir ;;
1034 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1035 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1036 datarootdir=$ac_optarg ;;
1038 -disable-* | --disable-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1043 { (exit 1); exit 1; }; }
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_$ac_useropt"
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1053 eval enable_$ac_useropt=no ;;
1055 -docdir | --docdir | --docdi | --doc | --do)
1057 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1058 docdir=$ac_optarg ;;
1060 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1062 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1063 dvidir=$ac_optarg ;;
1065 -enable-* | --enable-*)
1066 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1070 { (exit 1); exit 1; }; }
1071 ac_useropt_orig=$ac_useropt
1072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1075 "enable_$ac_useropt"
1077 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1078 ac_unrecognized_sep=', ';;
1080 eval enable_$ac_useropt=\$ac_optarg ;;
1082 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1083 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1084 | --exec | --exe | --ex)
1085 ac_prev=exec_prefix ;;
1086 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1087 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1088 | --exec=* | --exe=* | --ex=*)
1089 exec_prefix=$ac_optarg ;;
1091 -gas | --gas | --ga | --g)
1092 # Obsolete; use --with-gas.
1095 -help | --help | --hel | --he | -h)
1096 ac_init_help=long ;;
1097 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1098 ac_init_help=recursive ;;
1099 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1100 ac_init_help=short ;;
1102 -host | --host | --hos | --ho)
1103 ac_prev=host_alias ;;
1104 -host=* | --host=* | --hos=* | --ho=*)
1105 host_alias=$ac_optarg ;;
1107 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1109 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1111 htmldir=$ac_optarg ;;
1113 -includedir | --includedir | --includedi | --included | --include \
1114 | --includ | --inclu | --incl | --inc)
1115 ac_prev=includedir ;;
1116 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1117 | --includ=* | --inclu=* | --incl=* | --inc=*)
1118 includedir=$ac_optarg ;;
1120 -infodir | --infodir | --infodi | --infod | --info | --inf)
1122 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1123 infodir=$ac_optarg ;;
1125 -libdir | --libdir | --libdi | --libd)
1127 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1128 libdir=$ac_optarg ;;
1130 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1131 | --libexe | --libex | --libe)
1132 ac_prev=libexecdir ;;
1133 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1134 | --libexe=* | --libex=* | --libe=*)
1135 libexecdir=$ac_optarg ;;
1137 -localedir | --localedir | --localedi | --localed | --locale)
1138 ac_prev=localedir ;;
1139 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1140 localedir=$ac_optarg ;;
1142 -localstatedir | --localstatedir | --localstatedi | --localstated \
1143 | --localstate | --localstat | --localsta | --localst | --locals)
1144 ac_prev=localstatedir ;;
1145 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1146 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1147 localstatedir=$ac_optarg ;;
1149 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1151 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1152 mandir=$ac_optarg ;;
1154 -nfp | --nfp | --nf)
1155 # Obsolete; use --without-fp.
1158 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1159 | --no-cr | --no-c | -n)
1162 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1163 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1166 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1167 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1168 | --oldin | --oldi | --old | --ol | --o)
1169 ac_prev=oldincludedir ;;
1170 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1171 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1172 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1173 oldincludedir=$ac_optarg ;;
1175 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1177 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1178 prefix=$ac_optarg ;;
1180 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1181 | --program-pre | --program-pr | --program-p)
1182 ac_prev=program_prefix ;;
1183 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1184 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1185 program_prefix=$ac_optarg ;;
1187 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1188 | --program-suf | --program-su | --program-s)
1189 ac_prev=program_suffix ;;
1190 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1191 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1192 program_suffix=$ac_optarg ;;
1194 -program-transform-name | --program-transform-name \
1195 | --program-transform-nam | --program-transform-na \
1196 | --program-transform-n | --program-transform- \
1197 | --program-transform | --program-transfor \
1198 | --program-transfo | --program-transf \
1199 | --program-trans | --program-tran \
1200 | --progr-tra | --program-tr | --program-t)
1201 ac_prev=program_transform_name ;;
1202 -program-transform-name=* | --program-transform-name=* \
1203 | --program-transform-nam=* | --program-transform-na=* \
1204 | --program-transform-n=* | --program-transform-=* \
1205 | --program-transform=* | --program-transfor=* \
1206 | --program-transfo=* | --program-transf=* \
1207 | --program-trans=* | --program-tran=* \
1208 | --progr-tra=* | --program-tr=* | --program-t=*)
1209 program_transform_name=$ac_optarg ;;
1211 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1213 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1214 pdfdir=$ac_optarg ;;
1216 -psdir | --psdir | --psdi | --psd | --ps)
1218 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1225 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1227 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1229 sbindir=$ac_optarg ;;
1231 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1232 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1233 | --sharedst | --shareds | --shared | --share | --shar \
1235 ac_prev=sharedstatedir ;;
1236 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1237 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1238 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1240 sharedstatedir=$ac_optarg ;;
1242 -site | --site | --sit)
1244 -site=* | --site=* | --sit=*)
1247 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1249 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1250 srcdir=$ac_optarg ;;
1252 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1253 | --syscon | --sysco | --sysc | --sys | --sy)
1254 ac_prev=sysconfdir ;;
1255 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1256 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1257 sysconfdir=$ac_optarg ;;
1259 -target | --target | --targe | --targ | --tar | --ta | --t)
1260 ac_prev=target_alias ;;
1261 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1262 target_alias=$ac_optarg ;;
1264 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1267 -version | --version | --versio | --versi | --vers | -V)
1268 ac_init_version=: ;;
1271 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1274 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1275 { (exit 1); exit 1; }; }
1276 ac_useropt_orig=$ac_useropt
1277 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1282 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1283 ac_unrecognized_sep=', ';;
1285 eval with_$ac_useropt=\$ac_optarg ;;
1287 -without-* | --without-*)
1288 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1291 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1292 { (exit 1); exit 1; }; }
1293 ac_useropt_orig=$ac_useropt
1294 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295 case $ac_user_opts in
1299 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1300 ac_unrecognized_sep=', ';;
1302 eval with_$ac_useropt=no ;;
1305 # Obsolete; use --with-x.
1308 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1309 | --x-incl | --x-inc | --x-in | --x-i)
1310 ac_prev=x_includes ;;
1311 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1312 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1313 x_includes=$ac_optarg ;;
1315 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1316 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1317 ac_prev=x_libraries ;;
1318 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1319 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1320 x_libraries=$ac_optarg ;;
1322 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1323 Try \`$0 --help' for more information." >&2
1324 { (exit 1); exit 1; }; }
1328 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1329 # Reject names that are not valid shell variable names.
1330 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1331 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1332 { (exit 1); exit 1; }; }
1333 eval $ac_envvar=\$ac_optarg
1334 export $ac_envvar ;;
1337 # FIXME: should be removed in autoconf 3.0.
1338 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1339 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1340 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1341 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1347 if test -n "$ac_prev"; then
1348 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1349 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1350 { (exit 1); exit 1; }; }
1353 if test -n "$ac_unrecognized_opts"; then
1354 case $enable_option_checking in
1356 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1357 { (exit 1); exit 1; }; } ;;
1358 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362 # Check all directory arguments for consistency.
1363 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1364 datadir sysconfdir sharedstatedir localstatedir includedir \
1365 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1366 libdir localedir mandir
1368 eval ac_val=\$$ac_var
1369 # Remove trailing slashes.
1372 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1373 eval $ac_var=\$ac_val;;
1375 # Be sure to have absolute directory names.
1377 [\\/$]* | ?:[\\/]* ) continue;;
1378 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1380 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1381 { (exit 1); exit 1; }; }
1384 # There might be people who depend on the old broken behavior: `$host'
1385 # used to hold the argument of --host etc.
1386 # FIXME: To remove some day.
1389 target=$target_alias
1391 # FIXME: To remove some day.
1392 if test "x$host_alias" != x; then
1393 if test "x$build_alias" = x; then
1394 cross_compiling=maybe
1395 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1396 If a cross compiler is detected then cross compile mode will be used." >&2
1397 elif test "x$build_alias" != "x$host_alias"; then
1403 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1405 test "$silent" = yes && exec 6>/dev/null
1408 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1409 ac_ls_di=`ls -di .` &&
1410 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1411 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1412 { (exit 1); exit 1; }; }
1413 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1414 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1415 { (exit 1); exit 1; }; }
1418 # Find the source files, if location was not specified.
1419 if test -z "$srcdir"; then
1420 ac_srcdir_defaulted=yes
1421 # Try the directory containing this script, then the parent directory.
1422 ac_confdir=`$as_dirname -- "$as_myself" ||
1423 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1424 X"$as_myself" : 'X\(//\)[^/]' \| \
1425 X"$as_myself" : 'X\(//\)$' \| \
1426 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1427 $as_echo X"$as_myself" |
1428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446 if test ! -r "$srcdir/$ac_unique_file"; then
1450 ac_srcdir_defaulted=no
1452 if test ! -r "$srcdir/$ac_unique_file"; then
1453 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1454 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1455 { (exit 1); exit 1; }; }
1457 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1459 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1460 { (exit 1); exit 1; }; }
1462 # When building in place, set srcdir=.
1463 if test "$ac_abs_confdir" = "$ac_pwd"; then
1466 # Remove unnecessary trailing slashes from srcdir.
1467 # Double slashes in file names in object file debugging info
1468 # mess up M-x gdb in Emacs.
1470 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1472 for ac_var in $ac_precious_vars; do
1473 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1474 eval ac_env_${ac_var}_value=\$${ac_var}
1475 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1476 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1480 # Report the --help message.
1482 if test "$ac_init_help" = "long"; then
1483 # Omit some internal or obsolete options to make the list less imposing.
1484 # This message is too long to be a string in the A/UX 3.1 sh.
1486 \`configure' configures Clustal Omega 1.0.2 to adapt to many kinds of systems.
1488 Usage: $0 [OPTION]... [VAR=VALUE]...
1490 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1491 VAR=VALUE. See below for descriptions of some of the useful variables.
1493 Defaults for the options are specified in brackets.
1496 -h, --help display this help and exit
1497 --help=short display options specific to this package
1498 --help=recursive display the short help of all the included packages
1499 -V, --version display version information and exit
1500 -q, --quiet, --silent do not print \`checking...' messages
1501 --cache-file=FILE cache test results in FILE [disabled]
1502 -C, --config-cache alias for \`--cache-file=config.cache'
1503 -n, --no-create do not create output files
1504 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1506 Installation directories:
1507 --prefix=PREFIX install architecture-independent files in PREFIX
1508 [$ac_default_prefix]
1509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1512 By default, \`make install' will install all the files in
1513 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1514 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1515 for instance \`--prefix=\$HOME'.
1517 For better control, use the options below.
1519 Fine tuning of the installation directories:
1520 --bindir=DIR user executables [EPREFIX/bin]
1521 --sbindir=DIR system admin executables [EPREFIX/sbin]
1522 --libexecdir=DIR program executables [EPREFIX/libexec]
1523 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1524 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1525 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1526 --libdir=DIR object code libraries [EPREFIX/lib]
1527 --includedir=DIR C header files [PREFIX/include]
1528 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1529 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1530 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1531 --infodir=DIR info documentation [DATAROOTDIR/info]
1532 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1533 --mandir=DIR man documentation [DATAROOTDIR/man]
1534 --docdir=DIR documentation root [DATAROOTDIR/doc/clustal-omega]
1535 --htmldir=DIR html documentation [DOCDIR]
1536 --dvidir=DIR dvi documentation [DOCDIR]
1537 --pdfdir=DIR pdf documentation [DOCDIR]
1538 --psdir=DIR ps documentation [DOCDIR]
1544 --program-prefix=PREFIX prepend PREFIX to installed program names
1545 --program-suffix=SUFFIX append SUFFIX to installed program names
1546 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1549 --build=BUILD configure for building on BUILD [guessed]
1550 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1554 if test -n "$ac_init_help"; then
1555 case $ac_init_help in
1556 short | recursive ) echo "Configuration of Clustal Omega 1.0.2:";;
1561 --disable-option-checking ignore unrecognized --enable/--with options
1562 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1563 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1564 --disable-dependency-tracking speeds up one-time build
1565 --enable-dependency-tracking do not reject slow dependency extractors
1566 --enable-shared[=PKGS] build shared libraries [default=yes]
1567 --enable-static[=PKGS] build static libraries [default=yes]
1568 --enable-fast-install[=PKGS]
1569 optimize for fast installation [default=yes]
1570 --disable-libtool-lock avoid locking (might break parallel builds)
1571 --enable-debug Enable debugging (default=no)
1574 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1575 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1576 --with-pic try to use only PIC/non-PIC objects [default=use
1578 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1579 --without-openmp Do not use OpenMP
1580 --with-dmalloc use dmalloc, as in
1581 http://www.dmalloc.com/dmalloc.tar.gz
1583 Some influential environment variables:
1584 CC C compiler command
1585 CFLAGS C compiler flags
1586 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1587 nonstandard directory <lib dir>
1588 LIBS libraries to pass to the linker, e.g. -l<library>
1589 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1590 you have headers in a nonstandard directory <include dir>
1592 CXX C++ compiler command
1593 CXXFLAGS C++ compiler flags
1594 CXXCPP C++ preprocessor
1596 Use these variables to override the choices made by `configure' or to help
1597 it to find libraries and programs with nonstandard names/locations.
1599 Report bugs to <clustalw@ucd.ie>.
1604 if test "$ac_init_help" = "recursive"; then
1605 # If there are subdirs, report their specific --help.
1606 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1607 test -d "$ac_dir" ||
1608 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1613 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1615 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1616 # A ".." for each directory in $ac_dir_suffix.
1617 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1618 case $ac_top_builddir_sub in
1619 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1623 ac_abs_top_builddir=$ac_pwd
1624 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1625 # for backward compatibility:
1626 ac_top_builddir=$ac_top_build_prefix
1629 .) # We are building in place.
1631 ac_top_srcdir=$ac_top_builddir_sub
1632 ac_abs_top_srcdir=$ac_pwd ;;
1633 [\\/]* | ?:[\\/]* ) # Absolute name.
1634 ac_srcdir=$srcdir$ac_dir_suffix;
1635 ac_top_srcdir=$srcdir
1636 ac_abs_top_srcdir=$srcdir ;;
1638 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1639 ac_top_srcdir=$ac_top_build_prefix$srcdir
1640 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1642 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1644 cd "$ac_dir" || { ac_status=$?; continue; }
1645 # Check for guested configure.
1646 if test -f "$ac_srcdir/configure.gnu"; then
1648 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1649 elif test -f "$ac_srcdir/configure"; then
1651 $SHELL "$ac_srcdir/configure" --help=recursive
1653 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1655 cd "$ac_pwd" || { ac_status=$?; break; }
1659 test -n "$ac_init_help" && exit $ac_status
1660 if $ac_init_version; then
1662 Clustal Omega configure 1.0.2
1663 generated by GNU Autoconf 2.63
1665 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1666 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1667 This configure script is free software; the Free Software Foundation
1668 gives unlimited permission to copy, distribute and modify it.
1672 cat >config.log <<_ACEOF
1673 This file contains any messages produced by compilers while
1674 running configure, to aid debugging if configure makes a mistake.
1676 It was created by Clustal Omega $as_me 1.0.2, which was
1677 generated by GNU Autoconf 2.63. Invocation command line was
1689 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1690 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1691 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1692 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1693 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1695 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1696 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1698 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1699 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1700 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1701 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1702 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1703 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1704 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712 test -z "$as_dir" && as_dir=.
1713 $as_echo "PATH: $as_dir"
1729 # Keep a trace of the command line.
1730 # Strip out --no-create and --no-recursion so they do not pile up.
1731 # Strip out --silent because we don't want to record it for future runs.
1732 # Also quote any args containing shell meta-characters.
1733 # Make two passes to allow for proper duplicate-argument suppression.
1737 ac_must_keep_next=false
1743 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1744 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1745 | -silent | --silent | --silen | --sile | --sil)
1748 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1751 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1753 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1754 if test $ac_must_keep_next = true; then
1755 ac_must_keep_next=false # Got value, back to normal.
1758 *=* | --config-cache | -C | -disable-* | --disable-* \
1759 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1760 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1761 | -with-* | --with-* | -without-* | --without-* | --x)
1762 case "$ac_configure_args0 " in
1763 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1766 -* ) ac_must_keep_next=true ;;
1769 ac_configure_args="$ac_configure_args '$ac_arg'"
1774 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1775 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1777 # When interrupted or exit'd, cleanup temporary files, and complete
1778 # config.log. We remove comments because anyway the quotes in there
1779 # would cause problems or look ugly.
1780 # WARNING: Use '\'' to represent an apostrophe within the trap.
1781 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1782 trap 'exit_status=$?
1783 # Save into config.log some information that might help in debugging.
1788 ## ---------------- ##
1789 ## Cache variables. ##
1790 ## ---------------- ##
1793 # The following way of writing the cache mishandles newlines in values,
1795 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1796 eval ac_val=\$$ac_var
1800 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1801 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1804 _ | IFS | as_nl) ;; #(
1805 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1806 *) $as_unset $ac_var ;;
1811 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1812 *${as_nl}ac_space=\ *)
1814 "s/'\''/'\''\\\\'\'''\''/g;
1815 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1818 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1826 ## ----------------- ##
1827 ## Output variables. ##
1828 ## ----------------- ##
1831 for ac_var in $ac_subst_vars
1833 eval ac_val=\$$ac_var
1835 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1837 $as_echo "$ac_var='\''$ac_val'\''"
1841 if test -n "$ac_subst_files"; then
1843 ## ------------------- ##
1844 ## File substitutions. ##
1845 ## ------------------- ##
1848 for ac_var in $ac_subst_files
1850 eval ac_val=\$$ac_var
1852 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1854 $as_echo "$ac_var='\''$ac_val'\''"
1859 if test -s confdefs.h; then
1869 test "$ac_signal" != 0 &&
1870 $as_echo "$as_me: caught signal $ac_signal"
1871 $as_echo "$as_me: exit $exit_status"
1873 rm -f core *.core core.conftest.* &&
1874 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1877 for ac_signal in 1 2 13 15; do
1878 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1882 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1883 rm -f -r conftest* confdefs.h
1885 # Predefined preprocessor variables.
1887 cat >>confdefs.h <<_ACEOF
1888 #define PACKAGE_NAME "$PACKAGE_NAME"
1892 cat >>confdefs.h <<_ACEOF
1893 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1902 cat >>confdefs.h <<_ACEOF
1903 #define PACKAGE_STRING "$PACKAGE_STRING"
1907 cat >>confdefs.h <<_ACEOF
1908 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1912 # Let the site file select an alternate cache file if it wants to.
1913 # Prefer an explicitly selected file to automatically selected ones.
1916 if test -n "$CONFIG_SITE"; then
1917 ac_site_file1=$CONFIG_SITE
1918 elif test "x$prefix" != xNONE; then
1919 ac_site_file1=$prefix/share/config.site
1920 ac_site_file2=$prefix/etc/config.site
1922 ac_site_file1=$ac_default_prefix/share/config.site
1923 ac_site_file2=$ac_default_prefix/etc/config.site
1925 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1927 test "x$ac_site_file" = xNONE && continue
1928 if test -r "$ac_site_file"; then
1929 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1930 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1931 sed 's/^/| /' "$ac_site_file" >&5
1936 if test -r "$cache_file"; then
1937 # Some versions of bash will fail to source /dev/null (special
1938 # files actually), so we avoid doing that.
1939 if test -f "$cache_file"; then
1940 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1941 $as_echo "$as_me: loading cache $cache_file" >&6;}
1943 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1944 *) . "./$cache_file";;
1948 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1949 $as_echo "$as_me: creating cache $cache_file" >&6;}
1953 # Check that the precious variables saved in the cache have kept the same
1955 ac_cache_corrupted=false
1956 for ac_var in $ac_precious_vars; do
1957 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1958 eval ac_new_set=\$ac_env_${ac_var}_set
1959 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1960 eval ac_new_val=\$ac_env_${ac_var}_value
1961 case $ac_old_set,$ac_new_set in
1963 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1964 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1965 ac_cache_corrupted=: ;;
1967 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1968 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1969 ac_cache_corrupted=: ;;
1972 if test "x$ac_old_val" != "x$ac_new_val"; then
1973 # differences in whitespace do not lead to failure.
1974 ac_old_val_w=`echo x $ac_old_val`
1975 ac_new_val_w=`echo x $ac_new_val`
1976 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1977 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1978 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1979 ac_cache_corrupted=:
1981 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1982 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1983 eval $ac_var=\$ac_old_val
1985 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1986 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1987 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1988 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1991 # Pass precious variables to config.status.
1992 if test "$ac_new_set" = set; then
1994 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1995 *) ac_arg=$ac_var=$ac_new_val ;;
1997 case " $ac_configure_args " in
1998 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1999 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2003 if $ac_cache_corrupted; then
2004 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2006 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2007 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2008 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2009 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2010 { (exit 1); exit 1; }; }
2038 ac_cpp='$CPP $CPPFLAGS'
2039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 PACKAGE_CODENAME="DeshilHollesEamus"
2046 # The AC_INIT macro can take any source file as an argument. It just
2047 # checks that the file is there, which should, in turn, mean that the
2048 # source directory is there. AC_INIT generates the following m4
2049 # macros, output variables and preprocessor symbols:
2057 { $as_echo "$as_me:$LINENO:
2059 Welcome to $PACKAGE_NAME - version $PACKAGE_VERSION ($PACKAGE_CODENAME)
2079 ,MMMMMMMMMMMMI MMMMMMMMMMMM8
2080 ,MMMMMMMMMMMM8 MMMMMMMMMMMM8
2081 ,MMMMMMMMMMMMN MMMMMMMMMMMM8
2086 Welcome to $PACKAGE_NAME - version $PACKAGE_VERSION ($PACKAGE_CODENAME)
2106 ,MMMMMMMMMMMMI MMMMMMMMMMMM8
2107 ,MMMMMMMMMMMM8 MMMMMMMMMMMM8
2108 ,MMMMMMMMMMMMN MMMMMMMMMMMM8
2112 # Created with http://www.glassgiant.com/ascii/ and Wikipedia's Omega
2113 # Replaced all dollars with S's.
2116 # ,MMMMMMMMMD: MMMMM
2117 # NMMMMMMMMMMMMMM+ SMMMM
2118 # DMMMMMMMMMMMMMMMMMM, +MMMM
2119 # MMMMMMMMM8ZSO8MMMMMMMM +MMMM
2120 # MMMMM7 SMMMM +MMMM
2131 # MMMM8: :NMMM +MMMM
2132 # MMMMMMMMMDOODMMMMMMMMM +MMMM
2133 # MMMMMMMMMMMMMMMMMMMM +MMMM
2134 # OMMMMMMMMMMMMMMZ SMMMM
2139 # AC_MSG_NOTICE([Configuring for your system...])
2141 # 2.60 needed for AC_USE_SYSTEM_EXTENSIONS
2142 # consider 2.64 which allows to define a URL as well
2144 # The AM_INIT_AUTOMAKE line adds several standard checks.
2145 # This macro is always needed for automake
2146 # Obsolete: It takes the program name and version number as arguments.
2147 am__api_version='1.10'
2150 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2151 if test -f "$ac_dir/install-sh"; then
2153 ac_install_sh="$ac_aux_dir/install-sh -c"
2155 elif test -f "$ac_dir/install.sh"; then
2157 ac_install_sh="$ac_aux_dir/install.sh -c"
2159 elif test -f "$ac_dir/shtool"; then
2161 ac_install_sh="$ac_aux_dir/shtool install -c"
2165 if test -z "$ac_aux_dir"; then
2166 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2167 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2168 { (exit 1); exit 1; }; }
2171 # These three variables are undocumented and unsupported,
2172 # and are intended to be withdrawn in a future Autoconf release.
2173 # They can cause serious problems if a builder's source tree is in a directory
2174 # whose full name contains unusual characters.
2175 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2176 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2177 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2180 # Find a good install program. We prefer a C program (faster),
2181 # so one script is as good as another. But avoid the broken or
2182 # incompatible versions:
2183 # SysV /etc/install, /usr/sbin/install
2184 # SunOS /usr/etc/install
2185 # IRIX /sbin/install
2187 # AmigaOS /C/install, which installs bootblocks on floppy discs
2188 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2189 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2190 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2191 # OS/2's system install, which has a completely different semantic
2192 # ./install, which can be erroneously created by make from ./install.sh.
2193 # Reject install programs that cannot install multiple files.
2194 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2195 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2196 if test -z "$INSTALL"; then
2197 if test "${ac_cv_path_install+set}" = set; then
2198 $as_echo_n "(cached) " >&6
2200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2204 test -z "$as_dir" && as_dir=.
2205 # Account for people who put trailing slashes in PATH elements.
2207 ./ | .// | /cC/* | \
2208 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2209 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2212 # OSF1 and SCO ODT 3.0 have their own names for install.
2213 # Don't use installbsd from OSF since it installs stuff as root
2215 for ac_prog in ginstall scoinst install; do
2216 for ac_exec_ext in '' $ac_executable_extensions; do
2217 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2218 if test $ac_prog = install &&
2219 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2220 # AIX install. It has an incompatible calling convention.
2222 elif test $ac_prog = install &&
2223 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2224 # program-specific install script used by HP pwplus--don't use.
2227 rm -rf conftest.one conftest.two conftest.dir
2228 echo one > conftest.one
2229 echo two > conftest.two
2231 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2232 test -s conftest.one && test -s conftest.two &&
2233 test -s conftest.dir/conftest.one &&
2234 test -s conftest.dir/conftest.two
2236 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2249 rm -rf conftest.one conftest.two conftest.dir
2252 if test "${ac_cv_path_install+set}" = set; then
2253 INSTALL=$ac_cv_path_install
2255 # As a last resort, use the slow shell script. Don't cache a
2256 # value for INSTALL within a source directory, because that will
2257 # break other packages using the cache if that directory is
2258 # removed, or if the value is a relative name.
2259 INSTALL=$ac_install_sh
2262 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2263 $as_echo "$INSTALL" >&6; }
2265 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2266 # It thinks the first close brace ends the variable substitution.
2267 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2269 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2271 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2273 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2274 $as_echo_n "checking whether build environment is sane... " >&6; }
2277 echo timestamp > conftest.file
2278 # Do `set' in a subshell so we don't clobber the current shell's
2279 # arguments. Must try -L first in case configure is actually a
2280 # symlink; some systems play weird games with the mod time of symlinks
2281 # (eg FreeBSD returns the mod time of the symlink's containing
2284 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2285 if test "$*" = "X"; then
2287 set X `ls -t $srcdir/configure conftest.file`
2290 if test "$*" != "X $srcdir/configure conftest.file" \
2291 && test "$*" != "X conftest.file $srcdir/configure"; then
2293 # If neither matched, then we have a broken ls. This can happen
2294 # if, for instance, CONFIG_SHELL is bash and it inherits a
2295 # broken ls alias from the environment. This has actually
2296 # happened. Such a system could not be considered "sane".
2297 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2298 alias in your environment" >&5
2299 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2300 alias in your environment" >&2;}
2301 { (exit 1); exit 1; }; }
2304 test "$2" = conftest.file
2310 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2311 Check your system clock" >&5
2312 $as_echo "$as_me: error: newly created file is older than distributed files!
2313 Check your system clock" >&2;}
2314 { (exit 1); exit 1; }; }
2316 { $as_echo "$as_me:$LINENO: result: yes" >&5
2317 $as_echo "yes" >&6; }
2318 test "$program_prefix" != NONE &&
2319 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2320 # Use a double $ so make ignores it.
2321 test "$program_suffix" != NONE &&
2322 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2323 # Double any \ or $.
2324 # By default was `s,x,x', remove it if useless.
2325 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2326 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2328 # expand $ac_aux_dir to an absolute path
2329 am_aux_dir=`cd $ac_aux_dir && pwd`
2331 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2332 # Use eval to expand $SHELL
2333 if eval "$MISSING --run true"; then
2334 am_missing_run="$MISSING --run "
2337 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2338 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2341 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2342 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2343 if test -z "$MKDIR_P"; then
2344 if test "${ac_cv_path_mkdir+set}" = set; then
2345 $as_echo_n "(cached) " >&6
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2351 test -z "$as_dir" && as_dir=.
2352 for ac_prog in mkdir gmkdir; do
2353 for ac_exec_ext in '' $ac_executable_extensions; do
2354 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2355 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2356 'mkdir (GNU coreutils) '* | \
2357 'mkdir (coreutils) '* | \
2358 'mkdir (fileutils) '4.1*)
2359 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2369 if test "${ac_cv_path_mkdir+set}" = set; then
2370 MKDIR_P="$ac_cv_path_mkdir -p"
2372 # As a last resort, use the slow shell script. Don't cache a
2373 # value for MKDIR_P within a source directory, because that will
2374 # break other packages using the cache if that directory is
2375 # removed, or if the value is a relative name.
2376 test -d ./--version && rmdir ./--version
2377 MKDIR_P="$ac_install_sh -d"
2380 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2381 $as_echo "$MKDIR_P" >&6; }
2385 [\\/$]* | ?:[\\/]*) ;;
2386 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2389 for ac_prog in gawk mawk nawk awk
2391 # Extract the first word of "$ac_prog", so it can be a program name with args.
2392 set dummy $ac_prog; ac_word=$2
2393 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2394 $as_echo_n "checking for $ac_word... " >&6; }
2395 if test "${ac_cv_prog_AWK+set}" = set; then
2396 $as_echo_n "(cached) " >&6
2398 if test -n "$AWK"; then
2399 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir=.
2406 for ac_exec_ext in '' $ac_executable_extensions; do
2407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2408 ac_cv_prog_AWK="$ac_prog"
2409 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 if test -n "$AWK"; then
2420 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2421 $as_echo "$AWK" >&6; }
2423 { $as_echo "$as_me:$LINENO: result: no" >&5
2424 $as_echo "no" >&6; }
2428 test -n "$AWK" && break
2431 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2432 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2434 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2435 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2436 $as_echo_n "(cached) " >&6
2438 cat >conftest.make <<\_ACEOF
2441 @echo '@@@%%%=$(MAKE)=@@@%%%'
2443 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2444 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2446 eval ac_cv_prog_make_${ac_make}_set=yes;;
2448 eval ac_cv_prog_make_${ac_make}_set=no;;
2452 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2453 { $as_echo "$as_me:$LINENO: result: yes" >&5
2454 $as_echo "yes" >&6; }
2457 { $as_echo "$as_me:$LINENO: result: no" >&5
2458 $as_echo "no" >&6; }
2459 SET_MAKE="MAKE=${MAKE-make}"
2462 rm -rf .tst 2>/dev/null
2463 mkdir .tst 2>/dev/null
2464 if test -d .tst; then
2469 rmdir .tst 2>/dev/null
2471 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2472 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2473 # is not polluted with repeated "-I."
2474 am__isrc=' -I$(srcdir)'
2475 # test to see if srcdir already configured
2476 if test -f $srcdir/config.status; then
2477 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2478 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2479 { (exit 1); exit 1; }; }
2483 # test whether we have cygpath
2484 if test -z "$CYGPATH_W"; then
2485 if (cygpath --version) >/dev/null 2>/dev/null; then
2486 CYGPATH_W='cygpath -w'
2493 # Define the identity of the package.
2494 PACKAGE='clustal-omega'
2498 cat >>confdefs.h <<_ACEOF
2499 #define PACKAGE "$PACKAGE"
2503 cat >>confdefs.h <<_ACEOF
2504 #define VERSION "$VERSION"
2507 # Some tools Automake needs.
2509 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2512 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2515 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2518 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2521 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2523 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2525 # Installed binaries are usually stripped using `strip' when the user
2526 # run `make install-strip'. However `strip' might not be the right
2527 # tool to use in cross-compilation environments, therefore Automake
2528 # will honor the `STRIP' environment variable to overrule this program.
2529 if test "$cross_compiling" != no; then
2530 if test -n "$ac_tool_prefix"; then
2531 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2532 set dummy ${ac_tool_prefix}strip; ac_word=$2
2533 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2534 $as_echo_n "checking for $ac_word... " >&6; }
2535 if test "${ac_cv_prog_STRIP+set}" = set; then
2536 $as_echo_n "(cached) " >&6
2538 if test -n "$STRIP"; then
2539 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir=.
2546 for ac_exec_ext in '' $ac_executable_extensions; do
2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2548 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2549 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 STRIP=$ac_cv_prog_STRIP
2559 if test -n "$STRIP"; then
2560 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2561 $as_echo "$STRIP" >&6; }
2563 { $as_echo "$as_me:$LINENO: result: no" >&5
2564 $as_echo "no" >&6; }
2569 if test -z "$ac_cv_prog_STRIP"; then
2571 # Extract the first word of "strip", so it can be a program name with args.
2572 set dummy strip; ac_word=$2
2573 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 $as_echo_n "checking for $ac_word... " >&6; }
2575 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2576 $as_echo_n "(cached) " >&6
2578 if test -n "$ac_ct_STRIP"; then
2579 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2588 ac_cv_prog_ac_ct_STRIP="strip"
2589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2599 if test -n "$ac_ct_STRIP"; then
2600 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2601 $as_echo "$ac_ct_STRIP" >&6; }
2603 { $as_echo "$as_me:$LINENO: result: no" >&5
2604 $as_echo "no" >&6; }
2607 if test "x$ac_ct_STRIP" = x; then
2610 case $cross_compiling:$ac_tool_warned in
2612 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2614 ac_tool_warned=yes ;;
2619 STRIP="$ac_cv_prog_STRIP"
2623 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2625 # We need awk for the "check" target. The system "awk" is bad on
2627 # Always define AMTAR for backward compatibility.
2629 AMTAR=${AMTAR-"${am_missing_run}tar"}
2631 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2638 # config header: provides a way for people to customise the
2639 # configuration for their platform, via #defines. config.h.in can be
2640 # generated automatically with the autoheader tool. However, you need
2641 # a stamp-h file in your project to ensure that automake regenerates
2642 # config.h from config.h.in. Type 'touch stamp-h' to add this file to
2645 ac_config_headers="$ac_config_headers src/config.h"
2648 # the following allows to install a copy config.h for libclustalo in a
2649 # namespace like way, i.e. no name clash with your own config.h
2651 ac_config_commands="$ac_config_commands src/clustal-omega-config.h"
2654 # This macro was introduced in Autoconf 2.60. If possible, enable
2655 # extensions to C or Posix on hosts that normally disable the
2657 DEPDIR="${am__leading_dot}deps"
2659 ac_config_commands="$ac_config_commands depfiles"
2662 am_make=${MAKE-make}
2663 cat > confinc << 'END'
2668 # If we don't find an include directive, just comment out the code.
2669 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2670 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2674 # First try GNU make style include.
2675 echo "include confinc" > confmf
2676 # We grep out `Entering directory' and `Leaving directory'
2677 # messages which can occur if `w' ends up in MAKEFLAGS.
2678 # In particular we don't look at `^make:' because GNU make might
2679 # be invoked under some other name (usually "gmake"), in which
2680 # case it prints its new name instead of `make'.
2681 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2686 # Now try BSD make style include.
2687 if test "$am__include" = "#"; then
2688 echo '.include "confinc"' > confmf
2689 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2690 am__include=.include
2697 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2698 $as_echo "$_am_result" >&6; }
2699 rm -f confinc confmf
2701 # Check whether --enable-dependency-tracking was given.
2702 if test "${enable_dependency_tracking+set}" = set; then
2703 enableval=$enable_dependency_tracking;
2706 if test "x$enable_dependency_tracking" != xno; then
2707 am_depcomp="$ac_aux_dir/depcomp"
2710 if test "x$enable_dependency_tracking" != xno; then
2720 ac_cpp='$CPP $CPPFLAGS'
2721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2724 if test -n "$ac_tool_prefix"; then
2725 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2726 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2727 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2728 $as_echo_n "checking for $ac_word... " >&6; }
2729 if test "${ac_cv_prog_CC+set}" = set; then
2730 $as_echo_n "(cached) " >&6
2732 if test -n "$CC"; then
2733 ac_cv_prog_CC="$CC" # Let the user override the test.
2735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 test -z "$as_dir" && as_dir=.
2740 for ac_exec_ext in '' $ac_executable_extensions; do
2741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2742 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2743 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 if test -n "$CC"; then
2754 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2755 $as_echo "$CC" >&6; }
2757 { $as_echo "$as_me:$LINENO: result: no" >&5
2758 $as_echo "no" >&6; }
2763 if test -z "$ac_cv_prog_CC"; then
2765 # Extract the first word of "gcc", so it can be a program name with args.
2766 set dummy gcc; ac_word=$2
2767 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2770 $as_echo_n "(cached) " >&6
2772 if test -n "$ac_ct_CC"; then
2773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir=.
2780 for ac_exec_ext in '' $ac_executable_extensions; do
2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782 ac_cv_prog_ac_ct_CC="gcc"
2783 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2793 if test -n "$ac_ct_CC"; then
2794 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2795 $as_echo "$ac_ct_CC" >&6; }
2797 { $as_echo "$as_me:$LINENO: result: no" >&5
2798 $as_echo "no" >&6; }
2801 if test "x$ac_ct_CC" = x; then
2804 case $cross_compiling:$ac_tool_warned in
2806 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2808 ac_tool_warned=yes ;;
2816 if test -z "$CC"; then
2817 if test -n "$ac_tool_prefix"; then
2818 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2819 set dummy ${ac_tool_prefix}cc; ac_word=$2
2820 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2821 $as_echo_n "checking for $ac_word... " >&6; }
2822 if test "${ac_cv_prog_CC+set}" = set; then
2823 $as_echo_n "(cached) " >&6
2825 if test -n "$CC"; then
2826 ac_cv_prog_CC="$CC" # Let the user override the test.
2828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir=.
2833 for ac_exec_ext in '' $ac_executable_extensions; do
2834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2835 ac_cv_prog_CC="${ac_tool_prefix}cc"
2836 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 if test -n "$CC"; then
2847 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2848 $as_echo "$CC" >&6; }
2850 { $as_echo "$as_me:$LINENO: result: no" >&5
2851 $as_echo "no" >&6; }
2857 if test -z "$CC"; then
2858 # Extract the first word of "cc", so it can be a program name with args.
2859 set dummy cc; ac_word=$2
2860 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2861 $as_echo_n "checking for $ac_word... " >&6; }
2862 if test "${ac_cv_prog_CC+set}" = set; then
2863 $as_echo_n "(cached) " >&6
2865 if test -n "$CC"; then
2866 ac_cv_prog_CC="$CC" # Let the user override the test.
2869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2873 test -z "$as_dir" && as_dir=.
2874 for ac_exec_ext in '' $ac_executable_extensions; do
2875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2876 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2877 ac_prog_rejected=yes
2881 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2888 if test $ac_prog_rejected = yes; then
2889 # We found a bogon in the path, so make sure we never use it.
2890 set dummy $ac_cv_prog_CC
2892 if test $# != 0; then
2893 # We chose a different compiler from the bogus one.
2894 # However, it has the same basename, so the bogon will be chosen
2895 # first if we set CC to just the basename; use the full file name.
2897 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2903 if test -n "$CC"; then
2904 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2905 $as_echo "$CC" >&6; }
2907 { $as_echo "$as_me:$LINENO: result: no" >&5
2908 $as_echo "no" >&6; }
2913 if test -z "$CC"; then
2914 if test -n "$ac_tool_prefix"; then
2915 for ac_prog in cl.exe
2917 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2918 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2919 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2920 $as_echo_n "checking for $ac_word... " >&6; }
2921 if test "${ac_cv_prog_CC+set}" = set; then
2922 $as_echo_n "(cached) " >&6
2924 if test -n "$CC"; then
2925 ac_cv_prog_CC="$CC" # Let the user override the test.
2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir=.
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2934 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2935 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 if test -n "$CC"; then
2946 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2947 $as_echo "$CC" >&6; }
2949 { $as_echo "$as_me:$LINENO: result: no" >&5
2950 $as_echo "no" >&6; }
2954 test -n "$CC" && break
2957 if test -z "$CC"; then
2959 for ac_prog in cl.exe
2961 # Extract the first word of "$ac_prog", so it can be a program name with args.
2962 set dummy $ac_prog; ac_word=$2
2963 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2964 $as_echo_n "checking for $ac_word... " >&6; }
2965 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2966 $as_echo_n "(cached) " >&6
2968 if test -n "$ac_ct_CC"; then
2969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2975 test -z "$as_dir" && as_dir=.
2976 for ac_exec_ext in '' $ac_executable_extensions; do
2977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2978 ac_cv_prog_ac_ct_CC="$ac_prog"
2979 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2989 if test -n "$ac_ct_CC"; then
2990 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2991 $as_echo "$ac_ct_CC" >&6; }
2993 { $as_echo "$as_me:$LINENO: result: no" >&5
2994 $as_echo "no" >&6; }
2998 test -n "$ac_ct_CC" && break
3001 if test "x$ac_ct_CC" = x; then
3004 case $cross_compiling:$ac_tool_warned in
3006 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3008 ac_tool_warned=yes ;;
3017 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3019 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3020 See \`config.log' for more details." >&5
3021 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3022 See \`config.log' for more details." >&2;}
3023 { (exit 1); exit 1; }; }; }
3025 # Provide some information about the compiler.
3026 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3029 { (ac_try="$ac_compiler --version >&5"
3031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032 *) ac_try_echo=$ac_try;;
3034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3035 $as_echo "$ac_try_echo") >&5
3036 (eval "$ac_compiler --version >&5") 2>&5
3038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); }
3040 { (ac_try="$ac_compiler -v >&5"
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3046 $as_echo "$ac_try_echo") >&5
3047 (eval "$ac_compiler -v >&5") 2>&5
3049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }
3051 { (ac_try="$ac_compiler -V >&5"
3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3054 *) ac_try_echo=$ac_try;;
3056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3057 $as_echo "$ac_try_echo") >&5
3058 (eval "$ac_compiler -V >&5") 2>&5
3060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); }
3063 cat >conftest.$ac_ext <<_ACEOF
3066 cat confdefs.h >>conftest.$ac_ext
3067 cat >>conftest.$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3078 ac_clean_files_save=$ac_clean_files
3079 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3080 # Try to create an executable without -o first, disregard a.out.
3081 # It will help us diagnose broken compilers, and finding out an intuition
3083 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3084 $as_echo_n "checking for C compiler default output file name... " >&6; }
3085 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3087 # The possible output files:
3088 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3091 for ac_file in $ac_files
3094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3095 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3100 if { (ac_try="$ac_link_default"
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3106 $as_echo "$ac_try_echo") >&5
3107 (eval "$ac_link_default") 2>&5
3109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }; then
3111 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3112 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3113 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3114 # so that the user can short-circuit this test for compilers unknown to
3116 for ac_file in $ac_files ''
3118 test -f "$ac_file" || continue
3120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3123 # We found the default executable, but exeext='' is most
3127 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3129 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3131 # We set ac_cv_exeext here because the later test for it is not
3132 # safe: cross compilers may not add the suffix if given an `-o'
3133 # argument, so we may need to know it at that point already.
3134 # Even if this section looks crufty: it has the advantage of
3141 test "$ac_cv_exeext" = no && ac_cv_exeext=
3147 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3148 $as_echo "$ac_file" >&6; }
3149 if test -z "$ac_file"; then
3150 $as_echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3153 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3155 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3156 See \`config.log' for more details." >&5
3157 $as_echo "$as_me: error: C compiler cannot create executables
3158 See \`config.log' for more details." >&2;}
3159 { (exit 77); exit 77; }; }; }
3162 ac_exeext=$ac_cv_exeext
3164 # Check that the compiler produces executables we can run. If not, either
3165 # the compiler is broken, or we cross compile.
3166 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3167 $as_echo_n "checking whether the C compiler works... " >&6; }
3168 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3169 # If not cross compiling, check that we can run a simple program.
3170 if test "$cross_compiling" != yes; then
3171 if { ac_try='./$ac_file'
3172 { (case "(($ac_try" in
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3177 $as_echo "$ac_try_echo") >&5
3178 (eval "$ac_try") 2>&5
3180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; }; then
3184 if test "$cross_compiling" = maybe; then
3187 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3190 If you meant to cross compile, use \`--host'.
3191 See \`config.log' for more details." >&5
3192 $as_echo "$as_me: error: cannot run C compiled programs.
3193 If you meant to cross compile, use \`--host'.
3194 See \`config.log' for more details." >&2;}
3195 { (exit 1); exit 1; }; }; }
3199 { $as_echo "$as_me:$LINENO: result: yes" >&5
3200 $as_echo "yes" >&6; }
3202 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3203 ac_clean_files=$ac_clean_files_save
3204 # Check that the compiler produces executables we can run. If not, either
3205 # the compiler is broken, or we cross compile.
3206 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3207 $as_echo_n "checking whether we are cross compiling... " >&6; }
3208 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3209 $as_echo "$cross_compiling" >&6; }
3211 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3212 $as_echo_n "checking for suffix of executables... " >&6; }
3213 if { (ac_try="$ac_link"
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3219 $as_echo "$ac_try_echo") >&5
3220 (eval "$ac_link") 2>&5
3222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; then
3224 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3225 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3226 # work properly (i.e., refer to `conftest.exe'), while it won't with
3228 for ac_file in conftest.exe conftest conftest.*; do
3229 test -f "$ac_file" || continue
3231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3232 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3238 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3240 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3241 See \`config.log' for more details." >&5
3242 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3243 See \`config.log' for more details." >&2;}
3244 { (exit 1); exit 1; }; }; }
3247 rm -f conftest$ac_cv_exeext
3248 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3249 $as_echo "$ac_cv_exeext" >&6; }
3251 rm -f conftest.$ac_ext
3252 EXEEXT=$ac_cv_exeext
3254 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3255 $as_echo_n "checking for suffix of object files... " >&6; }
3256 if test "${ac_cv_objext+set}" = set; then
3257 $as_echo_n "(cached) " >&6
3259 cat >conftest.$ac_ext <<_ACEOF
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3274 rm -f conftest.o conftest.obj
3275 if { (ac_try="$ac_compile"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3281 $as_echo "$ac_try_echo") >&5
3282 (eval "$ac_compile") 2>&5
3284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }; then
3286 for ac_file in conftest.o conftest.obj conftest.*; do
3287 test -f "$ac_file" || continue;
3289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3290 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3295 $as_echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.$ac_ext >&5
3298 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3300 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3301 See \`config.log' for more details." >&5
3302 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3303 See \`config.log' for more details." >&2;}
3304 { (exit 1); exit 1; }; }; }
3307 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3309 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3310 $as_echo "$ac_cv_objext" >&6; }
3311 OBJEXT=$ac_cv_objext
3313 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3314 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3315 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3316 $as_echo_n "(cached) " >&6
3318 cat >conftest.$ac_ext <<_ACEOF
3321 cat confdefs.h >>conftest.$ac_ext
3322 cat >>conftest.$ac_ext <<_ACEOF
3323 /* end confdefs.h. */
3336 rm -f conftest.$ac_objext
3337 if { (ac_try="$ac_compile"
3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340 *) ac_try_echo=$ac_try;;
3342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3343 $as_echo "$ac_try_echo") >&5
3344 (eval "$ac_compile") 2>conftest.er1
3346 grep -v '^ *+' conftest.er1 >conftest.err
3348 cat conftest.err >&5
3349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } && {
3351 test -z "$ac_c_werror_flag" ||
3352 test ! -s conftest.err
3353 } && test -s conftest.$ac_objext; then
3356 $as_echo "$as_me: failed program was:" >&5
3357 sed 's/^/| /' conftest.$ac_ext >&5
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3366 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3367 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3368 if test $ac_compiler_gnu = yes; then
3373 ac_test_CFLAGS=${CFLAGS+set}
3374 ac_save_CFLAGS=$CFLAGS
3375 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3376 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3377 if test "${ac_cv_prog_cc_g+set}" = set; then
3378 $as_echo_n "(cached) " >&6
3380 ac_save_c_werror_flag=$ac_c_werror_flag
3381 ac_c_werror_flag=yes
3384 cat >conftest.$ac_ext <<_ACEOF
3387 cat confdefs.h >>conftest.$ac_ext
3388 cat >>conftest.$ac_ext <<_ACEOF
3389 /* end confdefs.h. */
3399 rm -f conftest.$ac_objext
3400 if { (ac_try="$ac_compile"
3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403 *) ac_try_echo=$ac_try;;
3405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3406 $as_echo "$ac_try_echo") >&5
3407 (eval "$ac_compile") 2>conftest.er1
3409 grep -v '^ *+' conftest.er1 >conftest.err
3411 cat conftest.err >&5
3412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } && {
3414 test -z "$ac_c_werror_flag" ||
3415 test ! -s conftest.err
3416 } && test -s conftest.$ac_objext; then
3419 $as_echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.$ac_ext >&5
3423 cat >conftest.$ac_ext <<_ACEOF
3426 cat confdefs.h >>conftest.$ac_ext
3427 cat >>conftest.$ac_ext <<_ACEOF
3428 /* end confdefs.h. */
3438 rm -f conftest.$ac_objext
3439 if { (ac_try="$ac_compile"
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3445 $as_echo "$ac_try_echo") >&5
3446 (eval "$ac_compile") 2>conftest.er1
3448 grep -v '^ *+' conftest.er1 >conftest.err
3450 cat conftest.err >&5
3451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); } && {
3453 test -z "$ac_c_werror_flag" ||
3454 test ! -s conftest.err
3455 } && test -s conftest.$ac_objext; then
3458 $as_echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3461 ac_c_werror_flag=$ac_save_c_werror_flag
3463 cat >conftest.$ac_ext <<_ACEOF
3466 cat confdefs.h >>conftest.$ac_ext
3467 cat >>conftest.$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3478 rm -f conftest.$ac_objext
3479 if { (ac_try="$ac_compile"
3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3482 *) ac_try_echo=$ac_try;;
3484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3485 $as_echo "$ac_try_echo") >&5
3486 (eval "$ac_compile") 2>conftest.er1
3488 grep -v '^ *+' conftest.er1 >conftest.err
3490 cat conftest.err >&5
3491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } && {
3493 test -z "$ac_c_werror_flag" ||
3494 test ! -s conftest.err
3495 } && test -s conftest.$ac_objext; then
3498 $as_echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 ac_c_werror_flag=$ac_save_c_werror_flag
3513 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3514 $as_echo "$ac_cv_prog_cc_g" >&6; }
3515 if test "$ac_test_CFLAGS" = set; then
3516 CFLAGS=$ac_save_CFLAGS
3517 elif test $ac_cv_prog_cc_g = yes; then
3518 if test "$GCC" = yes; then
3524 if test "$GCC" = yes; then
3530 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3531 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3532 if test "${ac_cv_prog_cc_c89+set}" = set; then
3533 $as_echo_n "(cached) " >&6
3535 ac_cv_prog_cc_c89=no
3537 cat >conftest.$ac_ext <<_ACEOF
3540 cat confdefs.h >>conftest.$ac_ext
3541 cat >>conftest.$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3545 #include <sys/types.h>
3546 #include <sys/stat.h>
3547 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3548 struct buf { int x; };
3549 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3550 static char *e (p, i)
3556 static char *f (char * (*g) (char **, int), char **p, ...)
3561 s = g (p, va_arg (v,int));
3566 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3567 function prototypes and stuff, but not '\xHH' hex character constants.
3568 These don't provoke an error unfortunately, instead are silently treated
3569 as 'x'. The following induces an error, until -std is added to get
3570 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3571 array size at least. It's necessary to write '\x00'==0 to get something
3572 that's true only with -std. */
3573 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3575 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3576 inside strings and character constants. */
3578 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3580 int test (int i, double x);
3581 struct s1 {int (*f) (int a);};
3582 struct s2 {int (*f) (double a);};
3583 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3589 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3594 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3595 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3597 CC="$ac_save_CC $ac_arg"
3598 rm -f conftest.$ac_objext
3599 if { (ac_try="$ac_compile"
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3605 $as_echo "$ac_try_echo") >&5
3606 (eval "$ac_compile") 2>conftest.er1
3608 grep -v '^ *+' conftest.er1 >conftest.err
3610 cat conftest.err >&5
3611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } && {
3613 test -z "$ac_c_werror_flag" ||
3614 test ! -s conftest.err
3615 } && test -s conftest.$ac_objext; then
3616 ac_cv_prog_cc_c89=$ac_arg
3618 $as_echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.$ac_ext >&5
3624 rm -f core conftest.err conftest.$ac_objext
3625 test "x$ac_cv_prog_cc_c89" != "xno" && break
3627 rm -f conftest.$ac_ext
3632 case "x$ac_cv_prog_cc_c89" in
3634 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3635 $as_echo "none needed" >&6; } ;;
3637 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3638 $as_echo "unsupported" >&6; } ;;
3640 CC="$CC $ac_cv_prog_cc_c89"
3641 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3642 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3647 ac_cpp='$CPP $CPPFLAGS'
3648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3652 depcc="$CC" am_compiler_list=
3654 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3655 $as_echo_n "checking dependency style of $depcc... " >&6; }
3656 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3657 $as_echo_n "(cached) " >&6
3659 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3660 # We make a subdir and do the tests there. Otherwise we can end up
3661 # making bogus files that we don't know about and never remove. For
3662 # instance it was reported that on HP-UX the gcc test will end up
3663 # making a dummy file named `D' -- because `-MD' means `put the output
3666 # Copy depcomp to subdir because otherwise we won't find it if we're
3667 # using a relative directory.
3668 cp "$am_depcomp" conftest.dir
3670 # We will build objects and dependencies in a subdirectory because
3671 # it helps to detect inapplicable dependency modes. For instance
3672 # both Tru64's cc and ICC support -MD to output dependencies as a
3673 # side effect of compilation, but ICC will put the dependencies in
3674 # the current directory while Tru64 will put them in the object
3678 am_cv_CC_dependencies_compiler_type=none
3679 if test "$am_compiler_list" = ""; then
3680 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3682 for depmode in $am_compiler_list; do
3683 # Setup a source with many dependencies, because some compilers
3684 # like to wrap large dependency lists on column 80 (with \), and
3685 # we should not choose a depcomp mode which is confused by this.
3687 # We need to recreate these files for each test, as the compiler may
3688 # overwrite some of them when testing with obscure command lines.
3689 # This happens at least with the AIX C compiler.
3691 for i in 1 2 3 4 5 6; do
3692 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3693 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3694 # Solaris 8's {/usr,}/bin/sh.
3695 touch sub/conftst$i.h
3697 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3701 # after this tag, mechanisms are not by side-effect, so they'll
3702 # only be used when explicitly requested
3703 if test "x$enable_dependency_tracking" = xyes; then
3711 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3712 # mode. It turns out that the SunPro C++ compiler does not properly
3713 # handle `-M -o', and we need to detect this.
3714 if depmode=$depmode \
3715 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3716 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3717 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3718 >/dev/null 2>conftest.err &&
3719 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3720 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3721 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3722 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3723 # icc doesn't choke on unknown options, it will just issue warnings
3724 # or remarks (even with -Werror). So we grep stderr for any message
3725 # that says an option was ignored or not supported.
3726 # When given -MP, icc 7.0 and 7.1 complain thusly:
3727 # icc: Command line warning: ignoring option '-M'; no argument required
3728 # The diagnosis changed in icc 8.0:
3729 # icc: Command line remark: option '-MP' not supported
3730 if (grep 'ignoring option' conftest.err ||
3731 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3732 am_cv_CC_dependencies_compiler_type=$depmode
3741 am_cv_CC_dependencies_compiler_type=none
3745 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3746 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3747 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3750 test "x$enable_dependency_tracking" != xno \
3751 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3753 am__fastdepCC_FALSE='#'
3755 am__fastdepCC_TRUE='#'
3756 am__fastdepCC_FALSE=
3762 ac_cpp='$CPP $CPPFLAGS'
3763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3766 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3767 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3768 # On Suns, sometimes $CPP names a directory.
3769 if test -n "$CPP" && test -d "$CPP"; then
3772 if test -z "$CPP"; then
3773 if test "${ac_cv_prog_CPP+set}" = set; then
3774 $as_echo_n "(cached) " >&6
3776 # Double quotes because CPP needs to be expanded
3777 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3780 for ac_c_preproc_warn_flag in '' yes
3782 # Use a header file that comes with gcc, so configuring glibc
3783 # with a fresh cross-compiler works.
3784 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3785 # <limits.h> exists even on freestanding compilers.
3786 # On the NeXT, cc -E runs the code through the compiler's parser,
3787 # not just through cpp. "Syntax error" is here to catch this case.
3788 cat >conftest.$ac_ext <<_ACEOF
3791 cat confdefs.h >>conftest.$ac_ext
3792 cat >>conftest.$ac_ext <<_ACEOF
3793 /* end confdefs.h. */
3795 # include <limits.h>
3797 # include <assert.h>
3801 if { (ac_try="$ac_cpp conftest.$ac_ext"
3803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3804 *) ac_try_echo=$ac_try;;
3806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3807 $as_echo "$ac_try_echo") >&5
3808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3810 grep -v '^ *+' conftest.er1 >conftest.err
3812 cat conftest.err >&5
3813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); } >/dev/null && {
3815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3816 test ! -s conftest.err
3820 $as_echo "$as_me: failed program was:" >&5
3821 sed 's/^/| /' conftest.$ac_ext >&5
3823 # Broken: fails on valid input.
3827 rm -f conftest.err conftest.$ac_ext
3829 # OK, works on sane cases. Now check whether nonexistent headers
3830 # can be detected and how.
3831 cat >conftest.$ac_ext <<_ACEOF
3834 cat confdefs.h >>conftest.$ac_ext
3835 cat >>conftest.$ac_ext <<_ACEOF
3836 /* end confdefs.h. */
3837 #include <ac_nonexistent.h>
3839 if { (ac_try="$ac_cpp conftest.$ac_ext"
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3845 $as_echo "$ac_try_echo") >&5
3846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3848 grep -v '^ *+' conftest.er1 >conftest.err
3850 cat conftest.err >&5
3851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); } >/dev/null && {
3853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3854 test ! -s conftest.err
3856 # Broken: success on invalid input.
3859 $as_echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 # Passes both tests.
3867 rm -f conftest.err conftest.$ac_ext
3870 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3871 rm -f conftest.err conftest.$ac_ext
3872 if $ac_preproc_ok; then
3884 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3885 $as_echo "$CPP" >&6; }
3887 for ac_c_preproc_warn_flag in '' yes
3889 # Use a header file that comes with gcc, so configuring glibc
3890 # with a fresh cross-compiler works.
3891 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3892 # <limits.h> exists even on freestanding compilers.
3893 # On the NeXT, cc -E runs the code through the compiler's parser,
3894 # not just through cpp. "Syntax error" is here to catch this case.
3895 cat >conftest.$ac_ext <<_ACEOF
3898 cat confdefs.h >>conftest.$ac_ext
3899 cat >>conftest.$ac_ext <<_ACEOF
3900 /* end confdefs.h. */
3902 # include <limits.h>
3904 # include <assert.h>
3908 if { (ac_try="$ac_cpp conftest.$ac_ext"
3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3914 $as_echo "$ac_try_echo") >&5
3915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3917 grep -v '^ *+' conftest.er1 >conftest.err
3919 cat conftest.err >&5
3920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } >/dev/null && {
3922 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3923 test ! -s conftest.err
3927 $as_echo "$as_me: failed program was:" >&5
3928 sed 's/^/| /' conftest.$ac_ext >&5
3930 # Broken: fails on valid input.
3934 rm -f conftest.err conftest.$ac_ext
3936 # OK, works on sane cases. Now check whether nonexistent headers
3937 # can be detected and how.
3938 cat >conftest.$ac_ext <<_ACEOF
3941 cat confdefs.h >>conftest.$ac_ext
3942 cat >>conftest.$ac_ext <<_ACEOF
3943 /* end confdefs.h. */
3944 #include <ac_nonexistent.h>
3946 if { (ac_try="$ac_cpp conftest.$ac_ext"
3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949 *) ac_try_echo=$ac_try;;
3951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3952 $as_echo "$ac_try_echo") >&5
3953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3955 grep -v '^ *+' conftest.er1 >conftest.err
3957 cat conftest.err >&5
3958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } >/dev/null && {
3960 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3961 test ! -s conftest.err
3963 # Broken: success on invalid input.
3966 $as_echo "$as_me: failed program was:" >&5
3967 sed 's/^/| /' conftest.$ac_ext >&5
3969 # Passes both tests.
3974 rm -f conftest.err conftest.$ac_ext
3977 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3978 rm -f conftest.err conftest.$ac_ext
3979 if $ac_preproc_ok; then
3982 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3985 See \`config.log' for more details." >&5
3986 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3987 See \`config.log' for more details." >&2;}
3988 { (exit 1); exit 1; }; }; }
3992 ac_cpp='$CPP $CPPFLAGS'
3993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3998 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3999 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4000 if test "${ac_cv_path_GREP+set}" = set; then
4001 $as_echo_n "(cached) " >&6
4003 if test -z "$GREP"; then
4004 ac_path_GREP_found=false
4005 # Loop through the user's path and test for each of PROGNAME-LIST
4006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4007 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4010 test -z "$as_dir" && as_dir=.
4011 for ac_prog in grep ggrep; do
4012 for ac_exec_ext in '' $ac_executable_extensions; do
4013 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4014 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4015 # Check for GNU ac_path_GREP and select it if it is found.
4016 # Check for GNU $ac_path_GREP
4017 case `"$ac_path_GREP" --version 2>&1` in
4019 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4022 $as_echo_n 0123456789 >"conftest.in"
4025 cat "conftest.in" "conftest.in" >"conftest.tmp"
4026 mv "conftest.tmp" "conftest.in"
4027 cp "conftest.in" "conftest.nl"
4028 $as_echo 'GREP' >> "conftest.nl"
4029 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4030 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4031 ac_count=`expr $ac_count + 1`
4032 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4033 # Best one so far, save it but keep looking for a better one
4034 ac_cv_path_GREP="$ac_path_GREP"
4035 ac_path_GREP_max=$ac_count
4037 # 10*(2^10) chars as input seems more than enough
4038 test $ac_count -gt 10 && break
4040 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4043 $ac_path_GREP_found && break 3
4048 if test -z "$ac_cv_path_GREP"; then
4049 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4050 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4051 { (exit 1); exit 1; }; }
4054 ac_cv_path_GREP=$GREP
4058 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4059 $as_echo "$ac_cv_path_GREP" >&6; }
4060 GREP="$ac_cv_path_GREP"
4063 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4064 $as_echo_n "checking for egrep... " >&6; }
4065 if test "${ac_cv_path_EGREP+set}" = set; then
4066 $as_echo_n "(cached) " >&6
4068 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4069 then ac_cv_path_EGREP="$GREP -E"
4071 if test -z "$EGREP"; then
4072 ac_path_EGREP_found=false
4073 # Loop through the user's path and test for each of PROGNAME-LIST
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4078 test -z "$as_dir" && as_dir=.
4079 for ac_prog in egrep; do
4080 for ac_exec_ext in '' $ac_executable_extensions; do
4081 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4082 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4083 # Check for GNU ac_path_EGREP and select it if it is found.
4084 # Check for GNU $ac_path_EGREP
4085 case `"$ac_path_EGREP" --version 2>&1` in
4087 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4090 $as_echo_n 0123456789 >"conftest.in"
4093 cat "conftest.in" "conftest.in" >"conftest.tmp"
4094 mv "conftest.tmp" "conftest.in"
4095 cp "conftest.in" "conftest.nl"
4096 $as_echo 'EGREP' >> "conftest.nl"
4097 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4098 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4099 ac_count=`expr $ac_count + 1`
4100 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4101 # Best one so far, save it but keep looking for a better one
4102 ac_cv_path_EGREP="$ac_path_EGREP"
4103 ac_path_EGREP_max=$ac_count
4105 # 10*(2^10) chars as input seems more than enough
4106 test $ac_count -gt 10 && break
4108 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4111 $ac_path_EGREP_found && break 3
4116 if test -z "$ac_cv_path_EGREP"; then
4117 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4118 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4119 { (exit 1); exit 1; }; }
4122 ac_cv_path_EGREP=$EGREP
4127 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4128 $as_echo "$ac_cv_path_EGREP" >&6; }
4129 EGREP="$ac_cv_path_EGREP"
4132 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4133 $as_echo_n "checking for ANSI C header files... " >&6; }
4134 if test "${ac_cv_header_stdc+set}" = set; then
4135 $as_echo_n "(cached) " >&6
4137 cat >conftest.$ac_ext <<_ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4156 rm -f conftest.$ac_objext
4157 if { (ac_try="$ac_compile"
4159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4163 $as_echo "$ac_try_echo") >&5
4164 (eval "$ac_compile") 2>conftest.er1
4166 grep -v '^ *+' conftest.er1 >conftest.err
4168 cat conftest.err >&5
4169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); } && {
4171 test -z "$ac_c_werror_flag" ||
4172 test ! -s conftest.err
4173 } && test -s conftest.$ac_objext; then
4174 ac_cv_header_stdc=yes
4176 $as_echo "$as_me: failed program was:" >&5
4177 sed 's/^/| /' conftest.$ac_ext >&5
4179 ac_cv_header_stdc=no
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4184 if test $ac_cv_header_stdc = yes; then
4185 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4186 cat >conftest.$ac_ext <<_ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4196 $EGREP "memchr" >/dev/null 2>&1; then
4199 ac_cv_header_stdc=no
4205 if test $ac_cv_header_stdc = yes; then
4206 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4207 cat >conftest.$ac_ext <<_ACEOF
4210 cat confdefs.h >>conftest.$ac_ext
4211 cat >>conftest.$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4217 $EGREP "free" >/dev/null 2>&1; then
4220 ac_cv_header_stdc=no
4226 if test $ac_cv_header_stdc = yes; then
4227 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4228 if test "$cross_compiling" = yes; then
4231 cat >conftest.$ac_ext <<_ACEOF
4234 cat confdefs.h >>conftest.$ac_ext
4235 cat >>conftest.$ac_ext <<_ACEOF
4236 /* end confdefs.h. */
4239 #if ((' ' & 0x0FF) == 0x020)
4240 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4241 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4243 # define ISLOWER(c) \
4244 (('a' <= (c) && (c) <= 'i') \
4245 || ('j' <= (c) && (c) <= 'r') \
4246 || ('s' <= (c) && (c) <= 'z'))
4247 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4250 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4255 for (i = 0; i < 256; i++)
4256 if (XOR (islower (i), ISLOWER (i))
4257 || toupper (i) != TOUPPER (i))
4262 rm -f conftest$ac_exeext
4263 if { (ac_try="$ac_link"
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4266 *) ac_try_echo=$ac_try;;
4268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4269 $as_echo "$ac_try_echo") >&5
4270 (eval "$ac_link") 2>&5
4272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4274 { (case "(($ac_try" in
4275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4276 *) ac_try_echo=$ac_try;;
4278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4279 $as_echo "$ac_try_echo") >&5
4280 (eval "$ac_try") 2>&5
4282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; }; then
4286 $as_echo "$as_me: program exited with status $ac_status" >&5
4287 $as_echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.$ac_ext >&5
4291 ac_cv_header_stdc=no
4293 rm -rf conftest.dSYM
4294 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4300 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4301 $as_echo "$ac_cv_header_stdc" >&6; }
4302 if test $ac_cv_header_stdc = yes; then
4304 cat >>confdefs.h <<\_ACEOF
4305 #define STDC_HEADERS 1
4310 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4320 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4321 inttypes.h stdint.h unistd.h
4323 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4324 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4325 $as_echo_n "checking for $ac_header... " >&6; }
4326 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4327 $as_echo_n "(cached) " >&6
4329 cat >conftest.$ac_ext <<_ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4335 $ac_includes_default
4337 #include <$ac_header>
4339 rm -f conftest.$ac_objext
4340 if { (ac_try="$ac_compile"
4342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4343 *) ac_try_echo=$ac_try;;
4345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4346 $as_echo "$ac_try_echo") >&5
4347 (eval "$ac_compile") 2>conftest.er1
4349 grep -v '^ *+' conftest.er1 >conftest.err
4351 cat conftest.err >&5
4352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); } && {
4354 test -z "$ac_c_werror_flag" ||
4355 test ! -s conftest.err
4356 } && test -s conftest.$ac_objext; then
4357 eval "$as_ac_Header=yes"
4359 $as_echo "$as_me: failed program was:" >&5
4360 sed 's/^/| /' conftest.$ac_ext >&5
4362 eval "$as_ac_Header=no"
4365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4367 ac_res=`eval 'as_val=${'$as_ac_Header'}
4368 $as_echo "$as_val"'`
4369 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4370 $as_echo "$ac_res" >&6; }
4371 as_val=`eval 'as_val=${'$as_ac_Header'}
4372 $as_echo "$as_val"'`
4373 if test "x$as_val" = x""yes; then
4374 cat >>confdefs.h <<_ACEOF
4375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4384 if test "${ac_cv_header_minix_config_h+set}" = set; then
4385 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4386 $as_echo_n "checking for minix/config.h... " >&6; }
4387 if test "${ac_cv_header_minix_config_h+set}" = set; then
4388 $as_echo_n "(cached) " >&6
4390 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4391 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4393 # Is the header compilable?
4394 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4395 $as_echo_n "checking minix/config.h usability... " >&6; }
4396 cat >conftest.$ac_ext <<_ACEOF
4399 cat confdefs.h >>conftest.$ac_ext
4400 cat >>conftest.$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4402 $ac_includes_default
4403 #include <minix/config.h>
4405 rm -f conftest.$ac_objext
4406 if { (ac_try="$ac_compile"
4408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4409 *) ac_try_echo=$ac_try;;
4411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4412 $as_echo "$ac_try_echo") >&5
4413 (eval "$ac_compile") 2>conftest.er1
4415 grep -v '^ *+' conftest.er1 >conftest.err
4417 cat conftest.err >&5
4418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); } && {
4420 test -z "$ac_c_werror_flag" ||
4421 test ! -s conftest.err
4422 } && test -s conftest.$ac_objext; then
4423 ac_header_compiler=yes
4425 $as_echo "$as_me: failed program was:" >&5
4426 sed 's/^/| /' conftest.$ac_ext >&5
4428 ac_header_compiler=no
4431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4432 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4433 $as_echo "$ac_header_compiler" >&6; }
4435 # Is the header present?
4436 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4437 $as_echo_n "checking minix/config.h presence... " >&6; }
4438 cat >conftest.$ac_ext <<_ACEOF
4441 cat confdefs.h >>conftest.$ac_ext
4442 cat >>conftest.$ac_ext <<_ACEOF
4443 /* end confdefs.h. */
4444 #include <minix/config.h>
4446 if { (ac_try="$ac_cpp conftest.$ac_ext"
4448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4449 *) ac_try_echo=$ac_try;;
4451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4452 $as_echo "$ac_try_echo") >&5
4453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4455 grep -v '^ *+' conftest.er1 >conftest.err
4457 cat conftest.err >&5
4458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } >/dev/null && {
4460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4461 test ! -s conftest.err
4463 ac_header_preproc=yes
4465 $as_echo "$as_me: failed program was:" >&5
4466 sed 's/^/| /' conftest.$ac_ext >&5
4468 ac_header_preproc=no
4471 rm -f conftest.err conftest.$ac_ext
4472 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4473 $as_echo "$ac_header_preproc" >&6; }
4475 # So? What about this header?
4476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4478 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4479 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4480 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4481 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4482 ac_header_preproc=yes
4485 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4486 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4487 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4488 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4489 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4490 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4491 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4492 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4493 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4494 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4495 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4496 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4498 ## ------------------------------ ##
4499 ## Report this to clustalw@ucd.ie ##
4500 ## ------------------------------ ##
4502 ) | sed "s/^/$as_me: WARNING: /" >&2
4505 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4506 $as_echo_n "checking for minix/config.h... " >&6; }
4507 if test "${ac_cv_header_minix_config_h+set}" = set; then
4508 $as_echo_n "(cached) " >&6
4510 ac_cv_header_minix_config_h=$ac_header_preproc
4512 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4513 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4516 if test "x$ac_cv_header_minix_config_h" = x""yes; then
4523 if test "$MINIX" = yes; then
4525 cat >>confdefs.h <<\_ACEOF
4526 #define _POSIX_SOURCE 1
4530 cat >>confdefs.h <<\_ACEOF
4531 #define _POSIX_1_SOURCE 2
4535 cat >>confdefs.h <<\_ACEOF
4543 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4544 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4545 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4546 $as_echo_n "(cached) " >&6
4548 cat >conftest.$ac_ext <<_ACEOF
4551 cat confdefs.h >>conftest.$ac_ext
4552 cat >>conftest.$ac_ext <<_ACEOF
4553 /* end confdefs.h. */
4555 # define __EXTENSIONS__ 1
4556 $ac_includes_default
4565 rm -f conftest.$ac_objext
4566 if { (ac_try="$ac_compile"
4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4569 *) ac_try_echo=$ac_try;;
4571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4572 $as_echo "$ac_try_echo") >&5
4573 (eval "$ac_compile") 2>conftest.er1
4575 grep -v '^ *+' conftest.er1 >conftest.err
4577 cat conftest.err >&5
4578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } && {
4580 test -z "$ac_c_werror_flag" ||
4581 test ! -s conftest.err
4582 } && test -s conftest.$ac_objext; then
4583 ac_cv_safe_to_define___extensions__=yes
4585 $as_echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4588 ac_cv_safe_to_define___extensions__=no
4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4594 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4595 test $ac_cv_safe_to_define___extensions__ = yes &&
4596 cat >>confdefs.h <<\_ACEOF
4597 #define __EXTENSIONS__ 1
4600 cat >>confdefs.h <<\_ACEOF
4601 #define _ALL_SOURCE 1
4604 cat >>confdefs.h <<\_ACEOF
4605 #define _GNU_SOURCE 1
4608 cat >>confdefs.h <<\_ACEOF
4609 #define _POSIX_PTHREAD_SEMANTICS 1
4612 cat >>confdefs.h <<\_ACEOF
4613 #define _TANDEM_SOURCE 1
4619 # for cross compilation
4621 # Make sure we can run config.sub.
4622 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4623 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4624 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4625 { (exit 1); exit 1; }; }
4627 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4628 $as_echo_n "checking build system type... " >&6; }
4629 if test "${ac_cv_build+set}" = set; then
4630 $as_echo_n "(cached) " >&6
4632 ac_build_alias=$build_alias
4633 test "x$ac_build_alias" = x &&
4634 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4635 test "x$ac_build_alias" = x &&
4636 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4637 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4638 { (exit 1); exit 1; }; }
4639 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4640 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4641 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4642 { (exit 1); exit 1; }; }
4645 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4646 $as_echo "$ac_cv_build" >&6; }
4647 case $ac_cv_build in
4649 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4650 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4651 { (exit 1); exit 1; }; };;
4654 ac_save_IFS=$IFS; IFS='-'
4660 # Remember, the first character of IFS is used to create $*,
4661 # except with old shells:
4664 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4667 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4668 $as_echo_n "checking host system type... " >&6; }
4669 if test "${ac_cv_host+set}" = set; then
4670 $as_echo_n "(cached) " >&6
4672 if test "x$host_alias" = x; then
4673 ac_cv_host=$ac_cv_build
4675 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4676 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4677 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4678 { (exit 1); exit 1; }; }
4682 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4683 $as_echo "$ac_cv_host" >&6; }
4686 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4687 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4688 { (exit 1); exit 1; }; };;
4691 ac_save_IFS=$IFS; IFS='-'
4697 # Remember, the first character of IFS is used to create $*,
4698 # except with old shells:
4701 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4704 ## AC_CANONICAL_BUILD
4705 ## AC_CANONICAL_TARGET
4707 # Set the @SET_MAKE@ variable=make if $(MAKE) not set
4708 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4709 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4711 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4712 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4713 $as_echo_n "(cached) " >&6
4715 cat >conftest.make <<\_ACEOF
4718 @echo '@@@%%%=$(MAKE)=@@@%%%'
4720 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4721 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4723 eval ac_cv_prog_make_${ac_make}_set=yes;;
4725 eval ac_cv_prog_make_${ac_make}_set=no;;
4729 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4730 { $as_echo "$as_me:$LINENO: result: yes" >&5
4731 $as_echo "yes" >&6; }
4734 { $as_echo "$as_me:$LINENO: result: no" >&5
4735 $as_echo "no" >&6; }
4736 SET_MAKE="MAKE=${MAKE-make}"
4740 # AC_PROG_RANLIB will allow you to build code in sub-directories into
4741 # temporary libraries, which make will then link in with the rest of
4743 # Rendered obsolte by LT_INIT: AC_PROG_RANLIB
4747 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4748 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4753 macro_version='2.2.6'
4754 macro_revision='1.3012'
4768 ltmain="$ac_aux_dir/ltmain.sh"
4770 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4771 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4772 if test "${ac_cv_path_SED+set}" = set; then
4773 $as_echo_n "(cached) " >&6
4775 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4776 for ac_i in 1 2 3 4 5 6 7; do
4777 ac_script="$ac_script$as_nl$ac_script"
4779 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4780 $as_unset ac_script || ac_script=
4781 if test -z "$SED"; then
4782 ac_path_SED_found=false
4783 # Loop through the user's path and test for each of PROGNAME-LIST
4784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788 test -z "$as_dir" && as_dir=.
4789 for ac_prog in sed gsed; do
4790 for ac_exec_ext in '' $ac_executable_extensions; do
4791 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4792 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4793 # Check for GNU ac_path_SED and select it if it is found.
4794 # Check for GNU $ac_path_SED
4795 case `"$ac_path_SED" --version 2>&1` in
4797 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4800 $as_echo_n 0123456789 >"conftest.in"
4803 cat "conftest.in" "conftest.in" >"conftest.tmp"
4804 mv "conftest.tmp" "conftest.in"
4805 cp "conftest.in" "conftest.nl"
4806 $as_echo '' >> "conftest.nl"
4807 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4808 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4809 ac_count=`expr $ac_count + 1`
4810 if test $ac_count -gt ${ac_path_SED_max-0}; then
4811 # Best one so far, save it but keep looking for a better one
4812 ac_cv_path_SED="$ac_path_SED"
4813 ac_path_SED_max=$ac_count
4815 # 10*(2^10) chars as input seems more than enough
4816 test $ac_count -gt 10 && break
4818 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4821 $ac_path_SED_found && break 3
4826 if test -z "$ac_cv_path_SED"; then
4827 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4828 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4829 { (exit 1); exit 1; }; }
4836 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4837 $as_echo "$ac_cv_path_SED" >&6; }
4838 SED="$ac_cv_path_SED"
4841 test -z "$SED" && SED=sed
4842 Xsed="$SED -e 1s/^X//"
4854 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4855 $as_echo_n "checking for fgrep... " >&6; }
4856 if test "${ac_cv_path_FGREP+set}" = set; then
4857 $as_echo_n "(cached) " >&6
4859 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4860 then ac_cv_path_FGREP="$GREP -F"
4862 if test -z "$FGREP"; then
4863 ac_path_FGREP_found=false
4864 # Loop through the user's path and test for each of PROGNAME-LIST
4865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4866 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4869 test -z "$as_dir" && as_dir=.
4870 for ac_prog in fgrep; do
4871 for ac_exec_ext in '' $ac_executable_extensions; do
4872 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4873 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4874 # Check for GNU ac_path_FGREP and select it if it is found.
4875 # Check for GNU $ac_path_FGREP
4876 case `"$ac_path_FGREP" --version 2>&1` in
4878 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4881 $as_echo_n 0123456789 >"conftest.in"
4884 cat "conftest.in" "conftest.in" >"conftest.tmp"
4885 mv "conftest.tmp" "conftest.in"
4886 cp "conftest.in" "conftest.nl"
4887 $as_echo 'FGREP' >> "conftest.nl"
4888 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4889 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4890 ac_count=`expr $ac_count + 1`
4891 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4892 # Best one so far, save it but keep looking for a better one
4893 ac_cv_path_FGREP="$ac_path_FGREP"
4894 ac_path_FGREP_max=$ac_count
4896 # 10*(2^10) chars as input seems more than enough
4897 test $ac_count -gt 10 && break
4899 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4902 $ac_path_FGREP_found && break 3
4907 if test -z "$ac_cv_path_FGREP"; then
4908 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4909 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4910 { (exit 1); exit 1; }; }
4913 ac_cv_path_FGREP=$FGREP
4918 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4919 $as_echo "$ac_cv_path_FGREP" >&6; }
4920 FGREP="$ac_cv_path_FGREP"
4923 test -z "$GREP" && GREP=grep
4943 # Check whether --with-gnu-ld was given.
4944 if test "${with_gnu_ld+set}" = set; then
4945 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4951 if test "$GCC" = yes; then
4952 # Check if gcc -print-prog-name=ld gives a path.
4953 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4954 $as_echo_n "checking for ld used by $CC... " >&6; }
4957 # gcc leaves a trailing carriage return which upsets mingw
4958 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4960 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4963 # Accept absolute paths.
4965 re_direlt='/[^/][^/]*/\.\./'
4966 # Canonicalize the pathname of ld
4967 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4968 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4969 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4971 test -z "$LD" && LD="$ac_prog"
4974 # If it fails, then pretend we aren't using GCC.
4978 # If it is relative, then search for the first ld in PATH.
4982 elif test "$with_gnu_ld" = yes; then
4983 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4984 $as_echo_n "checking for GNU ld... " >&6; }
4986 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4987 $as_echo_n "checking for non-GNU ld... " >&6; }
4989 if test "${lt_cv_path_LD+set}" = set; then
4990 $as_echo_n "(cached) " >&6
4992 if test -z "$LD"; then
4993 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4994 for ac_dir in $PATH; do
4996 test -z "$ac_dir" && ac_dir=.
4997 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4998 lt_cv_path_LD="$ac_dir/$ac_prog"
4999 # Check to see if the program is GNU ld. I'd rather use --version,
5000 # but apparently some variants of GNU ld only accept -v.
5001 # Break only if it was the GNU/non-GNU ld that we prefer.
5002 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5003 *GNU* | *'with BFD'*)
5004 test "$with_gnu_ld" != no && break
5007 test "$with_gnu_ld" != yes && break
5014 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5019 if test -n "$LD"; then
5020 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5021 $as_echo "$LD" >&6; }
5023 { $as_echo "$as_me:$LINENO: result: no" >&5
5024 $as_echo "no" >&6; }
5026 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5027 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5028 { (exit 1); exit 1; }; }
5029 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5030 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5031 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5032 $as_echo_n "(cached) " >&6
5034 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5035 case `$LD -v 2>&1 </dev/null` in
5036 *GNU* | *'with BFD'*)
5037 lt_cv_prog_gnu_ld=yes
5040 lt_cv_prog_gnu_ld=no
5044 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5045 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5046 with_gnu_ld=$lt_cv_prog_gnu_ld
5056 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5057 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5058 if test "${lt_cv_path_NM+set}" = set; then
5059 $as_echo_n "(cached) " >&6
5061 if test -n "$NM"; then
5062 # Let the user override the test.
5065 lt_nm_to_check="${ac_tool_prefix}nm"
5066 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5067 lt_nm_to_check="$lt_nm_to_check nm"
5069 for lt_tmp_nm in $lt_nm_to_check; do
5070 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5071 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5073 test -z "$ac_dir" && ac_dir=.
5074 tmp_nm="$ac_dir/$lt_tmp_nm"
5075 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5076 # Check to see if the nm accepts a BSD-compat flag.
5077 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5078 # nm: unknown option "B" ignored
5079 # Tru64's nm complains that /dev/null is an invalid object file
5080 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5081 */dev/null* | *'Invalid file or object type'*)
5082 lt_cv_path_NM="$tmp_nm -B"
5086 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5088 lt_cv_path_NM="$tmp_nm -p"
5092 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5093 continue # so that we can try to find one that supports BSD flags
5102 : ${lt_cv_path_NM=no}
5105 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5106 $as_echo "$lt_cv_path_NM" >&6; }
5107 if test "$lt_cv_path_NM" != "no"; then
5110 # Didn't find any BSD compatible name lister, look for dumpbin.
5111 if test -n "$ac_tool_prefix"; then
5112 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5115 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5116 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5119 $as_echo_n "(cached) " >&6
5121 if test -n "$DUMPBIN"; then
5122 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5131 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5132 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 DUMPBIN=$ac_cv_prog_DUMPBIN
5142 if test -n "$DUMPBIN"; then
5143 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5144 $as_echo "$DUMPBIN" >&6; }
5146 { $as_echo "$as_me:$LINENO: result: no" >&5
5147 $as_echo "no" >&6; }
5151 test -n "$DUMPBIN" && break
5154 if test -z "$DUMPBIN"; then
5155 ac_ct_DUMPBIN=$DUMPBIN
5156 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5158 # Extract the first word of "$ac_prog", so it can be a program name with args.
5159 set dummy $ac_prog; ac_word=$2
5160 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5163 $as_echo_n "(cached) " >&6
5165 if test -n "$ac_ct_DUMPBIN"; then
5166 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5176 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5186 if test -n "$ac_ct_DUMPBIN"; then
5187 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5188 $as_echo "$ac_ct_DUMPBIN" >&6; }
5190 { $as_echo "$as_me:$LINENO: result: no" >&5
5191 $as_echo "no" >&6; }
5195 test -n "$ac_ct_DUMPBIN" && break
5198 if test "x$ac_ct_DUMPBIN" = x; then
5201 case $cross_compiling:$ac_tool_warned in
5203 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5205 ac_tool_warned=yes ;;
5207 DUMPBIN=$ac_ct_DUMPBIN
5212 if test "$DUMPBIN" != ":"; then
5216 test -z "$NM" && NM=nm
5223 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5224 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5225 if test "${lt_cv_nm_interface+set}" = set; then
5226 $as_echo_n "(cached) " >&6
5228 lt_cv_nm_interface="BSD nm"
5229 echo "int some_variable = 0;" > conftest.$ac_ext
5230 (eval echo "\"\$as_me:5230: $ac_compile\"" >&5)
5231 (eval "$ac_compile" 2>conftest.err)
5232 cat conftest.err >&5
5233 (eval echo "\"\$as_me:5233: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5234 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5235 cat conftest.err >&5
5236 (eval echo "\"\$as_me:5236: output\"" >&5)
5237 cat conftest.out >&5
5238 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5239 lt_cv_nm_interface="MS dumpbin"
5243 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5244 $as_echo "$lt_cv_nm_interface" >&6; }
5246 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5247 $as_echo_n "checking whether ln -s works... " >&6; }
5249 if test "$LN_S" = "ln -s"; then
5250 { $as_echo "$as_me:$LINENO: result: yes" >&5
5251 $as_echo "yes" >&6; }
5253 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5254 $as_echo "no, using $LN_S" >&6; }
5257 # find the maximum length of command line arguments
5258 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5259 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5260 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5261 $as_echo_n "(cached) " >&6
5268 # On DJGPP, this test can blow up pretty badly due to problems in libc
5269 # (any single argument exceeding 2000 bytes causes a buffer overrun
5270 # during glob expansion). Even if it were fixed, the result of this
5271 # check would be larger than it should be.
5272 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5276 # Under GNU Hurd, this test is not required because there is
5277 # no limit to the length of command line arguments.
5278 # Libtool will interpret -1 as no limit whatsoever
5279 lt_cv_sys_max_cmd_len=-1;
5282 cygwin* | mingw* | cegcc*)
5283 # On Win9x/ME, this test blows up -- it succeeds, but takes
5284 # about 5 minutes as the teststring grows exponentially.
5285 # Worse, since 9x/ME are not pre-emptively multitasking,
5286 # you end up with a "frozen" computer, even though with patience
5287 # the test eventually succeeds (with a max line length of 256k).
5288 # Instead, let's just punt: use the minimum linelength reported by
5289 # all of the supported platforms: 8192 (on NT/2K/XP).
5290 lt_cv_sys_max_cmd_len=8192;
5294 # On AmigaOS with pdksh, this test takes hours, literally.
5295 # So we just punt and use a minimum line length of 8192.
5296 lt_cv_sys_max_cmd_len=8192;
5299 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5300 # This has been around since 386BSD, at least. Likely further.
5301 if test -x /sbin/sysctl; then
5302 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5303 elif test -x /usr/sbin/sysctl; then
5304 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5306 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5308 # And add a safety zone
5309 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5310 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5314 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5315 lt_cv_sys_max_cmd_len=196608
5319 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5320 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5321 # nice to cause kernel panics so lets avoid the loop below.
5322 # First set a reasonable default.
5323 lt_cv_sys_max_cmd_len=16384
5325 if test -x /sbin/sysconfig; then
5326 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5327 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5332 lt_cv_sys_max_cmd_len=102400
5334 sysv5* | sco5v6* | sysv4.2uw2*)
5335 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5336 if test -n "$kargmax"; then
5337 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5339 lt_cv_sys_max_cmd_len=32768
5343 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5344 if test -n "$lt_cv_sys_max_cmd_len"; then
5345 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5346 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5348 # Make teststring a little bigger before we do anything with it.
5349 # a 1K string should be a reasonable start.
5350 for i in 1 2 3 4 5 6 7 8 ; do
5351 teststring=$teststring$teststring
5353 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5354 # If test is not a shell built-in, we'll probably end up computing a
5355 # maximum length that is only half of the actual maximum length, but
5357 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5358 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5359 test $i != 17 # 1/2 MB should be enough
5362 teststring=$teststring$teststring
5364 # Only check the string length outside the loop.
5365 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5367 # Add a significant safety factor because C++ compilers can tack on
5368 # massive amounts of additional arguments before passing them to the
5369 # linker. It appears as though 1/2 is a usable value.
5370 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5377 if test -n $lt_cv_sys_max_cmd_len ; then
5378 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5379 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5381 { $as_echo "$as_me:$LINENO: result: none" >&5
5382 $as_echo "none" >&6; }
5384 max_cmd_len=$lt_cv_sys_max_cmd_len
5395 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5396 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5397 # Try some XSI features
5400 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5402 && eval 'test $(( 1 + 1 )) -eq 2 \
5403 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5405 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5406 $as_echo "$xsi_shell" >&6; }
5409 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5410 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5412 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5414 && lt_shell_append=yes
5415 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5416 $as_echo "$lt_shell_append" >&6; }
5419 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5429 # test EBCDIC or ASCII
5430 case `echo X|tr X '\101'` in
5431 A) # ASCII based system
5432 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5433 lt_SP2NL='tr \040 \012'
5434 lt_NL2SP='tr \015\012 \040\040'
5436 *) # EBCDIC based system
5437 lt_SP2NL='tr \100 \n'
5438 lt_NL2SP='tr \r\n \100\100'
5450 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5451 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5452 if test "${lt_cv_ld_reload_flag+set}" = set; then
5453 $as_echo_n "(cached) " >&6
5455 lt_cv_ld_reload_flag='-r'
5457 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5458 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5459 reload_flag=$lt_cv_ld_reload_flag
5460 case $reload_flag in
5462 *) reload_flag=" $reload_flag" ;;
5464 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5467 if test "$GCC" = yes; then
5468 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5470 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5483 if test -n "$ac_tool_prefix"; then
5484 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5485 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5486 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5487 $as_echo_n "checking for $ac_word... " >&6; }
5488 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5489 $as_echo_n "(cached) " >&6
5491 if test -n "$OBJDUMP"; then
5492 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 test -z "$as_dir" && as_dir=.
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5501 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5502 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 OBJDUMP=$ac_cv_prog_OBJDUMP
5512 if test -n "$OBJDUMP"; then
5513 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5514 $as_echo "$OBJDUMP" >&6; }
5516 { $as_echo "$as_me:$LINENO: result: no" >&5
5517 $as_echo "no" >&6; }
5522 if test -z "$ac_cv_prog_OBJDUMP"; then
5523 ac_ct_OBJDUMP=$OBJDUMP
5524 # Extract the first word of "objdump", so it can be a program name with args.
5525 set dummy objdump; ac_word=$2
5526 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5527 $as_echo_n "checking for $ac_word... " >&6; }
5528 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5529 $as_echo_n "(cached) " >&6
5531 if test -n "$ac_ct_OBJDUMP"; then
5532 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 test -z "$as_dir" && as_dir=.
5539 for ac_exec_ext in '' $ac_executable_extensions; do
5540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5542 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5551 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5552 if test -n "$ac_ct_OBJDUMP"; then
5553 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5554 $as_echo "$ac_ct_OBJDUMP" >&6; }
5556 { $as_echo "$as_me:$LINENO: result: no" >&5
5557 $as_echo "no" >&6; }
5560 if test "x$ac_ct_OBJDUMP" = x; then
5563 case $cross_compiling:$ac_tool_warned in
5565 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5567 ac_tool_warned=yes ;;
5569 OBJDUMP=$ac_ct_OBJDUMP
5572 OBJDUMP="$ac_cv_prog_OBJDUMP"
5575 test -z "$OBJDUMP" && OBJDUMP=objdump
5585 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5586 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5587 if test "${lt_cv_deplibs_check_method+set}" = set; then
5588 $as_echo_n "(cached) " >&6
5590 lt_cv_file_magic_cmd='$MAGIC_CMD'
5591 lt_cv_file_magic_test_file=
5592 lt_cv_deplibs_check_method='unknown'
5593 # Need to set the preceding variable on all platforms that support
5594 # interlibrary dependencies.
5595 # 'none' -- dependencies not supported.
5596 # `unknown' -- same as none, but documents that we really don't know.
5597 # 'pass_all' -- all dependencies passed with no checks.
5598 # 'test_compile' -- check by making test program.
5599 # 'file_magic [[regex]]' -- check by looking for files in library path
5600 # which responds to the $file_magic_cmd with a given extended regex.
5601 # If you have `file' or equivalent on your system and you're not sure
5602 # whether `pass_all' will *always* work, you probably want this one.
5606 lt_cv_deplibs_check_method=pass_all
5610 lt_cv_deplibs_check_method=pass_all
5614 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5615 lt_cv_file_magic_cmd='/usr/bin/file -L'
5616 lt_cv_file_magic_test_file=/shlib/libc.so
5620 # func_win32_libid is a shell function defined in ltmain.sh
5621 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5622 lt_cv_file_magic_cmd='func_win32_libid'
5626 # Base MSYS/MinGW do not provide the 'file' command needed by
5627 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5628 # unless we find 'file', for example because we are cross-compiling.
5629 if ( file / ) >/dev/null 2>&1; then
5630 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5631 lt_cv_file_magic_cmd='func_win32_libid'
5633 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5634 lt_cv_file_magic_cmd='$OBJDUMP -f'
5639 # use the weaker test based on 'objdump'. See mingw*.
5640 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5641 lt_cv_file_magic_cmd='$OBJDUMP -f'
5644 darwin* | rhapsody*)
5645 lt_cv_deplibs_check_method=pass_all
5648 freebsd* | dragonfly*)
5649 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5652 # Not sure whether the presence of OpenBSD here was a mistake.
5653 # Let's accept both of them until this is cleared up.
5654 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5655 lt_cv_file_magic_cmd=/usr/bin/file
5656 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5660 lt_cv_deplibs_check_method=pass_all
5665 lt_cv_deplibs_check_method=pass_all
5668 hpux10.20* | hpux11*)
5669 lt_cv_file_magic_cmd=/usr/bin/file
5672 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5673 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5676 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]'
5677 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5680 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5681 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5687 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5688 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5691 irix5* | irix6* | nonstopux*)
5693 *-32|*"-32 ") libmagic=32-bit;;
5694 *-n32|*"-n32 ") libmagic=N32;;
5695 *-64|*"-64 ") libmagic=64-bit;;
5696 *) libmagic=never-match;;
5698 lt_cv_deplibs_check_method=pass_all
5701 # This must be Linux ELF.
5702 linux* | k*bsd*-gnu)
5703 lt_cv_deplibs_check_method=pass_all
5706 netbsd* | netbsdelf*-gnu)
5707 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5708 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5710 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5715 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5716 lt_cv_file_magic_cmd=/usr/bin/file
5717 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5721 lt_cv_deplibs_check_method=pass_all
5725 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5726 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5728 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5732 osf3* | osf4* | osf5*)
5733 lt_cv_deplibs_check_method=pass_all
5737 lt_cv_deplibs_check_method=pass_all
5741 lt_cv_deplibs_check_method=pass_all
5744 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5745 lt_cv_deplibs_check_method=pass_all
5749 case $host_vendor in
5751 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]'
5752 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5755 lt_cv_deplibs_check_method=pass_all
5758 lt_cv_file_magic_cmd='/bin/file'
5759 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5762 lt_cv_file_magic_cmd='/bin/file'
5763 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5764 lt_cv_file_magic_test_file=/lib/libc.so
5767 lt_cv_deplibs_check_method=pass_all
5770 lt_cv_deplibs_check_method=pass_all
5776 lt_cv_deplibs_check_method=pass_all
5781 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5782 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5783 file_magic_cmd=$lt_cv_file_magic_cmd
5784 deplibs_check_method=$lt_cv_deplibs_check_method
5785 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5798 if test -n "$ac_tool_prefix"; then
5799 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5800 set dummy ${ac_tool_prefix}ar; ac_word=$2
5801 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5802 $as_echo_n "checking for $ac_word... " >&6; }
5803 if test "${ac_cv_prog_AR+set}" = set; then
5804 $as_echo_n "(cached) " >&6
5806 if test -n "$AR"; then
5807 ac_cv_prog_AR="$AR" # Let the user override the test.
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816 ac_cv_prog_AR="${ac_tool_prefix}ar"
5817 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 if test -n "$AR"; then
5828 { $as_echo "$as_me:$LINENO: result: $AR" >&5
5829 $as_echo "$AR" >&6; }
5831 { $as_echo "$as_me:$LINENO: result: no" >&5
5832 $as_echo "no" >&6; }
5837 if test -z "$ac_cv_prog_AR"; then
5839 # Extract the first word of "ar", so it can be a program name with args.
5840 set dummy ar; ac_word=$2
5841 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5844 $as_echo_n "(cached) " >&6
5846 if test -n "$ac_ct_AR"; then
5847 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5856 ac_cv_prog_ac_ct_AR="ar"
5857 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5867 if test -n "$ac_ct_AR"; then
5868 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5869 $as_echo "$ac_ct_AR" >&6; }
5871 { $as_echo "$as_me:$LINENO: result: no" >&5
5872 $as_echo "no" >&6; }
5875 if test "x$ac_ct_AR" = x; then
5878 case $cross_compiling:$ac_tool_warned in
5880 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5882 ac_tool_warned=yes ;;
5890 test -z "$AR" && AR=ar
5891 test -z "$AR_FLAGS" && AR_FLAGS=cru
5903 if test -n "$ac_tool_prefix"; then
5904 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5905 set dummy ${ac_tool_prefix}strip; ac_word=$2
5906 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5907 $as_echo_n "checking for $ac_word... " >&6; }
5908 if test "${ac_cv_prog_STRIP+set}" = set; then
5909 $as_echo_n "(cached) " >&6
5911 if test -n "$STRIP"; then
5912 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 test -z "$as_dir" && as_dir=.
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5921 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5922 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 STRIP=$ac_cv_prog_STRIP
5932 if test -n "$STRIP"; then
5933 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5934 $as_echo "$STRIP" >&6; }
5936 { $as_echo "$as_me:$LINENO: result: no" >&5
5937 $as_echo "no" >&6; }
5942 if test -z "$ac_cv_prog_STRIP"; then
5944 # Extract the first word of "strip", so it can be a program name with args.
5945 set dummy strip; ac_word=$2
5946 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5949 $as_echo_n "(cached) " >&6
5951 if test -n "$ac_ct_STRIP"; then
5952 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5961 ac_cv_prog_ac_ct_STRIP="strip"
5962 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5972 if test -n "$ac_ct_STRIP"; then
5973 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5974 $as_echo "$ac_ct_STRIP" >&6; }
5976 { $as_echo "$as_me:$LINENO: result: no" >&5
5977 $as_echo "no" >&6; }
5980 if test "x$ac_ct_STRIP" = x; then
5983 case $cross_compiling:$ac_tool_warned in
5985 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5987 ac_tool_warned=yes ;;
5992 STRIP="$ac_cv_prog_STRIP"
5995 test -z "$STRIP" && STRIP=:
6002 if test -n "$ac_tool_prefix"; then
6003 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6004 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6005 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6007 if test "${ac_cv_prog_RANLIB+set}" = set; then
6008 $as_echo_n "(cached) " >&6
6010 if test -n "$RANLIB"; then
6011 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6020 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6021 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6030 RANLIB=$ac_cv_prog_RANLIB
6031 if test -n "$RANLIB"; then
6032 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6033 $as_echo "$RANLIB" >&6; }
6035 { $as_echo "$as_me:$LINENO: result: no" >&5
6036 $as_echo "no" >&6; }
6041 if test -z "$ac_cv_prog_RANLIB"; then
6042 ac_ct_RANLIB=$RANLIB
6043 # Extract the first word of "ranlib", so it can be a program name with args.
6044 set dummy ranlib; ac_word=$2
6045 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6048 $as_echo_n "(cached) " >&6
6050 if test -n "$ac_ct_RANLIB"; then
6051 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 test -z "$as_dir" && as_dir=.
6058 for ac_exec_ext in '' $ac_executable_extensions; do
6059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6060 ac_cv_prog_ac_ct_RANLIB="ranlib"
6061 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6070 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6071 if test -n "$ac_ct_RANLIB"; then
6072 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6073 $as_echo "$ac_ct_RANLIB" >&6; }
6075 { $as_echo "$as_me:$LINENO: result: no" >&5
6076 $as_echo "no" >&6; }
6079 if test "x$ac_ct_RANLIB" = x; then
6082 case $cross_compiling:$ac_tool_warned in
6084 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6086 ac_tool_warned=yes ;;
6088 RANLIB=$ac_ct_RANLIB
6091 RANLIB="$ac_cv_prog_RANLIB"
6094 test -z "$RANLIB" && RANLIB=:
6101 # Determine commands to create old-style static archives.
6102 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6103 old_postinstall_cmds='chmod 644 $oldlib'
6104 old_postuninstall_cmds=
6106 if test -n "$RANLIB"; then
6109 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6112 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6115 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6151 # If no C compiler was specified, use CC.
6154 # If no C compiler flags were specified, use CFLAGS.
6155 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6157 # Allow CC to be a program name with arguments.
6161 # Check for command to grab the raw symbol name followed by C symbol from nm.
6162 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6163 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6164 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6165 $as_echo_n "(cached) " >&6
6168 # These are sane defaults that work on at least a few old systems.
6169 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6171 # Character class describing NM global symbol codes.
6172 symcode='[BCDEGRST]'
6174 # Regexp to match symbols that can be accessed directly from C.
6175 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6177 # Define system-specific variables.
6182 cygwin* | mingw* | pw32* | cegcc*)
6183 symcode='[ABCDGISTW]'
6186 if test "$host_cpu" = ia64; then
6187 symcode='[ABCDEGRST]'
6191 symcode='[BCDEGRST]'
6194 symcode='[BCDEGQRST]'
6205 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6213 # If we're using GNU nm, then use its standard symbol codes.
6214 case `$NM -V 2>&1` in
6215 *GNU* | *'with BFD'*)
6216 symcode='[ABCDGIRSTW]' ;;
6219 # Transform an extracted symbol line into a proper C declaration.
6220 # Some systems (esp. on ia64) link data and code symbols differently,
6221 # so use this general approach.
6222 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6224 # Transform an extracted symbol line into symbol name and symbol address
6225 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6226 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6228 # Handle CRLF in mingw tool chain
6232 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6236 # Try without a prefix underscore, then with it.
6237 for ac_symprfx in "" "_"; do
6239 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6240 symxfrm="\\1 $ac_symprfx\\2 \\2"
6242 # Write the raw and C identifiers.
6243 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6244 # Fake it for dumpbin and say T for any non-static function
6245 # and D for any global variable.
6246 # Also find C++ and __fastcall symbols from MSVC++,
6247 # which start with @ or ?.
6248 lt_cv_sys_global_symbol_pipe="$AWK '"\
6249 " {last_section=section; section=\$ 3};"\
6250 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6251 " \$ 0!~/External *\|/{next};"\
6252 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6253 " {if(hide[section]) next};"\
6254 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6255 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6256 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6257 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6258 " ' prfx=^$ac_symprfx"
6260 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6263 # Check to see that the pipe works correctly.
6267 cat > conftest.$ac_ext <<_LT_EOF
6272 void nm_test_func(void);
6273 void nm_test_func(void){}
6277 int main(){nm_test_var='a';nm_test_func();return(0);}
6280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6281 (eval $ac_compile) 2>&5
6283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); }; then
6285 # Now try to grab the symbols.
6287 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6288 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && test -s "$nlist"; then
6292 # Try sorting and uniquifying the output.
6293 if sort "$nlist" | uniq > "$nlist"T; then
6294 mv -f "$nlist"T "$nlist"
6299 # Make sure that we snagged all the symbols we need.
6300 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6301 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6302 cat <<_LT_EOF > conftest.$ac_ext
6308 # Now generate the symbol file.
6309 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6311 cat <<_LT_EOF >> conftest.$ac_ext
6313 /* The mapping between symbol names and symbols. */
6318 lt__PROGRAM__LTX_preloaded_symbols[] =
6320 { "@PROGRAM@", (void *) 0 },
6322 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6323 cat <<\_LT_EOF >> conftest.$ac_ext
6327 /* This works around a problem in FreeBSD linker */
6328 #ifdef FREEBSD_WORKAROUND
6329 static const void *lt_preloaded_setup() {
6330 return lt__PROGRAM__LTX_preloaded_symbols;
6338 # Now try linking the two files.
6339 mv conftest.$ac_objext conftstm.$ac_objext
6340 lt_save_LIBS="$LIBS"
6341 lt_save_CFLAGS="$CFLAGS"
6342 LIBS="conftstm.$ac_objext"
6343 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6345 (eval $ac_link) 2>&5
6347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6351 LIBS="$lt_save_LIBS"
6352 CFLAGS="$lt_save_CFLAGS"
6354 echo "cannot find nm_test_func in $nlist" >&5
6357 echo "cannot find nm_test_var in $nlist" >&5
6360 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6363 echo "$progname: failed program was:" >&5
6364 cat conftest.$ac_ext >&5
6366 rm -rf conftest* conftst*
6368 # Do not use the global_symbol_pipe unless it works.
6369 if test "$pipe_works" = yes; then
6372 lt_cv_sys_global_symbol_pipe=
6378 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6379 lt_cv_sys_global_symbol_to_cdecl=
6381 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6382 { $as_echo "$as_me:$LINENO: result: failed" >&5
6383 $as_echo "failed" >&6; }
6385 { $as_echo "$as_me:$LINENO: result: ok" >&5
6386 $as_echo "ok" >&6; }
6410 # Check whether --enable-libtool-lock was given.
6411 if test "${enable_libtool_lock+set}" = set; then
6412 enableval=$enable_libtool_lock;
6415 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6417 # Some flags need to be propagated to the compiler or linker for good
6421 # Find out which ABI we are using.
6422 echo 'int i;' > conftest.$ac_ext
6423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6424 (eval $ac_compile) 2>&5
6426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); }; then
6428 case `/usr/bin/file conftest.$ac_objext` in
6440 # Find out which ABI we are using.
6441 echo '#line 6441 "configure"' > conftest.$ac_ext
6442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6443 (eval $ac_compile) 2>&5
6445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); }; then
6447 if test "$lt_cv_prog_gnu_ld" = yes; then
6448 case `/usr/bin/file conftest.$ac_objext` in
6450 LD="${LD-ld} -melf32bsmip"
6453 LD="${LD-ld} -melf32bmipn32"
6456 LD="${LD-ld} -melf64bmip"
6460 case `/usr/bin/file conftest.$ac_objext` in
6476 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6477 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6478 # Find out which ABI we are using.
6479 echo 'int i;' > conftest.$ac_ext
6480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6481 (eval $ac_compile) 2>&5
6483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); }; then
6485 case `/usr/bin/file conftest.o` in
6488 x86_64-*kfreebsd*-gnu)
6489 LD="${LD-ld} -m elf_i386_fbsd"
6492 LD="${LD-ld} -m elf_i386"
6494 ppc64-*linux*|powerpc64-*linux*)
6495 LD="${LD-ld} -m elf32ppclinux"
6498 LD="${LD-ld} -m elf_s390"
6501 LD="${LD-ld} -m elf32_sparc"
6507 x86_64-*kfreebsd*-gnu)
6508 LD="${LD-ld} -m elf_x86_64_fbsd"
6511 LD="${LD-ld} -m elf_x86_64"
6513 ppc*-*linux*|powerpc*-*linux*)
6514 LD="${LD-ld} -m elf64ppc"
6516 s390*-*linux*|s390*-*tpf*)
6517 LD="${LD-ld} -m elf64_s390"
6520 LD="${LD-ld} -m elf64_sparc"
6530 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6531 SAVE_CFLAGS="$CFLAGS"
6532 CFLAGS="$CFLAGS -belf"
6533 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6534 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6535 if test "${lt_cv_cc_needs_belf+set}" = set; then
6536 $as_echo_n "(cached) " >&6
6539 ac_cpp='$CPP $CPPFLAGS'
6540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6544 cat >conftest.$ac_ext <<_ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6559 rm -f conftest.$ac_objext conftest$ac_exeext
6560 if { (ac_try="$ac_link"
6562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6563 *) ac_try_echo=$ac_try;;
6565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6566 $as_echo "$ac_try_echo") >&5
6567 (eval "$ac_link") 2>conftest.er1
6569 grep -v '^ *+' conftest.er1 >conftest.err
6571 cat conftest.err >&5
6572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); } && {
6574 test -z "$ac_c_werror_flag" ||
6575 test ! -s conftest.err
6576 } && test -s conftest$ac_exeext && {
6577 test "$cross_compiling" = yes ||
6578 $as_test_x conftest$ac_exeext
6580 lt_cv_cc_needs_belf=yes
6582 $as_echo "$as_me: failed program was:" >&5
6583 sed 's/^/| /' conftest.$ac_ext >&5
6585 lt_cv_cc_needs_belf=no
6588 rm -rf conftest.dSYM
6589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6590 conftest$ac_exeext conftest.$ac_ext
6592 ac_cpp='$CPP $CPPFLAGS'
6593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6598 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6599 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6600 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6601 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6602 CFLAGS="$SAVE_CFLAGS"
6606 # Find out which ABI we are using.
6607 echo 'int i;' > conftest.$ac_ext
6608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6609 (eval $ac_compile) 2>&5
6611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); }; then
6613 case `/usr/bin/file conftest.o` in
6615 case $lt_cv_prog_gnu_ld in
6616 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6618 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6630 need_locks="$enable_libtool_lock"
6634 rhapsody* | darwin*)
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6638 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6641 $as_echo_n "(cached) " >&6
6643 if test -n "$DSYMUTIL"; then
6644 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6654 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6663 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6664 if test -n "$DSYMUTIL"; then
6665 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6666 $as_echo "$DSYMUTIL" >&6; }
6668 { $as_echo "$as_me:$LINENO: result: no" >&5
6669 $as_echo "no" >&6; }
6674 if test -z "$ac_cv_prog_DSYMUTIL"; then
6675 ac_ct_DSYMUTIL=$DSYMUTIL
6676 # Extract the first word of "dsymutil", so it can be a program name with args.
6677 set dummy dsymutil; ac_word=$2
6678 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6681 $as_echo_n "(cached) " >&6
6683 if test -n "$ac_ct_DSYMUTIL"; then
6684 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6703 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6704 if test -n "$ac_ct_DSYMUTIL"; then
6705 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6706 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6708 { $as_echo "$as_me:$LINENO: result: no" >&5
6709 $as_echo "no" >&6; }
6712 if test "x$ac_ct_DSYMUTIL" = x; then
6715 case $cross_compiling:$ac_tool_warned in
6717 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6721 DSYMUTIL=$ac_ct_DSYMUTIL
6724 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6727 if test -n "$ac_tool_prefix"; then
6728 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6729 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6730 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6731 $as_echo_n "checking for $ac_word... " >&6; }
6732 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6733 $as_echo_n "(cached) " >&6
6735 if test -n "$NMEDIT"; then
6736 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 test -z "$as_dir" && as_dir=.
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6745 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6746 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6755 NMEDIT=$ac_cv_prog_NMEDIT
6756 if test -n "$NMEDIT"; then
6757 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6758 $as_echo "$NMEDIT" >&6; }
6760 { $as_echo "$as_me:$LINENO: result: no" >&5
6761 $as_echo "no" >&6; }
6766 if test -z "$ac_cv_prog_NMEDIT"; then
6767 ac_ct_NMEDIT=$NMEDIT
6768 # Extract the first word of "nmedit", so it can be a program name with args.
6769 set dummy nmedit; ac_word=$2
6770 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6773 $as_echo_n "(cached) " >&6
6775 if test -n "$ac_ct_NMEDIT"; then
6776 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6785 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6786 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6795 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6796 if test -n "$ac_ct_NMEDIT"; then
6797 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6798 $as_echo "$ac_ct_NMEDIT" >&6; }
6800 { $as_echo "$as_me:$LINENO: result: no" >&5
6801 $as_echo "no" >&6; }
6804 if test "x$ac_ct_NMEDIT" = x; then
6807 case $cross_compiling:$ac_tool_warned in
6809 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6811 ac_tool_warned=yes ;;
6813 NMEDIT=$ac_ct_NMEDIT
6816 NMEDIT="$ac_cv_prog_NMEDIT"
6819 if test -n "$ac_tool_prefix"; then
6820 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6821 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6822 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6823 $as_echo_n "checking for $ac_word... " >&6; }
6824 if test "${ac_cv_prog_LIPO+set}" = set; then
6825 $as_echo_n "(cached) " >&6
6827 if test -n "$LIPO"; then
6828 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 test -z "$as_dir" && as_dir=.
6835 for ac_exec_ext in '' $ac_executable_extensions; do
6836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6837 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6838 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6847 LIPO=$ac_cv_prog_LIPO
6848 if test -n "$LIPO"; then
6849 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6850 $as_echo "$LIPO" >&6; }
6852 { $as_echo "$as_me:$LINENO: result: no" >&5
6853 $as_echo "no" >&6; }
6858 if test -z "$ac_cv_prog_LIPO"; then
6860 # Extract the first word of "lipo", so it can be a program name with args.
6861 set dummy lipo; ac_word=$2
6862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6863 $as_echo_n "checking for $ac_word... " >&6; }
6864 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6865 $as_echo_n "(cached) " >&6
6867 if test -n "$ac_ct_LIPO"; then
6868 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874 test -z "$as_dir" && as_dir=.
6875 for ac_exec_ext in '' $ac_executable_extensions; do
6876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6877 ac_cv_prog_ac_ct_LIPO="lipo"
6878 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6887 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6888 if test -n "$ac_ct_LIPO"; then
6889 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6890 $as_echo "$ac_ct_LIPO" >&6; }
6892 { $as_echo "$as_me:$LINENO: result: no" >&5
6893 $as_echo "no" >&6; }
6896 if test "x$ac_ct_LIPO" = x; then
6899 case $cross_compiling:$ac_tool_warned in
6901 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6903 ac_tool_warned=yes ;;
6908 LIPO="$ac_cv_prog_LIPO"
6911 if test -n "$ac_tool_prefix"; then
6912 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6913 set dummy ${ac_tool_prefix}otool; ac_word=$2
6914 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6915 $as_echo_n "checking for $ac_word... " >&6; }
6916 if test "${ac_cv_prog_OTOOL+set}" = set; then
6917 $as_echo_n "(cached) " >&6
6919 if test -n "$OTOOL"; then
6920 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926 test -z "$as_dir" && as_dir=.
6927 for ac_exec_ext in '' $ac_executable_extensions; do
6928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6930 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6939 OTOOL=$ac_cv_prog_OTOOL
6940 if test -n "$OTOOL"; then
6941 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6942 $as_echo "$OTOOL" >&6; }
6944 { $as_echo "$as_me:$LINENO: result: no" >&5
6945 $as_echo "no" >&6; }
6950 if test -z "$ac_cv_prog_OTOOL"; then
6952 # Extract the first word of "otool", so it can be a program name with args.
6953 set dummy otool; ac_word=$2
6954 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6955 $as_echo_n "checking for $ac_word... " >&6; }
6956 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6957 $as_echo_n "(cached) " >&6
6959 if test -n "$ac_ct_OTOOL"; then
6960 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966 test -z "$as_dir" && as_dir=.
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6969 ac_cv_prog_ac_ct_OTOOL="otool"
6970 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6979 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6980 if test -n "$ac_ct_OTOOL"; then
6981 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6982 $as_echo "$ac_ct_OTOOL" >&6; }
6984 { $as_echo "$as_me:$LINENO: result: no" >&5
6985 $as_echo "no" >&6; }
6988 if test "x$ac_ct_OTOOL" = x; then
6991 case $cross_compiling:$ac_tool_warned in
6993 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6995 ac_tool_warned=yes ;;
7000 OTOOL="$ac_cv_prog_OTOOL"
7003 if test -n "$ac_tool_prefix"; then
7004 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7005 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7006 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7007 $as_echo_n "checking for $ac_word... " >&6; }
7008 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7009 $as_echo_n "(cached) " >&6
7011 if test -n "$OTOOL64"; then
7012 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018 test -z "$as_dir" && as_dir=.
7019 for ac_exec_ext in '' $ac_executable_extensions; do
7020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7021 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7022 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7031 OTOOL64=$ac_cv_prog_OTOOL64
7032 if test -n "$OTOOL64"; then
7033 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7034 $as_echo "$OTOOL64" >&6; }
7036 { $as_echo "$as_me:$LINENO: result: no" >&5
7037 $as_echo "no" >&6; }
7042 if test -z "$ac_cv_prog_OTOOL64"; then
7043 ac_ct_OTOOL64=$OTOOL64
7044 # Extract the first word of "otool64", so it can be a program name with args.
7045 set dummy otool64; ac_word=$2
7046 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7047 $as_echo_n "checking for $ac_word... " >&6; }
7048 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7049 $as_echo_n "(cached) " >&6
7051 if test -n "$ac_ct_OTOOL64"; then
7052 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir=.
7059 for ac_exec_ext in '' $ac_executable_extensions; do
7060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7061 ac_cv_prog_ac_ct_OTOOL64="otool64"
7062 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7071 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7072 if test -n "$ac_ct_OTOOL64"; then
7073 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7074 $as_echo "$ac_ct_OTOOL64" >&6; }
7076 { $as_echo "$as_me:$LINENO: result: no" >&5
7077 $as_echo "no" >&6; }
7080 if test "x$ac_ct_OTOOL64" = x; then
7083 case $cross_compiling:$ac_tool_warned in
7085 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7087 ac_tool_warned=yes ;;
7089 OTOOL64=$ac_ct_OTOOL64
7092 OTOOL64="$ac_cv_prog_OTOOL64"
7121 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7122 $as_echo_n "checking for -single_module linker flag... " >&6; }
7123 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7124 $as_echo_n "(cached) " >&6
7126 lt_cv_apple_cc_single_mod=no
7127 if test -z "${LT_MULTI_MODULE}"; then
7128 # By default we will add the -single_module flag. You can override
7129 # by either setting the environment variable LT_MULTI_MODULE
7130 # non-empty at configure time, or by adding -multi_module to the
7132 rm -rf libconftest.dylib*
7133 echo "int foo(void){return 1;}" > conftest.c
7134 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7135 -dynamiclib -Wl,-single_module conftest.c" >&5
7136 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7137 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7139 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7140 lt_cv_apple_cc_single_mod=yes
7142 cat conftest.err >&5
7144 rm -rf libconftest.dylib*
7148 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7149 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7150 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7151 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7152 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7153 $as_echo_n "(cached) " >&6
7155 lt_cv_ld_exported_symbols_list=no
7156 save_LDFLAGS=$LDFLAGS
7157 echo "_main" > conftest.sym
7158 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7159 cat >conftest.$ac_ext <<_ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7174 rm -f conftest.$ac_objext conftest$ac_exeext
7175 if { (ac_try="$ac_link"
7177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178 *) ac_try_echo=$ac_try;;
7180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7181 $as_echo "$ac_try_echo") >&5
7182 (eval "$ac_link") 2>conftest.er1
7184 grep -v '^ *+' conftest.er1 >conftest.err
7186 cat conftest.err >&5
7187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } && {
7189 test -z "$ac_c_werror_flag" ||
7190 test ! -s conftest.err
7191 } && test -s conftest$ac_exeext && {
7192 test "$cross_compiling" = yes ||
7193 $as_test_x conftest$ac_exeext
7195 lt_cv_ld_exported_symbols_list=yes
7197 $as_echo "$as_me: failed program was:" >&5
7198 sed 's/^/| /' conftest.$ac_ext >&5
7200 lt_cv_ld_exported_symbols_list=no
7203 rm -rf conftest.dSYM
7204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7205 conftest$ac_exeext conftest.$ac_ext
7206 LDFLAGS="$save_LDFLAGS"
7209 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7210 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7212 rhapsody* | darwin1.[012])
7213 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7215 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7216 darwin*) # darwin 5.x on
7217 # if running on 10.5 or later, the deployment target defaults
7218 # to the OS version, if on x86, and 10.4, the deployment
7219 # target defaults to 10.4. Don't you love it?
7220 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7221 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7222 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7224 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7226 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7230 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7231 _lt_dar_single_mod='$single_module'
7233 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7234 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7236 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7238 if test "$DSYMUTIL" != ":"; then
7239 _lt_dsymutil='~$DSYMUTIL $lib || :'
7247 for ac_header in dlfcn.h
7249 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7250 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7251 $as_echo_n "checking for $ac_header... " >&6; }
7252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7253 $as_echo_n "(cached) " >&6
7255 cat >conftest.$ac_ext <<_ACEOF
7258 cat confdefs.h >>conftest.$ac_ext
7259 cat >>conftest.$ac_ext <<_ACEOF
7260 /* end confdefs.h. */
7261 $ac_includes_default
7263 #include <$ac_header>
7265 rm -f conftest.$ac_objext
7266 if { (ac_try="$ac_compile"
7268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7269 *) ac_try_echo=$ac_try;;
7271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7272 $as_echo "$ac_try_echo") >&5
7273 (eval "$ac_compile") 2>conftest.er1
7275 grep -v '^ *+' conftest.er1 >conftest.err
7277 cat conftest.err >&5
7278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } && {
7280 test -z "$ac_c_werror_flag" ||
7281 test ! -s conftest.err
7282 } && test -s conftest.$ac_objext; then
7283 eval "$as_ac_Header=yes"
7285 $as_echo "$as_me: failed program was:" >&5
7286 sed 's/^/| /' conftest.$ac_ext >&5
7288 eval "$as_ac_Header=no"
7291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7293 ac_res=`eval 'as_val=${'$as_ac_Header'}
7294 $as_echo "$as_val"'`
7295 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7296 $as_echo "$ac_res" >&6; }
7297 as_val=`eval 'as_val=${'$as_ac_Header'}
7298 $as_echo "$as_val"'`
7299 if test "x$as_val" = x""yes; then
7300 cat >>confdefs.h <<_ACEOF
7301 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7320 # Check whether --enable-shared was given.
7321 if test "${enable_shared+set}" = set; then
7322 enableval=$enable_shared; p=${PACKAGE-default}
7324 yes) enable_shared=yes ;;
7325 no) enable_shared=no ;;
7328 # Look at the argument we got. We use all the common list separators.
7329 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7330 for pkg in $enableval; do
7332 if test "X$pkg" = "X$p"; then
7351 # Check whether --enable-static was given.
7352 if test "${enable_static+set}" = set; then
7353 enableval=$enable_static; p=${PACKAGE-default}
7355 yes) enable_static=yes ;;
7356 no) enable_static=no ;;
7359 # Look at the argument we got. We use all the common list separators.
7360 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7361 for pkg in $enableval; do
7363 if test "X$pkg" = "X$p"; then
7383 # Check whether --with-pic was given.
7384 if test "${with_pic+set}" = set; then
7385 withval=$with_pic; pic_mode="$withval"
7391 test -z "$pic_mode" && pic_mode=default
7399 # Check whether --enable-fast-install was given.
7400 if test "${enable_fast_install+set}" = set; then
7401 enableval=$enable_fast_install; p=${PACKAGE-default}
7403 yes) enable_fast_install=yes ;;
7404 no) enable_fast_install=no ;;
7406 enable_fast_install=no
7407 # Look at the argument we got. We use all the common list separators.
7408 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7409 for pkg in $enableval; do
7411 if test "X$pkg" = "X$p"; then
7412 enable_fast_install=yes
7419 enable_fast_install=yes
7432 # This can be used to rebuild libtool when needed
7433 LIBTOOL_DEPS="$ltmain"
7435 # Always use our own libtool.
7436 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7462 test -z "$LN_S" && LN_S="ln -s"
7477 if test -n "${ZSH_VERSION+set}" ; then
7478 setopt NO_GLOB_SUBST
7481 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7482 $as_echo_n "checking for objdir... " >&6; }
7483 if test "${lt_cv_objdir+set}" = set; then
7484 $as_echo_n "(cached) " >&6
7486 rm -f .libs 2>/dev/null
7487 mkdir .libs 2>/dev/null
7488 if test -d .libs; then
7491 # MS-DOS does not allow filenames that begin with a dot.
7494 rmdir .libs 2>/dev/null
7496 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7497 $as_echo "$lt_cv_objdir" >&6; }
7498 objdir=$lt_cv_objdir
7504 cat >>confdefs.h <<_ACEOF
7505 #define LT_OBJDIR "$lt_cv_objdir/"
7526 # AIX sometimes has problems with the GCC collect2 program. For some
7527 # reason, if we set the COLLECT_NAMES environment variable, the problems
7528 # vanish in a puff of smoke.
7529 if test "X${COLLECT_NAMES+set}" != Xset; then
7531 export COLLECT_NAMES
7536 # Sed substitution that helps us do robust quoting. It backslashifies
7537 # metacharacters that are still active within double-quoted strings.
7538 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7540 # Same as above, but do not quote variable references.
7541 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7543 # Sed substitution to delay expansion of an escaped shell variable in a
7544 # double_quote_subst'ed string.
7545 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7547 # Sed substitution to delay expansion of an escaped single quote.
7548 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7550 # Sed substitution to avoid accidental globbing in evaled expressions
7551 no_glob_subst='s/\*/\\\*/g'
7555 can_build_shared=yes
7557 # All known linkers require a `.a' archive for static linking (except MSVC,
7558 # which needs '.lib').
7561 with_gnu_ld="$lt_cv_prog_gnu_ld"
7564 old_CFLAGS="$CFLAGS"
7566 # Set sane defaults for various variables
7567 test -z "$CC" && CC=cc
7568 test -z "$LTCC" && LTCC=$CC
7569 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7570 test -z "$LD" && LD=ld
7571 test -z "$ac_objext" && ac_objext=o
7573 for cc_temp in $compiler""; do
7575 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7576 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7581 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7584 # Only perform the check for file, if the check method requires it
7585 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7586 case $deplibs_check_method in
7588 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7589 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7590 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7591 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7592 $as_echo_n "(cached) " >&6
7596 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7599 lt_save_MAGIC_CMD="$MAGIC_CMD"
7600 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7601 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7602 for ac_dir in $ac_dummy; do
7604 test -z "$ac_dir" && ac_dir=.
7605 if test -f $ac_dir/${ac_tool_prefix}file; then
7606 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7607 if test -n "$file_magic_test_file"; then
7608 case $deplibs_check_method in
7610 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7611 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7612 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7613 $EGREP "$file_magic_regex" > /dev/null; then
7618 *** Warning: the command libtool uses to detect shared libraries,
7619 *** $file_magic_cmd, produces output that libtool cannot recognize.
7620 *** The result is that libtool may fail to recognize shared libraries
7621 *** as such. This will affect the creation of libtool libraries that
7622 *** depend on shared libraries, but programs linked with such libtool
7623 *** libraries will work regardless of this problem. Nevertheless, you
7624 *** may want to report the problem to your system manager and/or to
7625 *** bug-libtool@gnu.org
7635 MAGIC_CMD="$lt_save_MAGIC_CMD"
7640 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7641 if test -n "$MAGIC_CMD"; then
7642 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7643 $as_echo "$MAGIC_CMD" >&6; }
7645 { $as_echo "$as_me:$LINENO: result: no" >&5
7646 $as_echo "no" >&6; }
7653 if test -z "$lt_cv_path_MAGIC_CMD"; then
7654 if test -n "$ac_tool_prefix"; then
7655 { $as_echo "$as_me:$LINENO: checking for file" >&5
7656 $as_echo_n "checking for file... " >&6; }
7657 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7658 $as_echo_n "(cached) " >&6
7662 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7665 lt_save_MAGIC_CMD="$MAGIC_CMD"
7666 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7667 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7668 for ac_dir in $ac_dummy; do
7670 test -z "$ac_dir" && ac_dir=.
7671 if test -f $ac_dir/file; then
7672 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7673 if test -n "$file_magic_test_file"; then
7674 case $deplibs_check_method in
7676 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7677 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7678 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7679 $EGREP "$file_magic_regex" > /dev/null; then
7684 *** Warning: the command libtool uses to detect shared libraries,
7685 *** $file_magic_cmd, produces output that libtool cannot recognize.
7686 *** The result is that libtool may fail to recognize shared libraries
7687 *** as such. This will affect the creation of libtool libraries that
7688 *** depend on shared libraries, but programs linked with such libtool
7689 *** libraries will work regardless of this problem. Nevertheless, you
7690 *** may want to report the problem to your system manager and/or to
7691 *** bug-libtool@gnu.org
7701 MAGIC_CMD="$lt_save_MAGIC_CMD"
7706 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7707 if test -n "$MAGIC_CMD"; then
7708 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7709 $as_echo "$MAGIC_CMD" >&6; }
7711 { $as_echo "$as_me:$LINENO: result: no" >&5
7712 $as_echo "no" >&6; }
7725 # Use C for the default configuration in the libtool script
7729 ac_cpp='$CPP $CPPFLAGS'
7730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7735 # Source file extension for C test sources.
7738 # Object file extension for compiled C test sources.
7742 # Code to be used in simple compile tests
7743 lt_simple_compile_test_code="int some_variable = 0;"
7745 # Code to be used in simple link tests
7746 lt_simple_link_test_code='int main(){return(0);}'
7754 # If no C compiler was specified, use CC.
7757 # If no C compiler flags were specified, use CFLAGS.
7758 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7760 # Allow CC to be a program name with arguments.
7763 # Save the default compiler, since it gets overwritten when the other
7764 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7765 compiler_DEFAULT=$CC
7767 # save warnings/boilerplate of simple test code
7768 ac_outfile=conftest.$ac_objext
7769 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7770 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7771 _lt_compiler_boilerplate=`cat conftest.err`
7774 ac_outfile=conftest.$ac_objext
7775 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7776 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7777 _lt_linker_boilerplate=`cat conftest.err`
7782 ## There is no encapsulation within the following macros, do not change
7783 ## the running order or otherwise move them around unless you know exactly
7784 ## what you are doing...
7785 if test -n "$compiler"; then
7787 lt_prog_compiler_no_builtin_flag=
7789 if test "$GCC" = yes; then
7790 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7792 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7793 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7794 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7795 $as_echo_n "(cached) " >&6
7797 lt_cv_prog_compiler_rtti_exceptions=no
7798 ac_outfile=conftest.$ac_objext
7799 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7800 lt_compiler_flag="-fno-rtti -fno-exceptions"
7801 # Insert the option either (1) after the last *FLAGS variable, or
7802 # (2) before a word containing "conftest.", or (3) at the end.
7803 # Note that $ac_compile itself does not contain backslashes and begins
7804 # with a dollar sign (not a hyphen), so the echo should work correctly.
7805 # The option is referenced via a variable to avoid confusing sed.
7806 lt_compile=`echo "$ac_compile" | $SED \
7807 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7808 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7809 -e 's:$: $lt_compiler_flag:'`
7810 (eval echo "\"\$as_me:7810: $lt_compile\"" >&5)
7811 (eval "$lt_compile" 2>conftest.err)
7813 cat conftest.err >&5
7814 echo "$as_me:7814: \$? = $ac_status" >&5
7815 if (exit $ac_status) && test -s "$ac_outfile"; then
7816 # The compiler can only warn and ignore the option if not recognized
7817 # So say no if there are warnings other than the usual output.
7818 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7819 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7820 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7821 lt_cv_prog_compiler_rtti_exceptions=yes
7827 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7828 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7830 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7831 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7843 lt_prog_compiler_wl=
7844 lt_prog_compiler_pic=
7845 lt_prog_compiler_static=
7847 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7848 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7850 if test "$GCC" = yes; then
7851 lt_prog_compiler_wl='-Wl,'
7852 lt_prog_compiler_static='-static'
7856 # All AIX code is PIC.
7857 if test "$host_cpu" = ia64; then
7858 # AIX 5 now supports IA64 processor
7859 lt_prog_compiler_static='-Bstatic'
7866 # see comment about AmigaOS4 .so support
7867 lt_prog_compiler_pic='-fPIC'
7870 # FIXME: we need at least 68020 code to build shared libraries, but
7871 # adding the `-m68020' flag to GCC prevents building anything better,
7873 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7878 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7879 # PIC is the default for these OSes.
7882 mingw* | cygwin* | pw32* | os2* | cegcc*)
7883 # This hack is so that the source file can tell whether it is being
7884 # built for inclusion in a dll (and should export symbols for example).
7885 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7886 # (--disable-auto-import) libraries
7887 lt_prog_compiler_pic='-DDLL_EXPORT'
7890 darwin* | rhapsody*)
7891 # PIC is the default on this platform
7892 # Common symbols not allowed in MH_DYLIB files
7893 lt_prog_compiler_pic='-fno-common'
7897 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7898 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7899 # sets the default TLS model and affects inlining.
7905 lt_prog_compiler_pic='-fPIC'
7911 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7912 # Instead, we relocate shared libraries at runtime.
7916 # Just because we use GCC doesn't mean we suddenly get shared libraries
7917 # on systems that don't support them.
7918 lt_prog_compiler_can_build_shared=no
7923 # QNX uses GNU C++, but need to define -shared option too, otherwise
7925 lt_prog_compiler_pic='-fPIC -shared'
7929 if test -d /usr/nec; then
7930 lt_prog_compiler_pic=-Kconform_pic
7935 lt_prog_compiler_pic='-fPIC'
7939 # PORTME Check for flag to pass linker flags through the system compiler.
7942 lt_prog_compiler_wl='-Wl,'
7943 if test "$host_cpu" = ia64; then
7944 # AIX 5 now supports IA64 processor
7945 lt_prog_compiler_static='-Bstatic'
7947 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7951 mingw* | cygwin* | pw32* | os2* | cegcc*)
7952 # This hack is so that the source file can tell whether it is being
7953 # built for inclusion in a dll (and should export symbols for example).
7954 lt_prog_compiler_pic='-DDLL_EXPORT'
7957 hpux9* | hpux10* | hpux11*)
7958 lt_prog_compiler_wl='-Wl,'
7959 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7966 lt_prog_compiler_pic='+Z'
7969 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7970 lt_prog_compiler_static='${wl}-a ${wl}archive'
7973 irix5* | irix6* | nonstopux*)
7974 lt_prog_compiler_wl='-Wl,'
7975 # PIC (with -KPIC) is the default.
7976 lt_prog_compiler_static='-non_shared'
7979 linux* | k*bsd*-gnu)
7980 case $cc_basename in
7981 # old Intel for x86_64 which still supported -KPIC.
7983 lt_prog_compiler_wl='-Wl,'
7984 lt_prog_compiler_pic='-KPIC'
7985 lt_prog_compiler_static='-static'
7987 # icc used to be incompatible with GCC.
7988 # ICC 10 doesn't accept -KPIC any more.
7990 lt_prog_compiler_wl='-Wl,'
7991 lt_prog_compiler_pic='-fPIC'
7992 lt_prog_compiler_static='-static'
7994 # Lahey Fortran 8.1.
7996 lt_prog_compiler_wl='-Wl,'
7997 lt_prog_compiler_pic='--shared'
7998 lt_prog_compiler_static='--static'
8000 pgcc* | pgf77* | pgf90* | pgf95*)
8001 # Portland Group compilers (*not* the Pentium gcc compiler,
8002 # which looks to be a dead project)
8003 lt_prog_compiler_wl='-Wl,'
8004 lt_prog_compiler_pic='-fpic'
8005 lt_prog_compiler_static='-Bstatic'
8008 lt_prog_compiler_wl='-Wl,'
8009 # All Alpha code is PIC.
8010 lt_prog_compiler_static='-non_shared'
8013 # IBM XL C 8.0/Fortran 10.1 on PPC
8014 lt_prog_compiler_wl='-Wl,'
8015 lt_prog_compiler_pic='-qpic'
8016 lt_prog_compiler_static='-qstaticlink'
8019 case `$CC -V 2>&1 | sed 5q` in
8022 lt_prog_compiler_pic='-KPIC'
8023 lt_prog_compiler_static='-Bstatic'
8024 lt_prog_compiler_wl='-Wl,'
8027 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8028 lt_prog_compiler_pic='-KPIC'
8029 lt_prog_compiler_static='-Bstatic'
8030 lt_prog_compiler_wl=''
8038 lt_prog_compiler_pic='-KPIC'
8039 lt_prog_compiler_static='-Bstatic'
8043 # QNX uses GNU C++, but need to define -shared option too, otherwise
8045 lt_prog_compiler_pic='-fPIC -shared'
8048 osf3* | osf4* | osf5*)
8049 lt_prog_compiler_wl='-Wl,'
8050 # All OSF/1 code is PIC.
8051 lt_prog_compiler_static='-non_shared'
8055 lt_prog_compiler_static='-non_shared'
8059 lt_prog_compiler_pic='-KPIC'
8060 lt_prog_compiler_static='-Bstatic'
8061 case $cc_basename in
8063 lt_prog_compiler_wl='-Qoption ld ';;
8065 lt_prog_compiler_wl='-Wl,';;
8070 lt_prog_compiler_wl='-Qoption ld '
8071 lt_prog_compiler_pic='-PIC'
8072 lt_prog_compiler_static='-Bstatic'
8075 sysv4 | sysv4.2uw2* | sysv4.3*)
8076 lt_prog_compiler_wl='-Wl,'
8077 lt_prog_compiler_pic='-KPIC'
8078 lt_prog_compiler_static='-Bstatic'
8082 if test -d /usr/nec ;then
8083 lt_prog_compiler_pic='-Kconform_pic'
8084 lt_prog_compiler_static='-Bstatic'
8088 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8089 lt_prog_compiler_wl='-Wl,'
8090 lt_prog_compiler_pic='-KPIC'
8091 lt_prog_compiler_static='-Bstatic'
8095 lt_prog_compiler_wl='-Wl,'
8096 lt_prog_compiler_can_build_shared=no
8100 lt_prog_compiler_pic='-pic'
8101 lt_prog_compiler_static='-Bstatic'
8105 lt_prog_compiler_can_build_shared=no
8111 # For platforms which do not support PIC, -DPIC is meaningless:
8113 lt_prog_compiler_pic=
8116 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8119 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8120 $as_echo "$lt_prog_compiler_pic" >&6; }
8128 # Check to make sure the PIC flag actually works.
8130 if test -n "$lt_prog_compiler_pic"; then
8131 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8132 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8133 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8134 $as_echo_n "(cached) " >&6
8136 lt_cv_prog_compiler_pic_works=no
8137 ac_outfile=conftest.$ac_objext
8138 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8139 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8140 # Insert the option either (1) after the last *FLAGS variable, or
8141 # (2) before a word containing "conftest.", or (3) at the end.
8142 # Note that $ac_compile itself does not contain backslashes and begins
8143 # with a dollar sign (not a hyphen), so the echo should work correctly.
8144 # The option is referenced via a variable to avoid confusing sed.
8145 lt_compile=`echo "$ac_compile" | $SED \
8146 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8147 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8148 -e 's:$: $lt_compiler_flag:'`
8149 (eval echo "\"\$as_me:8149: $lt_compile\"" >&5)
8150 (eval "$lt_compile" 2>conftest.err)
8152 cat conftest.err >&5
8153 echo "$as_me:8153: \$? = $ac_status" >&5
8154 if (exit $ac_status) && test -s "$ac_outfile"; then
8155 # The compiler can only warn and ignore the option if not recognized
8156 # So say no if there are warnings other than the usual output.
8157 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8158 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8159 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8160 lt_cv_prog_compiler_pic_works=yes
8166 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8167 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8169 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8170 case $lt_prog_compiler_pic in
8172 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8175 lt_prog_compiler_pic=
8176 lt_prog_compiler_can_build_shared=no
8187 # Check to make sure the static flag actually works.
8189 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8190 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8191 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8192 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8193 $as_echo_n "(cached) " >&6
8195 lt_cv_prog_compiler_static_works=no
8196 save_LDFLAGS="$LDFLAGS"
8197 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8198 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8199 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8200 # The linker can only warn and ignore the option if not recognized
8201 # So say no if there are warnings
8202 if test -s conftest.err; then
8203 # Append any errors to the config.log.
8204 cat conftest.err 1>&5
8205 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8206 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8207 if diff conftest.exp conftest.er2 >/dev/null; then
8208 lt_cv_prog_compiler_static_works=yes
8211 lt_cv_prog_compiler_static_works=yes
8215 LDFLAGS="$save_LDFLAGS"
8218 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8219 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8221 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8224 lt_prog_compiler_static=
8233 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8234 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8235 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8236 $as_echo_n "(cached) " >&6
8238 lt_cv_prog_compiler_c_o=no
8239 $RM -r conftest 2>/dev/null
8243 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8245 lt_compiler_flag="-o out/conftest2.$ac_objext"
8246 # Insert the option either (1) after the last *FLAGS variable, or
8247 # (2) before a word containing "conftest.", or (3) at the end.
8248 # Note that $ac_compile itself does not contain backslashes and begins
8249 # with a dollar sign (not a hyphen), so the echo should work correctly.
8250 lt_compile=`echo "$ac_compile" | $SED \
8251 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8252 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8253 -e 's:$: $lt_compiler_flag:'`
8254 (eval echo "\"\$as_me:8254: $lt_compile\"" >&5)
8255 (eval "$lt_compile" 2>out/conftest.err)
8257 cat out/conftest.err >&5
8258 echo "$as_me:8258: \$? = $ac_status" >&5
8259 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8261 # The compiler can only warn and ignore the option if not recognized
8262 # So say no if there are warnings
8263 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8264 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8265 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8266 lt_cv_prog_compiler_c_o=yes
8271 # SGI C++ compiler will create directory out/ii_files/ for
8272 # template instantiation
8273 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8274 $RM out/* && rmdir out
8280 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8281 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8288 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8289 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8290 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8291 $as_echo_n "(cached) " >&6
8293 lt_cv_prog_compiler_c_o=no
8294 $RM -r conftest 2>/dev/null
8298 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8300 lt_compiler_flag="-o out/conftest2.$ac_objext"
8301 # Insert the option either (1) after the last *FLAGS variable, or
8302 # (2) before a word containing "conftest.", or (3) at the end.
8303 # Note that $ac_compile itself does not contain backslashes and begins
8304 # with a dollar sign (not a hyphen), so the echo should work correctly.
8305 lt_compile=`echo "$ac_compile" | $SED \
8306 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8307 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8308 -e 's:$: $lt_compiler_flag:'`
8309 (eval echo "\"\$as_me:8309: $lt_compile\"" >&5)
8310 (eval "$lt_compile" 2>out/conftest.err)
8312 cat out/conftest.err >&5
8313 echo "$as_me:8313: \$? = $ac_status" >&5
8314 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8316 # The compiler can only warn and ignore the option if not recognized
8317 # So say no if there are warnings
8318 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8319 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8320 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8321 lt_cv_prog_compiler_c_o=yes
8326 # SGI C++ compiler will create directory out/ii_files/ for
8327 # template instantiation
8328 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8329 $RM out/* && rmdir out
8335 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8336 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8341 hard_links="nottested"
8342 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8343 # do not overwrite the value of need_locks provided by the user
8344 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8345 $as_echo_n "checking if we can lock with hard links... " >&6; }
8348 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8350 ln conftest.a conftest.b 2>&5 || hard_links=no
8351 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8352 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8353 $as_echo "$hard_links" >&6; }
8354 if test "$hard_links" = no; then
8355 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8356 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8368 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8369 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8372 allow_undefined_flag=
8373 always_export_symbols=no
8375 archive_expsym_cmds=
8376 compiler_needs_object=no
8377 enable_shared_with_static_runtimes=no
8378 export_dynamic_flag_spec=
8379 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8380 hardcode_automatic=no
8382 hardcode_direct_absolute=no
8383 hardcode_libdir_flag_spec=
8384 hardcode_libdir_flag_spec_ld=
8385 hardcode_libdir_separator=
8387 hardcode_shlibpath_var=unsupported
8389 link_all_deplibs=unknown
8392 old_archive_from_new_cmds=
8393 old_archive_from_expsyms_cmds=
8394 thread_safe_flag_spec=
8395 whole_archive_flag_spec=
8396 # include_expsyms should be a list of space-separated symbols to be *always*
8397 # included in the symbol list
8399 # exclude_expsyms can be an extended regexp of symbols to exclude
8400 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8401 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8402 # as well as any symbol that contains `d'.
8403 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8404 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8405 # platforms (ab)use it in PIC code, but their linkers get confused if
8406 # the symbol is explicitly referenced. Since portable code cannot
8407 # rely on this symbol name, it's probably fine to never include it in
8408 # preloaded symbol tables.
8409 # Exclude shared library initialization/finalization symbols.
8410 extract_expsyms_cmds=
8413 cygwin* | mingw* | pw32* | cegcc*)
8414 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8415 # When not using gcc, we currently assume that we are using
8416 # Microsoft Visual C++.
8417 if test "$GCC" != yes; then
8422 # we just hope/assume this is gcc and not c89 (= MSVC++)
8431 if test "$with_gnu_ld" = yes; then
8432 # If archive_cmds runs LD, not CC, wlarc should be empty
8435 # Set some defaults for GNU ld with shared library support. These
8436 # are reset later if shared libraries are not supported. Putting them
8437 # here allows them to be overridden if necessary.
8438 runpath_var=LD_RUN_PATH
8439 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8440 export_dynamic_flag_spec='${wl}--export-dynamic'
8441 # ancient GNU ld didn't support --whole-archive et. al.
8442 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8443 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8445 whole_archive_flag_spec=
8447 supports_anon_versioning=no
8448 case `$LD -v 2>&1` in
8449 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8450 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8451 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8452 *\ 2.11.*) ;; # other 2.11 versions
8453 *) supports_anon_versioning=yes ;;
8456 # See if GNU ld supports shared libraries.
8459 # On AIX/PPC, the GNU linker is very broken
8460 if test "$host_cpu" != ia64; then
8464 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8465 *** to be unable to reliably create shared libraries on AIX.
8466 *** Therefore, libtool is disabling shared libraries support. If you
8467 *** really care for shared libraries, you may want to modify your PATH
8468 *** so that a non-GNU linker is found, and then restart.
8477 # see comment about AmigaOS4 .so support
8478 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8479 archive_expsym_cmds=''
8482 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)'
8483 hardcode_libdir_flag_spec='-L$libdir'
8484 hardcode_minus_L=yes
8490 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8491 allow_undefined_flag=unsupported
8492 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8493 # support --undefined. This deserves some investigation. FIXME
8494 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8500 cygwin* | mingw* | pw32* | cegcc*)
8501 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8502 # as there is no search path for DLLs.
8503 hardcode_libdir_flag_spec='-L$libdir'
8504 allow_undefined_flag=unsupported
8505 always_export_symbols=no
8506 enable_shared_with_static_runtimes=yes
8507 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8509 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8510 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8511 # If the export-symbols file already is a .def file (1st line
8512 # is EXPORTS), use it as is; otherwise, prepend...
8513 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8514 cp $export_symbols $output_objdir/$soname.def;
8516 echo EXPORTS > $output_objdir/$soname.def;
8517 cat $export_symbols >> $output_objdir/$soname.def;
8519 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8527 hardcode_shlibpath_var=no
8528 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8529 export_dynamic_flag_spec='${wl}-E'
8530 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8531 # Instead, shared libraries are loaded at an image base (0x10000000 by
8532 # default) and relocated if they conflict, which is a slow very memory
8533 # consuming and fragmenting process. To avoid this, we pick a random,
8534 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8535 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8536 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8537 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'
8540 gnu* | linux* | tpf* | k*bsd*-gnu)
8542 if test "$host_os" = linux-dietlibc; then
8543 case $cc_basename in
8544 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8547 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8548 && test "$tmp_diet" = no
8551 tmp_sharedflag='-shared'
8552 case $cc_basename,$host_cpu in
8553 pgcc*) # Portland Group C compiler
8554 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'
8555 tmp_addflag=' $pic_flag'
8557 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8558 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'
8559 tmp_addflag=' $pic_flag -Mnomain' ;;
8560 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8561 tmp_addflag=' -i_dynamic' ;;
8562 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8563 tmp_addflag=' -i_dynamic -nofor_main' ;;
8564 ifc* | ifort*) # Intel Fortran compiler
8565 tmp_addflag=' -nofor_main' ;;
8566 lf95*) # Lahey Fortran 8.1
8567 whole_archive_flag_spec=
8568 tmp_sharedflag='--shared' ;;
8569 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8570 tmp_sharedflag='-qmkshrobj'
8573 case `$CC -V 2>&1 | sed 5q` in
8574 *Sun\ C*) # Sun C 5.9
8575 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8576 compiler_needs_object=yes
8577 tmp_sharedflag='-G' ;;
8578 *Sun\ F*) # Sun Fortran 8.3
8579 tmp_sharedflag='-G' ;;
8581 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8583 if test "x$supports_anon_versioning" = xyes; then
8584 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8585 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8586 echo "local: *; };" >> $output_objdir/$libname.ver~
8587 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8590 case $cc_basename in
8592 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8593 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8594 hardcode_libdir_flag_spec=
8595 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8596 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8597 if test "x$supports_anon_versioning" = xyes; then
8598 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8599 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8600 echo "local: *; };" >> $output_objdir/$libname.ver~
8601 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8610 netbsd* | netbsdelf*-gnu)
8611 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8612 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8615 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8616 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8621 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8625 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8626 *** create shared libraries on Solaris systems. Therefore, libtool
8627 *** is disabling shared libraries support. We urge you to upgrade GNU
8628 *** binutils to release 2.9.1 or newer. Another option is to modify
8629 *** your PATH or compiler configuration so that the native linker is
8630 *** used, and then restart.
8633 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8634 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8635 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8641 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8642 case `$LD -v 2>&1` in
8643 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8647 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8648 *** reliably create shared libraries on SCO systems. Therefore, libtool
8649 *** is disabling shared libraries support. We urge you to upgrade GNU
8650 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8651 *** your PATH or compiler configuration so that the native linker is
8652 *** used, and then restart.
8657 # For security reasons, it is highly recommended that you always
8658 # use absolute paths for naming shared libraries, and exclude the
8659 # DT_RUNPATH tag from executables and libraries. But doing so
8660 # requires that you compile everything twice, which is a pain.
8661 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8662 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8663 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8664 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8673 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8676 hardcode_shlibpath_var=no
8680 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8681 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8682 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8689 if test "$ld_shlibs" = no; then
8691 hardcode_libdir_flag_spec=
8692 export_dynamic_flag_spec=
8693 whole_archive_flag_spec=
8696 # PORTME fill in a description of your system's linker (not GNU ld)
8699 allow_undefined_flag=unsupported
8700 always_export_symbols=yes
8701 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'
8702 # Note: this linker hardcodes the directories in LIBPATH if there
8703 # are no directories specified by -L.
8704 hardcode_minus_L=yes
8705 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8706 # Neither direct hardcoding nor static linking is supported with a
8708 hardcode_direct=unsupported
8713 if test "$host_cpu" = ia64; then
8714 # On IA64, the linker does run time linking by default, so we don't
8715 # have to do anything special.
8716 aix_use_runtimelinking=no
8717 exp_sym_flag='-Bexport'
8720 # If we're using GNU nm, then we don't want the "-C" option.
8721 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8722 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8723 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'
8725 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'
8727 aix_use_runtimelinking=no
8729 # Test if we are trying to use run time linking or normal
8730 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8731 # need to do runtime linking.
8732 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8733 for ld_flag in $LDFLAGS; do
8734 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8735 aix_use_runtimelinking=yes
8742 exp_sym_flag='-bexport'
8743 no_entry_flag='-bnoentry'
8746 # When large executables or shared objects are built, AIX ld can
8747 # have problems creating the table of contents. If linking a library
8748 # or program results in "error TOC overflow" add -mminimal-toc to
8749 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8750 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8754 hardcode_direct_absolute=yes
8755 hardcode_libdir_separator=':'
8756 link_all_deplibs=yes
8757 file_list_spec='${wl}-f,'
8759 if test "$GCC" = yes; then
8760 case $host_os in aix4.[012]|aix4.[012].*)
8761 # We only want to do this on AIX 4.2 and lower, the check
8762 # below for broken collect2 doesn't work under 4.3+
8763 collect2name=`${CC} -print-prog-name=collect2`
8764 if test -f "$collect2name" &&
8765 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8767 # We have reworked collect2
8770 # We have old collect2
8771 hardcode_direct=unsupported
8772 # It fails to find uninstalled libraries when the uninstalled
8773 # path is not listed in the libpath. Setting hardcode_minus_L
8774 # to unsupported forces relinking
8775 hardcode_minus_L=yes
8776 hardcode_libdir_flag_spec='-L$libdir'
8777 hardcode_libdir_separator=
8781 shared_flag='-shared'
8782 if test "$aix_use_runtimelinking" = yes; then
8783 shared_flag="$shared_flag "'${wl}-G'
8788 if test "$host_cpu" = ia64; then
8789 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8790 # chokes on -Wl,-G. The following line is correct:
8793 if test "$aix_use_runtimelinking" = yes; then
8794 shared_flag='${wl}-G'
8796 shared_flag='${wl}-bM:SRE'
8801 export_dynamic_flag_spec='${wl}-bexpall'
8802 # It seems that -bexpall does not export symbols beginning with
8803 # underscore (_), so it is better to generate a list of symbols to export.
8804 always_export_symbols=yes
8805 if test "$aix_use_runtimelinking" = yes; then
8806 # Warning - without using the other runtime loading flags (-brtl),
8807 # -berok will link without error, but may produce a broken library.
8808 allow_undefined_flag='-berok'
8809 # Determine the default libpath from the value encoded in an
8811 cat >conftest.$ac_ext <<_ACEOF
8814 cat confdefs.h >>conftest.$ac_ext
8815 cat >>conftest.$ac_ext <<_ACEOF
8816 /* end confdefs.h. */
8826 rm -f conftest.$ac_objext conftest$ac_exeext
8827 if { (ac_try="$ac_link"
8829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8830 *) ac_try_echo=$ac_try;;
8832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8833 $as_echo "$ac_try_echo") >&5
8834 (eval "$ac_link") 2>conftest.er1
8836 grep -v '^ *+' conftest.er1 >conftest.err
8838 cat conftest.err >&5
8839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); } && {
8841 test -z "$ac_c_werror_flag" ||
8842 test ! -s conftest.err
8843 } && test -s conftest$ac_exeext && {
8844 test "$cross_compiling" = yes ||
8845 $as_test_x conftest$ac_exeext
8848 lt_aix_libpath_sed='
8849 /Import File Strings/,/^$/ {
8855 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8856 # Check for a 64-bit object if we didn't find anything.
8857 if test -z "$aix_libpath"; then
8858 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8861 $as_echo "$as_me: failed program was:" >&5
8862 sed 's/^/| /' conftest.$ac_ext >&5
8867 rm -rf conftest.dSYM
8868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8869 conftest$ac_exeext conftest.$ac_ext
8870 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8872 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8873 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8875 if test "$host_cpu" = ia64; then
8876 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8877 allow_undefined_flag="-z nodefs"
8878 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"
8880 # Determine the default libpath from the value encoded in an
8882 cat >conftest.$ac_ext <<_ACEOF
8885 cat confdefs.h >>conftest.$ac_ext
8886 cat >>conftest.$ac_ext <<_ACEOF
8887 /* end confdefs.h. */
8897 rm -f conftest.$ac_objext conftest$ac_exeext
8898 if { (ac_try="$ac_link"
8900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8901 *) ac_try_echo=$ac_try;;
8903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8904 $as_echo "$ac_try_echo") >&5
8905 (eval "$ac_link") 2>conftest.er1
8907 grep -v '^ *+' conftest.er1 >conftest.err
8909 cat conftest.err >&5
8910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); } && {
8912 test -z "$ac_c_werror_flag" ||
8913 test ! -s conftest.err
8914 } && test -s conftest$ac_exeext && {
8915 test "$cross_compiling" = yes ||
8916 $as_test_x conftest$ac_exeext
8919 lt_aix_libpath_sed='
8920 /Import File Strings/,/^$/ {
8926 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8927 # Check for a 64-bit object if we didn't find anything.
8928 if test -z "$aix_libpath"; then
8929 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8932 $as_echo "$as_me: failed program was:" >&5
8933 sed 's/^/| /' conftest.$ac_ext >&5
8938 rm -rf conftest.dSYM
8939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8940 conftest$ac_exeext conftest.$ac_ext
8941 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8943 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8944 # Warning - without using the other run time loading flags,
8945 # -berok will link without error, but may produce a broken library.
8946 no_undefined_flag=' ${wl}-bernotok'
8947 allow_undefined_flag=' ${wl}-berok'
8948 # Exported symbols can be pulled into shared objects from archives
8949 whole_archive_flag_spec='$convenience'
8950 archive_cmds_need_lc=yes
8951 # This is similar to how AIX traditionally builds its shared libraries.
8952 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'
8960 # see comment about AmigaOS4 .so support
8961 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8962 archive_expsym_cmds=''
8965 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)'
8966 hardcode_libdir_flag_spec='-L$libdir'
8967 hardcode_minus_L=yes
8973 export_dynamic_flag_spec=-rdynamic
8976 cygwin* | mingw* | pw32* | cegcc*)
8977 # When not using gcc, we currently assume that we are using
8978 # Microsoft Visual C++.
8979 # hardcode_libdir_flag_spec is actually meaningless, as there is
8980 # no search path for DLLs.
8981 hardcode_libdir_flag_spec=' '
8982 allow_undefined_flag=unsupported
8983 # Tell ltmain to make .lib files, not .a files.
8985 # Tell ltmain to make .dll files, not .so files.
8987 # FIXME: Setting linknames here is a bad hack.
8988 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8989 # The linker will automatically build a .lib file if we build a DLL.
8990 old_archive_from_new_cmds='true'
8991 # FIXME: Should let the user specify the lib program.
8992 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8993 fix_srcfile_path='`cygpath -w "$srcfile"`'
8994 enable_shared_with_static_runtimes=yes
8997 darwin* | rhapsody*)
9000 archive_cmds_need_lc=no
9002 hardcode_automatic=yes
9003 hardcode_shlibpath_var=unsupported
9004 whole_archive_flag_spec=''
9005 link_all_deplibs=yes
9006 allow_undefined_flag="$_lt_dar_allow_undefined"
9007 case $cc_basename in
9008 ifort*) _lt_dar_can_shared=yes ;;
9009 *) _lt_dar_can_shared=$GCC ;;
9011 if test "$_lt_dar_can_shared" = "yes"; then
9012 output_verbose_link_cmd=echo
9013 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9014 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9015 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9016 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9025 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9026 hardcode_libdir_flag_spec='-L$libdir'
9027 hardcode_shlibpath_var=no
9034 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9035 # support. Future versions do this automatically, but an explicit c++rt0.o
9036 # does not break anything, and helps significantly (at the cost of a little
9039 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9040 hardcode_libdir_flag_spec='-R$libdir'
9042 hardcode_shlibpath_var=no
9045 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9047 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9049 hardcode_minus_L=yes
9050 hardcode_shlibpath_var=no
9053 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9054 freebsd* | dragonfly*)
9055 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9056 hardcode_libdir_flag_spec='-R$libdir'
9058 hardcode_shlibpath_var=no
9062 if test "$GCC" = yes; then
9063 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'
9065 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'
9067 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9068 hardcode_libdir_separator=:
9071 # hardcode_minus_L: Not really in the search PATH,
9072 # but as the default location of the library.
9073 hardcode_minus_L=yes
9074 export_dynamic_flag_spec='${wl}-E'
9078 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9079 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9081 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9083 if test "$with_gnu_ld" = no; then
9084 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9085 hardcode_libdir_flag_spec_ld='+b $libdir'
9086 hardcode_libdir_separator=:
9088 hardcode_direct_absolute=yes
9089 export_dynamic_flag_spec='${wl}-E'
9090 # hardcode_minus_L: Not really in the search PATH,
9091 # but as the default location of the library.
9092 hardcode_minus_L=yes
9097 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9100 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9103 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9106 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9112 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9115 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9118 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9122 if test "$with_gnu_ld" = no; then
9123 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9124 hardcode_libdir_separator=:
9129 hardcode_shlibpath_var=no
9133 hardcode_direct_absolute=yes
9134 export_dynamic_flag_spec='${wl}-E'
9136 # hardcode_minus_L: Not really in the search PATH,
9137 # but as the default location of the library.
9138 hardcode_minus_L=yes
9144 irix5* | irix6* | nonstopux*)
9145 if test "$GCC" = yes; then
9146 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9147 # Try to use the -exported_symbol ld option, if it does not
9148 # work, assume that -exports_file does not work either and
9149 # implicitly export all symbols.
9150 save_LDFLAGS="$LDFLAGS"
9151 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9152 cat >conftest.$ac_ext <<_ACEOF
9155 rm -f conftest.$ac_objext conftest$ac_exeext
9156 if { (ac_try="$ac_link"
9158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9159 *) ac_try_echo=$ac_try;;
9161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9162 $as_echo "$ac_try_echo") >&5
9163 (eval "$ac_link") 2>conftest.er1
9165 grep -v '^ *+' conftest.er1 >conftest.err
9167 cat conftest.err >&5
9168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } && {
9170 test -z "$ac_c_werror_flag" ||
9171 test ! -s conftest.err
9172 } && test -s conftest$ac_exeext && {
9173 test "$cross_compiling" = yes ||
9174 $as_test_x conftest$ac_exeext
9176 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9179 $as_echo "$as_me: failed program was:" >&5
9180 sed 's/^/| /' conftest.$ac_ext >&5
9185 rm -rf conftest.dSYM
9186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9187 conftest$ac_exeext conftest.$ac_ext
9188 LDFLAGS="$save_LDFLAGS"
9190 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9191 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9193 archive_cmds_need_lc='no'
9194 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9195 hardcode_libdir_separator=:
9197 link_all_deplibs=yes
9200 netbsd* | netbsdelf*-gnu)
9201 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9202 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9204 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9206 hardcode_libdir_flag_spec='-R$libdir'
9208 hardcode_shlibpath_var=no
9212 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9214 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9215 hardcode_libdir_separator=:
9216 hardcode_shlibpath_var=no
9223 if test -f /usr/libexec/ld.so; then
9225 hardcode_shlibpath_var=no
9226 hardcode_direct_absolute=yes
9227 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9228 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9229 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9230 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9231 export_dynamic_flag_spec='${wl}-E'
9234 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9235 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9236 hardcode_libdir_flag_spec='-R$libdir'
9239 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9240 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9250 hardcode_libdir_flag_spec='-L$libdir'
9251 hardcode_minus_L=yes
9252 allow_undefined_flag=unsupported
9253 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'
9254 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9258 if test "$GCC" = yes; then
9259 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9260 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9262 allow_undefined_flag=' -expect_unresolved \*'
9263 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9265 archive_cmds_need_lc='no'
9266 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9267 hardcode_libdir_separator=:
9270 osf4* | osf5*) # as osf3* with the addition of -msym flag
9271 if test "$GCC" = yes; then
9272 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9273 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9274 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9276 allow_undefined_flag=' -expect_unresolved \*'
9277 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9278 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9279 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9281 # Both c and cxx compiler support -rpath directly
9282 hardcode_libdir_flag_spec='-rpath $libdir'
9284 archive_cmds_need_lc='no'
9285 hardcode_libdir_separator=:
9289 no_undefined_flag=' -z defs'
9290 if test "$GCC" = yes; then
9292 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9293 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9294 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9296 case `$CC -V 2>&1` in
9299 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9300 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9301 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9305 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9306 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9307 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9311 hardcode_libdir_flag_spec='-R$libdir'
9312 hardcode_shlibpath_var=no
9314 solaris2.[0-5] | solaris2.[0-5].*) ;;
9316 # The compiler driver will combine and reorder linker options,
9317 # but understands `-z linker_flag'. GCC discards it without `$wl',
9318 # but is careful enough not to reorder.
9319 # Supported since Solaris 2.6 (maybe 2.5.1?)
9320 if test "$GCC" = yes; then
9321 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9323 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9327 link_all_deplibs=yes
9331 if test "x$host_vendor" = xsequent; then
9332 # Use $CC to link under sequent, because it throws in some extra .o
9333 # files that make .init and .fini sections work.
9334 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9336 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9338 hardcode_libdir_flag_spec='-L$libdir'
9340 hardcode_minus_L=yes
9341 hardcode_shlibpath_var=no
9345 case $host_vendor in
9347 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9348 hardcode_direct=yes # is this really true???
9351 ## LD is ld it makes a PLAMLIB
9352 ## CC just makes a GrossModule.
9353 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9354 reload_cmds='$CC -r -o $output$reload_objs'
9358 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9359 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9362 runpath_var='LD_RUN_PATH'
9363 hardcode_shlibpath_var=no
9367 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9368 hardcode_shlibpath_var=no
9369 export_dynamic_flag_spec='-Bexport'
9373 if test -d /usr/nec; then
9374 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9375 hardcode_shlibpath_var=no
9376 runpath_var=LD_RUN_PATH
9377 hardcode_runpath_var=yes
9382 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9383 no_undefined_flag='${wl}-z,text'
9384 archive_cmds_need_lc=no
9385 hardcode_shlibpath_var=no
9386 runpath_var='LD_RUN_PATH'
9388 if test "$GCC" = yes; then
9389 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9390 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9392 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9393 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9397 sysv5* | sco3.2v5* | sco5v6*)
9398 # Note: We can NOT use -z defs as we might desire, because we do not
9399 # link with -lc, and that would cause any symbols used from libc to
9400 # always be unresolved, which means just about no library would
9401 # ever link correctly. If we're not using GNU ld we use -z text
9402 # though, which does catch some bad symbols but isn't as heavy-handed
9404 no_undefined_flag='${wl}-z,text'
9405 allow_undefined_flag='${wl}-z,nodefs'
9406 archive_cmds_need_lc=no
9407 hardcode_shlibpath_var=no
9408 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9409 hardcode_libdir_separator=':'
9410 link_all_deplibs=yes
9411 export_dynamic_flag_spec='${wl}-Bexport'
9412 runpath_var='LD_RUN_PATH'
9414 if test "$GCC" = yes; then
9415 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9416 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9418 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9419 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9424 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9425 hardcode_libdir_flag_spec='-L$libdir'
9426 hardcode_shlibpath_var=no
9434 if test x$host_vendor = xsni; then
9436 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9437 export_dynamic_flag_spec='${wl}-Blargedynsym'
9443 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9444 $as_echo "$ld_shlibs" >&6; }
9445 test "$ld_shlibs" = no && can_build_shared=no
9447 with_gnu_ld=$with_gnu_ld
9464 # Do we need to explicitly link libc?
9466 case "x$archive_cmds_need_lc" in
9468 # Assume -lc should be added
9469 archive_cmds_need_lc=yes
9471 if test "$enable_shared" = yes && test "$GCC" = yes; then
9472 case $archive_cmds in
9474 # FIXME: we may have to deal with multi-command sequences.
9477 # Test whether the compiler implicitly links with -lc since on some
9478 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9479 # to ld, don't add -lc before -lgcc.
9480 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9481 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9483 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9486 (eval $ac_compile) 2>&5
9488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489 (exit $ac_status); } 2>conftest.err; then
9492 libobjs=conftest.$ac_objext
9494 wl=$lt_prog_compiler_wl
9495 pic_flag=$lt_prog_compiler_pic
9501 lt_save_allow_undefined_flag=$allow_undefined_flag
9502 allow_undefined_flag=
9503 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9504 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }
9509 archive_cmds_need_lc=no
9511 archive_cmds_need_lc=yes
9513 allow_undefined_flag=$lt_save_allow_undefined_flag
9515 cat conftest.err 1>&5
9518 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9519 $as_echo "$archive_cmds_need_lc" >&6; }
9682 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9683 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9685 if test "$GCC" = yes; then
9687 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9688 *) lt_awk_arg="/^libraries:/" ;;
9690 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9691 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9692 # if the path contains ";" then we assume it to be the separator
9693 # otherwise default to the standard path separator (i.e. ":") - it is
9694 # assumed that no part of a normal pathname contains ";" but that should
9695 # okay in the real world where ";" in dirpaths is itself problematic.
9696 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9698 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9700 # Ok, now we have the path, separated by spaces, we can step through it
9701 # and add multilib dir if necessary.
9702 lt_tmp_lt_search_path_spec=
9703 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9704 for lt_sys_path in $lt_search_path_spec; do
9705 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9706 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9708 test -d "$lt_sys_path" && \
9709 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9712 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9713 BEGIN {RS=" "; FS="/|\n";} {
9716 for (lt_i = NF; lt_i > 0; lt_i--) {
9717 if ($lt_i != "" && $lt_i != ".") {
9718 if ($lt_i == "..") {
9721 if (lt_count == 0) {
9722 lt_foo="/" $lt_i lt_foo;
9729 if (lt_foo != "") { lt_freq[lt_foo]++; }
9730 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9732 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9734 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9737 libname_spec='lib$name'
9745 shlibpath_overrides_runpath=unknown
9747 dynamic_linker="$host_os ld.so"
9748 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9749 need_lib_prefix=unknown
9750 hardcode_into_libs=no
9752 # when you set need_version to no, make sure it does not cause -set_version
9753 # flags to be left without arguments
9754 need_version=unknown
9759 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9760 shlibpath_var=LIBPATH
9762 # AIX 3 has no versioning support, so we append a major version to the name.
9763 soname_spec='${libname}${release}${shared_ext}$major'
9770 hardcode_into_libs=yes
9771 if test "$host_cpu" = ia64; then
9772 # AIX 5 supports IA64
9773 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9774 shlibpath_var=LD_LIBRARY_PATH
9776 # With GCC up to 2.95.x, collect2 would create an import file
9777 # for dependence libraries. The import file would start with
9778 # the line `#! .'. This would cause the generated library to
9779 # depend on `.', always an invalid library. This was fixed in
9780 # development snapshots of GCC prior to 3.0.
9782 aix4 | aix4.[01] | aix4.[01].*)
9783 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9785 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9792 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9793 # soname into executable. Probably we can add versioning support to
9794 # collect2, so additional links can be useful in future.
9795 if test "$aix_use_runtimelinking" = yes; then
9796 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9797 # instead of lib<name>.a to let people know that these are not
9798 # typical AIX shared libraries.
9799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9801 # We preserve .a as extension for shared libraries through AIX4.2
9802 # and later when we are not doing run time linking.
9803 library_names_spec='${libname}${release}.a $libname.a'
9804 soname_spec='${libname}${release}${shared_ext}$major'
9806 shlibpath_var=LIBPATH
9813 # Since July 2007 AmigaOS4 officially supports .so libraries.
9814 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9818 library_names_spec='$libname.ixlibrary $libname.a'
9819 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9820 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'
9826 library_names_spec='${libname}${shared_ext}'
9827 dynamic_linker="$host_os ld.so"
9828 shlibpath_var=LIBRARY_PATH
9834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9835 soname_spec='${libname}${release}${shared_ext}$major'
9836 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9837 shlibpath_var=LD_LIBRARY_PATH
9838 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9839 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9840 # the default ld.so.conf also contains /usr/contrib/lib and
9841 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9842 # libtool to hard-code these into programs
9845 cygwin* | mingw* | pw32* | cegcc*)
9846 version_type=windows
9851 case $GCC,$host_os in
9852 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9853 library_names_spec='$libname.dll.a'
9854 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9855 postinstall_cmds='base_file=`basename \${file}`~
9856 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9857 dldir=$destdir/`dirname \$dlpath`~
9858 test -d \$dldir || mkdir -p \$dldir~
9859 $install_prog $dir/$dlname \$dldir/$dlname~
9860 chmod a+x \$dldir/$dlname~
9861 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9862 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9864 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9865 dlpath=$dir/\$dldll~
9867 shlibpath_overrides_runpath=yes
9871 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9872 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9873 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9876 # MinGW DLLs use traditional 'lib' prefix
9877 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9878 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9879 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9880 # It is most probably a Windows format PATH printed by
9881 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9882 # path with ; separators, and with drive letters. We can handle the
9883 # drive letters (cygwin fileutils understands them), so leave them,
9884 # especially as we might pass files found there to a mingw objdump,
9885 # which wouldn't understand a cygwinified path. Ahh.
9886 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9888 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9892 # pw32 DLLs use 'pw' prefix rather than 'lib'
9893 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9899 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9902 dynamic_linker='Win32 ld.exe'
9903 # FIXME: first we should search . and the directory the executable is in
9907 darwin* | rhapsody*)
9908 dynamic_linker="$host_os dyld"
9912 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9913 soname_spec='${libname}${release}${major}$shared_ext'
9914 shlibpath_overrides_runpath=yes
9915 shlibpath_var=DYLD_LIBRARY_PATH
9916 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9918 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9919 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9927 soname_spec='${libname}${release}${shared_ext}$major'
9928 shlibpath_var=LD_LIBRARY_PATH
9935 freebsd* | dragonfly*)
9936 # DragonFly does not have aout. When/if they implement a new
9937 # versioning mechanism, adjust this.
9938 if test -x /usr/bin/objformat; then
9939 objformat=`/usr/bin/objformat`
9942 freebsd[123]*) objformat=aout ;;
9946 version_type=freebsd-$objformat
9947 case $version_type in
9949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9954 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9958 shlibpath_var=LD_LIBRARY_PATH
9961 shlibpath_overrides_runpath=yes
9963 freebsd3.[01]* | freebsdelf3.[01]*)
9964 shlibpath_overrides_runpath=yes
9965 hardcode_into_libs=yes
9967 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9968 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9969 shlibpath_overrides_runpath=no
9970 hardcode_into_libs=yes
9972 *) # from 4.6 on, and DragonFly
9973 shlibpath_overrides_runpath=yes
9974 hardcode_into_libs=yes
9983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9984 soname_spec='${libname}${release}${shared_ext}$major'
9985 shlibpath_var=LD_LIBRARY_PATH
9986 hardcode_into_libs=yes
9989 hpux9* | hpux10* | hpux11*)
9990 # Give a soname corresponding to the major version so that dld.sl refuses to
9991 # link against other versions.
9998 hardcode_into_libs=yes
9999 dynamic_linker="$host_os dld.so"
10000 shlibpath_var=LD_LIBRARY_PATH
10001 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10003 soname_spec='${libname}${release}${shared_ext}$major'
10004 if test "X$HPUX_IA64_MODE" = X32; then
10005 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10007 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10009 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10013 hardcode_into_libs=yes
10014 dynamic_linker="$host_os dld.sl"
10015 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10016 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10018 soname_spec='${libname}${release}${shared_ext}$major'
10019 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10020 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10024 dynamic_linker="$host_os dld.sl"
10025 shlibpath_var=SHLIB_PATH
10026 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10028 soname_spec='${libname}${release}${shared_ext}$major'
10031 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10032 postinstall_cmds='chmod 555 $lib'
10039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10040 soname_spec='${libname}${release}${shared_ext}$major'
10041 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10042 shlibpath_var=LD_LIBRARY_PATH
10043 shlibpath_overrides_runpath=no
10044 hardcode_into_libs=yes
10047 irix5* | irix6* | nonstopux*)
10049 nonstopux*) version_type=nonstopux ;;
10051 if test "$lt_cv_prog_gnu_ld" = yes; then
10059 soname_spec='${libname}${release}${shared_ext}$major'
10060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10062 irix5* | nonstopux*)
10063 libsuff= shlibsuff=
10066 case $LD in # libtool.m4 will add one of these switches to LD
10067 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10068 libsuff= shlibsuff= libmagic=32-bit;;
10069 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10070 libsuff=32 shlibsuff=N32 libmagic=N32;;
10071 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10072 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10073 *) libsuff= shlibsuff= libmagic=never-match;;
10077 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10078 shlibpath_overrides_runpath=no
10079 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10080 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10081 hardcode_into_libs=yes
10084 # No shared lib support for Linux oldld, aout, or coff.
10085 linux*oldld* | linux*aout* | linux*coff*)
10089 # This must be Linux ELF.
10090 linux* | k*bsd*-gnu)
10094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10095 soname_spec='${libname}${release}${shared_ext}$major'
10096 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10097 shlibpath_var=LD_LIBRARY_PATH
10098 shlibpath_overrides_runpath=no
10099 # Some binutils ld are patched to set DT_RUNPATH
10100 save_LDFLAGS=$LDFLAGS
10101 save_libdir=$libdir
10102 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10103 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10104 cat >conftest.$ac_ext <<_ACEOF
10107 cat confdefs.h >>conftest.$ac_ext
10108 cat >>conftest.$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10119 rm -f conftest.$ac_objext conftest$ac_exeext
10120 if { (ac_try="$ac_link"
10121 case "(($ac_try" in
10122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10123 *) ac_try_echo=$ac_try;;
10125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10126 $as_echo "$ac_try_echo") >&5
10127 (eval "$ac_link") 2>conftest.er1
10129 grep -v '^ *+' conftest.er1 >conftest.err
10131 cat conftest.err >&5
10132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } && {
10134 test -z "$ac_c_werror_flag" ||
10135 test ! -s conftest.err
10136 } && test -s conftest$ac_exeext && {
10137 test "$cross_compiling" = yes ||
10138 $as_test_x conftest$ac_exeext
10140 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10141 shlibpath_overrides_runpath=yes
10145 $as_echo "$as_me: failed program was:" >&5
10146 sed 's/^/| /' conftest.$ac_ext >&5
10151 rm -rf conftest.dSYM
10152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10153 conftest$ac_exeext conftest.$ac_ext
10154 LDFLAGS=$save_LDFLAGS
10155 libdir=$save_libdir
10157 # This implies no fast_install, which is unacceptable.
10158 # Some rework will be needed to allow for fast_install
10159 # before this can be enabled.
10160 hardcode_into_libs=yes
10162 # Append ld.so.conf contents to the search path
10163 if test -f /etc/ld.so.conf; then
10164 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10165 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10168 # We used to test for /lib/ld.so.1 and disable shared libraries on
10169 # powerpc, because MkLinux only supported shared libraries with the
10170 # GNU dynamic linker. Since this was broken with cross compilers,
10171 # most powerpc-linux boxes support dynamic linking these days and
10172 # people can always --disable-shared, the test was removed, and we
10173 # assume the GNU/Linux dynamic linker is in use.
10174 dynamic_linker='GNU/Linux ld.so'
10181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10182 soname_spec='${libname}${release}${shared_ext}$major'
10183 shlibpath_var=LD_LIBRARY_PATH
10184 shlibpath_overrides_runpath=no
10185 hardcode_into_libs=yes
10186 dynamic_linker='NetBSD ld.elf_so'
10193 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10195 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10196 dynamic_linker='NetBSD (a.out) ld.so'
10198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10199 soname_spec='${libname}${release}${shared_ext}$major'
10200 dynamic_linker='NetBSD ld.elf_so'
10202 shlibpath_var=LD_LIBRARY_PATH
10203 shlibpath_overrides_runpath=yes
10204 hardcode_into_libs=yes
10209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10210 shlibpath_var=LD_LIBRARY_PATH
10211 shlibpath_overrides_runpath=yes
10218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219 soname_spec='${libname}${release}${shared_ext}$major'
10220 shlibpath_var=LD_LIBRARY_PATH
10221 shlibpath_overrides_runpath=no
10222 hardcode_into_libs=yes
10223 dynamic_linker='ldqnx.so'
10228 sys_lib_dlsearch_path_spec="/usr/lib"
10230 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10232 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10233 *) need_version=no ;;
10235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10236 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10237 shlibpath_var=LD_LIBRARY_PATH
10238 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10240 openbsd2.[89] | openbsd2.[89].*)
10241 shlibpath_overrides_runpath=no
10244 shlibpath_overrides_runpath=yes
10248 shlibpath_overrides_runpath=yes
10253 libname_spec='$name'
10256 library_names_spec='$libname${shared_ext} $libname.a'
10257 dynamic_linker='OS/2 ld.exe'
10258 shlibpath_var=LIBPATH
10261 osf3* | osf4* | osf5*)
10265 soname_spec='${libname}${release}${shared_ext}$major'
10266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10267 shlibpath_var=LD_LIBRARY_PATH
10268 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10269 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10281 soname_spec='${libname}${release}${shared_ext}$major'
10282 shlibpath_var=LD_LIBRARY_PATH
10283 shlibpath_overrides_runpath=yes
10284 hardcode_into_libs=yes
10285 # ldd complains unless libraries are executable
10286 postinstall_cmds='chmod +x $lib'
10291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10292 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10293 shlibpath_var=LD_LIBRARY_PATH
10294 shlibpath_overrides_runpath=yes
10295 if test "$with_gnu_ld" = yes; then
10303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10304 soname_spec='${libname}${release}${shared_ext}$major'
10305 shlibpath_var=LD_LIBRARY_PATH
10306 case $host_vendor in
10308 shlibpath_overrides_runpath=no
10310 runpath_var=LD_RUN_PATH
10318 shlibpath_overrides_runpath=no
10319 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10325 if test -d /usr/nec ;then
10327 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10328 soname_spec='$libname${shared_ext}.$major'
10329 shlibpath_var=LD_LIBRARY_PATH
10333 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10334 version_type=freebsd-elf
10337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10338 soname_spec='${libname}${release}${shared_ext}$major'
10339 shlibpath_var=LD_LIBRARY_PATH
10340 shlibpath_overrides_runpath=yes
10341 hardcode_into_libs=yes
10342 if test "$with_gnu_ld" = yes; then
10343 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10345 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10348 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10352 sys_lib_dlsearch_path_spec='/usr/lib'
10356 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 shlibpath_var=LD_LIBRARY_PATH
10362 shlibpath_overrides_runpath=no
10363 hardcode_into_libs=yes
10368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10369 soname_spec='${libname}${release}${shared_ext}$major'
10370 shlibpath_var=LD_LIBRARY_PATH
10377 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10378 $as_echo "$dynamic_linker" >&6; }
10379 test "$dynamic_linker" = no && can_build_shared=no
10381 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10382 if test "$GCC" = yes; then
10383 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10386 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10387 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10389 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10390 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10479 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10480 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10482 if test -n "$hardcode_libdir_flag_spec" ||
10483 test -n "$runpath_var" ||
10484 test "X$hardcode_automatic" = "Xyes" ; then
10486 # We can hardcode non-existent directories.
10487 if test "$hardcode_direct" != no &&
10488 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10489 # have to relink, otherwise we might link with an installed library
10490 # when we should be linking with a yet-to-be-installed one
10491 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10492 test "$hardcode_minus_L" != no; then
10493 # Linking always hardcodes the temporary library directory.
10494 hardcode_action=relink
10496 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10497 hardcode_action=immediate
10500 # We cannot hardcode anything, or else we can only hardcode existing
10502 hardcode_action=unsupported
10504 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10505 $as_echo "$hardcode_action" >&6; }
10507 if test "$hardcode_action" = relink ||
10508 test "$inherit_rpath" = yes; then
10509 # Fast installation is not supported
10510 enable_fast_install=no
10511 elif test "$shlibpath_overrides_runpath" = yes ||
10512 test "$enable_shared" = no; then
10513 # Fast installation is not necessary
10514 enable_fast_install=needless
10522 if test "x$enable_dlopen" != xyes; then
10523 enable_dlopen=unknown
10524 enable_dlopen_self=unknown
10525 enable_dlopen_self_static=unknown
10532 lt_cv_dlopen="load_add_on"
10534 lt_cv_dlopen_self=yes
10537 mingw* | pw32* | cegcc*)
10538 lt_cv_dlopen="LoadLibrary"
10543 lt_cv_dlopen="dlopen"
10548 # if libdl is installed we need to link against it
10549 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10550 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10551 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10552 $as_echo_n "(cached) " >&6
10554 ac_check_lib_save_LIBS=$LIBS
10556 cat >conftest.$ac_ext <<_ACEOF
10559 cat confdefs.h >>conftest.$ac_ext
10560 cat >>conftest.$ac_ext <<_ACEOF
10561 /* end confdefs.h. */
10563 /* Override any GCC internal prototype to avoid an error.
10564 Use char because int might match the return type of a GCC
10565 builtin and then its argument prototype would still apply. */
10578 rm -f conftest.$ac_objext conftest$ac_exeext
10579 if { (ac_try="$ac_link"
10580 case "(($ac_try" in
10581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10582 *) ac_try_echo=$ac_try;;
10584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10585 $as_echo "$ac_try_echo") >&5
10586 (eval "$ac_link") 2>conftest.er1
10588 grep -v '^ *+' conftest.er1 >conftest.err
10590 cat conftest.err >&5
10591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); } && {
10593 test -z "$ac_c_werror_flag" ||
10594 test ! -s conftest.err
10595 } && test -s conftest$ac_exeext && {
10596 test "$cross_compiling" = yes ||
10597 $as_test_x conftest$ac_exeext
10599 ac_cv_lib_dl_dlopen=yes
10601 $as_echo "$as_me: failed program was:" >&5
10602 sed 's/^/| /' conftest.$ac_ext >&5
10604 ac_cv_lib_dl_dlopen=no
10607 rm -rf conftest.dSYM
10608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10609 conftest$ac_exeext conftest.$ac_ext
10610 LIBS=$ac_check_lib_save_LIBS
10612 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10613 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10614 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10615 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10618 lt_cv_dlopen="dyld"
10620 lt_cv_dlopen_self=yes
10627 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10628 $as_echo_n "checking for shl_load... " >&6; }
10629 if test "${ac_cv_func_shl_load+set}" = set; then
10630 $as_echo_n "(cached) " >&6
10632 cat >conftest.$ac_ext <<_ACEOF
10635 cat confdefs.h >>conftest.$ac_ext
10636 cat >>conftest.$ac_ext <<_ACEOF
10637 /* end confdefs.h. */
10638 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10640 #define shl_load innocuous_shl_load
10642 /* System header to define __stub macros and hopefully few prototypes,
10643 which can conflict with char shl_load (); below.
10644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10645 <limits.h> exists even on freestanding compilers. */
10648 # include <limits.h>
10650 # include <assert.h>
10655 /* Override any GCC internal prototype to avoid an error.
10656 Use char because int might match the return type of a GCC
10657 builtin and then its argument prototype would still apply. */
10662 /* The GNU C library defines this for functions which it implements
10663 to always fail with ENOSYS. Some functions are actually named
10664 something starting with __ and the normal name is an alias. */
10665 #if defined __stub_shl_load || defined __stub___shl_load
10672 return shl_load ();
10677 rm -f conftest.$ac_objext conftest$ac_exeext
10678 if { (ac_try="$ac_link"
10679 case "(($ac_try" in
10680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10681 *) ac_try_echo=$ac_try;;
10683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10684 $as_echo "$ac_try_echo") >&5
10685 (eval "$ac_link") 2>conftest.er1
10687 grep -v '^ *+' conftest.er1 >conftest.err
10689 cat conftest.err >&5
10690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); } && {
10692 test -z "$ac_c_werror_flag" ||
10693 test ! -s conftest.err
10694 } && test -s conftest$ac_exeext && {
10695 test "$cross_compiling" = yes ||
10696 $as_test_x conftest$ac_exeext
10698 ac_cv_func_shl_load=yes
10700 $as_echo "$as_me: failed program was:" >&5
10701 sed 's/^/| /' conftest.$ac_ext >&5
10703 ac_cv_func_shl_load=no
10706 rm -rf conftest.dSYM
10707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10708 conftest$ac_exeext conftest.$ac_ext
10710 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10711 $as_echo "$ac_cv_func_shl_load" >&6; }
10712 if test "x$ac_cv_func_shl_load" = x""yes; then
10713 lt_cv_dlopen="shl_load"
10715 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10716 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10717 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10718 $as_echo_n "(cached) " >&6
10720 ac_check_lib_save_LIBS=$LIBS
10722 cat >conftest.$ac_ext <<_ACEOF
10725 cat confdefs.h >>conftest.$ac_ext
10726 cat >>conftest.$ac_ext <<_ACEOF
10727 /* end confdefs.h. */
10729 /* Override any GCC internal prototype to avoid an error.
10730 Use char because int might match the return type of a GCC
10731 builtin and then its argument prototype would still apply. */
10739 return shl_load ();
10744 rm -f conftest.$ac_objext conftest$ac_exeext
10745 if { (ac_try="$ac_link"
10746 case "(($ac_try" in
10747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10748 *) ac_try_echo=$ac_try;;
10750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10751 $as_echo "$ac_try_echo") >&5
10752 (eval "$ac_link") 2>conftest.er1
10754 grep -v '^ *+' conftest.er1 >conftest.err
10756 cat conftest.err >&5
10757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } && {
10759 test -z "$ac_c_werror_flag" ||
10760 test ! -s conftest.err
10761 } && test -s conftest$ac_exeext && {
10762 test "$cross_compiling" = yes ||
10763 $as_test_x conftest$ac_exeext
10765 ac_cv_lib_dld_shl_load=yes
10767 $as_echo "$as_me: failed program was:" >&5
10768 sed 's/^/| /' conftest.$ac_ext >&5
10770 ac_cv_lib_dld_shl_load=no
10773 rm -rf conftest.dSYM
10774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10779 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10780 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10781 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10783 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10784 $as_echo_n "checking for dlopen... " >&6; }
10785 if test "${ac_cv_func_dlopen+set}" = set; then
10786 $as_echo_n "(cached) " >&6
10788 cat >conftest.$ac_ext <<_ACEOF
10791 cat confdefs.h >>conftest.$ac_ext
10792 cat >>conftest.$ac_ext <<_ACEOF
10793 /* end confdefs.h. */
10794 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10796 #define dlopen innocuous_dlopen
10798 /* System header to define __stub macros and hopefully few prototypes,
10799 which can conflict with char dlopen (); below.
10800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10801 <limits.h> exists even on freestanding compilers. */
10804 # include <limits.h>
10806 # include <assert.h>
10811 /* Override any GCC internal prototype to avoid an error.
10812 Use char because int might match the return type of a GCC
10813 builtin and then its argument prototype would still apply. */
10818 /* The GNU C library defines this for functions which it implements
10819 to always fail with ENOSYS. Some functions are actually named
10820 something starting with __ and the normal name is an alias. */
10821 #if defined __stub_dlopen || defined __stub___dlopen
10833 rm -f conftest.$ac_objext conftest$ac_exeext
10834 if { (ac_try="$ac_link"
10835 case "(($ac_try" in
10836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10837 *) ac_try_echo=$ac_try;;
10839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10840 $as_echo "$ac_try_echo") >&5
10841 (eval "$ac_link") 2>conftest.er1
10843 grep -v '^ *+' conftest.er1 >conftest.err
10845 cat conftest.err >&5
10846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); } && {
10848 test -z "$ac_c_werror_flag" ||
10849 test ! -s conftest.err
10850 } && test -s conftest$ac_exeext && {
10851 test "$cross_compiling" = yes ||
10852 $as_test_x conftest$ac_exeext
10854 ac_cv_func_dlopen=yes
10856 $as_echo "$as_me: failed program was:" >&5
10857 sed 's/^/| /' conftest.$ac_ext >&5
10859 ac_cv_func_dlopen=no
10862 rm -rf conftest.dSYM
10863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10864 conftest$ac_exeext conftest.$ac_ext
10866 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10867 $as_echo "$ac_cv_func_dlopen" >&6; }
10868 if test "x$ac_cv_func_dlopen" = x""yes; then
10869 lt_cv_dlopen="dlopen"
10871 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10872 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10873 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10874 $as_echo_n "(cached) " >&6
10876 ac_check_lib_save_LIBS=$LIBS
10878 cat >conftest.$ac_ext <<_ACEOF
10881 cat confdefs.h >>conftest.$ac_ext
10882 cat >>conftest.$ac_ext <<_ACEOF
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10900 rm -f conftest.$ac_objext conftest$ac_exeext
10901 if { (ac_try="$ac_link"
10902 case "(($ac_try" in
10903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10904 *) ac_try_echo=$ac_try;;
10906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10907 $as_echo "$ac_try_echo") >&5
10908 (eval "$ac_link") 2>conftest.er1
10910 grep -v '^ *+' conftest.er1 >conftest.err
10912 cat conftest.err >&5
10913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); } && {
10915 test -z "$ac_c_werror_flag" ||
10916 test ! -s conftest.err
10917 } && test -s conftest$ac_exeext && {
10918 test "$cross_compiling" = yes ||
10919 $as_test_x conftest$ac_exeext
10921 ac_cv_lib_dl_dlopen=yes
10923 $as_echo "$as_me: failed program was:" >&5
10924 sed 's/^/| /' conftest.$ac_ext >&5
10926 ac_cv_lib_dl_dlopen=no
10929 rm -rf conftest.dSYM
10930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LIBS=$ac_check_lib_save_LIBS
10934 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10935 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10936 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10937 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10939 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10940 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10941 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10942 $as_echo_n "(cached) " >&6
10944 ac_check_lib_save_LIBS=$LIBS
10945 LIBS="-lsvld $LIBS"
10946 cat >conftest.$ac_ext <<_ACEOF
10949 cat confdefs.h >>conftest.$ac_ext
10950 cat >>conftest.$ac_ext <<_ACEOF
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10968 rm -f conftest.$ac_objext conftest$ac_exeext
10969 if { (ac_try="$ac_link"
10970 case "(($ac_try" in
10971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10972 *) ac_try_echo=$ac_try;;
10974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10975 $as_echo "$ac_try_echo") >&5
10976 (eval "$ac_link") 2>conftest.er1
10978 grep -v '^ *+' conftest.er1 >conftest.err
10980 cat conftest.err >&5
10981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); } && {
10983 test -z "$ac_c_werror_flag" ||
10984 test ! -s conftest.err
10985 } && test -s conftest$ac_exeext && {
10986 test "$cross_compiling" = yes ||
10987 $as_test_x conftest$ac_exeext
10989 ac_cv_lib_svld_dlopen=yes
10991 $as_echo "$as_me: failed program was:" >&5
10992 sed 's/^/| /' conftest.$ac_ext >&5
10994 ac_cv_lib_svld_dlopen=no
10997 rm -rf conftest.dSYM
10998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10999 conftest$ac_exeext conftest.$ac_ext
11000 LIBS=$ac_check_lib_save_LIBS
11002 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11003 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11004 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11005 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11007 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11008 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11009 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11010 $as_echo_n "(cached) " >&6
11012 ac_check_lib_save_LIBS=$LIBS
11014 cat >conftest.$ac_ext <<_ACEOF
11017 cat confdefs.h >>conftest.$ac_ext
11018 cat >>conftest.$ac_ext <<_ACEOF
11019 /* end confdefs.h. */
11021 /* Override any GCC internal prototype to avoid an error.
11022 Use char because int might match the return type of a GCC
11023 builtin and then its argument prototype would still apply. */
11031 return dld_link ();
11036 rm -f conftest.$ac_objext conftest$ac_exeext
11037 if { (ac_try="$ac_link"
11038 case "(($ac_try" in
11039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11040 *) ac_try_echo=$ac_try;;
11042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11043 $as_echo "$ac_try_echo") >&5
11044 (eval "$ac_link") 2>conftest.er1
11046 grep -v '^ *+' conftest.er1 >conftest.err
11048 cat conftest.err >&5
11049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); } && {
11051 test -z "$ac_c_werror_flag" ||
11052 test ! -s conftest.err
11053 } && test -s conftest$ac_exeext && {
11054 test "$cross_compiling" = yes ||
11055 $as_test_x conftest$ac_exeext
11057 ac_cv_lib_dld_dld_link=yes
11059 $as_echo "$as_me: failed program was:" >&5
11060 sed 's/^/| /' conftest.$ac_ext >&5
11062 ac_cv_lib_dld_dld_link=no
11065 rm -rf conftest.dSYM
11066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11067 conftest$ac_exeext conftest.$ac_ext
11068 LIBS=$ac_check_lib_save_LIBS
11070 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11071 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11072 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11073 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11094 if test "x$lt_cv_dlopen" != xno; then
11100 case $lt_cv_dlopen in
11102 save_CPPFLAGS="$CPPFLAGS"
11103 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11105 save_LDFLAGS="$LDFLAGS"
11106 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11109 LIBS="$lt_cv_dlopen_libs $LIBS"
11111 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11112 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11113 if test "${lt_cv_dlopen_self+set}" = set; then
11114 $as_echo_n "(cached) " >&6
11116 if test "$cross_compiling" = yes; then :
11117 lt_cv_dlopen_self=cross
11119 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11120 lt_status=$lt_dlunknown
11121 cat > conftest.$ac_ext <<_LT_EOF
11122 #line 11122 "configure"
11123 #include "confdefs.h"
11132 # define LT_DLGLOBAL RTLD_GLOBAL
11135 # define LT_DLGLOBAL DL_GLOBAL
11137 # define LT_DLGLOBAL 0
11141 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11142 find out it does not work in some platform. */
11143 #ifndef LT_DLLAZY_OR_NOW
11145 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11148 # define LT_DLLAZY_OR_NOW DL_LAZY
11151 # define LT_DLLAZY_OR_NOW RTLD_NOW
11154 # define LT_DLLAZY_OR_NOW DL_NOW
11156 # define LT_DLLAZY_OR_NOW 0
11163 void fnord() { int i=42;}
11166 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11167 int status = $lt_dlunknown;
11171 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11172 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11173 /* dlclose (self); */
11181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11182 (eval $ac_link) 2>&5
11184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11186 (./conftest; exit; ) >&5 2>/dev/null
11188 case x$lt_status in
11189 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11190 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11191 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11194 # compilation failed
11195 lt_cv_dlopen_self=no
11202 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11203 $as_echo "$lt_cv_dlopen_self" >&6; }
11205 if test "x$lt_cv_dlopen_self" = xyes; then
11206 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11207 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11208 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11209 if test "${lt_cv_dlopen_self_static+set}" = set; then
11210 $as_echo_n "(cached) " >&6
11212 if test "$cross_compiling" = yes; then :
11213 lt_cv_dlopen_self_static=cross
11215 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11216 lt_status=$lt_dlunknown
11217 cat > conftest.$ac_ext <<_LT_EOF
11218 #line 11218 "configure"
11219 #include "confdefs.h"
11228 # define LT_DLGLOBAL RTLD_GLOBAL
11231 # define LT_DLGLOBAL DL_GLOBAL
11233 # define LT_DLGLOBAL 0
11237 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11238 find out it does not work in some platform. */
11239 #ifndef LT_DLLAZY_OR_NOW
11241 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11244 # define LT_DLLAZY_OR_NOW DL_LAZY
11247 # define LT_DLLAZY_OR_NOW RTLD_NOW
11250 # define LT_DLLAZY_OR_NOW DL_NOW
11252 # define LT_DLLAZY_OR_NOW 0
11259 void fnord() { int i=42;}
11262 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11263 int status = $lt_dlunknown;
11267 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11268 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11269 /* dlclose (self); */
11277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11278 (eval $ac_link) 2>&5
11280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11282 (./conftest; exit; ) >&5 2>/dev/null
11284 case x$lt_status in
11285 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11286 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11287 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11290 # compilation failed
11291 lt_cv_dlopen_self_static=no
11298 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11299 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11302 CPPFLAGS="$save_CPPFLAGS"
11303 LDFLAGS="$save_LDFLAGS"
11308 case $lt_cv_dlopen_self in
11309 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11310 *) enable_dlopen_self=unknown ;;
11313 case $lt_cv_dlopen_self_static in
11314 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11315 *) enable_dlopen_self_static=unknown ;;
11337 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11338 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11339 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11340 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11341 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11342 { $as_echo "$as_me:$LINENO: result: yes" >&5
11343 $as_echo "yes" >&6; }
11345 # FIXME - insert some real tests, host_os isn't really good enough
11348 if test -n "$STRIP" ; then
11349 striplib="$STRIP -x"
11350 old_striplib="$STRIP -S"
11351 { $as_echo "$as_me:$LINENO: result: yes" >&5
11352 $as_echo "yes" >&6; }
11354 { $as_echo "$as_me:$LINENO: result: no" >&5
11355 $as_echo "no" >&6; }
11359 { $as_echo "$as_me:$LINENO: result: no" >&5
11360 $as_echo "no" >&6; }
11376 # Report which library types will actually be built
11377 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11378 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11379 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11380 $as_echo "$can_build_shared" >&6; }
11382 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11383 $as_echo_n "checking whether to build shared libraries... " >&6; }
11384 test "$can_build_shared" = "no" && enable_shared=no
11386 # On AIX, shared libraries and static libraries use the same namespace, and
11387 # are all built from PIC.
11390 test "$enable_shared" = yes && enable_static=no
11391 if test -n "$RANLIB"; then
11392 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11393 postinstall_cmds='$RANLIB $lib'
11398 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11399 test "$enable_shared" = yes && enable_static=no
11403 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11404 $as_echo "$enable_shared" >&6; }
11406 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11407 $as_echo_n "checking whether to build static libraries... " >&6; }
11408 # Make sure either enable_shared or enable_static is yes.
11409 test "$enable_shared" = yes || enable_static=yes
11410 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11411 $as_echo "$enable_static" >&6; }
11418 ac_cpp='$CPP $CPPFLAGS'
11419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11437 ac_config_commands="$ac_config_commands libtool"
11442 # Only expand once:
11446 # AC_PROG_INSTALL will generate an install target so that users may
11447 # just type 'make install' to install the software.
11448 # Find a good install program. We prefer a C program (faster),
11449 # so one script is as good as another. But avoid the broken or
11450 # incompatible versions:
11451 # SysV /etc/install, /usr/sbin/install
11452 # SunOS /usr/etc/install
11453 # IRIX /sbin/install
11455 # AmigaOS /C/install, which installs bootblocks on floppy discs
11456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11459 # OS/2's system install, which has a completely different semantic
11460 # ./install, which can be erroneously created by make from ./install.sh.
11461 # Reject install programs that cannot install multiple files.
11462 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
11464 if test -z "$INSTALL"; then
11465 if test "${ac_cv_path_install+set}" = set; then
11466 $as_echo_n "(cached) " >&6
11468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11469 for as_dir in $PATH
11472 test -z "$as_dir" && as_dir=.
11473 # Account for people who put trailing slashes in PATH elements.
11475 ./ | .// | /cC/* | \
11476 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11477 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11480 # OSF1 and SCO ODT 3.0 have their own names for install.
11481 # Don't use installbsd from OSF since it installs stuff as root
11483 for ac_prog in ginstall scoinst install; do
11484 for ac_exec_ext in '' $ac_executable_extensions; do
11485 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11486 if test $ac_prog = install &&
11487 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11488 # AIX install. It has an incompatible calling convention.
11490 elif test $ac_prog = install &&
11491 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11492 # program-specific install script used by HP pwplus--don't use.
11495 rm -rf conftest.one conftest.two conftest.dir
11496 echo one > conftest.one
11497 echo two > conftest.two
11499 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11500 test -s conftest.one && test -s conftest.two &&
11501 test -s conftest.dir/conftest.one &&
11502 test -s conftest.dir/conftest.two
11504 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11517 rm -rf conftest.one conftest.two conftest.dir
11520 if test "${ac_cv_path_install+set}" = set; then
11521 INSTALL=$ac_cv_path_install
11523 # As a last resort, use the slow shell script. Don't cache a
11524 # value for INSTALL within a source directory, because that will
11525 # break other packages using the cache if that directory is
11526 # removed, or if the value is a relative name.
11527 INSTALL=$ac_install_sh
11530 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
11531 $as_echo "$INSTALL" >&6; }
11533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11534 # It thinks the first close brace ends the variable substitution.
11535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11542 # check for C++ preprocessor and compiler and the library compiler
11543 # (might change the compiler flags)
11545 # Determine a C compiler to use. If using the GNU C compiler, set
11546 # shell variable GCC to `yes'. If output variable CFLAGS was not
11547 # already set, set it to `-g -O2' for the GNU C compiler (`-O2' on
11548 # systems where GCC does not accept `-g'), or `-g' for other
11551 ac_cpp='$CPP $CPPFLAGS'
11552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11555 if test -n "$ac_tool_prefix"; then
11556 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11557 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11558 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11559 $as_echo_n "checking for $ac_word... " >&6; }
11560 if test "${ac_cv_prog_CC+set}" = set; then
11561 $as_echo_n "(cached) " >&6
11563 if test -n "$CC"; then
11564 ac_cv_prog_CC="$CC" # Let the user override the test.
11566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11567 for as_dir in $PATH
11570 test -z "$as_dir" && as_dir=.
11571 for ac_exec_ext in '' $ac_executable_extensions; do
11572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11573 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11574 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11584 if test -n "$CC"; then
11585 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11586 $as_echo "$CC" >&6; }
11588 { $as_echo "$as_me:$LINENO: result: no" >&5
11589 $as_echo "no" >&6; }
11594 if test -z "$ac_cv_prog_CC"; then
11596 # Extract the first word of "gcc", so it can be a program name with args.
11597 set dummy gcc; ac_word=$2
11598 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11599 $as_echo_n "checking for $ac_word... " >&6; }
11600 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11601 $as_echo_n "(cached) " >&6
11603 if test -n "$ac_ct_CC"; then
11604 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11607 for as_dir in $PATH
11610 test -z "$as_dir" && as_dir=.
11611 for ac_exec_ext in '' $ac_executable_extensions; do
11612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11613 ac_cv_prog_ac_ct_CC="gcc"
11614 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11623 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11624 if test -n "$ac_ct_CC"; then
11625 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11626 $as_echo "$ac_ct_CC" >&6; }
11628 { $as_echo "$as_me:$LINENO: result: no" >&5
11629 $as_echo "no" >&6; }
11632 if test "x$ac_ct_CC" = x; then
11635 case $cross_compiling:$ac_tool_warned in
11637 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11639 ac_tool_warned=yes ;;
11644 CC="$ac_cv_prog_CC"
11647 if test -z "$CC"; then
11648 if test -n "$ac_tool_prefix"; then
11649 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11650 set dummy ${ac_tool_prefix}cc; ac_word=$2
11651 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11652 $as_echo_n "checking for $ac_word... " >&6; }
11653 if test "${ac_cv_prog_CC+set}" = set; then
11654 $as_echo_n "(cached) " >&6
11656 if test -n "$CC"; then
11657 ac_cv_prog_CC="$CC" # Let the user override the test.
11659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11660 for as_dir in $PATH
11663 test -z "$as_dir" && as_dir=.
11664 for ac_exec_ext in '' $ac_executable_extensions; do
11665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11666 ac_cv_prog_CC="${ac_tool_prefix}cc"
11667 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11677 if test -n "$CC"; then
11678 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11679 $as_echo "$CC" >&6; }
11681 { $as_echo "$as_me:$LINENO: result: no" >&5
11682 $as_echo "no" >&6; }
11688 if test -z "$CC"; then
11689 # Extract the first word of "cc", so it can be a program name with args.
11690 set dummy cc; ac_word=$2
11691 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11692 $as_echo_n "checking for $ac_word... " >&6; }
11693 if test "${ac_cv_prog_CC+set}" = set; then
11694 $as_echo_n "(cached) " >&6
11696 if test -n "$CC"; then
11697 ac_cv_prog_CC="$CC" # Let the user override the test.
11699 ac_prog_rejected=no
11700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11701 for as_dir in $PATH
11704 test -z "$as_dir" && as_dir=.
11705 for ac_exec_ext in '' $ac_executable_extensions; do
11706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11708 ac_prog_rejected=yes
11712 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11719 if test $ac_prog_rejected = yes; then
11720 # We found a bogon in the path, so make sure we never use it.
11721 set dummy $ac_cv_prog_CC
11723 if test $# != 0; then
11724 # We chose a different compiler from the bogus one.
11725 # However, it has the same basename, so the bogon will be chosen
11726 # first if we set CC to just the basename; use the full file name.
11728 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11734 if test -n "$CC"; then
11735 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11736 $as_echo "$CC" >&6; }
11738 { $as_echo "$as_me:$LINENO: result: no" >&5
11739 $as_echo "no" >&6; }
11744 if test -z "$CC"; then
11745 if test -n "$ac_tool_prefix"; then
11746 for ac_prog in cl.exe
11748 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11749 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11750 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11751 $as_echo_n "checking for $ac_word... " >&6; }
11752 if test "${ac_cv_prog_CC+set}" = set; then
11753 $as_echo_n "(cached) " >&6
11755 if test -n "$CC"; then
11756 ac_cv_prog_CC="$CC" # Let the user override the test.
11758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11759 for as_dir in $PATH
11762 test -z "$as_dir" && as_dir=.
11763 for ac_exec_ext in '' $ac_executable_extensions; do
11764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11765 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11766 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11776 if test -n "$CC"; then
11777 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11778 $as_echo "$CC" >&6; }
11780 { $as_echo "$as_me:$LINENO: result: no" >&5
11781 $as_echo "no" >&6; }
11785 test -n "$CC" && break
11788 if test -z "$CC"; then
11790 for ac_prog in cl.exe
11792 # Extract the first word of "$ac_prog", so it can be a program name with args.
11793 set dummy $ac_prog; ac_word=$2
11794 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11795 $as_echo_n "checking for $ac_word... " >&6; }
11796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11797 $as_echo_n "(cached) " >&6
11799 if test -n "$ac_ct_CC"; then
11800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11803 for as_dir in $PATH
11806 test -z "$as_dir" && as_dir=.
11807 for ac_exec_ext in '' $ac_executable_extensions; do
11808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11809 ac_cv_prog_ac_ct_CC="$ac_prog"
11810 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11820 if test -n "$ac_ct_CC"; then
11821 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11822 $as_echo "$ac_ct_CC" >&6; }
11824 { $as_echo "$as_me:$LINENO: result: no" >&5
11825 $as_echo "no" >&6; }
11829 test -n "$ac_ct_CC" && break
11832 if test "x$ac_ct_CC" = x; then
11835 case $cross_compiling:$ac_tool_warned in
11837 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11839 ac_tool_warned=yes ;;
11848 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11850 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11851 See \`config.log' for more details." >&5
11852 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
11853 See \`config.log' for more details." >&2;}
11854 { (exit 1); exit 1; }; }; }
11856 # Provide some information about the compiler.
11857 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
11860 { (ac_try="$ac_compiler --version >&5"
11861 case "(($ac_try" in
11862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11863 *) ac_try_echo=$ac_try;;
11865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11866 $as_echo "$ac_try_echo") >&5
11867 (eval "$ac_compiler --version >&5") 2>&5
11869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }
11871 { (ac_try="$ac_compiler -v >&5"
11872 case "(($ac_try" in
11873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11874 *) ac_try_echo=$ac_try;;
11876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11877 $as_echo "$ac_try_echo") >&5
11878 (eval "$ac_compiler -v >&5") 2>&5
11880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); }
11882 { (ac_try="$ac_compiler -V >&5"
11883 case "(($ac_try" in
11884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11885 *) ac_try_echo=$ac_try;;
11887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11888 $as_echo "$ac_try_echo") >&5
11889 (eval "$ac_compiler -V >&5") 2>&5
11891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); }
11894 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11895 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11896 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11897 $as_echo_n "(cached) " >&6
11899 cat >conftest.$ac_ext <<_ACEOF
11902 cat confdefs.h >>conftest.$ac_ext
11903 cat >>conftest.$ac_ext <<_ACEOF
11904 /* end confdefs.h. */
11917 rm -f conftest.$ac_objext
11918 if { (ac_try="$ac_compile"
11919 case "(($ac_try" in
11920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11921 *) ac_try_echo=$ac_try;;
11923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11924 $as_echo "$ac_try_echo") >&5
11925 (eval "$ac_compile") 2>conftest.er1
11927 grep -v '^ *+' conftest.er1 >conftest.err
11929 cat conftest.err >&5
11930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); } && {
11932 test -z "$ac_c_werror_flag" ||
11933 test ! -s conftest.err
11934 } && test -s conftest.$ac_objext; then
11935 ac_compiler_gnu=yes
11937 $as_echo "$as_me: failed program was:" >&5
11938 sed 's/^/| /' conftest.$ac_ext >&5
11943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11944 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11947 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11948 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11949 if test $ac_compiler_gnu = yes; then
11954 ac_test_CFLAGS=${CFLAGS+set}
11955 ac_save_CFLAGS=$CFLAGS
11956 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11957 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11958 if test "${ac_cv_prog_cc_g+set}" = set; then
11959 $as_echo_n "(cached) " >&6
11961 ac_save_c_werror_flag=$ac_c_werror_flag
11962 ac_c_werror_flag=yes
11965 cat >conftest.$ac_ext <<_ACEOF
11968 cat confdefs.h >>conftest.$ac_ext
11969 cat >>conftest.$ac_ext <<_ACEOF
11970 /* end confdefs.h. */
11980 rm -f conftest.$ac_objext
11981 if { (ac_try="$ac_compile"
11982 case "(($ac_try" in
11983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11984 *) ac_try_echo=$ac_try;;
11986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11987 $as_echo "$ac_try_echo") >&5
11988 (eval "$ac_compile") 2>conftest.er1
11990 grep -v '^ *+' conftest.er1 >conftest.err
11992 cat conftest.err >&5
11993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); } && {
11995 test -z "$ac_c_werror_flag" ||
11996 test ! -s conftest.err
11997 } && test -s conftest.$ac_objext; then
11998 ac_cv_prog_cc_g=yes
12000 $as_echo "$as_me: failed program was:" >&5
12001 sed 's/^/| /' conftest.$ac_ext >&5
12004 cat >conftest.$ac_ext <<_ACEOF
12007 cat confdefs.h >>conftest.$ac_ext
12008 cat >>conftest.$ac_ext <<_ACEOF
12009 /* end confdefs.h. */
12019 rm -f conftest.$ac_objext
12020 if { (ac_try="$ac_compile"
12021 case "(($ac_try" in
12022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12023 *) ac_try_echo=$ac_try;;
12025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12026 $as_echo "$ac_try_echo") >&5
12027 (eval "$ac_compile") 2>conftest.er1
12029 grep -v '^ *+' conftest.er1 >conftest.err
12031 cat conftest.err >&5
12032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); } && {
12034 test -z "$ac_c_werror_flag" ||
12035 test ! -s conftest.err
12036 } && test -s conftest.$ac_objext; then
12039 $as_echo "$as_me: failed program was:" >&5
12040 sed 's/^/| /' conftest.$ac_ext >&5
12042 ac_c_werror_flag=$ac_save_c_werror_flag
12044 cat >conftest.$ac_ext <<_ACEOF
12047 cat confdefs.h >>conftest.$ac_ext
12048 cat >>conftest.$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12059 rm -f conftest.$ac_objext
12060 if { (ac_try="$ac_compile"
12061 case "(($ac_try" in
12062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12063 *) ac_try_echo=$ac_try;;
12065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12066 $as_echo "$ac_try_echo") >&5
12067 (eval "$ac_compile") 2>conftest.er1
12069 grep -v '^ *+' conftest.er1 >conftest.err
12071 cat conftest.err >&5
12072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); } && {
12074 test -z "$ac_c_werror_flag" ||
12075 test ! -s conftest.err
12076 } && test -s conftest.$ac_objext; then
12077 ac_cv_prog_cc_g=yes
12079 $as_echo "$as_me: failed program was:" >&5
12080 sed 's/^/| /' conftest.$ac_ext >&5
12085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12092 ac_c_werror_flag=$ac_save_c_werror_flag
12094 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12095 $as_echo "$ac_cv_prog_cc_g" >&6; }
12096 if test "$ac_test_CFLAGS" = set; then
12097 CFLAGS=$ac_save_CFLAGS
12098 elif test $ac_cv_prog_cc_g = yes; then
12099 if test "$GCC" = yes; then
12105 if test "$GCC" = yes; then
12111 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
12112 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12113 if test "${ac_cv_prog_cc_c89+set}" = set; then
12114 $as_echo_n "(cached) " >&6
12116 ac_cv_prog_cc_c89=no
12118 cat >conftest.$ac_ext <<_ACEOF
12121 cat confdefs.h >>conftest.$ac_ext
12122 cat >>conftest.$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12124 #include <stdarg.h>
12126 #include <sys/types.h>
12127 #include <sys/stat.h>
12128 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12129 struct buf { int x; };
12130 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12131 static char *e (p, i)
12137 static char *f (char * (*g) (char **, int), char **p, ...)
12142 s = g (p, va_arg (v,int));
12147 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12148 function prototypes and stuff, but not '\xHH' hex character constants.
12149 These don't provoke an error unfortunately, instead are silently treated
12150 as 'x'. The following induces an error, until -std is added to get
12151 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12152 array size at least. It's necessary to write '\x00'==0 to get something
12153 that's true only with -std. */
12154 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12156 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12157 inside strings and character constants. */
12159 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12161 int test (int i, double x);
12162 struct s1 {int (*f) (int a);};
12163 struct s2 {int (*f) (double a);};
12164 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12170 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12175 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12176 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12178 CC="$ac_save_CC $ac_arg"
12179 rm -f conftest.$ac_objext
12180 if { (ac_try="$ac_compile"
12181 case "(($ac_try" in
12182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12183 *) ac_try_echo=$ac_try;;
12185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12186 $as_echo "$ac_try_echo") >&5
12187 (eval "$ac_compile") 2>conftest.er1
12189 grep -v '^ *+' conftest.er1 >conftest.err
12191 cat conftest.err >&5
12192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); } && {
12194 test -z "$ac_c_werror_flag" ||
12195 test ! -s conftest.err
12196 } && test -s conftest.$ac_objext; then
12197 ac_cv_prog_cc_c89=$ac_arg
12199 $as_echo "$as_me: failed program was:" >&5
12200 sed 's/^/| /' conftest.$ac_ext >&5
12205 rm -f core conftest.err conftest.$ac_objext
12206 test "x$ac_cv_prog_cc_c89" != "xno" && break
12208 rm -f conftest.$ac_ext
12213 case "x$ac_cv_prog_cc_c89" in
12215 { $as_echo "$as_me:$LINENO: result: none needed" >&5
12216 $as_echo "none needed" >&6; } ;;
12218 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
12219 $as_echo "unsupported" >&6; } ;;
12221 CC="$CC $ac_cv_prog_cc_c89"
12222 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
12223 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12228 ac_cpp='$CPP $CPPFLAGS'
12229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12233 depcc="$CC" am_compiler_list=
12235 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12236 $as_echo_n "checking dependency style of $depcc... " >&6; }
12237 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
12238 $as_echo_n "(cached) " >&6
12240 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12241 # We make a subdir and do the tests there. Otherwise we can end up
12242 # making bogus files that we don't know about and never remove. For
12243 # instance it was reported that on HP-UX the gcc test will end up
12244 # making a dummy file named `D' -- because `-MD' means `put the output
12247 # Copy depcomp to subdir because otherwise we won't find it if we're
12248 # using a relative directory.
12249 cp "$am_depcomp" conftest.dir
12251 # We will build objects and dependencies in a subdirectory because
12252 # it helps to detect inapplicable dependency modes. For instance
12253 # both Tru64's cc and ICC support -MD to output dependencies as a
12254 # side effect of compilation, but ICC will put the dependencies in
12255 # the current directory while Tru64 will put them in the object
12259 am_cv_CC_dependencies_compiler_type=none
12260 if test "$am_compiler_list" = ""; then
12261 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12263 for depmode in $am_compiler_list; do
12264 # Setup a source with many dependencies, because some compilers
12265 # like to wrap large dependency lists on column 80 (with \), and
12266 # we should not choose a depcomp mode which is confused by this.
12268 # We need to recreate these files for each test, as the compiler may
12269 # overwrite some of them when testing with obscure command lines.
12270 # This happens at least with the AIX C compiler.
12272 for i in 1 2 3 4 5 6; do
12273 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12274 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12275 # Solaris 8's {/usr,}/bin/sh.
12276 touch sub/conftst$i.h
12278 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12282 # after this tag, mechanisms are not by side-effect, so they'll
12283 # only be used when explicitly requested
12284 if test "x$enable_dependency_tracking" = xyes; then
12292 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12293 # mode. It turns out that the SunPro C++ compiler does not properly
12294 # handle `-M -o', and we need to detect this.
12295 if depmode=$depmode \
12296 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12297 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12298 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12299 >/dev/null 2>conftest.err &&
12300 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12301 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12302 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12303 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12304 # icc doesn't choke on unknown options, it will just issue warnings
12305 # or remarks (even with -Werror). So we grep stderr for any message
12306 # that says an option was ignored or not supported.
12307 # When given -MP, icc 7.0 and 7.1 complain thusly:
12308 # icc: Command line warning: ignoring option '-M'; no argument required
12309 # The diagnosis changed in icc 8.0:
12310 # icc: Command line remark: option '-MP' not supported
12311 if (grep 'ignoring option' conftest.err ||
12312 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12313 am_cv_CC_dependencies_compiler_type=$depmode
12320 rm -rf conftest.dir
12322 am_cv_CC_dependencies_compiler_type=none
12326 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
12327 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12328 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12331 test "x$enable_dependency_tracking" != xno \
12332 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12333 am__fastdepCC_TRUE=
12334 am__fastdepCC_FALSE='#'
12336 am__fastdepCC_TRUE='#'
12337 am__fastdepCC_FALSE=
12341 # Set output variable CPP to a command that runs the C preprocessor.
12343 ac_cpp='$CPP $CPPFLAGS'
12344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12347 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12348 $as_echo_n "checking how to run the C preprocessor... " >&6; }
12349 # On Suns, sometimes $CPP names a directory.
12350 if test -n "$CPP" && test -d "$CPP"; then
12353 if test -z "$CPP"; then
12354 if test "${ac_cv_prog_CPP+set}" = set; then
12355 $as_echo_n "(cached) " >&6
12357 # Double quotes because CPP needs to be expanded
12358 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12360 ac_preproc_ok=false
12361 for ac_c_preproc_warn_flag in '' yes
12363 # Use a header file that comes with gcc, so configuring glibc
12364 # with a fresh cross-compiler works.
12365 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12366 # <limits.h> exists even on freestanding compilers.
12367 # On the NeXT, cc -E runs the code through the compiler's parser,
12368 # not just through cpp. "Syntax error" is here to catch this case.
12369 cat >conftest.$ac_ext <<_ACEOF
12372 cat confdefs.h >>conftest.$ac_ext
12373 cat >>conftest.$ac_ext <<_ACEOF
12374 /* end confdefs.h. */
12376 # include <limits.h>
12378 # include <assert.h>
12382 if { (ac_try="$ac_cpp conftest.$ac_ext"
12383 case "(($ac_try" in
12384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12385 *) ac_try_echo=$ac_try;;
12387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12388 $as_echo "$ac_try_echo") >&5
12389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12391 grep -v '^ *+' conftest.er1 >conftest.err
12393 cat conftest.err >&5
12394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); } >/dev/null && {
12396 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12397 test ! -s conftest.err
12401 $as_echo "$as_me: failed program was:" >&5
12402 sed 's/^/| /' conftest.$ac_ext >&5
12404 # Broken: fails on valid input.
12408 rm -f conftest.err conftest.$ac_ext
12410 # OK, works on sane cases. Now check whether nonexistent headers
12411 # can be detected and how.
12412 cat >conftest.$ac_ext <<_ACEOF
12415 cat confdefs.h >>conftest.$ac_ext
12416 cat >>conftest.$ac_ext <<_ACEOF
12417 /* end confdefs.h. */
12418 #include <ac_nonexistent.h>
12420 if { (ac_try="$ac_cpp conftest.$ac_ext"
12421 case "(($ac_try" in
12422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12423 *) ac_try_echo=$ac_try;;
12425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12426 $as_echo "$ac_try_echo") >&5
12427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12429 grep -v '^ *+' conftest.er1 >conftest.err
12431 cat conftest.err >&5
12432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); } >/dev/null && {
12434 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12435 test ! -s conftest.err
12437 # Broken: success on invalid input.
12440 $as_echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.$ac_ext >&5
12443 # Passes both tests.
12448 rm -f conftest.err conftest.$ac_ext
12451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12452 rm -f conftest.err conftest.$ac_ext
12453 if $ac_preproc_ok; then
12458 ac_cv_prog_CPP=$CPP
12461 CPP=$ac_cv_prog_CPP
12463 ac_cv_prog_CPP=$CPP
12465 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
12466 $as_echo "$CPP" >&6; }
12467 ac_preproc_ok=false
12468 for ac_c_preproc_warn_flag in '' yes
12470 # Use a header file that comes with gcc, so configuring glibc
12471 # with a fresh cross-compiler works.
12472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12473 # <limits.h> exists even on freestanding compilers.
12474 # On the NeXT, cc -E runs the code through the compiler's parser,
12475 # not just through cpp. "Syntax error" is here to catch this case.
12476 cat >conftest.$ac_ext <<_ACEOF
12479 cat confdefs.h >>conftest.$ac_ext
12480 cat >>conftest.$ac_ext <<_ACEOF
12481 /* end confdefs.h. */
12483 # include <limits.h>
12485 # include <assert.h>
12489 if { (ac_try="$ac_cpp conftest.$ac_ext"
12490 case "(($ac_try" in
12491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12492 *) ac_try_echo=$ac_try;;
12494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12495 $as_echo "$ac_try_echo") >&5
12496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12498 grep -v '^ *+' conftest.er1 >conftest.err
12500 cat conftest.err >&5
12501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } >/dev/null && {
12503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12504 test ! -s conftest.err
12508 $as_echo "$as_me: failed program was:" >&5
12509 sed 's/^/| /' conftest.$ac_ext >&5
12511 # Broken: fails on valid input.
12515 rm -f conftest.err conftest.$ac_ext
12517 # OK, works on sane cases. Now check whether nonexistent headers
12518 # can be detected and how.
12519 cat >conftest.$ac_ext <<_ACEOF
12522 cat confdefs.h >>conftest.$ac_ext
12523 cat >>conftest.$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12525 #include <ac_nonexistent.h>
12527 if { (ac_try="$ac_cpp conftest.$ac_ext"
12528 case "(($ac_try" in
12529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12530 *) ac_try_echo=$ac_try;;
12532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12533 $as_echo "$ac_try_echo") >&5
12534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12536 grep -v '^ *+' conftest.er1 >conftest.err
12538 cat conftest.err >&5
12539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); } >/dev/null && {
12541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12542 test ! -s conftest.err
12544 # Broken: success on invalid input.
12547 $as_echo "$as_me: failed program was:" >&5
12548 sed 's/^/| /' conftest.$ac_ext >&5
12550 # Passes both tests.
12555 rm -f conftest.err conftest.$ac_ext
12558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12559 rm -f conftest.err conftest.$ac_ext
12560 if $ac_preproc_ok; then
12563 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12565 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12566 See \`config.log' for more details." >&5
12567 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12568 See \`config.log' for more details." >&2;}
12569 { (exit 1); exit 1; }; }; }
12573 ac_cpp='$CPP $CPPFLAGS'
12574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12579 # Determine a C++ compiler to use. If output variable CXXFLAGS was not
12580 # already set, set it to `-g -O2' for the GNU C++ compiler (`-O2' on
12581 # systems where G++ does not accept `-g'), or `-g' for other
12584 ac_cpp='$CXXCPP $CPPFLAGS'
12585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12588 if test -z "$CXX"; then
12589 if test -n "$CCC"; then
12592 if test -n "$ac_tool_prefix"; then
12593 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12596 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12597 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12598 $as_echo_n "checking for $ac_word... " >&6; }
12599 if test "${ac_cv_prog_CXX+set}" = set; then
12600 $as_echo_n "(cached) " >&6
12602 if test -n "$CXX"; then
12603 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12606 for as_dir in $PATH
12609 test -z "$as_dir" && as_dir=.
12610 for ac_exec_ext in '' $ac_executable_extensions; do
12611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12612 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12613 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12622 CXX=$ac_cv_prog_CXX
12623 if test -n "$CXX"; then
12624 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
12625 $as_echo "$CXX" >&6; }
12627 { $as_echo "$as_me:$LINENO: result: no" >&5
12628 $as_echo "no" >&6; }
12632 test -n "$CXX" && break
12635 if test -z "$CXX"; then
12637 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12639 # Extract the first word of "$ac_prog", so it can be a program name with args.
12640 set dummy $ac_prog; ac_word=$2
12641 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12642 $as_echo_n "checking for $ac_word... " >&6; }
12643 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12644 $as_echo_n "(cached) " >&6
12646 if test -n "$ac_ct_CXX"; then
12647 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12650 for as_dir in $PATH
12653 test -z "$as_dir" && as_dir=.
12654 for ac_exec_ext in '' $ac_executable_extensions; do
12655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12656 ac_cv_prog_ac_ct_CXX="$ac_prog"
12657 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12666 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12667 if test -n "$ac_ct_CXX"; then
12668 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12669 $as_echo "$ac_ct_CXX" >&6; }
12671 { $as_echo "$as_me:$LINENO: result: no" >&5
12672 $as_echo "no" >&6; }
12676 test -n "$ac_ct_CXX" && break
12679 if test "x$ac_ct_CXX" = x; then
12682 case $cross_compiling:$ac_tool_warned in
12684 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12686 ac_tool_warned=yes ;;
12694 # Provide some information about the compiler.
12695 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
12698 { (ac_try="$ac_compiler --version >&5"
12699 case "(($ac_try" in
12700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12701 *) ac_try_echo=$ac_try;;
12703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12704 $as_echo "$ac_try_echo") >&5
12705 (eval "$ac_compiler --version >&5") 2>&5
12707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); }
12709 { (ac_try="$ac_compiler -v >&5"
12710 case "(($ac_try" in
12711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12712 *) ac_try_echo=$ac_try;;
12714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12715 $as_echo "$ac_try_echo") >&5
12716 (eval "$ac_compiler -v >&5") 2>&5
12718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); }
12720 { (ac_try="$ac_compiler -V >&5"
12721 case "(($ac_try" in
12722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12723 *) ac_try_echo=$ac_try;;
12725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12726 $as_echo "$ac_try_echo") >&5
12727 (eval "$ac_compiler -V >&5") 2>&5
12729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }
12732 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12733 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12734 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12735 $as_echo_n "(cached) " >&6
12737 cat >conftest.$ac_ext <<_ACEOF
12740 cat confdefs.h >>conftest.$ac_ext
12741 cat >>conftest.$ac_ext <<_ACEOF
12742 /* end confdefs.h. */
12755 rm -f conftest.$ac_objext
12756 if { (ac_try="$ac_compile"
12757 case "(($ac_try" in
12758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12759 *) ac_try_echo=$ac_try;;
12761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12762 $as_echo "$ac_try_echo") >&5
12763 (eval "$ac_compile") 2>conftest.er1
12765 grep -v '^ *+' conftest.er1 >conftest.err
12767 cat conftest.err >&5
12768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); } && {
12770 test -z "$ac_cxx_werror_flag" ||
12771 test ! -s conftest.err
12772 } && test -s conftest.$ac_objext; then
12773 ac_compiler_gnu=yes
12775 $as_echo "$as_me: failed program was:" >&5
12776 sed 's/^/| /' conftest.$ac_ext >&5
12781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12782 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12785 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12786 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12787 if test $ac_compiler_gnu = yes; then
12792 ac_test_CXXFLAGS=${CXXFLAGS+set}
12793 ac_save_CXXFLAGS=$CXXFLAGS
12794 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12795 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12796 if test "${ac_cv_prog_cxx_g+set}" = set; then
12797 $as_echo_n "(cached) " >&6
12799 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12800 ac_cxx_werror_flag=yes
12801 ac_cv_prog_cxx_g=no
12803 cat >conftest.$ac_ext <<_ACEOF
12806 cat confdefs.h >>conftest.$ac_ext
12807 cat >>conftest.$ac_ext <<_ACEOF
12808 /* end confdefs.h. */
12818 rm -f conftest.$ac_objext
12819 if { (ac_try="$ac_compile"
12820 case "(($ac_try" in
12821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12822 *) ac_try_echo=$ac_try;;
12824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12825 $as_echo "$ac_try_echo") >&5
12826 (eval "$ac_compile") 2>conftest.er1
12828 grep -v '^ *+' conftest.er1 >conftest.err
12830 cat conftest.err >&5
12831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); } && {
12833 test -z "$ac_cxx_werror_flag" ||
12834 test ! -s conftest.err
12835 } && test -s conftest.$ac_objext; then
12836 ac_cv_prog_cxx_g=yes
12838 $as_echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12842 cat >conftest.$ac_ext <<_ACEOF
12845 cat confdefs.h >>conftest.$ac_ext
12846 cat >>conftest.$ac_ext <<_ACEOF
12847 /* end confdefs.h. */
12857 rm -f conftest.$ac_objext
12858 if { (ac_try="$ac_compile"
12859 case "(($ac_try" in
12860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12861 *) ac_try_echo=$ac_try;;
12863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12864 $as_echo "$ac_try_echo") >&5
12865 (eval "$ac_compile") 2>conftest.er1
12867 grep -v '^ *+' conftest.er1 >conftest.err
12869 cat conftest.err >&5
12870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12871 (exit $ac_status); } && {
12872 test -z "$ac_cxx_werror_flag" ||
12873 test ! -s conftest.err
12874 } && test -s conftest.$ac_objext; then
12877 $as_echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.$ac_ext >&5
12880 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12882 cat >conftest.$ac_ext <<_ACEOF
12885 cat confdefs.h >>conftest.$ac_ext
12886 cat >>conftest.$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12897 rm -f conftest.$ac_objext
12898 if { (ac_try="$ac_compile"
12899 case "(($ac_try" in
12900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12901 *) ac_try_echo=$ac_try;;
12903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12904 $as_echo "$ac_try_echo") >&5
12905 (eval "$ac_compile") 2>conftest.er1
12907 grep -v '^ *+' conftest.er1 >conftest.err
12909 cat conftest.err >&5
12910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); } && {
12912 test -z "$ac_cxx_werror_flag" ||
12913 test ! -s conftest.err
12914 } && test -s conftest.$ac_objext; then
12915 ac_cv_prog_cxx_g=yes
12917 $as_echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.$ac_ext >&5
12923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12930 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12932 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12933 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12934 if test "$ac_test_CXXFLAGS" = set; then
12935 CXXFLAGS=$ac_save_CXXFLAGS
12936 elif test $ac_cv_prog_cxx_g = yes; then
12937 if test "$GXX" = yes; then
12943 if test "$GXX" = yes; then
12950 ac_cpp='$CPP $CPPFLAGS'
12951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12955 depcc="$CXX" am_compiler_list=
12957 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12958 $as_echo_n "checking dependency style of $depcc... " >&6; }
12959 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12960 $as_echo_n "(cached) " >&6
12962 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12963 # We make a subdir and do the tests there. Otherwise we can end up
12964 # making bogus files that we don't know about and never remove. For
12965 # instance it was reported that on HP-UX the gcc test will end up
12966 # making a dummy file named `D' -- because `-MD' means `put the output
12969 # Copy depcomp to subdir because otherwise we won't find it if we're
12970 # using a relative directory.
12971 cp "$am_depcomp" conftest.dir
12973 # We will build objects and dependencies in a subdirectory because
12974 # it helps to detect inapplicable dependency modes. For instance
12975 # both Tru64's cc and ICC support -MD to output dependencies as a
12976 # side effect of compilation, but ICC will put the dependencies in
12977 # the current directory while Tru64 will put them in the object
12981 am_cv_CXX_dependencies_compiler_type=none
12982 if test "$am_compiler_list" = ""; then
12983 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12985 for depmode in $am_compiler_list; do
12986 # Setup a source with many dependencies, because some compilers
12987 # like to wrap large dependency lists on column 80 (with \), and
12988 # we should not choose a depcomp mode which is confused by this.
12990 # We need to recreate these files for each test, as the compiler may
12991 # overwrite some of them when testing with obscure command lines.
12992 # This happens at least with the AIX C compiler.
12994 for i in 1 2 3 4 5 6; do
12995 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12996 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12997 # Solaris 8's {/usr,}/bin/sh.
12998 touch sub/conftst$i.h
13000 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13004 # after this tag, mechanisms are not by side-effect, so they'll
13005 # only be used when explicitly requested
13006 if test "x$enable_dependency_tracking" = xyes; then
13014 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13015 # mode. It turns out that the SunPro C++ compiler does not properly
13016 # handle `-M -o', and we need to detect this.
13017 if depmode=$depmode \
13018 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13019 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13020 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13021 >/dev/null 2>conftest.err &&
13022 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13023 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13024 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13025 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13026 # icc doesn't choke on unknown options, it will just issue warnings
13027 # or remarks (even with -Werror). So we grep stderr for any message
13028 # that says an option was ignored or not supported.
13029 # When given -MP, icc 7.0 and 7.1 complain thusly:
13030 # icc: Command line warning: ignoring option '-M'; no argument required
13031 # The diagnosis changed in icc 8.0:
13032 # icc: Command line remark: option '-MP' not supported
13033 if (grep 'ignoring option' conftest.err ||
13034 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13035 am_cv_CXX_dependencies_compiler_type=$depmode
13042 rm -rf conftest.dir
13044 am_cv_CXX_dependencies_compiler_type=none
13048 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13049 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13050 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13053 test "x$enable_dependency_tracking" != xno \
13054 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13055 am__fastdepCXX_TRUE=
13056 am__fastdepCXX_FALSE='#'
13058 am__fastdepCXX_TRUE='#'
13059 am__fastdepCXX_FALSE=
13065 ac_cpp='$CXXCPP $CPPFLAGS'
13066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13069 if test -z "$CXX"; then
13070 if test -n "$CCC"; then
13073 if test -n "$ac_tool_prefix"; then
13074 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13078 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13079 $as_echo_n "checking for $ac_word... " >&6; }
13080 if test "${ac_cv_prog_CXX+set}" = set; then
13081 $as_echo_n "(cached) " >&6
13083 if test -n "$CXX"; then
13084 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13087 for as_dir in $PATH
13090 test -z "$as_dir" && as_dir=.
13091 for ac_exec_ext in '' $ac_executable_extensions; do
13092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13093 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13094 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13103 CXX=$ac_cv_prog_CXX
13104 if test -n "$CXX"; then
13105 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
13106 $as_echo "$CXX" >&6; }
13108 { $as_echo "$as_me:$LINENO: result: no" >&5
13109 $as_echo "no" >&6; }
13113 test -n "$CXX" && break
13116 if test -z "$CXX"; then
13118 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13120 # Extract the first word of "$ac_prog", so it can be a program name with args.
13121 set dummy $ac_prog; ac_word=$2
13122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13123 $as_echo_n "checking for $ac_word... " >&6; }
13124 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13125 $as_echo_n "(cached) " >&6
13127 if test -n "$ac_ct_CXX"; then
13128 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13131 for as_dir in $PATH
13134 test -z "$as_dir" && as_dir=.
13135 for ac_exec_ext in '' $ac_executable_extensions; do
13136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13137 ac_cv_prog_ac_ct_CXX="$ac_prog"
13138 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13147 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13148 if test -n "$ac_ct_CXX"; then
13149 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13150 $as_echo "$ac_ct_CXX" >&6; }
13152 { $as_echo "$as_me:$LINENO: result: no" >&5
13153 $as_echo "no" >&6; }
13157 test -n "$ac_ct_CXX" && break
13160 if test "x$ac_ct_CXX" = x; then
13163 case $cross_compiling:$ac_tool_warned in
13165 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13167 ac_tool_warned=yes ;;
13175 # Provide some information about the compiler.
13176 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
13179 { (ac_try="$ac_compiler --version >&5"
13180 case "(($ac_try" in
13181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13182 *) ac_try_echo=$ac_try;;
13184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13185 $as_echo "$ac_try_echo") >&5
13186 (eval "$ac_compiler --version >&5") 2>&5
13188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); }
13190 { (ac_try="$ac_compiler -v >&5"
13191 case "(($ac_try" in
13192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13193 *) ac_try_echo=$ac_try;;
13195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13196 $as_echo "$ac_try_echo") >&5
13197 (eval "$ac_compiler -v >&5") 2>&5
13199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); }
13201 { (ac_try="$ac_compiler -V >&5"
13202 case "(($ac_try" in
13203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13204 *) ac_try_echo=$ac_try;;
13206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13207 $as_echo "$ac_try_echo") >&5
13208 (eval "$ac_compiler -V >&5") 2>&5
13210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); }
13213 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13214 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13215 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13216 $as_echo_n "(cached) " >&6
13218 cat >conftest.$ac_ext <<_ACEOF
13221 cat confdefs.h >>conftest.$ac_ext
13222 cat >>conftest.$ac_ext <<_ACEOF
13223 /* end confdefs.h. */
13236 rm -f conftest.$ac_objext
13237 if { (ac_try="$ac_compile"
13238 case "(($ac_try" in
13239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13240 *) ac_try_echo=$ac_try;;
13242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13243 $as_echo "$ac_try_echo") >&5
13244 (eval "$ac_compile") 2>conftest.er1
13246 grep -v '^ *+' conftest.er1 >conftest.err
13248 cat conftest.err >&5
13249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13250 (exit $ac_status); } && {
13251 test -z "$ac_cxx_werror_flag" ||
13252 test ! -s conftest.err
13253 } && test -s conftest.$ac_objext; then
13254 ac_compiler_gnu=yes
13256 $as_echo "$as_me: failed program was:" >&5
13257 sed 's/^/| /' conftest.$ac_ext >&5
13262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13263 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13266 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13267 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13268 if test $ac_compiler_gnu = yes; then
13273 ac_test_CXXFLAGS=${CXXFLAGS+set}
13274 ac_save_CXXFLAGS=$CXXFLAGS
13275 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13276 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13277 if test "${ac_cv_prog_cxx_g+set}" = set; then
13278 $as_echo_n "(cached) " >&6
13280 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13281 ac_cxx_werror_flag=yes
13282 ac_cv_prog_cxx_g=no
13284 cat >conftest.$ac_ext <<_ACEOF
13287 cat confdefs.h >>conftest.$ac_ext
13288 cat >>conftest.$ac_ext <<_ACEOF
13289 /* end confdefs.h. */
13299 rm -f conftest.$ac_objext
13300 if { (ac_try="$ac_compile"
13301 case "(($ac_try" in
13302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13303 *) ac_try_echo=$ac_try;;
13305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13306 $as_echo "$ac_try_echo") >&5
13307 (eval "$ac_compile") 2>conftest.er1
13309 grep -v '^ *+' conftest.er1 >conftest.err
13311 cat conftest.err >&5
13312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); } && {
13314 test -z "$ac_cxx_werror_flag" ||
13315 test ! -s conftest.err
13316 } && test -s conftest.$ac_objext; then
13317 ac_cv_prog_cxx_g=yes
13319 $as_echo "$as_me: failed program was:" >&5
13320 sed 's/^/| /' conftest.$ac_ext >&5
13323 cat >conftest.$ac_ext <<_ACEOF
13326 cat confdefs.h >>conftest.$ac_ext
13327 cat >>conftest.$ac_ext <<_ACEOF
13328 /* end confdefs.h. */
13338 rm -f conftest.$ac_objext
13339 if { (ac_try="$ac_compile"
13340 case "(($ac_try" in
13341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13342 *) ac_try_echo=$ac_try;;
13344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13345 $as_echo "$ac_try_echo") >&5
13346 (eval "$ac_compile") 2>conftest.er1
13348 grep -v '^ *+' conftest.er1 >conftest.err
13350 cat conftest.err >&5
13351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); } && {
13353 test -z "$ac_cxx_werror_flag" ||
13354 test ! -s conftest.err
13355 } && test -s conftest.$ac_objext; then
13358 $as_echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.$ac_ext >&5
13361 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13363 cat >conftest.$ac_ext <<_ACEOF
13366 cat confdefs.h >>conftest.$ac_ext
13367 cat >>conftest.$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13378 rm -f conftest.$ac_objext
13379 if { (ac_try="$ac_compile"
13380 case "(($ac_try" in
13381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13382 *) ac_try_echo=$ac_try;;
13384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13385 $as_echo "$ac_try_echo") >&5
13386 (eval "$ac_compile") 2>conftest.er1
13388 grep -v '^ *+' conftest.er1 >conftest.err
13390 cat conftest.err >&5
13391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } && {
13393 test -z "$ac_cxx_werror_flag" ||
13394 test ! -s conftest.err
13395 } && test -s conftest.$ac_objext; then
13396 ac_cv_prog_cxx_g=yes
13398 $as_echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.$ac_ext >&5
13404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13411 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13413 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13414 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13415 if test "$ac_test_CXXFLAGS" = set; then
13416 CXXFLAGS=$ac_save_CXXFLAGS
13417 elif test $ac_cv_prog_cxx_g = yes; then
13418 if test "$GXX" = yes; then
13424 if test "$GXX" = yes; then
13431 ac_cpp='$CPP $CPPFLAGS'
13432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13436 depcc="$CXX" am_compiler_list=
13438 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13439 $as_echo_n "checking dependency style of $depcc... " >&6; }
13440 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13441 $as_echo_n "(cached) " >&6
13443 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13444 # We make a subdir and do the tests there. Otherwise we can end up
13445 # making bogus files that we don't know about and never remove. For
13446 # instance it was reported that on HP-UX the gcc test will end up
13447 # making a dummy file named `D' -- because `-MD' means `put the output
13450 # Copy depcomp to subdir because otherwise we won't find it if we're
13451 # using a relative directory.
13452 cp "$am_depcomp" conftest.dir
13454 # We will build objects and dependencies in a subdirectory because
13455 # it helps to detect inapplicable dependency modes. For instance
13456 # both Tru64's cc and ICC support -MD to output dependencies as a
13457 # side effect of compilation, but ICC will put the dependencies in
13458 # the current directory while Tru64 will put them in the object
13462 am_cv_CXX_dependencies_compiler_type=none
13463 if test "$am_compiler_list" = ""; then
13464 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13466 for depmode in $am_compiler_list; do
13467 # Setup a source with many dependencies, because some compilers
13468 # like to wrap large dependency lists on column 80 (with \), and
13469 # we should not choose a depcomp mode which is confused by this.
13471 # We need to recreate these files for each test, as the compiler may
13472 # overwrite some of them when testing with obscure command lines.
13473 # This happens at least with the AIX C compiler.
13475 for i in 1 2 3 4 5 6; do
13476 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13477 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13478 # Solaris 8's {/usr,}/bin/sh.
13479 touch sub/conftst$i.h
13481 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13485 # after this tag, mechanisms are not by side-effect, so they'll
13486 # only be used when explicitly requested
13487 if test "x$enable_dependency_tracking" = xyes; then
13495 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13496 # mode. It turns out that the SunPro C++ compiler does not properly
13497 # handle `-M -o', and we need to detect this.
13498 if depmode=$depmode \
13499 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13500 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13501 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13502 >/dev/null 2>conftest.err &&
13503 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13504 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13505 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13506 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13507 # icc doesn't choke on unknown options, it will just issue warnings
13508 # or remarks (even with -Werror). So we grep stderr for any message
13509 # that says an option was ignored or not supported.
13510 # When given -MP, icc 7.0 and 7.1 complain thusly:
13511 # icc: Command line warning: ignoring option '-M'; no argument required
13512 # The diagnosis changed in icc 8.0:
13513 # icc: Command line remark: option '-MP' not supported
13514 if (grep 'ignoring option' conftest.err ||
13515 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13516 am_cv_CXX_dependencies_compiler_type=$depmode
13523 rm -rf conftest.dir
13525 am_cv_CXX_dependencies_compiler_type=none
13529 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13530 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13531 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13534 test "x$enable_dependency_tracking" != xno \
13535 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13536 am__fastdepCXX_TRUE=
13537 am__fastdepCXX_FALSE='#'
13539 am__fastdepCXX_TRUE='#'
13540 am__fastdepCXX_FALSE=
13544 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13545 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13546 (test "X$CXX" != "Xg++"))) ; then
13548 ac_cpp='$CXXCPP $CPPFLAGS'
13549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13552 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13553 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13554 if test -z "$CXXCPP"; then
13555 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13556 $as_echo_n "(cached) " >&6
13558 # Double quotes because CXXCPP needs to be expanded
13559 for CXXCPP in "$CXX -E" "/lib/cpp"
13561 ac_preproc_ok=false
13562 for ac_cxx_preproc_warn_flag in '' yes
13564 # Use a header file that comes with gcc, so configuring glibc
13565 # with a fresh cross-compiler works.
13566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13567 # <limits.h> exists even on freestanding compilers.
13568 # On the NeXT, cc -E runs the code through the compiler's parser,
13569 # not just through cpp. "Syntax error" is here to catch this case.
13570 cat >conftest.$ac_ext <<_ACEOF
13573 cat confdefs.h >>conftest.$ac_ext
13574 cat >>conftest.$ac_ext <<_ACEOF
13575 /* end confdefs.h. */
13577 # include <limits.h>
13579 # include <assert.h>
13583 if { (ac_try="$ac_cpp conftest.$ac_ext"
13584 case "(($ac_try" in
13585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13586 *) ac_try_echo=$ac_try;;
13588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13589 $as_echo "$ac_try_echo") >&5
13590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13592 grep -v '^ *+' conftest.er1 >conftest.err
13594 cat conftest.err >&5
13595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); } >/dev/null && {
13597 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13598 test ! -s conftest.err
13602 $as_echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.$ac_ext >&5
13605 # Broken: fails on valid input.
13609 rm -f conftest.err conftest.$ac_ext
13611 # OK, works on sane cases. Now check whether nonexistent headers
13612 # can be detected and how.
13613 cat >conftest.$ac_ext <<_ACEOF
13616 cat confdefs.h >>conftest.$ac_ext
13617 cat >>conftest.$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13619 #include <ac_nonexistent.h>
13621 if { (ac_try="$ac_cpp conftest.$ac_ext"
13622 case "(($ac_try" in
13623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13624 *) ac_try_echo=$ac_try;;
13626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13627 $as_echo "$ac_try_echo") >&5
13628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13630 grep -v '^ *+' conftest.er1 >conftest.err
13632 cat conftest.err >&5
13633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); } >/dev/null && {
13635 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13636 test ! -s conftest.err
13638 # Broken: success on invalid input.
13641 $as_echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.$ac_ext >&5
13644 # Passes both tests.
13649 rm -f conftest.err conftest.$ac_ext
13652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13653 rm -f conftest.err conftest.$ac_ext
13654 if $ac_preproc_ok; then
13659 ac_cv_prog_CXXCPP=$CXXCPP
13662 CXXCPP=$ac_cv_prog_CXXCPP
13664 ac_cv_prog_CXXCPP=$CXXCPP
13666 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
13667 $as_echo "$CXXCPP" >&6; }
13668 ac_preproc_ok=false
13669 for ac_cxx_preproc_warn_flag in '' yes
13671 # Use a header file that comes with gcc, so configuring glibc
13672 # with a fresh cross-compiler works.
13673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13674 # <limits.h> exists even on freestanding compilers.
13675 # On the NeXT, cc -E runs the code through the compiler's parser,
13676 # not just through cpp. "Syntax error" is here to catch this case.
13677 cat >conftest.$ac_ext <<_ACEOF
13680 cat confdefs.h >>conftest.$ac_ext
13681 cat >>conftest.$ac_ext <<_ACEOF
13682 /* end confdefs.h. */
13684 # include <limits.h>
13686 # include <assert.h>
13690 if { (ac_try="$ac_cpp conftest.$ac_ext"
13691 case "(($ac_try" in
13692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13693 *) ac_try_echo=$ac_try;;
13695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13696 $as_echo "$ac_try_echo") >&5
13697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13699 grep -v '^ *+' conftest.er1 >conftest.err
13701 cat conftest.err >&5
13702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } >/dev/null && {
13704 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13705 test ! -s conftest.err
13709 $as_echo "$as_me: failed program was:" >&5
13710 sed 's/^/| /' conftest.$ac_ext >&5
13712 # Broken: fails on valid input.
13716 rm -f conftest.err conftest.$ac_ext
13718 # OK, works on sane cases. Now check whether nonexistent headers
13719 # can be detected and how.
13720 cat >conftest.$ac_ext <<_ACEOF
13723 cat confdefs.h >>conftest.$ac_ext
13724 cat >>conftest.$ac_ext <<_ACEOF
13725 /* end confdefs.h. */
13726 #include <ac_nonexistent.h>
13728 if { (ac_try="$ac_cpp conftest.$ac_ext"
13729 case "(($ac_try" in
13730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13731 *) ac_try_echo=$ac_try;;
13733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13734 $as_echo "$ac_try_echo") >&5
13735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13737 grep -v '^ *+' conftest.er1 >conftest.err
13739 cat conftest.err >&5
13740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } >/dev/null && {
13742 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13743 test ! -s conftest.err
13745 # Broken: success on invalid input.
13748 $as_echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.$ac_ext >&5
13751 # Passes both tests.
13756 rm -f conftest.err conftest.$ac_ext
13759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13760 rm -f conftest.err conftest.$ac_ext
13761 if $ac_preproc_ok; then
13764 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13766 _lt_caught_CXX_error=yes; }
13770 ac_cpp='$CPP $CPPFLAGS'
13771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13776 _lt_caught_CXX_error=yes
13783 ac_cpp='$CXXCPP $CPPFLAGS'
13784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13788 archive_cmds_need_lc_CXX=no
13789 allow_undefined_flag_CXX=
13790 always_export_symbols_CXX=no
13791 archive_expsym_cmds_CXX=
13792 compiler_needs_object_CXX=no
13793 export_dynamic_flag_spec_CXX=
13794 hardcode_direct_CXX=no
13795 hardcode_direct_absolute_CXX=no
13796 hardcode_libdir_flag_spec_CXX=
13797 hardcode_libdir_flag_spec_ld_CXX=
13798 hardcode_libdir_separator_CXX=
13799 hardcode_minus_L_CXX=no
13800 hardcode_shlibpath_var_CXX=unsupported
13801 hardcode_automatic_CXX=no
13802 inherit_rpath_CXX=no
13804 module_expsym_cmds_CXX=
13805 link_all_deplibs_CXX=unknown
13806 old_archive_cmds_CXX=$old_archive_cmds
13807 no_undefined_flag_CXX=
13808 whole_archive_flag_spec_CXX=
13809 enable_shared_with_static_runtimes_CXX=no
13811 # Source file extension for C++ test sources.
13814 # Object file extension for compiled C++ test sources.
13818 # No sense in running all these tests if we already determined that
13819 # the CXX compiler isn't working. Some variables (like enable_shared)
13820 # are currently assumed to apply to all compilers on this platform,
13821 # and will be corrupted by setting them based on a non-working compiler.
13822 if test "$_lt_caught_CXX_error" != yes; then
13823 # Code to be used in simple compile tests
13824 lt_simple_compile_test_code="int some_variable = 0;"
13826 # Code to be used in simple link tests
13827 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13829 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13836 # If no C compiler was specified, use CC.
13839 # If no C compiler flags were specified, use CFLAGS.
13840 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13842 # Allow CC to be a program name with arguments.
13846 # save warnings/boilerplate of simple test code
13847 ac_outfile=conftest.$ac_objext
13848 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13849 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13850 _lt_compiler_boilerplate=`cat conftest.err`
13853 ac_outfile=conftest.$ac_objext
13854 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13855 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13856 _lt_linker_boilerplate=`cat conftest.err`
13860 # Allow CC to be a program name with arguments.
13865 lt_save_with_gnu_ld=$with_gnu_ld
13866 lt_save_path_LD=$lt_cv_path_LD
13867 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13868 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13870 $as_unset lt_cv_prog_gnu_ld
13872 if test -n "${lt_cv_path_LDCXX+set}"; then
13873 lt_cv_path_LD=$lt_cv_path_LDCXX
13875 $as_unset lt_cv_path_LD
13877 test -z "${LDCXX+set}" || LD=$LDCXX
13881 for cc_temp in $compiler""; do
13883 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13884 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13889 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13892 if test -n "$compiler"; then
13893 # We don't want -fno-exception when compiling C++ code, so set the
13894 # no_builtin_flag separately
13895 if test "$GXX" = yes; then
13896 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13898 lt_prog_compiler_no_builtin_flag_CXX=
13901 if test "$GXX" = yes; then
13902 # Set up default GNU C++ configuration
13906 # Check whether --with-gnu-ld was given.
13907 if test "${with_gnu_ld+set}" = set; then
13908 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13914 if test "$GCC" = yes; then
13915 # Check if gcc -print-prog-name=ld gives a path.
13916 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13917 $as_echo_n "checking for ld used by $CC... " >&6; }
13920 # gcc leaves a trailing carriage return which upsets mingw
13921 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13923 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13926 # Accept absolute paths.
13928 re_direlt='/[^/][^/]*/\.\./'
13929 # Canonicalize the pathname of ld
13930 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13931 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13932 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13934 test -z "$LD" && LD="$ac_prog"
13937 # If it fails, then pretend we aren't using GCC.
13941 # If it is relative, then search for the first ld in PATH.
13942 with_gnu_ld=unknown
13945 elif test "$with_gnu_ld" = yes; then
13946 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
13947 $as_echo_n "checking for GNU ld... " >&6; }
13949 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13950 $as_echo_n "checking for non-GNU ld... " >&6; }
13952 if test "${lt_cv_path_LD+set}" = set; then
13953 $as_echo_n "(cached) " >&6
13955 if test -z "$LD"; then
13956 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13957 for ac_dir in $PATH; do
13959 test -z "$ac_dir" && ac_dir=.
13960 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13961 lt_cv_path_LD="$ac_dir/$ac_prog"
13962 # Check to see if the program is GNU ld. I'd rather use --version,
13963 # but apparently some variants of GNU ld only accept -v.
13964 # Break only if it was the GNU/non-GNU ld that we prefer.
13965 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13966 *GNU* | *'with BFD'*)
13967 test "$with_gnu_ld" != no && break
13970 test "$with_gnu_ld" != yes && break
13977 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13981 LD="$lt_cv_path_LD"
13982 if test -n "$LD"; then
13983 { $as_echo "$as_me:$LINENO: result: $LD" >&5
13984 $as_echo "$LD" >&6; }
13986 { $as_echo "$as_me:$LINENO: result: no" >&5
13987 $as_echo "no" >&6; }
13989 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13990 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13991 { (exit 1); exit 1; }; }
13992 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13993 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13994 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13995 $as_echo_n "(cached) " >&6
13997 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13998 case `$LD -v 2>&1 </dev/null` in
13999 *GNU* | *'with BFD'*)
14000 lt_cv_prog_gnu_ld=yes
14003 lt_cv_prog_gnu_ld=no
14007 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
14008 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14009 with_gnu_ld=$lt_cv_prog_gnu_ld
14017 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14018 # archiving commands below assume that GNU ld is being used.
14019 if test "$with_gnu_ld" = yes; then
14020 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14021 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'
14023 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14024 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14026 # If archive_cmds runs LD, not CC, wlarc should be empty
14027 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14028 # investigate it a little bit more. (MM)
14031 # ancient GNU ld didn't support --whole-archive et. al.
14032 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14033 $GREP 'no-whole-archive' > /dev/null; then
14034 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14036 whole_archive_flag_spec_CXX=
14042 # A generic and very simple default shared library creation
14043 # command for GNU C++ for the case where it uses the native
14044 # linker, instead of GNU ld. If possible, this setting should
14045 # overridden to take advantage of the native linker features on
14046 # the platform it is being used on.
14047 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14050 # Commands to make compiler produce verbose output that lists
14051 # what "hidden" libraries, object files and flags are used when
14052 # linking a shared library.
14053 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14061 # PORTME: fill in a description of your system's C++ link characteristics
14062 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14063 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14067 # FIXME: insert proper C++ library support
14071 if test "$host_cpu" = ia64; then
14072 # On IA64, the linker does run time linking by default, so we don't
14073 # have to do anything special.
14074 aix_use_runtimelinking=no
14075 exp_sym_flag='-Bexport'
14078 aix_use_runtimelinking=no
14080 # Test if we are trying to use run time linking or normal
14081 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14082 # need to do runtime linking.
14083 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14084 for ld_flag in $LDFLAGS; do
14087 aix_use_runtimelinking=yes
14095 exp_sym_flag='-bexport'
14096 no_entry_flag='-bnoentry'
14099 # When large executables or shared objects are built, AIX ld can
14100 # have problems creating the table of contents. If linking a library
14101 # or program results in "error TOC overflow" add -mminimal-toc to
14102 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14103 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14105 archive_cmds_CXX=''
14106 hardcode_direct_CXX=yes
14107 hardcode_direct_absolute_CXX=yes
14108 hardcode_libdir_separator_CXX=':'
14109 link_all_deplibs_CXX=yes
14110 file_list_spec_CXX='${wl}-f,'
14112 if test "$GXX" = yes; then
14113 case $host_os in aix4.[012]|aix4.[012].*)
14114 # We only want to do this on AIX 4.2 and lower, the check
14115 # below for broken collect2 doesn't work under 4.3+
14116 collect2name=`${CC} -print-prog-name=collect2`
14117 if test -f "$collect2name" &&
14118 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14120 # We have reworked collect2
14123 # We have old collect2
14124 hardcode_direct_CXX=unsupported
14125 # It fails to find uninstalled libraries when the uninstalled
14126 # path is not listed in the libpath. Setting hardcode_minus_L
14127 # to unsupported forces relinking
14128 hardcode_minus_L_CXX=yes
14129 hardcode_libdir_flag_spec_CXX='-L$libdir'
14130 hardcode_libdir_separator_CXX=
14133 shared_flag='-shared'
14134 if test "$aix_use_runtimelinking" = yes; then
14135 shared_flag="$shared_flag "'${wl}-G'
14139 if test "$host_cpu" = ia64; then
14140 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14141 # chokes on -Wl,-G. The following line is correct:
14144 if test "$aix_use_runtimelinking" = yes; then
14145 shared_flag='${wl}-G'
14147 shared_flag='${wl}-bM:SRE'
14152 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14153 # It seems that -bexpall does not export symbols beginning with
14154 # underscore (_), so it is better to generate a list of symbols to
14156 always_export_symbols_CXX=yes
14157 if test "$aix_use_runtimelinking" = yes; then
14158 # Warning - without using the other runtime loading flags (-brtl),
14159 # -berok will link without error, but may produce a broken library.
14160 allow_undefined_flag_CXX='-berok'
14161 # Determine the default libpath from the value encoded in an empty
14163 cat >conftest.$ac_ext <<_ACEOF
14166 cat confdefs.h >>conftest.$ac_ext
14167 cat >>conftest.$ac_ext <<_ACEOF
14168 /* end confdefs.h. */
14178 rm -f conftest.$ac_objext conftest$ac_exeext
14179 if { (ac_try="$ac_link"
14180 case "(($ac_try" in
14181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14182 *) ac_try_echo=$ac_try;;
14184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14185 $as_echo "$ac_try_echo") >&5
14186 (eval "$ac_link") 2>conftest.er1
14188 grep -v '^ *+' conftest.er1 >conftest.err
14190 cat conftest.err >&5
14191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); } && {
14193 test -z "$ac_cxx_werror_flag" ||
14194 test ! -s conftest.err
14195 } && test -s conftest$ac_exeext && {
14196 test "$cross_compiling" = yes ||
14197 $as_test_x conftest$ac_exeext
14200 lt_aix_libpath_sed='
14201 /Import File Strings/,/^$/ {
14207 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14208 # Check for a 64-bit object if we didn't find anything.
14209 if test -z "$aix_libpath"; then
14210 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14213 $as_echo "$as_me: failed program was:" >&5
14214 sed 's/^/| /' conftest.$ac_ext >&5
14219 rm -rf conftest.dSYM
14220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14221 conftest$ac_exeext conftest.$ac_ext
14222 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14224 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14226 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14228 if test "$host_cpu" = ia64; then
14229 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14230 allow_undefined_flag_CXX="-z nodefs"
14231 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"
14233 # Determine the default libpath from the value encoded in an
14234 # empty executable.
14235 cat >conftest.$ac_ext <<_ACEOF
14238 cat confdefs.h >>conftest.$ac_ext
14239 cat >>conftest.$ac_ext <<_ACEOF
14240 /* end confdefs.h. */
14250 rm -f conftest.$ac_objext conftest$ac_exeext
14251 if { (ac_try="$ac_link"
14252 case "(($ac_try" in
14253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14254 *) ac_try_echo=$ac_try;;
14256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14257 $as_echo "$ac_try_echo") >&5
14258 (eval "$ac_link") 2>conftest.er1
14260 grep -v '^ *+' conftest.er1 >conftest.err
14262 cat conftest.err >&5
14263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); } && {
14265 test -z "$ac_cxx_werror_flag" ||
14266 test ! -s conftest.err
14267 } && test -s conftest$ac_exeext && {
14268 test "$cross_compiling" = yes ||
14269 $as_test_x conftest$ac_exeext
14272 lt_aix_libpath_sed='
14273 /Import File Strings/,/^$/ {
14279 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14280 # Check for a 64-bit object if we didn't find anything.
14281 if test -z "$aix_libpath"; then
14282 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14285 $as_echo "$as_me: failed program was:" >&5
14286 sed 's/^/| /' conftest.$ac_ext >&5
14291 rm -rf conftest.dSYM
14292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14293 conftest$ac_exeext conftest.$ac_ext
14294 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14296 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14297 # Warning - without using the other run time loading flags,
14298 # -berok will link without error, but may produce a broken library.
14299 no_undefined_flag_CXX=' ${wl}-bernotok'
14300 allow_undefined_flag_CXX=' ${wl}-berok'
14301 # Exported symbols can be pulled into shared objects from archives
14302 whole_archive_flag_spec_CXX='$convenience'
14303 archive_cmds_need_lc_CXX=yes
14304 # This is similar to how AIX traditionally builds its shared
14306 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'
14312 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14313 allow_undefined_flag_CXX=unsupported
14314 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14315 # support --undefined. This deserves some investigation. FIXME
14316 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14323 case $cc_basename in
14325 # FIXME: insert proper C++ library support
14331 cygwin* | mingw* | pw32* | cegcc*)
14332 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14333 # as there is no search path for DLLs.
14334 hardcode_libdir_flag_spec_CXX='-L$libdir'
14335 allow_undefined_flag_CXX=unsupported
14336 always_export_symbols_CXX=no
14337 enable_shared_with_static_runtimes_CXX=yes
14339 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14340 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'
14341 # If the export-symbols file already is a .def file (1st line
14342 # is EXPORTS), use it as is; otherwise, prepend...
14343 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14344 cp $export_symbols $output_objdir/$soname.def;
14346 echo EXPORTS > $output_objdir/$soname.def;
14347 cat $export_symbols >> $output_objdir/$soname.def;
14349 $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'
14354 darwin* | rhapsody*)
14357 archive_cmds_need_lc_CXX=no
14358 hardcode_direct_CXX=no
14359 hardcode_automatic_CXX=yes
14360 hardcode_shlibpath_var_CXX=unsupported
14361 whole_archive_flag_spec_CXX=''
14362 link_all_deplibs_CXX=yes
14363 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14364 case $cc_basename in
14365 ifort*) _lt_dar_can_shared=yes ;;
14366 *) _lt_dar_can_shared=$GCC ;;
14368 if test "$_lt_dar_can_shared" = "yes"; then
14369 output_verbose_link_cmd=echo
14370 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14371 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14372 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14373 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14374 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14375 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${_lt_dsymutil}"
14376 archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
14386 case $cc_basename in
14388 # FIXME: insert proper C++ library support
14392 # Green Hills C++ Compiler
14393 # FIXME: insert proper C++ library support
14397 # FIXME: insert proper C++ library support
14404 # C++ shared libraries reported to be fairly broken before
14410 archive_cmds_need_lc_CXX=no
14413 freebsd* | dragonfly*)
14414 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14423 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14424 hardcode_libdir_separator_CXX=:
14425 export_dynamic_flag_spec_CXX='${wl}-E'
14426 hardcode_direct_CXX=yes
14427 hardcode_minus_L_CXX=yes # Not in the search PATH,
14428 # but as the default
14429 # location of the library.
14431 case $cc_basename in
14433 # FIXME: insert proper C++ library support
14437 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'
14438 # Commands to make compiler produce verbose output that lists
14439 # what "hidden" libraries, object files and flags are used when
14440 # linking a shared library.
14442 # There doesn't appear to be a way to prevent this compiler from
14443 # explicitly linking system object files so we need to strip them
14444 # from the output so that they don't get included in the library
14446 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14449 if test "$GXX" = yes; then
14450 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'
14452 # FIXME: insert proper C++ library support
14460 if test $with_gnu_ld = no; then
14461 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14462 hardcode_libdir_separator_CXX=:
14468 export_dynamic_flag_spec_CXX='${wl}-E'
14474 hardcode_direct_CXX=no
14475 hardcode_shlibpath_var_CXX=no
14478 hardcode_direct_CXX=yes
14479 hardcode_direct_absolute_CXX=yes
14480 hardcode_minus_L_CXX=yes # Not in the search PATH,
14481 # but as the default
14482 # location of the library.
14486 case $cc_basename in
14488 # FIXME: insert proper C++ library support
14494 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14497 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14500 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14503 # Commands to make compiler produce verbose output that lists
14504 # what "hidden" libraries, object files and flags are used when
14505 # linking a shared library.
14507 # There doesn't appear to be a way to prevent this compiler from
14508 # explicitly linking system object files so we need to strip them
14509 # from the output so that they don't get included in the library
14511 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 "X$list" | $Xsed'
14514 if test "$GXX" = yes; then
14515 if test $with_gnu_ld = no; then
14518 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14521 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14524 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'
14529 # FIXME: insert proper C++ library support
14537 hardcode_direct_CXX=no
14538 hardcode_shlibpath_var_CXX=no
14539 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14540 export_dynamic_flag_spec_CXX='${wl}-E'
14541 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14542 # Instead, shared libraries are loaded at an image base (0x10000000 by
14543 # default) and relocated if they conflict, which is a slow very memory
14544 # consuming and fragmenting process. To avoid this, we pick a random,
14545 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14546 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14547 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'
14548 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'
14551 case $cc_basename in
14554 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14556 # Archives containing C++ object files must be created using
14557 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14558 # necessary to make sure instantiated templates are included
14560 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14563 if test "$GXX" = yes; then
14564 if test "$with_gnu_ld" = no; then
14565 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14567 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
14570 link_all_deplibs_CXX=yes
14573 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14574 hardcode_libdir_separator_CXX=:
14575 inherit_rpath_CXX=yes
14578 linux* | k*bsd*-gnu)
14579 case $cc_basename in
14581 # Kuck and Associates, Inc. (KAI) C++ Compiler
14583 # KCC will only create a shared library if the output file
14584 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14585 # to its proper name (with version) after linking.
14586 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'
14587 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'
14588 # Commands to make compiler produce verbose output that lists
14589 # what "hidden" libraries, object files and flags are used when
14590 # linking a shared library.
14592 # There doesn't appear to be a way to prevent this compiler from
14593 # explicitly linking system object files so we need to strip them
14594 # from the output so that they don't get included in the library
14596 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 "X$list" | $Xsed'
14598 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14599 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14601 # Archives containing C++ object files must be created using
14602 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14603 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14608 # version 8.0 and above of icpc choke on multiply defined symbols
14609 # if we add $predep_objects and $postdep_objects, however 7.1 and
14610 # earlier do not add the objects themselves.
14611 case `$CC -V 2>&1` in
14613 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14614 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'
14616 *) # Version 8.0 or newer
14619 ia64*) tmp_idyn=' -i_dynamic';;
14621 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14622 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'
14625 archive_cmds_need_lc_CXX=no
14626 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14627 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14628 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14631 # Portland Group C++ compiler
14633 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
14634 prelink_cmds_CXX='tpldir=Template.dir~
14636 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14637 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14638 old_archive_cmds_CXX='tpldir=Template.dir~
14640 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14641 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14643 archive_cmds_CXX='tpldir=Template.dir~
14645 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14646 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14647 archive_expsym_cmds_CXX='tpldir=Template.dir~
14649 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14650 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14652 *) # Version 6 will use weak symbols
14653 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14654 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'
14658 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14659 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14660 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'
14664 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14665 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'
14667 runpath_var=LD_RUN_PATH
14668 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14669 hardcode_libdir_separator_CXX=:
14671 # Commands to make compiler produce verbose output that lists
14672 # what "hidden" libraries, object files and flags are used when
14673 # linking a shared library.
14675 # There doesn't appear to be a way to prevent this compiler from
14676 # explicitly linking system object files so we need to strip them
14677 # from the output so that they don't get included in the library
14679 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
14682 # IBM XL 8.0 on PPC, with GNU ld
14683 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14684 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14685 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14686 if test "x$supports_anon_versioning" = xyes; then
14687 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14688 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14689 echo "local: *; };" >> $output_objdir/$libname.ver~
14690 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14694 case `$CC -V 2>&1 | sed 5q` in
14697 no_undefined_flag_CXX=' -zdefs'
14698 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14699 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
14700 hardcode_libdir_flag_spec_CXX='-R$libdir'
14701 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14702 compiler_needs_object_CXX=yes
14704 # Not sure whether something based on
14705 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14707 output_verbose_link_cmd='echo'
14709 # Archives containing C++ object files must be created using
14710 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14711 # necessary to make sure instantiated templates are included
14713 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14721 # FIXME: insert proper C++ library support
14726 # FIXME: insert proper C++ library support
14731 case $cc_basename in
14733 # FIXME: insert proper C++ library support
14737 # FIXME: insert proper C++ library support
14744 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14745 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14747 hardcode_libdir_flag_spec_CXX='-R$libdir'
14748 hardcode_direct_CXX=yes
14749 hardcode_shlibpath_var_CXX=no
14751 # Workaround some broken pre-1.5 toolchains
14752 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14760 # C++ shared libraries are fairly broken
14765 if test -f /usr/libexec/ld.so; then
14766 hardcode_direct_CXX=yes
14767 hardcode_shlibpath_var_CXX=no
14768 hardcode_direct_absolute_CXX=yes
14769 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14770 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14771 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14772 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14773 export_dynamic_flag_spec_CXX='${wl}-E'
14774 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14776 output_verbose_link_cmd=echo
14782 osf3* | osf4* | osf5*)
14783 case $cc_basename in
14785 # Kuck and Associates, Inc. (KAI) C++ Compiler
14787 # KCC will only create a shared library if the output file
14788 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14789 # to its proper name (with version) after linking.
14790 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'
14792 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14793 hardcode_libdir_separator_CXX=:
14795 # Archives containing C++ object files must be created using
14796 # the KAI C++ compiler.
14798 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14799 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14803 # Rational C++ 2.4.1
14804 # FIXME: insert proper C++ library support
14810 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14811 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14812 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14815 allow_undefined_flag_CXX=' -expect_unresolved \*'
14816 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14817 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14818 echo "-hidden">> $lib.exp~
14819 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
14821 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14825 hardcode_libdir_separator_CXX=:
14827 # Commands to make compiler produce verbose output that lists
14828 # what "hidden" libraries, object files and flags are used when
14829 # linking a shared library.
14831 # There doesn't appear to be a way to prevent this compiler from
14832 # explicitly linking system object files so we need to strip them
14833 # from the output so that they don't get included in the library
14835 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
14838 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14839 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14842 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 "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14845 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" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14849 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14850 hardcode_libdir_separator_CXX=:
14852 # Commands to make compiler produce verbose output that lists
14853 # what "hidden" libraries, object files and flags are used when
14854 # linking a shared library.
14855 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14858 # FIXME: insert proper C++ library support
14866 # FIXME: insert proper C++ library support
14871 case $cc_basename in
14874 # FIXME: insert proper C++ library support
14879 # FIXME: insert proper C++ library support
14883 # FIXME: insert proper C++ library support
14890 case $cc_basename in
14892 # Sun C++ 4.2, 5.x and Centerline C++
14893 archive_cmds_need_lc_CXX=yes
14894 no_undefined_flag_CXX=' -zdefs'
14895 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14896 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14897 $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'
14899 hardcode_libdir_flag_spec_CXX='-R$libdir'
14900 hardcode_shlibpath_var_CXX=no
14902 solaris2.[0-5] | solaris2.[0-5].*) ;;
14904 # The compiler driver will combine and reorder linker options,
14905 # but understands `-z linker_flag'.
14906 # Supported since Solaris 2.6 (maybe 2.5.1?)
14907 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14910 link_all_deplibs_CXX=yes
14912 output_verbose_link_cmd='echo'
14914 # Archives containing C++ object files must be created using
14915 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14916 # necessary to make sure instantiated templates are included
14918 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14921 # Green Hills C++ Compiler
14922 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14924 # The C++ compiler must be used to create the archive.
14925 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14928 # GNU C++ compiler with Solaris linker
14929 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14930 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14931 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14932 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14933 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14934 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14936 # Commands to make compiler produce verbose output that lists
14937 # what "hidden" libraries, object files and flags are used when
14938 # linking a shared library.
14939 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14941 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14943 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14944 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14945 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14947 # Commands to make compiler produce verbose output that lists
14948 # what "hidden" libraries, object files and flags are used when
14949 # linking a shared library.
14950 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14953 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14955 solaris2.[0-5] | solaris2.[0-5].*) ;;
14957 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14965 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14966 no_undefined_flag_CXX='${wl}-z,text'
14967 archive_cmds_need_lc_CXX=no
14968 hardcode_shlibpath_var_CXX=no
14969 runpath_var='LD_RUN_PATH'
14971 case $cc_basename in
14973 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14974 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14977 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14978 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14983 sysv5* | sco3.2v5* | sco5v6*)
14984 # Note: We can NOT use -z defs as we might desire, because we do not
14985 # link with -lc, and that would cause any symbols used from libc to
14986 # always be unresolved, which means just about no library would
14987 # ever link correctly. If we're not using GNU ld we use -z text
14988 # though, which does catch some bad symbols but isn't as heavy-handed
14990 no_undefined_flag_CXX='${wl}-z,text'
14991 allow_undefined_flag_CXX='${wl}-z,nodefs'
14992 archive_cmds_need_lc_CXX=no
14993 hardcode_shlibpath_var_CXX=no
14994 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14995 hardcode_libdir_separator_CXX=':'
14996 link_all_deplibs_CXX=yes
14997 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14998 runpath_var='LD_RUN_PATH'
15000 case $cc_basename in
15002 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15003 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15006 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15007 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15013 case $cc_basename in
15015 # NonStop-UX NCC 3.20
15016 # FIXME: insert proper C++ library support
15020 # FIXME: insert proper C++ library support
15027 # FIXME: insert proper C++ library support
15032 # FIXME: insert proper C++ library support
15037 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15038 $as_echo "$ld_shlibs_CXX" >&6; }
15039 test "$ld_shlibs_CXX" = no && can_build_shared=no
15045 ## There is no encapsulation within the following macros, do not change
15046 ## the running order or otherwise move them around unless you know exactly
15047 ## what you are doing...
15048 # Dependencies to place before and after the object being linked:
15049 predep_objects_CXX=
15050 postdep_objects_CXX=
15053 compiler_lib_search_path_CXX=
15055 cat > conftest.$ac_ext <<_LT_EOF
15059 Foo (void) { a = 0; }
15065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15066 (eval $ac_compile) 2>&5
15068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; then
15070 # Parse the compiler output and extract the necessary
15071 # objects, libraries and library flags.
15073 # Sentinel used to keep track of whether or not we are before
15074 # the conftest object file.
15075 pre_test_object_deps_done=no
15077 for p in `eval "$output_verbose_link_cmd"`; do
15081 # Some compilers place space between "-{L,R}" and the path.
15082 # Remove the space.
15083 if test $p = "-L" ||
15084 test $p = "-R"; then
15091 if test "$pre_test_object_deps_done" = no; then
15094 # Internal compiler library paths should come after those
15095 # provided the user. The postdeps already come after the
15096 # user supplied libs so there is no need to process them.
15097 if test -z "$compiler_lib_search_path_CXX"; then
15098 compiler_lib_search_path_CXX="${prev}${p}"
15100 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15103 # The "-l" case would never come before the object being
15104 # linked, so don't bother handling this case.
15107 if test -z "$postdeps_CXX"; then
15108 postdeps_CXX="${prev}${p}"
15110 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15116 # This assumes that the test object file only shows up
15117 # once in the compiler output.
15118 if test "$p" = "conftest.$objext"; then
15119 pre_test_object_deps_done=yes
15123 if test "$pre_test_object_deps_done" = no; then
15124 if test -z "$predep_objects_CXX"; then
15125 predep_objects_CXX="$p"
15127 predep_objects_CXX="$predep_objects_CXX $p"
15130 if test -z "$postdep_objects_CXX"; then
15131 postdep_objects_CXX="$p"
15133 postdep_objects_CXX="$postdep_objects_CXX $p"
15138 *) ;; # Ignore the rest.
15146 echo "libtool.m4: error: problem compiling CXX test program"
15149 $RM -f confest.$objext
15151 # PORTME: override above test on systems where it is broken
15154 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15155 # hack all around it, let's just trust "g++" to DTRT.
15156 predep_objects_CXX=
15157 postdep_objects_CXX=
15162 case `$CC -V 2>&1 | sed 5q` in
15166 # The more standards-conforming stlport4 library is
15167 # incompatible with the Cstd library. Avoid specifying
15168 # it if it's in CXXFLAGS. Ignore libCrun as
15169 # -library=stlport4 depends on it.
15170 case " $CXX $CXXFLAGS " in
15171 *" -library=stlport4 "*)
15172 solaris_use_stlport4=yes
15176 if test "$solaris_use_stlport4" != yes; then
15177 postdeps_CXX='-library=Cstd -library=Crun'
15184 case $cc_basename in
15186 # The more standards-conforming stlport4 library is
15187 # incompatible with the Cstd library. Avoid specifying
15188 # it if it's in CXXFLAGS. Ignore libCrun as
15189 # -library=stlport4 depends on it.
15190 case " $CXX $CXXFLAGS " in
15191 *" -library=stlport4 "*)
15192 solaris_use_stlport4=yes
15196 # Adding this requires a known-good setup of shared libraries for
15197 # Sun compiler versions before 5.6, else PIC objects from an old
15198 # archive will be linked into the output, leading to subtle bugs.
15199 if test "$solaris_use_stlport4" != yes; then
15200 postdeps_CXX='-library=Cstd -library=Crun'
15208 case " $postdeps_CXX " in
15209 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15211 compiler_lib_search_dirs_CXX=
15212 if test -n "${compiler_lib_search_path_CXX}"; then
15213 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15246 lt_prog_compiler_wl_CXX=
15247 lt_prog_compiler_pic_CXX=
15248 lt_prog_compiler_static_CXX=
15250 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15251 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15253 # C++ specific cases for pic, static, wl, etc.
15254 if test "$GXX" = yes; then
15255 lt_prog_compiler_wl_CXX='-Wl,'
15256 lt_prog_compiler_static_CXX='-static'
15260 # All AIX code is PIC.
15261 if test "$host_cpu" = ia64; then
15262 # AIX 5 now supports IA64 processor
15263 lt_prog_compiler_static_CXX='-Bstatic'
15270 # see comment about AmigaOS4 .so support
15271 lt_prog_compiler_pic_CXX='-fPIC'
15274 # FIXME: we need at least 68020 code to build shared libraries, but
15275 # adding the `-m68020' flag to GCC prevents building anything better,
15277 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15282 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15283 # PIC is the default for these OSes.
15285 mingw* | cygwin* | os2* | pw32* | cegcc*)
15286 # This hack is so that the source file can tell whether it is being
15287 # built for inclusion in a dll (and should export symbols for example).
15288 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15289 # (--disable-auto-import) libraries
15290 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15292 darwin* | rhapsody*)
15293 # PIC is the default on this platform
15294 # Common symbols not allowed in MH_DYLIB files
15295 lt_prog_compiler_pic_CXX='-fno-common'
15298 # DJGPP does not support shared libraries at all
15299 lt_prog_compiler_pic_CXX=
15302 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15303 # Instead, we relocate shared libraries at runtime.
15306 if test -d /usr/nec; then
15307 lt_prog_compiler_pic_CXX=-Kconform_pic
15311 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15312 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15313 # sets the default TLS model and affects inlining.
15318 lt_prog_compiler_pic_CXX='-fPIC'
15323 # QNX uses GNU C++, but need to define -shared option too, otherwise
15324 # it will coredump.
15325 lt_prog_compiler_pic_CXX='-fPIC -shared'
15328 lt_prog_compiler_pic_CXX='-fPIC'
15334 # All AIX code is PIC.
15335 if test "$host_cpu" = ia64; then
15336 # AIX 5 now supports IA64 processor
15337 lt_prog_compiler_static_CXX='-Bstatic'
15339 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15343 case $cc_basename in
15345 # Green Hills C++ Compiler
15346 # _LT_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"
15351 case $cc_basename in
15353 lt_prog_compiler_pic_CXX='-KPIC'
15356 # Green Hills C++ Compiler
15357 lt_prog_compiler_pic_CXX='-pic'
15363 freebsd* | dragonfly*)
15364 # FreeBSD uses GNU C++
15366 hpux9* | hpux10* | hpux11*)
15367 case $cc_basename in
15369 lt_prog_compiler_wl_CXX='-Wl,'
15370 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15371 if test "$host_cpu" != ia64; then
15372 lt_prog_compiler_pic_CXX='+Z'
15376 lt_prog_compiler_wl_CXX='-Wl,'
15377 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15383 lt_prog_compiler_pic_CXX='+Z'
15392 # This is c89, which is MS Visual C++ (no shared libs)
15393 # Anyone wants to do a port?
15395 irix5* | irix6* | nonstopux*)
15396 case $cc_basename in
15398 lt_prog_compiler_wl_CXX='-Wl,'
15399 lt_prog_compiler_static_CXX='-non_shared'
15400 # CC pic flag -KPIC is the default.
15406 linux* | k*bsd*-gnu)
15407 case $cc_basename in
15410 lt_prog_compiler_wl_CXX='--backend -Wl,'
15411 lt_prog_compiler_pic_CXX='-fPIC'
15414 # old Intel C++ for x86_64 which still supported -KPIC.
15415 lt_prog_compiler_wl_CXX='-Wl,'
15416 lt_prog_compiler_pic_CXX='-KPIC'
15417 lt_prog_compiler_static_CXX='-static'
15420 # Intel C++, used to be incompatible with GCC.
15421 # ICC 10 doesn't accept -KPIC any more.
15422 lt_prog_compiler_wl_CXX='-Wl,'
15423 lt_prog_compiler_pic_CXX='-fPIC'
15424 lt_prog_compiler_static_CXX='-static'
15427 # Portland Group C++ compiler
15428 lt_prog_compiler_wl_CXX='-Wl,'
15429 lt_prog_compiler_pic_CXX='-fpic'
15430 lt_prog_compiler_static_CXX='-Bstatic'
15434 # Make sure the PIC flag is empty. It appears that all Alpha
15435 # Linux and Compaq Tru64 Unix objects are PIC.
15436 lt_prog_compiler_pic_CXX=
15437 lt_prog_compiler_static_CXX='-non_shared'
15440 # IBM XL 8.0 on PPC
15441 lt_prog_compiler_wl_CXX='-Wl,'
15442 lt_prog_compiler_pic_CXX='-qpic'
15443 lt_prog_compiler_static_CXX='-qstaticlink'
15446 case `$CC -V 2>&1 | sed 5q` in
15449 lt_prog_compiler_pic_CXX='-KPIC'
15450 lt_prog_compiler_static_CXX='-Bstatic'
15451 lt_prog_compiler_wl_CXX='-Qoption ld '
15462 case $cc_basename in
15464 lt_prog_compiler_pic_CXX='-W c,exportall'
15470 netbsd* | netbsdelf*-gnu)
15473 # QNX uses GNU C++, but need to define -shared option too, otherwise
15474 # it will coredump.
15475 lt_prog_compiler_pic_CXX='-fPIC -shared'
15477 osf3* | osf4* | osf5*)
15478 case $cc_basename in
15480 lt_prog_compiler_wl_CXX='--backend -Wl,'
15483 # Rational C++ 2.4.1
15484 lt_prog_compiler_pic_CXX='-pic'
15487 # Digital/Compaq C++
15488 lt_prog_compiler_wl_CXX='-Wl,'
15489 # Make sure the PIC flag is empty. It appears that all Alpha
15490 # Linux and Compaq Tru64 Unix objects are PIC.
15491 lt_prog_compiler_pic_CXX=
15492 lt_prog_compiler_static_CXX='-non_shared'
15501 case $cc_basename in
15503 # Sun C++ 4.2, 5.x and Centerline C++
15504 lt_prog_compiler_pic_CXX='-KPIC'
15505 lt_prog_compiler_static_CXX='-Bstatic'
15506 lt_prog_compiler_wl_CXX='-Qoption ld '
15509 # Green Hills C++ Compiler
15510 lt_prog_compiler_pic_CXX='-PIC'
15517 case $cc_basename in
15520 lt_prog_compiler_pic_CXX='-pic'
15521 lt_prog_compiler_static_CXX='-Bstatic'
15525 lt_prog_compiler_pic_CXX='-pic'
15531 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15532 case $cc_basename in
15534 lt_prog_compiler_wl_CXX='-Wl,'
15535 lt_prog_compiler_pic_CXX='-KPIC'
15536 lt_prog_compiler_static_CXX='-Bstatic'
15541 case $cc_basename in
15543 # NonStop-UX NCC 3.20
15544 lt_prog_compiler_pic_CXX='-KPIC'
15553 lt_prog_compiler_can_build_shared_CXX=no
15559 # For platforms which do not support PIC, -DPIC is meaningless:
15561 lt_prog_compiler_pic_CXX=
15564 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15567 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15568 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15573 # Check to make sure the PIC flag actually works.
15575 if test -n "$lt_prog_compiler_pic_CXX"; then
15576 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15577 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15578 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
15579 $as_echo_n "(cached) " >&6
15581 lt_cv_prog_compiler_pic_works_CXX=no
15582 ac_outfile=conftest.$ac_objext
15583 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15584 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15585 # Insert the option either (1) after the last *FLAGS variable, or
15586 # (2) before a word containing "conftest.", or (3) at the end.
15587 # Note that $ac_compile itself does not contain backslashes and begins
15588 # with a dollar sign (not a hyphen), so the echo should work correctly.
15589 # The option is referenced via a variable to avoid confusing sed.
15590 lt_compile=`echo "$ac_compile" | $SED \
15591 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15592 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15593 -e 's:$: $lt_compiler_flag:'`
15594 (eval echo "\"\$as_me:15594: $lt_compile\"" >&5)
15595 (eval "$lt_compile" 2>conftest.err)
15597 cat conftest.err >&5
15598 echo "$as_me:15598: \$? = $ac_status" >&5
15599 if (exit $ac_status) && test -s "$ac_outfile"; then
15600 # The compiler can only warn and ignore the option if not recognized
15601 # So say no if there are warnings other than the usual output.
15602 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15603 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15604 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15605 lt_cv_prog_compiler_pic_works_CXX=yes
15611 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15612 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15614 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15615 case $lt_prog_compiler_pic_CXX in
15617 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15620 lt_prog_compiler_pic_CXX=
15621 lt_prog_compiler_can_build_shared_CXX=no
15629 # Check to make sure the static flag actually works.
15631 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15632 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15633 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15634 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
15635 $as_echo_n "(cached) " >&6
15637 lt_cv_prog_compiler_static_works_CXX=no
15638 save_LDFLAGS="$LDFLAGS"
15639 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15640 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15641 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15642 # The linker can only warn and ignore the option if not recognized
15643 # So say no if there are warnings
15644 if test -s conftest.err; then
15645 # Append any errors to the config.log.
15646 cat conftest.err 1>&5
15647 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15648 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15649 if diff conftest.exp conftest.er2 >/dev/null; then
15650 lt_cv_prog_compiler_static_works_CXX=yes
15653 lt_cv_prog_compiler_static_works_CXX=yes
15657 LDFLAGS="$save_LDFLAGS"
15660 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15661 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15663 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15666 lt_prog_compiler_static_CXX=
15672 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15673 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15674 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15675 $as_echo_n "(cached) " >&6
15677 lt_cv_prog_compiler_c_o_CXX=no
15678 $RM -r conftest 2>/dev/null
15682 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15684 lt_compiler_flag="-o out/conftest2.$ac_objext"
15685 # Insert the option either (1) after the last *FLAGS variable, or
15686 # (2) before a word containing "conftest.", or (3) at the end.
15687 # Note that $ac_compile itself does not contain backslashes and begins
15688 # with a dollar sign (not a hyphen), so the echo should work correctly.
15689 lt_compile=`echo "$ac_compile" | $SED \
15690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15691 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15692 -e 's:$: $lt_compiler_flag:'`
15693 (eval echo "\"\$as_me:15693: $lt_compile\"" >&5)
15694 (eval "$lt_compile" 2>out/conftest.err)
15696 cat out/conftest.err >&5
15697 echo "$as_me:15697: \$? = $ac_status" >&5
15698 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15700 # The compiler can only warn and ignore the option if not recognized
15701 # So say no if there are warnings
15702 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15703 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15704 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15705 lt_cv_prog_compiler_c_o_CXX=yes
15710 # SGI C++ compiler will create directory out/ii_files/ for
15711 # template instantiation
15712 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15713 $RM out/* && rmdir out
15719 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15720 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15724 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15725 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15726 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15727 $as_echo_n "(cached) " >&6
15729 lt_cv_prog_compiler_c_o_CXX=no
15730 $RM -r conftest 2>/dev/null
15734 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15736 lt_compiler_flag="-o out/conftest2.$ac_objext"
15737 # Insert the option either (1) after the last *FLAGS variable, or
15738 # (2) before a word containing "conftest.", or (3) at the end.
15739 # Note that $ac_compile itself does not contain backslashes and begins
15740 # with a dollar sign (not a hyphen), so the echo should work correctly.
15741 lt_compile=`echo "$ac_compile" | $SED \
15742 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15743 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15744 -e 's:$: $lt_compiler_flag:'`
15745 (eval echo "\"\$as_me:15745: $lt_compile\"" >&5)
15746 (eval "$lt_compile" 2>out/conftest.err)
15748 cat out/conftest.err >&5
15749 echo "$as_me:15749: \$? = $ac_status" >&5
15750 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15752 # The compiler can only warn and ignore the option if not recognized
15753 # So say no if there are warnings
15754 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15755 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15756 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15757 lt_cv_prog_compiler_c_o_CXX=yes
15762 # SGI C++ compiler will create directory out/ii_files/ for
15763 # template instantiation
15764 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15765 $RM out/* && rmdir out
15771 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15772 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15777 hard_links="nottested"
15778 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15779 # do not overwrite the value of need_locks provided by the user
15780 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15781 $as_echo_n "checking if we can lock with hard links... " >&6; }
15784 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15786 ln conftest.a conftest.b 2>&5 || hard_links=no
15787 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15788 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
15789 $as_echo "$hard_links" >&6; }
15790 if test "$hard_links" = no; then
15791 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15792 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15801 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15802 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15804 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15807 # If we're using GNU nm, then we don't want the "-C" option.
15808 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15809 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15810 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'
15812 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'
15816 export_symbols_cmds_CXX="$ltdll_cmds"
15818 cygwin* | mingw* | cegcc*)
15819 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'
15821 linux* | k*bsd*-gnu)
15822 link_all_deplibs_CXX=no
15825 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15828 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15830 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15831 $as_echo "$ld_shlibs_CXX" >&6; }
15832 test "$ld_shlibs_CXX" = no && can_build_shared=no
15834 with_gnu_ld_CXX=$with_gnu_ld
15842 # Do we need to explicitly link libc?
15844 case "x$archive_cmds_need_lc_CXX" in
15846 # Assume -lc should be added
15847 archive_cmds_need_lc_CXX=yes
15849 if test "$enable_shared" = yes && test "$GCC" = yes; then
15850 case $archive_cmds_CXX in
15852 # FIXME: we may have to deal with multi-command sequences.
15855 # Test whether the compiler implicitly links with -lc since on some
15856 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15857 # to ld, don't add -lc before -lgcc.
15858 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15859 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15861 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15864 (eval $ac_compile) 2>&5
15866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } 2>conftest.err; then
15870 libobjs=conftest.$ac_objext
15872 wl=$lt_prog_compiler_wl_CXX
15873 pic_flag=$lt_prog_compiler_pic_CXX
15879 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15880 allow_undefined_flag_CXX=
15881 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15882 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }
15887 archive_cmds_need_lc_CXX=no
15889 archive_cmds_need_lc_CXX=yes
15891 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15893 cat conftest.err 1>&5
15896 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15897 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
15967 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15968 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15970 library_names_spec=
15971 libname_spec='lib$name'
15975 postuninstall_cmds=
15979 shlibpath_overrides_runpath=unknown
15981 dynamic_linker="$host_os ld.so"
15982 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15983 need_lib_prefix=unknown
15984 hardcode_into_libs=no
15986 # when you set need_version to no, make sure it does not cause -set_version
15987 # flags to be left without arguments
15988 need_version=unknown
15993 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15994 shlibpath_var=LIBPATH
15996 # AIX 3 has no versioning support, so we append a major version to the name.
15997 soname_spec='${libname}${release}${shared_ext}$major'
16004 hardcode_into_libs=yes
16005 if test "$host_cpu" = ia64; then
16006 # AIX 5 supports IA64
16007 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16008 shlibpath_var=LD_LIBRARY_PATH
16010 # With GCC up to 2.95.x, collect2 would create an import file
16011 # for dependence libraries. The import file would start with
16012 # the line `#! .'. This would cause the generated library to
16013 # depend on `.', always an invalid library. This was fixed in
16014 # development snapshots of GCC prior to 3.0.
16016 aix4 | aix4.[01] | aix4.[01].*)
16017 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16019 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16022 can_build_shared=no
16026 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16027 # soname into executable. Probably we can add versioning support to
16028 # collect2, so additional links can be useful in future.
16029 if test "$aix_use_runtimelinking" = yes; then
16030 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16031 # instead of lib<name>.a to let people know that these are not
16032 # typical AIX shared libraries.
16033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16035 # We preserve .a as extension for shared libraries through AIX4.2
16036 # and later when we are not doing run time linking.
16037 library_names_spec='${libname}${release}.a $libname.a'
16038 soname_spec='${libname}${release}${shared_ext}$major'
16040 shlibpath_var=LIBPATH
16047 # Since July 2007 AmigaOS4 officially supports .so libraries.
16048 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16052 library_names_spec='$libname.ixlibrary $libname.a'
16053 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16054 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'
16060 library_names_spec='${libname}${shared_ext}'
16061 dynamic_linker="$host_os ld.so"
16062 shlibpath_var=LIBRARY_PATH
16068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16069 soname_spec='${libname}${release}${shared_ext}$major'
16070 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16071 shlibpath_var=LD_LIBRARY_PATH
16072 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16073 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16074 # the default ld.so.conf also contains /usr/contrib/lib and
16075 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16076 # libtool to hard-code these into programs
16079 cygwin* | mingw* | pw32* | cegcc*)
16080 version_type=windows
16085 case $GCC,$host_os in
16086 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16087 library_names_spec='$libname.dll.a'
16088 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16089 postinstall_cmds='base_file=`basename \${file}`~
16090 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16091 dldir=$destdir/`dirname \$dlpath`~
16092 test -d \$dldir || mkdir -p \$dldir~
16093 $install_prog $dir/$dlname \$dldir/$dlname~
16094 chmod a+x \$dldir/$dlname~
16095 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16096 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16098 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16099 dlpath=$dir/\$dldll~
16101 shlibpath_overrides_runpath=yes
16105 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16106 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16107 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16110 # MinGW DLLs use traditional 'lib' prefix
16111 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16112 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16113 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16114 # It is most probably a Windows format PATH printed by
16115 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16116 # path with ; separators, and with drive letters. We can handle the
16117 # drive letters (cygwin fileutils understands them), so leave them,
16118 # especially as we might pass files found there to a mingw objdump,
16119 # which wouldn't understand a cygwinified path. Ahh.
16120 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16122 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16126 # pw32 DLLs use 'pw' prefix rather than 'lib'
16127 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16133 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16136 dynamic_linker='Win32 ld.exe'
16137 # FIXME: first we should search . and the directory the executable is in
16141 darwin* | rhapsody*)
16142 dynamic_linker="$host_os dyld"
16143 version_type=darwin
16146 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16147 soname_spec='${libname}${release}${major}$shared_ext'
16148 shlibpath_overrides_runpath=yes
16149 shlibpath_var=DYLD_LIBRARY_PATH
16150 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16152 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16160 soname_spec='${libname}${release}${shared_ext}$major'
16161 shlibpath_var=LD_LIBRARY_PATH
16168 freebsd* | dragonfly*)
16169 # DragonFly does not have aout. When/if they implement a new
16170 # versioning mechanism, adjust this.
16171 if test -x /usr/bin/objformat; then
16172 objformat=`/usr/bin/objformat`
16175 freebsd[123]*) objformat=aout ;;
16176 *) objformat=elf ;;
16179 version_type=freebsd-$objformat
16180 case $version_type in
16182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16187 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16191 shlibpath_var=LD_LIBRARY_PATH
16194 shlibpath_overrides_runpath=yes
16196 freebsd3.[01]* | freebsdelf3.[01]*)
16197 shlibpath_overrides_runpath=yes
16198 hardcode_into_libs=yes
16200 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16201 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16202 shlibpath_overrides_runpath=no
16203 hardcode_into_libs=yes
16205 *) # from 4.6 on, and DragonFly
16206 shlibpath_overrides_runpath=yes
16207 hardcode_into_libs=yes
16216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16217 soname_spec='${libname}${release}${shared_ext}$major'
16218 shlibpath_var=LD_LIBRARY_PATH
16219 hardcode_into_libs=yes
16222 hpux9* | hpux10* | hpux11*)
16223 # Give a soname corresponding to the major version so that dld.sl refuses to
16224 # link against other versions.
16231 hardcode_into_libs=yes
16232 dynamic_linker="$host_os dld.so"
16233 shlibpath_var=LD_LIBRARY_PATH
16234 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16236 soname_spec='${libname}${release}${shared_ext}$major'
16237 if test "X$HPUX_IA64_MODE" = X32; then
16238 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16240 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16242 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16246 hardcode_into_libs=yes
16247 dynamic_linker="$host_os dld.sl"
16248 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16249 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16251 soname_spec='${libname}${release}${shared_ext}$major'
16252 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16253 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16257 dynamic_linker="$host_os dld.sl"
16258 shlibpath_var=SHLIB_PATH
16259 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16261 soname_spec='${libname}${release}${shared_ext}$major'
16264 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16265 postinstall_cmds='chmod 555 $lib'
16272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16273 soname_spec='${libname}${release}${shared_ext}$major'
16274 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16275 shlibpath_var=LD_LIBRARY_PATH
16276 shlibpath_overrides_runpath=no
16277 hardcode_into_libs=yes
16280 irix5* | irix6* | nonstopux*)
16282 nonstopux*) version_type=nonstopux ;;
16284 if test "$lt_cv_prog_gnu_ld" = yes; then
16292 soname_spec='${libname}${release}${shared_ext}$major'
16293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16295 irix5* | nonstopux*)
16296 libsuff= shlibsuff=
16299 case $LD in # libtool.m4 will add one of these switches to LD
16300 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16301 libsuff= shlibsuff= libmagic=32-bit;;
16302 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16303 libsuff=32 shlibsuff=N32 libmagic=N32;;
16304 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16305 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16306 *) libsuff= shlibsuff= libmagic=never-match;;
16310 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16311 shlibpath_overrides_runpath=no
16312 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16313 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16314 hardcode_into_libs=yes
16317 # No shared lib support for Linux oldld, aout, or coff.
16318 linux*oldld* | linux*aout* | linux*coff*)
16322 # This must be Linux ELF.
16323 linux* | k*bsd*-gnu)
16327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16328 soname_spec='${libname}${release}${shared_ext}$major'
16329 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16330 shlibpath_var=LD_LIBRARY_PATH
16331 shlibpath_overrides_runpath=no
16332 # Some binutils ld are patched to set DT_RUNPATH
16333 save_LDFLAGS=$LDFLAGS
16334 save_libdir=$libdir
16335 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16336 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16337 cat >conftest.$ac_ext <<_ACEOF
16340 cat confdefs.h >>conftest.$ac_ext
16341 cat >>conftest.$ac_ext <<_ACEOF
16342 /* end confdefs.h. */
16352 rm -f conftest.$ac_objext conftest$ac_exeext
16353 if { (ac_try="$ac_link"
16354 case "(($ac_try" in
16355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16356 *) ac_try_echo=$ac_try;;
16358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16359 $as_echo "$ac_try_echo") >&5
16360 (eval "$ac_link") 2>conftest.er1
16362 grep -v '^ *+' conftest.er1 >conftest.err
16364 cat conftest.err >&5
16365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); } && {
16367 test -z "$ac_cxx_werror_flag" ||
16368 test ! -s conftest.err
16369 } && test -s conftest$ac_exeext && {
16370 test "$cross_compiling" = yes ||
16371 $as_test_x conftest$ac_exeext
16373 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
16374 shlibpath_overrides_runpath=yes
16378 $as_echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.$ac_ext >&5
16384 rm -rf conftest.dSYM
16385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16386 conftest$ac_exeext conftest.$ac_ext
16387 LDFLAGS=$save_LDFLAGS
16388 libdir=$save_libdir
16390 # This implies no fast_install, which is unacceptable.
16391 # Some rework will be needed to allow for fast_install
16392 # before this can be enabled.
16393 hardcode_into_libs=yes
16395 # Append ld.so.conf contents to the search path
16396 if test -f /etc/ld.so.conf; then
16397 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16398 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16401 # We used to test for /lib/ld.so.1 and disable shared libraries on
16402 # powerpc, because MkLinux only supported shared libraries with the
16403 # GNU dynamic linker. Since this was broken with cross compilers,
16404 # most powerpc-linux boxes support dynamic linking these days and
16405 # people can always --disable-shared, the test was removed, and we
16406 # assume the GNU/Linux dynamic linker is in use.
16407 dynamic_linker='GNU/Linux ld.so'
16414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16415 soname_spec='${libname}${release}${shared_ext}$major'
16416 shlibpath_var=LD_LIBRARY_PATH
16417 shlibpath_overrides_runpath=no
16418 hardcode_into_libs=yes
16419 dynamic_linker='NetBSD ld.elf_so'
16426 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16428 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16429 dynamic_linker='NetBSD (a.out) ld.so'
16431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16432 soname_spec='${libname}${release}${shared_ext}$major'
16433 dynamic_linker='NetBSD ld.elf_so'
16435 shlibpath_var=LD_LIBRARY_PATH
16436 shlibpath_overrides_runpath=yes
16437 hardcode_into_libs=yes
16442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16443 shlibpath_var=LD_LIBRARY_PATH
16444 shlibpath_overrides_runpath=yes
16451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16452 soname_spec='${libname}${release}${shared_ext}$major'
16453 shlibpath_var=LD_LIBRARY_PATH
16454 shlibpath_overrides_runpath=no
16455 hardcode_into_libs=yes
16456 dynamic_linker='ldqnx.so'
16461 sys_lib_dlsearch_path_spec="/usr/lib"
16463 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16465 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16466 *) need_version=no ;;
16468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16469 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16470 shlibpath_var=LD_LIBRARY_PATH
16471 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16473 openbsd2.[89] | openbsd2.[89].*)
16474 shlibpath_overrides_runpath=no
16477 shlibpath_overrides_runpath=yes
16481 shlibpath_overrides_runpath=yes
16486 libname_spec='$name'
16489 library_names_spec='$libname${shared_ext} $libname.a'
16490 dynamic_linker='OS/2 ld.exe'
16491 shlibpath_var=LIBPATH
16494 osf3* | osf4* | osf5*)
16498 soname_spec='${libname}${release}${shared_ext}$major'
16499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16500 shlibpath_var=LD_LIBRARY_PATH
16501 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16502 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16514 soname_spec='${libname}${release}${shared_ext}$major'
16515 shlibpath_var=LD_LIBRARY_PATH
16516 shlibpath_overrides_runpath=yes
16517 hardcode_into_libs=yes
16518 # ldd complains unless libraries are executable
16519 postinstall_cmds='chmod +x $lib'
16524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16525 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16526 shlibpath_var=LD_LIBRARY_PATH
16527 shlibpath_overrides_runpath=yes
16528 if test "$with_gnu_ld" = yes; then
16536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16537 soname_spec='${libname}${release}${shared_ext}$major'
16538 shlibpath_var=LD_LIBRARY_PATH
16539 case $host_vendor in
16541 shlibpath_overrides_runpath=no
16543 runpath_var=LD_RUN_PATH
16551 shlibpath_overrides_runpath=no
16552 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16558 if test -d /usr/nec ;then
16560 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16561 soname_spec='$libname${shared_ext}.$major'
16562 shlibpath_var=LD_LIBRARY_PATH
16566 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16567 version_type=freebsd-elf
16570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16571 soname_spec='${libname}${release}${shared_ext}$major'
16572 shlibpath_var=LD_LIBRARY_PATH
16573 shlibpath_overrides_runpath=yes
16574 hardcode_into_libs=yes
16575 if test "$with_gnu_ld" = yes; then
16576 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16578 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16581 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16585 sys_lib_dlsearch_path_spec='/usr/lib'
16589 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16594 shlibpath_var=LD_LIBRARY_PATH
16595 shlibpath_overrides_runpath=no
16596 hardcode_into_libs=yes
16601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16602 soname_spec='${libname}${release}${shared_ext}$major'
16603 shlibpath_var=LD_LIBRARY_PATH
16610 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16611 $as_echo "$dynamic_linker" >&6; }
16612 test "$dynamic_linker" = no && can_build_shared=no
16614 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16615 if test "$GCC" = yes; then
16616 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16619 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16620 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16622 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16623 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16661 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16662 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16663 hardcode_action_CXX=
16664 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16665 test -n "$runpath_var_CXX" ||
16666 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16668 # We can hardcode non-existent directories.
16669 if test "$hardcode_direct_CXX" != no &&
16670 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16671 # have to relink, otherwise we might link with an installed library
16672 # when we should be linking with a yet-to-be-installed one
16673 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16674 test "$hardcode_minus_L_CXX" != no; then
16675 # Linking always hardcodes the temporary library directory.
16676 hardcode_action_CXX=relink
16678 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16679 hardcode_action_CXX=immediate
16682 # We cannot hardcode anything, or else we can only hardcode existing
16684 hardcode_action_CXX=unsupported
16686 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16687 $as_echo "$hardcode_action_CXX" >&6; }
16689 if test "$hardcode_action_CXX" = relink ||
16690 test "$inherit_rpath_CXX" = yes; then
16691 # Fast installation is not supported
16692 enable_fast_install=no
16693 elif test "$shlibpath_overrides_runpath" = yes ||
16694 test "$enable_shared" = no; then
16695 # Fast installation is not necessary
16696 enable_fast_install=needless
16705 fi # test -n "$compiler"
16711 with_gnu_ld=$lt_save_with_gnu_ld
16712 lt_cv_path_LDCXX=$lt_cv_path_LD
16713 lt_cv_path_LD=$lt_save_path_LD
16714 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16715 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16716 fi # test "$_lt_caught_CXX_error" != yes
16719 ac_cpp='$CPP $CPPFLAGS'
16720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16725 # Set CXXCPP to a command that runs the C++ preprocessor
16727 ac_cpp='$CXXCPP $CPPFLAGS'
16728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16731 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16732 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
16733 if test -z "$CXXCPP"; then
16734 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16735 $as_echo_n "(cached) " >&6
16737 # Double quotes because CXXCPP needs to be expanded
16738 for CXXCPP in "$CXX -E" "/lib/cpp"
16740 ac_preproc_ok=false
16741 for ac_cxx_preproc_warn_flag in '' yes
16743 # Use a header file that comes with gcc, so configuring glibc
16744 # with a fresh cross-compiler works.
16745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16746 # <limits.h> exists even on freestanding compilers.
16747 # On the NeXT, cc -E runs the code through the compiler's parser,
16748 # not just through cpp. "Syntax error" is here to catch this case.
16749 cat >conftest.$ac_ext <<_ACEOF
16752 cat confdefs.h >>conftest.$ac_ext
16753 cat >>conftest.$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16756 # include <limits.h>
16758 # include <assert.h>
16762 if { (ac_try="$ac_cpp conftest.$ac_ext"
16763 case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 *) ac_try_echo=$ac_try;;
16767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16768 $as_echo "$ac_try_echo") >&5
16769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16771 grep -v '^ *+' conftest.er1 >conftest.err
16773 cat conftest.err >&5
16774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); } >/dev/null && {
16776 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16777 test ! -s conftest.err
16781 $as_echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.$ac_ext >&5
16784 # Broken: fails on valid input.
16788 rm -f conftest.err conftest.$ac_ext
16790 # OK, works on sane cases. Now check whether nonexistent headers
16791 # can be detected and how.
16792 cat >conftest.$ac_ext <<_ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798 #include <ac_nonexistent.h>
16800 if { (ac_try="$ac_cpp conftest.$ac_ext"
16801 case "(($ac_try" in
16802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16803 *) ac_try_echo=$ac_try;;
16805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16806 $as_echo "$ac_try_echo") >&5
16807 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16809 grep -v '^ *+' conftest.er1 >conftest.err
16811 cat conftest.err >&5
16812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } >/dev/null && {
16814 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16815 test ! -s conftest.err
16817 # Broken: success on invalid input.
16820 $as_echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.$ac_ext >&5
16823 # Passes both tests.
16828 rm -f conftest.err conftest.$ac_ext
16831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16832 rm -f conftest.err conftest.$ac_ext
16833 if $ac_preproc_ok; then
16838 ac_cv_prog_CXXCPP=$CXXCPP
16841 CXXCPP=$ac_cv_prog_CXXCPP
16843 ac_cv_prog_CXXCPP=$CXXCPP
16845 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
16846 $as_echo "$CXXCPP" >&6; }
16847 ac_preproc_ok=false
16848 for ac_cxx_preproc_warn_flag in '' yes
16850 # Use a header file that comes with gcc, so configuring glibc
16851 # with a fresh cross-compiler works.
16852 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16853 # <limits.h> exists even on freestanding compilers.
16854 # On the NeXT, cc -E runs the code through the compiler's parser,
16855 # not just through cpp. "Syntax error" is here to catch this case.
16856 cat >conftest.$ac_ext <<_ACEOF
16859 cat confdefs.h >>conftest.$ac_ext
16860 cat >>conftest.$ac_ext <<_ACEOF
16861 /* end confdefs.h. */
16863 # include <limits.h>
16865 # include <assert.h>
16869 if { (ac_try="$ac_cpp conftest.$ac_ext"
16870 case "(($ac_try" in
16871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16872 *) ac_try_echo=$ac_try;;
16874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16875 $as_echo "$ac_try_echo") >&5
16876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16878 grep -v '^ *+' conftest.er1 >conftest.err
16880 cat conftest.err >&5
16881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } >/dev/null && {
16883 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16884 test ! -s conftest.err
16888 $as_echo "$as_me: failed program was:" >&5
16889 sed 's/^/| /' conftest.$ac_ext >&5
16891 # Broken: fails on valid input.
16895 rm -f conftest.err conftest.$ac_ext
16897 # OK, works on sane cases. Now check whether nonexistent headers
16898 # can be detected and how.
16899 cat >conftest.$ac_ext <<_ACEOF
16902 cat confdefs.h >>conftest.$ac_ext
16903 cat >>conftest.$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16905 #include <ac_nonexistent.h>
16907 if { (ac_try="$ac_cpp conftest.$ac_ext"
16908 case "(($ac_try" in
16909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16910 *) ac_try_echo=$ac_try;;
16912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16913 $as_echo "$ac_try_echo") >&5
16914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16916 grep -v '^ *+' conftest.er1 >conftest.err
16918 cat conftest.err >&5
16919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } >/dev/null && {
16921 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16922 test ! -s conftest.err
16924 # Broken: success on invalid input.
16927 $as_echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.$ac_ext >&5
16930 # Passes both tests.
16935 rm -f conftest.err conftest.$ac_ext
16938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16939 rm -f conftest.err conftest.$ac_ext
16940 if $ac_preproc_ok; then
16943 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16945 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16946 See \`config.log' for more details." >&5
16947 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16948 See \`config.log' for more details." >&2;}
16949 { (exit 1); exit 1; }; }; }
16953 ac_cpp='$CPP $CPPFLAGS'
16954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16959 # reset compiler flags to initial flags
16960 #CXXFLAGS=$OLD_CXXFLAGS
16965 # safety check: AC_CONFIG_SRCDIR([src/clustal.h])
16967 # Let source files know in which context they are being used
16969 cat >>confdefs.h <<\_ACEOF
16975 cat >>confdefs.h <<_ACEOF
16976 #define PACKAGE_CODENAME "$PACKAGE_CODENAME"
16982 #AC_PATH_PROG(svnversioncommand, svnversion)
16983 #if test "X$svnversioncommand" = "X" || test `$svnversioncommand -n '.'` = "exported"; then
16984 #AC_DEFINE_UNQUOTED(SVN_VERSION, ["`cat saved_svn_version.txt`"], [repository svn version])
16986 #AC_DEFINE_UNQUOTED(SVN_VERSION, ["`svnversion -n`"], [repository svn version])
16987 #`svnversion -n > saved_svn_version.txt`
16993 # AW: we might need this in the future
16997 # AC_DEFINE(LINUX,1,[This is a Linux system])
16999 cat >>confdefs.h <<_ACEOF
17003 # AM_CONDITIONAL(HAVE_GNU_LD, true)
17004 # AM_CONDITIONAL(SOMEBSD, false)
17005 # XTRA_CPPLIBS=-lstdc++
17010 cat >>confdefs.h <<_ACEOF
17014 # AC_CHECK_LIB(c_r, pthread_create)
17015 # AM_CONDITIONAL(HAVE_GNU_LD, true)
17016 # AM_CONDITIONAL(SOMEBSD, true)
17017 # XTRA_CPPLIBS=-lstdc++
17022 cat >>confdefs.h <<_ACEOF
17026 # AC_CHECK_LIB(c_r, pthread_create)
17027 # AM_CONDITIONAL(HAVE_GNU_LD, true)
17028 # AM_CONDITIONAL(SOMEBSD, true)
17029 # XTRA_CPPLIBS=-lstdc++
17034 cat >>confdefs.h <<_ACEOF
17038 # AC_CHECK_LIB(c_r, pthread_create)
17039 # AM_CONDITIONAL(HAVE_GNU_LD, true)
17040 # AM_CONDITIONAL(SOMEBSD, true)
17041 # XTRA_CPPLIBS=-lstdc++
17046 cat >>confdefs.h <<_ACEOF
17050 # AC_CHECK_LIB(resolv, res_init)
17051 # XTRA_CPPLIBS=-lstdc++
17052 # AM_CONDITIONAL(HAVE_GNU_LD, false)
17053 # AM_CONDITIONAL(SOMEBSD, false)
17054 # CFLAGS="-D_POSIX_PTHREAD_SEMANTICS $CFLAGS"
17059 cat >>confdefs.h <<_ACEOF
17063 # AM_CONDITIONAL(HAVE_GNU_LD, false)
17064 # AM_CONDITIONAL(SOMEBSD, false)
17065 # CFLAGS="-fno-common $CFLAGS"
17070 cat >>confdefs.h <<_ACEOF
17074 # LDFLAGS="$LDFLAGS -no-undefined"
17075 # AM_CONDITIONAL(SOMEBSD, false)
17076 # AM_CONDITIONAL(HAVE_GNU_LD, false)
17081 cat >>confdefs.h <<_ACEOF
17085 # AC_DEFINE_UNQUOTED(WINDOWS,1,[This is a Windows system])
17086 # AC_CHECK_LIB(intl, gettext)
17087 # AC_CHECK_LIB(ws2_32, _head_libws2_32_a,,[AC_MSG_ERROR([libextractor requires Winsock2])])
17088 # AC_CHECK_LIB(plibc, plibc_init,,[AC_MSG_ERROR([libextractor requires PlibC])])
17089 # LDFLAGS="$LDFLAGS -no-undefined -Wl,--export-all-symbols"
17091 # AM_CONDITIONAL(HAVE_GNU_LD, true)
17092 # AM_CONDITIONAL(SOMEBSD, false)
17096 # AC_MSG_RESULT(Unrecognised OS $host_os)
17098 cat >>confdefs.h <<_ACEOF
17102 # AC_MSG_RESULT(otheros)
17103 # AM_CONDITIONAL(HAVE_GNU_LD, false)
17104 # AM_CONDITIONAL(SOMEBSD, false)
17111 # Checks for standard header files.
17112 # obsolescent according to http://www.gnu.org/software/hello/manual/autoconf/Particular-Headers.html
17113 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17114 $as_echo_n "checking for ANSI C header files... " >&6; }
17115 if test "${ac_cv_header_stdc+set}" = set; then
17116 $as_echo_n "(cached) " >&6
17118 cat >conftest.$ac_ext <<_ACEOF
17121 cat confdefs.h >>conftest.$ac_ext
17122 cat >>conftest.$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 #include <stdlib.h>
17125 #include <stdarg.h>
17126 #include <string.h>
17137 rm -f conftest.$ac_objext
17138 if { (ac_try="$ac_compile"
17139 case "(($ac_try" in
17140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17141 *) ac_try_echo=$ac_try;;
17143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17144 $as_echo "$ac_try_echo") >&5
17145 (eval "$ac_compile") 2>conftest.er1
17147 grep -v '^ *+' conftest.er1 >conftest.err
17149 cat conftest.err >&5
17150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); } && {
17152 test -z "$ac_c_werror_flag" ||
17153 test ! -s conftest.err
17154 } && test -s conftest.$ac_objext; then
17155 ac_cv_header_stdc=yes
17157 $as_echo "$as_me: failed program was:" >&5
17158 sed 's/^/| /' conftest.$ac_ext >&5
17160 ac_cv_header_stdc=no
17163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17165 if test $ac_cv_header_stdc = yes; then
17166 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17167 cat >conftest.$ac_ext <<_ACEOF
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 #include <string.h>
17176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17177 $EGREP "memchr" >/dev/null 2>&1; then
17180 ac_cv_header_stdc=no
17186 if test $ac_cv_header_stdc = yes; then
17187 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17188 cat >conftest.$ac_ext <<_ACEOF
17191 cat confdefs.h >>conftest.$ac_ext
17192 cat >>conftest.$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 #include <stdlib.h>
17197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17198 $EGREP "free" >/dev/null 2>&1; then
17201 ac_cv_header_stdc=no
17207 if test $ac_cv_header_stdc = yes; then
17208 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17209 if test "$cross_compiling" = yes; then
17212 cat >conftest.$ac_ext <<_ACEOF
17215 cat confdefs.h >>conftest.$ac_ext
17216 cat >>conftest.$ac_ext <<_ACEOF
17217 /* end confdefs.h. */
17219 #include <stdlib.h>
17220 #if ((' ' & 0x0FF) == 0x020)
17221 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17222 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17224 # define ISLOWER(c) \
17225 (('a' <= (c) && (c) <= 'i') \
17226 || ('j' <= (c) && (c) <= 'r') \
17227 || ('s' <= (c) && (c) <= 'z'))
17228 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17231 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17236 for (i = 0; i < 256; i++)
17237 if (XOR (islower (i), ISLOWER (i))
17238 || toupper (i) != TOUPPER (i))
17243 rm -f conftest$ac_exeext
17244 if { (ac_try="$ac_link"
17245 case "(($ac_try" in
17246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17247 *) ac_try_echo=$ac_try;;
17249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17250 $as_echo "$ac_try_echo") >&5
17251 (eval "$ac_link") 2>&5
17253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17255 { (case "(($ac_try" in
17256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17257 *) ac_try_echo=$ac_try;;
17259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17260 $as_echo "$ac_try_echo") >&5
17261 (eval "$ac_try") 2>&5
17263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; }; then
17267 $as_echo "$as_me: program exited with status $ac_status" >&5
17268 $as_echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.$ac_ext >&5
17271 ( exit $ac_status )
17272 ac_cv_header_stdc=no
17274 rm -rf conftest.dSYM
17275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17281 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17282 $as_echo "$ac_cv_header_stdc" >&6; }
17283 if test $ac_cv_header_stdc = yes; then
17285 cat >>confdefs.h <<\_ACEOF
17286 #define STDC_HEADERS 1
17291 # Guess the next one is obsolete as well then?
17304 for ac_header in assert.h ctype.h float.h limits.h math.h memory.h stdarg.h stdio.h stdlib.h string.h time.h unistd.h
17306 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17308 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17309 $as_echo_n "checking for $ac_header... " >&6; }
17310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17311 $as_echo_n "(cached) " >&6
17313 ac_res=`eval 'as_val=${'$as_ac_Header'}
17314 $as_echo "$as_val"'`
17315 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17316 $as_echo "$ac_res" >&6; }
17318 # Is the header compilable?
17319 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17320 $as_echo_n "checking $ac_header usability... " >&6; }
17321 cat >conftest.$ac_ext <<_ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 $ac_includes_default
17328 #include <$ac_header>
17330 rm -f conftest.$ac_objext
17331 if { (ac_try="$ac_compile"
17332 case "(($ac_try" in
17333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17337 $as_echo "$ac_try_echo") >&5
17338 (eval "$ac_compile") 2>conftest.er1
17340 grep -v '^ *+' conftest.er1 >conftest.err
17342 cat conftest.err >&5
17343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } && {
17345 test -z "$ac_c_werror_flag" ||
17346 test ! -s conftest.err
17347 } && test -s conftest.$ac_objext; then
17348 ac_header_compiler=yes
17350 $as_echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17353 ac_header_compiler=no
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17357 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17358 $as_echo "$ac_header_compiler" >&6; }
17360 # Is the header present?
17361 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17362 $as_echo_n "checking $ac_header presence... " >&6; }
17363 cat >conftest.$ac_ext <<_ACEOF
17366 cat confdefs.h >>conftest.$ac_ext
17367 cat >>conftest.$ac_ext <<_ACEOF
17368 /* end confdefs.h. */
17369 #include <$ac_header>
17371 if { (ac_try="$ac_cpp conftest.$ac_ext"
17372 case "(($ac_try" in
17373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17374 *) ac_try_echo=$ac_try;;
17376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17377 $as_echo "$ac_try_echo") >&5
17378 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17380 grep -v '^ *+' conftest.er1 >conftest.err
17382 cat conftest.err >&5
17383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); } >/dev/null && {
17385 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17386 test ! -s conftest.err
17388 ac_header_preproc=yes
17390 $as_echo "$as_me: failed program was:" >&5
17391 sed 's/^/| /' conftest.$ac_ext >&5
17393 ac_header_preproc=no
17396 rm -f conftest.err conftest.$ac_ext
17397 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17398 $as_echo "$ac_header_preproc" >&6; }
17400 # So? What about this header?
17401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17403 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17404 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17405 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17406 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17407 ac_header_preproc=yes
17410 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17411 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17412 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17413 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17414 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17415 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17416 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17417 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17418 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17419 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17420 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17421 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17423 ## ------------------------------ ##
17424 ## Report this to clustalw@ucd.ie ##
17425 ## ------------------------------ ##
17427 ) | sed "s/^/$as_me: WARNING: /" >&2
17430 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17431 $as_echo_n "checking for $ac_header... " >&6; }
17432 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17433 $as_echo_n "(cached) " >&6
17435 eval "$as_ac_Header=\$ac_header_preproc"
17437 ac_res=`eval 'as_val=${'$as_ac_Header'}
17438 $as_echo "$as_val"'`
17439 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17440 $as_echo "$ac_res" >&6; }
17443 as_val=`eval 'as_val=${'$as_ac_Header'}
17444 $as_echo "$as_val"'`
17445 if test "x$as_val" = x""yes; then
17446 cat >>confdefs.h <<_ACEOF
17447 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17454 # awk '/^#include *</ {print $2}' $(find src/ -name \*.[ch] -or -name \*.cpp) | grep -v argtable2.h | sort -u | tr -d '<>'
17456 # Checks for typedefs, structures, and compiler characteristics.
17457 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17458 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17459 if test "${ac_cv_c_const+set}" = set; then
17460 $as_echo_n "(cached) " >&6
17462 cat >conftest.$ac_ext <<_ACEOF
17465 cat confdefs.h >>conftest.$ac_ext
17466 cat >>conftest.$ac_ext <<_ACEOF
17467 /* end confdefs.h. */
17472 /* FIXME: Include the comments suggested by Paul. */
17473 #ifndef __cplusplus
17474 /* Ultrix mips cc rejects this. */
17475 typedef int charset[2];
17477 /* SunOS 4.1.1 cc rejects this. */
17478 char const *const *pcpcc;
17480 /* NEC SVR4.0.2 mips cc rejects this. */
17481 struct point {int x, y;};
17482 static struct point const zero = {0,0};
17483 /* AIX XL C 1.02.0.0 rejects this.
17484 It does not let you subtract one const X* pointer from another in
17485 an arm of an if-expression whose if-part is not a constant
17487 const char *g = "string";
17488 pcpcc = &g + (g ? g-g : 0);
17489 /* HPUX 7.0 cc rejects these. */
17491 ppc = (char**) pcpcc;
17492 pcpcc = (char const *const *) ppc;
17493 { /* SCO 3.2v4 cc rejects this. */
17495 char const *s = 0 ? (char *) 0 : (char const *) 0;
17500 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17501 int x[] = {25, 17};
17502 const int *foo = &x[0];
17505 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17506 typedef const int *iptr;
17510 { /* AIX XL C 1.02.0.0 rejects this saying
17511 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17512 struct s { int j; const int *ap[3]; };
17513 struct s *b; b->j = 5;
17515 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17516 const int foo = 10;
17517 if (!foo) return 0;
17519 return !cs[0] && !zero.x;
17526 rm -f conftest.$ac_objext
17527 if { (ac_try="$ac_compile"
17528 case "(($ac_try" in
17529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17530 *) ac_try_echo=$ac_try;;
17532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17533 $as_echo "$ac_try_echo") >&5
17534 (eval "$ac_compile") 2>conftest.er1
17536 grep -v '^ *+' conftest.er1 >conftest.err
17538 cat conftest.err >&5
17539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); } && {
17541 test -z "$ac_c_werror_flag" ||
17542 test ! -s conftest.err
17543 } && test -s conftest.$ac_objext; then
17546 $as_echo "$as_me: failed program was:" >&5
17547 sed 's/^/| /' conftest.$ac_ext >&5
17552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17554 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17555 $as_echo "$ac_cv_c_const" >&6; }
17556 if test $ac_cv_c_const = no; then
17558 cat >>confdefs.h <<\_ACEOF
17564 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
17565 $as_echo_n "checking for size_t... " >&6; }
17566 if test "${ac_cv_type_size_t+set}" = set; then
17567 $as_echo_n "(cached) " >&6
17569 ac_cv_type_size_t=no
17570 cat >conftest.$ac_ext <<_ACEOF
17573 cat confdefs.h >>conftest.$ac_ext
17574 cat >>conftest.$ac_ext <<_ACEOF
17575 /* end confdefs.h. */
17576 $ac_includes_default
17580 if (sizeof (size_t))
17586 rm -f conftest.$ac_objext
17587 if { (ac_try="$ac_compile"
17588 case "(($ac_try" in
17589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17590 *) ac_try_echo=$ac_try;;
17592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17593 $as_echo "$ac_try_echo") >&5
17594 (eval "$ac_compile") 2>conftest.er1
17596 grep -v '^ *+' conftest.er1 >conftest.err
17598 cat conftest.err >&5
17599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } && {
17601 test -z "$ac_c_werror_flag" ||
17602 test ! -s conftest.err
17603 } && test -s conftest.$ac_objext; then
17604 cat >conftest.$ac_ext <<_ACEOF
17607 cat confdefs.h >>conftest.$ac_ext
17608 cat >>conftest.$ac_ext <<_ACEOF
17609 /* end confdefs.h. */
17610 $ac_includes_default
17614 if (sizeof ((size_t)))
17620 rm -f conftest.$ac_objext
17621 if { (ac_try="$ac_compile"
17622 case "(($ac_try" in
17623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17624 *) ac_try_echo=$ac_try;;
17626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17627 $as_echo "$ac_try_echo") >&5
17628 (eval "$ac_compile") 2>conftest.er1
17630 grep -v '^ *+' conftest.er1 >conftest.err
17632 cat conftest.err >&5
17633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); } && {
17635 test -z "$ac_c_werror_flag" ||
17636 test ! -s conftest.err
17637 } && test -s conftest.$ac_objext; then
17640 $as_echo "$as_me: failed program was:" >&5
17641 sed 's/^/| /' conftest.$ac_ext >&5
17643 ac_cv_type_size_t=yes
17646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17648 $as_echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.$ac_ext >&5
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17657 $as_echo "$ac_cv_type_size_t" >&6; }
17658 if test "x$ac_cv_type_size_t" = x""yes; then
17662 cat >>confdefs.h <<_ACEOF
17663 #define size_t unsigned int
17668 { $as_echo "$as_me:$LINENO: checking for inline" >&5
17669 $as_echo_n "checking for inline... " >&6; }
17670 if test "${ac_cv_c_inline+set}" = set; then
17671 $as_echo_n "(cached) " >&6
17674 for ac_kw in inline __inline__ __inline; do
17675 cat >conftest.$ac_ext <<_ACEOF
17678 cat confdefs.h >>conftest.$ac_ext
17679 cat >>conftest.$ac_ext <<_ACEOF
17680 /* end confdefs.h. */
17681 #ifndef __cplusplus
17683 static $ac_kw foo_t static_foo () {return 0; }
17684 $ac_kw foo_t foo () {return 0; }
17688 rm -f conftest.$ac_objext
17689 if { (ac_try="$ac_compile"
17690 case "(($ac_try" in
17691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17692 *) ac_try_echo=$ac_try;;
17694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17695 $as_echo "$ac_try_echo") >&5
17696 (eval "$ac_compile") 2>conftest.er1
17698 grep -v '^ *+' conftest.er1 >conftest.err
17700 cat conftest.err >&5
17701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); } && {
17703 test -z "$ac_c_werror_flag" ||
17704 test ! -s conftest.err
17705 } && test -s conftest.$ac_objext; then
17706 ac_cv_c_inline=$ac_kw
17708 $as_echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.$ac_ext >&5
17714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17715 test "$ac_cv_c_inline" != no && break
17719 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17720 $as_echo "$ac_cv_c_inline" >&6; }
17723 case $ac_cv_c_inline in
17726 case $ac_cv_c_inline in
17728 *) ac_val=$ac_cv_c_inline;;
17730 cat >>confdefs.h <<_ACEOF
17731 #ifndef __cplusplus
17732 #define inline $ac_val
17739 # Checks for library functions.
17740 # AC_CHECK_FUNCS(strdup strstr strchr erand48)
17741 # AW is there an automatic way to extract library functions used in the program?
17744 # explicit libm check
17746 { $as_echo "$as_me:$LINENO: checking for log in -lm" >&5
17747 $as_echo_n "checking for log in -lm... " >&6; }
17748 if test "${ac_cv_lib_m_log+set}" = set; then
17749 $as_echo_n "(cached) " >&6
17751 ac_check_lib_save_LIBS=$LIBS
17753 cat >conftest.$ac_ext <<_ACEOF
17756 cat confdefs.h >>conftest.$ac_ext
17757 cat >>conftest.$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17760 /* Override any GCC internal prototype to avoid an error.
17761 Use char because int might match the return type of a GCC
17762 builtin and then its argument prototype would still apply. */
17775 rm -f conftest.$ac_objext conftest$ac_exeext
17776 if { (ac_try="$ac_link"
17777 case "(($ac_try" in
17778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17782 $as_echo "$ac_try_echo") >&5
17783 (eval "$ac_link") 2>conftest.er1
17785 grep -v '^ *+' conftest.er1 >conftest.err
17787 cat conftest.err >&5
17788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); } && {
17790 test -z "$ac_c_werror_flag" ||
17791 test ! -s conftest.err
17792 } && test -s conftest$ac_exeext && {
17793 test "$cross_compiling" = yes ||
17794 $as_test_x conftest$ac_exeext
17796 ac_cv_lib_m_log=yes
17798 $as_echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.$ac_ext >&5
17804 rm -rf conftest.dSYM
17805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17806 conftest$ac_exeext conftest.$ac_ext
17807 LIBS=$ac_check_lib_save_LIBS
17809 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
17810 $as_echo "$ac_cv_lib_m_log" >&6; }
17811 if test "x$ac_cv_lib_m_log" = x""yes; then
17812 cat >>confdefs.h <<_ACEOF
17813 #define HAVE_LIBM 1
17819 { { $as_echo "$as_me:$LINENO: error: Could not find libm" >&5
17820 $as_echo "$as_me: error: Could not find libm" >&2;}
17821 { (exit 1); exit 1; }; }
17824 { $as_echo "$as_me:$LINENO: checking for log2 in -lm" >&5
17825 $as_echo_n "checking for log2 in -lm... " >&6; }
17826 if test "${ac_cv_lib_m_log2+set}" = set; then
17827 $as_echo_n "(cached) " >&6
17829 ac_check_lib_save_LIBS=$LIBS
17831 cat >conftest.$ac_ext <<_ACEOF
17834 cat confdefs.h >>conftest.$ac_ext
17835 cat >>conftest.$ac_ext <<_ACEOF
17836 /* end confdefs.h. */
17838 /* Override any GCC internal prototype to avoid an error.
17839 Use char because int might match the return type of a GCC
17840 builtin and then its argument prototype would still apply. */
17853 rm -f conftest.$ac_objext conftest$ac_exeext
17854 if { (ac_try="$ac_link"
17855 case "(($ac_try" in
17856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17857 *) ac_try_echo=$ac_try;;
17859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17860 $as_echo "$ac_try_echo") >&5
17861 (eval "$ac_link") 2>conftest.er1
17863 grep -v '^ *+' conftest.er1 >conftest.err
17865 cat conftest.err >&5
17866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } && {
17868 test -z "$ac_c_werror_flag" ||
17869 test ! -s conftest.err
17870 } && test -s conftest$ac_exeext && {
17871 test "$cross_compiling" = yes ||
17872 $as_test_x conftest$ac_exeext
17874 ac_cv_lib_m_log2=yes
17876 $as_echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.$ac_ext >&5
17879 ac_cv_lib_m_log2=no
17882 rm -rf conftest.dSYM
17883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17884 conftest$ac_exeext conftest.$ac_ext
17885 LIBS=$ac_check_lib_save_LIBS
17887 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_log2" >&5
17888 $as_echo "$ac_cv_lib_m_log2" >&6; }
17889 if test "x$ac_cv_lib_m_log2" = x""yes; then
17891 cat >>confdefs.h <<\_ACEOF
17892 #define HAVE_LOG2 1
17899 # --- argtable header and library check
17903 for ac_header in argtable2.h
17905 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17907 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17908 $as_echo_n "checking for $ac_header... " >&6; }
17909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17910 $as_echo_n "(cached) " >&6
17912 ac_res=`eval 'as_val=${'$as_ac_Header'}
17913 $as_echo "$as_val"'`
17914 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17915 $as_echo "$ac_res" >&6; }
17917 # Is the header compilable?
17918 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17919 $as_echo_n "checking $ac_header usability... " >&6; }
17920 cat >conftest.$ac_ext <<_ACEOF
17923 cat confdefs.h >>conftest.$ac_ext
17924 cat >>conftest.$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 $ac_includes_default
17927 #include <$ac_header>
17929 rm -f conftest.$ac_objext
17930 if { (ac_try="$ac_compile"
17931 case "(($ac_try" in
17932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17933 *) ac_try_echo=$ac_try;;
17935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17936 $as_echo "$ac_try_echo") >&5
17937 (eval "$ac_compile") 2>conftest.er1
17939 grep -v '^ *+' conftest.er1 >conftest.err
17941 cat conftest.err >&5
17942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } && {
17944 test -z "$ac_c_werror_flag" ||
17945 test ! -s conftest.err
17946 } && test -s conftest.$ac_objext; then
17947 ac_header_compiler=yes
17949 $as_echo "$as_me: failed program was:" >&5
17950 sed 's/^/| /' conftest.$ac_ext >&5
17952 ac_header_compiler=no
17955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17956 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17957 $as_echo "$ac_header_compiler" >&6; }
17959 # Is the header present?
17960 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17961 $as_echo_n "checking $ac_header presence... " >&6; }
17962 cat >conftest.$ac_ext <<_ACEOF
17965 cat confdefs.h >>conftest.$ac_ext
17966 cat >>conftest.$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 #include <$ac_header>
17970 if { (ac_try="$ac_cpp conftest.$ac_ext"
17971 case "(($ac_try" in
17972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17973 *) ac_try_echo=$ac_try;;
17975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17976 $as_echo "$ac_try_echo") >&5
17977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17979 grep -v '^ *+' conftest.er1 >conftest.err
17981 cat conftest.err >&5
17982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); } >/dev/null && {
17984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17985 test ! -s conftest.err
17987 ac_header_preproc=yes
17989 $as_echo "$as_me: failed program was:" >&5
17990 sed 's/^/| /' conftest.$ac_ext >&5
17992 ac_header_preproc=no
17995 rm -f conftest.err conftest.$ac_ext
17996 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17997 $as_echo "$ac_header_preproc" >&6; }
17999 # So? What about this header?
18000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18003 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18005 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18006 ac_header_preproc=yes
18009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18010 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18012 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18014 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18016 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18018 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18019 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18020 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18022 ## ------------------------------ ##
18023 ## Report this to clustalw@ucd.ie ##
18024 ## ------------------------------ ##
18026 ) | sed "s/^/$as_me: WARNING: /" >&2
18029 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18030 $as_echo_n "checking for $ac_header... " >&6; }
18031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18032 $as_echo_n "(cached) " >&6
18034 eval "$as_ac_Header=\$ac_header_preproc"
18036 ac_res=`eval 'as_val=${'$as_ac_Header'}
18037 $as_echo "$as_val"'`
18038 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18039 $as_echo "$ac_res" >&6; }
18042 as_val=`eval 'as_val=${'$as_ac_Header'}
18043 $as_echo "$as_val"'`
18044 if test "x$as_val" = x""yes; then
18045 cat >>confdefs.h <<_ACEOF
18046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18050 { { $as_echo "$as_me:$LINENO: error: Could not find argtable2.h. Try $ ./configure CFLAGS='-Iyour-argtable2-include-path" >&5
18051 $as_echo "$as_me: error: Could not find argtable2.h. Try $ ./configure CFLAGS='-Iyour-argtable2-include-path" >&2;}
18052 { (exit 1); exit 1; }; }
18058 { $as_echo "$as_me:$LINENO: checking for arg_parse in -largtable2" >&5
18059 $as_echo_n "checking for arg_parse in -largtable2... " >&6; }
18060 if test "${ac_cv_lib_argtable2_arg_parse+set}" = set; then
18061 $as_echo_n "(cached) " >&6
18063 ac_check_lib_save_LIBS=$LIBS
18064 LIBS="-largtable2 $LIBS"
18065 cat >conftest.$ac_ext <<_ACEOF
18068 cat confdefs.h >>conftest.$ac_ext
18069 cat >>conftest.$ac_ext <<_ACEOF
18070 /* end confdefs.h. */
18072 /* Override any GCC internal prototype to avoid an error.
18073 Use char because int might match the return type of a GCC
18074 builtin and then its argument prototype would still apply. */
18082 return arg_parse ();
18087 rm -f conftest.$ac_objext conftest$ac_exeext
18088 if { (ac_try="$ac_link"
18089 case "(($ac_try" in
18090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18091 *) ac_try_echo=$ac_try;;
18093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18094 $as_echo "$ac_try_echo") >&5
18095 (eval "$ac_link") 2>conftest.er1
18097 grep -v '^ *+' conftest.er1 >conftest.err
18099 cat conftest.err >&5
18100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); } && {
18102 test -z "$ac_c_werror_flag" ||
18103 test ! -s conftest.err
18104 } && test -s conftest$ac_exeext && {
18105 test "$cross_compiling" = yes ||
18106 $as_test_x conftest$ac_exeext
18108 ac_cv_lib_argtable2_arg_parse=yes
18110 $as_echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18113 ac_cv_lib_argtable2_arg_parse=no
18116 rm -rf conftest.dSYM
18117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18118 conftest$ac_exeext conftest.$ac_ext
18119 LIBS=$ac_check_lib_save_LIBS
18121 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_argtable2_arg_parse" >&5
18122 $as_echo "$ac_cv_lib_argtable2_arg_parse" >&6; }
18123 if test "x$ac_cv_lib_argtable2_arg_parse" = x""yes; then
18124 cat >>confdefs.h <<_ACEOF
18125 #define HAVE_LIBARGTABLE2 1
18128 LIBS="-largtable2 $LIBS"
18131 { { $as_echo "$as_me:$LINENO: error: Could not find libargtable2. Try $ ./configure LDFLAGS=\"-Lyour-argtable2-lib-path'" >&5
18132 $as_echo "$as_me: error: Could not find libargtable2. Try $ ./configure LDFLAGS=\"-Lyour-argtable2-lib-path'" >&2;}
18133 { (exit 1); exit 1; }; }
18138 # enable python if requested (--with-python)
18140 #AC_ARG_WITH([python],
18141 # [AS_HELP_STRING([--with-python],
18142 # [Enable Python Interface])],
18143 # [with_python=$withval],
18144 # [with_python=no])
18145 #if test "$with_python" = "yes"; then
18146 # AC_MSG_CHECKING([for python-config to get compiler flags])
18147 # AC_CHECK_PROG(python_config, 'python-config', yes)
18148 # if test "${python_config}" != "yes"; then
18149 # AC_MSG_ERROR("Could not run python-config.")
18151 # PYTHON_CFLAGS=`python-config --cflags`
18152 # PYTHON_LDFLAGS=`python-config --ldflags`
18153 # AC_DEFINE([PYTHON_ENABLED], [1], [define for python usage])
18155 #AC_SUBST(PYTHON_CFLAGS)
18156 #AC_SUBST(PYTHON_LDFLAGS)
18160 # "One instruction to do the same operation on 4 packed elements simultaneously."
18162 # http://www.codeproject.com/KB/recipes/sseintro.aspx?msg=568491
18163 # http://www.drdobbs.com/go-parallel/blog/archives/2010/03/getting_amazing.html
18164 # http://software.intel.com/file/1000
18166 # AC_MSG_CHECKING(for SSE in current arch/CFLAGS)
18168 # AC_LANG_PROGRAM([[
18169 # #include <xmmintrin.h>
18170 # __m128 testfunc(float *a, float *b) {
18171 # return _mm_add_ps(_mm_loadu_ps(a), _mm_loadu_ps(b));
18174 # [has_sse=yes], [has_sse=no]
18176 # AC_MSG_RESULT($has_sse)
18178 # AC_ARG_ENABLE([sse],
18179 # [AS_HELP_STRING([--enable-sse],
18180 # [Enable SSE support])],
18181 # [has_sse="$enableval"],
18184 # if test x"$has_sse" = x"yes"; then
18185 # AC_DEFINE([USE_SSE], , [Enable SSE support])
18186 # CFLAGS="${CFLAGS} -msse"
18193 # ===========================================================================
18194 # http://www.gnu.org/software/autoconf-archive/ax_openmp.html
18195 # ===========================================================================
18199 # AX_OPENMP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
18203 # This macro tries to find out how to compile programs that use OpenMP a
18204 # standard API and set of compiler directives for parallel programming
18205 # (see http://www-unix.mcs/)
18207 # On success, it sets the OPENMP_CFLAGS/OPENMP_CXXFLAGS/OPENMP_F77FLAGS
18208 # output variable to the flag (e.g. -omp) used both to compile *and* link
18209 # OpenMP programs in the current language.
18211 # NOTE: You are assumed to not only compile your program with these flags,
18212 # but also link it with them as well.
18214 # If you want to compile everything with OpenMP, you should set:
18216 # CFLAGS="$CFLAGS $OPENMP_CFLAGS"
18217 # #OR# CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS"
18218 # #OR# FFLAGS="$FFLAGS $OPENMP_FFLAGS"
18220 # (depending on the selected language).
18222 # The user can override the default choice by setting the corresponding
18223 # environment variable (e.g. OPENMP_CFLAGS).
18225 # ACTION-IF-FOUND is a list of shell commands to run if an OpenMP flag is
18226 # found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
18227 # not found. If ACTION-IF-FOUND is not specified, the default action will
18228 # define HAVE_OPENMP.
18232 # Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
18234 # This program is free software: you can redistribute it and/or modify it
18235 # under the terms of the GNU General Public License as published by the
18236 # Free Software Foundation, either version 3 of the License, or (at your
18237 # option) any later version.
18239 # This program is distributed in the hope that it will be useful, but
18240 # WITHOUT ANY WARRANTY; without even the implied warranty of
18241 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
18242 # Public License for more details.
18244 # You should have received a copy of the GNU General Public License along
18245 # with this program. If not, see <http://www.gnu.org/licenses/>.
18247 # As a special exception, the respective Autoconf Macro's copyright owner
18248 # gives unlimited permission to copy, distribute and modify the configure
18249 # scripts that are the output of Autoconf when processing the Macro. You
18250 # need not follow the terms of the GNU General Public License when using
18251 # or distributing such scripts, even though portions of the text of the
18252 # Macro appear in them. The GNU General Public License (GPL) does govern
18253 # all other use of the material that constitutes the Autoconf Macro.
18255 # This special exception to the GPL applies to versions of the Autoconf
18256 # Macro released by the Autoconf Archive. When you make and distribute a
18257 # modified version of the Autoconf Macro, you may extend this special
18258 # exception to the GPL to apply to your modified version as well.
18264 # Check whether --with-openmp was given.
18265 if test "${with_openmp+set}" = set; then
18266 withval=$with_openmp;
18269 if test "x$with_openmp" = "xno"; then
18274 { $as_echo "$as_me:$LINENO: checking for OpenMP flag of C compiler" >&5
18275 $as_echo_n "checking for OpenMP flag of C compiler... " >&6; }
18276 if test "${ax_cv_c_openmp+set}" = set; then
18277 $as_echo_n "(cached) " >&6
18280 ax_cv_c_openmp=unknown
18281 # Flags to try: -fopenmp (gcc), -openmp (icc), -mp (SGI & PGI),
18282 # -xopenmp (Sun), -omp (Tru64), -qsmp=omp (AIX), none
18283 ax_openmp_flags="-fopenmp -openmp -mp -xopenmp -omp -qsmp=omp none"
18284 if test "x$OPENMP_CFLAGS" != x; then
18285 ax_openmp_flags="$OPENMP_CFLAGS $ax_openmp_flags"
18287 for ax_openmp_flag in $ax_openmp_flags; do
18288 case $ax_openmp_flag in
18289 none) CFLAGS=$saveC ;;
18290 *) CFLAGS="$saveCFLAGS $ax_openmp_flag" ;;
18292 cat >conftest.$ac_ext <<_ACEOF
18295 cat confdefs.h >>conftest.$ac_ext
18296 cat >>conftest.$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18299 /* Override any GCC internal prototype to avoid an error.
18300 Use char because int might match the return type of a GCC
18301 builtin and then its argument prototype would still apply. */
18305 char omp_set_num_threads ();
18309 return omp_set_num_threads ();
18314 rm -f conftest.$ac_objext conftest$ac_exeext
18315 if { (ac_try="$ac_link"
18316 case "(($ac_try" in
18317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18318 *) ac_try_echo=$ac_try;;
18320 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18321 $as_echo "$ac_try_echo") >&5
18322 (eval "$ac_link") 2>conftest.er1
18324 grep -v '^ *+' conftest.er1 >conftest.err
18326 cat conftest.err >&5
18327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } && {
18329 test -z "$ac_c_werror_flag" ||
18330 test ! -s conftest.err
18331 } && test -s conftest$ac_exeext && {
18332 test "$cross_compiling" = yes ||
18333 $as_test_x conftest$ac_exeext
18335 ax_cv_c_openmp=$ax_openmp_flag; break
18337 $as_echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18343 rm -rf conftest.dSYM
18344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18345 conftest$ac_exeext conftest.$ac_ext
18350 { $as_echo "$as_me:$LINENO: result: $ax_cv_c_openmp" >&5
18351 $as_echo "$ax_cv_c_openmp" >&6; }
18352 if test "x$ax_cv_c_openmp" = "xunknown"; then
18355 if test "x$ax_cv_c_openmp" != "xnone"; then
18356 OPENMP_CFLAGS=$ax_cv_c_openmp
18359 cat >>confdefs.h <<\_ACEOF
18360 #define HAVE_OPENMP 1
18370 # according to http://beagle-lib.googlecode.com/svn-history/r824/trunk/configure.ac:
18371 # "OpenMP checker only defines for C when compiling both C and C++"
18372 OPENMP_CXXFLAGS=$OPENMP_CFLAGS
18375 # version 2: enable openmp only if explicitely asked for it
18376 #AC_ARG_ENABLE(openmp, AS_HELP_STRING([--enable-openmp], [Multi-threaded parallel version using OpenMP]))
18377 #if test -n "${enable_openmp}" -a x"${enable_openmp}" != x"no"; then
18378 # m4_include([m4/ax_openmp.m4])
18379 # AX_OPENMP(AC_DEFINE(HAVE_OPENMP, 1, [enable OpenMP support]),
18380 # AC_MSG_ERROR([Compiler does not seem to support OpenMP]))
18381 # AC_SUBST(OPENMP_CFLAGS)
18382 # AC_SUBST(OPENMP_CXXFLAGS)
18388 # Extra checks for squid; see their configure, config.log, squidconf.h
18389 # etc. For example, I'm not sure about USE_HOST_BYTESWAP_FUNCTIONS,
18390 # SIZEOF_UNSIGNED_LONG, HAVE_STRTOUL and HAVE_STRTOULL
18392 # Might not just have to set compiler flags but create use squidconf.h.in
18394 # The following hopefully takes about byte ordering (big-endian...).
18395 # My hope is that it will set WORDS_BIGENDIAN and
18396 # USE_HOST_BYTESWAP_FUNCTIONS (as used by squid) if necessary:
18399 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18400 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
18401 if test "${ac_cv_c_bigendian+set}" = set; then
18402 $as_echo_n "(cached) " >&6
18404 ac_cv_c_bigendian=unknown
18405 # See if we're dealing with a universal compiler.
18406 cat >conftest.$ac_ext <<_ACEOF
18409 cat confdefs.h >>conftest.$ac_ext
18410 cat >>conftest.$ac_ext <<_ACEOF
18411 /* end confdefs.h. */
18412 #ifndef __APPLE_CC__
18413 not a universal capable compiler
18418 rm -f conftest.$ac_objext
18419 if { (ac_try="$ac_compile"
18420 case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18425 $as_echo "$ac_try_echo") >&5
18426 (eval "$ac_compile") 2>conftest.er1
18428 grep -v '^ *+' conftest.er1 >conftest.err
18430 cat conftest.err >&5
18431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } && {
18433 test -z "$ac_c_werror_flag" ||
18434 test ! -s conftest.err
18435 } && test -s conftest.$ac_objext; then
18437 # Check for potential -arch flags. It is not universal unless
18438 # there are some -arch flags. Note that *ppc* also matches
18439 # ppc64. This check is also rather less than ideal.
18440 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
18441 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
18444 $as_echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451 if test $ac_cv_c_bigendian = unknown; then
18452 # See if sys/param.h defines the BYTE_ORDER macro.
18453 cat >conftest.$ac_ext <<_ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 #include <sys/types.h>
18460 #include <sys/param.h>
18465 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
18466 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
18468 bogus endian macros
18475 rm -f conftest.$ac_objext
18476 if { (ac_try="$ac_compile"
18477 case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18482 $as_echo "$ac_try_echo") >&5
18483 (eval "$ac_compile") 2>conftest.er1
18485 grep -v '^ *+' conftest.er1 >conftest.err
18487 cat conftest.err >&5
18488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); } && {
18490 test -z "$ac_c_werror_flag" ||
18491 test ! -s conftest.err
18492 } && test -s conftest.$ac_objext; then
18493 # It does; now see whether it defined to BIG_ENDIAN or not.
18494 cat >conftest.$ac_ext <<_ACEOF
18497 cat confdefs.h >>conftest.$ac_ext
18498 cat >>conftest.$ac_ext <<_ACEOF
18499 /* end confdefs.h. */
18500 #include <sys/types.h>
18501 #include <sys/param.h>
18506 #if BYTE_ORDER != BIG_ENDIAN
18514 rm -f conftest.$ac_objext
18515 if { (ac_try="$ac_compile"
18516 case "(($ac_try" in
18517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18518 *) ac_try_echo=$ac_try;;
18520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18521 $as_echo "$ac_try_echo") >&5
18522 (eval "$ac_compile") 2>conftest.er1
18524 grep -v '^ *+' conftest.er1 >conftest.err
18526 cat conftest.err >&5
18527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); } && {
18529 test -z "$ac_c_werror_flag" ||
18530 test ! -s conftest.err
18531 } && test -s conftest.$ac_objext; then
18532 ac_cv_c_bigendian=yes
18534 $as_echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.$ac_ext >&5
18537 ac_cv_c_bigendian=no
18540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18542 $as_echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.$ac_ext >&5
18548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18550 if test $ac_cv_c_bigendian = unknown; then
18551 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
18552 cat >conftest.$ac_ext <<_ACEOF
18555 cat confdefs.h >>conftest.$ac_ext
18556 cat >>conftest.$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 #include <limits.h>
18563 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
18564 bogus endian macros
18571 rm -f conftest.$ac_objext
18572 if { (ac_try="$ac_compile"
18573 case "(($ac_try" in
18574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18575 *) ac_try_echo=$ac_try;;
18577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18578 $as_echo "$ac_try_echo") >&5
18579 (eval "$ac_compile") 2>conftest.er1
18581 grep -v '^ *+' conftest.er1 >conftest.err
18583 cat conftest.err >&5
18584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); } && {
18586 test -z "$ac_c_werror_flag" ||
18587 test ! -s conftest.err
18588 } && test -s conftest.$ac_objext; then
18589 # It does; now see whether it defined to _BIG_ENDIAN or not.
18590 cat >conftest.$ac_ext <<_ACEOF
18593 cat confdefs.h >>conftest.$ac_ext
18594 cat >>conftest.$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 #include <limits.h>
18601 #ifndef _BIG_ENDIAN
18609 rm -f conftest.$ac_objext
18610 if { (ac_try="$ac_compile"
18611 case "(($ac_try" in
18612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18613 *) ac_try_echo=$ac_try;;
18615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18616 $as_echo "$ac_try_echo") >&5
18617 (eval "$ac_compile") 2>conftest.er1
18619 grep -v '^ *+' conftest.er1 >conftest.err
18621 cat conftest.err >&5
18622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } && {
18624 test -z "$ac_c_werror_flag" ||
18625 test ! -s conftest.err
18626 } && test -s conftest.$ac_objext; then
18627 ac_cv_c_bigendian=yes
18629 $as_echo "$as_me: failed program was:" >&5
18630 sed 's/^/| /' conftest.$ac_ext >&5
18632 ac_cv_c_bigendian=no
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18637 $as_echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18645 if test $ac_cv_c_bigendian = unknown; then
18646 # Compile a test program.
18647 if test "$cross_compiling" = yes; then
18648 # Try to guess by grepping values from an object file.
18649 cat >conftest.$ac_ext <<_ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 short int ascii_mm[] =
18656 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18657 short int ascii_ii[] =
18658 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18659 int use_ascii (int i) {
18660 return ascii_mm[i] + ascii_ii[i];
18662 short int ebcdic_ii[] =
18663 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18664 short int ebcdic_mm[] =
18665 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18666 int use_ebcdic (int i) {
18667 return ebcdic_mm[i] + ebcdic_ii[i];
18674 return use_ascii (foo) == use_ebcdic (foo);
18679 rm -f conftest.$ac_objext
18680 if { (ac_try="$ac_compile"
18681 case "(($ac_try" in
18682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18683 *) ac_try_echo=$ac_try;;
18685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18686 $as_echo "$ac_try_echo") >&5
18687 (eval "$ac_compile") 2>conftest.er1
18689 grep -v '^ *+' conftest.er1 >conftest.err
18691 cat conftest.err >&5
18692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } && {
18694 test -z "$ac_c_werror_flag" ||
18695 test ! -s conftest.err
18696 } && test -s conftest.$ac_objext; then
18697 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
18698 ac_cv_c_bigendian=yes
18700 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
18701 if test "$ac_cv_c_bigendian" = unknown; then
18702 ac_cv_c_bigendian=no
18704 # finding both strings is unlikely to happen, but who knows?
18705 ac_cv_c_bigendian=unknown
18709 $as_echo "$as_me: failed program was:" >&5
18710 sed 's/^/| /' conftest.$ac_ext >&5
18715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18717 cat >conftest.$ac_ext <<_ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723 $ac_includes_default
18728 /* Are we little or big endian? From Harbison&Steele. */
18732 char c[sizeof (long int)];
18735 return u.c[sizeof (long int) - 1] == 1;
18741 rm -f conftest$ac_exeext
18742 if { (ac_try="$ac_link"
18743 case "(($ac_try" in
18744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18745 *) ac_try_echo=$ac_try;;
18747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18748 $as_echo "$ac_try_echo") >&5
18749 (eval "$ac_link") 2>&5
18751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18753 { (case "(($ac_try" in
18754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18755 *) ac_try_echo=$ac_try;;
18757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18758 $as_echo "$ac_try_echo") >&5
18759 (eval "$ac_try") 2>&5
18761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); }; }; then
18763 ac_cv_c_bigendian=no
18765 $as_echo "$as_me: program exited with status $ac_status" >&5
18766 $as_echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.$ac_ext >&5
18769 ( exit $ac_status )
18770 ac_cv_c_bigendian=yes
18772 rm -rf conftest.dSYM
18773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18779 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18780 $as_echo "$ac_cv_c_bigendian" >&6; }
18781 case $ac_cv_c_bigendian in #(
18783 { $as_echo "$as_me:$LINENO: WARNING: $PACKAGE_NAME hasn't been tested on Big-Endian machines...expecting trouble!" >&5
18784 $as_echo "$as_me: WARNING: $PACKAGE_NAME hasn't been tested on Big-Endian machines...expecting trouble!" >&2;};; #(
18789 cat >>confdefs.h <<\_ACEOF
18790 #define AC_APPLE_UNIVERSAL_BUILD 1
18795 { { $as_echo "$as_me:$LINENO: error: unknown endianness
18796 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
18797 $as_echo "$as_me: error: unknown endianness
18798 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
18799 { (exit 1); exit 1; }; } ;;
18806 for ac_func in ntohs ntohl ntons ntonl
18808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18809 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18810 $as_echo_n "checking for $ac_func... " >&6; }
18811 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18812 $as_echo_n "(cached) " >&6
18814 cat >conftest.$ac_ext <<_ACEOF
18817 cat confdefs.h >>conftest.$ac_ext
18818 cat >>conftest.$ac_ext <<_ACEOF
18819 /* end confdefs.h. */
18820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18822 #define $ac_func innocuous_$ac_func
18824 /* System header to define __stub macros and hopefully few prototypes,
18825 which can conflict with char $ac_func (); below.
18826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18827 <limits.h> exists even on freestanding compilers. */
18830 # include <limits.h>
18832 # include <assert.h>
18837 /* Override any GCC internal prototype to avoid an error.
18838 Use char because int might match the return type of a GCC
18839 builtin and then its argument prototype would still apply. */
18844 /* The GNU C library defines this for functions which it implements
18845 to always fail with ENOSYS. Some functions are actually named
18846 something starting with __ and the normal name is an alias. */
18847 #if defined __stub_$ac_func || defined __stub___$ac_func
18854 return $ac_func ();
18859 rm -f conftest.$ac_objext conftest$ac_exeext
18860 if { (ac_try="$ac_link"
18861 case "(($ac_try" in
18862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18863 *) ac_try_echo=$ac_try;;
18865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18866 $as_echo "$ac_try_echo") >&5
18867 (eval "$ac_link") 2>conftest.er1
18869 grep -v '^ *+' conftest.er1 >conftest.err
18871 cat conftest.err >&5
18872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); } && {
18874 test -z "$ac_c_werror_flag" ||
18875 test ! -s conftest.err
18876 } && test -s conftest$ac_exeext && {
18877 test "$cross_compiling" = yes ||
18878 $as_test_x conftest$ac_exeext
18880 eval "$as_ac_var=yes"
18882 $as_echo "$as_me: failed program was:" >&5
18883 sed 's/^/| /' conftest.$ac_ext >&5
18885 eval "$as_ac_var=no"
18888 rm -rf conftest.dSYM
18889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18890 conftest$ac_exeext conftest.$ac_ext
18892 ac_res=`eval 'as_val=${'$as_ac_var'}
18893 $as_echo "$as_val"'`
18894 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18895 $as_echo "$ac_res" >&6; }
18896 as_val=`eval 'as_val=${'$as_ac_var'}
18897 $as_echo "$as_val"'`
18898 if test "x$as_val" = x""yes; then
18899 cat >>confdefs.h <<_ACEOF
18900 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18907 # The cast to long int works around a bug in the HP C Compiler
18908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18910 # This bug is HP SR number 8606223364.
18911 { $as_echo "$as_me:$LINENO: checking size of unsigned short" >&5
18912 $as_echo_n "checking size of unsigned short... " >&6; }
18913 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
18914 $as_echo_n "(cached) " >&6
18916 if test "$cross_compiling" = yes; then
18917 # Depending upon the size, compute the lo and hi bounds.
18918 cat >conftest.$ac_ext <<_ACEOF
18921 cat confdefs.h >>conftest.$ac_ext
18922 cat >>conftest.$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18924 $ac_includes_default
18928 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) >= 0)];
18935 rm -f conftest.$ac_objext
18936 if { (ac_try="$ac_compile"
18937 case "(($ac_try" in
18938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18939 *) ac_try_echo=$ac_try;;
18941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18942 $as_echo "$ac_try_echo") >&5
18943 (eval "$ac_compile") 2>conftest.er1
18945 grep -v '^ *+' conftest.er1 >conftest.err
18947 cat conftest.err >&5
18948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } && {
18950 test -z "$ac_c_werror_flag" ||
18951 test ! -s conftest.err
18952 } && test -s conftest.$ac_objext; then
18955 cat >conftest.$ac_ext <<_ACEOF
18958 cat confdefs.h >>conftest.$ac_ext
18959 cat >>conftest.$ac_ext <<_ACEOF
18960 /* end confdefs.h. */
18961 $ac_includes_default
18965 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= $ac_mid)];
18972 rm -f conftest.$ac_objext
18973 if { (ac_try="$ac_compile"
18974 case "(($ac_try" in
18975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18976 *) ac_try_echo=$ac_try;;
18978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18979 $as_echo "$ac_try_echo") >&5
18980 (eval "$ac_compile") 2>conftest.er1
18982 grep -v '^ *+' conftest.er1 >conftest.err
18984 cat conftest.err >&5
18985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } && {
18987 test -z "$ac_c_werror_flag" ||
18988 test ! -s conftest.err
18989 } && test -s conftest.$ac_objext; then
18990 ac_hi=$ac_mid; break
18992 $as_echo "$as_me: failed program was:" >&5
18993 sed 's/^/| /' conftest.$ac_ext >&5
18995 ac_lo=`expr $ac_mid + 1`
18996 if test $ac_lo -le $ac_mid; then
19000 ac_mid=`expr 2 '*' $ac_mid + 1`
19003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19006 $as_echo "$as_me: failed program was:" >&5
19007 sed 's/^/| /' conftest.$ac_ext >&5
19009 cat >conftest.$ac_ext <<_ACEOF
19012 cat confdefs.h >>conftest.$ac_ext
19013 cat >>conftest.$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19015 $ac_includes_default
19019 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) < 0)];
19026 rm -f conftest.$ac_objext
19027 if { (ac_try="$ac_compile"
19028 case "(($ac_try" in
19029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19030 *) ac_try_echo=$ac_try;;
19032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19033 $as_echo "$ac_try_echo") >&5
19034 (eval "$ac_compile") 2>conftest.er1
19036 grep -v '^ *+' conftest.er1 >conftest.err
19038 cat conftest.err >&5
19039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); } && {
19041 test -z "$ac_c_werror_flag" ||
19042 test ! -s conftest.err
19043 } && test -s conftest.$ac_objext; then
19046 cat >conftest.$ac_ext <<_ACEOF
19049 cat confdefs.h >>conftest.$ac_ext
19050 cat >>conftest.$ac_ext <<_ACEOF
19051 /* end confdefs.h. */
19052 $ac_includes_default
19056 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) >= $ac_mid)];
19063 rm -f conftest.$ac_objext
19064 if { (ac_try="$ac_compile"
19065 case "(($ac_try" in
19066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19067 *) ac_try_echo=$ac_try;;
19069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19070 $as_echo "$ac_try_echo") >&5
19071 (eval "$ac_compile") 2>conftest.er1
19073 grep -v '^ *+' conftest.er1 >conftest.err
19075 cat conftest.err >&5
19076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } && {
19078 test -z "$ac_c_werror_flag" ||
19079 test ! -s conftest.err
19080 } && test -s conftest.$ac_objext; then
19081 ac_lo=$ac_mid; break
19083 $as_echo "$as_me: failed program was:" >&5
19084 sed 's/^/| /' conftest.$ac_ext >&5
19086 ac_hi=`expr '(' $ac_mid ')' - 1`
19087 if test $ac_mid -le $ac_hi; then
19091 ac_mid=`expr 2 '*' $ac_mid`
19094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097 $as_echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19107 # Binary search between lo and hi bounds.
19108 while test "x$ac_lo" != "x$ac_hi"; do
19109 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19110 cat >conftest.$ac_ext <<_ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19116 $ac_includes_default
19120 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= $ac_mid)];
19127 rm -f conftest.$ac_objext
19128 if { (ac_try="$ac_compile"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19134 $as_echo "$ac_try_echo") >&5
19135 (eval "$ac_compile") 2>conftest.er1
19137 grep -v '^ *+' conftest.er1 >conftest.err
19139 cat conftest.err >&5
19140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } && {
19142 test -z "$ac_c_werror_flag" ||
19143 test ! -s conftest.err
19144 } && test -s conftest.$ac_objext; then
19147 $as_echo "$as_me: failed program was:" >&5
19148 sed 's/^/| /' conftest.$ac_ext >&5
19150 ac_lo=`expr '(' $ac_mid ')' + 1`
19153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19156 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
19157 '') if test "$ac_cv_type_unsigned_short" = yes; then
19158 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19160 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
19161 See \`config.log' for more details." >&5
19162 $as_echo "$as_me: error: cannot compute sizeof (unsigned short)
19163 See \`config.log' for more details." >&2;}
19164 { (exit 77); exit 77; }; }; }
19166 ac_cv_sizeof_unsigned_short=0
19170 cat >conftest.$ac_ext <<_ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19177 static long int longval () { return (long int) (sizeof (unsigned short)); }
19178 static unsigned long int ulongval () { return (long int) (sizeof (unsigned short)); }
19180 #include <stdlib.h>
19185 FILE *f = fopen ("conftest.val", "w");
19188 if (((long int) (sizeof (unsigned short))) < 0)
19190 long int i = longval ();
19191 if (i != ((long int) (sizeof (unsigned short))))
19193 fprintf (f, "%ld", i);
19197 unsigned long int i = ulongval ();
19198 if (i != ((long int) (sizeof (unsigned short))))
19200 fprintf (f, "%lu", i);
19202 /* Do not output a trailing newline, as this causes \r\n confusion
19203 on some platforms. */
19204 return ferror (f) || fclose (f) != 0;
19210 rm -f conftest$ac_exeext
19211 if { (ac_try="$ac_link"
19212 case "(($ac_try" in
19213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19214 *) ac_try_echo=$ac_try;;
19216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19217 $as_echo "$ac_try_echo") >&5
19218 (eval "$ac_link") 2>&5
19220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19222 { (case "(($ac_try" in
19223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19224 *) ac_try_echo=$ac_try;;
19226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19227 $as_echo "$ac_try_echo") >&5
19228 (eval "$ac_try") 2>&5
19230 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; }; then
19232 ac_cv_sizeof_unsigned_short=`cat conftest.val`
19234 $as_echo "$as_me: program exited with status $ac_status" >&5
19235 $as_echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19238 ( exit $ac_status )
19239 if test "$ac_cv_type_unsigned_short" = yes; then
19240 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19242 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
19243 See \`config.log' for more details." >&5
19244 $as_echo "$as_me: error: cannot compute sizeof (unsigned short)
19245 See \`config.log' for more details." >&2;}
19246 { (exit 77); exit 77; }; }; }
19248 ac_cv_sizeof_unsigned_short=0
19251 rm -rf conftest.dSYM
19252 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19256 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
19257 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
19261 cat >>confdefs.h <<_ACEOF
19262 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
19266 # The cast to long int works around a bug in the HP C Compiler
19267 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19268 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19269 # This bug is HP SR number 8606223364.
19270 { $as_echo "$as_me:$LINENO: checking size of unsigned int" >&5
19271 $as_echo_n "checking size of unsigned int... " >&6; }
19272 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
19273 $as_echo_n "(cached) " >&6
19275 if test "$cross_compiling" = yes; then
19276 # Depending upon the size, compute the lo and hi bounds.
19277 cat >conftest.$ac_ext <<_ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 $ac_includes_default
19287 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) >= 0)];
19294 rm -f conftest.$ac_objext
19295 if { (ac_try="$ac_compile"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19301 $as_echo "$ac_try_echo") >&5
19302 (eval "$ac_compile") 2>conftest.er1
19304 grep -v '^ *+' conftest.er1 >conftest.err
19306 cat conftest.err >&5
19307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); } && {
19309 test -z "$ac_c_werror_flag" ||
19310 test ! -s conftest.err
19311 } && test -s conftest.$ac_objext; then
19314 cat >conftest.$ac_ext <<_ACEOF
19317 cat confdefs.h >>conftest.$ac_ext
19318 cat >>conftest.$ac_ext <<_ACEOF
19319 /* end confdefs.h. */
19320 $ac_includes_default
19324 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= $ac_mid)];
19331 rm -f conftest.$ac_objext
19332 if { (ac_try="$ac_compile"
19333 case "(($ac_try" in
19334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19335 *) ac_try_echo=$ac_try;;
19337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19338 $as_echo "$ac_try_echo") >&5
19339 (eval "$ac_compile") 2>conftest.er1
19341 grep -v '^ *+' conftest.er1 >conftest.err
19343 cat conftest.err >&5
19344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } && {
19346 test -z "$ac_c_werror_flag" ||
19347 test ! -s conftest.err
19348 } && test -s conftest.$ac_objext; then
19349 ac_hi=$ac_mid; break
19351 $as_echo "$as_me: failed program was:" >&5
19352 sed 's/^/| /' conftest.$ac_ext >&5
19354 ac_lo=`expr $ac_mid + 1`
19355 if test $ac_lo -le $ac_mid; then
19359 ac_mid=`expr 2 '*' $ac_mid + 1`
19362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19365 $as_echo "$as_me: failed program was:" >&5
19366 sed 's/^/| /' conftest.$ac_ext >&5
19368 cat >conftest.$ac_ext <<_ACEOF
19371 cat confdefs.h >>conftest.$ac_ext
19372 cat >>conftest.$ac_ext <<_ACEOF
19373 /* end confdefs.h. */
19374 $ac_includes_default
19378 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) < 0)];
19385 rm -f conftest.$ac_objext
19386 if { (ac_try="$ac_compile"
19387 case "(($ac_try" in
19388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19389 *) ac_try_echo=$ac_try;;
19391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19392 $as_echo "$ac_try_echo") >&5
19393 (eval "$ac_compile") 2>conftest.er1
19395 grep -v '^ *+' conftest.er1 >conftest.err
19397 cat conftest.err >&5
19398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } && {
19400 test -z "$ac_c_werror_flag" ||
19401 test ! -s conftest.err
19402 } && test -s conftest.$ac_objext; then
19405 cat >conftest.$ac_ext <<_ACEOF
19408 cat confdefs.h >>conftest.$ac_ext
19409 cat >>conftest.$ac_ext <<_ACEOF
19410 /* end confdefs.h. */
19411 $ac_includes_default
19415 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) >= $ac_mid)];
19422 rm -f conftest.$ac_objext
19423 if { (ac_try="$ac_compile"
19424 case "(($ac_try" in
19425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19426 *) ac_try_echo=$ac_try;;
19428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19429 $as_echo "$ac_try_echo") >&5
19430 (eval "$ac_compile") 2>conftest.er1
19432 grep -v '^ *+' conftest.er1 >conftest.err
19434 cat conftest.err >&5
19435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); } && {
19437 test -z "$ac_c_werror_flag" ||
19438 test ! -s conftest.err
19439 } && test -s conftest.$ac_objext; then
19440 ac_lo=$ac_mid; break
19442 $as_echo "$as_me: failed program was:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19445 ac_hi=`expr '(' $ac_mid ')' - 1`
19446 if test $ac_mid -le $ac_hi; then
19450 ac_mid=`expr 2 '*' $ac_mid`
19453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19456 $as_echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.$ac_ext >&5
19462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19466 # Binary search between lo and hi bounds.
19467 while test "x$ac_lo" != "x$ac_hi"; do
19468 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19469 cat >conftest.$ac_ext <<_ACEOF
19472 cat confdefs.h >>conftest.$ac_ext
19473 cat >>conftest.$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19475 $ac_includes_default
19479 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= $ac_mid)];
19486 rm -f conftest.$ac_objext
19487 if { (ac_try="$ac_compile"
19488 case "(($ac_try" in
19489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19490 *) ac_try_echo=$ac_try;;
19492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19493 $as_echo "$ac_try_echo") >&5
19494 (eval "$ac_compile") 2>conftest.er1
19496 grep -v '^ *+' conftest.er1 >conftest.err
19498 cat conftest.err >&5
19499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); } && {
19501 test -z "$ac_c_werror_flag" ||
19502 test ! -s conftest.err
19503 } && test -s conftest.$ac_objext; then
19506 $as_echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.$ac_ext >&5
19509 ac_lo=`expr '(' $ac_mid ')' + 1`
19512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19515 ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
19516 '') if test "$ac_cv_type_unsigned_int" = yes; then
19517 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19519 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
19520 See \`config.log' for more details." >&5
19521 $as_echo "$as_me: error: cannot compute sizeof (unsigned int)
19522 See \`config.log' for more details." >&2;}
19523 { (exit 77); exit 77; }; }; }
19525 ac_cv_sizeof_unsigned_int=0
19529 cat >conftest.$ac_ext <<_ACEOF
19532 cat confdefs.h >>conftest.$ac_ext
19533 cat >>conftest.$ac_ext <<_ACEOF
19534 /* end confdefs.h. */
19535 $ac_includes_default
19536 static long int longval () { return (long int) (sizeof (unsigned int)); }
19537 static unsigned long int ulongval () { return (long int) (sizeof (unsigned int)); }
19539 #include <stdlib.h>
19544 FILE *f = fopen ("conftest.val", "w");
19547 if (((long int) (sizeof (unsigned int))) < 0)
19549 long int i = longval ();
19550 if (i != ((long int) (sizeof (unsigned int))))
19552 fprintf (f, "%ld", i);
19556 unsigned long int i = ulongval ();
19557 if (i != ((long int) (sizeof (unsigned int))))
19559 fprintf (f, "%lu", i);
19561 /* Do not output a trailing newline, as this causes \r\n confusion
19562 on some platforms. */
19563 return ferror (f) || fclose (f) != 0;
19569 rm -f conftest$ac_exeext
19570 if { (ac_try="$ac_link"
19571 case "(($ac_try" in
19572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19573 *) ac_try_echo=$ac_try;;
19575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19576 $as_echo "$ac_try_echo") >&5
19577 (eval "$ac_link") 2>&5
19579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19581 { (case "(($ac_try" in
19582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19583 *) ac_try_echo=$ac_try;;
19585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19586 $as_echo "$ac_try_echo") >&5
19587 (eval "$ac_try") 2>&5
19589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); }; }; then
19591 ac_cv_sizeof_unsigned_int=`cat conftest.val`
19593 $as_echo "$as_me: program exited with status $ac_status" >&5
19594 $as_echo "$as_me: failed program was:" >&5
19595 sed 's/^/| /' conftest.$ac_ext >&5
19597 ( exit $ac_status )
19598 if test "$ac_cv_type_unsigned_int" = yes; then
19599 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19601 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
19602 See \`config.log' for more details." >&5
19603 $as_echo "$as_me: error: cannot compute sizeof (unsigned int)
19604 See \`config.log' for more details." >&2;}
19605 { (exit 77); exit 77; }; }; }
19607 ac_cv_sizeof_unsigned_int=0
19610 rm -rf conftest.dSYM
19611 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19615 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
19616 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
19620 cat >>confdefs.h <<_ACEOF
19621 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
19625 # The cast to long int works around a bug in the HP C Compiler
19626 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19627 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19628 # This bug is HP SR number 8606223364.
19629 { $as_echo "$as_me:$LINENO: checking size of unsigned long" >&5
19630 $as_echo_n "checking size of unsigned long... " >&6; }
19631 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
19632 $as_echo_n "(cached) " >&6
19634 if test "$cross_compiling" = yes; then
19635 # Depending upon the size, compute the lo and hi bounds.
19636 cat >conftest.$ac_ext <<_ACEOF
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 $ac_includes_default
19646 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= 0)];
19653 rm -f conftest.$ac_objext
19654 if { (ac_try="$ac_compile"
19655 case "(($ac_try" in
19656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19657 *) ac_try_echo=$ac_try;;
19659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19660 $as_echo "$ac_try_echo") >&5
19661 (eval "$ac_compile") 2>conftest.er1
19663 grep -v '^ *+' conftest.er1 >conftest.err
19665 cat conftest.err >&5
19666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } && {
19668 test -z "$ac_c_werror_flag" ||
19669 test ! -s conftest.err
19670 } && test -s conftest.$ac_objext; then
19673 cat >conftest.$ac_ext <<_ACEOF
19676 cat confdefs.h >>conftest.$ac_ext
19677 cat >>conftest.$ac_ext <<_ACEOF
19678 /* end confdefs.h. */
19679 $ac_includes_default
19683 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)];
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19694 *) ac_try_echo=$ac_try;;
19696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19697 $as_echo "$ac_try_echo") >&5
19698 (eval "$ac_compile") 2>conftest.er1
19700 grep -v '^ *+' conftest.er1 >conftest.err
19702 cat conftest.err >&5
19703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } && {
19705 test -z "$ac_c_werror_flag" ||
19706 test ! -s conftest.err
19707 } && test -s conftest.$ac_objext; then
19708 ac_hi=$ac_mid; break
19710 $as_echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.$ac_ext >&5
19713 ac_lo=`expr $ac_mid + 1`
19714 if test $ac_lo -le $ac_mid; then
19718 ac_mid=`expr 2 '*' $ac_mid + 1`
19721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19724 $as_echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19727 cat >conftest.$ac_ext <<_ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19737 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) < 0)];
19744 rm -f conftest.$ac_objext
19745 if { (ac_try="$ac_compile"
19746 case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19751 $as_echo "$ac_try_echo") >&5
19752 (eval "$ac_compile") 2>conftest.er1
19754 grep -v '^ *+' conftest.er1 >conftest.err
19756 cat conftest.err >&5
19757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } && {
19759 test -z "$ac_c_werror_flag" ||
19760 test ! -s conftest.err
19761 } && test -s conftest.$ac_objext; then
19764 cat >conftest.$ac_ext <<_ACEOF
19767 cat confdefs.h >>conftest.$ac_ext
19768 cat >>conftest.$ac_ext <<_ACEOF
19769 /* end confdefs.h. */
19770 $ac_includes_default
19774 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= $ac_mid)];
19781 rm -f conftest.$ac_objext
19782 if { (ac_try="$ac_compile"
19783 case "(($ac_try" in
19784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19785 *) ac_try_echo=$ac_try;;
19787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19788 $as_echo "$ac_try_echo") >&5
19789 (eval "$ac_compile") 2>conftest.er1
19791 grep -v '^ *+' conftest.er1 >conftest.err
19793 cat conftest.err >&5
19794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); } && {
19796 test -z "$ac_c_werror_flag" ||
19797 test ! -s conftest.err
19798 } && test -s conftest.$ac_objext; then
19799 ac_lo=$ac_mid; break
19801 $as_echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.$ac_ext >&5
19804 ac_hi=`expr '(' $ac_mid ')' - 1`
19805 if test $ac_mid -le $ac_hi; then
19809 ac_mid=`expr 2 '*' $ac_mid`
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 $as_echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19825 # Binary search between lo and hi bounds.
19826 while test "x$ac_lo" != "x$ac_hi"; do
19827 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19828 cat >conftest.$ac_ext <<_ACEOF
19831 cat confdefs.h >>conftest.$ac_ext
19832 cat >>conftest.$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 $ac_includes_default
19838 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)];
19845 rm -f conftest.$ac_objext
19846 if { (ac_try="$ac_compile"
19847 case "(($ac_try" in
19848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19849 *) ac_try_echo=$ac_try;;
19851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19852 $as_echo "$ac_try_echo") >&5
19853 (eval "$ac_compile") 2>conftest.er1
19855 grep -v '^ *+' conftest.er1 >conftest.err
19857 cat conftest.err >&5
19858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } && {
19860 test -z "$ac_c_werror_flag" ||
19861 test ! -s conftest.err
19862 } && test -s conftest.$ac_objext; then
19865 $as_echo "$as_me: failed program was:" >&5
19866 sed 's/^/| /' conftest.$ac_ext >&5
19868 ac_lo=`expr '(' $ac_mid ')' + 1`
19871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19874 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
19875 '') if test "$ac_cv_type_unsigned_long" = yes; then
19876 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19878 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
19879 See \`config.log' for more details." >&5
19880 $as_echo "$as_me: error: cannot compute sizeof (unsigned long)
19881 See \`config.log' for more details." >&2;}
19882 { (exit 77); exit 77; }; }; }
19884 ac_cv_sizeof_unsigned_long=0
19888 cat >conftest.$ac_ext <<_ACEOF
19891 cat confdefs.h >>conftest.$ac_ext
19892 cat >>conftest.$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19894 $ac_includes_default
19895 static long int longval () { return (long int) (sizeof (unsigned long)); }
19896 static unsigned long int ulongval () { return (long int) (sizeof (unsigned long)); }
19898 #include <stdlib.h>
19903 FILE *f = fopen ("conftest.val", "w");
19906 if (((long int) (sizeof (unsigned long))) < 0)
19908 long int i = longval ();
19909 if (i != ((long int) (sizeof (unsigned long))))
19911 fprintf (f, "%ld", i);
19915 unsigned long int i = ulongval ();
19916 if (i != ((long int) (sizeof (unsigned long))))
19918 fprintf (f, "%lu", i);
19920 /* Do not output a trailing newline, as this causes \r\n confusion
19921 on some platforms. */
19922 return ferror (f) || fclose (f) != 0;
19928 rm -f conftest$ac_exeext
19929 if { (ac_try="$ac_link"
19930 case "(($ac_try" in
19931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19932 *) ac_try_echo=$ac_try;;
19934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19935 $as_echo "$ac_try_echo") >&5
19936 (eval "$ac_link") 2>&5
19938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19940 { (case "(($ac_try" in
19941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19942 *) ac_try_echo=$ac_try;;
19944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19945 $as_echo "$ac_try_echo") >&5
19946 (eval "$ac_try") 2>&5
19948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19950 ac_cv_sizeof_unsigned_long=`cat conftest.val`
19952 $as_echo "$as_me: program exited with status $ac_status" >&5
19953 $as_echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19956 ( exit $ac_status )
19957 if test "$ac_cv_type_unsigned_long" = yes; then
19958 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19960 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
19961 See \`config.log' for more details." >&5
19962 $as_echo "$as_me: error: cannot compute sizeof (unsigned long)
19963 See \`config.log' for more details." >&2;}
19964 { (exit 77); exit 77; }; }; }
19966 ac_cv_sizeof_unsigned_long=0
19969 rm -rf conftest.dSYM
19970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19974 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
19975 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
19979 cat >>confdefs.h <<_ACEOF
19980 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
19984 # The cast to long int works around a bug in the HP C Compiler
19985 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19986 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19987 # This bug is HP SR number 8606223364.
19988 { $as_echo "$as_me:$LINENO: checking size of unsigned long long" >&5
19989 $as_echo_n "checking size of unsigned long long... " >&6; }
19990 if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
19991 $as_echo_n "(cached) " >&6
19993 if test "$cross_compiling" = yes; then
19994 # Depending upon the size, compute the lo and hi bounds.
19995 cat >conftest.$ac_ext <<_ACEOF
19998 cat confdefs.h >>conftest.$ac_ext
19999 cat >>conftest.$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20001 $ac_includes_default
20005 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) >= 0)];
20012 rm -f conftest.$ac_objext
20013 if { (ac_try="$ac_compile"
20014 case "(($ac_try" in
20015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20016 *) ac_try_echo=$ac_try;;
20018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20019 $as_echo "$ac_try_echo") >&5
20020 (eval "$ac_compile") 2>conftest.er1
20022 grep -v '^ *+' conftest.er1 >conftest.err
20024 cat conftest.err >&5
20025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } && {
20027 test -z "$ac_c_werror_flag" ||
20028 test ! -s conftest.err
20029 } && test -s conftest.$ac_objext; then
20032 cat >conftest.$ac_ext <<_ACEOF
20035 cat confdefs.h >>conftest.$ac_ext
20036 cat >>conftest.$ac_ext <<_ACEOF
20037 /* end confdefs.h. */
20038 $ac_includes_default
20042 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= $ac_mid)];
20049 rm -f conftest.$ac_objext
20050 if { (ac_try="$ac_compile"
20051 case "(($ac_try" in
20052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20053 *) ac_try_echo=$ac_try;;
20055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20056 $as_echo "$ac_try_echo") >&5
20057 (eval "$ac_compile") 2>conftest.er1
20059 grep -v '^ *+' conftest.er1 >conftest.err
20061 cat conftest.err >&5
20062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); } && {
20064 test -z "$ac_c_werror_flag" ||
20065 test ! -s conftest.err
20066 } && test -s conftest.$ac_objext; then
20067 ac_hi=$ac_mid; break
20069 $as_echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20072 ac_lo=`expr $ac_mid + 1`
20073 if test $ac_lo -le $ac_mid; then
20077 ac_mid=`expr 2 '*' $ac_mid + 1`
20080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20083 $as_echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20086 cat >conftest.$ac_ext <<_ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20096 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) < 0)];
20103 rm -f conftest.$ac_objext
20104 if { (ac_try="$ac_compile"
20105 case "(($ac_try" in
20106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20107 *) ac_try_echo=$ac_try;;
20109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20110 $as_echo "$ac_try_echo") >&5
20111 (eval "$ac_compile") 2>conftest.er1
20113 grep -v '^ *+' conftest.er1 >conftest.err
20115 cat conftest.err >&5
20116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); } && {
20118 test -z "$ac_c_werror_flag" ||
20119 test ! -s conftest.err
20120 } && test -s conftest.$ac_objext; then
20123 cat >conftest.$ac_ext <<_ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 $ac_includes_default
20133 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) >= $ac_mid)];
20140 rm -f conftest.$ac_objext
20141 if { (ac_try="$ac_compile"
20142 case "(($ac_try" in
20143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20144 *) ac_try_echo=$ac_try;;
20146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20147 $as_echo "$ac_try_echo") >&5
20148 (eval "$ac_compile") 2>conftest.er1
20150 grep -v '^ *+' conftest.er1 >conftest.err
20152 cat conftest.err >&5
20153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } && {
20155 test -z "$ac_c_werror_flag" ||
20156 test ! -s conftest.err
20157 } && test -s conftest.$ac_objext; then
20158 ac_lo=$ac_mid; break
20160 $as_echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.$ac_ext >&5
20163 ac_hi=`expr '(' $ac_mid ')' - 1`
20164 if test $ac_mid -le $ac_hi; then
20168 ac_mid=`expr 2 '*' $ac_mid`
20171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20174 $as_echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 # Binary search between lo and hi bounds.
20185 while test "x$ac_lo" != "x$ac_hi"; do
20186 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20187 cat >conftest.$ac_ext <<_ACEOF
20190 cat confdefs.h >>conftest.$ac_ext
20191 cat >>conftest.$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20193 $ac_includes_default
20197 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= $ac_mid)];
20204 rm -f conftest.$ac_objext
20205 if { (ac_try="$ac_compile"
20206 case "(($ac_try" in
20207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20208 *) ac_try_echo=$ac_try;;
20210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20211 $as_echo "$ac_try_echo") >&5
20212 (eval "$ac_compile") 2>conftest.er1
20214 grep -v '^ *+' conftest.er1 >conftest.err
20216 cat conftest.err >&5
20217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); } && {
20219 test -z "$ac_c_werror_flag" ||
20220 test ! -s conftest.err
20221 } && test -s conftest.$ac_objext; then
20224 $as_echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.$ac_ext >&5
20227 ac_lo=`expr '(' $ac_mid ')' + 1`
20230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20233 ?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
20234 '') if test "$ac_cv_type_unsigned_long_long" = yes; then
20235 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20237 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
20238 See \`config.log' for more details." >&5
20239 $as_echo "$as_me: error: cannot compute sizeof (unsigned long long)
20240 See \`config.log' for more details." >&2;}
20241 { (exit 77); exit 77; }; }; }
20243 ac_cv_sizeof_unsigned_long_long=0
20247 cat >conftest.$ac_ext <<_ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 $ac_includes_default
20254 static long int longval () { return (long int) (sizeof (unsigned long long)); }
20255 static unsigned long int ulongval () { return (long int) (sizeof (unsigned long long)); }
20257 #include <stdlib.h>
20262 FILE *f = fopen ("conftest.val", "w");
20265 if (((long int) (sizeof (unsigned long long))) < 0)
20267 long int i = longval ();
20268 if (i != ((long int) (sizeof (unsigned long long))))
20270 fprintf (f, "%ld", i);
20274 unsigned long int i = ulongval ();
20275 if (i != ((long int) (sizeof (unsigned long long))))
20277 fprintf (f, "%lu", i);
20279 /* Do not output a trailing newline, as this causes \r\n confusion
20280 on some platforms. */
20281 return ferror (f) || fclose (f) != 0;
20287 rm -f conftest$ac_exeext
20288 if { (ac_try="$ac_link"
20289 case "(($ac_try" in
20290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20291 *) ac_try_echo=$ac_try;;
20293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20294 $as_echo "$ac_try_echo") >&5
20295 (eval "$ac_link") 2>&5
20297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20299 { (case "(($ac_try" in
20300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20301 *) ac_try_echo=$ac_try;;
20303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20304 $as_echo "$ac_try_echo") >&5
20305 (eval "$ac_try") 2>&5
20307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; }; then
20309 ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
20311 $as_echo "$as_me: program exited with status $ac_status" >&5
20312 $as_echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20315 ( exit $ac_status )
20316 if test "$ac_cv_type_unsigned_long_long" = yes; then
20317 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20319 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
20320 See \`config.log' for more details." >&5
20321 $as_echo "$as_me: error: cannot compute sizeof (unsigned long long)
20322 See \`config.log' for more details." >&2;}
20323 { (exit 77); exit 77; }; }; }
20325 ac_cv_sizeof_unsigned_long_long=0
20328 rm -rf conftest.dSYM
20329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20333 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
20334 $as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; }
20338 cat >>confdefs.h <<_ACEOF
20339 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
20346 for ac_func in stroul strtoull
20348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20349 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20350 $as_echo_n "checking for $ac_func... " >&6; }
20351 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20352 $as_echo_n "(cached) " >&6
20354 cat >conftest.$ac_ext <<_ACEOF
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20362 #define $ac_func innocuous_$ac_func
20364 /* System header to define __stub macros and hopefully few prototypes,
20365 which can conflict with char $ac_func (); below.
20366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20367 <limits.h> exists even on freestanding compilers. */
20370 # include <limits.h>
20372 # include <assert.h>
20377 /* Override any GCC internal prototype to avoid an error.
20378 Use char because int might match the return type of a GCC
20379 builtin and then its argument prototype would still apply. */
20384 /* The GNU C library defines this for functions which it implements
20385 to always fail with ENOSYS. Some functions are actually named
20386 something starting with __ and the normal name is an alias. */
20387 #if defined __stub_$ac_func || defined __stub___$ac_func
20394 return $ac_func ();
20399 rm -f conftest.$ac_objext conftest$ac_exeext
20400 if { (ac_try="$ac_link"
20401 case "(($ac_try" in
20402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20403 *) ac_try_echo=$ac_try;;
20405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20406 $as_echo "$ac_try_echo") >&5
20407 (eval "$ac_link") 2>conftest.er1
20409 grep -v '^ *+' conftest.er1 >conftest.err
20411 cat conftest.err >&5
20412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } && {
20414 test -z "$ac_c_werror_flag" ||
20415 test ! -s conftest.err
20416 } && test -s conftest$ac_exeext && {
20417 test "$cross_compiling" = yes ||
20418 $as_test_x conftest$ac_exeext
20420 eval "$as_ac_var=yes"
20422 $as_echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20425 eval "$as_ac_var=no"
20428 rm -rf conftest.dSYM
20429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20430 conftest$ac_exeext conftest.$ac_ext
20432 ac_res=`eval 'as_val=${'$as_ac_var'}
20433 $as_echo "$as_val"'`
20434 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20435 $as_echo "$ac_res" >&6; }
20436 as_val=`eval 'as_val=${'$as_ac_var'}
20437 $as_echo "$as_val"'`
20438 if test "x$as_val" = x""yes; then
20439 cat >>confdefs.h <<_ACEOF
20440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20448 for ac_func in ftello fseeko
20450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20451 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20452 $as_echo_n "checking for $ac_func... " >&6; }
20453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20454 $as_echo_n "(cached) " >&6
20456 cat >conftest.$ac_ext <<_ACEOF
20459 cat confdefs.h >>conftest.$ac_ext
20460 cat >>conftest.$ac_ext <<_ACEOF
20461 /* end confdefs.h. */
20462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20464 #define $ac_func innocuous_$ac_func
20466 /* System header to define __stub macros and hopefully few prototypes,
20467 which can conflict with char $ac_func (); below.
20468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20469 <limits.h> exists even on freestanding compilers. */
20472 # include <limits.h>
20474 # include <assert.h>
20479 /* Override any GCC internal prototype to avoid an error.
20480 Use char because int might match the return type of a GCC
20481 builtin and then its argument prototype would still apply. */
20486 /* The GNU C library defines this for functions which it implements
20487 to always fail with ENOSYS. Some functions are actually named
20488 something starting with __ and the normal name is an alias. */
20489 #if defined __stub_$ac_func || defined __stub___$ac_func
20496 return $ac_func ();
20501 rm -f conftest.$ac_objext conftest$ac_exeext
20502 if { (ac_try="$ac_link"
20503 case "(($ac_try" in
20504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20505 *) ac_try_echo=$ac_try;;
20507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20508 $as_echo "$ac_try_echo") >&5
20509 (eval "$ac_link") 2>conftest.er1
20511 grep -v '^ *+' conftest.er1 >conftest.err
20513 cat conftest.err >&5
20514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); } && {
20516 test -z "$ac_c_werror_flag" ||
20517 test ! -s conftest.err
20518 } && test -s conftest$ac_exeext && {
20519 test "$cross_compiling" = yes ||
20520 $as_test_x conftest$ac_exeext
20522 eval "$as_ac_var=yes"
20524 $as_echo "$as_me: failed program was:" >&5
20525 sed 's/^/| /' conftest.$ac_ext >&5
20527 eval "$as_ac_var=no"
20530 rm -rf conftest.dSYM
20531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20532 conftest$ac_exeext conftest.$ac_ext
20534 ac_res=`eval 'as_val=${'$as_ac_var'}
20535 $as_echo "$as_val"'`
20536 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20537 $as_echo "$ac_res" >&6; }
20538 as_val=`eval 'as_val=${'$as_ac_var'}
20539 $as_echo "$as_val"'`
20540 if test "x$as_val" = x""yes; then
20541 cat >>confdefs.h <<_ACEOF
20542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20550 for ac_func in ftello64 fseeko64
20552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20553 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20554 $as_echo_n "checking for $ac_func... " >&6; }
20555 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20556 $as_echo_n "(cached) " >&6
20558 cat >conftest.$ac_ext <<_ACEOF
20561 cat confdefs.h >>conftest.$ac_ext
20562 cat >>conftest.$ac_ext <<_ACEOF
20563 /* end confdefs.h. */
20564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20566 #define $ac_func innocuous_$ac_func
20568 /* System header to define __stub macros and hopefully few prototypes,
20569 which can conflict with char $ac_func (); below.
20570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20571 <limits.h> exists even on freestanding compilers. */
20574 # include <limits.h>
20576 # include <assert.h>
20581 /* Override any GCC internal prototype to avoid an error.
20582 Use char because int might match the return type of a GCC
20583 builtin and then its argument prototype would still apply. */
20588 /* The GNU C library defines this for functions which it implements
20589 to always fail with ENOSYS. Some functions are actually named
20590 something starting with __ and the normal name is an alias. */
20591 #if defined __stub_$ac_func || defined __stub___$ac_func
20598 return $ac_func ();
20603 rm -f conftest.$ac_objext conftest$ac_exeext
20604 if { (ac_try="$ac_link"
20605 case "(($ac_try" in
20606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20607 *) ac_try_echo=$ac_try;;
20609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20610 $as_echo "$ac_try_echo") >&5
20611 (eval "$ac_link") 2>conftest.er1
20613 grep -v '^ *+' conftest.er1 >conftest.err
20615 cat conftest.err >&5
20616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); } && {
20618 test -z "$ac_c_werror_flag" ||
20619 test ! -s conftest.err
20620 } && test -s conftest$ac_exeext && {
20621 test "$cross_compiling" = yes ||
20622 $as_test_x conftest$ac_exeext
20624 eval "$as_ac_var=yes"
20626 $as_echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.$ac_ext >&5
20629 eval "$as_ac_var=no"
20632 rm -rf conftest.dSYM
20633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20634 conftest$ac_exeext conftest.$ac_ext
20636 ac_res=`eval 'as_val=${'$as_ac_var'}
20637 $as_echo "$as_val"'`
20638 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20639 $as_echo "$ac_res" >&6; }
20640 as_val=`eval 'as_val=${'$as_ac_var'}
20641 $as_echo "$as_val"'`
20642 if test "x$as_val" = x""yes; then
20643 cat >>confdefs.h <<_ACEOF
20644 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20652 for ac_func in ftell64 fseek64
20654 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20655 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20656 $as_echo_n "checking for $ac_func... " >&6; }
20657 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20658 $as_echo_n "(cached) " >&6
20660 cat >conftest.$ac_ext <<_ACEOF
20663 cat confdefs.h >>conftest.$ac_ext
20664 cat >>conftest.$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20668 #define $ac_func innocuous_$ac_func
20670 /* System header to define __stub macros and hopefully few prototypes,
20671 which can conflict with char $ac_func (); below.
20672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20673 <limits.h> exists even on freestanding compilers. */
20676 # include <limits.h>
20678 # include <assert.h>
20683 /* Override any GCC internal prototype to avoid an error.
20684 Use char because int might match the return type of a GCC
20685 builtin and then its argument prototype would still apply. */
20690 /* The GNU C library defines this for functions which it implements
20691 to always fail with ENOSYS. Some functions are actually named
20692 something starting with __ and the normal name is an alias. */
20693 #if defined __stub_$ac_func || defined __stub___$ac_func
20700 return $ac_func ();
20705 rm -f conftest.$ac_objext conftest$ac_exeext
20706 if { (ac_try="$ac_link"
20707 case "(($ac_try" in
20708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20709 *) ac_try_echo=$ac_try;;
20711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20712 $as_echo "$ac_try_echo") >&5
20713 (eval "$ac_link") 2>conftest.er1
20715 grep -v '^ *+' conftest.er1 >conftest.err
20717 cat conftest.err >&5
20718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); } && {
20720 test -z "$ac_c_werror_flag" ||
20721 test ! -s conftest.err
20722 } && test -s conftest$ac_exeext && {
20723 test "$cross_compiling" = yes ||
20724 $as_test_x conftest$ac_exeext
20726 eval "$as_ac_var=yes"
20728 $as_echo "$as_me: failed program was:" >&5
20729 sed 's/^/| /' conftest.$ac_ext >&5
20731 eval "$as_ac_var=no"
20734 rm -rf conftest.dSYM
20735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20736 conftest$ac_exeext conftest.$ac_ext
20738 ac_res=`eval 'as_val=${'$as_ac_var'}
20739 $as_echo "$as_val"'`
20740 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20741 $as_echo "$ac_res" >&6; }
20742 as_val=`eval 'as_val=${'$as_ac_var'}
20743 $as_echo "$as_val"'`
20744 if test "x$as_val" = x""yes; then
20745 cat >>confdefs.h <<_ACEOF
20746 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20753 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
20754 $as_echo_n "checking for off_t... " >&6; }
20755 if test "${ac_cv_type_off_t+set}" = set; then
20756 $as_echo_n "(cached) " >&6
20758 ac_cv_type_off_t=no
20759 cat >conftest.$ac_ext <<_ACEOF
20762 cat confdefs.h >>conftest.$ac_ext
20763 cat >>conftest.$ac_ext <<_ACEOF
20764 /* end confdefs.h. */
20765 $ac_includes_default
20769 if (sizeof (off_t))
20775 rm -f conftest.$ac_objext
20776 if { (ac_try="$ac_compile"
20777 case "(($ac_try" in
20778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20779 *) ac_try_echo=$ac_try;;
20781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20782 $as_echo "$ac_try_echo") >&5
20783 (eval "$ac_compile") 2>conftest.er1
20785 grep -v '^ *+' conftest.er1 >conftest.err
20787 cat conftest.err >&5
20788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); } && {
20790 test -z "$ac_c_werror_flag" ||
20791 test ! -s conftest.err
20792 } && test -s conftest.$ac_objext; then
20793 cat >conftest.$ac_ext <<_ACEOF
20796 cat confdefs.h >>conftest.$ac_ext
20797 cat >>conftest.$ac_ext <<_ACEOF
20798 /* end confdefs.h. */
20799 $ac_includes_default
20803 if (sizeof ((off_t)))
20809 rm -f conftest.$ac_objext
20810 if { (ac_try="$ac_compile"
20811 case "(($ac_try" in
20812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20813 *) ac_try_echo=$ac_try;;
20815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20816 $as_echo "$ac_try_echo") >&5
20817 (eval "$ac_compile") 2>conftest.er1
20819 grep -v '^ *+' conftest.er1 >conftest.err
20821 cat conftest.err >&5
20822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } && {
20824 test -z "$ac_c_werror_flag" ||
20825 test ! -s conftest.err
20826 } && test -s conftest.$ac_objext; then
20829 $as_echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.$ac_ext >&5
20832 ac_cv_type_off_t=yes
20835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20837 $as_echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20845 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
20846 $as_echo "$ac_cv_type_off_t" >&6; }
20847 if test "x$ac_cv_type_off_t" = x""yes; then
20851 cat >>confdefs.h <<_ACEOF
20852 #define off_t long int
20857 # The cast to long int works around a bug in the HP C Compiler
20858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20860 # This bug is HP SR number 8606223364.
20861 { $as_echo "$as_me:$LINENO: checking size of fpos_t" >&5
20862 $as_echo_n "checking size of fpos_t... " >&6; }
20863 if test "${ac_cv_sizeof_fpos_t+set}" = set; then
20864 $as_echo_n "(cached) " >&6
20866 if test "$cross_compiling" = yes; then
20867 # Depending upon the size, compute the lo and hi bounds.
20868 cat >conftest.$ac_ext <<_ACEOF
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 $ac_includes_default
20878 static int test_array [1 - 2 * !(((long int) (sizeof (fpos_t))) >= 0)];
20885 rm -f conftest.$ac_objext
20886 if { (ac_try="$ac_compile"
20887 case "(($ac_try" in
20888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20889 *) ac_try_echo=$ac_try;;
20891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20892 $as_echo "$ac_try_echo") >&5
20893 (eval "$ac_compile") 2>conftest.er1
20895 grep -v '^ *+' conftest.er1 >conftest.err
20897 cat conftest.err >&5
20898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } && {
20900 test -z "$ac_c_werror_flag" ||
20901 test ! -s conftest.err
20902 } && test -s conftest.$ac_objext; then
20905 cat >conftest.$ac_ext <<_ACEOF
20908 cat confdefs.h >>conftest.$ac_ext
20909 cat >>conftest.$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 $ac_includes_default
20915 static int test_array [1 - 2 * !(((long int) (sizeof (fpos_t))) <= $ac_mid)];
20922 rm -f conftest.$ac_objext
20923 if { (ac_try="$ac_compile"
20924 case "(($ac_try" in
20925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20926 *) ac_try_echo=$ac_try;;
20928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20929 $as_echo "$ac_try_echo") >&5
20930 (eval "$ac_compile") 2>conftest.er1
20932 grep -v '^ *+' conftest.er1 >conftest.err
20934 cat conftest.err >&5
20935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); } && {
20937 test -z "$ac_c_werror_flag" ||
20938 test ! -s conftest.err
20939 } && test -s conftest.$ac_objext; then
20940 ac_hi=$ac_mid; break
20942 $as_echo "$as_me: failed program was:" >&5
20943 sed 's/^/| /' conftest.$ac_ext >&5
20945 ac_lo=`expr $ac_mid + 1`
20946 if test $ac_lo -le $ac_mid; then
20950 ac_mid=`expr 2 '*' $ac_mid + 1`
20953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20956 $as_echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.$ac_ext >&5
20959 cat >conftest.$ac_ext <<_ACEOF
20962 cat confdefs.h >>conftest.$ac_ext
20963 cat >>conftest.$ac_ext <<_ACEOF
20964 /* end confdefs.h. */
20965 $ac_includes_default
20969 static int test_array [1 - 2 * !(((long int) (sizeof (fpos_t))) < 0)];
20976 rm -f conftest.$ac_objext
20977 if { (ac_try="$ac_compile"
20978 case "(($ac_try" in
20979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20980 *) ac_try_echo=$ac_try;;
20982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20983 $as_echo "$ac_try_echo") >&5
20984 (eval "$ac_compile") 2>conftest.er1
20986 grep -v '^ *+' conftest.er1 >conftest.err
20988 cat conftest.err >&5
20989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); } && {
20991 test -z "$ac_c_werror_flag" ||
20992 test ! -s conftest.err
20993 } && test -s conftest.$ac_objext; then
20996 cat >conftest.$ac_ext <<_ACEOF
20999 cat confdefs.h >>conftest.$ac_ext
21000 cat >>conftest.$ac_ext <<_ACEOF
21001 /* end confdefs.h. */
21002 $ac_includes_default
21006 static int test_array [1 - 2 * !(((long int) (sizeof (fpos_t))) >= $ac_mid)];
21013 rm -f conftest.$ac_objext
21014 if { (ac_try="$ac_compile"
21015 case "(($ac_try" in
21016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21017 *) ac_try_echo=$ac_try;;
21019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21020 $as_echo "$ac_try_echo") >&5
21021 (eval "$ac_compile") 2>conftest.er1
21023 grep -v '^ *+' conftest.er1 >conftest.err
21025 cat conftest.err >&5
21026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } && {
21028 test -z "$ac_c_werror_flag" ||
21029 test ! -s conftest.err
21030 } && test -s conftest.$ac_objext; then
21031 ac_lo=$ac_mid; break
21033 $as_echo "$as_me: failed program was:" >&5
21034 sed 's/^/| /' conftest.$ac_ext >&5
21036 ac_hi=`expr '(' $ac_mid ')' - 1`
21037 if test $ac_mid -le $ac_hi; then
21041 ac_mid=`expr 2 '*' $ac_mid`
21044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21047 $as_echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5
21053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 # Binary search between lo and hi bounds.
21058 while test "x$ac_lo" != "x$ac_hi"; do
21059 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21060 cat >conftest.$ac_ext <<_ACEOF
21063 cat confdefs.h >>conftest.$ac_ext
21064 cat >>conftest.$ac_ext <<_ACEOF
21065 /* end confdefs.h. */
21066 $ac_includes_default
21070 static int test_array [1 - 2 * !(((long int) (sizeof (fpos_t))) <= $ac_mid)];
21077 rm -f conftest.$ac_objext
21078 if { (ac_try="$ac_compile"
21079 case "(($ac_try" in
21080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21081 *) ac_try_echo=$ac_try;;
21083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21084 $as_echo "$ac_try_echo") >&5
21085 (eval "$ac_compile") 2>conftest.er1
21087 grep -v '^ *+' conftest.er1 >conftest.err
21089 cat conftest.err >&5
21090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } && {
21092 test -z "$ac_c_werror_flag" ||
21093 test ! -s conftest.err
21094 } && test -s conftest.$ac_objext; then
21097 $as_echo "$as_me: failed program was:" >&5
21098 sed 's/^/| /' conftest.$ac_ext >&5
21100 ac_lo=`expr '(' $ac_mid ')' + 1`
21103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21106 ?*) ac_cv_sizeof_fpos_t=$ac_lo;;
21107 '') if test "$ac_cv_type_fpos_t" = yes; then
21108 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21110 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (fpos_t)
21111 See \`config.log' for more details." >&5
21112 $as_echo "$as_me: error: cannot compute sizeof (fpos_t)
21113 See \`config.log' for more details." >&2;}
21114 { (exit 77); exit 77; }; }; }
21116 ac_cv_sizeof_fpos_t=0
21120 cat >conftest.$ac_ext <<_ACEOF
21123 cat confdefs.h >>conftest.$ac_ext
21124 cat >>conftest.$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21126 $ac_includes_default
21127 static long int longval () { return (long int) (sizeof (fpos_t)); }
21128 static unsigned long int ulongval () { return (long int) (sizeof (fpos_t)); }
21130 #include <stdlib.h>
21135 FILE *f = fopen ("conftest.val", "w");
21138 if (((long int) (sizeof (fpos_t))) < 0)
21140 long int i = longval ();
21141 if (i != ((long int) (sizeof (fpos_t))))
21143 fprintf (f, "%ld", i);
21147 unsigned long int i = ulongval ();
21148 if (i != ((long int) (sizeof (fpos_t))))
21150 fprintf (f, "%lu", i);
21152 /* Do not output a trailing newline, as this causes \r\n confusion
21153 on some platforms. */
21154 return ferror (f) || fclose (f) != 0;
21160 rm -f conftest$ac_exeext
21161 if { (ac_try="$ac_link"
21162 case "(($ac_try" in
21163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21164 *) ac_try_echo=$ac_try;;
21166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21167 $as_echo "$ac_try_echo") >&5
21168 (eval "$ac_link") 2>&5
21170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21172 { (case "(($ac_try" in
21173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21174 *) ac_try_echo=$ac_try;;
21176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21177 $as_echo "$ac_try_echo") >&5
21178 (eval "$ac_try") 2>&5
21180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); }; }; then
21182 ac_cv_sizeof_fpos_t=`cat conftest.val`
21184 $as_echo "$as_me: program exited with status $ac_status" >&5
21185 $as_echo "$as_me: failed program was:" >&5
21186 sed 's/^/| /' conftest.$ac_ext >&5
21188 ( exit $ac_status )
21189 if test "$ac_cv_type_fpos_t" = yes; then
21190 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21192 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (fpos_t)
21193 See \`config.log' for more details." >&5
21194 $as_echo "$as_me: error: cannot compute sizeof (fpos_t)
21195 See \`config.log' for more details." >&2;}
21196 { (exit 77); exit 77; }; }; }
21198 ac_cv_sizeof_fpos_t=0
21201 rm -rf conftest.dSYM
21202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21206 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_fpos_t" >&5
21207 $as_echo "$ac_cv_sizeof_fpos_t" >&6; }
21211 cat >>confdefs.h <<_ACEOF
21212 #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
21217 # struct stat64 and stat64 test:
21219 #AC_CHECK_TYPE(struct stat64,
21220 # [AC_CHECK_FUNC([stat64],
21221 # AC_DEFINE([HAVE_STAT64], [1], [Define if you have the stat64 function]))])
21223 #AC_MSG_CHECKING(for struct stat64)
21224 #AC_CACHE_VAL(sc_cv_type_stat64,
21225 #[AC_TRY_COMPILE([#include <sys/stat.h>],[struct stat64 s;],
21226 #[sc_cv_type_stat64=yes],
21227 #[sc_cv_type_stat64=no])])
21228 #if test $sc_cv_type_stat64 = yes; then
21229 # AC_MSG_RESULT($sc_cv_type_stat64)
21230 # AC_CHECK_FUNC([stat64], AC_DEFINE([HAVE_STAT64], [1], [Define if you have the stat64 function]))
21231 # #AC_DEFINE(HAVE_STAT64, [1], [Define if you have the stat64 function])
21235 # Above fails on myosin because storage size of struct 64 is unknown:
21236 # ssi.c:480: error: storage size of ‘s1’ isn’t known
21238 # On my MacBook OS X 10.6 I get:
21239 # ssi.c:481: warning: ‘stat64’ is deprecated (declared at /usr/include/sys/stat.h:465)
21241 # So forget about it: we won't use stat64 or define HAVE_STAT64 and
21242 # consequently do no tests here
21247 # Add support for the Dmalloc package. If the user runs configure with
21248 # --with-dmalloc, then define WITH_DMALLOC and add -ldmalloc to LIBS.
21249 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
21250 $as_echo_n "checking if malloc debugging is wanted... " >&6; }
21252 # Check whether --with-dmalloc was given.
21253 if test "${with_dmalloc+set}" = set; then
21254 withval=$with_dmalloc; if test "$withval" = yes; then
21255 { $as_echo "$as_me:$LINENO: result: yes" >&5
21256 $as_echo "yes" >&6; }
21258 cat >>confdefs.h <<\_ACEOF
21259 #define WITH_DMALLOC 1
21262 LIBS="$LIBS -ldmalloc"
21263 LDFLAGS="$LDFLAGS -g"
21265 { $as_echo "$as_me:$LINENO: result: no" >&5
21266 $as_echo "no" >&6; }
21269 { $as_echo "$as_me:$LINENO: result: no" >&5
21270 $as_echo "no" >&6; }
21276 # Check if svnversion is installed
21277 #AC_PATH_PROG([SVNVERSION_BIN], [svnversionFIXME], [no])
21278 ## checking if we build in a subversion WC
21280 #if test "$SVNVERSION_BIN" != "no"; then
21281 # SVNVERSION=`$SVNVERSION_BIN -n $srcdir`
21282 # if test $SVNVERSION != "exported";
21284 # AC_MSG_NOTICE($SVNVERSION);
21293 { $as_echo "$as_me:$LINENO: checking whether to build with debug information" >&5
21294 $as_echo_n "checking whether to build with debug information... " >&6; }
21295 # Check whether --enable-debug was given.
21296 if test "${enable_debug+set}" = set; then
21297 enableval=$enable_debug; debugit="$enableval"
21302 { $as_echo "$as_me:$LINENO: result: $debugit" >&5
21303 $as_echo "$debugit" >&6; }
21305 if test x"$debugit" = x"yes"; then
21306 # User variables CFLAGS/CXXFLAGS are used last during compilation and
21307 # can therefore overwrite system settings.
21309 # if debugging was requested, add debugging info at the end of
21310 # C[XX]FLAGS, which makes sure previous optimisation flags are
21311 # overwritten (normally C[XX]FLAGS should not be modified as they
21312 # are user variables):
21313 # switch off assert etc
21314 # AC_DEFINE([DEBUG],[],[Debug Mode])
21315 CFLAGS="${CFLAGS} -g -ansi -Wall -O0"
21316 CXXFLAGS="${CXXFLAGS} -g -ansi -Wall -O0"
21318 # switch off assert etc
21320 cat >>confdefs.h <<\_ACEOF
21321 #define NDEBUG /**/
21324 # if no debugging is requested, we make optimisation explicit
21325 AM_CXXFLAGS="${AM_CXXFLAGS} -O3"
21326 AM_CFLAGS="${AM_CFLAGS} -O3"
21336 ac_config_files="$ac_config_files Makefile src/Makefile clustalo.pc Doxyfile src/clustal/Makefile src/hhalign/Makefile src/kmpp/Makefile src/squid/Makefile"
21338 cat >confcache <<\_ACEOF
21339 # This file is a shell script that caches the results of configure
21340 # tests run on this system so they can be shared between configure
21341 # scripts and configure runs, see configure's option --config-cache.
21342 # It is not useful on other systems. If it contains results you don't
21343 # want to keep, you may remove or edit it.
21345 # config.status only pays attention to the cache file if you give it
21346 # the --recheck option to rerun configure.
21348 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21349 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21350 # following values.
21354 # The following way of writing the cache mishandles newlines in values,
21355 # but we know of no workaround that is simple, portable, and efficient.
21356 # So, we kill variables containing newlines.
21357 # Ultrix sh set writes to stderr and can't be redirected directly,
21358 # and sets the high bit in the cache file unless we assign to the vars.
21360 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21361 eval ac_val=\$$ac_var
21365 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
21366 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21369 _ | IFS | as_nl) ;; #(
21370 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21371 *) $as_unset $ac_var ;;
21377 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21378 *${as_nl}ac_space=\ *)
21379 # `set' does not quote correctly, so add quotes (double-quote
21380 # substitution turns \\\\ into \\, and sed turns \\ into \).
21383 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21386 # `set' quotes correctly as required by POSIX, so do not add quotes.
21387 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21396 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21398 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21400 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21401 if test -w "$cache_file"; then
21402 test "x$cache_file" != "x/dev/null" &&
21403 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
21404 $as_echo "$as_me: updating cache $cache_file" >&6;}
21405 cat confcache >$cache_file
21407 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21408 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21413 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21414 # Let make expand exec_prefix.
21415 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21417 DEFS=-DHAVE_CONFIG_H
21421 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21422 # 1. Remove the extension, and $U if already installed.
21423 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21424 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21425 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21426 # will be set to the directory where LIBOBJS objects are built.
21427 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21428 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21430 LIBOBJS=$ac_libobjs
21432 LTLIBOBJS=$ac_ltlibobjs
21435 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21436 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21437 Usually this means the macro was only invoked conditionally." >&5
21438 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
21439 Usually this means the macro was only invoked conditionally." >&2;}
21440 { (exit 1); exit 1; }; }
21442 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21443 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21444 Usually this means the macro was only invoked conditionally." >&5
21445 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21446 Usually this means the macro was only invoked conditionally." >&2;}
21447 { (exit 1); exit 1; }; }
21449 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21450 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21451 Usually this means the macro was only invoked conditionally." >&5
21452 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21453 Usually this means the macro was only invoked conditionally." >&2;}
21454 { (exit 1); exit 1; }; }
21456 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21457 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21458 Usually this means the macro was only invoked conditionally." >&5
21459 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21460 Usually this means the macro was only invoked conditionally." >&2;}
21461 { (exit 1); exit 1; }; }
21463 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21464 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21465 Usually this means the macro was only invoked conditionally." >&5
21466 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21467 Usually this means the macro was only invoked conditionally." >&2;}
21468 { (exit 1); exit 1; }; }
21472 : ${CONFIG_STATUS=./config.status}
21474 ac_clean_files_save=$ac_clean_files
21475 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21476 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21477 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21478 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21480 # Generated by $as_me.
21481 # Run this file to recreate the current configuration.
21482 # Compiler output produced by configure, useful for debugging
21483 # configure, is in config.log if it exists.
21486 ac_cs_recheck=false
21488 SHELL=\${CONFIG_SHELL-$SHELL}
21491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21492 ## --------------------- ##
21493 ## M4sh Initialization. ##
21494 ## --------------------- ##
21496 # Be more Bourne compatible
21497 DUALCASE=1; export DUALCASE # for MKS sh
21498 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21501 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21502 # is contrary to our usage. Disable this feature.
21503 alias -g '${1+"$@"}'='"$@"'
21504 setopt NO_GLOB_SUBST
21506 case `(set -o) 2>/dev/null` in
21507 *posix*) set -o posix ;;
21516 # Avoid depending upon Character Ranges.
21517 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21518 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21519 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21520 as_cr_digits='0123456789'
21521 as_cr_alnum=$as_cr_Letters$as_cr_digits
21526 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21527 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21528 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21529 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21530 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21531 as_echo='printf %s\n'
21532 as_echo_n='printf %s'
21534 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21535 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21536 as_echo_n='/usr/ucb/echo -n'
21538 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21539 as_echo_n_body='eval
21543 expr "X$arg" : "X\\(.*\\)$as_nl";
21544 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21546 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21548 export as_echo_n_body
21549 as_echo_n='sh -c $as_echo_n_body as_echo'
21551 export as_echo_body
21552 as_echo='sh -c $as_echo_body as_echo'
21555 # The user is always right.
21556 if test "${PATH_SEPARATOR+set}" != set; then
21558 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21559 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21564 # Support unset when possible.
21565 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21573 # We need space, tab and new line, in precisely that order. Quoting is
21574 # there to prevent editors from complaining about space-tab.
21575 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21576 # splitting by setting IFS to empty value.)
21579 # Find who we are. Look in the path if we contain no directory separator.
21581 *[\\/]* ) as_myself=$0 ;;
21582 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21583 for as_dir in $PATH
21586 test -z "$as_dir" && as_dir=.
21587 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21593 # We did not find ourselves, most probably we were run as `sh COMMAND'
21594 # in which case we are not to be found in the path.
21595 if test "x$as_myself" = x; then
21598 if test ! -f "$as_myself"; then
21599 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21600 { (exit 1); exit 1; }
21603 # Work around bugs in pre-3.0 UWIN ksh.
21604 for as_var in ENV MAIL MAILPATH
21605 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21617 # Required to use basename.
21618 if expr a : '\(a\)' >/dev/null 2>&1 &&
21619 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21625 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21626 as_basename=basename
21632 # Name of the executable.
21633 as_me=`$as_basename -- "$0" ||
21634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21635 X"$0" : 'X\(//\)$' \| \
21636 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21638 sed '/^.*\/\([^/][^/]*\)\/*$/{
21657 as_lineno_1=$LINENO
21658 as_lineno_2=$LINENO
21659 test "x$as_lineno_1" != "x$as_lineno_2" &&
21660 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21662 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21663 # uniformly replaced by the line number. The first 'sed' inserts a
21664 # line-number line after each line using $LINENO; the second 'sed'
21665 # does the real work. The second script uses 'N' to pair each
21666 # line-number line with the line containing $LINENO, and appends
21667 # trailing '-' during substitution so that $LINENO is not a special
21668 # case at line end.
21669 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21670 # scripts with optimization help from Paolo Bonzini. Blame Lee
21671 # E. McMahon (1931-1989) for sed's syntax. :-)
21683 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21686 ' >$as_me.lineno &&
21687 chmod +x "$as_me.lineno" ||
21688 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21689 { (exit 1); exit 1; }; }
21691 # Don't try to exec as it changes $[0], causing all sort of problems
21692 # (the dirname of $[0] is not the place where we might find the
21693 # original and so on. Autoconf is especially sensitive to this).
21694 . "./$as_me.lineno"
21695 # Exit status is that of the last command.
21700 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21706 ECHO_C= ECHO_N= ECHO_T=
21707 case `echo -n x` in
21709 case `echo 'x\c'` in
21710 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21716 if expr a : '\(a\)' >/dev/null 2>&1 &&
21717 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21723 rm -f conf$$ conf$$.exe conf$$.file
21724 if test -d conf$$.dir; then
21725 rm -f conf$$.dir/conf$$.file
21728 mkdir conf$$.dir 2>/dev/null
21730 if (echo >conf$$.file) 2>/dev/null; then
21731 if ln -s conf$$.file conf$$ 2>/dev/null; then
21733 # ... but there are two gotchas:
21734 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21735 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21736 # In both cases, we have to default to `cp -p'.
21737 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21739 elif ln conf$$.file conf$$ 2>/dev/null; then
21747 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21748 rmdir conf$$.dir 2>/dev/null
21750 if mkdir -p . 2>/dev/null; then
21753 test -d ./-p && rmdir ./-p
21757 if test -x / >/dev/null 2>&1; then
21758 as_test_x='test -x'
21760 if ls -dL / >/dev/null 2>&1; then
21767 if test -d "$1"; then
21773 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21774 ???[sx]*):;;*)false;;esac;fi
21778 as_executable_p=$as_test_x
21780 # Sed expression to map a string onto a valid CPP name.
21781 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21783 # Sed expression to map a string onto a valid variable name.
21784 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21789 # Save the log message, to keep $[0] and so on meaningful, and to
21790 # report actual input values of CONFIG_FILES etc. instead of their
21791 # values after options handling.
21793 This file was extended by Clustal Omega $as_me 1.0.2, which was
21794 generated by GNU Autoconf 2.63. Invocation command line was
21796 CONFIG_FILES = $CONFIG_FILES
21797 CONFIG_HEADERS = $CONFIG_HEADERS
21798 CONFIG_LINKS = $CONFIG_LINKS
21799 CONFIG_COMMANDS = $CONFIG_COMMANDS
21802 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21807 case $ac_config_files in *"
21808 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21811 case $ac_config_headers in *"
21812 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21817 # Files that config.status was made for.
21818 config_files="$ac_config_files"
21819 config_headers="$ac_config_headers"
21820 config_commands="$ac_config_commands"
21824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21826 \`$as_me' instantiates files from templates according to the
21827 current configuration.
21829 Usage: $0 [OPTION]... [FILE]...
21831 -h, --help print this help, then exit
21832 -V, --version print version number and configuration settings, then exit
21833 -q, --quiet, --silent
21834 do not print progress messages
21835 -d, --debug don't remove temporary files
21836 --recheck update $as_me by reconfiguring in the same conditions
21837 --file=FILE[:TEMPLATE]
21838 instantiate the configuration file FILE
21839 --header=FILE[:TEMPLATE]
21840 instantiate the configuration header FILE
21842 Configuration files:
21845 Configuration headers:
21848 Configuration commands:
21851 Report bugs to <bug-autoconf@gnu.org>."
21854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21856 Clustal Omega config.status 1.0.2
21857 configured by $0, generated by GNU Autoconf 2.63,
21858 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21860 Copyright (C) 2008 Free Software Foundation, Inc.
21861 This config.status script is free software; the Free Software Foundation
21862 gives unlimited permission to copy, distribute and modify it."
21869 test -n "\$AWK" || AWK=awk
21872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21873 # The default lists apply if the user does not specify any file.
21879 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21880 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21891 # Handling of the options.
21892 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21894 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21895 $as_echo "$ac_cs_version"; exit ;;
21896 --debug | --debu | --deb | --de | --d | -d )
21898 --file | --fil | --fi | --f )
21901 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21903 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
21904 ac_need_defaults=false;;
21905 --header | --heade | --head | --hea )
21908 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21910 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
21911 ac_need_defaults=false;;
21913 # Conflict between --help and --header
21914 { $as_echo "$as_me: error: ambiguous option: $1
21915 Try \`$0 --help' for more information." >&2
21916 { (exit 1); exit 1; }; };;
21917 --help | --hel | -h )
21918 $as_echo "$ac_cs_usage"; exit ;;
21919 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21920 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21923 # This is an error.
21924 -*) { $as_echo "$as_me: error: unrecognized option: $1
21925 Try \`$0 --help' for more information." >&2
21926 { (exit 1); exit 1; }; } ;;
21928 *) ac_config_targets="$ac_config_targets $1"
21929 ac_need_defaults=false ;;
21935 ac_configure_extra_args=
21937 if $ac_cs_silent; then
21939 ac_configure_extra_args="$ac_configure_extra_args --silent"
21943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21944 if \$ac_cs_recheck; then
21945 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21947 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21948 CONFIG_SHELL='$SHELL'
21949 export CONFIG_SHELL
21954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21958 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21959 ## Running $as_me. ##
21965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21970 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21973 # The HP-UX ksh and POSIX shell print the target directory to stdout
21974 # if CDPATH is set.
21975 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21977 sed_quote_subst='$sed_quote_subst'
21978 double_quote_subst='$double_quote_subst'
21979 delay_variable_subst='$delay_variable_subst'
21980 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
21981 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
21982 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
21983 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21984 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
21985 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
21986 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
21987 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
21988 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
21989 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
21990 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
21991 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
21992 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
21993 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
21994 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
21995 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
21996 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
21997 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
21998 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
21999 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
22000 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
22001 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
22002 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
22003 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
22004 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
22005 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
22006 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
22007 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22008 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
22009 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
22010 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
22011 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
22012 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22013 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
22014 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
22015 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22016 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22017 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22018 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
22019 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22020 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
22021 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
22022 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
22023 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
22024 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
22025 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
22026 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
22027 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
22028 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
22029 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
22030 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
22031 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
22032 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
22033 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
22034 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
22035 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
22036 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
22037 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
22038 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
22039 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
22040 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
22041 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
22042 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22043 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22044 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
22045 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
22046 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22047 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22048 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
22049 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22050 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22051 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22052 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22053 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22054 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22055 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
22056 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22057 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22058 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22059 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
22060 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
22061 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
22062 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
22063 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
22064 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22065 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
22066 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
22067 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
22068 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
22069 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
22070 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22071 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22072 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22073 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22074 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
22075 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
22076 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
22077 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
22078 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
22079 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22080 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22081 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
22082 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22083 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
22084 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22085 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22086 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22087 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22088 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
22089 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
22090 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22091 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22092 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
22093 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
22094 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
22095 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
22096 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
22097 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
22098 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
22099 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
22100 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
22101 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
22102 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
22103 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
22104 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22105 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22106 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22107 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22108 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22109 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22110 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22111 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22112 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22113 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22114 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22115 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22116 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22117 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22118 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22119 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22120 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22121 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22122 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22123 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22124 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22125 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22126 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22127 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22128 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22129 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22130 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22131 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22132 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22133 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22134 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22135 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22136 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22137 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22138 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22139 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22140 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22141 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22142 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22143 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22144 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22145 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22146 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22147 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22148 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22149 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22150 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22153 LTCFLAGS='$LTCFLAGS'
22154 compiler='$compiler_DEFAULT'
22156 # Quote evaled strings.
22168 deplibs_check_method \
22177 lt_cv_sys_global_symbol_pipe \
22178 lt_cv_sys_global_symbol_to_cdecl \
22179 lt_cv_sys_global_symbol_to_c_name_address \
22180 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22183 lt_prog_compiler_no_builtin_flag \
22184 lt_prog_compiler_wl \
22185 lt_prog_compiler_pic \
22186 lt_prog_compiler_static \
22187 lt_cv_prog_compiler_c_o \
22195 export_dynamic_flag_spec \
22196 whole_archive_flag_spec \
22197 compiler_needs_object \
22199 allow_undefined_flag \
22200 no_undefined_flag \
22201 hardcode_libdir_flag_spec \
22202 hardcode_libdir_flag_spec_ld \
22203 hardcode_libdir_separator \
22208 variables_saved_for_relink \
22210 library_names_spec \
22215 compiler_lib_search_dirs \
22220 compiler_lib_search_path \
22223 lt_prog_compiler_no_builtin_flag_CXX \
22224 lt_prog_compiler_wl_CXX \
22225 lt_prog_compiler_pic_CXX \
22226 lt_prog_compiler_static_CXX \
22227 lt_cv_prog_compiler_c_o_CXX \
22228 export_dynamic_flag_spec_CXX \
22229 whole_archive_flag_spec_CXX \
22230 compiler_needs_object_CXX \
22232 allow_undefined_flag_CXX \
22233 no_undefined_flag_CXX \
22234 hardcode_libdir_flag_spec_CXX \
22235 hardcode_libdir_flag_spec_ld_CXX \
22236 hardcode_libdir_separator_CXX \
22237 fix_srcfile_path_CXX \
22238 exclude_expsyms_CXX \
22239 include_expsyms_CXX \
22240 file_list_spec_CXX \
22241 compiler_lib_search_dirs_CXX \
22242 predep_objects_CXX \
22243 postdep_objects_CXX \
22246 compiler_lib_search_path_CXX; do
22247 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22248 *[\\\\\\\`\\"\\\$]*)
22249 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22252 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22257 # Double-quote double-evaled strings.
22258 for var in reload_cmds \
22259 old_postinstall_cmds \
22260 old_postuninstall_cmds \
22262 extract_expsyms_cmds \
22263 old_archive_from_new_cmds \
22264 old_archive_from_expsyms_cmds \
22266 archive_expsym_cmds \
22268 module_expsym_cmds \
22269 export_symbols_cmds \
22272 postuninstall_cmds \
22274 sys_lib_search_path_spec \
22275 sys_lib_dlsearch_path_spec \
22276 old_archive_cmds_CXX \
22277 old_archive_from_new_cmds_CXX \
22278 old_archive_from_expsyms_cmds_CXX \
22280 archive_expsym_cmds_CXX \
22282 module_expsym_cmds_CXX \
22283 export_symbols_cmds_CXX \
22284 prelink_cmds_CXX; do
22285 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22286 *[\\\\\\\`\\"\\\$]*)
22287 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22290 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22295 # Fix-up fallback echo if it was mangled by the above quoting rules.
22297 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
22301 ac_aux_dir='$ac_aux_dir'
22302 xsi_shell='$xsi_shell'
22303 lt_shell_append='$lt_shell_append'
22305 # See if we are running on zsh, and set the options which allow our
22306 # commands through without removal of \ escapes INIT.
22307 if test -n "\${ZSH_VERSION+set}" ; then
22308 setopt NO_GLOB_SUBST
22314 TIMESTAMP='$TIMESTAMP'
22325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22327 # Handling of arguments.
22328 for ac_config_target in $ac_config_targets
22330 case $ac_config_target in
22331 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
22332 "src/clustal-omega-config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS src/clustal-omega-config.h" ;;
22333 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22334 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22335 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22336 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22337 "clustalo.pc") CONFIG_FILES="$CONFIG_FILES clustalo.pc" ;;
22338 "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
22339 "src/clustal/Makefile") CONFIG_FILES="$CONFIG_FILES src/clustal/Makefile" ;;
22340 "src/hhalign/Makefile") CONFIG_FILES="$CONFIG_FILES src/hhalign/Makefile" ;;
22341 "src/kmpp/Makefile") CONFIG_FILES="$CONFIG_FILES src/kmpp/Makefile" ;;
22342 "src/squid/Makefile") CONFIG_FILES="$CONFIG_FILES src/squid/Makefile" ;;
22344 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22345 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22346 { (exit 1); exit 1; }; };;
22351 # If the user did not use the arguments to specify the items to instantiate,
22352 # then the envvar interface is used. Set only those that are not.
22353 # We use the long form for the default assignment because of an extremely
22354 # bizarre bug on SunOS 4.1.3.
22355 if $ac_need_defaults; then
22356 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22357 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22358 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22361 # Have a temporary directory for convenience. Make it in the build tree
22362 # simply because there is no reason against having it here, and in addition,
22363 # creating and moving files from /tmp can sometimes cause problems.
22364 # Hook for its removal unless debugging.
22365 # Note that there is a small window in which the directory will not be cleaned:
22366 # after its creation but before its name has been assigned to `$tmp'.
22370 trap 'exit_status=$?
22371 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22373 trap '{ (exit 1); exit 1; }' 1 2 13 15
22375 # Create a (secure) tmp directory for tmp files.
22378 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22379 test -n "$tmp" && test -d "$tmp"
22382 tmp=./conf$$-$RANDOM
22383 (umask 077 && mkdir "$tmp")
22386 $as_echo "$as_me: cannot create a temporary directory in ." >&2
22387 { (exit 1); exit 1; }
22390 # Set up the scripts for CONFIG_FILES section.
22391 # No need to generate them if there are no CONFIG_FILES.
22392 # This happens for instance with `./config.status config.h'.
22393 if test -n "$CONFIG_FILES"; then
22397 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22398 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22401 ac_cs_awk_cr=$ac_cr
22404 echo 'BEGIN {' >"$tmp/subs1.awk" &&
22409 echo "cat >conf$$subs.awk <<_ACEOF" &&
22410 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22412 } >conf$$subs.sh ||
22413 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22414 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22415 { (exit 1); exit 1; }; }
22416 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
22418 for ac_last_try in false false false false false :; do
22419 . ./conf$$subs.sh ||
22420 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22421 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22422 { (exit 1); exit 1; }; }
22424 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22425 if test $ac_delim_n = $ac_delim_num; then
22427 elif $ac_last_try; then
22428 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22429 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22430 { (exit 1); exit 1; }; }
22432 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22435 rm -f conf$$subs.sh
22437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22438 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
22442 s/^/S["/; s/!.*/"]=/
22452 s/\(.\{148\}\).*/\1/
22454 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22459 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22466 s/\(.\{148\}\).*/\1/
22468 s/["\\]/\\&/g; s/^/"/; s/$/"/
22472 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22477 ' <conf$$subs.awk | sed '
22482 ' >>$CONFIG_STATUS || ac_write_fail=1
22483 rm -f conf$$subs.awk
22484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22486 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
22487 for (key in S) S_is_set[key] = 1
22493 nfields = split(line, field, "@")
22495 len = length(field[1])
22496 for (i = 2; i < nfields; i++) {
22498 keylen = length(key)
22499 if (S_is_set[key]) {
22501 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22502 len += length(value) + length(field[++i])
22513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22514 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22515 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22518 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
22519 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
22520 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
22521 { (exit 1); exit 1; }; }
22524 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22525 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22526 # trailing colons and then remove the whole line if VPATH becomes empty
22527 # (actually we leave an empty line to preserve line numbers).
22528 if test "x$srcdir" = x.; then
22529 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22530 s/:*\$(srcdir):*/:/
22531 s/:*\${srcdir}:*/:/
22533 s/^\([^=]*=[ ]*\):*/\1/
22539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22540 fi # test -n "$CONFIG_FILES"
22542 # Set up the scripts for CONFIG_HEADERS section.
22543 # No need to generate them if there are no CONFIG_HEADERS.
22544 # This happens for instance with `./config.status Makefile'.
22545 if test -n "$CONFIG_HEADERS"; then
22546 cat >"$tmp/defines.awk" <<\_ACAWK ||
22550 # Transform confdefs.h into an awk script `defines.awk', embedded as
22551 # here-document in config.status, that substitutes the proper values into
22552 # config.h.in to produce config.h.
22554 # Create a delimiter string that does not exist in confdefs.h, to ease
22555 # handling of long lines.
22557 for ac_last_try in false false :; do
22558 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
22559 if test -z "$ac_t"; then
22561 elif $ac_last_try; then
22562 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
22563 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
22564 { (exit 1); exit 1; }; }
22566 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22570 # For the awk script, D is an array of macro values keyed by name,
22571 # likewise P contains macro parameters if any. Preserve backslash
22572 # newline sequences.
22574 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22576 s/.\{148\}/&'"$ac_delim"'/g
22579 s/^[ ]*#[ ]*define[ ][ ]*/ /
22586 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22588 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22592 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22593 D["\1"]=" \3\\\\\\n"\\/p
22595 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22600 s/.\{148\}/&'"$ac_delim"'/g
22605 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22608 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22610 ' <confdefs.h | sed '
22611 s/'"$ac_delim"'/"\\\
22612 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22615 for (key in D) D_is_set[key] = 1
22618 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22620 split(line, arg, " ")
22621 if (arg[1] == "#") {
22625 defundef = substr(arg[1], 2)
22628 split(mac1, mac2, "(") #)
22630 prefix = substr(line, 1, index(line, defundef) - 1)
22631 if (D_is_set[macro]) {
22632 # Preserve the white space surrounding the "#".
22633 print prefix "define", macro P[macro] D[macro]
22636 # Replace #undef with comments. This is necessary, for example,
22637 # in the case of _POSIX_SOURCE, which is predefined and required
22638 # on some systems where configure will not decide to define it.
22639 if (defundef == "undef") {
22640 print "/*", prefix defundef, macro, "*/"
22648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22649 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
22650 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
22651 { (exit 1); exit 1; }; }
22652 fi # test -n "$CONFIG_HEADERS"
22655 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22660 :[FHLC]) ac_mode=$ac_tag; continue;;
22662 case $ac_mode$ac_tag in
22664 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
22665 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
22666 { (exit 1); exit 1; }; };;
22667 :[FH]-) ac_tag=-:-;;
22668 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22685 -) ac_f="$tmp/stdin";;
22686 *) # Look for the file first in the build tree, then in the source tree
22687 # (if the path is not absolute). The absolute path cannot be DOS-style,
22688 # because $ac_f cannot contain `:'.
22692 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22694 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22695 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22696 { (exit 1); exit 1; }; };;
22698 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22699 ac_file_inputs="$ac_file_inputs '$ac_f'"
22702 # Let's still pretend it is `configure' which instantiates (i.e., don't
22703 # use $as_me), people would be surprised to read:
22704 # /* config.h. Generated by config.status. */
22705 configure_input='Generated from '`
22706 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22708 if test x"$ac_file" != x-; then
22709 configure_input="$ac_file. $configure_input"
22710 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
22711 $as_echo "$as_me: creating $ac_file" >&6;}
22713 # Neutralize special characters interpreted by sed in replacement strings.
22714 case $configure_input in #(
22715 *\&* | *\|* | *\\* )
22716 ac_sed_conf_input=`$as_echo "$configure_input" |
22717 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22718 *) ac_sed_conf_input=$configure_input;;
22722 *:-:* | *:-) cat >"$tmp/stdin" \
22723 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22724 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22725 { (exit 1); exit 1; }; } ;;
22730 ac_dir=`$as_dirname -- "$ac_file" ||
22731 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22732 X"$ac_file" : 'X\(//\)[^/]' \| \
22733 X"$ac_file" : 'X\(//\)$' \| \
22734 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22735 $as_echo X"$ac_file" |
22736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22740 /^X\(\/\/\)[^/].*/{
22755 -*) as_dir=./$as_dir;;
22757 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22761 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22762 *) as_qdir=$as_dir;;
22764 as_dirs="'$as_qdir' $as_dirs"
22765 as_dir=`$as_dirname -- "$as_dir" ||
22766 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22767 X"$as_dir" : 'X\(//\)[^/]' \| \
22768 X"$as_dir" : 'X\(//\)$' \| \
22769 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22770 $as_echo X"$as_dir" |
22771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22775 /^X\(\/\/\)[^/].*/{
22788 test -d "$as_dir" && break
22790 test -z "$as_dirs" || eval "mkdir $as_dirs"
22791 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22792 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22793 { (exit 1); exit 1; }; }; }
22797 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22799 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22800 # A ".." for each directory in $ac_dir_suffix.
22801 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22802 case $ac_top_builddir_sub in
22803 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22804 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22807 ac_abs_top_builddir=$ac_pwd
22808 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22809 # for backward compatibility:
22810 ac_top_builddir=$ac_top_build_prefix
22813 .) # We are building in place.
22815 ac_top_srcdir=$ac_top_builddir_sub
22816 ac_abs_top_srcdir=$ac_pwd ;;
22817 [\\/]* | ?:[\\/]* ) # Absolute name.
22818 ac_srcdir=$srcdir$ac_dir_suffix;
22819 ac_top_srcdir=$srcdir
22820 ac_abs_top_srcdir=$srcdir ;;
22821 *) # Relative name.
22822 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22823 ac_top_srcdir=$ac_top_build_prefix$srcdir
22824 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22826 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22836 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22837 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22839 ac_MKDIR_P=$MKDIR_P
22841 [\\/$]* | ?:[\\/]* ) ;;
22842 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22847 # If the template does not know about datarootdir, expand it.
22848 # FIXME: This hack should be removed a few years after 2.60.
22849 ac_datarootdir_hack=; ac_datarootdir_seen=
22862 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22863 *datarootdir*) ac_datarootdir_seen=yes;;
22864 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22865 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22866 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22869 ac_datarootdir_hack='
22870 s&@datadir@&$datadir&g
22871 s&@docdir@&$docdir&g
22872 s&@infodir@&$infodir&g
22873 s&@localedir@&$localedir&g
22874 s&@mandir@&$mandir&g
22875 s&\\\${datarootdir}&$datarootdir&g' ;;
22879 # Neutralize VPATH when `$srcdir' = `.'.
22880 # Shell code in configure.ac might set extrasub.
22881 # FIXME: do we really want to maintain this feature?
22882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22883 ac_sed_extra="$ac_vpsub
22886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22888 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22889 s|@configure_input@|$ac_sed_conf_input|;t t
22890 s&@top_builddir@&$ac_top_builddir_sub&;t t
22891 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22892 s&@srcdir@&$ac_srcdir&;t t
22893 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22894 s&@top_srcdir@&$ac_top_srcdir&;t t
22895 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22896 s&@builddir@&$ac_builddir&;t t
22897 s&@abs_builddir@&$ac_abs_builddir&;t t
22898 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22899 s&@INSTALL@&$ac_INSTALL&;t t
22900 s&@MKDIR_P@&$ac_MKDIR_P&;t t
22901 $ac_datarootdir_hack
22903 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22904 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22905 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22906 { (exit 1); exit 1; }; }
22908 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22909 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22910 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22911 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22912 which seems to be undefined. Please make sure it is defined." >&5
22913 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22914 which seems to be undefined. Please make sure it is defined." >&2;}
22918 -) cat "$tmp/out" && rm -f "$tmp/out";;
22919 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22921 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22922 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22923 { (exit 1); exit 1; }; }
22929 if test x"$ac_file" != x-; then
22931 $as_echo "/* $configure_input */" \
22932 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22933 } >"$tmp/config.h" \
22934 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22935 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22936 { (exit 1); exit 1; }; }
22937 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22938 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22939 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22942 mv "$tmp/config.h" "$ac_file" \
22943 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22944 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22945 { (exit 1); exit 1; }; }
22948 $as_echo "/* $configure_input */" \
22949 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22950 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
22951 $as_echo "$as_me: error: could not create -" >&2;}
22952 { (exit 1); exit 1; }; }
22954 # Compute "$ac_file"'s index in $config_headers.
22957 for _am_header in $config_headers :; do
22958 case $_am_header in
22959 $_am_arg | $_am_arg:* )
22962 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22965 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22966 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22967 X"$_am_arg" : 'X\(//\)[^/]' \| \
22968 X"$_am_arg" : 'X\(//\)$' \| \
22969 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22970 $as_echo X"$_am_arg" |
22971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22975 /^X\(\/\/\)[^/].*/{
22987 s/.*/./; q'`/stamp-h$_am_stamp_count
22990 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
22991 $as_echo "$as_me: executing $ac_file commands" >&6;}
22996 case $ac_file$ac_mode in
22997 "src/clustal-omega-config.h":C) ac_prefix_conf_OUT=`echo src/clustal-omega-config.h`
22998 ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
22999 ac_prefix_conf_PKG=`echo $PACKAGE`
23000 ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
23001 ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
23002 ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'`
23003 if test ".$ac_prefix_conf_INP" = "."; then
23004 for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
23006 *.h) ac_prefix_conf_INP=$ac_file ;;
23009 test ".$ac_prefix_conf_INP" != "." && break
23012 if test ".$ac_prefix_conf_INP" = "."; then
23013 case "$ac_prefix_conf_OUT" in
23014 */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
23016 *-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
23018 *) ac_prefix_conf_INP=config.h
23022 if test -z "$ac_prefix_conf_PKG" ; then
23023 { { $as_echo "$as_me:$LINENO: error: no prefix for _PREFIX_PKG_CONFIG_H" >&5
23024 $as_echo "$as_me: error: no prefix for _PREFIX_PKG_CONFIG_H" >&2;}
23025 { (exit 1); exit 1; }; }
23027 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
23028 ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
23030 { $as_echo "$as_me:$LINENO: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
23031 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
23032 if test -f $ac_prefix_conf_INP ; then
23033 $as_echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
23034 $as_echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
23035 $as_echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1\\" >> conftest.prefix
23036 $as_echo "#define $ac_prefix_conf_UPP""_\\1\\2\\" >> conftest.prefix
23037 $as_echo "#endif/" >> conftest.prefix
23038 $as_echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1\\" >> conftest.prefix
23039 $as_echo "#define $ac_prefix_conf_LOW""_\\1\\2\\" >> conftest.prefix
23040 $as_echo "#endif/" >> conftest.prefix
23041 # now executing _script on _DEF input to create _OUT output file
23042 echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
23043 echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
23044 echo ' ' >>$tmp/pconfig.h
23045 echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
23047 sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
23048 echo ' ' >>$tmp/pconfig.h
23049 echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
23050 echo "#endif" >>$tmp/pconfig.h
23051 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
23052 { $as_echo "$as_me:$LINENO: $ac_prefix_conf_OUT is unchanged" >&5
23053 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
23055 ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
23056 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23057 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
23058 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
23059 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
23060 $as_echo X"$ac_prefix_conf_OUT" |
23061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23065 /^X\(\/\/\)[^/].*/{
23080 -*) as_dir=./$as_dir;;
23082 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23086 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23087 *) as_qdir=$as_dir;;
23089 as_dirs="'$as_qdir' $as_dirs"
23090 as_dir=`$as_dirname -- "$as_dir" ||
23091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23092 X"$as_dir" : 'X\(//\)[^/]' \| \
23093 X"$as_dir" : 'X\(//\)$' \| \
23094 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23095 $as_echo X"$as_dir" |
23096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23100 /^X\(\/\/\)[^/].*/{
23113 test -d "$as_dir" && break
23115 test -z "$as_dirs" || eval "mkdir $as_dirs"
23116 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23117 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23118 { (exit 1); exit 1; }; }; }
23119 rm -f "$ac_prefix_conf_OUT"
23120 mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
23122 cp conftest.prefix _configs.sed
23124 { { $as_echo "$as_me:$LINENO: error: input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" >&5
23125 $as_echo "$as_me: error: input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" >&2;}
23126 { (exit 1); exit 1; }; }
23131 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23132 # Autoconf 2.62 quotes --file arguments for eval, but not when files
23133 # are listed without --file. Let's play safe and only enable the eval
23134 # if we detect the quoting.
23135 case $CONFIG_FILES in
23136 *\'*) eval set x "$CONFIG_FILES" ;;
23137 *) set x $CONFIG_FILES ;;
23142 # Strip MF so we end up with the name of the file.
23143 mf=`echo "$mf" | sed -e 's/:.*$//'`
23144 # Check whether this is an Automake generated Makefile or not.
23145 # We used to match only the files named `Makefile.in', but
23146 # some people rename them; so instead we look at the file content.
23147 # Grep'ing the first line is not enough: some people post-process
23148 # each Makefile.in and add a new line on top of each file to say so.
23149 # Grep'ing the whole file is not good either: AIX grep has a line
23150 # limit of 2048, but all sed's we know have understand at least 4000.
23151 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23152 dirpart=`$as_dirname -- "$mf" ||
23153 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23154 X"$mf" : 'X\(//\)[^/]' \| \
23155 X"$mf" : 'X\(//\)$' \| \
23156 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23162 /^X\(\/\/\)[^/].*/{
23178 # Extract the definition of DEPDIR, am__include, and am__quote
23179 # from the Makefile without running `make'.
23180 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23181 test -z "$DEPDIR" && continue
23182 am__include=`sed -n 's/^am__include = //p' < "$mf"`
23183 test -z "am__include" && continue
23184 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23185 # When using ansi2knr, U may be empty or an underscore; expand it
23186 U=`sed -n 's/^U = //p' < "$mf"`
23187 # Find all dependency output files, they are included files with
23188 # $(DEPDIR) in their names. We invoke sed twice because it is the
23189 # simplest approach to changing $(DEPDIR) to its actual value in the
23191 for file in `sed -n "
23192 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23193 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23194 # Make sure the directory exists.
23195 test -f "$dirpart/$file" && continue
23196 fdir=`$as_dirname -- "$file" ||
23197 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23198 X"$file" : 'X\(//\)[^/]' \| \
23199 X"$file" : 'X\(//\)$' \| \
23200 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23201 $as_echo X"$file" |
23202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23206 /^X\(\/\/\)[^/].*/{
23219 { as_dir=$dirpart/$fdir
23221 -*) as_dir=./$as_dir;;
23223 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23227 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23228 *) as_qdir=$as_dir;;
23230 as_dirs="'$as_qdir' $as_dirs"
23231 as_dir=`$as_dirname -- "$as_dir" ||
23232 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23233 X"$as_dir" : 'X\(//\)[^/]' \| \
23234 X"$as_dir" : 'X\(//\)$' \| \
23235 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23236 $as_echo X"$as_dir" |
23237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23241 /^X\(\/\/\)[^/].*/{
23254 test -d "$as_dir" && break
23256 test -z "$as_dirs" || eval "mkdir $as_dirs"
23257 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23258 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23259 { (exit 1); exit 1; }; }; }
23260 # echo "creating $dirpart/$file"
23261 echo '# dummy' > "$dirpart/$file"
23268 # See if we are running on zsh, and set the options which allow our
23269 # commands through without removal of \ escapes.
23270 if test -n "${ZSH_VERSION+set}" ; then
23271 setopt NO_GLOB_SUBST
23274 cfgfile="${ofile}T"
23275 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23278 cat <<_LT_EOF >> "$cfgfile"
23281 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23282 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23283 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23284 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23286 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23287 # 2006, 2007, 2008 Free Software Foundation, Inc.
23288 # Written by Gordon Matzigkeit, 1996
23290 # This file is part of GNU Libtool.
23292 # GNU Libtool is free software; you can redistribute it and/or
23293 # modify it under the terms of the GNU General Public License as
23294 # published by the Free Software Foundation; either version 2 of
23295 # the License, or (at your option) any later version.
23297 # As a special exception to the GNU General Public License,
23298 # if you distribute this file as part of a program or library that
23299 # is built using GNU Libtool, you may include this file under the
23300 # same distribution terms that you use for the rest of that program.
23302 # GNU Libtool is distributed in the hope that it will be useful,
23303 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23304 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23305 # GNU General Public License for more details.
23307 # You should have received a copy of the GNU General Public License
23308 # along with GNU Libtool; see the file COPYING. If not, a copy
23309 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23310 # obtained by writing to the Free Software Foundation, Inc.,
23311 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23314 # The names of the tagged configurations supported by this script.
23315 available_tags="CXX "
23317 # ### BEGIN LIBTOOL CONFIG
23319 # Which release of libtool.m4 was used?
23320 macro_version=$macro_version
23321 macro_revision=$macro_revision
23323 # Whether or not to build shared libraries.
23324 build_libtool_libs=$enable_shared
23326 # Whether or not to build static libraries.
23327 build_old_libs=$enable_static
23329 # What type of objects to build.
23332 # Whether or not to optimize for fast installation.
23333 fast_install=$enable_fast_install
23336 host_alias=$host_alias
23340 # The build system.
23341 build_alias=$build_alias
23345 # A sed program that does not truncate output.
23348 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23349 Xsed="\$SED -e 1s/^X//"
23351 # A grep program that handles long lines.
23357 # A literal string matcher.
23360 # A BSD- or MS-compatible name lister.
23363 # Whether we need soft or hard links.
23366 # What is the maximum length of a command?
23367 max_cmd_len=$max_cmd_len
23369 # Object file suffix (normally "o").
23372 # Executable file suffix (normally "").
23375 # whether the shell understands "unset".
23378 # turn spaces into newlines.
23381 # turn newlines into spaces.
23384 # How to create reloadable object files.
23385 reload_flag=$lt_reload_flag
23386 reload_cmds=$lt_reload_cmds
23388 # An object symbol dumper.
23389 OBJDUMP=$lt_OBJDUMP
23391 # Method to check whether dependent libraries are shared objects.
23392 deplibs_check_method=$lt_deplibs_check_method
23394 # Command to use when deplibs_check_method == "file_magic".
23395 file_magic_cmd=$lt_file_magic_cmd
23399 AR_FLAGS=$lt_AR_FLAGS
23401 # A symbol stripping program.
23404 # Commands used to install an old-style archive.
23406 old_postinstall_cmds=$lt_old_postinstall_cmds
23407 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23412 # LTCC compiler flags.
23413 LTCFLAGS=$lt_CFLAGS
23415 # Take the output of nm and produce a listing of raw symbols and C names.
23416 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23418 # Transform the output of nm in a proper C declaration.
23419 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23421 # Transform the output of nm in a C name address pair.
23422 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23424 # Transform the output of nm in a C name address pair when lib prefix is needed.
23425 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23427 # The name of the directory that contains temporary libtool files.
23430 # Shell to use when invoking shell scripts.
23433 # An echo program that does not interpret backslashes.
23436 # Used to examine libraries when file_magic_cmd begins with "file".
23437 MAGIC_CMD=$MAGIC_CMD
23439 # Must we lock files when doing compilation?
23440 need_locks=$lt_need_locks
23442 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23443 DSYMUTIL=$lt_DSYMUTIL
23445 # Tool to change global to local symbols on Mac OS X.
23448 # Tool to manipulate fat objects and archives on Mac OS X.
23451 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23454 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23455 OTOOL64=$lt_OTOOL64
23457 # Old archive suffix (normally "a").
23460 # Shared library suffix (normally ".so").
23461 shrext_cmds=$lt_shrext_cmds
23463 # The commands to extract the exported symbol list from a shared archive.
23464 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23466 # Variables whose values should be saved in libtool wrapper scripts and
23467 # restored at link time.
23468 variables_saved_for_relink=$lt_variables_saved_for_relink
23470 # Do we need the "lib" prefix for modules?
23471 need_lib_prefix=$need_lib_prefix
23473 # Do we need a version for libraries?
23474 need_version=$need_version
23476 # Library versioning type.
23477 version_type=$version_type
23479 # Shared library runtime path variable.
23480 runpath_var=$runpath_var
23482 # Shared library path variable.
23483 shlibpath_var=$shlibpath_var
23485 # Is shlibpath searched before the hard-coded library search path?
23486 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23488 # Format of library name prefix.
23489 libname_spec=$lt_libname_spec
23491 # List of archive names. First name is the real one, the rest are links.
23492 # The last name is the one that the linker finds with -lNAME
23493 library_names_spec=$lt_library_names_spec
23495 # The coded name of the library, if different from the real name.
23496 soname_spec=$lt_soname_spec
23498 # Command to use after installation of a shared archive.
23499 postinstall_cmds=$lt_postinstall_cmds
23501 # Command to use after uninstallation of a shared archive.
23502 postuninstall_cmds=$lt_postuninstall_cmds
23504 # Commands used to finish a libtool library installation in a directory.
23505 finish_cmds=$lt_finish_cmds
23507 # As "finish_cmds", except a single script fragment to be evaled but
23509 finish_eval=$lt_finish_eval
23511 # Whether we should hardcode library paths into libraries.
23512 hardcode_into_libs=$hardcode_into_libs
23514 # Compile-time system search path for libraries.
23515 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23517 # Run-time system search path for libraries.
23518 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23520 # Whether dlopen is supported.
23521 dlopen_support=$enable_dlopen
23523 # Whether dlopen of programs is supported.
23524 dlopen_self=$enable_dlopen_self
23526 # Whether dlopen of statically linked programs is supported.
23527 dlopen_self_static=$enable_dlopen_self_static
23529 # Commands to strip libraries.
23530 old_striplib=$lt_old_striplib
23531 striplib=$lt_striplib
23534 # The linker used to build libraries.
23537 # Commands used to build an old-style archive.
23538 old_archive_cmds=$lt_old_archive_cmds
23540 # A language specific compiler.
23543 # Is the compiler the GNU compiler?
23546 # Compiler flag to turn off builtin functions.
23547 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23549 # How to pass a linker flag through the compiler.
23550 wl=$lt_lt_prog_compiler_wl
23552 # Additional compiler flags for building library objects.
23553 pic_flag=$lt_lt_prog_compiler_pic
23555 # Compiler flag to prevent dynamic linking.
23556 link_static_flag=$lt_lt_prog_compiler_static
23558 # Does compiler simultaneously support -c and -o options?
23559 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23561 # Whether or not to add -lc for building shared libraries.
23562 build_libtool_need_lc=$archive_cmds_need_lc
23564 # Whether or not to disallow shared libs when runtime libs are static.
23565 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23567 # Compiler flag to allow reflexive dlopens.
23568 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23570 # Compiler flag to generate shared objects directly from archives.
23571 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23573 # Whether the compiler copes with passing no objects directly.
23574 compiler_needs_object=$lt_compiler_needs_object
23576 # Create an old-style archive from a shared archive.
23577 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23579 # Create a temporary old-style archive to link instead of a shared archive.
23580 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23582 # Commands used to build a shared archive.
23583 archive_cmds=$lt_archive_cmds
23584 archive_expsym_cmds=$lt_archive_expsym_cmds
23586 # Commands used to build a loadable module if different from building
23587 # a shared archive.
23588 module_cmds=$lt_module_cmds
23589 module_expsym_cmds=$lt_module_expsym_cmds
23591 # Whether we are building with GNU ld or not.
23592 with_gnu_ld=$lt_with_gnu_ld
23594 # Flag that allows shared libraries with undefined symbols to be built.
23595 allow_undefined_flag=$lt_allow_undefined_flag
23597 # Flag that enforces no undefined symbols.
23598 no_undefined_flag=$lt_no_undefined_flag
23600 # Flag to hardcode \$libdir into a binary during linking.
23601 # This must work even if \$libdir does not exist
23602 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23604 # If ld is used when linking, flag to hardcode \$libdir into a binary
23605 # during linking. This must work even if \$libdir does not exist.
23606 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
23608 # Whether we need a single "-rpath" flag with a separated argument.
23609 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23611 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23612 # DIR into the resulting binary.
23613 hardcode_direct=$hardcode_direct
23615 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23616 # DIR into the resulting binary and the resulting library dependency is
23617 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23618 # library is relocated.
23619 hardcode_direct_absolute=$hardcode_direct_absolute
23621 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23622 # into the resulting binary.
23623 hardcode_minus_L=$hardcode_minus_L
23625 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23626 # into the resulting binary.
23627 hardcode_shlibpath_var=$hardcode_shlibpath_var
23629 # Set to "yes" if building a shared library automatically hardcodes DIR
23630 # into the library and all subsequent libraries and executables linked
23632 hardcode_automatic=$hardcode_automatic
23634 # Set to yes if linker adds runtime paths of dependent libraries
23635 # to runtime path list.
23636 inherit_rpath=$inherit_rpath
23638 # Whether libtool must link a program against all its dependency libraries.
23639 link_all_deplibs=$link_all_deplibs
23641 # Fix the shell variable \$srcfile for the compiler.
23642 fix_srcfile_path=$lt_fix_srcfile_path
23644 # Set to "yes" if exported symbols are required.
23645 always_export_symbols=$always_export_symbols
23647 # The commands to list exported symbols.
23648 export_symbols_cmds=$lt_export_symbols_cmds
23650 # Symbols that should not be listed in the preloaded symbols.
23651 exclude_expsyms=$lt_exclude_expsyms
23653 # Symbols that must always be exported.
23654 include_expsyms=$lt_include_expsyms
23656 # Commands necessary for linking programs (against libraries) with templates.
23657 prelink_cmds=$lt_prelink_cmds
23659 # Specify filename containing input files.
23660 file_list_spec=$lt_file_list_spec
23662 # How to hardcode a shared library path into an executable.
23663 hardcode_action=$hardcode_action
23665 # The directories searched by this compiler when creating a shared library.
23666 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23668 # Dependencies to place before and after the objects being linked to
23669 # create a shared library.
23670 predep_objects=$lt_predep_objects
23671 postdep_objects=$lt_postdep_objects
23672 predeps=$lt_predeps
23673 postdeps=$lt_postdeps
23675 # The library search path used internally by the compiler when linking
23676 # a shared library.
23677 compiler_lib_search_path=$lt_compiler_lib_search_path
23679 # ### END LIBTOOL CONFIG
23685 cat <<\_LT_EOF >> "$cfgfile"
23686 # AIX sometimes has problems with the GCC collect2 program. For some
23687 # reason, if we set the COLLECT_NAMES environment variable, the problems
23688 # vanish in a puff of smoke.
23689 if test "X${COLLECT_NAMES+set}" != Xset; then
23691 export COLLECT_NAMES
23698 ltmain="$ac_aux_dir/ltmain.sh"
23701 # We use sed instead of cat because bash on DJGPP gets confused if
23702 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23703 # text mode, it properly converts lines to CR/LF. This bash problem
23704 # is reportedly fixed, but why not run on old versions too?
23705 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
23706 || (rm -f "$cfgfile"; exit 1)
23710 cat << \_LT_EOF >> "$cfgfile"
23712 # func_dirname file append nondir_replacement
23713 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
23714 # otherwise set result to NONDIR_REPLACEMENT.
23718 */*) func_dirname_result="${1%/*}${2}" ;;
23719 * ) func_dirname_result="${3}" ;;
23723 # func_basename file
23726 func_basename_result="${1##*/}"
23729 # func_dirname_and_basename file append nondir_replacement
23730 # perform func_basename and func_dirname in a single function
23732 # dirname: Compute the dirname of FILE. If nonempty,
23733 # add APPEND to the result, otherwise set result
23734 # to NONDIR_REPLACEMENT.
23735 # value returned in "$func_dirname_result"
23736 # basename: Compute filename of FILE.
23737 # value retuned in "$func_basename_result"
23738 # Implementation must be kept synchronized with func_dirname
23739 # and func_basename. For efficiency, we do not delegate to
23740 # those functions but instead duplicate the functionality here.
23741 func_dirname_and_basename ()
23744 */*) func_dirname_result="${1%/*}${2}" ;;
23745 * ) func_dirname_result="${3}" ;;
23747 func_basename_result="${1##*/}"
23750 # func_stripname prefix suffix name
23751 # strip PREFIX and SUFFIX off of NAME.
23752 # PREFIX and SUFFIX must not contain globbing or regex special
23753 # characters, hashes, percent signs, but SUFFIX may contain a leading
23754 # dot (in which case that matches only a dot).
23757 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
23758 # positional parameters, so assign one to ordinary parameter first.
23759 func_stripname_result=${3}
23760 func_stripname_result=${func_stripname_result#"${1}"}
23761 func_stripname_result=${func_stripname_result%"${2}"}
23767 func_opt_split_opt=${1%%=*}
23768 func_opt_split_arg=${1#*=}
23775 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
23776 *) func_lo2o_result=${1} ;;
23780 # func_xform libobj-or-source
23783 func_xform_result=${1%.*}.lo
23786 # func_arith arithmetic-term...
23789 func_arith_result=$(( $* ))
23793 # STRING may not start with a hyphen.
23796 func_len_result=${#1}
23801 *) # Bourne compatible functions.
23802 cat << \_LT_EOF >> "$cfgfile"
23804 # func_dirname file append nondir_replacement
23805 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
23806 # otherwise set result to NONDIR_REPLACEMENT.
23809 # Extract subdirectory from the argument.
23810 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
23811 if test "X$func_dirname_result" = "X${1}"; then
23812 func_dirname_result="${3}"
23814 func_dirname_result="$func_dirname_result${2}"
23818 # func_basename file
23821 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
23825 # func_stripname prefix suffix name
23826 # strip PREFIX and SUFFIX off of NAME.
23827 # PREFIX and SUFFIX must not contain globbing or regex special
23828 # characters, hashes, percent signs, but SUFFIX may contain a leading
23829 # dot (in which case that matches only a dot).
23830 # func_strip_suffix prefix name
23834 .*) func_stripname_result=`$ECHO "X${3}" \
23835 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
23836 *) func_stripname_result=`$ECHO "X${3}" \
23837 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
23842 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
23843 my_sed_long_arg='1s/^-[^=]*=//'
23848 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
23849 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
23855 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
23858 # func_xform libobj-or-source
23861 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
23864 # func_arith arithmetic-term...
23867 func_arith_result=`expr "$@"`
23871 # STRING may not start with a hyphen.
23874 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
23880 case $lt_shell_append in
23882 cat << \_LT_EOF >> "$cfgfile"
23884 # func_append var value
23885 # Append VALUE to the end of shell variable VAR.
23893 cat << \_LT_EOF >> "$cfgfile"
23895 # func_append var value
23896 # Append VALUE to the end of shell variable VAR.
23907 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
23908 || (rm -f "$cfgfile"; exit 1)
23910 mv -f "$cfgfile" "$ofile" ||
23911 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23915 cat <<_LT_EOF >> "$ofile"
23917 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23919 # The linker used to build libraries.
23922 # Commands used to build an old-style archive.
23923 old_archive_cmds=$lt_old_archive_cmds_CXX
23925 # A language specific compiler.
23926 CC=$lt_compiler_CXX
23928 # Is the compiler the GNU compiler?
23931 # Compiler flag to turn off builtin functions.
23932 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23934 # How to pass a linker flag through the compiler.
23935 wl=$lt_lt_prog_compiler_wl_CXX
23937 # Additional compiler flags for building library objects.
23938 pic_flag=$lt_lt_prog_compiler_pic_CXX
23940 # Compiler flag to prevent dynamic linking.
23941 link_static_flag=$lt_lt_prog_compiler_static_CXX
23943 # Does compiler simultaneously support -c and -o options?
23944 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23946 # Whether or not to add -lc for building shared libraries.
23947 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23949 # Whether or not to disallow shared libs when runtime libs are static.
23950 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23952 # Compiler flag to allow reflexive dlopens.
23953 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23955 # Compiler flag to generate shared objects directly from archives.
23956 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23958 # Whether the compiler copes with passing no objects directly.
23959 compiler_needs_object=$lt_compiler_needs_object_CXX
23961 # Create an old-style archive from a shared archive.
23962 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23964 # Create a temporary old-style archive to link instead of a shared archive.
23965 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23967 # Commands used to build a shared archive.
23968 archive_cmds=$lt_archive_cmds_CXX
23969 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23971 # Commands used to build a loadable module if different from building
23972 # a shared archive.
23973 module_cmds=$lt_module_cmds_CXX
23974 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23976 # Whether we are building with GNU ld or not.
23977 with_gnu_ld=$lt_with_gnu_ld_CXX
23979 # Flag that allows shared libraries with undefined symbols to be built.
23980 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23982 # Flag that enforces no undefined symbols.
23983 no_undefined_flag=$lt_no_undefined_flag_CXX
23985 # Flag to hardcode \$libdir into a binary during linking.
23986 # This must work even if \$libdir does not exist
23987 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23989 # If ld is used when linking, flag to hardcode \$libdir into a binary
23990 # during linking. This must work even if \$libdir does not exist.
23991 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
23993 # Whether we need a single "-rpath" flag with a separated argument.
23994 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23996 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23997 # DIR into the resulting binary.
23998 hardcode_direct=$hardcode_direct_CXX
24000 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24001 # DIR into the resulting binary and the resulting library dependency is
24002 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24003 # library is relocated.
24004 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24006 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24007 # into the resulting binary.
24008 hardcode_minus_L=$hardcode_minus_L_CXX
24010 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24011 # into the resulting binary.
24012 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24014 # Set to "yes" if building a shared library automatically hardcodes DIR
24015 # into the library and all subsequent libraries and executables linked
24017 hardcode_automatic=$hardcode_automatic_CXX
24019 # Set to yes if linker adds runtime paths of dependent libraries
24020 # to runtime path list.
24021 inherit_rpath=$inherit_rpath_CXX
24023 # Whether libtool must link a program against all its dependency libraries.
24024 link_all_deplibs=$link_all_deplibs_CXX
24026 # Fix the shell variable \$srcfile for the compiler.
24027 fix_srcfile_path=$lt_fix_srcfile_path_CXX
24029 # Set to "yes" if exported symbols are required.
24030 always_export_symbols=$always_export_symbols_CXX
24032 # The commands to list exported symbols.
24033 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24035 # Symbols that should not be listed in the preloaded symbols.
24036 exclude_expsyms=$lt_exclude_expsyms_CXX
24038 # Symbols that must always be exported.
24039 include_expsyms=$lt_include_expsyms_CXX
24041 # Commands necessary for linking programs (against libraries) with templates.
24042 prelink_cmds=$lt_prelink_cmds_CXX
24044 # Specify filename containing input files.
24045 file_list_spec=$lt_file_list_spec_CXX
24047 # How to hardcode a shared library path into an executable.
24048 hardcode_action=$hardcode_action_CXX
24050 # The directories searched by this compiler when creating a shared library.
24051 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24053 # Dependencies to place before and after the objects being linked to
24054 # create a shared library.
24055 predep_objects=$lt_predep_objects_CXX
24056 postdep_objects=$lt_postdep_objects_CXX
24057 predeps=$lt_predeps_CXX
24058 postdeps=$lt_postdeps_CXX
24060 # The library search path used internally by the compiler when linking
24061 # a shared library.
24062 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24064 # ### END LIBTOOL TAG CONFIG: CXX
24073 { (exit 0); exit 0; }
24075 chmod +x $CONFIG_STATUS
24076 ac_clean_files=$ac_clean_files_save
24078 test $ac_write_fail = 0 ||
24079 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
24080 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
24081 { (exit 1); exit 1; }; }
24084 # configure is writing to config.log, and then calls config.status.
24085 # config.status does its own redirection, appending to config.log.
24086 # Unfortunately, on DOS this fails, as config.log is still kept open
24087 # by configure, so config.status won't be able to write to it; its
24088 # output is simply discarded. So we exec the FD to /dev/null,
24089 # effectively closing config.log, so it can be properly (re)opened and
24090 # appended to by config.status. When coming back to configure, we
24091 # need to make the FD available again.
24092 if test "$no_create" != yes; then
24094 ac_config_status_args=
24095 test "$silent" = yes &&
24096 ac_config_status_args="$ac_config_status_args --quiet"
24098 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24100 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24101 # would make configure fail if this is the last instruction.
24102 $ac_cs_success || { (exit 1); exit 1; }
24104 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24105 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24106 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}