2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for GNU Classpath 0.97.2.
5 # Report bugs to <classpath@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 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 # Zsh 3.x and 4.x performs 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
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599 echo_test_string=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619 for dir in $PATH /usr/ucb; do
621 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X/bin/ksh; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL=/bin/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
660 SHELL="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames=${tagnames+${tagnames},}CXX
706 tagnames=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev/null 6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix=/usr/local
720 ac_config_libobj_dir=.
726 SHELL=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME='GNU Classpath'
730 PACKAGE_TARNAME='classpath'
731 PACKAGE_VERSION='0.97.2'
732 PACKAGE_STRING='GNU Classpath 0.97.2'
733 PACKAGE_BUGREPORT='classpath@gnu.org'
735 ac_unique_file="java/lang/System.java"
736 ac_default_prefix=/usr/local/classpath
737 # Factoring default headers for most tests.
738 ac_includes_default="\
740 #ifdef HAVE_SYS_TYPES_H
741 # include <sys/types.h>
743 #ifdef HAVE_SYS_STAT_H
744 # include <sys/stat.h>
750 # ifdef HAVE_STDLIB_H
755 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
760 #ifdef HAVE_STRINGS_H
761 # include <strings.h>
763 #ifdef HAVE_INTTYPES_H
764 # include <inttypes.h>
782 program_transform_name
824 CLASSPATH_CONVENIENCE
839 INSTALL_STRIP_PROGRAM
847 CREATE_COLLECTIONS_TRUE
848 CREATE_COLLECTIONS_FALSE
849 CREATE_JNI_LIBRARIES_TRUE
850 CREATE_JNI_LIBRARIES_FALSE
851 CREATE_CORE_JNI_LIBRARIES_TRUE
852 CREATE_CORE_JNI_LIBRARIES_FALSE
853 CREATE_GCONF_PEER_LIBRARIES_TRUE
854 CREATE_GCONF_PEER_LIBRARIES_FALSE
855 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
856 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
858 CREATE_XMLJ_LIBRARY_TRUE
859 CREATE_XMLJ_LIBRARY_FALSE
879 CREATE_ALSA_LIBRARIES_TRUE
880 CREATE_ALSA_LIBRARIES_FALSE
881 CREATE_DSSI_LIBRARIES_TRUE
882 CREATE_DSSI_LIBRARIES_FALSE
883 CREATE_GTK_PEER_LIBRARIES_TRUE
884 CREATE_GTK_PEER_LIBRARIES_FALSE
885 CREATE_QT_PEER_LIBRARIES_TRUE
886 CREATE_QT_PEER_LIBRARIES_FALSE
892 CREATE_JNI_HEADERS_TRUE
893 CREATE_JNI_HEADERS_FALSE
895 CREATE_WRAPPERS_FALSE
920 STRICT_WARNING_CFLAGS
947 GSTREAMER_BASE_CFLAGS
949 GSTREAMER_PLUGINS_BASE_CFLAGS
950 GSTREAMER_PLUGINS_BASE_LIBS
952 GSTREAMER_FILE_READER
953 GSTREAMER_MIXER_PROVIDER
966 MAINTAINER_MODE_FALSE
971 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
979 INSTALL_GLIBJ_ZIP_TRUE
980 INSTALL_GLIBJ_ZIP_FALSE
981 INSTALL_CLASS_FILES_TRUE
982 INSTALL_CLASS_FILES_FALSE
983 BUILD_CLASS_FILES_TRUE
984 BUILD_CLASS_FILES_FALSE
989 CREATE_API_DOCS_FALSE
994 USE_PREBUILT_GLIBJ_ZIP_TRUE
995 USE_PREBUILT_GLIBJ_ZIP_FALSE
1002 ENABLE_LOCAL_SOCKETS_TRUE
1003 ENABLE_LOCAL_SOCKETS_FALSE
1008 ac_precious_vars='build_alias
1026 # Initialize some variables set by options.
1028 ac_init_version=false
1029 # The variables have the same names as the options, with
1030 # dashes changed to underlines.
1031 cache_file=/dev/null
1038 program_transform_name=s,x,x,
1046 # Installation directory options.
1047 # These are left unexpanded so users can "make install exec_prefix=/foo"
1048 # and all the variables that are supposed to be based on exec_prefix
1049 # by default will actually change.
1050 # Use braces instead of parens because sh, perl, etc. also accept them.
1051 # (The list follows the same order as the GNU Coding Standards.)
1052 bindir='${exec_prefix}/bin'
1053 sbindir='${exec_prefix}/sbin'
1054 libexecdir='${exec_prefix}/libexec'
1055 datarootdir='${prefix}/share'
1056 datadir='${datarootdir}'
1057 sysconfdir='${prefix}/etc'
1058 sharedstatedir='${prefix}/com'
1059 localstatedir='${prefix}/var'
1060 includedir='${prefix}/include'
1061 oldincludedir='/usr/include'
1062 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1063 infodir='${datarootdir}/info'
1068 libdir='${exec_prefix}/lib'
1069 localedir='${datarootdir}/locale'
1070 mandir='${datarootdir}/man'
1076 # If the previous option needs an argument, assign it.
1077 if test -n "$ac_prev"; then
1078 eval $ac_prev=\$ac_option
1084 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1088 # Accept the important Cygnus configure options, so we can diagnose typos.
1090 case $ac_dashdash$ac_option in
1094 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1096 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1097 bindir=$ac_optarg ;;
1099 -build | --build | --buil | --bui | --bu)
1100 ac_prev=build_alias ;;
1101 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1102 build_alias=$ac_optarg ;;
1104 -cache-file | --cache-file | --cache-fil | --cache-fi \
1105 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1106 ac_prev=cache_file ;;
1107 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1108 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1109 cache_file=$ac_optarg ;;
1111 --config-cache | -C)
1112 cache_file=config.cache ;;
1114 -datadir | --datadir | --datadi | --datad)
1116 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1117 datadir=$ac_optarg ;;
1119 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1120 | --dataroo | --dataro | --datar)
1121 ac_prev=datarootdir ;;
1122 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1123 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1124 datarootdir=$ac_optarg ;;
1126 -disable-* | --disable-*)
1127 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1130 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1131 { (exit 1); exit 1; }; }
1132 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1133 eval enable_$ac_feature=no ;;
1135 -docdir | --docdir | --docdi | --doc | --do)
1137 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1138 docdir=$ac_optarg ;;
1140 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1142 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1143 dvidir=$ac_optarg ;;
1145 -enable-* | --enable-*)
1146 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1149 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1150 { (exit 1); exit 1; }; }
1151 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1152 eval enable_$ac_feature=\$ac_optarg ;;
1154 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1155 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1156 | --exec | --exe | --ex)
1157 ac_prev=exec_prefix ;;
1158 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1159 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1160 | --exec=* | --exe=* | --ex=*)
1161 exec_prefix=$ac_optarg ;;
1163 -gas | --gas | --ga | --g)
1164 # Obsolete; use --with-gas.
1167 -help | --help | --hel | --he | -h)
1168 ac_init_help=long ;;
1169 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1170 ac_init_help=recursive ;;
1171 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1172 ac_init_help=short ;;
1174 -host | --host | --hos | --ho)
1175 ac_prev=host_alias ;;
1176 -host=* | --host=* | --hos=* | --ho=*)
1177 host_alias=$ac_optarg ;;
1179 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1181 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1183 htmldir=$ac_optarg ;;
1185 -includedir | --includedir | --includedi | --included | --include \
1186 | --includ | --inclu | --incl | --inc)
1187 ac_prev=includedir ;;
1188 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1189 | --includ=* | --inclu=* | --incl=* | --inc=*)
1190 includedir=$ac_optarg ;;
1192 -infodir | --infodir | --infodi | --infod | --info | --inf)
1194 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1195 infodir=$ac_optarg ;;
1197 -libdir | --libdir | --libdi | --libd)
1199 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1200 libdir=$ac_optarg ;;
1202 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1203 | --libexe | --libex | --libe)
1204 ac_prev=libexecdir ;;
1205 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1206 | --libexe=* | --libex=* | --libe=*)
1207 libexecdir=$ac_optarg ;;
1209 -localedir | --localedir | --localedi | --localed | --locale)
1210 ac_prev=localedir ;;
1211 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1212 localedir=$ac_optarg ;;
1214 -localstatedir | --localstatedir | --localstatedi | --localstated \
1215 | --localstate | --localstat | --localsta | --localst | --locals)
1216 ac_prev=localstatedir ;;
1217 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1218 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1219 localstatedir=$ac_optarg ;;
1221 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1223 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1224 mandir=$ac_optarg ;;
1226 -nfp | --nfp | --nf)
1227 # Obsolete; use --without-fp.
1230 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1231 | --no-cr | --no-c | -n)
1234 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1235 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1238 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1239 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1240 | --oldin | --oldi | --old | --ol | --o)
1241 ac_prev=oldincludedir ;;
1242 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1243 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1244 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1245 oldincludedir=$ac_optarg ;;
1247 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1249 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1250 prefix=$ac_optarg ;;
1252 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1253 | --program-pre | --program-pr | --program-p)
1254 ac_prev=program_prefix ;;
1255 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1256 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1257 program_prefix=$ac_optarg ;;
1259 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1260 | --program-suf | --program-su | --program-s)
1261 ac_prev=program_suffix ;;
1262 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1263 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1264 program_suffix=$ac_optarg ;;
1266 -program-transform-name | --program-transform-name \
1267 | --program-transform-nam | --program-transform-na \
1268 | --program-transform-n | --program-transform- \
1269 | --program-transform | --program-transfor \
1270 | --program-transfo | --program-transf \
1271 | --program-trans | --program-tran \
1272 | --progr-tra | --program-tr | --program-t)
1273 ac_prev=program_transform_name ;;
1274 -program-transform-name=* | --program-transform-name=* \
1275 | --program-transform-nam=* | --program-transform-na=* \
1276 | --program-transform-n=* | --program-transform-=* \
1277 | --program-transform=* | --program-transfor=* \
1278 | --program-transfo=* | --program-transf=* \
1279 | --program-trans=* | --program-tran=* \
1280 | --progr-tra=* | --program-tr=* | --program-t=*)
1281 program_transform_name=$ac_optarg ;;
1283 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1285 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1286 pdfdir=$ac_optarg ;;
1288 -psdir | --psdir | --psdi | --psd | --ps)
1290 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1293 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1294 | -silent | --silent | --silen | --sile | --sil)
1297 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1299 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1301 sbindir=$ac_optarg ;;
1303 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1304 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1305 | --sharedst | --shareds | --shared | --share | --shar \
1307 ac_prev=sharedstatedir ;;
1308 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1309 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1310 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1312 sharedstatedir=$ac_optarg ;;
1314 -site | --site | --sit)
1316 -site=* | --site=* | --sit=*)
1319 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1321 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1322 srcdir=$ac_optarg ;;
1324 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1325 | --syscon | --sysco | --sysc | --sys | --sy)
1326 ac_prev=sysconfdir ;;
1327 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1328 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1329 sysconfdir=$ac_optarg ;;
1331 -target | --target | --targe | --targ | --tar | --ta | --t)
1332 ac_prev=target_alias ;;
1333 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1334 target_alias=$ac_optarg ;;
1336 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1339 -version | --version | --versio | --versi | --vers | -V)
1340 ac_init_version=: ;;
1343 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1344 # Reject names that are not valid shell variable names.
1345 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1346 { echo "$as_me: error: invalid package name: $ac_package" >&2
1347 { (exit 1); exit 1; }; }
1348 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1349 eval with_$ac_package=\$ac_optarg ;;
1351 -without-* | --without-*)
1352 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1353 # Reject names that are not valid shell variable names.
1354 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1355 { echo "$as_me: error: invalid package name: $ac_package" >&2
1356 { (exit 1); exit 1; }; }
1357 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1358 eval with_$ac_package=no ;;
1361 # Obsolete; use --with-x.
1364 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1365 | --x-incl | --x-inc | --x-in | --x-i)
1366 ac_prev=x_includes ;;
1367 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1368 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1369 x_includes=$ac_optarg ;;
1371 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1372 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1373 ac_prev=x_libraries ;;
1374 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1375 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1376 x_libraries=$ac_optarg ;;
1378 -*) { echo "$as_me: error: unrecognized option: $ac_option
1379 Try \`$0 --help' for more information." >&2
1380 { (exit 1); exit 1; }; }
1384 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1385 # Reject names that are not valid shell variable names.
1386 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1387 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1388 { (exit 1); exit 1; }; }
1389 eval $ac_envvar=\$ac_optarg
1390 export $ac_envvar ;;
1393 # FIXME: should be removed in autoconf 3.0.
1394 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1395 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1396 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1397 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1403 if test -n "$ac_prev"; then
1404 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1405 { echo "$as_me: error: missing argument to $ac_option" >&2
1406 { (exit 1); exit 1; }; }
1409 # Be sure to have absolute directory names.
1410 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1411 datadir sysconfdir sharedstatedir localstatedir includedir \
1412 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1413 libdir localedir mandir
1415 eval ac_val=\$$ac_var
1417 [\\/$]* | ?:[\\/]* ) continue;;
1418 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1420 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1421 { (exit 1); exit 1; }; }
1424 # There might be people who depend on the old broken behavior: `$host'
1425 # used to hold the argument of --host etc.
1426 # FIXME: To remove some day.
1429 target=$target_alias
1431 # FIXME: To remove some day.
1432 if test "x$host_alias" != x; then
1433 if test "x$build_alias" = x; then
1434 cross_compiling=maybe
1435 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1436 If a cross compiler is detected then cross compile mode will be used." >&2
1437 elif test "x$build_alias" != "x$host_alias"; then
1443 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1445 test "$silent" = yes && exec 6>/dev/null
1448 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1449 ac_ls_di=`ls -di .` &&
1450 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1451 { echo "$as_me: error: Working directory cannot be determined" >&2
1452 { (exit 1); exit 1; }; }
1453 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1454 { echo "$as_me: error: pwd does not report name of working directory" >&2
1455 { (exit 1); exit 1; }; }
1458 # Find the source files, if location was not specified.
1459 if test -z "$srcdir"; then
1460 ac_srcdir_defaulted=yes
1461 # Try the directory containing this script, then the parent directory.
1462 ac_confdir=`$as_dirname -- "$0" ||
1463 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1464 X"$0" : 'X\(//\)[^/]' \| \
1465 X"$0" : 'X\(//\)$' \| \
1466 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1486 if test ! -r "$srcdir/$ac_unique_file"; then
1490 ac_srcdir_defaulted=no
1492 if test ! -r "$srcdir/$ac_unique_file"; then
1493 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1494 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1495 { (exit 1); exit 1; }; }
1497 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1499 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1500 { (exit 1); exit 1; }; }
1502 # When building in place, set srcdir=.
1503 if test "$ac_abs_confdir" = "$ac_pwd"; then
1506 # Remove unnecessary trailing slashes from srcdir.
1507 # Double slashes in file names in object file debugging info
1508 # mess up M-x gdb in Emacs.
1510 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1512 for ac_var in $ac_precious_vars; do
1513 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1514 eval ac_env_${ac_var}_value=\$${ac_var}
1515 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1516 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1520 # Report the --help message.
1522 if test "$ac_init_help" = "long"; then
1523 # Omit some internal or obsolete options to make the list less imposing.
1524 # This message is too long to be a string in the A/UX 3.1 sh.
1526 \`configure' configures GNU Classpath 0.97.2 to adapt to many kinds of systems.
1528 Usage: $0 [OPTION]... [VAR=VALUE]...
1530 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1531 VAR=VALUE. See below for descriptions of some of the useful variables.
1533 Defaults for the options are specified in brackets.
1536 -h, --help display this help and exit
1537 --help=short display options specific to this package
1538 --help=recursive display the short help of all the included packages
1539 -V, --version display version information and exit
1540 -q, --quiet, --silent do not print \`checking...' messages
1541 --cache-file=FILE cache test results in FILE [disabled]
1542 -C, --config-cache alias for \`--cache-file=config.cache'
1543 -n, --no-create do not create output files
1544 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1546 Installation directories:
1547 --prefix=PREFIX install architecture-independent files in PREFIX
1548 [$ac_default_prefix]
1549 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1552 By default, \`make install' will install all the files in
1553 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1554 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1555 for instance \`--prefix=\$HOME'.
1557 For better control, use the options below.
1559 Fine tuning of the installation directories:
1560 --bindir=DIR user executables [EPREFIX/bin]
1561 --sbindir=DIR system admin executables [EPREFIX/sbin]
1562 --libexecdir=DIR program executables [EPREFIX/libexec]
1563 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1564 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1565 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1566 --libdir=DIR object code libraries [EPREFIX/lib]
1567 --includedir=DIR C header files [PREFIX/include]
1568 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1569 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1570 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1571 --infodir=DIR info documentation [DATAROOTDIR/info]
1572 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1573 --mandir=DIR man documentation [DATAROOTDIR/man]
1574 --docdir=DIR documentation root [DATAROOTDIR/doc/classpath]
1575 --htmldir=DIR html documentation [DOCDIR]
1576 --dvidir=DIR dvi documentation [DOCDIR]
1577 --pdfdir=DIR pdf documentation [DOCDIR]
1578 --psdir=DIR ps documentation [DOCDIR]
1584 --program-prefix=PREFIX prepend PREFIX to installed program names
1585 --program-suffix=SUFFIX append SUFFIX to installed program names
1586 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1589 --x-includes=DIR X include files are in DIR
1590 --x-libraries=DIR X library files are in DIR
1593 --build=BUILD configure for building on BUILD [guessed]
1594 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1595 --target=TARGET configure for building compilers for TARGET [HOST]
1599 if test -n "$ac_init_help"; then
1600 case $ac_init_help in
1601 short | recursive ) echo "Configuration of GNU Classpath 0.97.2:";;
1606 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1607 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1608 --enable-collections create collections.jar default=no
1609 --enable-jni compile JNI source default=yes
1610 --enable-core-jni compile JNI sources for core default=yes
1611 --enable-default-preferences-peer[=peer type or class name]
1612 specify one of: "gconf" [default] for a GConf based
1613 backend, "file" for a file based one, "memory" for a
1614 transient one, or a fully qualified class name
1615 implementing java.util.prefs.PreferencesFactory
1616 --disable-gconf-peer compile GConf native peers (disabled by
1617 --disable-jni) default=yes
1619 --enable-gstreamer-peer compile GStreamer native peers (disabled by
1620 --disable-jni) default=no
1621 --enable-Werror whether to compile C code with -Werror which turns
1622 any compiler warning into a compilation failure
1624 --enable-default-toolkit
1625 fully qualified class name of default AWT toolkit
1626 --enable-xmlj compile native libxml/xslt library default=no
1627 --disable-alsa compile ALSA providers (enable by --enable-alsa)
1629 --disable-dependency-tracking speeds up one-time build
1630 --enable-dependency-tracking do not reject slow dependency extractors
1631 --disable-dssi compile DSSI providers (enable by --enable-dssi)
1633 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
1635 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
1637 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
1639 --enable-regen-headers automatically regenerate JNI headers default=yes if
1641 --enable-tool-wrappers create tool wrapper binaries default=no
1642 --enable-static[=PKGS] build static libraries [default=no]
1643 --enable-shared[=PKGS] build shared libraries [default=yes]
1644 --enable-fast-install[=PKGS]
1645 optimize for fast installation [default=yes]
1646 --disable-libtool-lock avoid locking (might break parallel builds)
1647 --disable-rpath do not hardcode runtime library paths
1648 --enable-maintainer-mode enable make rules and dependencies not useful
1649 (and sometimes confusing) to the casual installer
1650 --enable-debug enable runtime debugging code
1651 --enable-load-library enable to use JNI native methods default=yes
1652 --enable-java-lang-system-explicit-initialization
1653 will the VM explicitly invoke java.lang.System's
1654 static initialization methods default=no
1655 --enable-examples enable build of the examples default=yes
1656 --enable-tools enable build of the tools default=yes
1657 --enable-portable-native-sync
1658 synchronize VM threads portably
1659 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1662 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1663 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1664 --with-native-libdir sets the installation directory for native libraries
1665 default='${libdir}/${PACKAGE}'
1666 --with-glibj-dir sets the installation directory for glibj.zip
1667 default='${libdir}/${PACKAGE}'
1668 --with-vm sets the VM binary name
1669 default='${prefix}/bin/jamvm'
1670 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1671 --with-pic try to use only PIC/non-PIC objects [default=use
1673 --with-tags[=TAGS] include additional configurations [automatic]
1674 --with-gnu-ld assume the C compiler uses GNU ld default=no
1675 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1676 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1677 --with-x use the X Window System
1678 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
1679 systems use pkg-config.
1680 --with-javah specify path or name of a javah-like program
1681 --with-vm-classes specify path to VM override source files
1682 --with-ecj-jar=ABS.PATH specify jar file containing the Eclipse Java
1684 --with-fastjar=PATH define to use a fastjar style tool
1685 --with-glibj define what to install (zip|flat|both|none|build)
1687 --with-gjdoc generate documentation using gjdoc (default is NO)
1688 --with-jay=DIR|PATH Regenerate the parsers with jay
1689 --with-glibj-zip=ABS.PATH
1690 use prebuilt glibj.zip class library
1691 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1693 Some influential environment variables:
1694 CC C compiler command
1695 CFLAGS C compiler flags
1696 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1697 nonstandard directory <lib dir>
1698 LIBS libraries to pass to the linker, e.g. -l<library>
1699 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1700 you have headers in a nonstandard directory <include dir>
1702 CXX C++ compiler command
1703 CXXFLAGS C++ compiler flags
1704 CXXCPP C++ preprocessor
1705 F77 Fortran 77 compiler command
1706 FFLAGS Fortran 77 compiler flags
1707 XMKMF Path to xmkmf, Makefile generator for X Window System
1709 Use these variables to override the choices made by `configure' or to help
1710 it to find libraries and programs with nonstandard names/locations.
1712 Report bugs to <classpath@gnu.org>.
1717 if test "$ac_init_help" = "recursive"; then
1718 # If there are subdirs, report their specific --help.
1719 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1720 test -d "$ac_dir" || continue
1724 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1726 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1727 # A ".." for each directory in $ac_dir_suffix.
1728 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1729 case $ac_top_builddir_sub in
1730 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1731 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1734 ac_abs_top_builddir=$ac_pwd
1735 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1736 # for backward compatibility:
1737 ac_top_builddir=$ac_top_build_prefix
1740 .) # We are building in place.
1742 ac_top_srcdir=$ac_top_builddir_sub
1743 ac_abs_top_srcdir=$ac_pwd ;;
1744 [\\/]* | ?:[\\/]* ) # Absolute name.
1745 ac_srcdir=$srcdir$ac_dir_suffix;
1746 ac_top_srcdir=$srcdir
1747 ac_abs_top_srcdir=$srcdir ;;
1749 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1750 ac_top_srcdir=$ac_top_build_prefix$srcdir
1751 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1753 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1755 cd "$ac_dir" || { ac_status=$?; continue; }
1756 # Check for guested configure.
1757 if test -f "$ac_srcdir/configure.gnu"; then
1759 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1760 elif test -f "$ac_srcdir/configure"; then
1762 $SHELL "$ac_srcdir/configure" --help=recursive
1764 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1766 cd "$ac_pwd" || { ac_status=$?; break; }
1770 test -n "$ac_init_help" && exit $ac_status
1771 if $ac_init_version; then
1773 GNU Classpath configure 0.97.2
1774 generated by GNU Autoconf 2.61
1776 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1777 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1778 This configure script is free software; the Free Software Foundation
1779 gives unlimited permission to copy, distribute and modify it.
1783 cat >config.log <<_ACEOF
1784 This file contains any messages produced by compilers while
1785 running configure, to aid debugging if configure makes a mistake.
1787 It was created by GNU Classpath $as_me 0.97.2, which was
1788 generated by GNU Autoconf 2.61. Invocation command line was
1800 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1801 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1802 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1803 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1804 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1806 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1807 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1809 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1810 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1811 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1812 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1813 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1814 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1815 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1823 test -z "$as_dir" && as_dir=.
1824 echo "PATH: $as_dir"
1840 # Keep a trace of the command line.
1841 # Strip out --no-create and --no-recursion so they do not pile up.
1842 # Strip out --silent because we don't want to record it for future runs.
1843 # Also quote any args containing shell meta-characters.
1844 # Make two passes to allow for proper duplicate-argument suppression.
1848 ac_must_keep_next=false
1854 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1855 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1856 | -silent | --silent | --silen | --sile | --sil)
1859 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1862 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1864 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1865 if test $ac_must_keep_next = true; then
1866 ac_must_keep_next=false # Got value, back to normal.
1869 *=* | --config-cache | -C | -disable-* | --disable-* \
1870 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1871 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1872 | -with-* | --with-* | -without-* | --without-* | --x)
1873 case "$ac_configure_args0 " in
1874 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1877 -* ) ac_must_keep_next=true ;;
1880 ac_configure_args="$ac_configure_args '$ac_arg'"
1885 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1886 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1888 # When interrupted or exit'd, cleanup temporary files, and complete
1889 # config.log. We remove comments because anyway the quotes in there
1890 # would cause problems or look ugly.
1891 # WARNING: Use '\'' to represent an apostrophe within the trap.
1892 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1893 trap 'exit_status=$?
1894 # Save into config.log some information that might help in debugging.
1899 ## ---------------- ##
1900 ## Cache variables. ##
1901 ## ---------------- ##
1904 # The following way of writing the cache mishandles newlines in values,
1906 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1907 eval ac_val=\$$ac_var
1911 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1912 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1915 _ | IFS | as_nl) ;; #(
1916 *) $as_unset $ac_var ;;
1921 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1922 *${as_nl}ac_space=\ *)
1924 "s/'\''/'\''\\\\'\'''\''/g;
1925 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1928 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1936 ## ----------------- ##
1937 ## Output variables. ##
1938 ## ----------------- ##
1941 for ac_var in $ac_subst_vars
1943 eval ac_val=\$$ac_var
1945 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1947 echo "$ac_var='\''$ac_val'\''"
1951 if test -n "$ac_subst_files"; then
1953 ## ------------------- ##
1954 ## File substitutions. ##
1955 ## ------------------- ##
1958 for ac_var in $ac_subst_files
1960 eval ac_val=\$$ac_var
1962 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1964 echo "$ac_var='\''$ac_val'\''"
1969 if test -s confdefs.h; then
1979 test "$ac_signal" != 0 &&
1980 echo "$as_me: caught signal $ac_signal"
1981 echo "$as_me: exit $exit_status"
1983 rm -f core *.core core.conftest.* &&
1984 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1987 for ac_signal in 1 2 13 15; do
1988 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1992 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1993 rm -f -r conftest* confdefs.h
1995 # Predefined preprocessor variables.
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_NAME "$PACKAGE_NAME"
2002 cat >>confdefs.h <<_ACEOF
2003 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2007 cat >>confdefs.h <<_ACEOF
2008 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2012 cat >>confdefs.h <<_ACEOF
2013 #define PACKAGE_STRING "$PACKAGE_STRING"
2017 cat >>confdefs.h <<_ACEOF
2018 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2022 # Let the site file select an alternate cache file if it wants to.
2023 # Prefer explicitly selected file to automatically selected ones.
2024 if test -n "$CONFIG_SITE"; then
2025 set x "$CONFIG_SITE"
2026 elif test "x$prefix" != xNONE; then
2027 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2029 set x "$ac_default_prefix/share/config.site" \
2030 "$ac_default_prefix/etc/config.site"
2035 if test -r "$ac_site_file"; then
2036 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2037 echo "$as_me: loading site script $ac_site_file" >&6;}
2038 sed 's/^/| /' "$ac_site_file" >&5
2043 if test -r "$cache_file"; then
2044 # Some versions of bash will fail to source /dev/null (special
2045 # files actually), so we avoid doing that.
2046 if test -f "$cache_file"; then
2047 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2048 echo "$as_me: loading cache $cache_file" >&6;}
2050 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2051 *) . "./$cache_file";;
2055 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2056 echo "$as_me: creating cache $cache_file" >&6;}
2060 # Check that the precious variables saved in the cache have kept the same
2062 ac_cache_corrupted=false
2063 for ac_var in $ac_precious_vars; do
2064 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2065 eval ac_new_set=\$ac_env_${ac_var}_set
2066 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2067 eval ac_new_val=\$ac_env_${ac_var}_value
2068 case $ac_old_set,$ac_new_set in
2070 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2071 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2072 ac_cache_corrupted=: ;;
2074 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2075 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2076 ac_cache_corrupted=: ;;
2079 if test "x$ac_old_val" != "x$ac_new_val"; then
2080 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2081 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2082 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2083 echo "$as_me: former value: $ac_old_val" >&2;}
2084 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2085 echo "$as_me: current value: $ac_new_val" >&2;}
2086 ac_cache_corrupted=:
2089 # Pass precious variables to config.status.
2090 if test "$ac_new_set" = set; then
2092 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2093 *) ac_arg=$ac_var=$ac_new_val ;;
2095 case " $ac_configure_args " in
2096 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2097 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2101 if $ac_cache_corrupted; then
2102 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2103 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2104 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2105 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2106 { (exit 1); exit 1; }; }
2134 ac_cpp='$CPP $CPPFLAGS'
2135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2143 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2144 if test -f "$ac_dir/install-sh"; then
2146 ac_install_sh="$ac_aux_dir/install-sh -c"
2148 elif test -f "$ac_dir/install.sh"; then
2150 ac_install_sh="$ac_aux_dir/install.sh -c"
2152 elif test -f "$ac_dir/shtool"; then
2154 ac_install_sh="$ac_aux_dir/shtool install -c"
2158 if test -z "$ac_aux_dir"; then
2159 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2160 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2161 { (exit 1); exit 1; }; }
2164 # These three variables are undocumented and unsupported,
2165 # and are intended to be withdrawn in a future Autoconf release.
2166 # They can cause serious problems if a builder's source tree is in a directory
2167 # whose full name contains unusual characters.
2168 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2169 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2170 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2173 # Make sure we can run config.sub.
2174 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2175 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2176 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2177 { (exit 1); exit 1; }; }
2179 { echo "$as_me:$LINENO: checking build system type" >&5
2180 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2181 if test "${ac_cv_build+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 ac_build_alias=$build_alias
2185 test "x$ac_build_alias" = x &&
2186 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2187 test "x$ac_build_alias" = x &&
2188 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2189 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2190 { (exit 1); exit 1; }; }
2191 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2192 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2193 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2194 { (exit 1); exit 1; }; }
2197 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2198 echo "${ECHO_T}$ac_cv_build" >&6; }
2199 case $ac_cv_build in
2201 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2202 echo "$as_me: error: invalid value of canonical build" >&2;}
2203 { (exit 1); exit 1; }; };;
2206 ac_save_IFS=$IFS; IFS='-'
2212 # Remember, the first character of IFS is used to create $*,
2213 # except with old shells:
2216 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2219 { echo "$as_me:$LINENO: checking host system type" >&5
2220 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2221 if test "${ac_cv_host+set}" = set; then
2222 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 if test "x$host_alias" = x; then
2225 ac_cv_host=$ac_cv_build
2227 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2228 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2229 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2230 { (exit 1); exit 1; }; }
2234 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2235 echo "${ECHO_T}$ac_cv_host" >&6; }
2238 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2239 echo "$as_me: error: invalid value of canonical host" >&2;}
2240 { (exit 1); exit 1; }; };;
2243 ac_save_IFS=$IFS; IFS='-'
2249 # Remember, the first character of IFS is used to create $*,
2250 # except with old shells:
2253 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2256 { echo "$as_me:$LINENO: checking target system type" >&5
2257 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2258 if test "${ac_cv_target+set}" = set; then
2259 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 if test "x$target_alias" = x; then
2262 ac_cv_target=$ac_cv_host
2264 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2265 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2266 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2267 { (exit 1); exit 1; }; }
2271 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2272 echo "${ECHO_T}$ac_cv_target" >&6; }
2273 case $ac_cv_target in
2275 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2276 echo "$as_me: error: invalid value of canonical target" >&2;}
2277 { (exit 1); exit 1; }; };;
2279 target=$ac_cv_target
2280 ac_save_IFS=$IFS; IFS='-'
2286 # Remember, the first character of IFS is used to create $*,
2287 # except with old shells:
2290 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2293 # The aliases save the names the user supplied, while $host etc.
2294 # will get canonicalized.
2295 test -n "$target_alias" &&
2296 test "$program_prefix$program_suffix$program_transform_name" = \
2298 program_prefix=${target_alias}-
2300 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
2313 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
2316 CLASSPATH_CONVENIENCE="-no-undefined"
2320 am__api_version='1.10'
2322 # Find a good install program. We prefer a C program (faster),
2323 # so one script is as good as another. But avoid the broken or
2324 # incompatible versions:
2325 # SysV /etc/install, /usr/sbin/install
2326 # SunOS /usr/etc/install
2327 # IRIX /sbin/install
2329 # AmigaOS /C/install, which installs bootblocks on floppy discs
2330 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2331 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2332 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2333 # OS/2's system install, which has a completely different semantic
2334 # ./install, which can be erroneously created by make from ./install.sh.
2335 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2336 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2337 if test -z "$INSTALL"; then
2338 if test "${ac_cv_path_install+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir=.
2346 # Account for people who put trailing slashes in PATH elements.
2348 ./ | .// | /cC/* | \
2349 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2350 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2353 # OSF1 and SCO ODT 3.0 have their own names for install.
2354 # Don't use installbsd from OSF since it installs stuff as root
2356 for ac_prog in ginstall scoinst install; do
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2359 if test $ac_prog = install &&
2360 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361 # AIX install. It has an incompatible calling convention.
2363 elif test $ac_prog = install &&
2364 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2365 # program-specific install script used by HP pwplus--don't use.
2368 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2381 if test "${ac_cv_path_install+set}" = set; then
2382 INSTALL=$ac_cv_path_install
2384 # As a last resort, use the slow shell script. Don't cache a
2385 # value for INSTALL within a source directory, because that will
2386 # break other packages using the cache if that directory is
2387 # removed, or if the value is a relative name.
2388 INSTALL=$ac_install_sh
2391 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2392 echo "${ECHO_T}$INSTALL" >&6; }
2394 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2395 # It thinks the first close brace ends the variable substitution.
2396 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2398 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2400 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2402 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2403 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2406 echo timestamp > conftest.file
2407 # Do `set' in a subshell so we don't clobber the current shell's
2408 # arguments. Must try -L first in case configure is actually a
2409 # symlink; some systems play weird games with the mod time of symlinks
2410 # (eg FreeBSD returns the mod time of the symlink's containing
2413 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2414 if test "$*" = "X"; then
2416 set X `ls -t $srcdir/configure conftest.file`
2419 if test "$*" != "X $srcdir/configure conftest.file" \
2420 && test "$*" != "X conftest.file $srcdir/configure"; then
2422 # If neither matched, then we have a broken ls. This can happen
2423 # if, for instance, CONFIG_SHELL is bash and it inherits a
2424 # broken ls alias from the environment. This has actually
2425 # happened. Such a system could not be considered "sane".
2426 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2427 alias in your environment" >&5
2428 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2429 alias in your environment" >&2;}
2430 { (exit 1); exit 1; }; }
2433 test "$2" = conftest.file
2439 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2440 Check your system clock" >&5
2441 echo "$as_me: error: newly created file is older than distributed files!
2442 Check your system clock" >&2;}
2443 { (exit 1); exit 1; }; }
2445 { echo "$as_me:$LINENO: result: yes" >&5
2446 echo "${ECHO_T}yes" >&6; }
2447 test "$program_prefix" != NONE &&
2448 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2449 # Use a double $ so make ignores it.
2450 test "$program_suffix" != NONE &&
2451 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2452 # Double any \ or $. echo might interpret backslashes.
2453 # By default was `s,x,x', remove it if useless.
2454 cat <<\_ACEOF >conftest.sed
2455 s/[\\$]/&&/g;s/;s,x,x,$//
2457 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2460 # expand $ac_aux_dir to an absolute path
2461 am_aux_dir=`cd $ac_aux_dir && pwd`
2463 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2464 # Use eval to expand $SHELL
2465 if eval "$MISSING --run true"; then
2466 am_missing_run="$MISSING --run "
2469 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2470 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2473 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2474 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2475 if test -z "$MKDIR_P"; then
2476 if test "${ac_cv_path_mkdir+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2483 test -z "$as_dir" && as_dir=.
2484 for ac_prog in mkdir gmkdir; do
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2487 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2488 'mkdir (GNU coreutils) '* | \
2489 'mkdir (coreutils) '* | \
2490 'mkdir (fileutils) '4.1*)
2491 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2501 if test "${ac_cv_path_mkdir+set}" = set; then
2502 MKDIR_P="$ac_cv_path_mkdir -p"
2504 # As a last resort, use the slow shell script. Don't cache a
2505 # value for MKDIR_P within a source directory, because that will
2506 # break other packages using the cache if that directory is
2507 # removed, or if the value is a relative name.
2508 test -d ./--version && rmdir ./--version
2509 MKDIR_P="$ac_install_sh -d"
2512 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2513 echo "${ECHO_T}$MKDIR_P" >&6; }
2517 [\\/$]* | ?:[\\/]*) ;;
2518 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2521 for ac_prog in gawk mawk nawk awk
2523 # Extract the first word of "$ac_prog", so it can be a program name with args.
2524 set dummy $ac_prog; ac_word=$2
2525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2527 if test "${ac_cv_prog_AWK+set}" = set; then
2528 echo $ECHO_N "(cached) $ECHO_C" >&6
2530 if test -n "$AWK"; then
2531 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_AWK="$ac_prog"
2541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 if test -n "$AWK"; then
2552 { echo "$as_me:$LINENO: result: $AWK" >&5
2553 echo "${ECHO_T}$AWK" >&6; }
2555 { echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6; }
2560 test -n "$AWK" && break
2563 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2564 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2565 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2566 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2567 echo $ECHO_N "(cached) $ECHO_C" >&6
2569 cat >conftest.make <<\_ACEOF
2572 @echo '@@@%%%=$(MAKE)=@@@%%%'
2574 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2575 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2577 eval ac_cv_prog_make_${ac_make}_set=yes;;
2579 eval ac_cv_prog_make_${ac_make}_set=no;;
2583 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2584 { echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6; }
2588 { echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6; }
2590 SET_MAKE="MAKE=${MAKE-make}"
2593 rm -rf .tst 2>/dev/null
2594 mkdir .tst 2>/dev/null
2595 if test -d .tst; then
2600 rmdir .tst 2>/dev/null
2602 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2603 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2604 # is not polluted with repeated "-I."
2605 am__isrc=' -I$(srcdir)'
2606 # test to see if srcdir already configured
2607 if test -f $srcdir/config.status; then
2608 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2609 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2610 { (exit 1); exit 1; }; }
2614 # test whether we have cygpath
2615 if test -z "$CYGPATH_W"; then
2616 if (cygpath --version) >/dev/null 2>/dev/null; then
2617 CYGPATH_W='cygpath -w'
2624 # Define the identity of the package.
2629 cat >>confdefs.h <<_ACEOF
2630 #define PACKAGE "$PACKAGE"
2634 cat >>confdefs.h <<_ACEOF
2635 #define VERSION "$VERSION"
2638 # Some tools Automake needs.
2640 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2643 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2646 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2649 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2652 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2654 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2656 # Installed binaries are usually stripped using `strip' when the user
2657 # run `make install-strip'. However `strip' might not be the right
2658 # tool to use in cross-compilation environments, therefore Automake
2659 # will honor the `STRIP' environment variable to overrule this program.
2660 if test "$cross_compiling" != no; then
2661 if test -n "$ac_tool_prefix"; then
2662 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2663 set dummy ${ac_tool_prefix}strip; ac_word=$2
2664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2666 if test "${ac_cv_prog_STRIP+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2669 if test -n "$STRIP"; then
2670 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir=.
2677 for ac_exec_ext in '' $ac_executable_extensions; do
2678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 STRIP=$ac_cv_prog_STRIP
2690 if test -n "$STRIP"; then
2691 { echo "$as_me:$LINENO: result: $STRIP" >&5
2692 echo "${ECHO_T}$STRIP" >&6; }
2694 { echo "$as_me:$LINENO: result: no" >&5
2695 echo "${ECHO_T}no" >&6; }
2700 if test -z "$ac_cv_prog_STRIP"; then
2702 # Extract the first word of "strip", so it can be a program name with args.
2703 set dummy strip; ac_word=$2
2704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2706 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 if test -n "$ac_ct_STRIP"; then
2710 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir=.
2717 for ac_exec_ext in '' $ac_executable_extensions; do
2718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719 ac_cv_prog_ac_ct_STRIP="strip"
2720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2730 if test -n "$ac_ct_STRIP"; then
2731 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2732 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2734 { echo "$as_me:$LINENO: result: no" >&5
2735 echo "${ECHO_T}no" >&6; }
2738 if test "x$ac_ct_STRIP" = x; then
2741 case $cross_compiling:$ac_tool_warned in
2743 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2744 whose name does not start with the host triplet. If you think this
2745 configuration is useful to you, please write to autoconf@gnu.org." >&5
2746 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2747 whose name does not start with the host triplet. If you think this
2748 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2749 ac_tool_warned=yes ;;
2754 STRIP="$ac_cv_prog_STRIP"
2758 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2760 # We need awk for the "check" target. The system "awk" is bad on
2762 # Always define AMTAR for backward compatibility.
2764 AMTAR=${AMTAR-"${am_missing_run}tar"}
2767 { echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2768 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
2769 # Loop over all known methods to create a tar archive until one works.
2770 _am_tools='gnutar plaintar pax cpio none'
2771 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2772 # Do not fold the above two line into one, because Tru64 sh and
2773 # Solaris sh will not grok spaces in the rhs of `-'.
2774 for _am_tool in $_am_tools
2778 for _am_tar in tar gnutar gtar;
2780 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2781 ($_am_tar --version) >&5 2>&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); } && break
2786 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2787 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2788 am__untar="$_am_tar -xf -"
2791 # Must skip GNU tar: if it does not support --format= it doesn't create
2792 # ustar tarball either.
2793 (tar --version) >/dev/null 2>&1 && continue
2794 am__tar='tar chf - "$$tardir"'
2795 am__tar_='tar chf - "$tardir"'
2796 am__untar='tar xf -'
2799 am__tar='pax -L -x ustar -w "$$tardir"'
2800 am__tar_='pax -L -x ustar -w "$tardir"'
2804 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2805 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2806 am__untar='cpio -i -H ustar -d'
2815 # If the value was cached, stop now. We just wanted to have am__tar
2816 # and am__untar set.
2817 test -n "${am_cv_prog_tar_ustar}" && break
2819 # tar/untar a dummy directory, and stop if the command works
2822 echo GrepMe > conftest.dir/file
2823 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2824 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); }
2829 if test -s conftest.tar; then
2830 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2831 ($am__untar <conftest.tar) >&5 2>&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); }
2835 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2840 if test "${am_cv_prog_tar_ustar+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 am_cv_prog_tar_ustar=$_am_tool
2846 { echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2847 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2853 ac_config_headers="$ac_config_headers include/config.h"
2857 # Check whether --enable-collections was given.
2858 if test "${enable_collections+set}" = set; then
2859 enableval=$enable_collections; case x"${enableval}" in
2860 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2861 xno) COMPILE_COLLECTIONS=no ;;
2862 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2863 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2866 COMPILE_COLLECTIONS=no
2869 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2870 CREATE_COLLECTIONS_TRUE=
2871 CREATE_COLLECTIONS_FALSE='#'
2873 CREATE_COLLECTIONS_TRUE='#'
2874 CREATE_COLLECTIONS_FALSE=
2878 # Check whether --enable-jni was given.
2879 if test "${enable_jni+set}" = set; then
2880 enableval=$enable_jni; case "${enableval}" in
2881 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2882 no) COMPILE_JNI=no ;;
2883 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2889 if test "x${COMPILE_JNI}" = xyes; then
2890 CREATE_JNI_LIBRARIES_TRUE=
2891 CREATE_JNI_LIBRARIES_FALSE='#'
2893 CREATE_JNI_LIBRARIES_TRUE='#'
2894 CREATE_JNI_LIBRARIES_FALSE=
2898 # Check whether --enable-core-jni was given.
2899 if test "${enable_core_jni+set}" = set; then
2900 enableval=$enable_core_jni; case "${enableval}" in
2901 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2902 no) COMPILE_CORE_JNI=no ;;
2903 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2906 COMPILE_CORE_JNI=yes
2909 if test "x${COMPILE_CORE_JNI}" = xyes; then
2910 CREATE_CORE_JNI_LIBRARIES_TRUE=
2911 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2913 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2914 CREATE_CORE_JNI_LIBRARIES_FALSE=
2918 # Check whether --enable-default-preferences-peer was given.
2919 if test "${enable_default_preferences_peer+set}" = set; then
2920 enableval=$enable_default_preferences_peer; case "${enableval}" in
2921 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
2922 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
2923 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
2924 no|false) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2925 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2926 { (exit 1); exit 1; }; } ;;
2927 *) DEFAULT_PREFS_PEER=${enableval} ;;
2930 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
2934 # Check whether --enable-gconf-peer was given.
2935 if test "${enable_gconf_peer+set}" = set; then
2936 enableval=$enable_gconf_peer; case "${enableval}" in
2937 yes) COMPILE_GCONF_PEER=yes ;;
2938 no) COMPILE_GCONF_PEER=no ;;
2939 *) COMPILE_GCONF_PEER=yes ;;
2942 COMPILE_GCONF_PEER=yes
2945 if test "x${COMPILE_GCONF_PEER}" = xyes; then
2946 CREATE_GCONF_PEER_LIBRARIES_TRUE=
2947 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
2949 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
2950 CREATE_GCONF_PEER_LIBRARIES_FALSE=
2954 # Check whether --enable-gconf-peers was given.
2955 if test "${enable_gconf_peers+set}" = set; then
2956 enableval=$enable_gconf_peers; { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2957 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2958 { (exit 1); exit 1; }; }
2962 # Check whether --enable-gstreamer-peer was given.
2963 if test "${enable_gstreamer_peer+set}" = set; then
2964 enableval=$enable_gstreamer_peer; case "${enableval}" in
2965 yes) COMPILE_GSTREAMER_PEER=yes ;;
2966 no) COMPILE_GSTREAMER_PEER=no ;;
2967 *) COMPILE_GSTREAMER_PEER=default ;;
2970 COMPILE_GSTREAMER_PEER=default
2973 if test "x${COMPILE_GSTREAMER_PEER}" = xyes; then
2974 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE=
2975 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE='#'
2977 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE='#'
2978 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE=
2982 # Check whether --enable-gstreamer-peers was given.
2983 if test "${enable_gstreamer_peers+set}" = set; then
2984 enableval=$enable_gstreamer_peers; { { echo "$as_me:$LINENO: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&5
2985 echo "$as_me: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&2;}
2986 { (exit 1); exit 1; }; }
2990 # Check whether --enable-Werror was given.
2991 if test "${enable_Werror+set}" = set; then
2992 enableval=$enable_Werror; case "${enableval}" in
2993 yes) ENABLE_WERROR=yes ;;
2994 no) ENABLE_WERROR=no ;;
2995 *) ENABLE_WERROR=default ;;
2998 ENABLE_WERROR=default
3002 # Check whether --enable-default-toolkit was given.
3003 if test "${enable_default_toolkit+set}" = set; then
3004 enableval=$enable_default_toolkit;
3007 default_toolkit=$enable_default_toolkit
3008 if test "$default_toolkit" = ""; then
3009 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
3013 # Check whether --enable-xmlj was given.
3014 if test "${enable_xmlj+set}" = set; then
3015 enableval=$enable_xmlj; case "${enableval}" in
3016 yes) COMPILE_XMLJ=yes ;;
3017 no) COMPILE_XMLJ=no ;;
3018 *) COMPILE_XMLJ=no ;;
3024 if test "x${COMPILE_XMLJ}" = xyes; then
3025 CREATE_XMLJ_LIBRARY_TRUE=
3026 CREATE_XMLJ_LIBRARY_FALSE='#'
3028 CREATE_XMLJ_LIBRARY_TRUE='#'
3029 CREATE_XMLJ_LIBRARY_FALSE=
3033 DEPDIR="${am__leading_dot}deps"
3035 ac_config_commands="$ac_config_commands depfiles"
3038 am_make=${MAKE-make}
3039 cat > confinc << 'END'
3044 # If we don't find an include directive, just comment out the code.
3045 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3046 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3050 # First try GNU make style include.
3051 echo "include confinc" > confmf
3052 # We grep out `Entering directory' and `Leaving directory'
3053 # messages which can occur if `w' ends up in MAKEFLAGS.
3054 # In particular we don't look at `^make:' because GNU make might
3055 # be invoked under some other name (usually "gmake"), in which
3056 # case it prints its new name instead of `make'.
3057 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3062 # Now try BSD make style include.
3063 if test "$am__include" = "#"; then
3064 echo '.include "confinc"' > confmf
3065 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3066 am__include=.include
3073 { echo "$as_me:$LINENO: result: $_am_result" >&5
3074 echo "${ECHO_T}$_am_result" >&6; }
3075 rm -f confinc confmf
3077 # Check whether --enable-dependency-tracking was given.
3078 if test "${enable_dependency_tracking+set}" = set; then
3079 enableval=$enable_dependency_tracking;
3082 if test "x$enable_dependency_tracking" != xno; then
3083 am_depcomp="$ac_aux_dir/depcomp"
3086 if test "x$enable_dependency_tracking" != xno; then
3096 ac_cpp='$CPP $CPPFLAGS'
3097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3100 if test -n "$ac_tool_prefix"; then
3101 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3102 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3105 if test "${ac_cv_prog_CC+set}" = set; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3108 if test -n "$CC"; then
3109 ac_cv_prog_CC="$CC" # Let the user override the test.
3111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir=.
3116 for ac_exec_ext in '' $ac_executable_extensions; do
3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3118 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 if test -n "$CC"; then
3130 { echo "$as_me:$LINENO: result: $CC" >&5
3131 echo "${ECHO_T}$CC" >&6; }
3133 { echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6; }
3139 if test -z "$ac_cv_prog_CC"; then
3141 # Extract the first word of "gcc", so it can be a program name with args.
3142 set dummy gcc; ac_word=$2
3143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3145 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3146 echo $ECHO_N "(cached) $ECHO_C" >&6
3148 if test -n "$ac_ct_CC"; then
3149 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155 test -z "$as_dir" && as_dir=.
3156 for ac_exec_ext in '' $ac_executable_extensions; do
3157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3158 ac_cv_prog_ac_ct_CC="gcc"
3159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3168 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3169 if test -n "$ac_ct_CC"; then
3170 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3171 echo "${ECHO_T}$ac_ct_CC" >&6; }
3173 { echo "$as_me:$LINENO: result: no" >&5
3174 echo "${ECHO_T}no" >&6; }
3177 if test "x$ac_ct_CC" = x; then
3180 case $cross_compiling:$ac_tool_warned in
3182 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3183 whose name does not start with the host triplet. If you think this
3184 configuration is useful to you, please write to autoconf@gnu.org." >&5
3185 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3186 whose name does not start with the host triplet. If you think this
3187 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3188 ac_tool_warned=yes ;;
3196 if test -z "$CC"; then
3197 if test -n "$ac_tool_prefix"; then
3198 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3199 set dummy ${ac_tool_prefix}cc; ac_word=$2
3200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3202 if test "${ac_cv_prog_CC+set}" = set; then
3203 echo $ECHO_N "(cached) $ECHO_C" >&6
3205 if test -n "$CC"; then
3206 ac_cv_prog_CC="$CC" # Let the user override the test.
3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir=.
3213 for ac_exec_ext in '' $ac_executable_extensions; do
3214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 ac_cv_prog_CC="${ac_tool_prefix}cc"
3216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 if test -n "$CC"; then
3227 { echo "$as_me:$LINENO: result: $CC" >&5
3228 echo "${ECHO_T}$CC" >&6; }
3230 { echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6; }
3237 if test -z "$CC"; then
3238 # Extract the first word of "cc", so it can be a program name with args.
3239 set dummy cc; ac_word=$2
3240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3242 if test "${ac_cv_prog_CC+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 if test -n "$CC"; then
3246 ac_cv_prog_CC="$CC" # Let the user override the test.
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir=.
3254 for ac_exec_ext in '' $ac_executable_extensions; do
3255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3256 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3257 ac_prog_rejected=yes
3261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 if test $ac_prog_rejected = yes; then
3269 # We found a bogon in the path, so make sure we never use it.
3270 set dummy $ac_cv_prog_CC
3272 if test $# != 0; then
3273 # We chose a different compiler from the bogus one.
3274 # However, it has the same basename, so the bogon will be chosen
3275 # first if we set CC to just the basename; use the full file name.
3277 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3283 if test -n "$CC"; then
3284 { echo "$as_me:$LINENO: result: $CC" >&5
3285 echo "${ECHO_T}$CC" >&6; }
3287 { echo "$as_me:$LINENO: result: no" >&5
3288 echo "${ECHO_T}no" >&6; }
3293 if test -z "$CC"; then
3294 if test -n "$ac_tool_prefix"; then
3295 for ac_prog in cl.exe
3297 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3298 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3301 if test "${ac_cv_prog_CC+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3304 if test -n "$CC"; then
3305 ac_cv_prog_CC="$CC" # Let the user override the test.
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311 test -z "$as_dir" && as_dir=.
3312 for ac_exec_ext in '' $ac_executable_extensions; do
3313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3314 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 if test -n "$CC"; then
3326 { echo "$as_me:$LINENO: result: $CC" >&5
3327 echo "${ECHO_T}$CC" >&6; }
3329 { echo "$as_me:$LINENO: result: no" >&5
3330 echo "${ECHO_T}no" >&6; }
3334 test -n "$CC" && break
3337 if test -z "$CC"; then
3339 for ac_prog in cl.exe
3341 # Extract the first word of "$ac_prog", so it can be a program name with args.
3342 set dummy $ac_prog; ac_word=$2
3343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3345 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 if test -n "$ac_ct_CC"; then
3349 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 ac_cv_prog_ac_ct_CC="$ac_prog"
3359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3369 if test -n "$ac_ct_CC"; then
3370 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3371 echo "${ECHO_T}$ac_ct_CC" >&6; }
3373 { echo "$as_me:$LINENO: result: no" >&5
3374 echo "${ECHO_T}no" >&6; }
3378 test -n "$ac_ct_CC" && break
3381 if test "x$ac_ct_CC" = x; then
3384 case $cross_compiling:$ac_tool_warned in
3386 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3387 whose name does not start with the host triplet. If you think this
3388 configuration is useful to you, please write to autoconf@gnu.org." >&5
3389 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3390 whose name does not start with the host triplet. If you think this
3391 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3392 ac_tool_warned=yes ;;
3401 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3402 See \`config.log' for more details." >&5
3403 echo "$as_me: error: no acceptable C compiler found in \$PATH
3404 See \`config.log' for more details." >&2;}
3405 { (exit 1); exit 1; }; }
3407 # Provide some information about the compiler.
3408 echo "$as_me:$LINENO: checking for C compiler version" >&5
3409 ac_compiler=`set X $ac_compile; echo $2`
3410 { (ac_try="$ac_compiler --version >&5"
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3416 (eval "$ac_compiler --version >&5") 2>&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }
3420 { (ac_try="$ac_compiler -v >&5"
3422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3426 (eval "$ac_compiler -v >&5") 2>&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); }
3430 { (ac_try="$ac_compiler -V >&5"
3432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3433 *) ac_try_echo=$ac_try;;
3435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3436 (eval "$ac_compiler -V >&5") 2>&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }
3441 cat >conftest.$ac_ext <<_ACEOF
3444 cat confdefs.h >>conftest.$ac_ext
3445 cat >>conftest.$ac_ext <<_ACEOF
3446 /* end confdefs.h. */
3456 ac_clean_files_save=$ac_clean_files
3457 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3458 # Try to create an executable without -o first, disregard a.out.
3459 # It will help us diagnose broken compilers, and finding out an intuition
3461 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3462 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3463 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3465 # List of possible output files, starting from the most likely.
3466 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3467 # only as a last resort. b.out is created by i960 compilers.
3468 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3470 # The IRIX 6 linker writes into existing files which may not be
3471 # executable, retaining their permissions. Remove them first so a
3472 # subsequent execution test works.
3474 for ac_file in $ac_files
3477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3478 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3483 if { (ac_try="$ac_link_default"
3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3489 (eval "$ac_link_default") 2>&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); }; then
3493 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3494 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3495 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3496 # so that the user can short-circuit this test for compilers unknown to
3498 for ac_file in $ac_files ''
3500 test -f "$ac_file" || continue
3502 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3505 # We found the default executable, but exeext='' is most
3509 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3511 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3513 # We set ac_cv_exeext here because the later test for it is not
3514 # safe: cross compilers may not add the suffix if given an `-o'
3515 # argument, so we may need to know it at that point already.
3516 # Even if this section looks crufty: it has the advantage of
3523 test "$ac_cv_exeext" = no && ac_cv_exeext=
3529 { echo "$as_me:$LINENO: result: $ac_file" >&5
3530 echo "${ECHO_T}$ac_file" >&6; }
3531 if test -z "$ac_file"; then
3532 echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.$ac_ext >&5
3535 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3536 See \`config.log' for more details." >&5
3537 echo "$as_me: error: C compiler cannot create executables
3538 See \`config.log' for more details." >&2;}
3539 { (exit 77); exit 77; }; }
3542 ac_exeext=$ac_cv_exeext
3544 # Check that the compiler produces executables we can run. If not, either
3545 # the compiler is broken, or we cross compile.
3546 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3547 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3548 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3549 # If not cross compiling, check that we can run a simple program.
3550 if test "$cross_compiling" != yes; then
3551 if { ac_try='./$ac_file'
3552 { (case "(($ac_try" in
3553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554 *) ac_try_echo=$ac_try;;
3556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3557 (eval "$ac_try") 2>&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); }; }; then
3563 if test "$cross_compiling" = maybe; then
3566 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3567 If you meant to cross compile, use \`--host'.
3568 See \`config.log' for more details." >&5
3569 echo "$as_me: error: cannot run C compiled programs.
3570 If you meant to cross compile, use \`--host'.
3571 See \`config.log' for more details." >&2;}
3572 { (exit 1); exit 1; }; }
3576 { echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6; }
3579 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3580 ac_clean_files=$ac_clean_files_save
3581 # Check that the compiler produces executables we can run. If not, either
3582 # the compiler is broken, or we cross compile.
3583 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3584 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3585 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3586 echo "${ECHO_T}$cross_compiling" >&6; }
3588 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3589 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3590 if { (ac_try="$ac_link"
3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593 *) ac_try_echo=$ac_try;;
3595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3596 (eval "$ac_link") 2>&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); }; then
3600 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3601 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3602 # work properly (i.e., refer to `conftest.exe'), while it won't with
3604 for ac_file in conftest.exe conftest conftest.*; do
3605 test -f "$ac_file" || continue
3607 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3608 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3614 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3615 See \`config.log' for more details." >&5
3616 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3617 See \`config.log' for more details." >&2;}
3618 { (exit 1); exit 1; }; }
3621 rm -f conftest$ac_cv_exeext
3622 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3623 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3625 rm -f conftest.$ac_ext
3626 EXEEXT=$ac_cv_exeext
3628 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3629 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3630 if test "${ac_cv_objext+set}" = set; then
3631 echo $ECHO_N "(cached) $ECHO_C" >&6
3633 cat >conftest.$ac_ext <<_ACEOF
3636 cat confdefs.h >>conftest.$ac_ext
3637 cat >>conftest.$ac_ext <<_ACEOF
3638 /* end confdefs.h. */
3648 rm -f conftest.o conftest.obj
3649 if { (ac_try="$ac_compile"
3651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3652 *) ac_try_echo=$ac_try;;
3654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3655 (eval "$ac_compile") 2>&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }; then
3659 for ac_file in conftest.o conftest.obj conftest.*; do
3660 test -f "$ac_file" || continue;
3662 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3663 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3668 echo "$as_me: failed program was:" >&5
3669 sed 's/^/| /' conftest.$ac_ext >&5
3671 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3672 See \`config.log' for more details." >&5
3673 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3674 See \`config.log' for more details." >&2;}
3675 { (exit 1); exit 1; }; }
3678 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3680 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3681 echo "${ECHO_T}$ac_cv_objext" >&6; }
3682 OBJEXT=$ac_cv_objext
3684 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3685 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3686 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 cat >conftest.$ac_ext <<_ACEOF
3692 cat confdefs.h >>conftest.$ac_ext
3693 cat >>conftest.$ac_ext <<_ACEOF
3694 /* end confdefs.h. */
3707 rm -f conftest.$ac_objext
3708 if { (ac_try="$ac_compile"
3710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711 *) ac_try_echo=$ac_try;;
3713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3714 (eval "$ac_compile") 2>conftest.er1
3716 grep -v '^ *+' conftest.er1 >conftest.err
3718 cat conftest.err >&5
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); } && {
3721 test -z "$ac_c_werror_flag" ||
3722 test ! -s conftest.err
3723 } && test -s conftest.$ac_objext; then
3726 echo "$as_me: failed program was:" >&5
3727 sed 's/^/| /' conftest.$ac_ext >&5
3732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3733 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3736 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3737 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3738 GCC=`test $ac_compiler_gnu = yes && echo yes`
3739 ac_test_CFLAGS=${CFLAGS+set}
3740 ac_save_CFLAGS=$CFLAGS
3741 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3742 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3743 if test "${ac_cv_prog_cc_g+set}" = set; then
3744 echo $ECHO_N "(cached) $ECHO_C" >&6
3746 ac_save_c_werror_flag=$ac_c_werror_flag
3747 ac_c_werror_flag=yes
3750 cat >conftest.$ac_ext <<_ACEOF
3753 cat confdefs.h >>conftest.$ac_ext
3754 cat >>conftest.$ac_ext <<_ACEOF
3755 /* end confdefs.h. */
3765 rm -f conftest.$ac_objext
3766 if { (ac_try="$ac_compile"
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3772 (eval "$ac_compile") 2>conftest.er1
3774 grep -v '^ *+' conftest.er1 >conftest.err
3776 cat conftest.err >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } && {
3779 test -z "$ac_c_werror_flag" ||
3780 test ! -s conftest.err
3781 } && test -s conftest.$ac_objext; then
3784 echo "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.$ac_ext >&5
3788 cat >conftest.$ac_ext <<_ACEOF
3791 cat confdefs.h >>conftest.$ac_ext
3792 cat >>conftest.$ac_ext <<_ACEOF
3793 /* end confdefs.h. */
3803 rm -f conftest.$ac_objext
3804 if { (ac_try="$ac_compile"
3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807 *) ac_try_echo=$ac_try;;
3809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3810 (eval "$ac_compile") 2>conftest.er1
3812 grep -v '^ *+' conftest.er1 >conftest.err
3814 cat conftest.err >&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); } && {
3817 test -z "$ac_c_werror_flag" ||
3818 test ! -s conftest.err
3819 } && test -s conftest.$ac_objext; then
3822 echo "$as_me: failed program was:" >&5
3823 sed 's/^/| /' conftest.$ac_ext >&5
3825 ac_c_werror_flag=$ac_save_c_werror_flag
3827 cat >conftest.$ac_ext <<_ACEOF
3830 cat confdefs.h >>conftest.$ac_ext
3831 cat >>conftest.$ac_ext <<_ACEOF
3832 /* end confdefs.h. */
3842 rm -f conftest.$ac_objext
3843 if { (ac_try="$ac_compile"
3845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3846 *) ac_try_echo=$ac_try;;
3848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3849 (eval "$ac_compile") 2>conftest.er1
3851 grep -v '^ *+' conftest.er1 >conftest.err
3853 cat conftest.err >&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); } && {
3856 test -z "$ac_c_werror_flag" ||
3857 test ! -s conftest.err
3858 } && test -s conftest.$ac_objext; then
3861 echo "$as_me: failed program was:" >&5
3862 sed 's/^/| /' conftest.$ac_ext >&5
3867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3874 ac_c_werror_flag=$ac_save_c_werror_flag
3876 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3877 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3878 if test "$ac_test_CFLAGS" = set; then
3879 CFLAGS=$ac_save_CFLAGS
3880 elif test $ac_cv_prog_cc_g = yes; then
3881 if test "$GCC" = yes; then
3887 if test "$GCC" = yes; then
3893 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3894 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3895 if test "${ac_cv_prog_cc_c89+set}" = set; then
3896 echo $ECHO_N "(cached) $ECHO_C" >&6
3898 ac_cv_prog_cc_c89=no
3900 cat >conftest.$ac_ext <<_ACEOF
3903 cat confdefs.h >>conftest.$ac_ext
3904 cat >>conftest.$ac_ext <<_ACEOF
3905 /* end confdefs.h. */
3908 #include <sys/types.h>
3909 #include <sys/stat.h>
3910 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3911 struct buf { int x; };
3912 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3913 static char *e (p, i)
3919 static char *f (char * (*g) (char **, int), char **p, ...)
3924 s = g (p, va_arg (v,int));
3929 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3930 function prototypes and stuff, but not '\xHH' hex character constants.
3931 These don't provoke an error unfortunately, instead are silently treated
3932 as 'x'. The following induces an error, until -std is added to get
3933 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3934 array size at least. It's necessary to write '\x00'==0 to get something
3935 that's true only with -std. */
3936 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3938 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3939 inside strings and character constants. */
3941 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3943 int test (int i, double x);
3944 struct s1 {int (*f) (int a);};
3945 struct s2 {int (*f) (double a);};
3946 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3952 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3957 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3958 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3960 CC="$ac_save_CC $ac_arg"
3961 rm -f conftest.$ac_objext
3962 if { (ac_try="$ac_compile"
3964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965 *) ac_try_echo=$ac_try;;
3967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3968 (eval "$ac_compile") 2>conftest.er1
3970 grep -v '^ *+' conftest.er1 >conftest.err
3972 cat conftest.err >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); } && {
3975 test -z "$ac_c_werror_flag" ||
3976 test ! -s conftest.err
3977 } && test -s conftest.$ac_objext; then
3978 ac_cv_prog_cc_c89=$ac_arg
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3986 rm -f core conftest.err conftest.$ac_objext
3987 test "x$ac_cv_prog_cc_c89" != "xno" && break
3989 rm -f conftest.$ac_ext
3994 case "x$ac_cv_prog_cc_c89" in
3996 { echo "$as_me:$LINENO: result: none needed" >&5
3997 echo "${ECHO_T}none needed" >&6; } ;;
3999 { echo "$as_me:$LINENO: result: unsupported" >&5
4000 echo "${ECHO_T}unsupported" >&6; } ;;
4002 CC="$CC $ac_cv_prog_cc_c89"
4003 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4004 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4009 ac_cpp='$CPP $CPPFLAGS'
4010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4014 depcc="$CC" am_compiler_list=
4016 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4017 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4018 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4022 # We make a subdir and do the tests there. Otherwise we can end up
4023 # making bogus files that we don't know about and never remove. For
4024 # instance it was reported that on HP-UX the gcc test will end up
4025 # making a dummy file named `D' -- because `-MD' means `put the output
4028 # Copy depcomp to subdir because otherwise we won't find it if we're
4029 # using a relative directory.
4030 cp "$am_depcomp" conftest.dir
4032 # We will build objects and dependencies in a subdirectory because
4033 # it helps to detect inapplicable dependency modes. For instance
4034 # both Tru64's cc and ICC support -MD to output dependencies as a
4035 # side effect of compilation, but ICC will put the dependencies in
4036 # the current directory while Tru64 will put them in the object
4040 am_cv_CC_dependencies_compiler_type=none
4041 if test "$am_compiler_list" = ""; then
4042 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4044 for depmode in $am_compiler_list; do
4045 # Setup a source with many dependencies, because some compilers
4046 # like to wrap large dependency lists on column 80 (with \), and
4047 # we should not choose a depcomp mode which is confused by this.
4049 # We need to recreate these files for each test, as the compiler may
4050 # overwrite some of them when testing with obscure command lines.
4051 # This happens at least with the AIX C compiler.
4053 for i in 1 2 3 4 5 6; do
4054 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4055 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4056 # Solaris 8's {/usr,}/bin/sh.
4057 touch sub/conftst$i.h
4059 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4063 # after this tag, mechanisms are not by side-effect, so they'll
4064 # only be used when explicitly requested
4065 if test "x$enable_dependency_tracking" = xyes; then
4073 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4074 # mode. It turns out that the SunPro C++ compiler does not properly
4075 # handle `-M -o', and we need to detect this.
4076 if depmode=$depmode \
4077 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4078 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4079 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4080 >/dev/null 2>conftest.err &&
4081 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4082 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4083 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4084 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4085 # icc doesn't choke on unknown options, it will just issue warnings
4086 # or remarks (even with -Werror). So we grep stderr for any message
4087 # that says an option was ignored or not supported.
4088 # When given -MP, icc 7.0 and 7.1 complain thusly:
4089 # icc: Command line warning: ignoring option '-M'; no argument required
4090 # The diagnosis changed in icc 8.0:
4091 # icc: Command line remark: option '-MP' not supported
4092 if (grep 'ignoring option' conftest.err ||
4093 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4094 am_cv_CC_dependencies_compiler_type=$depmode
4103 am_cv_CC_dependencies_compiler_type=none
4107 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4108 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4109 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4112 test "x$enable_dependency_tracking" != xno \
4113 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4115 am__fastdepCC_FALSE='#'
4117 am__fastdepCC_TRUE='#'
4118 am__fastdepCC_FALSE=
4124 ac_cpp='$CPP $CPPFLAGS'
4125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4128 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4129 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4130 # On Suns, sometimes $CPP names a directory.
4131 if test -n "$CPP" && test -d "$CPP"; then
4134 if test -z "$CPP"; then
4135 if test "${ac_cv_prog_CPP+set}" = set; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 # Double quotes because CPP needs to be expanded
4139 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4142 for ac_c_preproc_warn_flag in '' yes
4144 # Use a header file that comes with gcc, so configuring glibc
4145 # with a fresh cross-compiler works.
4146 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4147 # <limits.h> exists even on freestanding compilers.
4148 # On the NeXT, cc -E runs the code through the compiler's parser,
4149 # not just through cpp. "Syntax error" is here to catch this case.
4150 cat >conftest.$ac_ext <<_ACEOF
4153 cat confdefs.h >>conftest.$ac_ext
4154 cat >>conftest.$ac_ext <<_ACEOF
4155 /* end confdefs.h. */
4157 # include <limits.h>
4159 # include <assert.h>
4163 if { (ac_try="$ac_cpp conftest.$ac_ext"
4165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4166 *) ac_try_echo=$ac_try;;
4168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4169 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4171 grep -v '^ *+' conftest.er1 >conftest.err
4173 cat conftest.err >&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); } >/dev/null && {
4176 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4177 test ! -s conftest.err
4181 echo "$as_me: failed program was:" >&5
4182 sed 's/^/| /' conftest.$ac_ext >&5
4184 # Broken: fails on valid input.
4188 rm -f conftest.err conftest.$ac_ext
4190 # OK, works on sane cases. Now check whether nonexistent headers
4191 # can be detected and how.
4192 cat >conftest.$ac_ext <<_ACEOF
4195 cat confdefs.h >>conftest.$ac_ext
4196 cat >>conftest.$ac_ext <<_ACEOF
4197 /* end confdefs.h. */
4198 #include <ac_nonexistent.h>
4200 if { (ac_try="$ac_cpp conftest.$ac_ext"
4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203 *) ac_try_echo=$ac_try;;
4205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4206 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4208 grep -v '^ *+' conftest.er1 >conftest.err
4210 cat conftest.err >&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); } >/dev/null && {
4213 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4214 test ! -s conftest.err
4216 # Broken: success on invalid input.
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.$ac_ext >&5
4222 # Passes both tests.
4227 rm -f conftest.err conftest.$ac_ext
4230 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4231 rm -f conftest.err conftest.$ac_ext
4232 if $ac_preproc_ok; then
4244 { echo "$as_me:$LINENO: result: $CPP" >&5
4245 echo "${ECHO_T}$CPP" >&6; }
4247 for ac_c_preproc_warn_flag in '' yes
4249 # Use a header file that comes with gcc, so configuring glibc
4250 # with a fresh cross-compiler works.
4251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4252 # <limits.h> exists even on freestanding compilers.
4253 # On the NeXT, cc -E runs the code through the compiler's parser,
4254 # not just through cpp. "Syntax error" is here to catch this case.
4255 cat >conftest.$ac_ext <<_ACEOF
4258 cat confdefs.h >>conftest.$ac_ext
4259 cat >>conftest.$ac_ext <<_ACEOF
4260 /* end confdefs.h. */
4262 # include <limits.h>
4264 # include <assert.h>
4268 if { (ac_try="$ac_cpp conftest.$ac_ext"
4270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4276 grep -v '^ *+' conftest.er1 >conftest.err
4278 cat conftest.err >&5
4279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280 (exit $ac_status); } >/dev/null && {
4281 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4282 test ! -s conftest.err
4286 echo "$as_me: failed program was:" >&5
4287 sed 's/^/| /' conftest.$ac_ext >&5
4289 # Broken: fails on valid input.
4293 rm -f conftest.err conftest.$ac_ext
4295 # OK, works on sane cases. Now check whether nonexistent headers
4296 # can be detected and how.
4297 cat >conftest.$ac_ext <<_ACEOF
4300 cat confdefs.h >>conftest.$ac_ext
4301 cat >>conftest.$ac_ext <<_ACEOF
4302 /* end confdefs.h. */
4303 #include <ac_nonexistent.h>
4305 if { (ac_try="$ac_cpp conftest.$ac_ext"
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4313 grep -v '^ *+' conftest.er1 >conftest.err
4315 cat conftest.err >&5
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); } >/dev/null && {
4318 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4319 test ! -s conftest.err
4321 # Broken: success on invalid input.
4324 echo "$as_me: failed program was:" >&5
4325 sed 's/^/| /' conftest.$ac_ext >&5
4327 # Passes both tests.
4332 rm -f conftest.err conftest.$ac_ext
4335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4336 rm -f conftest.err conftest.$ac_ext
4337 if $ac_preproc_ok; then
4340 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4341 See \`config.log' for more details." >&5
4342 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4343 See \`config.log' for more details." >&2;}
4344 { (exit 1); exit 1; }; }
4348 ac_cpp='$CPP $CPPFLAGS'
4349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4354 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4355 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4356 if test "${ac_cv_path_GREP+set}" = set; then
4357 echo $ECHO_N "(cached) $ECHO_C" >&6
4359 # Extract the first word of "grep ggrep" to use in msg output
4360 if test -z "$GREP"; then
4361 set dummy grep ggrep; ac_prog_name=$2
4362 if test "${ac_cv_path_GREP+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 ac_path_GREP_found=false
4366 # Loop through the user's path and test for each of PROGNAME-LIST
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4371 test -z "$as_dir" && as_dir=.
4372 for ac_prog in grep ggrep; do
4373 for ac_exec_ext in '' $ac_executable_extensions; do
4374 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4375 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4376 # Check for GNU ac_path_GREP and select it if it is found.
4377 # Check for GNU $ac_path_GREP
4378 case `"$ac_path_GREP" --version 2>&1` in
4380 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4383 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4386 cat "conftest.in" "conftest.in" >"conftest.tmp"
4387 mv "conftest.tmp" "conftest.in"
4388 cp "conftest.in" "conftest.nl"
4389 echo 'GREP' >> "conftest.nl"
4390 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4391 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4392 ac_count=`expr $ac_count + 1`
4393 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4394 # Best one so far, save it but keep looking for a better one
4395 ac_cv_path_GREP="$ac_path_GREP"
4396 ac_path_GREP_max=$ac_count
4398 # 10*(2^10) chars as input seems more than enough
4399 test $ac_count -gt 10 && break
4401 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4405 $ac_path_GREP_found && break 3
4415 GREP="$ac_cv_path_GREP"
4416 if test -z "$GREP"; then
4417 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4418 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4419 { (exit 1); exit 1; }; }
4423 ac_cv_path_GREP=$GREP
4428 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4429 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4430 GREP="$ac_cv_path_GREP"
4433 { echo "$as_me:$LINENO: checking for egrep" >&5
4434 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4435 if test "${ac_cv_path_EGREP+set}" = set; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4439 then ac_cv_path_EGREP="$GREP -E"
4441 # Extract the first word of "egrep" to use in msg output
4442 if test -z "$EGREP"; then
4443 set dummy egrep; ac_prog_name=$2
4444 if test "${ac_cv_path_EGREP+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 ac_path_EGREP_found=false
4448 # Loop through the user's path and test for each of PROGNAME-LIST
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4453 test -z "$as_dir" && as_dir=.
4454 for ac_prog in egrep; do
4455 for ac_exec_ext in '' $ac_executable_extensions; do
4456 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4457 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4458 # Check for GNU ac_path_EGREP and select it if it is found.
4459 # Check for GNU $ac_path_EGREP
4460 case `"$ac_path_EGREP" --version 2>&1` in
4462 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4465 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4468 cat "conftest.in" "conftest.in" >"conftest.tmp"
4469 mv "conftest.tmp" "conftest.in"
4470 cp "conftest.in" "conftest.nl"
4471 echo 'EGREP' >> "conftest.nl"
4472 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4473 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4474 ac_count=`expr $ac_count + 1`
4475 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4476 # Best one so far, save it but keep looking for a better one
4477 ac_cv_path_EGREP="$ac_path_EGREP"
4478 ac_path_EGREP_max=$ac_count
4480 # 10*(2^10) chars as input seems more than enough
4481 test $ac_count -gt 10 && break
4483 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4487 $ac_path_EGREP_found && break 3
4497 EGREP="$ac_cv_path_EGREP"
4498 if test -z "$EGREP"; then
4499 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4500 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4501 { (exit 1); exit 1; }; }
4505 ac_cv_path_EGREP=$EGREP
4511 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4512 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4513 EGREP="$ac_cv_path_EGREP"
4516 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4517 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4518 if test "${ac_cv_header_stdc+set}" = set; then
4519 echo $ECHO_N "(cached) $ECHO_C" >&6
4521 cat >conftest.$ac_ext <<_ACEOF
4524 cat confdefs.h >>conftest.$ac_ext
4525 cat >>conftest.$ac_ext <<_ACEOF
4526 /* end confdefs.h. */
4540 rm -f conftest.$ac_objext
4541 if { (ac_try="$ac_compile"
4543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4544 *) ac_try_echo=$ac_try;;
4546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4547 (eval "$ac_compile") 2>conftest.er1
4549 grep -v '^ *+' conftest.er1 >conftest.err
4551 cat conftest.err >&5
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); } && {
4554 test -z "$ac_c_werror_flag" ||
4555 test ! -s conftest.err
4556 } && test -s conftest.$ac_objext; then
4557 ac_cv_header_stdc=yes
4559 echo "$as_me: failed program was:" >&5
4560 sed 's/^/| /' conftest.$ac_ext >&5
4562 ac_cv_header_stdc=no
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 if test $ac_cv_header_stdc = yes; then
4568 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4569 cat >conftest.$ac_ext <<_ACEOF
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4579 $EGREP "memchr" >/dev/null 2>&1; then
4582 ac_cv_header_stdc=no
4588 if test $ac_cv_header_stdc = yes; then
4589 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4590 cat >conftest.$ac_ext <<_ACEOF
4593 cat confdefs.h >>conftest.$ac_ext
4594 cat >>conftest.$ac_ext <<_ACEOF
4595 /* end confdefs.h. */
4599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4600 $EGREP "free" >/dev/null 2>&1; then
4603 ac_cv_header_stdc=no
4609 if test $ac_cv_header_stdc = yes; then
4610 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4611 if test "$cross_compiling" = yes; then
4614 cat >conftest.$ac_ext <<_ACEOF
4617 cat confdefs.h >>conftest.$ac_ext
4618 cat >>conftest.$ac_ext <<_ACEOF
4619 /* end confdefs.h. */
4622 #if ((' ' & 0x0FF) == 0x020)
4623 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4624 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4626 # define ISLOWER(c) \
4627 (('a' <= (c) && (c) <= 'i') \
4628 || ('j' <= (c) && (c) <= 'r') \
4629 || ('s' <= (c) && (c) <= 'z'))
4630 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4633 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4638 for (i = 0; i < 256; i++)
4639 if (XOR (islower (i), ISLOWER (i))
4640 || toupper (i) != TOUPPER (i))
4645 rm -f conftest$ac_exeext
4646 if { (ac_try="$ac_link"
4648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4649 *) ac_try_echo=$ac_try;;
4651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4652 (eval "$ac_link") 2>&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4656 { (case "(($ac_try" in
4657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4658 *) ac_try_echo=$ac_try;;
4660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4661 (eval "$ac_try") 2>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); }; }; then
4667 echo "$as_me: program exited with status $ac_status" >&5
4668 echo "$as_me: failed program was:" >&5
4669 sed 's/^/| /' conftest.$ac_ext >&5
4672 ac_cv_header_stdc=no
4674 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4680 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4681 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4682 if test $ac_cv_header_stdc = yes; then
4684 cat >>confdefs.h <<\_ACEOF
4685 #define STDC_HEADERS 1
4690 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4700 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4701 inttypes.h stdint.h unistd.h
4703 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4704 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4709 cat >conftest.$ac_ext <<_ACEOF
4712 cat confdefs.h >>conftest.$ac_ext
4713 cat >>conftest.$ac_ext <<_ACEOF
4714 /* end confdefs.h. */
4715 $ac_includes_default
4717 #include <$ac_header>
4719 rm -f conftest.$ac_objext
4720 if { (ac_try="$ac_compile"
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726 (eval "$ac_compile") 2>conftest.er1
4728 grep -v '^ *+' conftest.er1 >conftest.err
4730 cat conftest.err >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } && {
4733 test -z "$ac_c_werror_flag" ||
4734 test ! -s conftest.err
4735 } && test -s conftest.$ac_objext; then
4736 eval "$as_ac_Header=yes"
4738 echo "$as_me: failed program was:" >&5
4739 sed 's/^/| /' conftest.$ac_ext >&5
4741 eval "$as_ac_Header=no"
4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746 ac_res=`eval echo '${'$as_ac_Header'}'`
4747 { echo "$as_me:$LINENO: result: $ac_res" >&5
4748 echo "${ECHO_T}$ac_res" >&6; }
4749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4750 cat >>confdefs.h <<_ACEOF
4751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4759 # Check whether --enable-alsa was given.
4760 if test "${enable_alsa+set}" = set; then
4761 enableval=$enable_alsa; case "${enableval}" in
4762 yes) COMPILE_ALSA=yes ;;
4763 no) COMPILE_ALSA=no ;;
4764 *) COMPILE_ALSA=yes ;;
4768 for ac_header in alsa/asoundlib.h
4770 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4772 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4774 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 ac_res=`eval echo '${'$as_ac_Header'}'`
4778 { echo "$as_me:$LINENO: result: $ac_res" >&5
4779 echo "${ECHO_T}$ac_res" >&6; }
4781 # Is the header compilable?
4782 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4783 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4784 cat >conftest.$ac_ext <<_ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4790 $ac_includes_default
4791 #include <$ac_header>
4793 rm -f conftest.$ac_objext
4794 if { (ac_try="$ac_compile"
4796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4797 *) ac_try_echo=$ac_try;;
4799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4800 (eval "$ac_compile") 2>conftest.er1
4802 grep -v '^ *+' conftest.er1 >conftest.err
4804 cat conftest.err >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); } && {
4807 test -z "$ac_c_werror_flag" ||
4808 test ! -s conftest.err
4809 } && test -s conftest.$ac_objext; then
4810 ac_header_compiler=yes
4812 echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.$ac_ext >&5
4815 ac_header_compiler=no
4818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4820 echo "${ECHO_T}$ac_header_compiler" >&6; }
4822 # Is the header present?
4823 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4825 cat >conftest.$ac_ext <<_ACEOF
4828 cat confdefs.h >>conftest.$ac_ext
4829 cat >>conftest.$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4831 #include <$ac_header>
4833 if { (ac_try="$ac_cpp conftest.$ac_ext"
4835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4836 *) ac_try_echo=$ac_try;;
4838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4841 grep -v '^ *+' conftest.er1 >conftest.err
4843 cat conftest.err >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } >/dev/null && {
4846 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4847 test ! -s conftest.err
4849 ac_header_preproc=yes
4851 echo "$as_me: failed program was:" >&5
4852 sed 's/^/| /' conftest.$ac_ext >&5
4854 ac_header_preproc=no
4857 rm -f conftest.err conftest.$ac_ext
4858 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4859 echo "${ECHO_T}$ac_header_preproc" >&6; }
4861 # So? What about this header?
4862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4868 ac_header_preproc=yes
4871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4884 ## -------------------------------- ##
4885 ## Report this to classpath@gnu.org ##
4886 ## -------------------------------- ##
4888 ) | sed "s/^/$as_me: WARNING: /" >&2
4891 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 eval "$as_ac_Header=\$ac_header_preproc"
4898 ac_res=`eval echo '${'$as_ac_Header'}'`
4899 { echo "$as_me:$LINENO: result: $ac_res" >&5
4900 echo "${ECHO_T}$ac_res" >&6; }
4903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4904 cat >>confdefs.h <<_ACEOF
4905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4907 { echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4908 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6; }
4909 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 ac_check_lib_save_LIBS=$LIBS
4913 LIBS="-lasound $LIBS"
4914 cat >conftest.$ac_ext <<_ACEOF
4917 cat confdefs.h >>conftest.$ac_ext
4918 cat >>conftest.$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4921 /* Override any GCC internal prototype to avoid an error.
4922 Use char because int might match the return type of a GCC
4923 builtin and then its argument prototype would still apply. */
4927 char snd_seq_open ();
4931 return snd_seq_open ();
4936 rm -f conftest.$ac_objext conftest$ac_exeext
4937 if { (ac_try="$ac_link"
4939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4940 *) ac_try_echo=$ac_try;;
4942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4943 (eval "$ac_link") 2>conftest.er1
4945 grep -v '^ *+' conftest.er1 >conftest.err
4947 cat conftest.err >&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); } && {
4950 test -z "$ac_c_werror_flag" ||
4951 test ! -s conftest.err
4952 } && test -s conftest$ac_exeext &&
4953 $as_test_x conftest$ac_exeext; then
4954 ac_cv_lib_asound_snd_seq_open=yes
4956 echo "$as_me: failed program was:" >&5
4957 sed 's/^/| /' conftest.$ac_ext >&5
4959 ac_cv_lib_asound_snd_seq_open=no
4962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4963 conftest$ac_exeext conftest.$ac_ext
4964 LIBS=$ac_check_lib_save_LIBS
4966 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4967 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6; }
4968 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4982 if test "x${COMPILE_ALSA}" = xyes; then
4983 CREATE_ALSA_LIBRARIES_TRUE=
4984 CREATE_ALSA_LIBRARIES_FALSE='#'
4986 CREATE_ALSA_LIBRARIES_TRUE='#'
4987 CREATE_ALSA_LIBRARIES_FALSE=
4991 # Check whether --enable-dssi was given.
4992 if test "${enable_dssi+set}" = set; then
4993 enableval=$enable_dssi; case "${enableval}" in
4994 yes) COMPILE_DSSI=yes ;;
4995 no) COMPILE_DSSI=no ;;
4996 *) COMPILE_DSSI=yes ;;
5001 for ac_header in dssi.h
5003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5004 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5005 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5010 ac_res=`eval echo '${'$as_ac_Header'}'`
5011 { echo "$as_me:$LINENO: result: $ac_res" >&5
5012 echo "${ECHO_T}$ac_res" >&6; }
5014 # Is the header compilable?
5015 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5016 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5017 cat >conftest.$ac_ext <<_ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 $ac_includes_default
5024 #include <$ac_header>
5026 rm -f conftest.$ac_objext
5027 if { (ac_try="$ac_compile"
5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5030 *) ac_try_echo=$ac_try;;
5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5033 (eval "$ac_compile") 2>conftest.er1
5035 grep -v '^ *+' conftest.er1 >conftest.err
5037 cat conftest.err >&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } && {
5040 test -z "$ac_c_werror_flag" ||
5041 test ! -s conftest.err
5042 } && test -s conftest.$ac_objext; then
5043 ac_header_compiler=yes
5045 echo "$as_me: failed program was:" >&5
5046 sed 's/^/| /' conftest.$ac_ext >&5
5048 ac_header_compiler=no
5051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5052 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5053 echo "${ECHO_T}$ac_header_compiler" >&6; }
5055 # Is the header present?
5056 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5057 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5058 cat >conftest.$ac_ext <<_ACEOF
5061 cat confdefs.h >>conftest.$ac_ext
5062 cat >>conftest.$ac_ext <<_ACEOF
5063 /* end confdefs.h. */
5064 #include <$ac_header>
5066 if { (ac_try="$ac_cpp conftest.$ac_ext"
5068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5069 *) ac_try_echo=$ac_try;;
5071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5072 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5074 grep -v '^ *+' conftest.er1 >conftest.err
5076 cat conftest.err >&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); } >/dev/null && {
5079 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5080 test ! -s conftest.err
5082 ac_header_preproc=yes
5084 echo "$as_me: failed program was:" >&5
5085 sed 's/^/| /' conftest.$ac_ext >&5
5087 ac_header_preproc=no
5090 rm -f conftest.err conftest.$ac_ext
5091 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5092 echo "${ECHO_T}$ac_header_preproc" >&6; }
5094 # So? What about this header?
5095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5097 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5098 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5100 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5101 ac_header_preproc=yes
5104 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5105 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5106 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5107 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5108 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5109 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5110 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5111 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5113 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5114 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5115 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5117 ## -------------------------------- ##
5118 ## Report this to classpath@gnu.org ##
5119 ## -------------------------------- ##
5121 ) | sed "s/^/$as_me: WARNING: /" >&2
5124 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5129 eval "$as_ac_Header=\$ac_header_preproc"
5131 ac_res=`eval echo '${'$as_ac_Header'}'`
5132 { echo "$as_me:$LINENO: result: $ac_res" >&5
5133 echo "${ECHO_T}$ac_res" >&6; }
5136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5137 cat >>confdefs.h <<_ACEOF
5138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5142 for ac_header in jack/jack.h
5144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5146 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 ac_res=`eval echo '${'$as_ac_Header'}'`
5152 { echo "$as_me:$LINENO: result: $ac_res" >&5
5153 echo "${ECHO_T}$ac_res" >&6; }
5155 # Is the header compilable?
5156 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5158 cat >conftest.$ac_ext <<_ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5164 $ac_includes_default
5165 #include <$ac_header>
5167 rm -f conftest.$ac_objext
5168 if { (ac_try="$ac_compile"
5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5171 *) ac_try_echo=$ac_try;;
5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5174 (eval "$ac_compile") 2>conftest.er1
5176 grep -v '^ *+' conftest.er1 >conftest.err
5178 cat conftest.err >&5
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } && {
5181 test -z "$ac_c_werror_flag" ||
5182 test ! -s conftest.err
5183 } && test -s conftest.$ac_objext; then
5184 ac_header_compiler=yes
5186 echo "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.$ac_ext >&5
5189 ac_header_compiler=no
5192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5193 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5194 echo "${ECHO_T}$ac_header_compiler" >&6; }
5196 # Is the header present?
5197 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5198 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5199 cat >conftest.$ac_ext <<_ACEOF
5202 cat confdefs.h >>conftest.$ac_ext
5203 cat >>conftest.$ac_ext <<_ACEOF
5204 /* end confdefs.h. */
5205 #include <$ac_header>
5207 if { (ac_try="$ac_cpp conftest.$ac_ext"
5209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5210 *) ac_try_echo=$ac_try;;
5212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5215 grep -v '^ *+' conftest.er1 >conftest.err
5217 cat conftest.err >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } >/dev/null && {
5220 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5221 test ! -s conftest.err
5223 ac_header_preproc=yes
5225 echo "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.$ac_ext >&5
5228 ac_header_preproc=no
5231 rm -f conftest.err conftest.$ac_ext
5232 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5233 echo "${ECHO_T}$ac_header_preproc" >&6; }
5235 # So? What about this header?
5236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5242 ac_header_preproc=yes
5245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5258 ## -------------------------------- ##
5259 ## Report this to classpath@gnu.org ##
5260 ## -------------------------------- ##
5262 ) | sed "s/^/$as_me: WARNING: /" >&2
5265 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5267 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5268 echo $ECHO_N "(cached) $ECHO_C" >&6
5270 eval "$as_ac_Header=\$ac_header_preproc"
5272 ac_res=`eval echo '${'$as_ac_Header'}'`
5273 { echo "$as_me:$LINENO: result: $ac_res" >&5
5274 echo "${ECHO_T}$ac_res" >&6; }
5277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5278 cat >>confdefs.h <<_ACEOF
5279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5292 if test "x${COMPILE_DSSI}" = xyes; then
5293 CREATE_DSSI_LIBRARIES_TRUE=
5294 CREATE_DSSI_LIBRARIES_FALSE='#'
5296 CREATE_DSSI_LIBRARIES_TRUE='#'
5297 CREATE_DSSI_LIBRARIES_FALSE=
5301 # Check whether --enable-gtk-peer was given.
5302 if test "${enable_gtk_peer+set}" = set; then
5303 enableval=$enable_gtk_peer; case "${enableval}" in
5304 yes) COMPILE_GTK_PEER=yes ;;
5305 no) COMPILE_GTK_PEER=no ;;
5306 *) COMPILE_GTK_PEER=yes ;;
5309 COMPILE_GTK_PEER=yes
5312 if test "x${COMPILE_GTK_PEER}" = xyes; then
5313 CREATE_GTK_PEER_LIBRARIES_TRUE=
5314 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
5316 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
5317 CREATE_GTK_PEER_LIBRARIES_FALSE=
5321 # Check whether --enable-gtk-peers was given.
5322 if test "${enable_gtk_peers+set}" = set; then
5323 enableval=$enable_gtk_peers; { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
5324 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
5325 { (exit 1); exit 1; }; }
5329 # Check whether --enable-qt-peer was given.
5330 if test "${enable_qt_peer+set}" = set; then
5331 enableval=$enable_qt_peer; case "${enableval}" in
5332 yes) COMPILE_QT_PEER=yes ;;
5333 no) COMPILE_QT_PEER=no ;;
5334 *) COMPILE_QT_PEER=yes ;;
5340 if test "x${COMPILE_QT_PEER}" = xyes; then
5341 CREATE_QT_PEER_LIBRARIES_TRUE=
5342 CREATE_QT_PEER_LIBRARIES_FALSE='#'
5344 CREATE_QT_PEER_LIBRARIES_TRUE='#'
5345 CREATE_QT_PEER_LIBRARIES_FALSE=
5349 # Check whether --enable-plugin was given.
5350 if test "${enable_plugin+set}" = set; then
5351 enableval=$enable_plugin; case "${enableval}" in
5352 yes) COMPILE_PLUGIN=yes ;;
5353 no) COMPILE_PLUGIN=no ;;
5354 *) COMPILE_PLUGIN=yes ;;
5360 if test "x${COMPILE_PLUGIN}" = xyes; then
5362 CREATE_PLUGIN_FALSE='#'
5364 CREATE_PLUGIN_TRUE='#'
5365 CREATE_PLUGIN_FALSE=
5370 # Check whether --with-native-libdir was given.
5371 if test "${with_native_libdir+set}" = set; then
5372 withval=$with_native_libdir;
5373 nativeexeclibdir=${withval}
5377 nativeexeclibdir='${libdir}/${PACKAGE}'
5385 # Check whether --with-glibj-dir was given.
5386 if test "${with_glibj_dir+set}" = set; then
5387 withval=$with_glibj_dir;
5392 glibjdir='${datadir}/${PACKAGE}'
5400 # Check whether --with-vm was given.
5401 if test "${with_vm+set}" = set; then
5403 VM_BINARY=${withval}
5407 VM_BINARY='${prefix}/bin/jamvm'
5414 # Check whether --enable-regen-headers was given.
5415 if test "${enable_regen_headers+set}" = set; then
5416 enableval=$enable_regen_headers; case "${enableval}" in
5417 yes) REGENERATE_JNI_HEADERS=yes ;;
5418 no) REGENERATE_JNI_HEADERS=no ;;
5419 *) REGENERATE_JNI_HEADERS=yes ;;
5422 if test -e include/java_lang_VMSystem.h; then
5423 REGENERATE_JNI_HEADERS=no ;
5425 REGENERATE_JNI_HEADERS=yes ;
5429 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
5430 CREATE_JNI_HEADERS_TRUE=
5431 CREATE_JNI_HEADERS_FALSE='#'
5433 CREATE_JNI_HEADERS_TRUE='#'
5434 CREATE_JNI_HEADERS_FALSE=
5438 # Check whether --enable-tool-wrappers was given.
5439 if test "${enable_tool_wrappers+set}" = set; then
5440 enableval=$enable_tool_wrappers; case x"${enableval}" in
5442 COMPILE_WRAPPERS=yes;
5444 for ac_header in ltdl.h
5446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5447 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5448 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
5453 ac_res=`eval echo '${'$as_ac_Header'}'`
5454 { echo "$as_me:$LINENO: result: $ac_res" >&5
5455 echo "${ECHO_T}$ac_res" >&6; }
5457 # Is the header compilable?
5458 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5459 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5460 cat >conftest.$ac_ext <<_ACEOF
5463 cat confdefs.h >>conftest.$ac_ext
5464 cat >>conftest.$ac_ext <<_ACEOF
5465 /* end confdefs.h. */
5466 $ac_includes_default
5467 #include <$ac_header>
5469 rm -f conftest.$ac_objext
5470 if { (ac_try="$ac_compile"
5472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5473 *) ac_try_echo=$ac_try;;
5475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5476 (eval "$ac_compile") 2>conftest.er1
5478 grep -v '^ *+' conftest.er1 >conftest.err
5480 cat conftest.err >&5
5481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482 (exit $ac_status); } && {
5483 test -z "$ac_c_werror_flag" ||
5484 test ! -s conftest.err
5485 } && test -s conftest.$ac_objext; then
5486 ac_header_compiler=yes
5488 echo "$as_me: failed program was:" >&5
5489 sed 's/^/| /' conftest.$ac_ext >&5
5491 ac_header_compiler=no
5494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5495 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5496 echo "${ECHO_T}$ac_header_compiler" >&6; }
5498 # Is the header present?
5499 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5501 cat >conftest.$ac_ext <<_ACEOF
5504 cat confdefs.h >>conftest.$ac_ext
5505 cat >>conftest.$ac_ext <<_ACEOF
5506 /* end confdefs.h. */
5507 #include <$ac_header>
5509 if { (ac_try="$ac_cpp conftest.$ac_ext"
5511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5512 *) ac_try_echo=$ac_try;;
5514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5515 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5517 grep -v '^ *+' conftest.er1 >conftest.err
5519 cat conftest.err >&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); } >/dev/null && {
5522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5523 test ! -s conftest.err
5525 ac_header_preproc=yes
5527 echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.$ac_ext >&5
5530 ac_header_preproc=no
5533 rm -f conftest.err conftest.$ac_ext
5534 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5535 echo "${ECHO_T}$ac_header_preproc" >&6; }
5537 # So? What about this header?
5538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5544 ac_header_preproc=yes
5547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5551 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5553 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5554 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5557 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5560 ## -------------------------------- ##
5561 ## Report this to classpath@gnu.org ##
5562 ## -------------------------------- ##
5564 ) | sed "s/^/$as_me: WARNING: /" >&2
5567 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5570 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 eval "$as_ac_Header=\$ac_header_preproc"
5574 ac_res=`eval echo '${'$as_ac_Header'}'`
5575 { echo "$as_me:$LINENO: result: $ac_res" >&5
5576 echo "${ECHO_T}$ac_res" >&6; }
5579 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5580 cat >>confdefs.h <<_ACEOF
5581 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5585 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
5586 echo "$as_me: error: cannot find ltdl.h" >&2;}
5587 { (exit 1); exit 1; }; }
5593 { echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
5594 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6; }
5595 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
5596 echo $ECHO_N "(cached) $ECHO_C" >&6
5598 ac_check_lib_save_LIBS=$LIBS
5600 cat >conftest.$ac_ext <<_ACEOF
5603 cat confdefs.h >>conftest.$ac_ext
5604 cat >>conftest.$ac_ext <<_ACEOF
5605 /* end confdefs.h. */
5607 /* Override any GCC internal prototype to avoid an error.
5608 Use char because int might match the return type of a GCC
5609 builtin and then its argument prototype would still apply. */
5617 return lt_dlopen ();
5622 rm -f conftest.$ac_objext conftest$ac_exeext
5623 if { (ac_try="$ac_link"
5625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5626 *) ac_try_echo=$ac_try;;
5628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5629 (eval "$ac_link") 2>conftest.er1
5631 grep -v '^ *+' conftest.er1 >conftest.err
5633 cat conftest.err >&5
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); } && {
5636 test -z "$ac_c_werror_flag" ||
5637 test ! -s conftest.err
5638 } && test -s conftest$ac_exeext &&
5639 $as_test_x conftest$ac_exeext; then
5640 ac_cv_lib_ltdl_lt_dlopen=yes
5642 echo "$as_me: failed program was:" >&5
5643 sed 's/^/| /' conftest.$ac_ext >&5
5645 ac_cv_lib_ltdl_lt_dlopen=no
5648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5649 conftest$ac_exeext conftest.$ac_ext
5650 LIBS=$ac_check_lib_save_LIBS
5652 { echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5653 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6; }
5654 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
5655 cat >>confdefs.h <<_ACEOF
5656 #define HAVE_LIBLTDL 1
5662 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
5663 echo "$as_me: error: cannot find libltdl" >&2;}
5664 { (exit 1); exit 1; }; }
5668 xno) COMPILE_WRAPPERS=no ;;
5669 x) COMPILE_WRAPPERS=yes ;;
5670 *) COMPILE_WRAPPERS=yes ;;
5676 if test "x${COMPILE_WRAPPERS}" = xyes; then
5677 CREATE_WRAPPERS_TRUE=
5678 CREATE_WRAPPERS_FALSE='#'
5680 CREATE_WRAPPERS_TRUE='#'
5681 CREATE_WRAPPERS_FALSE=
5685 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5686 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5688 if test "$LN_S" = "ln -s"; then
5689 { echo "$as_me:$LINENO: result: yes" >&5
5690 echo "${ECHO_T}yes" >&6; }
5692 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5693 echo "${ECHO_T}no, using $LN_S" >&6; }
5696 # Find a good install program. We prefer a C program (faster),
5697 # so one script is as good as another. But avoid the broken or
5698 # incompatible versions:
5699 # SysV /etc/install, /usr/sbin/install
5700 # SunOS /usr/etc/install
5701 # IRIX /sbin/install
5703 # AmigaOS /C/install, which installs bootblocks on floppy discs
5704 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5705 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5706 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5707 # OS/2's system install, which has a completely different semantic
5708 # ./install, which can be erroneously created by make from ./install.sh.
5709 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5710 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5711 if test -z "$INSTALL"; then
5712 if test "${ac_cv_path_install+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 test -z "$as_dir" && as_dir=.
5720 # Account for people who put trailing slashes in PATH elements.
5722 ./ | .// | /cC/* | \
5723 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5724 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5727 # OSF1 and SCO ODT 3.0 have their own names for install.
5728 # Don't use installbsd from OSF since it installs stuff as root
5730 for ac_prog in ginstall scoinst install; do
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5733 if test $ac_prog = install &&
5734 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5735 # AIX install. It has an incompatible calling convention.
5737 elif test $ac_prog = install &&
5738 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5739 # program-specific install script used by HP pwplus--don't use.
5742 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5755 if test "${ac_cv_path_install+set}" = set; then
5756 INSTALL=$ac_cv_path_install
5758 # As a last resort, use the slow shell script. Don't cache a
5759 # value for INSTALL within a source directory, because that will
5760 # break other packages using the cache if that directory is
5761 # removed, or if the value is a relative name.
5762 INSTALL=$ac_install_sh
5765 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5766 echo "${ECHO_T}$INSTALL" >&6; }
5768 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5769 # It thinks the first close brace ends the variable substitution.
5770 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5772 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5774 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5778 ac_cpp='$CXXCPP $CPPFLAGS'
5779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5782 if test -z "$CXX"; then
5783 if test -n "$CCC"; then
5786 if test -n "$ac_tool_prefix"; then
5787 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5789 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5790 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5793 if test "${ac_cv_prog_CXX+set}" = set; then
5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 if test -n "$CXX"; then
5797 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 if test -n "$CXX"; then
5818 { echo "$as_me:$LINENO: result: $CXX" >&5
5819 echo "${ECHO_T}$CXX" >&6; }
5821 { echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6; }
5826 test -n "$CXX" && break
5829 if test -z "$CXX"; then
5831 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5833 # Extract the first word of "$ac_prog", so it can be a program name with args.
5834 set dummy $ac_prog; ac_word=$2
5835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5837 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 if test -n "$ac_ct_CXX"; then
5841 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_ac_ct_CXX="$ac_prog"
5851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5861 if test -n "$ac_ct_CXX"; then
5862 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5863 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5865 { echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6; }
5870 test -n "$ac_ct_CXX" && break
5873 if test "x$ac_ct_CXX" = x; then
5876 case $cross_compiling:$ac_tool_warned in
5878 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5879 whose name does not start with the host triplet. If you think this
5880 configuration is useful to you, please write to autoconf@gnu.org." >&5
5881 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5882 whose name does not start with the host triplet. If you think this
5883 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5884 ac_tool_warned=yes ;;
5892 # Provide some information about the compiler.
5893 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5894 ac_compiler=`set X $ac_compile; echo $2`
5895 { (ac_try="$ac_compiler --version >&5"
5897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5898 *) ac_try_echo=$ac_try;;
5900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5901 (eval "$ac_compiler --version >&5") 2>&5
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); }
5905 { (ac_try="$ac_compiler -v >&5"
5907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5908 *) ac_try_echo=$ac_try;;
5910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5911 (eval "$ac_compiler -v >&5") 2>&5
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); }
5915 { (ac_try="$ac_compiler -V >&5"
5917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5918 *) ac_try_echo=$ac_try;;
5920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5921 (eval "$ac_compiler -V >&5") 2>&5
5923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924 (exit $ac_status); }
5926 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5927 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5928 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 cat >conftest.$ac_ext <<_ACEOF
5934 cat confdefs.h >>conftest.$ac_ext
5935 cat >>conftest.$ac_ext <<_ACEOF
5936 /* end confdefs.h. */
5949 rm -f conftest.$ac_objext
5950 if { (ac_try="$ac_compile"
5952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5953 *) ac_try_echo=$ac_try;;
5955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5956 (eval "$ac_compile") 2>conftest.er1
5958 grep -v '^ *+' conftest.er1 >conftest.err
5960 cat conftest.err >&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); } && {
5963 test -z "$ac_cxx_werror_flag" ||
5964 test ! -s conftest.err
5965 } && test -s conftest.$ac_objext; then
5968 echo "$as_me: failed program was:" >&5
5969 sed 's/^/| /' conftest.$ac_ext >&5
5974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5975 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5978 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5979 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5980 GXX=`test $ac_compiler_gnu = yes && echo yes`
5981 ac_test_CXXFLAGS=${CXXFLAGS+set}
5982 ac_save_CXXFLAGS=$CXXFLAGS
5983 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5984 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5985 if test "${ac_cv_prog_cxx_g+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5989 ac_cxx_werror_flag=yes
5992 cat >conftest.$ac_ext <<_ACEOF
5995 cat confdefs.h >>conftest.$ac_ext
5996 cat >>conftest.$ac_ext <<_ACEOF
5997 /* end confdefs.h. */
6007 rm -f conftest.$ac_objext
6008 if { (ac_try="$ac_compile"
6010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6011 *) ac_try_echo=$ac_try;;
6013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6014 (eval "$ac_compile") 2>conftest.er1
6016 grep -v '^ *+' conftest.er1 >conftest.err
6018 cat conftest.err >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); } && {
6021 test -z "$ac_cxx_werror_flag" ||
6022 test ! -s conftest.err
6023 } && test -s conftest.$ac_objext; then
6024 ac_cv_prog_cxx_g=yes
6026 echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.$ac_ext >&5
6030 cat >conftest.$ac_ext <<_ACEOF
6033 cat confdefs.h >>conftest.$ac_ext
6034 cat >>conftest.$ac_ext <<_ACEOF
6035 /* end confdefs.h. */
6045 rm -f conftest.$ac_objext
6046 if { (ac_try="$ac_compile"
6048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6049 *) ac_try_echo=$ac_try;;
6051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6052 (eval "$ac_compile") 2>conftest.er1
6054 grep -v '^ *+' conftest.er1 >conftest.err
6056 cat conftest.err >&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); } && {
6059 test -z "$ac_cxx_werror_flag" ||
6060 test ! -s conftest.err
6061 } && test -s conftest.$ac_objext; then
6064 echo "$as_me: failed program was:" >&5
6065 sed 's/^/| /' conftest.$ac_ext >&5
6067 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6069 cat >conftest.$ac_ext <<_ACEOF
6072 cat confdefs.h >>conftest.$ac_ext
6073 cat >>conftest.$ac_ext <<_ACEOF
6074 /* end confdefs.h. */
6084 rm -f conftest.$ac_objext
6085 if { (ac_try="$ac_compile"
6087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6088 *) ac_try_echo=$ac_try;;
6090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6091 (eval "$ac_compile") 2>conftest.er1
6093 grep -v '^ *+' conftest.er1 >conftest.err
6095 cat conftest.err >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); } && {
6098 test -z "$ac_cxx_werror_flag" ||
6099 test ! -s conftest.err
6100 } && test -s conftest.$ac_objext; then
6101 ac_cv_prog_cxx_g=yes
6103 echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.$ac_ext >&5
6109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6116 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6118 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6119 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6120 if test "$ac_test_CXXFLAGS" = set; then
6121 CXXFLAGS=$ac_save_CXXFLAGS
6122 elif test $ac_cv_prog_cxx_g = yes; then
6123 if test "$GXX" = yes; then
6129 if test "$GXX" = yes; then
6136 ac_cpp='$CPP $CPPFLAGS'
6137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6141 depcc="$CXX" am_compiler_list=
6143 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6144 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6145 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6146 echo $ECHO_N "(cached) $ECHO_C" >&6
6148 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6149 # We make a subdir and do the tests there. Otherwise we can end up
6150 # making bogus files that we don't know about and never remove. For
6151 # instance it was reported that on HP-UX the gcc test will end up
6152 # making a dummy file named `D' -- because `-MD' means `put the output
6155 # Copy depcomp to subdir because otherwise we won't find it if we're
6156 # using a relative directory.
6157 cp "$am_depcomp" conftest.dir
6159 # We will build objects and dependencies in a subdirectory because
6160 # it helps to detect inapplicable dependency modes. For instance
6161 # both Tru64's cc and ICC support -MD to output dependencies as a
6162 # side effect of compilation, but ICC will put the dependencies in
6163 # the current directory while Tru64 will put them in the object
6167 am_cv_CXX_dependencies_compiler_type=none
6168 if test "$am_compiler_list" = ""; then
6169 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6171 for depmode in $am_compiler_list; do
6172 # Setup a source with many dependencies, because some compilers
6173 # like to wrap large dependency lists on column 80 (with \), and
6174 # we should not choose a depcomp mode which is confused by this.
6176 # We need to recreate these files for each test, as the compiler may
6177 # overwrite some of them when testing with obscure command lines.
6178 # This happens at least with the AIX C compiler.
6180 for i in 1 2 3 4 5 6; do
6181 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6182 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6183 # Solaris 8's {/usr,}/bin/sh.
6184 touch sub/conftst$i.h
6186 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6190 # after this tag, mechanisms are not by side-effect, so they'll
6191 # only be used when explicitly requested
6192 if test "x$enable_dependency_tracking" = xyes; then
6200 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6201 # mode. It turns out that the SunPro C++ compiler does not properly
6202 # handle `-M -o', and we need to detect this.
6203 if depmode=$depmode \
6204 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6205 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6206 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6207 >/dev/null 2>conftest.err &&
6208 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6209 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6210 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6211 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6212 # icc doesn't choke on unknown options, it will just issue warnings
6213 # or remarks (even with -Werror). So we grep stderr for any message
6214 # that says an option was ignored or not supported.
6215 # When given -MP, icc 7.0 and 7.1 complain thusly:
6216 # icc: Command line warning: ignoring option '-M'; no argument required
6217 # The diagnosis changed in icc 8.0:
6218 # icc: Command line remark: option '-MP' not supported
6219 if (grep 'ignoring option' conftest.err ||
6220 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6221 am_cv_CXX_dependencies_compiler_type=$depmode
6230 am_cv_CXX_dependencies_compiler_type=none
6234 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6235 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6236 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6239 test "x$enable_dependency_tracking" != xno \
6240 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6241 am__fastdepCXX_TRUE=
6242 am__fastdepCXX_FALSE='#'
6244 am__fastdepCXX_TRUE='#'
6245 am__fastdepCXX_FALSE=
6249 # Check whether --enable-static was given.
6250 if test "${enable_static+set}" = set; then
6251 enableval=$enable_static; p=${PACKAGE-default}
6253 yes) enable_static=yes ;;
6254 no) enable_static=no ;;
6257 # Look at the argument we got. We use all the common list separators.
6258 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6259 for pkg in $enableval; do
6261 if test "X$pkg" = "X$p"; then
6274 # Check whether --enable-shared was given.
6275 if test "${enable_shared+set}" = set; then
6276 enableval=$enable_shared; p=${PACKAGE-default}
6278 yes) enable_shared=yes ;;
6279 no) enable_shared=no ;;
6282 # Look at the argument we got. We use all the common list separators.
6283 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6284 for pkg in $enableval; do
6286 if test "X$pkg" = "X$p"; then
6298 # Check whether --enable-fast-install was given.
6299 if test "${enable_fast_install+set}" = set; then
6300 enableval=$enable_fast_install; p=${PACKAGE-default}
6302 yes) enable_fast_install=yes ;;
6303 no) enable_fast_install=no ;;
6305 enable_fast_install=no
6306 # Look at the argument we got. We use all the common list separators.
6307 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6308 for pkg in $enableval; do
6310 if test "X$pkg" = "X$p"; then
6311 enable_fast_install=yes
6318 enable_fast_install=yes
6322 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6323 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6324 if test "${lt_cv_path_SED+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 # Loop through the user's path and test for sed and gsed.
6328 # Then use that list of sed's as ones to test for truncation.
6329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6333 test -z "$as_dir" && as_dir=.
6334 for lt_ac_prog in sed gsed; do
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
6337 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6345 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
6346 # along with /bin/sed that truncates output.
6347 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6348 test ! -f $lt_ac_sed && continue
6349 cat /dev/null > conftest.in
6351 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6352 # Check for GNU sed and select it if it is found.
6353 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6354 lt_cv_path_SED=$lt_ac_sed
6358 cat conftest.in conftest.in >conftest.tmp
6359 mv conftest.tmp conftest.in
6360 cp conftest.in conftest.nl
6362 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6363 cmp -s conftest.out conftest.nl || break
6364 # 10000 chars as input seems more than enough
6365 test $lt_ac_count -gt 10 && break
6366 lt_ac_count=`expr $lt_ac_count + 1`
6367 if test $lt_ac_count -gt $lt_ac_max; then
6368 lt_ac_max=$lt_ac_count
6369 lt_cv_path_SED=$lt_ac_sed
6378 { echo "$as_me:$LINENO: result: $SED" >&5
6379 echo "${ECHO_T}$SED" >&6; }
6382 # Check whether --with-gnu-ld was given.
6383 if test "${with_gnu_ld+set}" = set; then
6384 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6390 if test "$GCC" = yes; then
6391 # Check if gcc -print-prog-name=ld gives a path.
6392 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6393 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6396 # gcc leaves a trailing carriage return which upsets mingw
6397 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6399 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6402 # Accept absolute paths.
6404 re_direlt='/[^/][^/]*/\.\./'
6405 # Canonicalize the pathname of ld
6406 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6407 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6408 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6410 test -z "$LD" && LD="$ac_prog"
6413 # If it fails, then pretend we aren't using GCC.
6417 # If it is relative, then search for the first ld in PATH.
6421 elif test "$with_gnu_ld" = yes; then
6422 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6423 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6425 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6426 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6428 if test "${lt_cv_path_LD+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 if test -z "$LD"; then
6432 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6433 for ac_dir in $PATH; do
6435 test -z "$ac_dir" && ac_dir=.
6436 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6437 lt_cv_path_LD="$ac_dir/$ac_prog"
6438 # Check to see if the program is GNU ld. I'd rather use --version,
6439 # but apparently some variants of GNU ld only accept -v.
6440 # Break only if it was the GNU/non-GNU ld that we prefer.
6441 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6442 *GNU* | *'with BFD'*)
6443 test "$with_gnu_ld" != no && break
6446 test "$with_gnu_ld" != yes && break
6453 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6458 if test -n "$LD"; then
6459 { echo "$as_me:$LINENO: result: $LD" >&5
6460 echo "${ECHO_T}$LD" >&6; }
6462 { echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6; }
6465 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6466 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6467 { (exit 1); exit 1; }; }
6468 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6469 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6470 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6474 case `$LD -v 2>&1 </dev/null` in
6475 *GNU* | *'with BFD'*)
6476 lt_cv_prog_gnu_ld=yes
6479 lt_cv_prog_gnu_ld=no
6483 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6484 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6485 with_gnu_ld=$lt_cv_prog_gnu_ld
6488 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6489 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6490 if test "${lt_cv_ld_reload_flag+set}" = set; then
6491 echo $ECHO_N "(cached) $ECHO_C" >&6
6493 lt_cv_ld_reload_flag='-r'
6495 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6496 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6497 reload_flag=$lt_cv_ld_reload_flag
6498 case $reload_flag in
6500 *) reload_flag=" $reload_flag" ;;
6502 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6505 if test "$GCC" = yes; then
6506 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6508 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6513 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6514 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6515 if test "${lt_cv_path_NM+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6518 if test -n "$NM"; then
6519 # Let the user override the test.
6522 lt_nm_to_check="${ac_tool_prefix}nm"
6523 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6524 lt_nm_to_check="$lt_nm_to_check nm"
6526 for lt_tmp_nm in $lt_nm_to_check; do
6527 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6528 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6530 test -z "$ac_dir" && ac_dir=.
6531 tmp_nm="$ac_dir/$lt_tmp_nm"
6532 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6533 # Check to see if the nm accepts a BSD-compat flag.
6534 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6535 # nm: unknown option "B" ignored
6536 # Tru64's nm complains that /dev/null is an invalid object file
6537 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6538 */dev/null* | *'Invalid file or object type'*)
6539 lt_cv_path_NM="$tmp_nm -B"
6543 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6545 lt_cv_path_NM="$tmp_nm -p"
6549 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6550 continue # so that we can try to find one that supports BSD flags
6559 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6562 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6563 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6566 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6567 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6568 if test "${lt_cv_deplibs_check_method+set}" = set; then
6569 echo $ECHO_N "(cached) $ECHO_C" >&6
6571 lt_cv_file_magic_cmd='$MAGIC_CMD'
6572 lt_cv_file_magic_test_file=
6573 lt_cv_deplibs_check_method='unknown'
6574 # Need to set the preceding variable on all platforms that support
6575 # interlibrary dependencies.
6576 # 'none' -- dependencies not supported.
6577 # `unknown' -- same as none, but documents that we really don't know.
6578 # 'pass_all' -- all dependencies passed with no checks.
6579 # 'test_compile' -- check by making test program.
6580 # 'file_magic [[regex]]' -- check by looking for files in library path
6581 # which responds to the $file_magic_cmd with a given extended regex.
6582 # If you have `file' or equivalent on your system and you're not sure
6583 # whether `pass_all' will *always* work, you probably want this one.
6587 lt_cv_deplibs_check_method=pass_all
6591 lt_cv_deplibs_check_method=pass_all
6595 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6596 lt_cv_file_magic_cmd='/usr/bin/file -L'
6597 lt_cv_file_magic_test_file=/shlib/libc.so
6601 # func_win32_libid is a shell function defined in ltmain.sh
6602 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6603 lt_cv_file_magic_cmd='func_win32_libid'
6607 # Base MSYS/MinGW do not provide the 'file' command needed by
6608 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6609 # unless we find 'file', for example because we are cross-compiling.
6610 if ( file / ) >/dev/null 2>&1; then
6611 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6612 lt_cv_file_magic_cmd='func_win32_libid'
6614 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6615 lt_cv_file_magic_cmd='$OBJDUMP -f'
6619 darwin* | rhapsody*)
6620 lt_cv_deplibs_check_method=pass_all
6623 freebsd* | dragonfly*)
6624 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6627 # Not sure whether the presence of OpenBSD here was a mistake.
6628 # Let's accept both of them until this is cleared up.
6629 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6630 lt_cv_file_magic_cmd=/usr/bin/file
6631 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6635 lt_cv_deplibs_check_method=pass_all
6640 lt_cv_deplibs_check_method=pass_all
6643 hpux10.20* | hpux11*)
6644 lt_cv_file_magic_cmd=/usr/bin/file
6647 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6648 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6651 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]'
6652 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6655 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6656 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6662 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6663 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6666 irix5* | irix6* | nonstopux*)
6668 *-32|*"-32 ") libmagic=32-bit;;
6669 *-n32|*"-n32 ") libmagic=N32;;
6670 *-64|*"-64 ") libmagic=64-bit;;
6671 *) libmagic=never-match;;
6673 lt_cv_deplibs_check_method=pass_all
6676 # This must be Linux ELF.
6677 linux* | k*bsd*-gnu)
6678 lt_cv_deplibs_check_method=pass_all
6682 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6683 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6685 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6690 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6691 lt_cv_file_magic_cmd=/usr/bin/file
6692 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6696 lt_cv_deplibs_check_method=unknown
6700 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6701 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6703 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6707 osf3* | osf4* | osf5*)
6708 lt_cv_deplibs_check_method=pass_all
6712 lt_cv_deplibs_check_method=pass_all
6716 lt_cv_deplibs_check_method=pass_all
6720 case $host_vendor in
6722 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]'
6723 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6726 lt_cv_deplibs_check_method=pass_all
6729 lt_cv_file_magic_cmd='/bin/file'
6730 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6733 lt_cv_file_magic_cmd='/bin/file'
6734 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6735 lt_cv_file_magic_test_file=/lib/libc.so
6738 lt_cv_deplibs_check_method=pass_all
6741 lt_cv_deplibs_check_method=pass_all
6746 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6747 lt_cv_deplibs_check_method=pass_all
6752 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6753 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
6754 file_magic_cmd=$lt_cv_file_magic_cmd
6755 deplibs_check_method=$lt_cv_deplibs_check_method
6756 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6761 # If no C compiler was specified, use CC.
6764 # If no C compiler flags were specified, use CFLAGS.
6765 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6767 # Allow CC to be a program name with arguments.
6770 # Check whether --enable-libtool-lock was given.
6771 if test "${enable_libtool_lock+set}" = set; then
6772 enableval=$enable_libtool_lock;
6775 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6777 # Some flags need to be propagated to the compiler or linker for good
6781 # Find out which ABI we are using.
6782 echo 'int i;' > conftest.$ac_ext
6783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6784 (eval $ac_compile) 2>&5
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); }; then
6788 case `/usr/bin/file conftest.$ac_objext` in
6800 # Find out which ABI we are using.
6801 echo '#line 6801 "configure"' > conftest.$ac_ext
6802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6803 (eval $ac_compile) 2>&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); }; then
6807 if test "$lt_cv_prog_gnu_ld" = yes; then
6808 case `/usr/bin/file conftest.$ac_objext` in
6810 LD="${LD-ld} -melf32bsmip"
6813 LD="${LD-ld} -melf32bmipn32"
6816 LD="${LD-ld} -melf64bmip"
6820 case `/usr/bin/file conftest.$ac_objext` in
6836 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6837 s390*-*linux*|sparc*-*linux*)
6838 # Find out which ABI we are using.
6839 echo 'int i;' > conftest.$ac_ext
6840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6841 (eval $ac_compile) 2>&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); }; then
6845 case `/usr/bin/file conftest.o` in
6848 x86_64-*kfreebsd*-gnu)
6849 LD="${LD-ld} -m elf_i386_fbsd"
6852 LD="${LD-ld} -m elf_i386"
6854 ppc64-*linux*|powerpc64-*linux*)
6855 LD="${LD-ld} -m elf32ppclinux"
6858 LD="${LD-ld} -m elf_s390"
6861 LD="${LD-ld} -m elf32_sparc"
6867 x86_64-*kfreebsd*-gnu)
6868 LD="${LD-ld} -m elf_x86_64_fbsd"
6871 LD="${LD-ld} -m elf_x86_64"
6873 ppc*-*linux*|powerpc*-*linux*)
6874 LD="${LD-ld} -m elf64ppc"
6877 LD="${LD-ld} -m elf64_s390"
6880 LD="${LD-ld} -m elf64_sparc"
6890 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6891 SAVE_CFLAGS="$CFLAGS"
6892 CFLAGS="$CFLAGS -belf"
6893 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6894 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6895 if test "${lt_cv_cc_needs_belf+set}" = set; then
6896 echo $ECHO_N "(cached) $ECHO_C" >&6
6899 ac_cpp='$CPP $CPPFLAGS'
6900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6904 cat >conftest.$ac_ext <<_ACEOF
6907 cat confdefs.h >>conftest.$ac_ext
6908 cat >>conftest.$ac_ext <<_ACEOF
6909 /* end confdefs.h. */
6919 rm -f conftest.$ac_objext conftest$ac_exeext
6920 if { (ac_try="$ac_link"
6922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6923 *) ac_try_echo=$ac_try;;
6925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6926 (eval "$ac_link") 2>conftest.er1
6928 grep -v '^ *+' conftest.er1 >conftest.err
6930 cat conftest.err >&5
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); } && {
6933 test -z "$ac_c_werror_flag" ||
6934 test ! -s conftest.err
6935 } && test -s conftest$ac_exeext &&
6936 $as_test_x conftest$ac_exeext; then
6937 lt_cv_cc_needs_belf=yes
6939 echo "$as_me: failed program was:" >&5
6940 sed 's/^/| /' conftest.$ac_ext >&5
6942 lt_cv_cc_needs_belf=no
6945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6946 conftest$ac_exeext conftest.$ac_ext
6948 ac_cpp='$CPP $CPPFLAGS'
6949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6954 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6955 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6956 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6957 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6958 CFLAGS="$SAVE_CFLAGS"
6962 # Find out which ABI we are using.
6963 echo 'int i;' > conftest.$ac_ext
6964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6965 (eval $ac_compile) 2>&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); }; then
6969 case `/usr/bin/file conftest.o` in
6971 case $lt_cv_prog_gnu_ld in
6972 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6974 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6988 need_locks="$enable_libtool_lock"
6992 for ac_header in dlfcn.h
6994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6996 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6999 echo $ECHO_N "(cached) $ECHO_C" >&6
7001 ac_res=`eval echo '${'$as_ac_Header'}'`
7002 { echo "$as_me:$LINENO: result: $ac_res" >&5
7003 echo "${ECHO_T}$ac_res" >&6; }
7005 # Is the header compilable?
7006 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7008 cat >conftest.$ac_ext <<_ACEOF
7011 cat confdefs.h >>conftest.$ac_ext
7012 cat >>conftest.$ac_ext <<_ACEOF
7013 /* end confdefs.h. */
7014 $ac_includes_default
7015 #include <$ac_header>
7017 rm -f conftest.$ac_objext
7018 if { (ac_try="$ac_compile"
7020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7021 *) ac_try_echo=$ac_try;;
7023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7024 (eval "$ac_compile") 2>conftest.er1
7026 grep -v '^ *+' conftest.er1 >conftest.err
7028 cat conftest.err >&5
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); } && {
7031 test -z "$ac_c_werror_flag" ||
7032 test ! -s conftest.err
7033 } && test -s conftest.$ac_objext; then
7034 ac_header_compiler=yes
7036 echo "$as_me: failed program was:" >&5
7037 sed 's/^/| /' conftest.$ac_ext >&5
7039 ac_header_compiler=no
7042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7043 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7044 echo "${ECHO_T}$ac_header_compiler" >&6; }
7046 # Is the header present?
7047 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7049 cat >conftest.$ac_ext <<_ACEOF
7052 cat confdefs.h >>conftest.$ac_ext
7053 cat >>conftest.$ac_ext <<_ACEOF
7054 /* end confdefs.h. */
7055 #include <$ac_header>
7057 if { (ac_try="$ac_cpp conftest.$ac_ext"
7059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7060 *) ac_try_echo=$ac_try;;
7062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7065 grep -v '^ *+' conftest.er1 >conftest.err
7067 cat conftest.err >&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); } >/dev/null && {
7070 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7071 test ! -s conftest.err
7073 ac_header_preproc=yes
7075 echo "$as_me: failed program was:" >&5
7076 sed 's/^/| /' conftest.$ac_ext >&5
7078 ac_header_preproc=no
7081 rm -f conftest.err conftest.$ac_ext
7082 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7083 echo "${ECHO_T}$ac_header_preproc" >&6; }
7085 # So? What about this header?
7086 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7088 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7089 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7091 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7092 ac_header_preproc=yes
7095 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7096 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7097 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7098 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7099 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7100 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7101 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7102 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7104 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7105 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7106 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7108 ## -------------------------------- ##
7109 ## Report this to classpath@gnu.org ##
7110 ## -------------------------------- ##
7112 ) | sed "s/^/$as_me: WARNING: /" >&2
7115 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7117 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 eval "$as_ac_Header=\$ac_header_preproc"
7122 ac_res=`eval echo '${'$as_ac_Header'}'`
7123 { echo "$as_me:$LINENO: result: $ac_res" >&5
7124 echo "${ECHO_T}$ac_res" >&6; }
7127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7128 cat >>confdefs.h <<_ACEOF
7129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7138 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7139 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7140 (test "X$CXX" != "Xg++"))) ; then
7142 ac_cpp='$CXXCPP $CPPFLAGS'
7143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7146 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7147 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7148 if test -z "$CXXCPP"; then
7149 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 # Double quotes because CXXCPP needs to be expanded
7153 for CXXCPP in "$CXX -E" "/lib/cpp"
7156 for ac_cxx_preproc_warn_flag in '' yes
7158 # Use a header file that comes with gcc, so configuring glibc
7159 # with a fresh cross-compiler works.
7160 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7161 # <limits.h> exists even on freestanding compilers.
7162 # On the NeXT, cc -E runs the code through the compiler's parser,
7163 # not just through cpp. "Syntax error" is here to catch this case.
7164 cat >conftest.$ac_ext <<_ACEOF
7167 cat confdefs.h >>conftest.$ac_ext
7168 cat >>conftest.$ac_ext <<_ACEOF
7169 /* end confdefs.h. */
7171 # include <limits.h>
7173 # include <assert.h>
7177 if { (ac_try="$ac_cpp conftest.$ac_ext"
7179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7180 *) ac_try_echo=$ac_try;;
7182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7185 grep -v '^ *+' conftest.er1 >conftest.err
7187 cat conftest.err >&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); } >/dev/null && {
7190 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7191 test ! -s conftest.err
7195 echo "$as_me: failed program was:" >&5
7196 sed 's/^/| /' conftest.$ac_ext >&5
7198 # Broken: fails on valid input.
7202 rm -f conftest.err conftest.$ac_ext
7204 # OK, works on sane cases. Now check whether nonexistent headers
7205 # can be detected and how.
7206 cat >conftest.$ac_ext <<_ACEOF
7209 cat confdefs.h >>conftest.$ac_ext
7210 cat >>conftest.$ac_ext <<_ACEOF
7211 /* end confdefs.h. */
7212 #include <ac_nonexistent.h>
7214 if { (ac_try="$ac_cpp conftest.$ac_ext"
7216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7217 *) ac_try_echo=$ac_try;;
7219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7222 grep -v '^ *+' conftest.er1 >conftest.err
7224 cat conftest.err >&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); } >/dev/null && {
7227 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7228 test ! -s conftest.err
7230 # Broken: success on invalid input.
7233 echo "$as_me: failed program was:" >&5
7234 sed 's/^/| /' conftest.$ac_ext >&5
7236 # Passes both tests.
7241 rm -f conftest.err conftest.$ac_ext
7244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7245 rm -f conftest.err conftest.$ac_ext
7246 if $ac_preproc_ok; then
7251 ac_cv_prog_CXXCPP=$CXXCPP
7254 CXXCPP=$ac_cv_prog_CXXCPP
7256 ac_cv_prog_CXXCPP=$CXXCPP
7258 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7259 echo "${ECHO_T}$CXXCPP" >&6; }
7261 for ac_cxx_preproc_warn_flag in '' yes
7263 # Use a header file that comes with gcc, so configuring glibc
7264 # with a fresh cross-compiler works.
7265 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7266 # <limits.h> exists even on freestanding compilers.
7267 # On the NeXT, cc -E runs the code through the compiler's parser,
7268 # not just through cpp. "Syntax error" is here to catch this case.
7269 cat >conftest.$ac_ext <<_ACEOF
7272 cat confdefs.h >>conftest.$ac_ext
7273 cat >>conftest.$ac_ext <<_ACEOF
7274 /* end confdefs.h. */
7276 # include <limits.h>
7278 # include <assert.h>
7282 if { (ac_try="$ac_cpp conftest.$ac_ext"
7284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7285 *) ac_try_echo=$ac_try;;
7287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7288 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7290 grep -v '^ *+' conftest.er1 >conftest.err
7292 cat conftest.err >&5
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); } >/dev/null && {
7295 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7296 test ! -s conftest.err
7300 echo "$as_me: failed program was:" >&5
7301 sed 's/^/| /' conftest.$ac_ext >&5
7303 # Broken: fails on valid input.
7307 rm -f conftest.err conftest.$ac_ext
7309 # OK, works on sane cases. Now check whether nonexistent headers
7310 # can be detected and how.
7311 cat >conftest.$ac_ext <<_ACEOF
7314 cat confdefs.h >>conftest.$ac_ext
7315 cat >>conftest.$ac_ext <<_ACEOF
7316 /* end confdefs.h. */
7317 #include <ac_nonexistent.h>
7319 if { (ac_try="$ac_cpp conftest.$ac_ext"
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7327 grep -v '^ *+' conftest.er1 >conftest.err
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } >/dev/null && {
7332 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7333 test ! -s conftest.err
7335 # Broken: success on invalid input.
7338 echo "$as_me: failed program was:" >&5
7339 sed 's/^/| /' conftest.$ac_ext >&5
7341 # Passes both tests.
7346 rm -f conftest.err conftest.$ac_ext
7349 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7350 rm -f conftest.err conftest.$ac_ext
7351 if $ac_preproc_ok; then
7354 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7355 See \`config.log' for more details." >&5
7356 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7357 See \`config.log' for more details." >&2;}
7358 { (exit 1); exit 1; }; }
7362 ac_cpp='$CXXCPP $CPPFLAGS'
7363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7371 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7372 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7373 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7374 if test -n "$ac_tool_prefix"; then
7375 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7381 if test "${ac_cv_prog_F77+set}" = set; then
7382 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 if test -n "$F77"; then
7385 ac_cv_prog_F77="$F77" # Let the user override the test.
7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 test -z "$as_dir" && as_dir=.
7392 for ac_exec_ext in '' $ac_executable_extensions; do
7393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7394 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7405 if test -n "$F77"; then
7406 { echo "$as_me:$LINENO: result: $F77" >&5
7407 echo "${ECHO_T}$F77" >&6; }
7409 { echo "$as_me:$LINENO: result: no" >&5
7410 echo "${ECHO_T}no" >&6; }
7414 test -n "$F77" && break
7417 if test -z "$F77"; then
7419 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7421 # Extract the first word of "$ac_prog", so it can be a program name with args.
7422 set dummy $ac_prog; ac_word=$2
7423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7425 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7426 echo $ECHO_N "(cached) $ECHO_C" >&6
7428 if test -n "$ac_ct_F77"; then
7429 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 test -z "$as_dir" && as_dir=.
7436 for ac_exec_ext in '' $ac_executable_extensions; do
7437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7438 ac_cv_prog_ac_ct_F77="$ac_prog"
7439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7448 ac_ct_F77=$ac_cv_prog_ac_ct_F77
7449 if test -n "$ac_ct_F77"; then
7450 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7451 echo "${ECHO_T}$ac_ct_F77" >&6; }
7453 { echo "$as_me:$LINENO: result: no" >&5
7454 echo "${ECHO_T}no" >&6; }
7458 test -n "$ac_ct_F77" && break
7461 if test "x$ac_ct_F77" = x; then
7464 case $cross_compiling:$ac_tool_warned in
7466 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7467 whose name does not start with the host triplet. If you think this
7468 configuration is useful to you, please write to autoconf@gnu.org." >&5
7469 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7470 whose name does not start with the host triplet. If you think this
7471 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7472 ac_tool_warned=yes ;;
7479 # Provide some information about the compiler.
7480 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7481 ac_compiler=`set X $ac_compile; echo $2`
7482 { (ac_try="$ac_compiler --version >&5"
7484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7485 *) ac_try_echo=$ac_try;;
7487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7488 (eval "$ac_compiler --version >&5") 2>&5
7490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 (exit $ac_status); }
7492 { (ac_try="$ac_compiler -v >&5"
7494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7495 *) ac_try_echo=$ac_try;;
7497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7498 (eval "$ac_compiler -v >&5") 2>&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); }
7502 { (ac_try="$ac_compiler -V >&5"
7504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7505 *) ac_try_echo=$ac_try;;
7507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7508 (eval "$ac_compiler -V >&5") 2>&5
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); }
7514 # If we don't use `.F' as extension, the preprocessor is not run on the
7515 # input file. (Note that this only needs to work for GNU compilers.)
7518 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7519 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7520 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7521 echo $ECHO_N "(cached) $ECHO_C" >&6
7523 cat >conftest.$ac_ext <<_ACEOF
7531 rm -f conftest.$ac_objext
7532 if { (ac_try="$ac_compile"
7534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7535 *) ac_try_echo=$ac_try;;
7537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7538 (eval "$ac_compile") 2>conftest.er1
7540 grep -v '^ *+' conftest.er1 >conftest.err
7542 cat conftest.err >&5
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); } && {
7545 test -z "$ac_f77_werror_flag" ||
7546 test ! -s conftest.err
7547 } && test -s conftest.$ac_objext; then
7550 echo "$as_me: failed program was:" >&5
7551 sed 's/^/| /' conftest.$ac_ext >&5
7556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7557 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7560 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7561 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7563 ac_test_FFLAGS=${FFLAGS+set}
7564 ac_save_FFLAGS=$FFLAGS
7566 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7567 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7568 if test "${ac_cv_prog_f77_g+set}" = set; then
7569 echo $ECHO_N "(cached) $ECHO_C" >&6
7572 cat >conftest.$ac_ext <<_ACEOF
7577 rm -f conftest.$ac_objext
7578 if { (ac_try="$ac_compile"
7580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7581 *) ac_try_echo=$ac_try;;
7583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7584 (eval "$ac_compile") 2>conftest.er1
7586 grep -v '^ *+' conftest.er1 >conftest.err
7588 cat conftest.err >&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); } && {
7591 test -z "$ac_f77_werror_flag" ||
7592 test ! -s conftest.err
7593 } && test -s conftest.$ac_objext; then
7594 ac_cv_prog_f77_g=yes
7596 echo "$as_me: failed program was:" >&5
7597 sed 's/^/| /' conftest.$ac_ext >&5
7602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7605 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7606 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7607 if test "$ac_test_FFLAGS" = set; then
7608 FFLAGS=$ac_save_FFLAGS
7609 elif test $ac_cv_prog_f77_g = yes; then
7610 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7616 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7623 G77=`test $ac_compiler_gnu = yes && echo yes`
7625 ac_cpp='$CPP $CPPFLAGS'
7626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7632 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7633 # find the maximum length of command line arguments
7634 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7635 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7636 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7637 echo $ECHO_N "(cached) $ECHO_C" >&6
7644 # On DJGPP, this test can blow up pretty badly due to problems in libc
7645 # (any single argument exceeding 2000 bytes causes a buffer overrun
7646 # during glob expansion). Even if it were fixed, the result of this
7647 # check would be larger than it should be.
7648 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7652 # Under GNU Hurd, this test is not required because there is
7653 # no limit to the length of command line arguments.
7654 # Libtool will interpret -1 as no limit whatsoever
7655 lt_cv_sys_max_cmd_len=-1;
7659 # On Win9x/ME, this test blows up -- it succeeds, but takes
7660 # about 5 minutes as the teststring grows exponentially.
7661 # Worse, since 9x/ME are not pre-emptively multitasking,
7662 # you end up with a "frozen" computer, even though with patience
7663 # the test eventually succeeds (with a max line length of 256k).
7664 # Instead, let's just punt: use the minimum linelength reported by
7665 # all of the supported platforms: 8192 (on NT/2K/XP).
7666 lt_cv_sys_max_cmd_len=8192;
7670 # On AmigaOS with pdksh, this test takes hours, literally.
7671 # So we just punt and use a minimum line length of 8192.
7672 lt_cv_sys_max_cmd_len=8192;
7675 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7676 # This has been around since 386BSD, at least. Likely further.
7677 if test -x /sbin/sysctl; then
7678 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7679 elif test -x /usr/sbin/sysctl; then
7680 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7682 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7684 # And add a safety zone
7685 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7686 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7690 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7691 lt_cv_sys_max_cmd_len=196608
7695 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7696 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7697 # nice to cause kernel panics so lets avoid the loop below.
7698 # First set a reasonable default.
7699 lt_cv_sys_max_cmd_len=16384
7701 if test -x /sbin/sysconfig; then
7702 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7703 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7708 lt_cv_sys_max_cmd_len=102400
7710 sysv5* | sco5v6* | sysv4.2uw2*)
7711 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7712 if test -n "$kargmax"; then
7713 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7715 lt_cv_sys_max_cmd_len=32768
7719 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7720 if test -n "$lt_cv_sys_max_cmd_len"; then
7721 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7722 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7724 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7725 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7726 = "XX$teststring") >/dev/null 2>&1 &&
7727 new_result=`expr "X$teststring" : ".*" 2>&1` &&
7728 lt_cv_sys_max_cmd_len=$new_result &&
7729 test $i != 17 # 1/2 MB should be enough
7732 teststring=$teststring$teststring
7735 # Add a significant safety factor because C++ compilers can tack on massive
7736 # amounts of additional arguments before passing them to the linker.
7737 # It appears as though 1/2 is a usable value.
7738 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7745 if test -n $lt_cv_sys_max_cmd_len ; then
7746 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7747 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7749 { echo "$as_me:$LINENO: result: none" >&5
7750 echo "${ECHO_T}none" >&6; }
7757 # Check for command to grab the raw symbol name followed by C symbol from nm.
7758 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7759 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7760 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7761 echo $ECHO_N "(cached) $ECHO_C" >&6
7764 # These are sane defaults that work on at least a few old systems.
7765 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7767 # Character class describing NM global symbol codes.
7768 symcode='[BCDEGRST]'
7770 # Regexp to match symbols that can be accessed directly from C.
7771 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7773 # Transform an extracted symbol line into a proper C declaration
7774 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7776 # Transform an extracted symbol line into symbol name and symbol address
7777 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7779 # Define system-specific variables.
7784 cygwin* | mingw* | pw32*)
7785 symcode='[ABCDGISTW]'
7787 hpux*) # Its linker distinguishes data from code symbols
7788 if test "$host_cpu" = ia64; then
7789 symcode='[ABCDEGRST]'
7791 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7792 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7794 linux* | k*bsd*-gnu)
7795 if test "$host_cpu" = ia64; then
7796 symcode='[ABCDGIRSTW]'
7797 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7798 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7802 symcode='[BCDEGRST]'
7805 symcode='[BCDEGQRST]'
7816 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7824 # Handle CRLF in mingw tool chain
7828 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7832 # If we're using GNU nm, then use its standard symbol codes.
7833 case `$NM -V 2>&1` in
7834 *GNU* | *'with BFD'*)
7835 symcode='[ABCDGIRSTW]' ;;
7838 # Try without a prefix undercore, then with it.
7839 for ac_symprfx in "" "_"; do
7841 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7842 symxfrm="\\1 $ac_symprfx\\2 \\2"
7844 # Write the raw and C identifiers.
7845 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7847 # Check to see that the pipe works correctly.
7851 cat > conftest.$ac_ext <<EOF
7856 void nm_test_func(){}
7860 int main(){nm_test_var='a';nm_test_func();return(0);}
7863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7864 (eval $ac_compile) 2>&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); }; then
7868 # Now try to grab the symbols.
7870 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7871 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7874 (exit $ac_status); } && test -s "$nlist"; then
7875 # Try sorting and uniquifying the output.
7876 if sort "$nlist" | uniq > "$nlist"T; then
7877 mv -f "$nlist"T "$nlist"
7882 # Make sure that we snagged all the symbols we need.
7883 if grep ' nm_test_var$' "$nlist" >/dev/null; then
7884 if grep ' nm_test_func$' "$nlist" >/dev/null; then
7885 cat <<EOF > conftest.$ac_ext
7891 # Now generate the symbol file.
7892 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7894 cat <<EOF >> conftest.$ac_ext
7895 #if defined (__STDC__) && __STDC__
7896 # define lt_ptr_t void *
7898 # define lt_ptr_t char *
7902 /* The mapping between symbol names and symbols. */
7907 lt_preloaded_symbols[] =
7910 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7911 cat <<\EOF >> conftest.$ac_ext
7919 # Now try linking the two files.
7920 mv conftest.$ac_objext conftstm.$ac_objext
7921 lt_save_LIBS="$LIBS"
7922 lt_save_CFLAGS="$CFLAGS"
7923 LIBS="conftstm.$ac_objext"
7924 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7926 (eval $ac_link) 2>&5
7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7932 LIBS="$lt_save_LIBS"
7933 CFLAGS="$lt_save_CFLAGS"
7935 echo "cannot find nm_test_func in $nlist" >&5
7938 echo "cannot find nm_test_var in $nlist" >&5
7941 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7944 echo "$progname: failed program was:" >&5
7945 cat conftest.$ac_ext >&5
7947 rm -rf conftest* conftst*
7949 # Do not use the global_symbol_pipe unless it works.
7950 if test "$pipe_works" = yes; then
7953 lt_cv_sys_global_symbol_pipe=
7959 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7960 lt_cv_sys_global_symbol_to_cdecl=
7962 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7963 { echo "$as_me:$LINENO: result: failed" >&5
7964 echo "${ECHO_T}failed" >&6; }
7966 { echo "$as_me:$LINENO: result: ok" >&5
7967 echo "${ECHO_T}ok" >&6; }
7970 { echo "$as_me:$LINENO: checking for objdir" >&5
7971 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7972 if test "${lt_cv_objdir+set}" = set; then
7973 echo $ECHO_N "(cached) $ECHO_C" >&6
7975 rm -f .libs 2>/dev/null
7976 mkdir .libs 2>/dev/null
7977 if test -d .libs; then
7980 # MS-DOS does not allow filenames that begin with a dot.
7983 rmdir .libs 2>/dev/null
7985 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7986 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7987 objdir=$lt_cv_objdir
7995 # AIX sometimes has problems with the GCC collect2 program. For some
7996 # reason, if we set the COLLECT_NAMES environment variable, the problems
7997 # vanish in a puff of smoke.
7998 if test "X${COLLECT_NAMES+set}" != Xset; then
8000 export COLLECT_NAMES
8005 # Sed substitution that helps us do robust quoting. It backslashifies
8006 # metacharacters that are still active within double-quoted strings.
8007 Xsed='sed -e 1s/^X//'
8008 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
8010 # Same as above, but do not quote variable references.
8011 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
8013 # Sed substitution to delay expansion of an escaped shell variable in a
8014 # double_quote_subst'ed string.
8015 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8017 # Sed substitution to avoid accidental globbing in evaled expressions
8018 no_glob_subst='s/\*/\\\*/g'
8024 default_ofile=libtool
8025 can_build_shared=yes
8027 # All known linkers require a `.a' archive for static linking (except MSVC,
8028 # which needs '.lib').
8030 ltmain="$ac_aux_dir/ltmain.sh"
8031 ofile="$default_ofile"
8032 with_gnu_ld="$lt_cv_prog_gnu_ld"
8034 if test -n "$ac_tool_prefix"; then
8035 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8036 set dummy ${ac_tool_prefix}ar; ac_word=$2
8037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8039 if test "${ac_cv_prog_AR+set}" = set; then
8040 echo $ECHO_N "(cached) $ECHO_C" >&6
8042 if test -n "$AR"; then
8043 ac_cv_prog_AR="$AR" # Let the user override the test.
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8052 ac_cv_prog_AR="${ac_tool_prefix}ar"
8053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8063 if test -n "$AR"; then
8064 { echo "$as_me:$LINENO: result: $AR" >&5
8065 echo "${ECHO_T}$AR" >&6; }
8067 { echo "$as_me:$LINENO: result: no" >&5
8068 echo "${ECHO_T}no" >&6; }
8073 if test -z "$ac_cv_prog_AR"; then
8075 # Extract the first word of "ar", so it can be a program name with args.
8076 set dummy ar; ac_word=$2
8077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8080 echo $ECHO_N "(cached) $ECHO_C" >&6
8082 if test -n "$ac_ct_AR"; then
8083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8089 test -z "$as_dir" && as_dir=.
8090 for ac_exec_ext in '' $ac_executable_extensions; do
8091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8092 ac_cv_prog_ac_ct_AR="ar"
8093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8103 if test -n "$ac_ct_AR"; then
8104 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8105 echo "${ECHO_T}$ac_ct_AR" >&6; }
8107 { echo "$as_me:$LINENO: result: no" >&5
8108 echo "${ECHO_T}no" >&6; }
8111 if test "x$ac_ct_AR" = x; then
8114 case $cross_compiling:$ac_tool_warned in
8116 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8117 whose name does not start with the host triplet. If you think this
8118 configuration is useful to you, please write to autoconf@gnu.org." >&5
8119 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8120 whose name does not start with the host triplet. If you think this
8121 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8122 ac_tool_warned=yes ;;
8130 if test -n "$ac_tool_prefix"; then
8131 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8132 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8135 if test "${ac_cv_prog_RANLIB+set}" = set; then
8136 echo $ECHO_N "(cached) $ECHO_C" >&6
8138 if test -n "$RANLIB"; then
8139 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8145 test -z "$as_dir" && as_dir=.
8146 for ac_exec_ext in '' $ac_executable_extensions; do
8147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8148 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8158 RANLIB=$ac_cv_prog_RANLIB
8159 if test -n "$RANLIB"; then
8160 { echo "$as_me:$LINENO: result: $RANLIB" >&5
8161 echo "${ECHO_T}$RANLIB" >&6; }
8163 { echo "$as_me:$LINENO: result: no" >&5
8164 echo "${ECHO_T}no" >&6; }
8169 if test -z "$ac_cv_prog_RANLIB"; then
8170 ac_ct_RANLIB=$RANLIB
8171 # Extract the first word of "ranlib", so it can be a program name with args.
8172 set dummy ranlib; ac_word=$2
8173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8175 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8176 echo $ECHO_N "(cached) $ECHO_C" >&6
8178 if test -n "$ac_ct_RANLIB"; then
8179 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8185 test -z "$as_dir" && as_dir=.
8186 for ac_exec_ext in '' $ac_executable_extensions; do
8187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8188 ac_cv_prog_ac_ct_RANLIB="ranlib"
8189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8198 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8199 if test -n "$ac_ct_RANLIB"; then
8200 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8201 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8203 { echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6; }
8207 if test "x$ac_ct_RANLIB" = x; then
8210 case $cross_compiling:$ac_tool_warned in
8212 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8213 whose name does not start with the host triplet. If you think this
8214 configuration is useful to you, please write to autoconf@gnu.org." >&5
8215 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8216 whose name does not start with the host triplet. If you think this
8217 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8218 ac_tool_warned=yes ;;
8220 RANLIB=$ac_ct_RANLIB
8223 RANLIB="$ac_cv_prog_RANLIB"
8226 if test -n "$ac_tool_prefix"; then
8227 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8228 set dummy ${ac_tool_prefix}strip; ac_word=$2
8229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8231 if test "${ac_cv_prog_STRIP+set}" = set; then
8232 echo $ECHO_N "(cached) $ECHO_C" >&6
8234 if test -n "$STRIP"; then
8235 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 test -z "$as_dir" && as_dir=.
8242 for ac_exec_ext in '' $ac_executable_extensions; do
8243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8244 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8254 STRIP=$ac_cv_prog_STRIP
8255 if test -n "$STRIP"; then
8256 { echo "$as_me:$LINENO: result: $STRIP" >&5
8257 echo "${ECHO_T}$STRIP" >&6; }
8259 { echo "$as_me:$LINENO: result: no" >&5
8260 echo "${ECHO_T}no" >&6; }
8265 if test -z "$ac_cv_prog_STRIP"; then
8267 # Extract the first word of "strip", so it can be a program name with args.
8268 set dummy strip; ac_word=$2
8269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8271 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8272 echo $ECHO_N "(cached) $ECHO_C" >&6
8274 if test -n "$ac_ct_STRIP"; then
8275 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 test -z "$as_dir" && as_dir=.
8282 for ac_exec_ext in '' $ac_executable_extensions; do
8283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8284 ac_cv_prog_ac_ct_STRIP="strip"
8285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8294 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8295 if test -n "$ac_ct_STRIP"; then
8296 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8297 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8299 { echo "$as_me:$LINENO: result: no" >&5
8300 echo "${ECHO_T}no" >&6; }
8303 if test "x$ac_ct_STRIP" = x; then
8306 case $cross_compiling:$ac_tool_warned in
8308 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8309 whose name does not start with the host triplet. If you think this
8310 configuration is useful to you, please write to autoconf@gnu.org." >&5
8311 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8312 whose name does not start with the host triplet. If you think this
8313 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8314 ac_tool_warned=yes ;;
8319 STRIP="$ac_cv_prog_STRIP"
8324 old_CFLAGS="$CFLAGS"
8326 # Set sane defaults for various variables
8327 test -z "$AR" && AR=ar
8328 test -z "$AR_FLAGS" && AR_FLAGS=cru
8329 test -z "$AS" && AS=as
8330 test -z "$CC" && CC=cc
8331 test -z "$LTCC" && LTCC=$CC
8332 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8333 test -z "$DLLTOOL" && DLLTOOL=dlltool
8334 test -z "$LD" && LD=ld
8335 test -z "$LN_S" && LN_S="ln -s"
8336 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8337 test -z "$NM" && NM=nm
8338 test -z "$SED" && SED=sed
8339 test -z "$OBJDUMP" && OBJDUMP=objdump
8340 test -z "$RANLIB" && RANLIB=:
8341 test -z "$STRIP" && STRIP=:
8342 test -z "$ac_objext" && ac_objext=o
8344 # Determine commands to create old-style static archives.
8345 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8346 old_postinstall_cmds='chmod 644 $oldlib'
8347 old_postuninstall_cmds=
8349 if test -n "$RANLIB"; then
8352 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8355 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8358 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8361 for cc_temp in $compiler""; do
8363 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8364 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8369 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8372 # Only perform the check for file, if the check method requires it
8373 case $deplibs_check_method in
8375 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8376 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8377 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8378 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8379 echo $ECHO_N "(cached) $ECHO_C" >&6
8383 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8386 lt_save_MAGIC_CMD="$MAGIC_CMD"
8387 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8388 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8389 for ac_dir in $ac_dummy; do
8391 test -z "$ac_dir" && ac_dir=.
8392 if test -f $ac_dir/${ac_tool_prefix}file; then
8393 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8394 if test -n "$file_magic_test_file"; then
8395 case $deplibs_check_method in
8397 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8398 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8399 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8400 $EGREP "$file_magic_regex" > /dev/null; then
8405 *** Warning: the command libtool uses to detect shared libraries,
8406 *** $file_magic_cmd, produces output that libtool cannot recognize.
8407 *** The result is that libtool may fail to recognize shared libraries
8408 *** as such. This will affect the creation of libtool libraries that
8409 *** depend on shared libraries, but programs linked with such libtool
8410 *** libraries will work regardless of this problem. Nevertheless, you
8411 *** may want to report the problem to your system manager and/or to
8412 *** bug-libtool@gnu.org
8422 MAGIC_CMD="$lt_save_MAGIC_CMD"
8427 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8428 if test -n "$MAGIC_CMD"; then
8429 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8430 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8432 { echo "$as_me:$LINENO: result: no" >&5
8433 echo "${ECHO_T}no" >&6; }
8436 if test -z "$lt_cv_path_MAGIC_CMD"; then
8437 if test -n "$ac_tool_prefix"; then
8438 { echo "$as_me:$LINENO: checking for file" >&5
8439 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8440 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8441 echo $ECHO_N "(cached) $ECHO_C" >&6
8445 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8448 lt_save_MAGIC_CMD="$MAGIC_CMD"
8449 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8450 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8451 for ac_dir in $ac_dummy; do
8453 test -z "$ac_dir" && ac_dir=.
8454 if test -f $ac_dir/file; then
8455 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8456 if test -n "$file_magic_test_file"; then
8457 case $deplibs_check_method in
8459 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8460 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8461 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8462 $EGREP "$file_magic_regex" > /dev/null; then
8467 *** Warning: the command libtool uses to detect shared libraries,
8468 *** $file_magic_cmd, produces output that libtool cannot recognize.
8469 *** The result is that libtool may fail to recognize shared libraries
8470 *** as such. This will affect the creation of libtool libraries that
8471 *** depend on shared libraries, but programs linked with such libtool
8472 *** libraries will work regardless of this problem. Nevertheless, you
8473 *** may want to report the problem to your system manager and/or to
8474 *** bug-libtool@gnu.org
8484 MAGIC_CMD="$lt_save_MAGIC_CMD"
8489 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8490 if test -n "$MAGIC_CMD"; then
8491 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8492 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8494 { echo "$as_me:$LINENO: result: no" >&5
8495 echo "${ECHO_T}no" >&6; }
8509 rhapsody* | darwin*)
8510 if test -n "$ac_tool_prefix"; then
8511 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8512 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8515 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8516 echo $ECHO_N "(cached) $ECHO_C" >&6
8518 if test -n "$DSYMUTIL"; then
8519 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8525 test -z "$as_dir" && as_dir=.
8526 for ac_exec_ext in '' $ac_executable_extensions; do
8527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8528 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8538 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8539 if test -n "$DSYMUTIL"; then
8540 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8541 echo "${ECHO_T}$DSYMUTIL" >&6; }
8543 { echo "$as_me:$LINENO: result: no" >&5
8544 echo "${ECHO_T}no" >&6; }
8549 if test -z "$ac_cv_prog_DSYMUTIL"; then
8550 ac_ct_DSYMUTIL=$DSYMUTIL
8551 # Extract the first word of "dsymutil", so it can be a program name with args.
8552 set dummy dsymutil; ac_word=$2
8553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8555 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8556 echo $ECHO_N "(cached) $ECHO_C" >&6
8558 if test -n "$ac_ct_DSYMUTIL"; then
8559 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8565 test -z "$as_dir" && as_dir=.
8566 for ac_exec_ext in '' $ac_executable_extensions; do
8567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8568 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8578 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8579 if test -n "$ac_ct_DSYMUTIL"; then
8580 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8581 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
8583 { echo "$as_me:$LINENO: result: no" >&5
8584 echo "${ECHO_T}no" >&6; }
8587 if test "x$ac_ct_DSYMUTIL" = x; then
8590 case $cross_compiling:$ac_tool_warned in
8592 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8593 whose name does not start with the host triplet. If you think this
8594 configuration is useful to you, please write to autoconf@gnu.org." >&5
8595 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8596 whose name does not start with the host triplet. If you think this
8597 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8598 ac_tool_warned=yes ;;
8600 DSYMUTIL=$ac_ct_DSYMUTIL
8603 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8606 if test -n "$ac_tool_prefix"; then
8607 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8608 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8611 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8612 echo $ECHO_N "(cached) $ECHO_C" >&6
8614 if test -n "$NMEDIT"; then
8615 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8621 test -z "$as_dir" && as_dir=.
8622 for ac_exec_ext in '' $ac_executable_extensions; do
8623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8624 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8634 NMEDIT=$ac_cv_prog_NMEDIT
8635 if test -n "$NMEDIT"; then
8636 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
8637 echo "${ECHO_T}$NMEDIT" >&6; }
8639 { echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6; }
8645 if test -z "$ac_cv_prog_NMEDIT"; then
8646 ac_ct_NMEDIT=$NMEDIT
8647 # Extract the first word of "nmedit", so it can be a program name with args.
8648 set dummy nmedit; ac_word=$2
8649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8651 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8652 echo $ECHO_N "(cached) $ECHO_C" >&6
8654 if test -n "$ac_ct_NMEDIT"; then
8655 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8661 test -z "$as_dir" && as_dir=.
8662 for ac_exec_ext in '' $ac_executable_extensions; do
8663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8664 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8674 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8675 if test -n "$ac_ct_NMEDIT"; then
8676 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8677 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
8679 { echo "$as_me:$LINENO: result: no" >&5
8680 echo "${ECHO_T}no" >&6; }
8683 if test "x$ac_ct_NMEDIT" = x; then
8686 case $cross_compiling:$ac_tool_warned in
8688 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8689 whose name does not start with the host triplet. If you think this
8690 configuration is useful to you, please write to autoconf@gnu.org." >&5
8691 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8692 whose name does not start with the host triplet. If you think this
8693 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8694 ac_tool_warned=yes ;;
8696 NMEDIT=$ac_ct_NMEDIT
8699 NMEDIT="$ac_cv_prog_NMEDIT"
8703 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8704 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
8705 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8706 echo $ECHO_N "(cached) $ECHO_C" >&6
8708 lt_cv_apple_cc_single_mod=no
8709 if test -z "${LT_MULTI_MODULE}"; then
8710 # By default we will add the -single_module flag. You can override
8711 # by either setting the environment variable LT_MULTI_MODULE
8712 # non-empty at configure time, or by adding -multi_module to the
8714 echo "int foo(void){return 1;}" > conftest.c
8715 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8716 -dynamiclib ${wl}-single_module conftest.c
8717 if test -f libconftest.dylib; then
8718 lt_cv_apple_cc_single_mod=yes
8719 rm -rf libconftest.dylib*
8724 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8725 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8726 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8727 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
8728 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8729 echo $ECHO_N "(cached) $ECHO_C" >&6
8731 lt_cv_ld_exported_symbols_list=no
8732 save_LDFLAGS=$LDFLAGS
8733 echo "_main" > conftest.sym
8734 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8735 cat >conftest.$ac_ext <<_ACEOF
8738 cat confdefs.h >>conftest.$ac_ext
8739 cat >>conftest.$ac_ext <<_ACEOF
8740 /* end confdefs.h. */
8750 rm -f conftest.$ac_objext conftest$ac_exeext
8751 if { (ac_try="$ac_link"
8753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8754 *) ac_try_echo=$ac_try;;
8756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8757 (eval "$ac_link") 2>conftest.er1
8759 grep -v '^ *+' conftest.er1 >conftest.err
8761 cat conftest.err >&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); } && {
8764 test -z "$ac_c_werror_flag" ||
8765 test ! -s conftest.err
8766 } && test -s conftest$ac_exeext &&
8767 $as_test_x conftest$ac_exeext; then
8768 lt_cv_ld_exported_symbols_list=yes
8770 echo "$as_me: failed program was:" >&5
8771 sed 's/^/| /' conftest.$ac_ext >&5
8773 lt_cv_ld_exported_symbols_list=no
8776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8777 conftest$ac_exeext conftest.$ac_ext
8778 LDFLAGS="$save_LDFLAGS"
8781 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8782 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
8784 rhapsody* | darwin1.[0123])
8785 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8787 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8789 # if running on 10.5 or later, the deployment target defaults
8790 # to the OS version, if on x86, and 10.4, the deployment
8791 # target defaults to 10.4. Don't you love it?
8792 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8793 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8794 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8796 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8798 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8802 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8803 _lt_dar_single_mod='$single_module'
8805 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8806 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8808 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
8810 if test "$DSYMUTIL" != ":"; then
8811 _lt_dsymutil="~$DSYMUTIL \$lib || :"
8822 # Check whether --enable-libtool-lock was given.
8823 if test "${enable_libtool_lock+set}" = set; then
8824 enableval=$enable_libtool_lock;
8827 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8830 # Check whether --with-pic was given.
8831 if test "${with_pic+set}" = set; then
8832 withval=$with_pic; pic_mode="$withval"
8837 test -z "$pic_mode" && pic_mode=default
8839 # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
8841 # Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
8842 # We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
8843 # calls AC_LIBTOOL_CONFIG and creates libtool.
8845 { echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
8846 echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6; }
8847 if test "x$ltmain" = "x" ; then
8848 { echo "$as_me:$LINENO: result: no" >&5
8849 echo "${ECHO_T}no" >&6; }
8850 { { echo "$as_me:$LINENO: error:
8852 *** [Gentoo] sanity check failed! ***
8853 *** \$ltmain is not defined, please check the patch for consistency! ***
8855 echo "$as_me: error:
8857 *** [Gentoo] sanity check failed! ***
8858 *** \$ltmain is not defined, please check the patch for consistency! ***
8860 { (exit 1); exit 1; }; }
8862 gentoo_lt_version="1.5.26"
8863 gentoo_ltmain_version=`sed -n '/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}' "$ltmain"`
8864 if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
8865 { echo "$as_me:$LINENO: result: no" >&5
8866 echo "${ECHO_T}no" >&6; }
8867 { { echo "$as_me:$LINENO: error:
8869 *** [Gentoo] sanity check failed! ***
8870 *** libtool.m4 and ltmain.sh have a version mismatch! ***
8871 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
8875 libtoolize --copy --force
8877 if appropriate, please contact the maintainer of this
8878 package (or your distribution) for help.
8880 echo "$as_me: error:
8882 *** [Gentoo] sanity check failed! ***
8883 *** libtool.m4 and ltmain.sh have a version mismatch! ***
8884 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
8888 libtoolize --copy --force
8890 if appropriate, please contact the maintainer of this
8891 package (or your distribution) for help.
8893 { (exit 1); exit 1; }; }
8895 { echo "$as_me:$LINENO: result: yes" >&5
8896 echo "${ECHO_T}yes" >&6; }
8900 # Use C for the default configuration in the libtool script
8904 ac_cpp='$CPP $CPPFLAGS'
8905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8910 # Source file extension for C test sources.
8913 # Object file extension for compiled C test sources.
8917 # Code to be used in simple compile tests
8918 lt_simple_compile_test_code="int some_variable = 0;"
8920 # Code to be used in simple link tests
8921 lt_simple_link_test_code='int main(){return(0);}'
8924 # If no C compiler was specified, use CC.
8927 # If no C compiler flags were specified, use CFLAGS.
8928 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8930 # Allow CC to be a program name with arguments.
8934 # save warnings/boilerplate of simple test code
8935 ac_outfile=conftest.$ac_objext
8936 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8937 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8938 _lt_compiler_boilerplate=`cat conftest.err`
8941 ac_outfile=conftest.$ac_objext
8942 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8943 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8944 _lt_linker_boilerplate=`cat conftest.err`
8949 lt_prog_compiler_no_builtin_flag=
8951 if test "$GCC" = yes; then
8952 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8955 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8956 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8957 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8958 echo $ECHO_N "(cached) $ECHO_C" >&6
8960 lt_cv_prog_compiler_rtti_exceptions=no
8961 ac_outfile=conftest.$ac_objext
8962 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8963 lt_compiler_flag="-fno-rtti -fno-exceptions"
8964 # Insert the option either (1) after the last *FLAGS variable, or
8965 # (2) before a word containing "conftest.", or (3) at the end.
8966 # Note that $ac_compile itself does not contain backslashes and begins
8967 # with a dollar sign (not a hyphen), so the echo should work correctly.
8968 # The option is referenced via a variable to avoid confusing sed.
8969 lt_compile=`echo "$ac_compile" | $SED \
8970 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8971 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8972 -e 's:$: $lt_compiler_flag:'`
8973 (eval echo "\"\$as_me:8973: $lt_compile\"" >&5)
8974 (eval "$lt_compile" 2>conftest.err)
8976 cat conftest.err >&5
8977 echo "$as_me:8977: \$? = $ac_status" >&5
8978 if (exit $ac_status) && test -s "$ac_outfile"; then
8979 # The compiler can only warn and ignore the option if not recognized
8980 # So say no if there are warnings other than the usual output.
8981 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8982 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8983 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8984 lt_cv_prog_compiler_rtti_exceptions=yes
8990 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8991 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8993 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8994 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9001 lt_prog_compiler_wl=
9002 lt_prog_compiler_pic=
9003 lt_prog_compiler_static=
9005 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9006 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9008 if test "$GCC" = yes; then
9009 lt_prog_compiler_wl='-Wl,'
9010 lt_prog_compiler_static='-static'
9014 # All AIX code is PIC.
9015 if test "$host_cpu" = ia64; then
9016 # AIX 5 now supports IA64 processor
9017 lt_prog_compiler_static='-Bstatic'
9022 # FIXME: we need at least 68020 code to build shared libraries, but
9023 # adding the `-m68020' flag to GCC prevents building anything better,
9025 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9028 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9029 # PIC is the default for these OSes.
9032 mingw* | cygwin* | pw32* | os2*)
9033 # This hack is so that the source file can tell whether it is being
9034 # built for inclusion in a dll (and should export symbols for example).
9035 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9036 # (--disable-auto-import) libraries
9037 lt_prog_compiler_pic='-DDLL_EXPORT'
9040 darwin* | rhapsody*)
9041 # PIC is the default on this platform
9042 # Common symbols not allowed in MH_DYLIB files
9043 lt_prog_compiler_pic='-fno-common'
9047 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9048 # Instead, we relocate shared libraries at runtime.
9052 # Just because we use GCC doesn't mean we suddenly get shared libraries
9053 # on systems that don't support them.
9054 lt_prog_compiler_can_build_shared=no
9059 if test -d /usr/nec; then
9060 lt_prog_compiler_pic=-Kconform_pic
9065 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9072 lt_prog_compiler_pic='-fPIC'
9078 lt_prog_compiler_pic='-fPIC'
9082 # PORTME Check for flag to pass linker flags through the system compiler.
9085 lt_prog_compiler_wl='-Wl,'
9086 if test "$host_cpu" = ia64; then
9087 # AIX 5 now supports IA64 processor
9088 lt_prog_compiler_static='-Bstatic'
9090 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9094 # PIC is the default on this platform
9095 # Common symbols not allowed in MH_DYLIB files
9096 case $cc_basename in
9098 lt_prog_compiler_pic='-qnocommon'
9099 lt_prog_compiler_wl='-Wl,'
9104 mingw* | cygwin* | pw32* | os2*)
9105 # This hack is so that the source file can tell whether it is being
9106 # built for inclusion in a dll (and should export symbols for example).
9107 lt_prog_compiler_pic='-DDLL_EXPORT'
9110 hpux9* | hpux10* | hpux11*)
9111 lt_prog_compiler_wl='-Wl,'
9112 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9119 lt_prog_compiler_pic='+Z'
9122 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9123 lt_prog_compiler_static='${wl}-a ${wl}archive'
9126 irix5* | irix6* | nonstopux*)
9127 lt_prog_compiler_wl='-Wl,'
9128 # PIC (with -KPIC) is the default.
9129 lt_prog_compiler_static='-non_shared'
9133 lt_prog_compiler_pic='-KPIC'
9134 lt_prog_compiler_static='-Bstatic'
9137 linux* | k*bsd*-gnu)
9138 case $cc_basename in
9140 lt_prog_compiler_wl='-Wl,'
9141 lt_prog_compiler_pic='-KPIC'
9142 lt_prog_compiler_static='-static'
9144 pgcc* | pgf77* | pgf90* | pgf95*)
9145 # Portland Group compilers (*not* the Pentium gcc compiler,
9146 # which looks to be a dead project)
9147 lt_prog_compiler_wl='-Wl,'
9148 lt_prog_compiler_pic='-fpic'
9149 lt_prog_compiler_static='-Bstatic'
9152 lt_prog_compiler_wl='-Wl,'
9153 # All Alpha code is PIC.
9154 lt_prog_compiler_static='-non_shared'
9157 case `$CC -V 2>&1 | sed 5q` in
9160 lt_prog_compiler_pic='-KPIC'
9161 lt_prog_compiler_static='-Bstatic'
9162 lt_prog_compiler_wl='-Wl,'
9165 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9166 lt_prog_compiler_pic='-KPIC'
9167 lt_prog_compiler_static='-Bstatic'
9168 lt_prog_compiler_wl=''
9175 osf3* | osf4* | osf5*)
9176 lt_prog_compiler_wl='-Wl,'
9177 # All OSF/1 code is PIC.
9178 lt_prog_compiler_static='-non_shared'
9182 lt_prog_compiler_static='-non_shared'
9186 lt_prog_compiler_pic='-KPIC'
9187 lt_prog_compiler_static='-Bstatic'
9188 case $cc_basename in
9190 lt_prog_compiler_wl='-Qoption ld ';;
9192 lt_prog_compiler_wl='-Wl,';;
9197 lt_prog_compiler_wl='-Qoption ld '
9198 lt_prog_compiler_pic='-PIC'
9199 lt_prog_compiler_static='-Bstatic'
9202 sysv4 | sysv4.2uw2* | sysv4.3*)
9203 lt_prog_compiler_wl='-Wl,'
9204 lt_prog_compiler_pic='-KPIC'
9205 lt_prog_compiler_static='-Bstatic'
9209 if test -d /usr/nec ;then
9210 lt_prog_compiler_pic='-Kconform_pic'
9211 lt_prog_compiler_static='-Bstatic'
9215 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9216 lt_prog_compiler_wl='-Wl,'
9217 lt_prog_compiler_pic='-KPIC'
9218 lt_prog_compiler_static='-Bstatic'
9222 lt_prog_compiler_wl='-Wl,'
9223 lt_prog_compiler_can_build_shared=no
9227 lt_prog_compiler_pic='-pic'
9228 lt_prog_compiler_static='-Bstatic'
9232 lt_prog_compiler_can_build_shared=no
9237 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9238 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9241 # Check to make sure the PIC flag actually works.
9243 if test -n "$lt_prog_compiler_pic"; then
9245 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9246 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9247 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9248 echo $ECHO_N "(cached) $ECHO_C" >&6
9250 lt_cv_prog_compiler_pic_works=no
9251 ac_outfile=conftest.$ac_objext
9252 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9253 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9254 # Insert the option either (1) after the last *FLAGS variable, or
9255 # (2) before a word containing "conftest.", or (3) at the end.
9256 # Note that $ac_compile itself does not contain backslashes and begins
9257 # with a dollar sign (not a hyphen), so the echo should work correctly.
9258 # The option is referenced via a variable to avoid confusing sed.
9259 lt_compile=`echo "$ac_compile" | $SED \
9260 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9262 -e 's:$: $lt_compiler_flag:'`
9263 (eval echo "\"\$as_me:9263: $lt_compile\"" >&5)
9264 (eval "$lt_compile" 2>conftest.err)
9266 cat conftest.err >&5
9267 echo "$as_me:9267: \$? = $ac_status" >&5
9268 if (exit $ac_status) && test -s "$ac_outfile"; then
9269 # The compiler can only warn and ignore the option if not recognized
9270 # So say no if there are warnings other than the usual output.
9271 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9272 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9273 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9274 lt_cv_prog_compiler_pic_works=yes
9280 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9281 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
9283 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9284 case $lt_prog_compiler_pic in
9286 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9289 lt_prog_compiler_pic=
9290 lt_prog_compiler_can_build_shared=no
9295 # For platforms which do not support PIC, -DPIC is meaningless:
9297 lt_prog_compiler_pic=
9300 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9305 # Check to make sure the static flag actually works.
9307 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9308 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9309 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9310 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9311 echo $ECHO_N "(cached) $ECHO_C" >&6
9313 lt_cv_prog_compiler_static_works=no
9314 save_LDFLAGS="$LDFLAGS"
9315 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9316 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9317 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9318 # The linker can only warn and ignore the option if not recognized
9319 # So say no if there are warnings
9320 if test -s conftest.err; then
9321 # Append any errors to the config.log.
9322 cat conftest.err 1>&5
9323 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9324 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9325 if diff conftest.exp conftest.er2 >/dev/null; then
9326 lt_cv_prog_compiler_static_works=yes
9329 lt_cv_prog_compiler_static_works=yes
9333 LDFLAGS="$save_LDFLAGS"
9336 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9337 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
9339 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9342 lt_prog_compiler_static=
9346 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9347 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9348 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 lt_cv_prog_compiler_c_o=no
9352 $rm -r conftest 2>/dev/null
9356 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9358 lt_compiler_flag="-o out/conftest2.$ac_objext"
9359 # Insert the option either (1) after the last *FLAGS variable, or
9360 # (2) before a word containing "conftest.", or (3) at the end.
9361 # Note that $ac_compile itself does not contain backslashes and begins
9362 # with a dollar sign (not a hyphen), so the echo should work correctly.
9363 lt_compile=`echo "$ac_compile" | $SED \
9364 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9366 -e 's:$: $lt_compiler_flag:'`
9367 (eval echo "\"\$as_me:9367: $lt_compile\"" >&5)
9368 (eval "$lt_compile" 2>out/conftest.err)
9370 cat out/conftest.err >&5
9371 echo "$as_me:9371: \$? = $ac_status" >&5
9372 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9374 # The compiler can only warn and ignore the option if not recognized
9375 # So say no if there are warnings
9376 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9377 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9378 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9379 lt_cv_prog_compiler_c_o=yes
9384 # SGI C++ compiler will create directory out/ii_files/ for
9385 # template instantiation
9386 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
9387 $rm out/* && rmdir out
9393 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9394 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9397 hard_links="nottested"
9398 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9399 # do not overwrite the value of need_locks provided by the user
9400 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9401 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9404 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9406 ln conftest.a conftest.b 2>&5 || hard_links=no
9407 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9408 { echo "$as_me:$LINENO: result: $hard_links" >&5
9409 echo "${ECHO_T}$hard_links" >&6; }
9410 if test "$hard_links" = no; then
9411 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9412 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9419 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9420 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9423 allow_undefined_flag=
9424 enable_shared_with_static_runtimes=no
9426 archive_expsym_cmds=
9427 old_archive_From_new_cmds=
9428 old_archive_from_expsyms_cmds=
9429 export_dynamic_flag_spec=
9430 whole_archive_flag_spec=
9431 thread_safe_flag_spec=
9432 hardcode_libdir_flag_spec=
9433 hardcode_libdir_flag_spec_ld=
9434 hardcode_libdir_separator=
9437 hardcode_shlibpath_var=unsupported
9438 link_all_deplibs=unknown
9439 hardcode_automatic=no
9442 always_export_symbols=no
9443 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9444 # include_expsyms should be a list of space-separated symbols to be *always*
9445 # included in the symbol list
9447 # exclude_expsyms can be an extended regexp of symbols to exclude
9448 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9449 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9450 # as well as any symbol that contains `d'.
9451 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9452 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9453 # platforms (ab)use it in PIC code, but their linkers get confused if
9454 # the symbol is explicitly referenced. Since portable code cannot
9455 # rely on this symbol name, it's probably fine to never include it in
9456 # preloaded symbol tables.
9457 # Exclude shared library initialization/finalization symbols.
9458 extract_expsyms_cmds=
9459 # Just being paranoid about ensuring that cc_basename is set.
9460 for cc_temp in $compiler""; do
9462 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9463 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9468 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9471 cygwin* | mingw* | pw32*)
9472 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9473 # When not using gcc, we currently assume that we are using
9474 # Microsoft Visual C++.
9475 if test "$GCC" != yes; then
9480 # we just hope/assume this is gcc and not c89 (= MSVC++)
9489 if test "$with_gnu_ld" = yes; then
9490 # If archive_cmds runs LD, not CC, wlarc should be empty
9493 # Set some defaults for GNU ld with shared library support. These
9494 # are reset later if shared libraries are not supported. Putting them
9495 # here allows them to be overridden if necessary.
9496 runpath_var=LD_RUN_PATH
9497 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
9498 export_dynamic_flag_spec='${wl}--export-dynamic'
9499 # ancient GNU ld didn't support --whole-archive et. al.
9500 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
9501 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9503 whole_archive_flag_spec=
9505 supports_anon_versioning=no
9506 case `$LD -v 2>/dev/null` in
9507 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9508 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9509 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9510 *\ 2.11.*) ;; # other 2.11 versions
9511 *) supports_anon_versioning=yes ;;
9514 # See if GNU ld supports shared libraries.
9517 # On AIX/PPC, the GNU linker is very broken
9518 if test "$host_cpu" != ia64; then
9522 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9523 *** to be unable to reliably create shared libraries on AIX.
9524 *** Therefore, libtool is disabling shared libraries support. If you
9525 *** really care for shared libraries, you may want to modify your PATH
9526 *** so that a non-GNU linker is found, and then restart.
9533 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)'
9534 hardcode_libdir_flag_spec='-L$libdir'
9535 hardcode_minus_L=yes
9537 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9538 # that the semantics of dynamic libraries on AmigaOS, at least up
9539 # to version 4, is to share data among multiple programs linked
9540 # with the same dynamic library. Since this doesn't match the
9541 # behavior of shared libraries on other platforms, we can't use
9547 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9548 allow_undefined_flag=unsupported
9549 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9550 # support --undefined. This deserves some investigation. FIXME
9551 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9557 cygwin* | mingw* | pw32*)
9558 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9559 # as there is no search path for DLLs.
9560 hardcode_libdir_flag_spec='-L$libdir'
9561 allow_undefined_flag=unsupported
9562 always_export_symbols=no
9563 enable_shared_with_static_runtimes=yes
9564 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9566 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9567 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9568 # If the export-symbols file already is a .def file (1st line
9569 # is EXPORTS), use it as is; otherwise, prepend...
9570 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9571 cp $export_symbols $output_objdir/$soname.def;
9573 echo EXPORTS > $output_objdir/$soname.def;
9574 cat $export_symbols >> $output_objdir/$soname.def;
9576 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9584 hardcode_shlibpath_var=no
9585 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9586 export_dynamic_flag_spec='${wl}-E'
9587 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9588 # Instead, shared libraries are loaded at an image base (0x10000000 by
9589 # default) and relocated if they conflict, which is a slow very memory
9590 # consuming and fragmenting process. To avoid this, we pick a random,
9591 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9592 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9593 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9594 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'
9597 gnu* | linux* | k*bsd*-gnu)
9598 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9600 case $cc_basename,$host_cpu in
9601 pgcc*) # Portland Group C compiler
9602 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'
9603 tmp_addflag=' $pic_flag'
9605 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9606 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'
9607 tmp_addflag=' $pic_flag -Mnomain' ;;
9608 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9609 tmp_addflag=' -i_dynamic' ;;
9610 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9611 tmp_addflag=' -i_dynamic -nofor_main' ;;
9612 ifc* | ifort*) # Intel Fortran compiler
9613 tmp_addflag=' -nofor_main' ;;
9615 case `$CC -V 2>&1 | sed 5q` in
9616 *Sun\ C*) # Sun C 5.9
9617 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'
9618 tmp_sharedflag='-G' ;;
9619 *Sun\ F*) # Sun Fortran 8.3
9620 tmp_sharedflag='-G' ;;
9622 tmp_sharedflag='-shared' ;;
9624 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9626 if test $supports_anon_versioning = yes; then
9627 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9628 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9629 $echo "local: *; };" >> $output_objdir/$libname.ver~
9630 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9638 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9639 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9642 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9643 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9648 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
9652 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9653 *** create shared libraries on Solaris systems. Therefore, libtool
9654 *** is disabling shared libraries support. We urge you to upgrade GNU
9655 *** binutils to release 2.9.1 or newer. Another option is to modify
9656 *** your PATH or compiler configuration so that the native linker is
9657 *** used, and then restart.
9660 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9661 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9662 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9668 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9669 case `$LD -v 2>&1` in
9670 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9674 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9675 *** reliably create shared libraries on SCO systems. Therefore, libtool
9676 *** is disabling shared libraries support. We urge you to upgrade GNU
9677 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9678 *** your PATH or compiler configuration so that the native linker is
9679 *** used, and then restart.
9684 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9685 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9686 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9687 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9696 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9699 hardcode_shlibpath_var=no
9703 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9704 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9705 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9712 if test "$ld_shlibs" = no; then
9714 hardcode_libdir_flag_spec=
9715 export_dynamic_flag_spec=
9716 whole_archive_flag_spec=
9719 # PORTME fill in a description of your system's linker (not GNU ld)
9722 allow_undefined_flag=unsupported
9723 always_export_symbols=yes
9724 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'
9725 # Note: this linker hardcodes the directories in LIBPATH if there
9726 # are no directories specified by -L.
9727 hardcode_minus_L=yes
9728 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9729 # Neither direct hardcoding nor static linking is supported with a
9731 hardcode_direct=unsupported
9736 if test "$host_cpu" = ia64; then
9737 # On IA64, the linker does run time linking by default, so we don't
9738 # have to do anything special.
9739 aix_use_runtimelinking=no
9740 exp_sym_flag='-Bexport'
9743 # If we're using GNU nm, then we don't want the "-C" option.
9744 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9745 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9746 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'
9748 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'
9750 aix_use_runtimelinking=no
9752 # Test if we are trying to use run time linking or normal
9753 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9754 # need to do runtime linking.
9755 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9756 for ld_flag in $LDFLAGS; do
9757 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9758 aix_use_runtimelinking=yes
9765 exp_sym_flag='-bexport'
9766 no_entry_flag='-bnoentry'
9769 # When large executables or shared objects are built, AIX ld can
9770 # have problems creating the table of contents. If linking a library
9771 # or program results in "error TOC overflow" add -mminimal-toc to
9772 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9773 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9777 hardcode_libdir_separator=':'
9778 link_all_deplibs=yes
9780 if test "$GCC" = yes; then
9781 case $host_os in aix4.[012]|aix4.[012].*)
9782 # We only want to do this on AIX 4.2 and lower, the check
9783 # below for broken collect2 doesn't work under 4.3+
9784 collect2name=`${CC} -print-prog-name=collect2`
9785 if test -f "$collect2name" && \
9786 strings "$collect2name" | grep resolve_lib_name >/dev/null
9788 # We have reworked collect2
9791 # We have old collect2
9792 hardcode_direct=unsupported
9793 # It fails to find uninstalled libraries when the uninstalled
9794 # path is not listed in the libpath. Setting hardcode_minus_L
9795 # to unsupported forces relinking
9796 hardcode_minus_L=yes
9797 hardcode_libdir_flag_spec='-L$libdir'
9798 hardcode_libdir_separator=
9802 shared_flag='-shared'
9803 if test "$aix_use_runtimelinking" = yes; then
9804 shared_flag="$shared_flag "'${wl}-G'
9808 if test "$host_cpu" = ia64; then
9809 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9810 # chokes on -Wl,-G. The following line is correct:
9813 if test "$aix_use_runtimelinking" = yes; then
9814 shared_flag='${wl}-G'
9816 shared_flag='${wl}-bM:SRE'
9821 # It seems that -bexpall does not export symbols beginning with
9822 # underscore (_), so it is better to generate a list of symbols to export.
9823 always_export_symbols=yes
9824 if test "$aix_use_runtimelinking" = yes; then
9825 # Warning - without using the other runtime loading flags (-brtl),
9826 # -berok will link without error, but may produce a broken library.
9827 allow_undefined_flag='-berok'
9828 # Determine the default libpath from the value encoded in an empty executable.
9829 cat >conftest.$ac_ext <<_ACEOF
9832 cat confdefs.h >>conftest.$ac_ext
9833 cat >>conftest.$ac_ext <<_ACEOF
9834 /* end confdefs.h. */
9844 rm -f conftest.$ac_objext conftest$ac_exeext
9845 if { (ac_try="$ac_link"
9847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9848 *) ac_try_echo=$ac_try;;
9850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9851 (eval "$ac_link") 2>conftest.er1
9853 grep -v '^ *+' conftest.er1 >conftest.err
9855 cat conftest.err >&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); } && {
9858 test -z "$ac_c_werror_flag" ||
9859 test ! -s conftest.err
9860 } && test -s conftest$ac_exeext &&
9861 $as_test_x conftest$ac_exeext; then
9863 lt_aix_libpath_sed='
9864 /Import File Strings/,/^$/ {
9870 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9871 # Check for a 64-bit object if we didn't find anything.
9872 if test -z "$aix_libpath"; then
9873 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9876 echo "$as_me: failed program was:" >&5
9877 sed 's/^/| /' conftest.$ac_ext >&5
9882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9883 conftest$ac_exeext conftest.$ac_ext
9884 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9886 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9887 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9889 if test "$host_cpu" = ia64; then
9890 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9891 allow_undefined_flag="-z nodefs"
9892 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"
9894 # Determine the default libpath from the value encoded in an empty executable.
9895 cat >conftest.$ac_ext <<_ACEOF
9898 cat confdefs.h >>conftest.$ac_ext
9899 cat >>conftest.$ac_ext <<_ACEOF
9900 /* end confdefs.h. */
9910 rm -f conftest.$ac_objext conftest$ac_exeext
9911 if { (ac_try="$ac_link"
9913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9914 *) ac_try_echo=$ac_try;;
9916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9917 (eval "$ac_link") 2>conftest.er1
9919 grep -v '^ *+' conftest.er1 >conftest.err
9921 cat conftest.err >&5
9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); } && {
9924 test -z "$ac_c_werror_flag" ||
9925 test ! -s conftest.err
9926 } && test -s conftest$ac_exeext &&
9927 $as_test_x conftest$ac_exeext; then
9929 lt_aix_libpath_sed='
9930 /Import File Strings/,/^$/ {
9936 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9937 # Check for a 64-bit object if we didn't find anything.
9938 if test -z "$aix_libpath"; then
9939 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9942 echo "$as_me: failed program was:" >&5
9943 sed 's/^/| /' conftest.$ac_ext >&5
9948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9949 conftest$ac_exeext conftest.$ac_ext
9950 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9952 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9953 # Warning - without using the other run time loading flags,
9954 # -berok will link without error, but may produce a broken library.
9955 no_undefined_flag=' ${wl}-bernotok'
9956 allow_undefined_flag=' ${wl}-berok'
9957 # Exported symbols can be pulled into shared objects from archives
9958 whole_archive_flag_spec='$convenience'
9959 archive_cmds_need_lc=yes
9960 # This is similar to how AIX traditionally builds its shared libraries.
9961 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'
9967 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)'
9968 hardcode_libdir_flag_spec='-L$libdir'
9969 hardcode_minus_L=yes
9970 # see comment about different semantics on the GNU ld section
9975 export_dynamic_flag_spec=-rdynamic
9978 cygwin* | mingw* | pw32*)
9979 # When not using gcc, we currently assume that we are using
9980 # Microsoft Visual C++.
9981 # hardcode_libdir_flag_spec is actually meaningless, as there is
9982 # no search path for DLLs.
9983 hardcode_libdir_flag_spec=' '
9984 allow_undefined_flag=unsupported
9985 # Tell ltmain to make .lib files, not .a files.
9987 # Tell ltmain to make .dll files, not .so files.
9989 # FIXME: Setting linknames here is a bad hack.
9990 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9991 # The linker will automatically build a .lib file if we build a DLL.
9992 old_archive_From_new_cmds='true'
9993 # FIXME: Should let the user specify the lib program.
9994 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9995 fix_srcfile_path='`cygpath -w "$srcfile"`'
9996 enable_shared_with_static_runtimes=yes
9999 darwin* | rhapsody*)
10001 rhapsody* | darwin1.[012])
10002 allow_undefined_flag='${wl}-undefined ${wl}suppress'
10005 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10006 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10008 case ${MACOSX_DEPLOYMENT_TARGET} in
10010 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10013 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
10019 archive_cmds_need_lc=no
10021 hardcode_automatic=yes
10022 hardcode_shlibpath_var=unsupported
10023 whole_archive_flag_spec=''
10024 link_all_deplibs=yes
10025 if test "$GCC" = yes ; then
10026 output_verbose_link_cmd='echo'
10027 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10028 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10029 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}"
10030 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}"
10032 case $cc_basename in
10034 output_verbose_link_cmd='echo'
10035 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10036 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10037 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10038 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10039 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_libdir_flag_spec='-L$libdir'
10051 hardcode_shlibpath_var=no
10058 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10059 # support. Future versions do this automatically, but an explicit c++rt0.o
10060 # does not break anything, and helps significantly (at the cost of a little
10063 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10064 hardcode_libdir_flag_spec='-R$libdir'
10065 hardcode_direct=yes
10066 hardcode_shlibpath_var=no
10069 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10071 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=yes
10073 hardcode_minus_L=yes
10074 hardcode_shlibpath_var=no
10077 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10078 freebsd* | dragonfly*)
10079 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10080 hardcode_libdir_flag_spec='-R$libdir'
10081 hardcode_direct=yes
10082 hardcode_shlibpath_var=no
10086 if test "$GCC" = yes; then
10087 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'
10089 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'
10091 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10092 hardcode_libdir_separator=:
10093 hardcode_direct=yes
10095 # hardcode_minus_L: Not really in the search PATH,
10096 # but as the default location of the library.
10097 hardcode_minus_L=yes
10098 export_dynamic_flag_spec='${wl}-E'
10102 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10103 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10105 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10107 if test "$with_gnu_ld" = no; then
10108 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10109 hardcode_libdir_separator=:
10111 hardcode_direct=yes
10112 export_dynamic_flag_spec='${wl}-E'
10114 # hardcode_minus_L: Not really in the search PATH,
10115 # but as the default location of the library.
10116 hardcode_minus_L=yes
10121 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10124 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10127 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10130 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10136 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10139 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10142 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10146 if test "$with_gnu_ld" = no; then
10147 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10148 hardcode_libdir_separator=:
10152 hardcode_libdir_flag_spec_ld='+b $libdir'
10154 hardcode_shlibpath_var=no
10157 hardcode_direct=yes
10158 export_dynamic_flag_spec='${wl}-E'
10160 # hardcode_minus_L: Not really in the search PATH,
10161 # but as the default location of the library.
10162 hardcode_minus_L=yes
10168 irix5* | irix6* | nonstopux*)
10169 if test "$GCC" = yes; then
10170 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10172 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10173 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10175 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10176 hardcode_libdir_separator=:
10177 link_all_deplibs=yes
10181 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10182 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10184 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10186 hardcode_libdir_flag_spec='-R$libdir'
10187 hardcode_direct=yes
10188 hardcode_shlibpath_var=no
10192 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10193 hardcode_direct=yes
10194 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10195 hardcode_libdir_separator=:
10196 hardcode_shlibpath_var=no
10200 if test -f /usr/libexec/ld.so; then
10201 hardcode_direct=yes
10202 hardcode_shlibpath_var=no
10203 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10204 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10205 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10206 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10207 export_dynamic_flag_spec='${wl}-E'
10210 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10211 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10212 hardcode_libdir_flag_spec='-R$libdir'
10215 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10216 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10226 hardcode_libdir_flag_spec='-L$libdir'
10227 hardcode_minus_L=yes
10228 allow_undefined_flag=unsupported
10229 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'
10230 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10234 if test "$GCC" = yes; then
10235 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10236 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10238 allow_undefined_flag=' -expect_unresolved \*'
10239 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10242 hardcode_libdir_separator=:
10245 osf4* | osf5*) # as osf3* with the addition of -msym flag
10246 if test "$GCC" = yes; then
10247 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10248 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10249 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10251 allow_undefined_flag=' -expect_unresolved \*'
10252 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10253 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10254 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
10256 # Both c and cxx compiler support -rpath directly
10257 hardcode_libdir_flag_spec='-rpath $libdir'
10259 hardcode_libdir_separator=:
10263 no_undefined_flag=' -z text'
10264 if test "$GCC" = yes; then
10266 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10267 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10268 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10271 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10272 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10273 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10275 hardcode_libdir_flag_spec='-R$libdir'
10276 hardcode_shlibpath_var=no
10278 solaris2.[0-5] | solaris2.[0-5].*) ;;
10280 # The compiler driver will combine and reorder linker options,
10281 # but understands `-z linker_flag'. GCC discards it without `$wl',
10282 # but is careful enough not to reorder.
10283 # Supported since Solaris 2.6 (maybe 2.5.1?)
10284 if test "$GCC" = yes; then
10285 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10287 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10291 link_all_deplibs=yes
10295 if test "x$host_vendor" = xsequent; then
10296 # Use $CC to link under sequent, because it throws in some extra .o
10297 # files that make .init and .fini sections work.
10298 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10300 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10302 hardcode_libdir_flag_spec='-L$libdir'
10303 hardcode_direct=yes
10304 hardcode_minus_L=yes
10305 hardcode_shlibpath_var=no
10309 case $host_vendor in
10311 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10312 hardcode_direct=yes # is this really true???
10315 ## LD is ld it makes a PLAMLIB
10316 ## CC just makes a GrossModule.
10317 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10318 reload_cmds='$CC -r -o $output$reload_objs'
10322 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10323 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10326 runpath_var='LD_RUN_PATH'
10327 hardcode_shlibpath_var=no
10331 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10332 hardcode_shlibpath_var=no
10333 export_dynamic_flag_spec='-Bexport'
10337 if test -d /usr/nec; then
10338 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10339 hardcode_shlibpath_var=no
10340 runpath_var=LD_RUN_PATH
10341 hardcode_runpath_var=yes
10346 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10347 no_undefined_flag='${wl}-z,text'
10348 archive_cmds_need_lc=no
10349 hardcode_shlibpath_var=no
10350 runpath_var='LD_RUN_PATH'
10352 if test "$GCC" = yes; then
10353 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10354 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10356 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10357 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10361 sysv5* | sco3.2v5* | sco5v6*)
10362 # Note: We can NOT use -z defs as we might desire, because we do not
10363 # link with -lc, and that would cause any symbols used from libc to
10364 # always be unresolved, which means just about no library would
10365 # ever link correctly. If we're not using GNU ld we use -z text
10366 # though, which does catch some bad symbols but isn't as heavy-handed
10368 no_undefined_flag='${wl}-z,text'
10369 allow_undefined_flag='${wl}-z,nodefs'
10370 archive_cmds_need_lc=no
10371 hardcode_shlibpath_var=no
10372 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10373 hardcode_libdir_separator=':'
10374 link_all_deplibs=yes
10375 export_dynamic_flag_spec='${wl}-Bexport'
10376 runpath_var='LD_RUN_PATH'
10378 if test "$GCC" = yes; then
10379 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10380 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10382 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10383 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10388 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10389 hardcode_libdir_flag_spec='-L$libdir'
10390 hardcode_shlibpath_var=no
10399 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10400 echo "${ECHO_T}$ld_shlibs" >&6; }
10401 test "$ld_shlibs" = no && can_build_shared=no
10404 # Do we need to explicitly link libc?
10406 case "x$archive_cmds_need_lc" in
10408 # Assume -lc should be added
10409 archive_cmds_need_lc=yes
10411 if test "$enable_shared" = yes && test "$GCC" = yes; then
10412 case $archive_cmds in
10414 # FIXME: we may have to deal with multi-command sequences.
10417 # Test whether the compiler implicitly links with -lc since on some
10418 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10419 # to ld, don't add -lc before -lgcc.
10420 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10421 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10423 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10426 (eval $ac_compile) 2>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } 2>conftest.err; then
10432 libobjs=conftest.$ac_objext
10434 wl=$lt_prog_compiler_wl
10435 pic_flag=$lt_prog_compiler_pic
10441 lt_save_allow_undefined_flag=$allow_undefined_flag
10442 allow_undefined_flag=
10443 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10444 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); }
10449 archive_cmds_need_lc=no
10451 archive_cmds_need_lc=yes
10453 allow_undefined_flag=$lt_save_allow_undefined_flag
10455 cat conftest.err 1>&5
10458 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10459 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10466 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10467 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10468 library_names_spec=
10469 libname_spec='lib$name'
10473 postuninstall_cmds=
10477 shlibpath_overrides_runpath=unknown
10479 dynamic_linker="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10482 if test "$GCC" = yes; then
10484 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10485 *) lt_awk_arg="/^libraries:/" ;;
10487 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10488 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
10489 # if the path contains ";" then we assume it to be the separator
10490 # otherwise default to the standard path separator (i.e. ":") - it is
10491 # assumed that no part of a normal pathname contains ";" but that should
10492 # okay in the real world where ";" in dirpaths is itself problematic.
10493 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10495 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10497 # Ok, now we have the path, separated by spaces, we can step through it
10498 # and add multilib dir if necessary.
10499 lt_tmp_lt_search_path_spec=
10500 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10501 for lt_sys_path in $lt_search_path_spec; do
10502 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10505 test -d "$lt_sys_path" && \
10506 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10509 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
10510 BEGIN {RS=" "; FS="/|\n";} {
10513 for (lt_i = NF; lt_i > 0; lt_i--) {
10514 if ($lt_i != "" && $lt_i != ".") {
10515 if ($lt_i == "..") {
10518 if (lt_count == 0) {
10519 lt_foo="/" $lt_i lt_foo;
10526 if (lt_foo != "") { lt_freq[lt_foo]++; }
10527 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10529 sys_lib_search_path_spec=`echo $lt_search_path_spec`
10531 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10533 need_lib_prefix=unknown
10534 hardcode_into_libs=no
10536 # when you set need_version to no, make sure it does not cause -set_version
10537 # flags to be left without arguments
10538 need_version=unknown
10543 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10544 shlibpath_var=LIBPATH
10546 # AIX 3 has no versioning support, so we append a major version to the name.
10547 soname_spec='${libname}${release}${shared_ext}$major'
10554 hardcode_into_libs=yes
10555 if test "$host_cpu" = ia64; then
10556 # AIX 5 supports IA64
10557 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10558 shlibpath_var=LD_LIBRARY_PATH
10560 # With GCC up to 2.95.x, collect2 would create an import file
10561 # for dependence libraries. The import file would start with
10562 # the line `#! .'. This would cause the generated library to
10563 # depend on `.', always an invalid library. This was fixed in
10564 # development snapshots of GCC prior to 3.0.
10566 aix4 | aix4.[01] | aix4.[01].*)
10567 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10569 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10572 can_build_shared=no
10576 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10577 # soname into executable. Probably we can add versioning support to
10578 # collect2, so additional links can be useful in future.
10579 if test "$aix_use_runtimelinking" = yes; then
10580 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10581 # instead of lib<name>.a to let people know that these are not
10582 # typical AIX shared libraries.
10583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10585 # We preserve .a as extension for shared libraries through AIX4.2
10586 # and later when we are not doing run time linking.
10587 library_names_spec='${libname}${release}.a $libname.a'
10588 soname_spec='${libname}${release}${shared_ext}$major'
10590 shlibpath_var=LIBPATH
10595 library_names_spec='$libname.ixlibrary $libname.a'
10596 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10597 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'
10601 library_names_spec='${libname}${shared_ext}'
10602 dynamic_linker="$host_os ld.so"
10603 shlibpath_var=LIBRARY_PATH
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10612 shlibpath_var=LD_LIBRARY_PATH
10613 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10614 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10615 # the default ld.so.conf also contains /usr/contrib/lib and
10616 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10617 # libtool to hard-code these into programs
10620 cygwin* | mingw* | pw32*)
10621 version_type=windows
10626 case $GCC,$host_os in
10627 yes,cygwin* | yes,mingw* | yes,pw32*)
10628 library_names_spec='$libname.dll.a'
10629 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10630 postinstall_cmds='base_file=`basename \${file}`~
10631 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10632 dldir=$destdir/`dirname \$dlpath`~
10633 test -d \$dldir || mkdir -p \$dldir~
10634 $install_prog $dir/$dlname \$dldir/$dlname~
10635 chmod a+x \$dldir/$dlname'
10636 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10637 dlpath=$dir/\$dldll~
10639 shlibpath_overrides_runpath=yes
10643 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10644 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10645 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10648 # MinGW DLLs use traditional 'lib' prefix
10649 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10650 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10651 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10652 # It is most probably a Windows format PATH printed by
10653 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10654 # path with ; separators, and with drive letters. We can handle the
10655 # drive letters (cygwin fileutils understands them), so leave them,
10656 # especially as we might pass files found there to a mingw objdump,
10657 # which wouldn't understand a cygwinified path. Ahh.
10658 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10660 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10664 # pw32 DLLs use 'pw' prefix rather than 'lib'
10665 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10671 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10674 dynamic_linker='Win32 ld.exe'
10675 # FIXME: first we should search . and the directory the executable is in
10679 darwin* | rhapsody*)
10680 dynamic_linker="$host_os dyld"
10681 version_type=darwin
10684 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10685 soname_spec='${libname}${release}${major}$shared_ext'
10686 shlibpath_overrides_runpath=yes
10687 shlibpath_var=DYLD_LIBRARY_PATH
10688 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10690 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10691 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LD_LIBRARY_PATH
10707 freebsd* | dragonfly*)
10708 # DragonFly does not have aout. When/if they implement a new
10709 # versioning mechanism, adjust this.
10710 if test -x /usr/bin/objformat; then
10711 objformat=`/usr/bin/objformat`
10714 freebsd[123]*) objformat=aout ;;
10715 *) objformat=elf ;;
10718 # Handle Gentoo/FreeBSD as it was Linux
10719 case $host_vendor in
10721 version_type=linux ;;
10723 version_type=freebsd-$objformat ;;
10726 case $version_type in
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10738 soname_spec='${libname}${release}${shared_ext}$major'
10743 shlibpath_var=LD_LIBRARY_PATH
10746 shlibpath_overrides_runpath=yes
10748 freebsd3.[01]* | freebsdelf3.[01]*)
10749 shlibpath_overrides_runpath=yes
10750 hardcode_into_libs=yes
10752 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10753 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10754 shlibpath_overrides_runpath=no
10755 hardcode_into_libs=yes
10757 *) # from 4.6 on, and DragonFly
10758 shlibpath_overrides_runpath=yes
10759 hardcode_into_libs=yes
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 hardcode_into_libs=yes
10774 hpux9* | hpux10* | hpux11*)
10775 # Give a soname corresponding to the major version so that dld.sl refuses to
10776 # link against other versions.
10783 hardcode_into_libs=yes
10784 dynamic_linker="$host_os dld.so"
10785 shlibpath_var=LD_LIBRARY_PATH
10786 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10788 soname_spec='${libname}${release}${shared_ext}$major'
10789 if test "X$HPUX_IA64_MODE" = X32; then
10790 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10792 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10794 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10798 hardcode_into_libs=yes
10799 dynamic_linker="$host_os dld.sl"
10800 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10801 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10805 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10809 dynamic_linker="$host_os dld.sl"
10810 shlibpath_var=SHLIB_PATH
10811 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813 soname_spec='${libname}${release}${shared_ext}$major'
10816 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10817 postinstall_cmds='chmod 555 $lib'
10824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10825 soname_spec='${libname}${release}${shared_ext}$major'
10826 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10827 shlibpath_var=LD_LIBRARY_PATH
10828 shlibpath_overrides_runpath=no
10829 hardcode_into_libs=yes
10832 irix5* | irix6* | nonstopux*)
10834 nonstopux*) version_type=nonstopux ;;
10836 if test "$lt_cv_prog_gnu_ld" = yes; then
10844 soname_spec='${libname}${release}${shared_ext}$major'
10845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10847 irix5* | nonstopux*)
10848 libsuff= shlibsuff=
10851 case $LD in # libtool.m4 will add one of these switches to LD
10852 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10853 libsuff= shlibsuff= libmagic=32-bit;;
10854 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10855 libsuff=32 shlibsuff=N32 libmagic=N32;;
10856 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10857 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10858 *) libsuff= shlibsuff= libmagic=never-match;;
10862 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10863 shlibpath_overrides_runpath=no
10864 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10865 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10866 hardcode_into_libs=yes
10869 # No shared lib support for Linux oldld, aout, or coff.
10870 linux*oldld* | linux*aout* | linux*coff*)
10874 # This must be Linux ELF.
10875 linux* | k*bsd*-gnu)
10879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10880 soname_spec='${libname}${release}${shared_ext}$major'
10881 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10882 shlibpath_var=LD_LIBRARY_PATH
10883 shlibpath_overrides_runpath=no
10884 # This implies no fast_install, which is unacceptable.
10885 # Some rework will be needed to allow for fast_install
10886 # before this can be enabled.
10887 hardcode_into_libs=yes
10889 # Append ld.so.conf contents to the search path
10890 if test -f /etc/ld.so.conf; then
10891 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' ' '`
10892 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10895 # We used to test for /lib/ld.so.1 and disable shared libraries on
10896 # powerpc, because MkLinux only supported shared libraries with the
10897 # GNU dynamic linker. Since this was broken with cross compilers,
10898 # most powerpc-linux boxes support dynamic linking these days and
10899 # people can always --disable-shared, the test was removed, and we
10900 # assume the GNU/Linux dynamic linker is in use.
10901 dynamic_linker='GNU/Linux ld.so'
10908 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10910 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10911 dynamic_linker='NetBSD (a.out) ld.so'
10913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10914 soname_spec='${libname}${release}${shared_ext}$major'
10915 dynamic_linker='NetBSD ld.elf_so'
10917 shlibpath_var=LD_LIBRARY_PATH
10918 shlibpath_overrides_runpath=yes
10919 hardcode_into_libs=yes
10924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10925 shlibpath_var=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath=yes
10933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10934 soname_spec='${libname}${release}${shared_ext}$major'
10935 shlibpath_var=LD_LIBRARY_PATH
10936 shlibpath_overrides_runpath=yes
10941 sys_lib_dlsearch_path_spec="/usr/lib"
10943 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10945 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10946 *) need_version=no ;;
10948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10949 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10953 openbsd2.[89] | openbsd2.[89].*)
10954 shlibpath_overrides_runpath=no
10957 shlibpath_overrides_runpath=yes
10961 shlibpath_overrides_runpath=yes
10966 libname_spec='$name'
10969 library_names_spec='$libname${shared_ext} $libname.a'
10970 dynamic_linker='OS/2 ld.exe'
10971 shlibpath_var=LIBPATH
10974 osf3* | osf4* | osf5*)
10978 soname_spec='${libname}${release}${shared_ext}$major'
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10982 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994 soname_spec='${libname}${release}${shared_ext}$major'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 shlibpath_overrides_runpath=yes
10997 hardcode_into_libs=yes
10998 # ldd complains unless libraries are executable
10999 postinstall_cmds='chmod +x $lib'
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11005 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11006 shlibpath_var=LD_LIBRARY_PATH
11007 shlibpath_overrides_runpath=yes
11008 if test "$with_gnu_ld" = yes; then
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017 soname_spec='${libname}${release}${shared_ext}$major'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 case $host_vendor in
11021 shlibpath_overrides_runpath=no
11023 export_dynamic_flag_spec='${wl}-Blargedynsym'
11024 runpath_var=LD_RUN_PATH
11032 shlibpath_overrides_runpath=no
11033 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11039 if test -d /usr/nec ;then
11041 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11042 soname_spec='$libname${shared_ext}.$major'
11043 shlibpath_var=LD_LIBRARY_PATH
11047 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11048 version_type=freebsd-elf
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11052 soname_spec='${libname}${release}${shared_ext}$major'
11053 shlibpath_var=LD_LIBRARY_PATH
11054 hardcode_into_libs=yes
11055 if test "$with_gnu_ld" = yes; then
11056 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11057 shlibpath_overrides_runpath=no
11059 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11060 shlibpath_overrides_runpath=yes
11063 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11067 sys_lib_dlsearch_path_spec='/usr/lib'
11072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11073 soname_spec='${libname}${release}${shared_ext}$major'
11074 shlibpath_var=LD_LIBRARY_PATH
11081 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11082 echo "${ECHO_T}$dynamic_linker" >&6; }
11083 test "$dynamic_linker" = no && can_build_shared=no
11085 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11086 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
11091 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11092 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11093 echo $ECHO_N "(cached) $ECHO_C" >&6
11095 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
11098 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11100 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11101 if test "$GCC" = yes; then
11102 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11105 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11106 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11108 if test -n "$hardcode_libdir_flag_spec" || \
11109 test -n "$runpath_var" || \
11110 test "X$hardcode_automatic" = "Xyes" ; then
11112 # We can hardcode non-existant directories.
11113 if test "$hardcode_direct" != no &&
11114 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11115 # have to relink, otherwise we might link with an installed library
11116 # when we should be linking with a yet-to-be-installed one
11117 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11118 test "$hardcode_minus_L" != no; then
11119 # Linking always hardcodes the temporary library directory.
11120 hardcode_action=relink
11122 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11123 hardcode_action=immediate
11126 # We cannot hardcode anything, or else we can only hardcode existing
11128 hardcode_action=unsupported
11130 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
11131 echo "${ECHO_T}$hardcode_action" >&6; }
11133 if test "$hardcode_action" = relink; then
11134 # Fast installation is not supported
11135 enable_fast_install=no
11136 elif test "$shlibpath_overrides_runpath" = yes ||
11137 test "$enable_shared" = no; then
11138 # Fast installation is not necessary
11139 enable_fast_install=needless
11144 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11145 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11146 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11147 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11148 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11149 { echo "$as_me:$LINENO: result: yes" >&5
11150 echo "${ECHO_T}yes" >&6; }
11152 # FIXME - insert some real tests, host_os isn't really good enough
11155 if test -n "$STRIP" ; then
11156 striplib="$STRIP -x"
11157 old_striplib="$STRIP -S"
11158 { echo "$as_me:$LINENO: result: yes" >&5
11159 echo "${ECHO_T}yes" >&6; }
11161 { echo "$as_me:$LINENO: result: no" >&5
11162 echo "${ECHO_T}no" >&6; }
11166 { echo "$as_me:$LINENO: result: no" >&5
11167 echo "${ECHO_T}no" >&6; }
11172 if test "x$enable_dlopen" != xyes; then
11173 enable_dlopen=unknown
11174 enable_dlopen_self=unknown
11175 enable_dlopen_self_static=unknown
11182 lt_cv_dlopen="load_add_on"
11184 lt_cv_dlopen_self=yes
11188 lt_cv_dlopen="LoadLibrary"
11193 lt_cv_dlopen="dlopen"
11198 # if libdl is installed we need to link against it
11199 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11200 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11201 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11202 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 ac_check_lib_save_LIBS=$LIBS
11206 cat >conftest.$ac_ext <<_ACEOF
11209 cat confdefs.h >>conftest.$ac_ext
11210 cat >>conftest.$ac_ext <<_ACEOF
11211 /* end confdefs.h. */
11213 /* Override any GCC internal prototype to avoid an error.
11214 Use char because int might match the return type of a GCC
11215 builtin and then its argument prototype would still apply. */
11228 rm -f conftest.$ac_objext conftest$ac_exeext
11229 if { (ac_try="$ac_link"
11230 case "(($ac_try" in
11231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11232 *) ac_try_echo=$ac_try;;
11234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11235 (eval "$ac_link") 2>conftest.er1
11237 grep -v '^ *+' conftest.er1 >conftest.err
11239 cat conftest.err >&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } && {
11242 test -z "$ac_c_werror_flag" ||
11243 test ! -s conftest.err
11244 } && test -s conftest$ac_exeext &&
11245 $as_test_x conftest$ac_exeext; then
11246 ac_cv_lib_dl_dlopen=yes
11248 echo "$as_me: failed program was:" >&5
11249 sed 's/^/| /' conftest.$ac_ext >&5
11251 ac_cv_lib_dl_dlopen=no
11254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11255 conftest$ac_exeext conftest.$ac_ext
11256 LIBS=$ac_check_lib_save_LIBS
11258 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11259 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11260 if test $ac_cv_lib_dl_dlopen = yes; then
11261 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11264 lt_cv_dlopen="dyld"
11266 lt_cv_dlopen_self=yes
11273 { echo "$as_me:$LINENO: checking for shl_load" >&5
11274 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11275 if test "${ac_cv_func_shl_load+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 cat >conftest.$ac_ext <<_ACEOF
11281 cat confdefs.h >>conftest.$ac_ext
11282 cat >>conftest.$ac_ext <<_ACEOF
11283 /* end confdefs.h. */
11284 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11286 #define shl_load innocuous_shl_load
11288 /* System header to define __stub macros and hopefully few prototypes,
11289 which can conflict with char shl_load (); below.
11290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11291 <limits.h> exists even on freestanding compilers. */
11294 # include <limits.h>
11296 # include <assert.h>
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11308 /* The GNU C library defines this for functions which it implements
11309 to always fail with ENOSYS. Some functions are actually named
11310 something starting with __ and the normal name is an alias. */
11311 #if defined __stub_shl_load || defined __stub___shl_load
11318 return shl_load ();
11323 rm -f conftest.$ac_objext conftest$ac_exeext
11324 if { (ac_try="$ac_link"
11325 case "(($ac_try" in
11326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11327 *) ac_try_echo=$ac_try;;
11329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11330 (eval "$ac_link") 2>conftest.er1
11332 grep -v '^ *+' conftest.er1 >conftest.err
11334 cat conftest.err >&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } && {
11337 test -z "$ac_c_werror_flag" ||
11338 test ! -s conftest.err
11339 } && test -s conftest$ac_exeext &&
11340 $as_test_x conftest$ac_exeext; then
11341 ac_cv_func_shl_load=yes
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.$ac_ext >&5
11346 ac_cv_func_shl_load=no
11349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11350 conftest$ac_exeext conftest.$ac_ext
11352 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11353 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11354 if test $ac_cv_func_shl_load = yes; then
11355 lt_cv_dlopen="shl_load"
11357 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11358 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11359 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11360 echo $ECHO_N "(cached) $ECHO_C" >&6
11362 ac_check_lib_save_LIBS=$LIBS
11364 cat >conftest.$ac_ext <<_ACEOF
11367 cat confdefs.h >>conftest.$ac_ext
11368 cat >>conftest.$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11371 /* Override any GCC internal prototype to avoid an error.
11372 Use char because int might match the return type of a GCC
11373 builtin and then its argument prototype would still apply. */
11381 return shl_load ();
11386 rm -f conftest.$ac_objext conftest$ac_exeext
11387 if { (ac_try="$ac_link"
11388 case "(($ac_try" in
11389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11390 *) ac_try_echo=$ac_try;;
11392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11393 (eval "$ac_link") 2>conftest.er1
11395 grep -v '^ *+' conftest.er1 >conftest.err
11397 cat conftest.err >&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } && {
11400 test -z "$ac_c_werror_flag" ||
11401 test ! -s conftest.err
11402 } && test -s conftest$ac_exeext &&
11403 $as_test_x conftest$ac_exeext; then
11404 ac_cv_lib_dld_shl_load=yes
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.$ac_ext >&5
11409 ac_cv_lib_dld_shl_load=no
11412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
11416 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11417 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11418 if test $ac_cv_lib_dld_shl_load = yes; then
11419 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11421 { echo "$as_me:$LINENO: checking for dlopen" >&5
11422 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11423 if test "${ac_cv_func_dlopen+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 cat >conftest.$ac_ext <<_ACEOF
11429 cat confdefs.h >>conftest.$ac_ext
11430 cat >>conftest.$ac_ext <<_ACEOF
11431 /* end confdefs.h. */
11432 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11434 #define dlopen innocuous_dlopen
11436 /* System header to define __stub macros and hopefully few prototypes,
11437 which can conflict with char dlopen (); below.
11438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11439 <limits.h> exists even on freestanding compilers. */
11442 # include <limits.h>
11444 # include <assert.h>
11449 /* Override any GCC internal prototype to avoid an error.
11450 Use char because int might match the return type of a GCC
11451 builtin and then its argument prototype would still apply. */
11456 /* The GNU C library defines this for functions which it implements
11457 to always fail with ENOSYS. Some functions are actually named
11458 something starting with __ and the normal name is an alias. */
11459 #if defined __stub_dlopen || defined __stub___dlopen
11471 rm -f conftest.$ac_objext conftest$ac_exeext
11472 if { (ac_try="$ac_link"
11473 case "(($ac_try" in
11474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11475 *) ac_try_echo=$ac_try;;
11477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11478 (eval "$ac_link") 2>conftest.er1
11480 grep -v '^ *+' conftest.er1 >conftest.err
11482 cat conftest.err >&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } && {
11485 test -z "$ac_c_werror_flag" ||
11486 test ! -s conftest.err
11487 } && test -s conftest$ac_exeext &&
11488 $as_test_x conftest$ac_exeext; then
11489 ac_cv_func_dlopen=yes
11491 echo "$as_me: failed program was:" >&5
11492 sed 's/^/| /' conftest.$ac_ext >&5
11494 ac_cv_func_dlopen=no
11497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11498 conftest$ac_exeext conftest.$ac_ext
11500 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11501 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11502 if test $ac_cv_func_dlopen = yes; then
11503 lt_cv_dlopen="dlopen"
11505 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11506 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11507 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11508 echo $ECHO_N "(cached) $ECHO_C" >&6
11510 ac_check_lib_save_LIBS=$LIBS
11512 cat >conftest.$ac_ext <<_ACEOF
11515 cat confdefs.h >>conftest.$ac_ext
11516 cat >>conftest.$ac_ext <<_ACEOF
11517 /* end confdefs.h. */
11519 /* Override any GCC internal prototype to avoid an error.
11520 Use char because int might match the return type of a GCC
11521 builtin and then its argument prototype would still apply. */
11534 rm -f conftest.$ac_objext conftest$ac_exeext
11535 if { (ac_try="$ac_link"
11536 case "(($ac_try" in
11537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11538 *) ac_try_echo=$ac_try;;
11540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11541 (eval "$ac_link") 2>conftest.er1
11543 grep -v '^ *+' conftest.er1 >conftest.err
11545 cat conftest.err >&5
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); } && {
11548 test -z "$ac_c_werror_flag" ||
11549 test ! -s conftest.err
11550 } && test -s conftest$ac_exeext &&
11551 $as_test_x conftest$ac_exeext; then
11552 ac_cv_lib_dl_dlopen=yes
11554 echo "$as_me: failed program was:" >&5
11555 sed 's/^/| /' conftest.$ac_ext >&5
11557 ac_cv_lib_dl_dlopen=no
11560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11561 conftest$ac_exeext conftest.$ac_ext
11562 LIBS=$ac_check_lib_save_LIBS
11564 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11565 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11566 if test $ac_cv_lib_dl_dlopen = yes; then
11567 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11569 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11570 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11571 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11574 ac_check_lib_save_LIBS=$LIBS
11575 LIBS="-lsvld $LIBS"
11576 cat >conftest.$ac_ext <<_ACEOF
11579 cat confdefs.h >>conftest.$ac_ext
11580 cat >>conftest.$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11598 rm -f conftest.$ac_objext conftest$ac_exeext
11599 if { (ac_try="$ac_link"
11600 case "(($ac_try" in
11601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11602 *) ac_try_echo=$ac_try;;
11604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11605 (eval "$ac_link") 2>conftest.er1
11607 grep -v '^ *+' conftest.er1 >conftest.err
11609 cat conftest.err >&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); } && {
11612 test -z "$ac_c_werror_flag" ||
11613 test ! -s conftest.err
11614 } && test -s conftest$ac_exeext &&
11615 $as_test_x conftest$ac_exeext; then
11616 ac_cv_lib_svld_dlopen=yes
11618 echo "$as_me: failed program was:" >&5
11619 sed 's/^/| /' conftest.$ac_ext >&5
11621 ac_cv_lib_svld_dlopen=no
11624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11625 conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_lib_save_LIBS
11628 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11629 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11630 if test $ac_cv_lib_svld_dlopen = yes; then
11631 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11633 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11634 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11635 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11636 echo $ECHO_N "(cached) $ECHO_C" >&6
11638 ac_check_lib_save_LIBS=$LIBS
11640 cat >conftest.$ac_ext <<_ACEOF
11643 cat confdefs.h >>conftest.$ac_ext
11644 cat >>conftest.$ac_ext <<_ACEOF
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11657 return dld_link ();
11662 rm -f conftest.$ac_objext conftest$ac_exeext
11663 if { (ac_try="$ac_link"
11664 case "(($ac_try" in
11665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11666 *) ac_try_echo=$ac_try;;
11668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11669 (eval "$ac_link") 2>conftest.er1
11671 grep -v '^ *+' conftest.er1 >conftest.err
11673 cat conftest.err >&5
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); } && {
11676 test -z "$ac_c_werror_flag" ||
11677 test ! -s conftest.err
11678 } && test -s conftest$ac_exeext &&
11679 $as_test_x conftest$ac_exeext; then
11680 ac_cv_lib_dld_dld_link=yes
11682 echo "$as_me: failed program was:" >&5
11683 sed 's/^/| /' conftest.$ac_ext >&5
11685 ac_cv_lib_dld_dld_link=no
11688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11689 conftest$ac_exeext conftest.$ac_ext
11690 LIBS=$ac_check_lib_save_LIBS
11692 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11693 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11694 if test $ac_cv_lib_dld_dld_link = yes; then
11695 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11716 if test "x$lt_cv_dlopen" != xno; then
11722 case $lt_cv_dlopen in
11724 save_CPPFLAGS="$CPPFLAGS"
11725 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11727 save_LDFLAGS="$LDFLAGS"
11728 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11731 LIBS="$lt_cv_dlopen_libs $LIBS"
11733 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11734 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11735 if test "${lt_cv_dlopen_self+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11738 if test "$cross_compiling" = yes; then :
11739 lt_cv_dlopen_self=cross
11741 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11742 lt_status=$lt_dlunknown
11743 cat > conftest.$ac_ext <<EOF
11744 #line 11744 "configure"
11745 #include "confdefs.h"
11754 # define LT_DLGLOBAL RTLD_GLOBAL
11757 # define LT_DLGLOBAL DL_GLOBAL
11759 # define LT_DLGLOBAL 0
11763 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11764 find out it does not work in some platform. */
11765 #ifndef LT_DLLAZY_OR_NOW
11767 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11770 # define LT_DLLAZY_OR_NOW DL_LAZY
11773 # define LT_DLLAZY_OR_NOW RTLD_NOW
11776 # define LT_DLLAZY_OR_NOW DL_NOW
11778 # define LT_DLLAZY_OR_NOW 0
11786 extern "C" void exit (int);
11789 void fnord() { int i=42;}
11792 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11793 int status = $lt_dlunknown;
11797 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11798 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11799 /* dlclose (self); */
11807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11808 (eval $ac_link) 2>&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11812 (./conftest; exit; ) >&5 2>/dev/null
11814 case x$lt_status in
11815 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11816 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11817 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11820 # compilation failed
11821 lt_cv_dlopen_self=no
11828 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11829 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11831 if test "x$lt_cv_dlopen_self" = xyes; then
11832 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11833 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11834 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11835 if test "${lt_cv_dlopen_self_static+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 if test "$cross_compiling" = yes; then :
11839 lt_cv_dlopen_self_static=cross
11841 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11842 lt_status=$lt_dlunknown
11843 cat > conftest.$ac_ext <<EOF
11844 #line 11844 "configure"
11845 #include "confdefs.h"
11854 # define LT_DLGLOBAL RTLD_GLOBAL
11857 # define LT_DLGLOBAL DL_GLOBAL
11859 # define LT_DLGLOBAL 0
11863 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11864 find out it does not work in some platform. */
11865 #ifndef LT_DLLAZY_OR_NOW
11867 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11870 # define LT_DLLAZY_OR_NOW DL_LAZY
11873 # define LT_DLLAZY_OR_NOW RTLD_NOW
11876 # define LT_DLLAZY_OR_NOW DL_NOW
11878 # define LT_DLLAZY_OR_NOW 0
11886 extern "C" void exit (int);
11889 void fnord() { int i=42;}
11892 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11893 int status = $lt_dlunknown;
11897 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11898 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11899 /* dlclose (self); */
11907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11908 (eval $ac_link) 2>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11912 (./conftest; exit; ) >&5 2>/dev/null
11914 case x$lt_status in
11915 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11916 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11917 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11920 # compilation failed
11921 lt_cv_dlopen_self_static=no
11928 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11929 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11932 CPPFLAGS="$save_CPPFLAGS"
11933 LDFLAGS="$save_LDFLAGS"
11938 case $lt_cv_dlopen_self in
11939 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11940 *) enable_dlopen_self=unknown ;;
11943 case $lt_cv_dlopen_self_static in
11944 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11945 *) enable_dlopen_self_static=unknown ;;
11950 # Report which library types will actually be built
11951 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11952 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11953 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11954 echo "${ECHO_T}$can_build_shared" >&6; }
11956 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11957 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11958 test "$can_build_shared" = "no" && enable_shared=no
11960 # On AIX, shared libraries and static libraries use the same namespace, and
11961 # are all built from PIC.
11964 test "$enable_shared" = yes && enable_static=no
11965 if test -n "$RANLIB"; then
11966 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11967 postinstall_cmds='$RANLIB $lib'
11972 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11973 test "$enable_shared" = yes && enable_static=no
11977 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11978 echo "${ECHO_T}$enable_shared" >&6; }
11980 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11981 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11982 # Make sure either enable_shared or enable_static is yes.
11983 test "$enable_shared" = yes || enable_static=yes
11984 { echo "$as_me:$LINENO: result: $enable_static" >&5
11985 echo "${ECHO_T}$enable_static" >&6; }
11987 # The else clause should only fire when bootstrapping the
11988 # libtool distribution, otherwise you forgot to ship ltmain.sh
11989 # with your package, and you will get complaints that there are
11990 # no rules to generate ltmain.sh.
11991 if test -f "$ltmain"; then
11992 # See if we are running on zsh, and set the options which allow our commands through
11993 # without removal of \ escapes.
11994 if test -n "${ZSH_VERSION+set}" ; then
11995 setopt NO_GLOB_SUBST
11997 # Now quote all the things that may contain metacharacters while being
11998 # careful not to overquote the AC_SUBSTed values. We take copies of the
11999 # variables and quote the copies for generation of the libtool script.
12000 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12002 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12003 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12004 deplibs_check_method reload_flag reload_cmds need_locks \
12005 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12006 lt_cv_sys_global_symbol_to_c_name_address \
12007 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12008 old_postinstall_cmds old_postuninstall_cmds \
12012 lt_prog_compiler_wl \
12013 lt_prog_compiler_pic \
12014 lt_prog_compiler_static \
12015 lt_prog_compiler_no_builtin_flag \
12016 export_dynamic_flag_spec \
12017 thread_safe_flag_spec \
12018 whole_archive_flag_spec \
12019 enable_shared_with_static_runtimes \
12021 old_archive_from_new_cmds \
12026 compiler_lib_search_path \
12027 compiler_lib_search_dirs \
12029 archive_expsym_cmds \
12031 postuninstall_cmds \
12032 old_archive_from_expsyms_cmds \
12033 allow_undefined_flag \
12034 no_undefined_flag \
12035 export_symbols_cmds \
12036 hardcode_libdir_flag_spec \
12037 hardcode_libdir_flag_spec_ld \
12038 hardcode_libdir_separator \
12039 hardcode_automatic \
12041 module_expsym_cmds \
12042 lt_cv_prog_compiler_c_o \
12045 include_expsyms; do
12048 old_archive_cmds | \
12049 old_archive_from_new_cmds | \
12051 archive_expsym_cmds | \
12053 module_expsym_cmds | \
12054 old_archive_from_expsyms_cmds | \
12055 export_symbols_cmds | \
12056 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12057 postinstall_cmds | postuninstall_cmds | \
12058 old_postinstall_cmds | old_postuninstall_cmds | \
12059 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12060 # Double-quote double-evaled strings.
12061 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12064 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12070 *'\$0 --fallback-echo"')
12071 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12075 cfgfile="${ofile}T"
12076 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12078 { echo "$as_me:$LINENO: creating $ofile" >&5
12079 echo "$as_me: creating $ofile" >&6;}
12081 cat <<__EOF__ >> "$cfgfile"
12084 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12085 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12086 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12088 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
12089 # Free Software Foundation, Inc.
12091 # This file is part of GNU Libtool:
12092 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12094 # This program is free software; you can redistribute it and/or modify
12095 # it under the terms of the GNU General Public License as published by
12096 # the Free Software Foundation; either version 2 of the License, or
12097 # (at your option) any later version.
12099 # This program is distributed in the hope that it will be useful, but
12100 # WITHOUT ANY WARRANTY; without even the implied warranty of
12101 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12102 # General Public License for more details.
12104 # You should have received a copy of the GNU General Public License
12105 # along with this program; if not, write to the Free Software
12106 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12108 # As a special exception to the GNU General Public License, if you
12109 # distribute this file as part of a program that contains a
12110 # configuration script generated by Autoconf, you may include it under
12111 # the same distribution terms that you use for the rest of that program.
12113 # A sed program that does not truncate output.
12116 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12117 Xsed="$SED -e 1s/^X//"
12119 # The HP-UX ksh and POSIX shell print the target directory to stdout
12120 # if CDPATH is set.
12121 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12123 # The names of the tagged configurations supported by this script.
12126 # ### BEGIN LIBTOOL CONFIG
12128 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12130 # Shell to use when invoking shell scripts.
12133 # Whether or not to build shared libraries.
12134 build_libtool_libs=$enable_shared
12136 # Whether or not to build static libraries.
12137 build_old_libs=$enable_static
12139 # Whether or not to add -lc for building shared libraries.
12140 build_libtool_need_lc=$archive_cmds_need_lc
12142 # Whether or not to disallow shared libs when runtime libs are static
12143 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12145 # Whether or not to optimize for fast installation.
12146 fast_install=$enable_fast_install
12149 host_alias=$host_alias
12153 # The build system.
12154 build_alias=$build_alias
12158 # An echo program that does not interpret backslashes.
12163 AR_FLAGS=$lt_AR_FLAGS
12168 # LTCC compiler flags.
12169 LTCFLAGS=$lt_LTCFLAGS
12171 # A language-specific compiler.
12174 # Is the compiler the GNU C compiler?
12180 # The linker used to build libraries.
12183 # Whether we need hard or soft links.
12186 # A BSD-compatible nm program.
12189 # A symbol stripping program
12192 # Used to examine libraries when file_magic_cmd begins "file"
12193 MAGIC_CMD=$MAGIC_CMD
12195 # Used on cygwin: DLL creation program.
12198 # Used on cygwin: object dumper.
12201 # Used on cygwin: assembler.
12204 # The name of the directory that contains temporary libtool files.
12207 # How to create reloadable object files.
12208 reload_flag=$lt_reload_flag
12209 reload_cmds=$lt_reload_cmds
12211 # How to pass a linker flag through the compiler.
12212 wl=$lt_lt_prog_compiler_wl
12214 # Object file suffix (normally "o").
12215 objext="$ac_objext"
12217 # Old archive suffix (normally "a").
12220 # Shared library suffix (normally ".so").
12221 shrext_cmds='$shrext_cmds'
12223 # Executable file suffix (normally "").
12226 # Additional compiler flags for building library objects.
12227 pic_flag=$lt_lt_prog_compiler_pic
12230 # What is the maximum length of a command?
12231 max_cmd_len=$lt_cv_sys_max_cmd_len
12233 # Does compiler simultaneously support -c and -o options?
12234 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12236 # Must we lock files when doing compilation?
12237 need_locks=$lt_need_locks
12239 # Do we need the lib prefix for modules?
12240 need_lib_prefix=$need_lib_prefix
12242 # Do we need a version for libraries?
12243 need_version=$need_version
12245 # Whether dlopen is supported.
12246 dlopen_support=$enable_dlopen
12248 # Whether dlopen of programs is supported.
12249 dlopen_self=$enable_dlopen_self
12251 # Whether dlopen of statically linked programs is supported.
12252 dlopen_self_static=$enable_dlopen_self_static
12254 # Compiler flag to prevent dynamic linking.
12255 link_static_flag=$lt_lt_prog_compiler_static
12257 # Compiler flag to turn off builtin functions.
12258 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12260 # Compiler flag to allow reflexive dlopens.
12261 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12263 # Compiler flag to generate shared objects directly from archives.
12264 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12266 # Compiler flag to generate thread-safe objects.
12267 thread_safe_flag_spec=$lt_thread_safe_flag_spec
12269 # Library versioning type.
12270 version_type=$version_type
12272 # Format of library name prefix.
12273 libname_spec=$lt_libname_spec
12275 # List of archive names. First name is the real one, the rest are links.
12276 # The last name is the one that the linker finds with -lNAME.
12277 library_names_spec=$lt_library_names_spec
12279 # The coded name of the library, if different from the real name.
12280 soname_spec=$lt_soname_spec
12282 # Commands used to build and install an old-style archive.
12284 old_archive_cmds=$lt_old_archive_cmds
12285 old_postinstall_cmds=$lt_old_postinstall_cmds
12286 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12288 # Create an old-style archive from a shared archive.
12289 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12291 # Create a temporary old-style archive to link instead of a shared archive.
12292 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12294 # Commands used to build and install a shared archive.
12295 archive_cmds=$lt_archive_cmds
12296 archive_expsym_cmds=$lt_archive_expsym_cmds
12297 postinstall_cmds=$lt_postinstall_cmds
12298 postuninstall_cmds=$lt_postuninstall_cmds
12300 # Commands used to build a loadable module (assumed same as above if empty)
12301 module_cmds=$lt_module_cmds
12302 module_expsym_cmds=$lt_module_expsym_cmds
12304 # Commands to strip libraries.
12305 old_striplib=$lt_old_striplib
12306 striplib=$lt_striplib
12308 # Dependencies to place before the objects being linked to create a
12310 predep_objects=$lt_predep_objects
12312 # Dependencies to place after the objects being linked to create a
12314 postdep_objects=$lt_postdep_objects
12316 # Dependencies to place before the objects being linked to create a
12318 predeps=$lt_predeps
12320 # Dependencies to place after the objects being linked to create a
12322 postdeps=$lt_postdeps
12324 # The directories searched by this compiler when creating a shared
12326 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
12328 # The library search path used internally by the compiler when linking
12329 # a shared library.
12330 compiler_lib_search_path=$lt_compiler_lib_search_path
12332 # Method to check whether dependent libraries are shared objects.
12333 deplibs_check_method=$lt_deplibs_check_method
12335 # Command to use when deplibs_check_method == file_magic.
12336 file_magic_cmd=$lt_file_magic_cmd
12338 # Flag that allows shared libraries with undefined symbols to be built.
12339 allow_undefined_flag=$lt_allow_undefined_flag
12341 # Flag that forces no undefined symbols.
12342 no_undefined_flag=$lt_no_undefined_flag
12344 # Commands used to finish a libtool library installation in a directory.
12345 finish_cmds=$lt_finish_cmds
12347 # Same as above, but a single script fragment to be evaled but not shown.
12348 finish_eval=$lt_finish_eval
12350 # Take the output of nm and produce a listing of raw symbols and C names.
12351 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12353 # Transform the output of nm in a proper C declaration
12354 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12356 # Transform the output of nm in a C name address pair
12357 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12359 # This is the shared library runtime path variable.
12360 runpath_var=$runpath_var
12362 # This is the shared library path variable.
12363 shlibpath_var=$shlibpath_var
12365 # Is shlibpath searched before the hard-coded library search path?
12366 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12368 # How to hardcode a shared library path into an executable.
12369 hardcode_action=$hardcode_action
12371 # Whether we should hardcode library paths into libraries.
12372 hardcode_into_libs=$hardcode_into_libs
12374 # Flag to hardcode \$libdir into a binary during linking.
12375 # This must work even if \$libdir does not exist.
12376 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12378 # If ld is used when linking, flag to hardcode \$libdir into
12379 # a binary during linking. This must work even if \$libdir does
12381 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12383 # Whether we need a single -rpath flag with a separated argument.
12384 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12386 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12387 # resulting binary.
12388 hardcode_direct=$hardcode_direct
12390 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12391 # resulting binary.
12392 hardcode_minus_L=$hardcode_minus_L
12394 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12395 # the resulting binary.
12396 hardcode_shlibpath_var=$hardcode_shlibpath_var
12398 # Set to yes if building a shared library automatically hardcodes DIR into the library
12399 # and all subsequent libraries and executables linked against it.
12400 hardcode_automatic=$hardcode_automatic
12402 # Variables whose values should be saved in libtool wrapper scripts and
12403 # restored at relink time.
12404 variables_saved_for_relink="$variables_saved_for_relink"
12406 # Whether libtool must link a program against all its dependency libraries.
12407 link_all_deplibs=$link_all_deplibs
12409 # Compile-time system search path for libraries
12410 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12412 # Run-time system search path for libraries
12413 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12415 # Fix the shell variable \$srcfile for the compiler.
12416 fix_srcfile_path=$lt_fix_srcfile_path
12418 # Set to yes if exported symbols are required.
12419 always_export_symbols=$always_export_symbols
12421 # The commands to list exported symbols.
12422 export_symbols_cmds=$lt_export_symbols_cmds
12424 # The commands to extract the exported symbol list from a shared archive.
12425 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12427 # Symbols that should not be listed in the preloaded symbols.
12428 exclude_expsyms=$lt_exclude_expsyms
12430 # Symbols that must always be exported.
12431 include_expsyms=$lt_include_expsyms
12433 # ### END LIBTOOL CONFIG
12440 cat <<\EOF >> "$cfgfile"
12442 # AIX sometimes has problems with the GCC collect2 program. For some
12443 # reason, if we set the COLLECT_NAMES environment variable, the problems
12444 # vanish in a puff of smoke.
12445 if test "X${COLLECT_NAMES+set}" != Xset; then
12447 export COLLECT_NAMES
12453 # We use sed instead of cat because bash on DJGPP gets confused if
12454 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12455 # text mode, it properly converts lines to CR/LF. This bash problem
12456 # is reportedly fixed, but why not run on old versions too?
12457 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12459 mv -f "$cfgfile" "$ofile" || \
12460 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12464 # If there is no Makefile yet, we rely on a make rule to execute
12465 # `config.status --recheck' to rerun these tests and create the
12466 # libtool script then.
12467 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12468 if test -f "$ltmain_in"; then
12469 test -f Makefile && make "$ltmain"
12475 ac_cpp='$CPP $CPPFLAGS'
12476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12483 # Check whether --with-tags was given.
12484 if test "${with_tags+set}" = set; then
12485 withval=$with_tags; tagnames="$withval"
12489 if test -f "$ltmain" && test -n "$tagnames"; then
12490 if test ! -f "${ofile}"; then
12491 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12492 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12495 if test -z "$LTCC"; then
12496 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12497 if test -z "$LTCC"; then
12498 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12499 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12501 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12502 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12505 if test -z "$LTCFLAGS"; then
12506 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
12509 # Extract list of available tagged configurations in $ofile.
12510 # Note that this assumes the entire list is on one line.
12511 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12513 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12514 for tagname in $tagnames; do
12516 # Check whether tagname contains only valid characters
12517 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12519 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12520 echo "$as_me: error: invalid tag name: $tagname" >&2;}
12521 { (exit 1); exit 1; }; }
12525 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12527 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12528 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12529 { (exit 1); exit 1; }; }
12532 # Update the list of available tags.
12533 if test -n "$tagname"; then
12534 echo appending configuration tag \"$tagname\" to $ofile
12538 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12539 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12540 (test "X$CXX" != "Xg++"))) ; then
12542 ac_cpp='$CXXCPP $CPPFLAGS'
12543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12550 archive_cmds_need_lc_CXX=no
12551 allow_undefined_flag_CXX=
12552 always_export_symbols_CXX=no
12553 archive_expsym_cmds_CXX=
12554 export_dynamic_flag_spec_CXX=
12555 hardcode_direct_CXX=no
12556 hardcode_libdir_flag_spec_CXX=
12557 hardcode_libdir_flag_spec_ld_CXX=
12558 hardcode_libdir_separator_CXX=
12559 hardcode_minus_L_CXX=no
12560 hardcode_shlibpath_var_CXX=unsupported
12561 hardcode_automatic_CXX=no
12563 module_expsym_cmds_CXX=
12564 link_all_deplibs_CXX=unknown
12565 old_archive_cmds_CXX=$old_archive_cmds
12566 no_undefined_flag_CXX=
12567 whole_archive_flag_spec_CXX=
12568 enable_shared_with_static_runtimes_CXX=no
12570 # Dependencies to place before and after the object being linked:
12571 predep_objects_CXX=
12572 postdep_objects_CXX=
12575 compiler_lib_search_path_CXX=
12576 compiler_lib_search_dirs_CXX=
12578 # Source file extension for C++ test sources.
12581 # Object file extension for compiled C++ test sources.
12585 # Code to be used in simple compile tests
12586 lt_simple_compile_test_code="int some_variable = 0;"
12588 # Code to be used in simple link tests
12589 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12591 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12593 # If no C compiler was specified, use CC.
12596 # If no C compiler flags were specified, use CFLAGS.
12597 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12599 # Allow CC to be a program name with arguments.
12603 # save warnings/boilerplate of simple test code
12604 ac_outfile=conftest.$ac_objext
12605 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12606 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12607 _lt_compiler_boilerplate=`cat conftest.err`
12610 ac_outfile=conftest.$ac_objext
12611 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12612 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12613 _lt_linker_boilerplate=`cat conftest.err`
12617 # Allow CC to be a program name with arguments.
12622 lt_save_with_gnu_ld=$with_gnu_ld
12623 lt_save_path_LD=$lt_cv_path_LD
12624 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12625 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12627 $as_unset lt_cv_prog_gnu_ld
12629 if test -n "${lt_cv_path_LDCXX+set}"; then
12630 lt_cv_path_LD=$lt_cv_path_LDCXX
12632 $as_unset lt_cv_path_LD
12634 test -z "${LDCXX+set}" || LD=$LDCXX
12638 for cc_temp in $compiler""; do
12640 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12641 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12646 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12649 # We don't want -fno-exception wen compiling C++ code, so set the
12650 # no_builtin_flag separately
12651 if test "$GXX" = yes; then
12652 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12654 lt_prog_compiler_no_builtin_flag_CXX=
12657 if test "$GXX" = yes; then
12658 # Set up default GNU C++ configuration
12661 # Check whether --with-gnu-ld was given.
12662 if test "${with_gnu_ld+set}" = set; then
12663 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12669 if test "$GCC" = yes; then
12670 # Check if gcc -print-prog-name=ld gives a path.
12671 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12672 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12675 # gcc leaves a trailing carriage return which upsets mingw
12676 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12678 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12681 # Accept absolute paths.
12683 re_direlt='/[^/][^/]*/\.\./'
12684 # Canonicalize the pathname of ld
12685 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12686 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12687 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12689 test -z "$LD" && LD="$ac_prog"
12692 # If it fails, then pretend we aren't using GCC.
12696 # If it is relative, then search for the first ld in PATH.
12697 with_gnu_ld=unknown
12700 elif test "$with_gnu_ld" = yes; then
12701 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12702 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12704 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12705 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12707 if test "${lt_cv_path_LD+set}" = set; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12710 if test -z "$LD"; then
12711 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12712 for ac_dir in $PATH; do
12714 test -z "$ac_dir" && ac_dir=.
12715 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12716 lt_cv_path_LD="$ac_dir/$ac_prog"
12717 # Check to see if the program is GNU ld. I'd rather use --version,
12718 # but apparently some variants of GNU ld only accept -v.
12719 # Break only if it was the GNU/non-GNU ld that we prefer.
12720 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12721 *GNU* | *'with BFD'*)
12722 test "$with_gnu_ld" != no && break
12725 test "$with_gnu_ld" != yes && break
12732 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12736 LD="$lt_cv_path_LD"
12737 if test -n "$LD"; then
12738 { echo "$as_me:$LINENO: result: $LD" >&5
12739 echo "${ECHO_T}$LD" >&6; }
12741 { echo "$as_me:$LINENO: result: no" >&5
12742 echo "${ECHO_T}no" >&6; }
12744 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12745 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12746 { (exit 1); exit 1; }; }
12747 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12748 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12749 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12750 echo $ECHO_N "(cached) $ECHO_C" >&6
12752 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12753 case `$LD -v 2>&1 </dev/null` in
12754 *GNU* | *'with BFD'*)
12755 lt_cv_prog_gnu_ld=yes
12758 lt_cv_prog_gnu_ld=no
12762 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12763 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12764 with_gnu_ld=$lt_cv_prog_gnu_ld
12768 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12769 # archiving commands below assume that GNU ld is being used.
12770 if test "$with_gnu_ld" = yes; then
12771 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12772 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'
12774 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12775 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12777 # If archive_cmds runs LD, not CC, wlarc should be empty
12778 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12779 # investigate it a little bit more. (MM)
12782 # ancient GNU ld didn't support --whole-archive et. al.
12783 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12784 grep 'no-whole-archive' > /dev/null; then
12785 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12787 whole_archive_flag_spec_CXX=
12793 # A generic and very simple default shared library creation
12794 # command for GNU C++ for the case where it uses the native
12795 # linker, instead of GNU ld. If possible, this setting should
12796 # overridden to take advantage of the native linker features on
12797 # the platform it is being used on.
12798 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12801 # Commands to make compiler produce verbose output that lists
12802 # what "hidden" libraries, object files and flags are used when
12803 # linking a shared library.
12804 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12812 # PORTME: fill in a description of your system's C++ link characteristics
12813 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12814 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12818 # FIXME: insert proper C++ library support
12822 if test "$host_cpu" = ia64; then
12823 # On IA64, the linker does run time linking by default, so we don't
12824 # have to do anything special.
12825 aix_use_runtimelinking=no
12826 exp_sym_flag='-Bexport'
12829 aix_use_runtimelinking=no
12831 # Test if we are trying to use run time linking or normal
12832 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12833 # need to do runtime linking.
12834 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12835 for ld_flag in $LDFLAGS; do
12838 aix_use_runtimelinking=yes
12846 exp_sym_flag='-bexport'
12847 no_entry_flag='-bnoentry'
12850 # When large executables or shared objects are built, AIX ld can
12851 # have problems creating the table of contents. If linking a library
12852 # or program results in "error TOC overflow" add -mminimal-toc to
12853 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12854 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12856 archive_cmds_CXX=''
12857 hardcode_direct_CXX=yes
12858 hardcode_libdir_separator_CXX=':'
12859 link_all_deplibs_CXX=yes
12861 if test "$GXX" = yes; then
12862 case $host_os in aix4.[012]|aix4.[012].*)
12863 # We only want to do this on AIX 4.2 and lower, the check
12864 # below for broken collect2 doesn't work under 4.3+
12865 collect2name=`${CC} -print-prog-name=collect2`
12866 if test -f "$collect2name" && \
12867 strings "$collect2name" | grep resolve_lib_name >/dev/null
12869 # We have reworked collect2
12872 # We have old collect2
12873 hardcode_direct_CXX=unsupported
12874 # It fails to find uninstalled libraries when the uninstalled
12875 # path is not listed in the libpath. Setting hardcode_minus_L
12876 # to unsupported forces relinking
12877 hardcode_minus_L_CXX=yes
12878 hardcode_libdir_flag_spec_CXX='-L$libdir'
12879 hardcode_libdir_separator_CXX=
12883 shared_flag='-shared'
12884 if test "$aix_use_runtimelinking" = yes; then
12885 shared_flag="$shared_flag "'${wl}-G'
12889 if test "$host_cpu" = ia64; then
12890 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12891 # chokes on -Wl,-G. The following line is correct:
12894 if test "$aix_use_runtimelinking" = yes; then
12895 shared_flag='${wl}-G'
12897 shared_flag='${wl}-bM:SRE'
12902 # It seems that -bexpall does not export symbols beginning with
12903 # underscore (_), so it is better to generate a list of symbols to export.
12904 always_export_symbols_CXX=yes
12905 if test "$aix_use_runtimelinking" = yes; then
12906 # Warning - without using the other runtime loading flags (-brtl),
12907 # -berok will link without error, but may produce a broken library.
12908 allow_undefined_flag_CXX='-berok'
12909 # Determine the default libpath from the value encoded in an empty executable.
12910 cat >conftest.$ac_ext <<_ACEOF
12913 cat confdefs.h >>conftest.$ac_ext
12914 cat >>conftest.$ac_ext <<_ACEOF
12915 /* end confdefs.h. */
12925 rm -f conftest.$ac_objext conftest$ac_exeext
12926 if { (ac_try="$ac_link"
12927 case "(($ac_try" in
12928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12929 *) ac_try_echo=$ac_try;;
12931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12932 (eval "$ac_link") 2>conftest.er1
12934 grep -v '^ *+' conftest.er1 >conftest.err
12936 cat conftest.err >&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } && {
12939 test -z "$ac_cxx_werror_flag" ||
12940 test ! -s conftest.err
12941 } && test -s conftest$ac_exeext &&
12942 $as_test_x conftest$ac_exeext; then
12944 lt_aix_libpath_sed='
12945 /Import File Strings/,/^$/ {
12951 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12952 # Check for a 64-bit object if we didn't find anything.
12953 if test -z "$aix_libpath"; then
12954 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12957 echo "$as_me: failed program was:" >&5
12958 sed 's/^/| /' conftest.$ac_ext >&5
12963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12964 conftest$ac_exeext conftest.$ac_ext
12965 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12967 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12969 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12971 if test "$host_cpu" = ia64; then
12972 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12973 allow_undefined_flag_CXX="-z nodefs"
12974 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"
12976 # Determine the default libpath from the value encoded in an empty executable.
12977 cat >conftest.$ac_ext <<_ACEOF
12980 cat confdefs.h >>conftest.$ac_ext
12981 cat >>conftest.$ac_ext <<_ACEOF
12982 /* end confdefs.h. */
12992 rm -f conftest.$ac_objext conftest$ac_exeext
12993 if { (ac_try="$ac_link"
12994 case "(($ac_try" in
12995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12996 *) ac_try_echo=$ac_try;;
12998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12999 (eval "$ac_link") 2>conftest.er1
13001 grep -v '^ *+' conftest.er1 >conftest.err
13003 cat conftest.err >&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); } && {
13006 test -z "$ac_cxx_werror_flag" ||
13007 test ! -s conftest.err
13008 } && test -s conftest$ac_exeext &&
13009 $as_test_x conftest$ac_exeext; then
13011 lt_aix_libpath_sed='
13012 /Import File Strings/,/^$/ {
13018 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13019 # Check for a 64-bit object if we didn't find anything.
13020 if test -z "$aix_libpath"; then
13021 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13024 echo "$as_me: failed program was:" >&5
13025 sed 's/^/| /' conftest.$ac_ext >&5
13030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13031 conftest$ac_exeext conftest.$ac_ext
13032 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13034 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13035 # Warning - without using the other run time loading flags,
13036 # -berok will link without error, but may produce a broken library.
13037 no_undefined_flag_CXX=' ${wl}-bernotok'
13038 allow_undefined_flag_CXX=' ${wl}-berok'
13039 # Exported symbols can be pulled into shared objects from archives
13040 whole_archive_flag_spec_CXX='$convenience'
13041 archive_cmds_need_lc_CXX=yes
13042 # This is similar to how AIX traditionally builds its shared libraries.
13043 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'
13049 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13050 allow_undefined_flag_CXX=unsupported
13051 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13052 # support --undefined. This deserves some investigation. FIXME
13053 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13060 case $cc_basename in
13062 # FIXME: insert proper C++ library support
13068 cygwin* | mingw* | pw32*)
13069 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13070 # as there is no search path for DLLs.
13071 hardcode_libdir_flag_spec_CXX='-L$libdir'
13072 allow_undefined_flag_CXX=unsupported
13073 always_export_symbols_CXX=no
13074 enable_shared_with_static_runtimes_CXX=yes
13076 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13077 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'
13078 # If the export-symbols file already is a .def file (1st line
13079 # is EXPORTS), use it as is; otherwise, prepend...
13080 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13081 cp $export_symbols $output_objdir/$soname.def;
13083 echo EXPORTS > $output_objdir/$soname.def;
13084 cat $export_symbols >> $output_objdir/$soname.def;
13086 $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'
13091 darwin* | rhapsody*)
13092 archive_cmds_need_lc_CXX=no
13093 hardcode_direct_CXX=no
13094 hardcode_automatic_CXX=yes
13095 hardcode_shlibpath_var_CXX=unsupported
13096 whole_archive_flag_spec_CXX=''
13097 link_all_deplibs_CXX=yes
13098 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13099 if test "$GXX" = yes ; then
13100 output_verbose_link_cmd='echo'
13101 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}"
13102 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13103 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}"
13104 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}"
13105 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13106 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}"
13107 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}"
13110 case $cc_basename in
13112 output_verbose_link_cmd='echo'
13113 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
13114 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13115 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13116 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13117 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13127 case $cc_basename in
13129 # FIXME: insert proper C++ library support
13133 # Green Hills C++ Compiler
13134 # FIXME: insert proper C++ library support
13138 # FIXME: insert proper C++ library support
13144 # C++ shared libraries reported to be fairly broken before switch to ELF
13148 archive_cmds_need_lc_CXX=no
13150 freebsd* | dragonfly*)
13151 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13158 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13159 hardcode_libdir_separator_CXX=:
13160 export_dynamic_flag_spec_CXX='${wl}-E'
13161 hardcode_direct_CXX=yes
13162 hardcode_minus_L_CXX=yes # Not in the search PATH,
13163 # but as the default
13164 # location of the library.
13166 case $cc_basename in
13168 # FIXME: insert proper C++ library support
13172 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'
13173 # Commands to make compiler produce verbose output that lists
13174 # what "hidden" libraries, object files and flags are used when
13175 # linking a shared library.
13177 # There doesn't appear to be a way to prevent this compiler from
13178 # explicitly linking system object files so we need to strip them
13179 # from the output so that they don't get included in the library
13181 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13184 if test "$GXX" = yes; then
13185 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'
13187 # FIXME: insert proper C++ library support
13194 if test $with_gnu_ld = no; then
13195 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13196 hardcode_libdir_separator_CXX=:
13201 export_dynamic_flag_spec_CXX='${wl}-E'
13207 hardcode_direct_CXX=no
13208 hardcode_shlibpath_var_CXX=no
13211 hardcode_direct_CXX=yes
13212 hardcode_minus_L_CXX=yes # Not in the search PATH,
13213 # but as the default
13214 # location of the library.
13218 case $cc_basename in
13220 # FIXME: insert proper C++ library support
13226 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13229 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13232 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13235 # Commands to make compiler produce verbose output that lists
13236 # what "hidden" libraries, object files and flags are used when
13237 # linking a shared library.
13239 # There doesn't appear to be a way to prevent this compiler from
13240 # explicitly linking system object files so we need to strip them
13241 # from the output so that they don't get included in the library
13243 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13246 if test "$GXX" = yes; then
13247 if test $with_gnu_ld = no; then
13250 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13253 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13256 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'
13261 # FIXME: insert proper C++ library support
13268 hardcode_direct_CXX=no
13269 hardcode_shlibpath_var_CXX=no
13270 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13271 export_dynamic_flag_spec_CXX='${wl}-E'
13272 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13273 # Instead, shared libraries are loaded at an image base (0x10000000 by
13274 # default) and relocated if they conflict, which is a slow very memory
13275 # consuming and fragmenting process. To avoid this, we pick a random,
13276 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13277 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13278 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'
13279 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'
13282 case $cc_basename in
13285 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13287 # Archives containing C++ object files must be created using
13288 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13289 # necessary to make sure instantiated templates are included
13291 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13294 if test "$GXX" = yes; then
13295 if test "$with_gnu_ld" = no; then
13296 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13298 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
13301 link_all_deplibs_CXX=yes
13304 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13305 hardcode_libdir_separator_CXX=:
13307 linux* | k*bsd*-gnu)
13308 case $cc_basename in
13310 # Kuck and Associates, Inc. (KAI) C++ Compiler
13312 # KCC will only create a shared library if the output file
13313 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13314 # to its proper name (with version) after linking.
13315 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'
13316 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'
13317 # Commands to make compiler produce verbose output that lists
13318 # what "hidden" libraries, object files and flags are used when
13319 # linking a shared library.
13321 # There doesn't appear to be a way to prevent this compiler from
13322 # explicitly linking system object files so we need to strip them
13323 # from the output so that they don't get included in the library
13325 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13327 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13328 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13330 # Archives containing C++ object files must be created using
13331 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13332 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13337 # version 8.0 and above of icpc choke on multiply defined symbols
13338 # if we add $predep_objects and $postdep_objects, however 7.1 and
13339 # earlier do not add the objects themselves.
13340 case `$CC -V 2>&1` in
13342 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13343 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'
13345 *) # Version 8.0 or newer
13348 ia64*) tmp_idyn=' -i_dynamic';;
13350 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13351 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'
13354 archive_cmds_need_lc_CXX=no
13355 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13356 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13357 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13360 # Portland Group C++ compiler
13361 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13362 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'
13364 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13365 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13366 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'
13370 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13371 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'
13373 runpath_var=LD_RUN_PATH
13374 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13375 hardcode_libdir_separator_CXX=:
13377 # Commands to make compiler produce verbose output that lists
13378 # what "hidden" libraries, object files and flags are used when
13379 # linking a shared library.
13381 # There doesn't appear to be a way to prevent this compiler from
13382 # explicitly linking system object files so we need to strip them
13383 # from the output so that they don't get included in the library
13385 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13388 case `$CC -V 2>&1 | sed 5q` in
13391 no_undefined_flag_CXX=' -zdefs'
13392 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13393 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'
13394 hardcode_libdir_flag_spec_CXX='-R$libdir'
13395 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'
13397 # Not sure whether something based on
13398 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13400 output_verbose_link_cmd='echo'
13402 # Archives containing C++ object files must be created using
13403 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13404 # necessary to make sure instantiated templates are included
13406 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13413 # FIXME: insert proper C++ library support
13417 # FIXME: insert proper C++ library support
13421 case $cc_basename in
13423 # FIXME: insert proper C++ library support
13427 # FIXME: insert proper C++ library support
13433 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13434 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13436 hardcode_libdir_flag_spec_CXX='-R$libdir'
13437 hardcode_direct_CXX=yes
13438 hardcode_shlibpath_var_CXX=no
13440 # Workaround some broken pre-1.5 toolchains
13441 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13444 # C++ shared libraries are fairly broken
13448 if test -f /usr/libexec/ld.so; then
13449 hardcode_direct_CXX=yes
13450 hardcode_shlibpath_var_CXX=no
13451 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13452 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13453 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13454 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13455 export_dynamic_flag_spec_CXX='${wl}-E'
13456 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13458 output_verbose_link_cmd='echo'
13464 case $cc_basename in
13466 # Kuck and Associates, Inc. (KAI) C++ Compiler
13468 # KCC will only create a shared library if the output file
13469 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13470 # to its proper name (with version) after linking.
13471 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'
13473 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13474 hardcode_libdir_separator_CXX=:
13476 # Archives containing C++ object files must be created using
13477 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13478 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13482 # Rational C++ 2.4.1
13483 # FIXME: insert proper C++ library support
13487 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13488 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13490 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13491 hardcode_libdir_separator_CXX=:
13493 # Commands to make compiler produce verbose output that lists
13494 # what "hidden" libraries, object files and flags are used when
13495 # linking a shared library.
13497 # There doesn't appear to be a way to prevent this compiler from
13498 # explicitly linking system object files so we need to strip them
13499 # from the output so that they don't get included in the library
13501 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13504 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13505 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13506 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13508 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13509 hardcode_libdir_separator_CXX=:
13511 # Commands to make compiler produce verbose output that lists
13512 # what "hidden" libraries, object files and flags are used when
13513 # linking a shared library.
13514 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13517 # FIXME: insert proper C++ library support
13524 case $cc_basename in
13526 # Kuck and Associates, Inc. (KAI) C++ Compiler
13528 # KCC will only create a shared library if the output file
13529 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13530 # to its proper name (with version) after linking.
13531 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'
13533 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13534 hardcode_libdir_separator_CXX=:
13536 # Archives containing C++ object files must be created using
13537 # the KAI C++ compiler.
13538 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13541 # Rational C++ 2.4.1
13542 # FIXME: insert proper C++ library support
13546 allow_undefined_flag_CXX=' -expect_unresolved \*'
13547 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13548 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13549 echo "-hidden">> $lib.exp~
13550 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
13553 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13554 hardcode_libdir_separator_CXX=:
13556 # Commands to make compiler produce verbose output that lists
13557 # what "hidden" libraries, object files and flags are used when
13558 # linking a shared library.
13560 # There doesn't appear to be a way to prevent this compiler from
13561 # explicitly linking system object files so we need to strip them
13562 # from the output so that they don't get included in the library
13564 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13567 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13568 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13569 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13571 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13572 hardcode_libdir_separator_CXX=:
13574 # Commands to make compiler produce verbose output that lists
13575 # what "hidden" libraries, object files and flags are used when
13576 # linking a shared library.
13577 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13580 # FIXME: insert proper C++ library support
13587 # FIXME: insert proper C++ library support
13591 case $cc_basename in
13594 # FIXME: insert proper C++ library support
13599 # FIXME: insert proper C++ library support
13603 # FIXME: insert proper C++ library support
13609 case $cc_basename in
13611 # Sun C++ 4.2, 5.x and Centerline C++
13612 archive_cmds_need_lc_CXX=yes
13613 no_undefined_flag_CXX=' -zdefs'
13614 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13615 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13616 $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'
13618 hardcode_libdir_flag_spec_CXX='-R$libdir'
13619 hardcode_shlibpath_var_CXX=no
13621 solaris2.[0-5] | solaris2.[0-5].*) ;;
13623 # The compiler driver will combine and reorder linker options,
13624 # but understands `-z linker_flag'.
13625 # Supported since Solaris 2.6 (maybe 2.5.1?)
13626 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13629 link_all_deplibs_CXX=yes
13631 output_verbose_link_cmd='echo'
13633 # Archives containing C++ object files must be created using
13634 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13635 # necessary to make sure instantiated templates are included
13637 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13640 # Green Hills C++ Compiler
13641 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13643 # The C++ compiler must be used to create the archive.
13644 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13647 # GNU C++ compiler with Solaris linker
13648 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13649 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13650 if $CC --version | grep -v '^2\.7' > /dev/null; then
13651 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13652 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13653 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13655 # Commands to make compiler produce verbose output that lists
13656 # what "hidden" libraries, object files and flags are used when
13657 # linking a shared library.
13658 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13660 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13662 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13663 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13664 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13666 # Commands to make compiler produce verbose output that lists
13667 # what "hidden" libraries, object files and flags are used when
13668 # linking a shared library.
13669 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13672 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13674 solaris2.[0-5] | solaris2.[0-5].*) ;;
13676 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13683 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13684 no_undefined_flag_CXX='${wl}-z,text'
13685 archive_cmds_need_lc_CXX=no
13686 hardcode_shlibpath_var_CXX=no
13687 runpath_var='LD_RUN_PATH'
13689 case $cc_basename in
13691 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13692 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13695 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13696 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13700 sysv5* | sco3.2v5* | sco5v6*)
13701 # Note: We can NOT use -z defs as we might desire, because we do not
13702 # link with -lc, and that would cause any symbols used from libc to
13703 # always be unresolved, which means just about no library would
13704 # ever link correctly. If we're not using GNU ld we use -z text
13705 # though, which does catch some bad symbols but isn't as heavy-handed
13707 # For security reasons, it is highly recommended that you always
13708 # use absolute paths for naming shared libraries, and exclude the
13709 # DT_RUNPATH tag from executables and libraries. But doing so
13710 # requires that you compile everything twice, which is a pain.
13711 # So that behaviour is only enabled if SCOABSPATH is set to a
13712 # non-empty value in the environment. Most likely only useful for
13713 # creating official distributions of packages.
13714 # This is a hack until libtool officially supports absolute path
13715 # names for shared libraries.
13716 no_undefined_flag_CXX='${wl}-z,text'
13717 allow_undefined_flag_CXX='${wl}-z,nodefs'
13718 archive_cmds_need_lc_CXX=no
13719 hardcode_shlibpath_var_CXX=no
13720 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13721 hardcode_libdir_separator_CXX=':'
13722 link_all_deplibs_CXX=yes
13723 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13724 runpath_var='LD_RUN_PATH'
13726 case $cc_basename in
13728 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13729 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13732 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13733 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13738 case $cc_basename in
13740 # NonStop-UX NCC 3.20
13741 # FIXME: insert proper C++ library support
13745 # FIXME: insert proper C++ library support
13751 # FIXME: insert proper C++ library support
13755 # FIXME: insert proper C++ library support
13759 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13760 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13761 test "$ld_shlibs_CXX" = no && can_build_shared=no
13766 cat > conftest.$ac_ext <<EOF
13770 Foo (void) { a = 0; }
13776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13777 (eval $ac_compile) 2>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); }; then
13781 # Parse the compiler output and extract the necessary
13782 # objects, libraries and library flags.
13784 # Sentinel used to keep track of whether or not we are before
13785 # the conftest object file.
13786 pre_test_object_deps_done=no
13788 # The `*' in the case matches for architectures that use `case' in
13789 # $output_verbose_cmd can trigger glob expansion during the loop
13790 # eval without this substitution.
13791 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13793 for p in `eval $output_verbose_link_cmd`; do
13797 # Some compilers place space between "-{L,R}" and the path.
13798 # Remove the space.
13799 if test $p = "-L" \
13800 || test $p = "-R"; then
13807 if test "$pre_test_object_deps_done" = no; then
13810 # Internal compiler library paths should come after those
13811 # provided the user. The postdeps already come after the
13812 # user supplied libs so there is no need to process them.
13813 if test -z "$compiler_lib_search_path_CXX"; then
13814 compiler_lib_search_path_CXX="${prev}${p}"
13816 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13819 # The "-l" case would never come before the object being
13820 # linked, so don't bother handling this case.
13823 if test -z "$postdeps_CXX"; then
13824 postdeps_CXX="${prev}${p}"
13826 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13832 # This assumes that the test object file only shows up
13833 # once in the compiler output.
13834 if test "$p" = "conftest.$objext"; then
13835 pre_test_object_deps_done=yes
13839 if test "$pre_test_object_deps_done" = no; then
13840 if test -z "$predep_objects_CXX"; then
13841 predep_objects_CXX="$p"
13843 predep_objects_CXX="$predep_objects_CXX $p"
13846 if test -z "$postdep_objects_CXX"; then
13847 postdep_objects_CXX="$p"
13849 postdep_objects_CXX="$postdep_objects_CXX $p"
13854 *) ;; # Ignore the rest.
13862 echo "libtool.m4: error: problem compiling CXX test program"
13865 $rm -f confest.$objext
13867 compiler_lib_search_dirs_CXX=
13868 if test -n "$compiler_lib_search_path_CXX"; then
13869 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13872 # PORTME: override above test on systems where it is broken
13875 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13876 # hack all around it, let's just trust "g++" to DTRT.
13877 predep_objects_CXX=
13878 postdep_objects_CXX=
13883 case `$CC -V 2>&1 | sed 5q` in
13887 # The more standards-conforming stlport4 library is
13888 # incompatible with the Cstd library. Avoid specifying
13889 # it if it's in CXXFLAGS. Ignore libCrun as
13890 # -library=stlport4 depends on it.
13891 case " $CXX $CXXFLAGS " in
13892 *" -library=stlport4 "*)
13893 solaris_use_stlport4=yes
13896 if test "$solaris_use_stlport4" != yes; then
13897 postdeps_CXX='-library=Cstd -library=Crun'
13904 case $cc_basename in
13906 # The more standards-conforming stlport4 library is
13907 # incompatible with the Cstd library. Avoid specifying
13908 # it if it's in CXXFLAGS. Ignore libCrun as
13909 # -library=stlport4 depends on it.
13910 case " $CXX $CXXFLAGS " in
13911 *" -library=stlport4 "*)
13912 solaris_use_stlport4=yes
13916 # Adding this requires a known-good setup of shared libraries for
13917 # Sun compiler versions before 5.6, else PIC objects from an old
13918 # archive will be linked into the output, leading to subtle bugs.
13919 if test "$solaris_use_stlport4" != yes; then
13920 postdeps_CXX='-library=Cstd -library=Crun'
13927 case " $postdeps_CXX " in
13928 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13931 lt_prog_compiler_wl_CXX=
13932 lt_prog_compiler_pic_CXX=
13933 lt_prog_compiler_static_CXX=
13935 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13936 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13938 # C++ specific cases for pic, static, wl, etc.
13939 if test "$GXX" = yes; then
13940 lt_prog_compiler_wl_CXX='-Wl,'
13941 lt_prog_compiler_static_CXX='-static'
13945 # All AIX code is PIC.
13946 if test "$host_cpu" = ia64; then
13947 # AIX 5 now supports IA64 processor
13948 lt_prog_compiler_static_CXX='-Bstatic'
13952 # FIXME: we need at least 68020 code to build shared libraries, but
13953 # adding the `-m68020' flag to GCC prevents building anything better,
13955 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13957 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13958 # PIC is the default for these OSes.
13960 mingw* | cygwin* | os2* | pw32*)
13961 # This hack is so that the source file can tell whether it is being
13962 # built for inclusion in a dll (and should export symbols for example).
13963 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13964 # (--disable-auto-import) libraries
13965 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13967 darwin* | rhapsody*)
13968 # PIC is the default on this platform
13969 # Common symbols not allowed in MH_DYLIB files
13970 lt_prog_compiler_pic_CXX='-fno-common'
13973 # DJGPP does not support shared libraries at all
13974 lt_prog_compiler_pic_CXX=
13977 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13978 # Instead, we relocate shared libraries at runtime.
13981 if test -d /usr/nec; then
13982 lt_prog_compiler_pic_CXX=-Kconform_pic
13986 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13987 # not for PA HP-UX.
13992 lt_prog_compiler_pic_CXX='-fPIC'
13997 lt_prog_compiler_pic_CXX='-fPIC'
14003 # All AIX code is PIC.
14004 if test "$host_cpu" = ia64; then
14005 # AIX 5 now supports IA64 processor
14006 lt_prog_compiler_static_CXX='-Bstatic'
14008 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14012 case $cc_basename in
14014 # Green Hills C++ Compiler
14015 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14020 # PIC is the default on this platform
14021 # Common symbols not allowed in MH_DYLIB files
14022 case $cc_basename in
14024 lt_prog_compiler_pic_CXX='-qnocommon'
14025 lt_prog_compiler_wl_CXX='-Wl,'
14030 case $cc_basename in
14032 lt_prog_compiler_pic_CXX='-KPIC'
14035 # Green Hills C++ Compiler
14036 lt_prog_compiler_pic_CXX='-pic'
14042 freebsd* | dragonfly*)
14043 # FreeBSD uses GNU C++
14045 hpux9* | hpux10* | hpux11*)
14046 case $cc_basename in
14048 lt_prog_compiler_wl_CXX='-Wl,'
14049 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14050 if test "$host_cpu" != ia64; then
14051 lt_prog_compiler_pic_CXX='+Z'
14055 lt_prog_compiler_wl_CXX='-Wl,'
14056 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14062 lt_prog_compiler_pic_CXX='+Z'
14071 # This is c89, which is MS Visual C++ (no shared libs)
14072 # Anyone wants to do a port?
14074 irix5* | irix6* | nonstopux*)
14075 case $cc_basename in
14077 lt_prog_compiler_wl_CXX='-Wl,'
14078 lt_prog_compiler_static_CXX='-non_shared'
14079 # CC pic flag -KPIC is the default.
14085 linux* | k*bsd*-gnu)
14086 case $cc_basename in
14089 lt_prog_compiler_wl_CXX='--backend -Wl,'
14090 lt_prog_compiler_pic_CXX='-fPIC'
14094 lt_prog_compiler_wl_CXX='-Wl,'
14095 lt_prog_compiler_pic_CXX='-KPIC'
14096 lt_prog_compiler_static_CXX='-static'
14099 # Portland Group C++ compiler.
14100 lt_prog_compiler_wl_CXX='-Wl,'
14101 lt_prog_compiler_pic_CXX='-fpic'
14102 lt_prog_compiler_static_CXX='-Bstatic'
14106 # Make sure the PIC flag is empty. It appears that all Alpha
14107 # Linux and Compaq Tru64 Unix objects are PIC.
14108 lt_prog_compiler_pic_CXX=
14109 lt_prog_compiler_static_CXX='-non_shared'
14112 case `$CC -V 2>&1 | sed 5q` in
14115 lt_prog_compiler_pic_CXX='-KPIC'
14116 lt_prog_compiler_static_CXX='-Bstatic'
14117 lt_prog_compiler_wl_CXX='-Qoption ld '
14128 case $cc_basename in
14130 lt_prog_compiler_pic_CXX='-W c,exportall'
14138 osf3* | osf4* | osf5*)
14139 case $cc_basename in
14141 lt_prog_compiler_wl_CXX='--backend -Wl,'
14144 # Rational C++ 2.4.1
14145 lt_prog_compiler_pic_CXX='-pic'
14148 # Digital/Compaq C++
14149 lt_prog_compiler_wl_CXX='-Wl,'
14150 # Make sure the PIC flag is empty. It appears that all Alpha
14151 # Linux and Compaq Tru64 Unix objects are PIC.
14152 lt_prog_compiler_pic_CXX=
14153 lt_prog_compiler_static_CXX='-non_shared'
14162 case $cc_basename in
14164 # Sun C++ 4.2, 5.x and Centerline C++
14165 lt_prog_compiler_pic_CXX='-KPIC'
14166 lt_prog_compiler_static_CXX='-Bstatic'
14167 lt_prog_compiler_wl_CXX='-Qoption ld '
14170 # Green Hills C++ Compiler
14171 lt_prog_compiler_pic_CXX='-PIC'
14178 case $cc_basename in
14181 lt_prog_compiler_pic_CXX='-pic'
14182 lt_prog_compiler_static_CXX='-Bstatic'
14186 lt_prog_compiler_pic_CXX='-pic'
14193 case $cc_basename in
14195 # NonStop-UX NCC 3.20
14196 lt_prog_compiler_pic_CXX='-KPIC'
14202 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14203 case $cc_basename in
14205 lt_prog_compiler_wl_CXX='-Wl,'
14206 lt_prog_compiler_pic_CXX='-KPIC'
14207 lt_prog_compiler_static_CXX='-Bstatic'
14214 lt_prog_compiler_can_build_shared_CXX=no
14219 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14220 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14223 # Check to make sure the PIC flag actually works.
14225 if test -n "$lt_prog_compiler_pic_CXX"; then
14227 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14228 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14229 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 lt_cv_prog_compiler_pic_works_CXX=no
14233 ac_outfile=conftest.$ac_objext
14234 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14235 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14236 # Insert the option either (1) after the last *FLAGS variable, or
14237 # (2) before a word containing "conftest.", or (3) at the end.
14238 # Note that $ac_compile itself does not contain backslashes and begins
14239 # with a dollar sign (not a hyphen), so the echo should work correctly.
14240 # The option is referenced via a variable to avoid confusing sed.
14241 lt_compile=`echo "$ac_compile" | $SED \
14242 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14244 -e 's:$: $lt_compiler_flag:'`
14245 (eval echo "\"\$as_me:14245: $lt_compile\"" >&5)
14246 (eval "$lt_compile" 2>conftest.err)
14248 cat conftest.err >&5
14249 echo "$as_me:14249: \$? = $ac_status" >&5
14250 if (exit $ac_status) && test -s "$ac_outfile"; then
14251 # The compiler can only warn and ignore the option if not recognized
14252 # So say no if there are warnings other than the usual output.
14253 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14254 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14255 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14256 lt_cv_prog_compiler_pic_works_CXX=yes
14262 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14263 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14265 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14266 case $lt_prog_compiler_pic_CXX in
14268 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14271 lt_prog_compiler_pic_CXX=
14272 lt_prog_compiler_can_build_shared_CXX=no
14277 # For platforms which do not support PIC, -DPIC is meaningless:
14279 lt_prog_compiler_pic_CXX=
14282 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14287 # Check to make sure the static flag actually works.
14289 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14290 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14291 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14292 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14293 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 lt_cv_prog_compiler_static_works_CXX=no
14296 save_LDFLAGS="$LDFLAGS"
14297 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14298 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14299 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14300 # The linker can only warn and ignore the option if not recognized
14301 # So say no if there are warnings
14302 if test -s conftest.err; then
14303 # Append any errors to the config.log.
14304 cat conftest.err 1>&5
14305 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14306 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14307 if diff conftest.exp conftest.er2 >/dev/null; then
14308 lt_cv_prog_compiler_static_works_CXX=yes
14311 lt_cv_prog_compiler_static_works_CXX=yes
14315 LDFLAGS="$save_LDFLAGS"
14318 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14319 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
14321 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14324 lt_prog_compiler_static_CXX=
14328 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14329 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14330 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14331 echo $ECHO_N "(cached) $ECHO_C" >&6
14333 lt_cv_prog_compiler_c_o_CXX=no
14334 $rm -r conftest 2>/dev/null
14338 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14340 lt_compiler_flag="-o out/conftest2.$ac_objext"
14341 # Insert the option either (1) after the last *FLAGS variable, or
14342 # (2) before a word containing "conftest.", or (3) at the end.
14343 # Note that $ac_compile itself does not contain backslashes and begins
14344 # with a dollar sign (not a hyphen), so the echo should work correctly.
14345 lt_compile=`echo "$ac_compile" | $SED \
14346 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14348 -e 's:$: $lt_compiler_flag:'`
14349 (eval echo "\"\$as_me:14349: $lt_compile\"" >&5)
14350 (eval "$lt_compile" 2>out/conftest.err)
14352 cat out/conftest.err >&5
14353 echo "$as_me:14353: \$? = $ac_status" >&5
14354 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14356 # The compiler can only warn and ignore the option if not recognized
14357 # So say no if there are warnings
14358 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14359 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14360 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14361 lt_cv_prog_compiler_c_o_CXX=yes
14366 # SGI C++ compiler will create directory out/ii_files/ for
14367 # template instantiation
14368 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14369 $rm out/* && rmdir out
14375 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14376 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14379 hard_links="nottested"
14380 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14381 # do not overwrite the value of need_locks provided by the user
14382 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14383 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14386 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14388 ln conftest.a conftest.b 2>&5 || hard_links=no
14389 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14390 { echo "$as_me:$LINENO: result: $hard_links" >&5
14391 echo "${ECHO_T}$hard_links" >&6; }
14392 if test "$hard_links" = no; then
14393 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14394 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14401 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14402 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14404 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14407 # If we're using GNU nm, then we don't want the "-C" option.
14408 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14409 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14410 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'
14412 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'
14416 export_symbols_cmds_CXX="$ltdll_cmds"
14419 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'
14422 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14425 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14427 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14428 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14429 test "$ld_shlibs_CXX" = no && can_build_shared=no
14432 # Do we need to explicitly link libc?
14434 case "x$archive_cmds_need_lc_CXX" in
14436 # Assume -lc should be added
14437 archive_cmds_need_lc_CXX=yes
14439 if test "$enable_shared" = yes && test "$GCC" = yes; then
14440 case $archive_cmds_CXX in
14442 # FIXME: we may have to deal with multi-command sequences.
14445 # Test whether the compiler implicitly links with -lc since on some
14446 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14447 # to ld, don't add -lc before -lgcc.
14448 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14449 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14451 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14454 (eval $ac_compile) 2>&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } 2>conftest.err; then
14460 libobjs=conftest.$ac_objext
14462 wl=$lt_prog_compiler_wl_CXX
14463 pic_flag=$lt_prog_compiler_pic_CXX
14469 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14470 allow_undefined_flag_CXX=
14471 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14472 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }
14477 archive_cmds_need_lc_CXX=no
14479 archive_cmds_need_lc_CXX=yes
14481 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14483 cat conftest.err 1>&5
14486 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14487 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14494 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14495 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14496 library_names_spec=
14497 libname_spec='lib$name'
14501 postuninstall_cmds=
14505 shlibpath_overrides_runpath=unknown
14507 dynamic_linker="$host_os ld.so"
14508 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14510 need_lib_prefix=unknown
14511 hardcode_into_libs=no
14513 # when you set need_version to no, make sure it does not cause -set_version
14514 # flags to be left without arguments
14515 need_version=unknown
14520 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14521 shlibpath_var=LIBPATH
14523 # AIX 3 has no versioning support, so we append a major version to the name.
14524 soname_spec='${libname}${release}${shared_ext}$major'
14531 hardcode_into_libs=yes
14532 if test "$host_cpu" = ia64; then
14533 # AIX 5 supports IA64
14534 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14535 shlibpath_var=LD_LIBRARY_PATH
14537 # With GCC up to 2.95.x, collect2 would create an import file
14538 # for dependence libraries. The import file would start with
14539 # the line `#! .'. This would cause the generated library to
14540 # depend on `.', always an invalid library. This was fixed in
14541 # development snapshots of GCC prior to 3.0.
14543 aix4 | aix4.[01] | aix4.[01].*)
14544 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14546 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14549 can_build_shared=no
14553 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14554 # soname into executable. Probably we can add versioning support to
14555 # collect2, so additional links can be useful in future.
14556 if test "$aix_use_runtimelinking" = yes; then
14557 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14558 # instead of lib<name>.a to let people know that these are not
14559 # typical AIX shared libraries.
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14562 # We preserve .a as extension for shared libraries through AIX4.2
14563 # and later when we are not doing run time linking.
14564 library_names_spec='${libname}${release}.a $libname.a'
14565 soname_spec='${libname}${release}${shared_ext}$major'
14567 shlibpath_var=LIBPATH
14572 library_names_spec='$libname.ixlibrary $libname.a'
14573 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14574 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'
14578 library_names_spec='${libname}${shared_ext}'
14579 dynamic_linker="$host_os ld.so"
14580 shlibpath_var=LIBRARY_PATH
14586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14587 soname_spec='${libname}${release}${shared_ext}$major'
14588 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14589 shlibpath_var=LD_LIBRARY_PATH
14590 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14591 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14592 # the default ld.so.conf also contains /usr/contrib/lib and
14593 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14594 # libtool to hard-code these into programs
14597 cygwin* | mingw* | pw32*)
14598 version_type=windows
14603 case $GCC,$host_os in
14604 yes,cygwin* | yes,mingw* | yes,pw32*)
14605 library_names_spec='$libname.dll.a'
14606 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14607 postinstall_cmds='base_file=`basename \${file}`~
14608 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14609 dldir=$destdir/`dirname \$dlpath`~
14610 test -d \$dldir || mkdir -p \$dldir~
14611 $install_prog $dir/$dlname \$dldir/$dlname~
14612 chmod a+x \$dldir/$dlname'
14613 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14614 dlpath=$dir/\$dldll~
14616 shlibpath_overrides_runpath=yes
14620 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14621 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14622 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14625 # MinGW DLLs use traditional 'lib' prefix
14626 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14627 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14628 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14629 # It is most probably a Windows format PATH printed by
14630 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14631 # path with ; separators, and with drive letters. We can handle the
14632 # drive letters (cygwin fileutils understands them), so leave them,
14633 # especially as we might pass files found there to a mingw objdump,
14634 # which wouldn't understand a cygwinified path. Ahh.
14635 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14637 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14641 # pw32 DLLs use 'pw' prefix rather than 'lib'
14642 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14648 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14651 dynamic_linker='Win32 ld.exe'
14652 # FIXME: first we should search . and the directory the executable is in
14656 darwin* | rhapsody*)
14657 dynamic_linker="$host_os dyld"
14658 version_type=darwin
14661 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14662 soname_spec='${libname}${release}${major}$shared_ext'
14663 shlibpath_overrides_runpath=yes
14664 shlibpath_var=DYLD_LIBRARY_PATH
14665 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14667 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14675 soname_spec='${libname}${release}${shared_ext}$major'
14676 shlibpath_var=LD_LIBRARY_PATH
14683 freebsd* | dragonfly*)
14684 # DragonFly does not have aout. When/if they implement a new
14685 # versioning mechanism, adjust this.
14686 if test -x /usr/bin/objformat; then
14687 objformat=`/usr/bin/objformat`
14690 freebsd[123]*) objformat=aout ;;
14691 *) objformat=elf ;;
14694 # Handle Gentoo/FreeBSD as it was Linux
14695 case $host_vendor in
14697 version_type=linux ;;
14699 version_type=freebsd-$objformat ;;
14702 case $version_type in
14704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14714 soname_spec='${libname}${release}${shared_ext}$major'
14719 shlibpath_var=LD_LIBRARY_PATH
14722 shlibpath_overrides_runpath=yes
14724 freebsd3.[01]* | freebsdelf3.[01]*)
14725 shlibpath_overrides_runpath=yes
14726 hardcode_into_libs=yes
14728 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14729 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14730 shlibpath_overrides_runpath=no
14731 hardcode_into_libs=yes
14733 *) # from 4.6 on, and DragonFly
14734 shlibpath_overrides_runpath=yes
14735 hardcode_into_libs=yes
14744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14745 soname_spec='${libname}${release}${shared_ext}$major'
14746 shlibpath_var=LD_LIBRARY_PATH
14747 hardcode_into_libs=yes
14750 hpux9* | hpux10* | hpux11*)
14751 # Give a soname corresponding to the major version so that dld.sl refuses to
14752 # link against other versions.
14759 hardcode_into_libs=yes
14760 dynamic_linker="$host_os dld.so"
14761 shlibpath_var=LD_LIBRARY_PATH
14762 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14764 soname_spec='${libname}${release}${shared_ext}$major'
14765 if test "X$HPUX_IA64_MODE" = X32; then
14766 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14768 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14770 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14774 hardcode_into_libs=yes
14775 dynamic_linker="$host_os dld.sl"
14776 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14777 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14779 soname_spec='${libname}${release}${shared_ext}$major'
14780 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14781 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14785 dynamic_linker="$host_os dld.sl"
14786 shlibpath_var=SHLIB_PATH
14787 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14789 soname_spec='${libname}${release}${shared_ext}$major'
14792 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14793 postinstall_cmds='chmod 555 $lib'
14800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14801 soname_spec='${libname}${release}${shared_ext}$major'
14802 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14803 shlibpath_var=LD_LIBRARY_PATH
14804 shlibpath_overrides_runpath=no
14805 hardcode_into_libs=yes
14808 irix5* | irix6* | nonstopux*)
14810 nonstopux*) version_type=nonstopux ;;
14812 if test "$lt_cv_prog_gnu_ld" = yes; then
14820 soname_spec='${libname}${release}${shared_ext}$major'
14821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14823 irix5* | nonstopux*)
14824 libsuff= shlibsuff=
14827 case $LD in # libtool.m4 will add one of these switches to LD
14828 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14829 libsuff= shlibsuff= libmagic=32-bit;;
14830 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14831 libsuff=32 shlibsuff=N32 libmagic=N32;;
14832 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14833 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14834 *) libsuff= shlibsuff= libmagic=never-match;;
14838 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14839 shlibpath_overrides_runpath=no
14840 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14841 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14842 hardcode_into_libs=yes
14845 # No shared lib support for Linux oldld, aout, or coff.
14846 linux*oldld* | linux*aout* | linux*coff*)
14850 # This must be Linux ELF.
14851 linux* | k*bsd*-gnu)
14855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14856 soname_spec='${libname}${release}${shared_ext}$major'
14857 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14858 shlibpath_var=LD_LIBRARY_PATH
14859 shlibpath_overrides_runpath=no
14860 # This implies no fast_install, which is unacceptable.
14861 # Some rework will be needed to allow for fast_install
14862 # before this can be enabled.
14863 hardcode_into_libs=yes
14865 # Append ld.so.conf contents to the search path
14866 if test -f /etc/ld.so.conf; then
14867 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' ' '`
14868 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14871 # We used to test for /lib/ld.so.1 and disable shared libraries on
14872 # powerpc, because MkLinux only supported shared libraries with the
14873 # GNU dynamic linker. Since this was broken with cross compilers,
14874 # most powerpc-linux boxes support dynamic linking these days and
14875 # people can always --disable-shared, the test was removed, and we
14876 # assume the GNU/Linux dynamic linker is in use.
14877 dynamic_linker='GNU/Linux ld.so'
14884 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14886 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14887 dynamic_linker='NetBSD (a.out) ld.so'
14889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14890 soname_spec='${libname}${release}${shared_ext}$major'
14891 dynamic_linker='NetBSD ld.elf_so'
14893 shlibpath_var=LD_LIBRARY_PATH
14894 shlibpath_overrides_runpath=yes
14895 hardcode_into_libs=yes
14900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14901 shlibpath_var=LD_LIBRARY_PATH
14902 shlibpath_overrides_runpath=yes
14909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14910 soname_spec='${libname}${release}${shared_ext}$major'
14911 shlibpath_var=LD_LIBRARY_PATH
14912 shlibpath_overrides_runpath=yes
14917 sys_lib_dlsearch_path_spec="/usr/lib"
14919 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14921 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14922 *) need_version=no ;;
14924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14925 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14926 shlibpath_var=LD_LIBRARY_PATH
14927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14929 openbsd2.[89] | openbsd2.[89].*)
14930 shlibpath_overrides_runpath=no
14933 shlibpath_overrides_runpath=yes
14937 shlibpath_overrides_runpath=yes
14942 libname_spec='$name'
14945 library_names_spec='$libname${shared_ext} $libname.a'
14946 dynamic_linker='OS/2 ld.exe'
14947 shlibpath_var=LIBPATH
14950 osf3* | osf4* | osf5*)
14954 soname_spec='${libname}${release}${shared_ext}$major'
14955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14956 shlibpath_var=LD_LIBRARY_PATH
14957 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14958 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14970 soname_spec='${libname}${release}${shared_ext}$major'
14971 shlibpath_var=LD_LIBRARY_PATH
14972 shlibpath_overrides_runpath=yes
14973 hardcode_into_libs=yes
14974 # ldd complains unless libraries are executable
14975 postinstall_cmds='chmod +x $lib'
14980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14981 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14982 shlibpath_var=LD_LIBRARY_PATH
14983 shlibpath_overrides_runpath=yes
14984 if test "$with_gnu_ld" = yes; then
14992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14993 soname_spec='${libname}${release}${shared_ext}$major'
14994 shlibpath_var=LD_LIBRARY_PATH
14995 case $host_vendor in
14997 shlibpath_overrides_runpath=no
14999 export_dynamic_flag_spec='${wl}-Blargedynsym'
15000 runpath_var=LD_RUN_PATH
15008 shlibpath_overrides_runpath=no
15009 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15015 if test -d /usr/nec ;then
15017 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15018 soname_spec='$libname${shared_ext}.$major'
15019 shlibpath_var=LD_LIBRARY_PATH
15023 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15024 version_type=freebsd-elf
15027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15028 soname_spec='${libname}${release}${shared_ext}$major'
15029 shlibpath_var=LD_LIBRARY_PATH
15030 hardcode_into_libs=yes
15031 if test "$with_gnu_ld" = yes; then
15032 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15033 shlibpath_overrides_runpath=no
15035 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15036 shlibpath_overrides_runpath=yes
15039 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15043 sys_lib_dlsearch_path_spec='/usr/lib'
15048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15049 soname_spec='${libname}${release}${shared_ext}$major'
15050 shlibpath_var=LD_LIBRARY_PATH
15057 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15058 echo "${ECHO_T}$dynamic_linker" >&6; }
15059 test "$dynamic_linker" = no && can_build_shared=no
15061 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15062 echo $ECHO_N "(cached) $ECHO_C" >&6
15064 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
15067 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15068 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15069 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
15074 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15076 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15077 if test "$GCC" = yes; then
15078 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15081 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15082 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15083 hardcode_action_CXX=
15084 if test -n "$hardcode_libdir_flag_spec_CXX" || \
15085 test -n "$runpath_var_CXX" || \
15086 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15088 # We can hardcode non-existant directories.
15089 if test "$hardcode_direct_CXX" != no &&
15090 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15091 # have to relink, otherwise we might link with an installed library
15092 # when we should be linking with a yet-to-be-installed one
15093 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15094 test "$hardcode_minus_L_CXX" != no; then
15095 # Linking always hardcodes the temporary library directory.
15096 hardcode_action_CXX=relink
15098 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15099 hardcode_action_CXX=immediate
15102 # We cannot hardcode anything, or else we can only hardcode existing
15104 hardcode_action_CXX=unsupported
15106 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15107 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15109 if test "$hardcode_action_CXX" = relink; then
15110 # Fast installation is not supported
15111 enable_fast_install=no
15112 elif test "$shlibpath_overrides_runpath" = yes ||
15113 test "$enable_shared" = no; then
15114 # Fast installation is not necessary
15115 enable_fast_install=needless
15119 # The else clause should only fire when bootstrapping the
15120 # libtool distribution, otherwise you forgot to ship ltmain.sh
15121 # with your package, and you will get complaints that there are
15122 # no rules to generate ltmain.sh.
15123 if test -f "$ltmain"; then
15124 # See if we are running on zsh, and set the options which allow our commands through
15125 # without removal of \ escapes.
15126 if test -n "${ZSH_VERSION+set}" ; then
15127 setopt NO_GLOB_SUBST
15129 # Now quote all the things that may contain metacharacters while being
15130 # careful not to overquote the AC_SUBSTed values. We take copies of the
15131 # variables and quote the copies for generation of the libtool script.
15132 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15134 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15135 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15136 deplibs_check_method reload_flag reload_cmds need_locks \
15137 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15138 lt_cv_sys_global_symbol_to_c_name_address \
15139 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15140 old_postinstall_cmds old_postuninstall_cmds \
15144 lt_prog_compiler_wl_CXX \
15145 lt_prog_compiler_pic_CXX \
15146 lt_prog_compiler_static_CXX \
15147 lt_prog_compiler_no_builtin_flag_CXX \
15148 export_dynamic_flag_spec_CXX \
15149 thread_safe_flag_spec_CXX \
15150 whole_archive_flag_spec_CXX \
15151 enable_shared_with_static_runtimes_CXX \
15152 old_archive_cmds_CXX \
15153 old_archive_from_new_cmds_CXX \
15154 predep_objects_CXX \
15155 postdep_objects_CXX \
15158 compiler_lib_search_path_CXX \
15159 compiler_lib_search_dirs_CXX \
15161 archive_expsym_cmds_CXX \
15162 postinstall_cmds_CXX \
15163 postuninstall_cmds_CXX \
15164 old_archive_from_expsyms_cmds_CXX \
15165 allow_undefined_flag_CXX \
15166 no_undefined_flag_CXX \
15167 export_symbols_cmds_CXX \
15168 hardcode_libdir_flag_spec_CXX \
15169 hardcode_libdir_flag_spec_ld_CXX \
15170 hardcode_libdir_separator_CXX \
15171 hardcode_automatic_CXX \
15173 module_expsym_cmds_CXX \
15174 lt_cv_prog_compiler_c_o_CXX \
15175 fix_srcfile_path_CXX \
15176 exclude_expsyms_CXX \
15177 include_expsyms_CXX; do
15180 old_archive_cmds_CXX | \
15181 old_archive_from_new_cmds_CXX | \
15182 archive_cmds_CXX | \
15183 archive_expsym_cmds_CXX | \
15184 module_cmds_CXX | \
15185 module_expsym_cmds_CXX | \
15186 old_archive_from_expsyms_cmds_CXX | \
15187 export_symbols_cmds_CXX | \
15188 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15189 postinstall_cmds | postuninstall_cmds | \
15190 old_postinstall_cmds | old_postuninstall_cmds | \
15191 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15192 # Double-quote double-evaled strings.
15193 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15196 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15202 *'\$0 --fallback-echo"')
15203 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15209 cat <<__EOF__ >> "$cfgfile"
15210 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15212 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15214 # Shell to use when invoking shell scripts.
15217 # Whether or not to build shared libraries.
15218 build_libtool_libs=$enable_shared
15220 # Whether or not to build static libraries.
15221 build_old_libs=$enable_static
15223 # Whether or not to add -lc for building shared libraries.
15224 build_libtool_need_lc=$archive_cmds_need_lc_CXX
15226 # Whether or not to disallow shared libs when runtime libs are static
15227 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15229 # Whether or not to optimize for fast installation.
15230 fast_install=$enable_fast_install
15233 host_alias=$host_alias
15237 # The build system.
15238 build_alias=$build_alias
15242 # An echo program that does not interpret backslashes.
15247 AR_FLAGS=$lt_AR_FLAGS
15252 # LTCC compiler flags.
15253 LTCFLAGS=$lt_LTCFLAGS
15255 # A language-specific compiler.
15256 CC=$lt_compiler_CXX
15258 # Is the compiler the GNU C compiler?
15264 # The linker used to build libraries.
15267 # Whether we need hard or soft links.
15270 # A BSD-compatible nm program.
15273 # A symbol stripping program
15276 # Used to examine libraries when file_magic_cmd begins "file"
15277 MAGIC_CMD=$MAGIC_CMD
15279 # Used on cygwin: DLL creation program.
15282 # Used on cygwin: object dumper.
15285 # Used on cygwin: assembler.
15288 # The name of the directory that contains temporary libtool files.
15291 # How to create reloadable object files.
15292 reload_flag=$lt_reload_flag
15293 reload_cmds=$lt_reload_cmds
15295 # How to pass a linker flag through the compiler.
15296 wl=$lt_lt_prog_compiler_wl_CXX
15298 # Object file suffix (normally "o").
15299 objext="$ac_objext"
15301 # Old archive suffix (normally "a").
15304 # Shared library suffix (normally ".so").
15305 shrext_cmds='$shrext_cmds'
15307 # Executable file suffix (normally "").
15310 # Additional compiler flags for building library objects.
15311 pic_flag=$lt_lt_prog_compiler_pic_CXX
15314 # What is the maximum length of a command?
15315 max_cmd_len=$lt_cv_sys_max_cmd_len
15317 # Does compiler simultaneously support -c and -o options?
15318 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15320 # Must we lock files when doing compilation?
15321 need_locks=$lt_need_locks
15323 # Do we need the lib prefix for modules?
15324 need_lib_prefix=$need_lib_prefix
15326 # Do we need a version for libraries?
15327 need_version=$need_version
15329 # Whether dlopen is supported.
15330 dlopen_support=$enable_dlopen
15332 # Whether dlopen of programs is supported.
15333 dlopen_self=$enable_dlopen_self
15335 # Whether dlopen of statically linked programs is supported.
15336 dlopen_self_static=$enable_dlopen_self_static
15338 # Compiler flag to prevent dynamic linking.
15339 link_static_flag=$lt_lt_prog_compiler_static_CXX
15341 # Compiler flag to turn off builtin functions.
15342 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15344 # Compiler flag to allow reflexive dlopens.
15345 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15347 # Compiler flag to generate shared objects directly from archives.
15348 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15350 # Compiler flag to generate thread-safe objects.
15351 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15353 # Library versioning type.
15354 version_type=$version_type
15356 # Format of library name prefix.
15357 libname_spec=$lt_libname_spec
15359 # List of archive names. First name is the real one, the rest are links.
15360 # The last name is the one that the linker finds with -lNAME.
15361 library_names_spec=$lt_library_names_spec
15363 # The coded name of the library, if different from the real name.
15364 soname_spec=$lt_soname_spec
15366 # Commands used to build and install an old-style archive.
15368 old_archive_cmds=$lt_old_archive_cmds_CXX
15369 old_postinstall_cmds=$lt_old_postinstall_cmds
15370 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15372 # Create an old-style archive from a shared archive.
15373 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15375 # Create a temporary old-style archive to link instead of a shared archive.
15376 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15378 # Commands used to build and install a shared archive.
15379 archive_cmds=$lt_archive_cmds_CXX
15380 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15381 postinstall_cmds=$lt_postinstall_cmds
15382 postuninstall_cmds=$lt_postuninstall_cmds
15384 # Commands used to build a loadable module (assumed same as above if empty)
15385 module_cmds=$lt_module_cmds_CXX
15386 module_expsym_cmds=$lt_module_expsym_cmds_CXX
15388 # Commands to strip libraries.
15389 old_striplib=$lt_old_striplib
15390 striplib=$lt_striplib
15392 # Dependencies to place before the objects being linked to create a
15394 predep_objects=$lt_predep_objects_CXX
15396 # Dependencies to place after the objects being linked to create a
15398 postdep_objects=$lt_postdep_objects_CXX
15400 # Dependencies to place before the objects being linked to create a
15402 predeps=$lt_predeps_CXX
15404 # Dependencies to place after the objects being linked to create a
15406 postdeps=$lt_postdeps_CXX
15408 # The directories searched by this compiler when creating a shared
15410 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
15412 # The library search path used internally by the compiler when linking
15413 # a shared library.
15414 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15416 # Method to check whether dependent libraries are shared objects.
15417 deplibs_check_method=$lt_deplibs_check_method
15419 # Command to use when deplibs_check_method == file_magic.
15420 file_magic_cmd=$lt_file_magic_cmd
15422 # Flag that allows shared libraries with undefined symbols to be built.
15423 allow_undefined_flag=$lt_allow_undefined_flag_CXX
15425 # Flag that forces no undefined symbols.
15426 no_undefined_flag=$lt_no_undefined_flag_CXX
15428 # Commands used to finish a libtool library installation in a directory.
15429 finish_cmds=$lt_finish_cmds
15431 # Same as above, but a single script fragment to be evaled but not shown.
15432 finish_eval=$lt_finish_eval
15434 # Take the output of nm and produce a listing of raw symbols and C names.
15435 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15437 # Transform the output of nm in a proper C declaration
15438 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15440 # Transform the output of nm in a C name address pair
15441 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15443 # This is the shared library runtime path variable.
15444 runpath_var=$runpath_var
15446 # This is the shared library path variable.
15447 shlibpath_var=$shlibpath_var
15449 # Is shlibpath searched before the hard-coded library search path?
15450 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15452 # How to hardcode a shared library path into an executable.
15453 hardcode_action=$hardcode_action_CXX
15455 # Whether we should hardcode library paths into libraries.
15456 hardcode_into_libs=$hardcode_into_libs
15458 # Flag to hardcode \$libdir into a binary during linking.
15459 # This must work even if \$libdir does not exist.
15460 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15462 # If ld is used when linking, flag to hardcode \$libdir into
15463 # a binary during linking. This must work even if \$libdir does
15465 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15467 # Whether we need a single -rpath flag with a separated argument.
15468 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15470 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15471 # resulting binary.
15472 hardcode_direct=$hardcode_direct_CXX
15474 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15475 # resulting binary.
15476 hardcode_minus_L=$hardcode_minus_L_CXX
15478 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15479 # the resulting binary.
15480 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15482 # Set to yes if building a shared library automatically hardcodes DIR into the library
15483 # and all subsequent libraries and executables linked against it.
15484 hardcode_automatic=$hardcode_automatic_CXX
15486 # Variables whose values should be saved in libtool wrapper scripts and
15487 # restored at relink time.
15488 variables_saved_for_relink="$variables_saved_for_relink"
15490 # Whether libtool must link a program against all its dependency libraries.
15491 link_all_deplibs=$link_all_deplibs_CXX
15493 # Compile-time system search path for libraries
15494 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15496 # Run-time system search path for libraries
15497 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15499 # Fix the shell variable \$srcfile for the compiler.
15500 fix_srcfile_path=$lt_fix_srcfile_path
15502 # Set to yes if exported symbols are required.
15503 always_export_symbols=$always_export_symbols_CXX
15505 # The commands to list exported symbols.
15506 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15508 # The commands to extract the exported symbol list from a shared archive.
15509 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15511 # Symbols that should not be listed in the preloaded symbols.
15512 exclude_expsyms=$lt_exclude_expsyms_CXX
15514 # Symbols that must always be exported.
15515 include_expsyms=$lt_include_expsyms_CXX
15517 # ### END LIBTOOL TAG CONFIG: $tagname
15523 # If there is no Makefile yet, we rely on a make rule to execute
15524 # `config.status --recheck' to rerun these tests and create the
15525 # libtool script then.
15526 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15527 if test -f "$ltmain_in"; then
15528 test -f Makefile && make "$ltmain"
15534 ac_cpp='$CPP $CPPFLAGS'
15535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15543 with_gnu_ldcxx=$with_gnu_ld
15544 with_gnu_ld=$lt_save_with_gnu_ld
15545 lt_cv_path_LDCXX=$lt_cv_path_LD
15546 lt_cv_path_LD=$lt_save_path_LD
15547 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15548 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15556 if test -n "$F77" && test "X$F77" != "Xno"; then
15559 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15560 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15561 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15564 archive_cmds_need_lc_F77=no
15565 allow_undefined_flag_F77=
15566 always_export_symbols_F77=no
15567 archive_expsym_cmds_F77=
15568 export_dynamic_flag_spec_F77=
15569 hardcode_direct_F77=no
15570 hardcode_libdir_flag_spec_F77=
15571 hardcode_libdir_flag_spec_ld_F77=
15572 hardcode_libdir_separator_F77=
15573 hardcode_minus_L_F77=no
15574 hardcode_automatic_F77=no
15576 module_expsym_cmds_F77=
15577 link_all_deplibs_F77=unknown
15578 old_archive_cmds_F77=$old_archive_cmds
15579 no_undefined_flag_F77=
15580 whole_archive_flag_spec_F77=
15581 enable_shared_with_static_runtimes_F77=no
15583 # Source file extension for f77 test sources.
15586 # Object file extension for compiled f77 test sources.
15590 # Code to be used in simple compile tests
15591 lt_simple_compile_test_code="\
15597 # Code to be used in simple link tests
15598 lt_simple_link_test_code="\
15603 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15605 # If no C compiler was specified, use CC.
15608 # If no C compiler flags were specified, use CFLAGS.
15609 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15611 # Allow CC to be a program name with arguments.
15615 # save warnings/boilerplate of simple test code
15616 ac_outfile=conftest.$ac_objext
15617 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15618 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15619 _lt_compiler_boilerplate=`cat conftest.err`
15622 ac_outfile=conftest.$ac_objext
15623 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15624 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15625 _lt_linker_boilerplate=`cat conftest.err`
15629 # Allow CC to be a program name with arguments.
15634 for cc_temp in $compiler""; do
15636 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15637 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15642 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15645 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15646 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15647 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
15648 echo "${ECHO_T}$can_build_shared" >&6; }
15650 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15651 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15652 test "$can_build_shared" = "no" && enable_shared=no
15654 # On AIX, shared libraries and static libraries use the same namespace, and
15655 # are all built from PIC.
15658 test "$enable_shared" = yes && enable_static=no
15659 if test -n "$RANLIB"; then
15660 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15661 postinstall_cmds='$RANLIB $lib'
15665 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15666 test "$enable_shared" = yes && enable_static=no
15670 { echo "$as_me:$LINENO: result: $enable_shared" >&5
15671 echo "${ECHO_T}$enable_shared" >&6; }
15673 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15674 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15675 # Make sure either enable_shared or enable_static is yes.
15676 test "$enable_shared" = yes || enable_static=yes
15677 { echo "$as_me:$LINENO: result: $enable_static" >&5
15678 echo "${ECHO_T}$enable_static" >&6; }
15683 lt_prog_compiler_wl_F77=
15684 lt_prog_compiler_pic_F77=
15685 lt_prog_compiler_static_F77=
15687 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15688 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15690 if test "$GCC" = yes; then
15691 lt_prog_compiler_wl_F77='-Wl,'
15692 lt_prog_compiler_static_F77='-static'
15696 # All AIX code is PIC.
15697 if test "$host_cpu" = ia64; then
15698 # AIX 5 now supports IA64 processor
15699 lt_prog_compiler_static_F77='-Bstatic'
15704 # FIXME: we need at least 68020 code to build shared libraries, but
15705 # adding the `-m68020' flag to GCC prevents building anything better,
15707 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15710 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15711 # PIC is the default for these OSes.
15714 mingw* | cygwin* | pw32* | os2*)
15715 # This hack is so that the source file can tell whether it is being
15716 # built for inclusion in a dll (and should export symbols for example).
15717 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15718 # (--disable-auto-import) libraries
15719 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15722 darwin* | rhapsody*)
15723 # PIC is the default on this platform
15724 # Common symbols not allowed in MH_DYLIB files
15725 lt_prog_compiler_pic_F77='-fno-common'
15729 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15730 # Instead, we relocate shared libraries at runtime.
15734 # Just because we use GCC doesn't mean we suddenly get shared libraries
15735 # on systems that don't support them.
15736 lt_prog_compiler_can_build_shared_F77=no
15741 if test -d /usr/nec; then
15742 lt_prog_compiler_pic_F77=-Kconform_pic
15747 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15748 # not for PA HP-UX.
15754 lt_prog_compiler_pic_F77='-fPIC'
15760 lt_prog_compiler_pic_F77='-fPIC'
15764 # PORTME Check for flag to pass linker flags through the system compiler.
15767 lt_prog_compiler_wl_F77='-Wl,'
15768 if test "$host_cpu" = ia64; then
15769 # AIX 5 now supports IA64 processor
15770 lt_prog_compiler_static_F77='-Bstatic'
15772 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15776 # PIC is the default on this platform
15777 # Common symbols not allowed in MH_DYLIB files
15778 case $cc_basename in
15780 lt_prog_compiler_pic_F77='-qnocommon'
15781 lt_prog_compiler_wl_F77='-Wl,'
15786 mingw* | cygwin* | pw32* | os2*)
15787 # This hack is so that the source file can tell whether it is being
15788 # built for inclusion in a dll (and should export symbols for example).
15789 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15792 hpux9* | hpux10* | hpux11*)
15793 lt_prog_compiler_wl_F77='-Wl,'
15794 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15795 # not for PA HP-UX.
15801 lt_prog_compiler_pic_F77='+Z'
15804 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15805 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15808 irix5* | irix6* | nonstopux*)
15809 lt_prog_compiler_wl_F77='-Wl,'
15810 # PIC (with -KPIC) is the default.
15811 lt_prog_compiler_static_F77='-non_shared'
15815 lt_prog_compiler_pic_F77='-KPIC'
15816 lt_prog_compiler_static_F77='-Bstatic'
15819 linux* | k*bsd*-gnu)
15820 case $cc_basename in
15822 lt_prog_compiler_wl_F77='-Wl,'
15823 lt_prog_compiler_pic_F77='-KPIC'
15824 lt_prog_compiler_static_F77='-static'
15826 pgcc* | pgf77* | pgf90* | pgf95*)
15827 # Portland Group compilers (*not* the Pentium gcc compiler,
15828 # which looks to be a dead project)
15829 lt_prog_compiler_wl_F77='-Wl,'
15830 lt_prog_compiler_pic_F77='-fpic'
15831 lt_prog_compiler_static_F77='-Bstatic'
15834 lt_prog_compiler_wl_F77='-Wl,'
15835 # All Alpha code is PIC.
15836 lt_prog_compiler_static_F77='-non_shared'
15839 case `$CC -V 2>&1 | sed 5q` in
15842 lt_prog_compiler_pic_F77='-KPIC'
15843 lt_prog_compiler_static_F77='-Bstatic'
15844 lt_prog_compiler_wl_F77='-Wl,'
15847 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15848 lt_prog_compiler_pic_F77='-KPIC'
15849 lt_prog_compiler_static_F77='-Bstatic'
15850 lt_prog_compiler_wl_F77=''
15857 osf3* | osf4* | osf5*)
15858 lt_prog_compiler_wl_F77='-Wl,'
15859 # All OSF/1 code is PIC.
15860 lt_prog_compiler_static_F77='-non_shared'
15864 lt_prog_compiler_static_F77='-non_shared'
15868 lt_prog_compiler_pic_F77='-KPIC'
15869 lt_prog_compiler_static_F77='-Bstatic'
15870 case $cc_basename in
15871 f77* | f90* | f95*)
15872 lt_prog_compiler_wl_F77='-Qoption ld ';;
15874 lt_prog_compiler_wl_F77='-Wl,';;
15879 lt_prog_compiler_wl_F77='-Qoption ld '
15880 lt_prog_compiler_pic_F77='-PIC'
15881 lt_prog_compiler_static_F77='-Bstatic'
15884 sysv4 | sysv4.2uw2* | sysv4.3*)
15885 lt_prog_compiler_wl_F77='-Wl,'
15886 lt_prog_compiler_pic_F77='-KPIC'
15887 lt_prog_compiler_static_F77='-Bstatic'
15891 if test -d /usr/nec ;then
15892 lt_prog_compiler_pic_F77='-Kconform_pic'
15893 lt_prog_compiler_static_F77='-Bstatic'
15897 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15898 lt_prog_compiler_wl_F77='-Wl,'
15899 lt_prog_compiler_pic_F77='-KPIC'
15900 lt_prog_compiler_static_F77='-Bstatic'
15904 lt_prog_compiler_wl_F77='-Wl,'
15905 lt_prog_compiler_can_build_shared_F77=no
15909 lt_prog_compiler_pic_F77='-pic'
15910 lt_prog_compiler_static_F77='-Bstatic'
15914 lt_prog_compiler_can_build_shared_F77=no
15919 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15920 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15923 # Check to make sure the PIC flag actually works.
15925 if test -n "$lt_prog_compiler_pic_F77"; then
15927 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15928 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15929 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 lt_cv_prog_compiler_pic_works_F77=no
15933 ac_outfile=conftest.$ac_objext
15934 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15935 lt_compiler_flag="$lt_prog_compiler_pic_F77"
15936 # Insert the option either (1) after the last *FLAGS variable, or
15937 # (2) before a word containing "conftest.", or (3) at the end.
15938 # Note that $ac_compile itself does not contain backslashes and begins
15939 # with a dollar sign (not a hyphen), so the echo should work correctly.
15940 # The option is referenced via a variable to avoid confusing sed.
15941 lt_compile=`echo "$ac_compile" | $SED \
15942 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15943 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15944 -e 's:$: $lt_compiler_flag:'`
15945 (eval echo "\"\$as_me:15945: $lt_compile\"" >&5)
15946 (eval "$lt_compile" 2>conftest.err)
15948 cat conftest.err >&5
15949 echo "$as_me:15949: \$? = $ac_status" >&5
15950 if (exit $ac_status) && test -s "$ac_outfile"; then
15951 # The compiler can only warn and ignore the option if not recognized
15952 # So say no if there are warnings other than the usual output.
15953 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15954 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15955 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15956 lt_cv_prog_compiler_pic_works_F77=yes
15962 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
15963 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
15965 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
15966 case $lt_prog_compiler_pic_F77 in
15968 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15971 lt_prog_compiler_pic_F77=
15972 lt_prog_compiler_can_build_shared_F77=no
15977 # For platforms which do not support PIC, -DPIC is meaningless:
15979 lt_prog_compiler_pic_F77=
15982 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15987 # Check to make sure the static flag actually works.
15989 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15990 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15991 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15992 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15995 lt_cv_prog_compiler_static_works_F77=no
15996 save_LDFLAGS="$LDFLAGS"
15997 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15998 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15999 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16000 # The linker can only warn and ignore the option if not recognized
16001 # So say no if there are warnings
16002 if test -s conftest.err; then
16003 # Append any errors to the config.log.
16004 cat conftest.err 1>&5
16005 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16006 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16007 if diff conftest.exp conftest.er2 >/dev/null; then
16008 lt_cv_prog_compiler_static_works_F77=yes
16011 lt_cv_prog_compiler_static_works_F77=yes
16015 LDFLAGS="$save_LDFLAGS"
16018 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
16019 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
16021 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
16024 lt_prog_compiler_static_F77=
16028 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16029 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16030 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 lt_cv_prog_compiler_c_o_F77=no
16034 $rm -r conftest 2>/dev/null
16038 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16040 lt_compiler_flag="-o out/conftest2.$ac_objext"
16041 # Insert the option either (1) after the last *FLAGS variable, or
16042 # (2) before a word containing "conftest.", or (3) at the end.
16043 # Note that $ac_compile itself does not contain backslashes and begins
16044 # with a dollar sign (not a hyphen), so the echo should work correctly.
16045 lt_compile=`echo "$ac_compile" | $SED \
16046 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16047 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16048 -e 's:$: $lt_compiler_flag:'`
16049 (eval echo "\"\$as_me:16049: $lt_compile\"" >&5)
16050 (eval "$lt_compile" 2>out/conftest.err)
16052 cat out/conftest.err >&5
16053 echo "$as_me:16053: \$? = $ac_status" >&5
16054 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16056 # The compiler can only warn and ignore the option if not recognized
16057 # So say no if there are warnings
16058 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16059 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16060 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16061 lt_cv_prog_compiler_c_o_F77=yes
16066 # SGI C++ compiler will create directory out/ii_files/ for
16067 # template instantiation
16068 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16069 $rm out/* && rmdir out
16075 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16076 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16079 hard_links="nottested"
16080 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16081 # do not overwrite the value of need_locks provided by the user
16082 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16083 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16086 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16088 ln conftest.a conftest.b 2>&5 || hard_links=no
16089 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16090 { echo "$as_me:$LINENO: result: $hard_links" >&5
16091 echo "${ECHO_T}$hard_links" >&6; }
16092 if test "$hard_links" = no; then
16093 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16094 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16101 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16102 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16105 allow_undefined_flag_F77=
16106 enable_shared_with_static_runtimes_F77=no
16108 archive_expsym_cmds_F77=
16109 old_archive_From_new_cmds_F77=
16110 old_archive_from_expsyms_cmds_F77=
16111 export_dynamic_flag_spec_F77=
16112 whole_archive_flag_spec_F77=
16113 thread_safe_flag_spec_F77=
16114 hardcode_libdir_flag_spec_F77=
16115 hardcode_libdir_flag_spec_ld_F77=
16116 hardcode_libdir_separator_F77=
16117 hardcode_direct_F77=no
16118 hardcode_minus_L_F77=no
16119 hardcode_shlibpath_var_F77=unsupported
16120 link_all_deplibs_F77=unknown
16121 hardcode_automatic_F77=no
16123 module_expsym_cmds_F77=
16124 always_export_symbols_F77=no
16125 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16126 # include_expsyms should be a list of space-separated symbols to be *always*
16127 # included in the symbol list
16128 include_expsyms_F77=
16129 # exclude_expsyms can be an extended regexp of symbols to exclude
16130 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16131 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16132 # as well as any symbol that contains `d'.
16133 exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16134 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16135 # platforms (ab)use it in PIC code, but their linkers get confused if
16136 # the symbol is explicitly referenced. Since portable code cannot
16137 # rely on this symbol name, it's probably fine to never include it in
16138 # preloaded symbol tables.
16139 # Exclude shared library initialization/finalization symbols.
16140 extract_expsyms_cmds=
16141 # Just being paranoid about ensuring that cc_basename is set.
16142 for cc_temp in $compiler""; do
16144 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16145 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16150 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16153 cygwin* | mingw* | pw32*)
16154 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16155 # When not using gcc, we currently assume that we are using
16156 # Microsoft Visual C++.
16157 if test "$GCC" != yes; then
16162 # we just hope/assume this is gcc and not c89 (= MSVC++)
16171 if test "$with_gnu_ld" = yes; then
16172 # If archive_cmds runs LD, not CC, wlarc should be empty
16175 # Set some defaults for GNU ld with shared library support. These
16176 # are reset later if shared libraries are not supported. Putting them
16177 # here allows them to be overridden if necessary.
16178 runpath_var=LD_RUN_PATH
16179 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
16180 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
16181 # ancient GNU ld didn't support --whole-archive et. al.
16182 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16183 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16185 whole_archive_flag_spec_F77=
16187 supports_anon_versioning=no
16188 case `$LD -v 2>/dev/null` in
16189 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16190 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16191 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16192 *\ 2.11.*) ;; # other 2.11 versions
16193 *) supports_anon_versioning=yes ;;
16196 # See if GNU ld supports shared libraries.
16199 # On AIX/PPC, the GNU linker is very broken
16200 if test "$host_cpu" != ia64; then
16204 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16205 *** to be unable to reliably create shared libraries on AIX.
16206 *** Therefore, libtool is disabling shared libraries support. If you
16207 *** really care for shared libraries, you may want to modify your PATH
16208 *** so that a non-GNU linker is found, and then restart.
16215 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16216 hardcode_libdir_flag_spec_F77='-L$libdir'
16217 hardcode_minus_L_F77=yes
16219 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16220 # that the semantics of dynamic libraries on AmigaOS, at least up
16221 # to version 4, is to share data among multiple programs linked
16222 # with the same dynamic library. Since this doesn't match the
16223 # behavior of shared libraries on other platforms, we can't use
16229 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16230 allow_undefined_flag_F77=unsupported
16231 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16232 # support --undefined. This deserves some investigation. FIXME
16233 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16239 cygwin* | mingw* | pw32*)
16240 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16241 # as there is no search path for DLLs.
16242 hardcode_libdir_flag_spec_F77='-L$libdir'
16243 allow_undefined_flag_F77=unsupported
16244 always_export_symbols_F77=no
16245 enable_shared_with_static_runtimes_F77=yes
16246 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16248 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16249 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16250 # If the export-symbols file already is a .def file (1st line
16251 # is EXPORTS), use it as is; otherwise, prepend...
16252 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16253 cp $export_symbols $output_objdir/$soname.def;
16255 echo EXPORTS > $output_objdir/$soname.def;
16256 cat $export_symbols >> $output_objdir/$soname.def;
16258 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16265 hardcode_direct_F77=no
16266 hardcode_shlibpath_var_F77=no
16267 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16268 export_dynamic_flag_spec_F77='${wl}-E'
16269 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16270 # Instead, shared libraries are loaded at an image base (0x10000000 by
16271 # default) and relocated if they conflict, which is a slow very memory
16272 # consuming and fragmenting process. To avoid this, we pick a random,
16273 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16274 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16275 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16276 archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16279 gnu* | linux* | k*bsd*-gnu)
16280 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16282 case $cc_basename,$host_cpu in
16283 pgcc*) # Portland Group C compiler
16284 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16285 tmp_addflag=' $pic_flag'
16287 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
16288 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16289 tmp_addflag=' $pic_flag -Mnomain' ;;
16290 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
16291 tmp_addflag=' -i_dynamic' ;;
16292 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
16293 tmp_addflag=' -i_dynamic -nofor_main' ;;
16294 ifc* | ifort*) # Intel Fortran compiler
16295 tmp_addflag=' -nofor_main' ;;
16297 case `$CC -V 2>&1 | sed 5q` in
16298 *Sun\ C*) # Sun C 5.9
16299 whole_archive_flag_spec_F77='${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'
16300 tmp_sharedflag='-G' ;;
16301 *Sun\ F*) # Sun Fortran 8.3
16302 tmp_sharedflag='-G' ;;
16304 tmp_sharedflag='-shared' ;;
16306 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16308 if test $supports_anon_versioning = yes; then
16309 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
16310 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16311 $echo "local: *; };" >> $output_objdir/$libname.ver~
16312 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16320 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16321 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16324 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16325 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16330 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16335 *** create shared libraries on Solaris systems. Therefore, libtool
16336 *** is disabling shared libraries support. We urge you to upgrade GNU
16337 *** binutils to release 2.9.1 or newer. Another option is to modify
16338 *** your PATH or compiler configuration so that the native linker is
16339 *** used, and then restart.
16342 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16343 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16344 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16350 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16351 case `$LD -v 2>&1` in
16352 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16357 *** reliably create shared libraries on SCO systems. Therefore, libtool
16358 *** is disabling shared libraries support. We urge you to upgrade GNU
16359 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16360 *** your PATH or compiler configuration so that the native linker is
16361 *** used, and then restart.
16366 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16367 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16368 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16369 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16378 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16380 hardcode_direct_F77=yes
16381 hardcode_shlibpath_var_F77=no
16385 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16386 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16387 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16394 if test "$ld_shlibs_F77" = no; then
16396 hardcode_libdir_flag_spec_F77=
16397 export_dynamic_flag_spec_F77=
16398 whole_archive_flag_spec_F77=
16401 # PORTME fill in a description of your system's linker (not GNU ld)
16404 allow_undefined_flag_F77=unsupported
16405 always_export_symbols_F77=yes
16406 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16407 # Note: this linker hardcodes the directories in LIBPATH if there
16408 # are no directories specified by -L.
16409 hardcode_minus_L_F77=yes
16410 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16411 # Neither direct hardcoding nor static linking is supported with a
16413 hardcode_direct_F77=unsupported
16418 if test "$host_cpu" = ia64; then
16419 # On IA64, the linker does run time linking by default, so we don't
16420 # have to do anything special.
16421 aix_use_runtimelinking=no
16422 exp_sym_flag='-Bexport'
16425 # If we're using GNU nm, then we don't want the "-C" option.
16426 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16427 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16428 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16430 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16432 aix_use_runtimelinking=no
16434 # Test if we are trying to use run time linking or normal
16435 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16436 # need to do runtime linking.
16437 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16438 for ld_flag in $LDFLAGS; do
16439 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16440 aix_use_runtimelinking=yes
16447 exp_sym_flag='-bexport'
16448 no_entry_flag='-bnoentry'
16451 # When large executables or shared objects are built, AIX ld can
16452 # have problems creating the table of contents. If linking a library
16453 # or program results in "error TOC overflow" add -mminimal-toc to
16454 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16455 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16457 archive_cmds_F77=''
16458 hardcode_direct_F77=yes
16459 hardcode_libdir_separator_F77=':'
16460 link_all_deplibs_F77=yes
16462 if test "$GCC" = yes; then
16463 case $host_os in aix4.[012]|aix4.[012].*)
16464 # We only want to do this on AIX 4.2 and lower, the check
16465 # below for broken collect2 doesn't work under 4.3+
16466 collect2name=`${CC} -print-prog-name=collect2`
16467 if test -f "$collect2name" && \
16468 strings "$collect2name" | grep resolve_lib_name >/dev/null
16470 # We have reworked collect2
16473 # We have old collect2
16474 hardcode_direct_F77=unsupported
16475 # It fails to find uninstalled libraries when the uninstalled
16476 # path is not listed in the libpath. Setting hardcode_minus_L
16477 # to unsupported forces relinking
16478 hardcode_minus_L_F77=yes
16479 hardcode_libdir_flag_spec_F77='-L$libdir'
16480 hardcode_libdir_separator_F77=
16484 shared_flag='-shared'
16485 if test "$aix_use_runtimelinking" = yes; then
16486 shared_flag="$shared_flag "'${wl}-G'
16490 if test "$host_cpu" = ia64; then
16491 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16492 # chokes on -Wl,-G. The following line is correct:
16495 if test "$aix_use_runtimelinking" = yes; then
16496 shared_flag='${wl}-G'
16498 shared_flag='${wl}-bM:SRE'
16503 # It seems that -bexpall does not export symbols beginning with
16504 # underscore (_), so it is better to generate a list of symbols to export.
16505 always_export_symbols_F77=yes
16506 if test "$aix_use_runtimelinking" = yes; then
16507 # Warning - without using the other runtime loading flags (-brtl),
16508 # -berok will link without error, but may produce a broken library.
16509 allow_undefined_flag_F77='-berok'
16510 # Determine the default libpath from the value encoded in an empty executable.
16511 cat >conftest.$ac_ext <<_ACEOF
16516 rm -f conftest.$ac_objext conftest$ac_exeext
16517 if { (ac_try="$ac_link"
16518 case "(($ac_try" in
16519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16520 *) ac_try_echo=$ac_try;;
16522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16523 (eval "$ac_link") 2>conftest.er1
16525 grep -v '^ *+' conftest.er1 >conftest.err
16527 cat conftest.err >&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); } && {
16530 test -z "$ac_f77_werror_flag" ||
16531 test ! -s conftest.err
16532 } && test -s conftest$ac_exeext &&
16533 $as_test_x conftest$ac_exeext; then
16535 lt_aix_libpath_sed='
16536 /Import File Strings/,/^$/ {
16542 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16543 # Check for a 64-bit object if we didn't find anything.
16544 if test -z "$aix_libpath"; then
16545 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16548 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.$ac_ext >&5
16554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16555 conftest$ac_exeext conftest.$ac_ext
16556 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16558 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16559 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16561 if test "$host_cpu" = ia64; then
16562 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16563 allow_undefined_flag_F77="-z nodefs"
16564 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16566 # Determine the default libpath from the value encoded in an empty executable.
16567 cat >conftest.$ac_ext <<_ACEOF
16572 rm -f conftest.$ac_objext conftest$ac_exeext
16573 if { (ac_try="$ac_link"
16574 case "(($ac_try" in
16575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16576 *) ac_try_echo=$ac_try;;
16578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16579 (eval "$ac_link") 2>conftest.er1
16581 grep -v '^ *+' conftest.er1 >conftest.err
16583 cat conftest.err >&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } && {
16586 test -z "$ac_f77_werror_flag" ||
16587 test ! -s conftest.err
16588 } && test -s conftest$ac_exeext &&
16589 $as_test_x conftest$ac_exeext; then
16591 lt_aix_libpath_sed='
16592 /Import File Strings/,/^$/ {
16598 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16599 # Check for a 64-bit object if we didn't find anything.
16600 if test -z "$aix_libpath"; then
16601 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16604 echo "$as_me: failed program was:" >&5
16605 sed 's/^/| /' conftest.$ac_ext >&5
16610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16611 conftest$ac_exeext conftest.$ac_ext
16612 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16614 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16615 # Warning - without using the other run time loading flags,
16616 # -berok will link without error, but may produce a broken library.
16617 no_undefined_flag_F77=' ${wl}-bernotok'
16618 allow_undefined_flag_F77=' ${wl}-berok'
16619 # Exported symbols can be pulled into shared objects from archives
16620 whole_archive_flag_spec_F77='$convenience'
16621 archive_cmds_need_lc_F77=yes
16622 # This is similar to how AIX traditionally builds its shared libraries.
16623 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16629 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16630 hardcode_libdir_flag_spec_F77='-L$libdir'
16631 hardcode_minus_L_F77=yes
16632 # see comment about different semantics on the GNU ld section
16637 export_dynamic_flag_spec_F77=-rdynamic
16640 cygwin* | mingw* | pw32*)
16641 # When not using gcc, we currently assume that we are using
16642 # Microsoft Visual C++.
16643 # hardcode_libdir_flag_spec is actually meaningless, as there is
16644 # no search path for DLLs.
16645 hardcode_libdir_flag_spec_F77=' '
16646 allow_undefined_flag_F77=unsupported
16647 # Tell ltmain to make .lib files, not .a files.
16649 # Tell ltmain to make .dll files, not .so files.
16651 # FIXME: Setting linknames here is a bad hack.
16652 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16653 # The linker will automatically build a .lib file if we build a DLL.
16654 old_archive_From_new_cmds_F77='true'
16655 # FIXME: Should let the user specify the lib program.
16656 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16657 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16658 enable_shared_with_static_runtimes_F77=yes
16661 darwin* | rhapsody*)
16663 rhapsody* | darwin1.[012])
16664 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
16667 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16668 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16670 case ${MACOSX_DEPLOYMENT_TARGET} in
16672 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16675 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
16681 archive_cmds_need_lc_F77=no
16682 hardcode_direct_F77=no
16683 hardcode_automatic_F77=yes
16684 hardcode_shlibpath_var_F77=unsupported
16685 whole_archive_flag_spec_F77=''
16686 link_all_deplibs_F77=yes
16687 if test "$GCC" = yes ; then
16688 output_verbose_link_cmd='echo'
16689 archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16690 module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16691 archive_expsym_cmds_F77="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}"
16692 module_expsym_cmds_F77="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}"
16694 case $cc_basename in
16696 output_verbose_link_cmd='echo'
16697 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16698 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16699 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16700 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16701 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16711 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16712 hardcode_libdir_flag_spec_F77='-L$libdir'
16713 hardcode_shlibpath_var_F77=no
16720 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16721 # support. Future versions do this automatically, but an explicit c++rt0.o
16722 # does not break anything, and helps significantly (at the cost of a little
16725 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16726 hardcode_libdir_flag_spec_F77='-R$libdir'
16727 hardcode_direct_F77=yes
16728 hardcode_shlibpath_var_F77=no
16731 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16733 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16734 hardcode_direct_F77=yes
16735 hardcode_minus_L_F77=yes
16736 hardcode_shlibpath_var_F77=no
16739 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16740 freebsd* | dragonfly*)
16741 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16742 hardcode_libdir_flag_spec_F77='-R$libdir'
16743 hardcode_direct_F77=yes
16744 hardcode_shlibpath_var_F77=no
16748 if test "$GCC" = yes; then
16749 archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16751 archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16753 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16754 hardcode_libdir_separator_F77=:
16755 hardcode_direct_F77=yes
16757 # hardcode_minus_L: Not really in the search PATH,
16758 # but as the default location of the library.
16759 hardcode_minus_L_F77=yes
16760 export_dynamic_flag_spec_F77='${wl}-E'
16764 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16765 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16767 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16769 if test "$with_gnu_ld" = no; then
16770 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16771 hardcode_libdir_separator_F77=:
16773 hardcode_direct_F77=yes
16774 export_dynamic_flag_spec_F77='${wl}-E'
16776 # hardcode_minus_L: Not really in the search PATH,
16777 # but as the default location of the library.
16778 hardcode_minus_L_F77=yes
16783 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16786 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16789 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16792 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16798 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16801 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16804 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16808 if test "$with_gnu_ld" = no; then
16809 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16810 hardcode_libdir_separator_F77=:
16814 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16815 hardcode_direct_F77=no
16816 hardcode_shlibpath_var_F77=no
16819 hardcode_direct_F77=yes
16820 export_dynamic_flag_spec_F77='${wl}-E'
16822 # hardcode_minus_L: Not really in the search PATH,
16823 # but as the default location of the library.
16824 hardcode_minus_L_F77=yes
16830 irix5* | irix6* | nonstopux*)
16831 if test "$GCC" = yes; then
16832 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16834 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16835 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16837 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16838 hardcode_libdir_separator_F77=:
16839 link_all_deplibs_F77=yes
16843 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16844 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16846 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16848 hardcode_libdir_flag_spec_F77='-R$libdir'
16849 hardcode_direct_F77=yes
16850 hardcode_shlibpath_var_F77=no
16854 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16855 hardcode_direct_F77=yes
16856 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16857 hardcode_libdir_separator_F77=:
16858 hardcode_shlibpath_var_F77=no
16862 if test -f /usr/libexec/ld.so; then
16863 hardcode_direct_F77=yes
16864 hardcode_shlibpath_var_F77=no
16865 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16866 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16867 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16868 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16869 export_dynamic_flag_spec_F77='${wl}-E'
16872 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16873 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16874 hardcode_libdir_flag_spec_F77='-R$libdir'
16877 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16878 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16888 hardcode_libdir_flag_spec_F77='-L$libdir'
16889 hardcode_minus_L_F77=yes
16890 allow_undefined_flag_F77=unsupported
16891 archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
16892 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16896 if test "$GCC" = yes; then
16897 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16898 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16900 allow_undefined_flag_F77=' -expect_unresolved \*'
16901 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16903 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16904 hardcode_libdir_separator_F77=:
16907 osf4* | osf5*) # as osf3* with the addition of -msym flag
16908 if test "$GCC" = yes; then
16909 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16910 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16911 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16913 allow_undefined_flag_F77=' -expect_unresolved \*'
16914 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16915 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16916 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16918 # Both c and cxx compiler support -rpath directly
16919 hardcode_libdir_flag_spec_F77='-rpath $libdir'
16921 hardcode_libdir_separator_F77=:
16925 no_undefined_flag_F77=' -z text'
16926 if test "$GCC" = yes; then
16928 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16929 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16930 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16933 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16934 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16935 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16937 hardcode_libdir_flag_spec_F77='-R$libdir'
16938 hardcode_shlibpath_var_F77=no
16940 solaris2.[0-5] | solaris2.[0-5].*) ;;
16942 # The compiler driver will combine and reorder linker options,
16943 # but understands `-z linker_flag'. GCC discards it without `$wl',
16944 # but is careful enough not to reorder.
16945 # Supported since Solaris 2.6 (maybe 2.5.1?)
16946 if test "$GCC" = yes; then
16947 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16949 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16953 link_all_deplibs_F77=yes
16957 if test "x$host_vendor" = xsequent; then
16958 # Use $CC to link under sequent, because it throws in some extra .o
16959 # files that make .init and .fini sections work.
16960 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16962 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16964 hardcode_libdir_flag_spec_F77='-L$libdir'
16965 hardcode_direct_F77=yes
16966 hardcode_minus_L_F77=yes
16967 hardcode_shlibpath_var_F77=no
16971 case $host_vendor in
16973 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16974 hardcode_direct_F77=yes # is this really true???
16977 ## LD is ld it makes a PLAMLIB
16978 ## CC just makes a GrossModule.
16979 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16980 reload_cmds_F77='$CC -r -o $output$reload_objs'
16981 hardcode_direct_F77=no
16984 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16985 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16988 runpath_var='LD_RUN_PATH'
16989 hardcode_shlibpath_var_F77=no
16993 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16994 hardcode_shlibpath_var_F77=no
16995 export_dynamic_flag_spec_F77='-Bexport'
16999 if test -d /usr/nec; then
17000 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17001 hardcode_shlibpath_var_F77=no
17002 runpath_var=LD_RUN_PATH
17003 hardcode_runpath_var=yes
17008 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17009 no_undefined_flag_F77='${wl}-z,text'
17010 archive_cmds_need_lc_F77=no
17011 hardcode_shlibpath_var_F77=no
17012 runpath_var='LD_RUN_PATH'
17014 if test "$GCC" = yes; then
17015 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17016 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17018 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17019 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17023 sysv5* | sco3.2v5* | sco5v6*)
17024 # Note: We can NOT use -z defs as we might desire, because we do not
17025 # link with -lc, and that would cause any symbols used from libc to
17026 # always be unresolved, which means just about no library would
17027 # ever link correctly. If we're not using GNU ld we use -z text
17028 # though, which does catch some bad symbols but isn't as heavy-handed
17030 no_undefined_flag_F77='${wl}-z,text'
17031 allow_undefined_flag_F77='${wl}-z,nodefs'
17032 archive_cmds_need_lc_F77=no
17033 hardcode_shlibpath_var_F77=no
17034 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17035 hardcode_libdir_separator_F77=':'
17036 link_all_deplibs_F77=yes
17037 export_dynamic_flag_spec_F77='${wl}-Bexport'
17038 runpath_var='LD_RUN_PATH'
17040 if test "$GCC" = yes; then
17041 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17042 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17044 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17045 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17050 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17051 hardcode_libdir_flag_spec_F77='-L$libdir'
17052 hardcode_shlibpath_var_F77=no
17061 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17062 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17063 test "$ld_shlibs_F77" = no && can_build_shared=no
17066 # Do we need to explicitly link libc?
17068 case "x$archive_cmds_need_lc_F77" in
17070 # Assume -lc should be added
17071 archive_cmds_need_lc_F77=yes
17073 if test "$enable_shared" = yes && test "$GCC" = yes; then
17074 case $archive_cmds_F77 in
17076 # FIXME: we may have to deal with multi-command sequences.
17079 # Test whether the compiler implicitly links with -lc since on some
17080 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17081 # to ld, don't add -lc before -lgcc.
17082 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17083 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17085 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); } 2>conftest.err; then
17094 libobjs=conftest.$ac_objext
17096 wl=$lt_prog_compiler_wl_F77
17097 pic_flag=$lt_prog_compiler_pic_F77
17103 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
17104 allow_undefined_flag_F77=
17105 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17106 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }
17111 archive_cmds_need_lc_F77=no
17113 archive_cmds_need_lc_F77=yes
17115 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
17117 cat conftest.err 1>&5
17120 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17121 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17128 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17129 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17130 library_names_spec=
17131 libname_spec='lib$name'
17135 postuninstall_cmds=
17139 shlibpath_overrides_runpath=unknown
17141 dynamic_linker="$host_os ld.so"
17142 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17144 need_lib_prefix=unknown
17145 hardcode_into_libs=no
17147 # when you set need_version to no, make sure it does not cause -set_version
17148 # flags to be left without arguments
17149 need_version=unknown
17154 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17155 shlibpath_var=LIBPATH
17157 # AIX 3 has no versioning support, so we append a major version to the name.
17158 soname_spec='${libname}${release}${shared_ext}$major'
17165 hardcode_into_libs=yes
17166 if test "$host_cpu" = ia64; then
17167 # AIX 5 supports IA64
17168 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17169 shlibpath_var=LD_LIBRARY_PATH
17171 # With GCC up to 2.95.x, collect2 would create an import file
17172 # for dependence libraries. The import file would start with
17173 # the line `#! .'. This would cause the generated library to
17174 # depend on `.', always an invalid library. This was fixed in
17175 # development snapshots of GCC prior to 3.0.
17177 aix4 | aix4.[01] | aix4.[01].*)
17178 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17180 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17183 can_build_shared=no
17187 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17188 # soname into executable. Probably we can add versioning support to
17189 # collect2, so additional links can be useful in future.
17190 if test "$aix_use_runtimelinking" = yes; then
17191 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17192 # instead of lib<name>.a to let people know that these are not
17193 # typical AIX shared libraries.
17194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17196 # We preserve .a as extension for shared libraries through AIX4.2
17197 # and later when we are not doing run time linking.
17198 library_names_spec='${libname}${release}.a $libname.a'
17199 soname_spec='${libname}${release}${shared_ext}$major'
17201 shlibpath_var=LIBPATH
17206 library_names_spec='$libname.ixlibrary $libname.a'
17207 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17208 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'
17212 library_names_spec='${libname}${shared_ext}'
17213 dynamic_linker="$host_os ld.so"
17214 shlibpath_var=LIBRARY_PATH
17220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17221 soname_spec='${libname}${release}${shared_ext}$major'
17222 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17223 shlibpath_var=LD_LIBRARY_PATH
17224 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17225 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17226 # the default ld.so.conf also contains /usr/contrib/lib and
17227 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17228 # libtool to hard-code these into programs
17231 cygwin* | mingw* | pw32*)
17232 version_type=windows
17237 case $GCC,$host_os in
17238 yes,cygwin* | yes,mingw* | yes,pw32*)
17239 library_names_spec='$libname.dll.a'
17240 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17241 postinstall_cmds='base_file=`basename \${file}`~
17242 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17243 dldir=$destdir/`dirname \$dlpath`~
17244 test -d \$dldir || mkdir -p \$dldir~
17245 $install_prog $dir/$dlname \$dldir/$dlname~
17246 chmod a+x \$dldir/$dlname'
17247 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17248 dlpath=$dir/\$dldll~
17250 shlibpath_overrides_runpath=yes
17254 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17255 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17256 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17259 # MinGW DLLs use traditional 'lib' prefix
17260 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17261 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17262 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17263 # It is most probably a Windows format PATH printed by
17264 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17265 # path with ; separators, and with drive letters. We can handle the
17266 # drive letters (cygwin fileutils understands them), so leave them,
17267 # especially as we might pass files found there to a mingw objdump,
17268 # which wouldn't understand a cygwinified path. Ahh.
17269 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17271 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17275 # pw32 DLLs use 'pw' prefix rather than 'lib'
17276 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17282 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17285 dynamic_linker='Win32 ld.exe'
17286 # FIXME: first we should search . and the directory the executable is in
17290 darwin* | rhapsody*)
17291 dynamic_linker="$host_os dyld"
17292 version_type=darwin
17295 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17296 soname_spec='${libname}${release}${major}$shared_ext'
17297 shlibpath_overrides_runpath=yes
17298 shlibpath_var=DYLD_LIBRARY_PATH
17299 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17301 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17309 soname_spec='${libname}${release}${shared_ext}$major'
17310 shlibpath_var=LD_LIBRARY_PATH
17317 freebsd* | dragonfly*)
17318 # DragonFly does not have aout. When/if they implement a new
17319 # versioning mechanism, adjust this.
17320 if test -x /usr/bin/objformat; then
17321 objformat=`/usr/bin/objformat`
17324 freebsd[123]*) objformat=aout ;;
17325 *) objformat=elf ;;
17328 # Handle Gentoo/FreeBSD as it was Linux
17329 case $host_vendor in
17331 version_type=linux ;;
17333 version_type=freebsd-$objformat ;;
17336 case $version_type in
17338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17343 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17348 soname_spec='${libname}${release}${shared_ext}$major'
17353 shlibpath_var=LD_LIBRARY_PATH
17356 shlibpath_overrides_runpath=yes
17358 freebsd3.[01]* | freebsdelf3.[01]*)
17359 shlibpath_overrides_runpath=yes
17360 hardcode_into_libs=yes
17362 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17363 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17364 shlibpath_overrides_runpath=no
17365 hardcode_into_libs=yes
17367 *) # from 4.6 on, and DragonFly
17368 shlibpath_overrides_runpath=yes
17369 hardcode_into_libs=yes
17378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17379 soname_spec='${libname}${release}${shared_ext}$major'
17380 shlibpath_var=LD_LIBRARY_PATH
17381 hardcode_into_libs=yes
17384 hpux9* | hpux10* | hpux11*)
17385 # Give a soname corresponding to the major version so that dld.sl refuses to
17386 # link against other versions.
17393 hardcode_into_libs=yes
17394 dynamic_linker="$host_os dld.so"
17395 shlibpath_var=LD_LIBRARY_PATH
17396 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17398 soname_spec='${libname}${release}${shared_ext}$major'
17399 if test "X$HPUX_IA64_MODE" = X32; then
17400 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17402 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17404 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17408 hardcode_into_libs=yes
17409 dynamic_linker="$host_os dld.sl"
17410 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17411 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17413 soname_spec='${libname}${release}${shared_ext}$major'
17414 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17415 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17419 dynamic_linker="$host_os dld.sl"
17420 shlibpath_var=SHLIB_PATH
17421 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17423 soname_spec='${libname}${release}${shared_ext}$major'
17426 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17427 postinstall_cmds='chmod 555 $lib'
17434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17435 soname_spec='${libname}${release}${shared_ext}$major'
17436 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17437 shlibpath_var=LD_LIBRARY_PATH
17438 shlibpath_overrides_runpath=no
17439 hardcode_into_libs=yes
17442 irix5* | irix6* | nonstopux*)
17444 nonstopux*) version_type=nonstopux ;;
17446 if test "$lt_cv_prog_gnu_ld" = yes; then
17454 soname_spec='${libname}${release}${shared_ext}$major'
17455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17457 irix5* | nonstopux*)
17458 libsuff= shlibsuff=
17461 case $LD in # libtool.m4 will add one of these switches to LD
17462 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17463 libsuff= shlibsuff= libmagic=32-bit;;
17464 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17465 libsuff=32 shlibsuff=N32 libmagic=N32;;
17466 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17467 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17468 *) libsuff= shlibsuff= libmagic=never-match;;
17472 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17473 shlibpath_overrides_runpath=no
17474 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17475 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17476 hardcode_into_libs=yes
17479 # No shared lib support for Linux oldld, aout, or coff.
17480 linux*oldld* | linux*aout* | linux*coff*)
17484 # This must be Linux ELF.
17485 linux* | k*bsd*-gnu)
17489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17490 soname_spec='${libname}${release}${shared_ext}$major'
17491 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17492 shlibpath_var=LD_LIBRARY_PATH
17493 shlibpath_overrides_runpath=no
17494 # This implies no fast_install, which is unacceptable.
17495 # Some rework will be needed to allow for fast_install
17496 # before this can be enabled.
17497 hardcode_into_libs=yes
17499 # Append ld.so.conf contents to the search path
17500 if test -f /etc/ld.so.conf; then
17501 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' ' '`
17502 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17505 # We used to test for /lib/ld.so.1 and disable shared libraries on
17506 # powerpc, because MkLinux only supported shared libraries with the
17507 # GNU dynamic linker. Since this was broken with cross compilers,
17508 # most powerpc-linux boxes support dynamic linking these days and
17509 # people can always --disable-shared, the test was removed, and we
17510 # assume the GNU/Linux dynamic linker is in use.
17511 dynamic_linker='GNU/Linux ld.so'
17518 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17520 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17521 dynamic_linker='NetBSD (a.out) ld.so'
17523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17524 soname_spec='${libname}${release}${shared_ext}$major'
17525 dynamic_linker='NetBSD ld.elf_so'
17527 shlibpath_var=LD_LIBRARY_PATH
17528 shlibpath_overrides_runpath=yes
17529 hardcode_into_libs=yes
17534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17535 shlibpath_var=LD_LIBRARY_PATH
17536 shlibpath_overrides_runpath=yes
17543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17544 soname_spec='${libname}${release}${shared_ext}$major'
17545 shlibpath_var=LD_LIBRARY_PATH
17546 shlibpath_overrides_runpath=yes
17551 sys_lib_dlsearch_path_spec="/usr/lib"
17553 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17555 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17556 *) need_version=no ;;
17558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17559 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17560 shlibpath_var=LD_LIBRARY_PATH
17561 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17563 openbsd2.[89] | openbsd2.[89].*)
17564 shlibpath_overrides_runpath=no
17567 shlibpath_overrides_runpath=yes
17571 shlibpath_overrides_runpath=yes
17576 libname_spec='$name'
17579 library_names_spec='$libname${shared_ext} $libname.a'
17580 dynamic_linker='OS/2 ld.exe'
17581 shlibpath_var=LIBPATH
17584 osf3* | osf4* | osf5*)
17588 soname_spec='${libname}${release}${shared_ext}$major'
17589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17590 shlibpath_var=LD_LIBRARY_PATH
17591 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17592 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17604 soname_spec='${libname}${release}${shared_ext}$major'
17605 shlibpath_var=LD_LIBRARY_PATH
17606 shlibpath_overrides_runpath=yes
17607 hardcode_into_libs=yes
17608 # ldd complains unless libraries are executable
17609 postinstall_cmds='chmod +x $lib'
17614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17615 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17616 shlibpath_var=LD_LIBRARY_PATH
17617 shlibpath_overrides_runpath=yes
17618 if test "$with_gnu_ld" = yes; then
17626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17627 soname_spec='${libname}${release}${shared_ext}$major'
17628 shlibpath_var=LD_LIBRARY_PATH
17629 case $host_vendor in
17631 shlibpath_overrides_runpath=no
17633 export_dynamic_flag_spec='${wl}-Blargedynsym'
17634 runpath_var=LD_RUN_PATH
17642 shlibpath_overrides_runpath=no
17643 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17649 if test -d /usr/nec ;then
17651 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17652 soname_spec='$libname${shared_ext}.$major'
17653 shlibpath_var=LD_LIBRARY_PATH
17657 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17658 version_type=freebsd-elf
17661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17662 soname_spec='${libname}${release}${shared_ext}$major'
17663 shlibpath_var=LD_LIBRARY_PATH
17664 hardcode_into_libs=yes
17665 if test "$with_gnu_ld" = yes; then
17666 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17667 shlibpath_overrides_runpath=no
17669 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17670 shlibpath_overrides_runpath=yes
17673 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17677 sys_lib_dlsearch_path_spec='/usr/lib'
17682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17683 soname_spec='${libname}${release}${shared_ext}$major'
17684 shlibpath_var=LD_LIBRARY_PATH
17691 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17692 echo "${ECHO_T}$dynamic_linker" >&6; }
17693 test "$dynamic_linker" = no && can_build_shared=no
17695 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17696 echo $ECHO_N "(cached) $ECHO_C" >&6
17698 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
17701 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17702 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17703 echo $ECHO_N "(cached) $ECHO_C" >&6
17705 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
17708 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17710 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17711 if test "$GCC" = yes; then
17712 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17715 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17716 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17717 hardcode_action_F77=
17718 if test -n "$hardcode_libdir_flag_spec_F77" || \
17719 test -n "$runpath_var_F77" || \
17720 test "X$hardcode_automatic_F77" = "Xyes" ; then
17722 # We can hardcode non-existant directories.
17723 if test "$hardcode_direct_F77" != no &&
17724 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17725 # have to relink, otherwise we might link with an installed library
17726 # when we should be linking with a yet-to-be-installed one
17727 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17728 test "$hardcode_minus_L_F77" != no; then
17729 # Linking always hardcodes the temporary library directory.
17730 hardcode_action_F77=relink
17732 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17733 hardcode_action_F77=immediate
17736 # We cannot hardcode anything, or else we can only hardcode existing
17738 hardcode_action_F77=unsupported
17740 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17741 echo "${ECHO_T}$hardcode_action_F77" >&6; }
17743 if test "$hardcode_action_F77" = relink; then
17744 # Fast installation is not supported
17745 enable_fast_install=no
17746 elif test "$shlibpath_overrides_runpath" = yes ||
17747 test "$enable_shared" = no; then
17748 # Fast installation is not necessary
17749 enable_fast_install=needless
17753 # The else clause should only fire when bootstrapping the
17754 # libtool distribution, otherwise you forgot to ship ltmain.sh
17755 # with your package, and you will get complaints that there are
17756 # no rules to generate ltmain.sh.
17757 if test -f "$ltmain"; then
17758 # See if we are running on zsh, and set the options which allow our commands through
17759 # without removal of \ escapes.
17760 if test -n "${ZSH_VERSION+set}" ; then
17761 setopt NO_GLOB_SUBST
17763 # Now quote all the things that may contain metacharacters while being
17764 # careful not to overquote the AC_SUBSTed values. We take copies of the
17765 # variables and quote the copies for generation of the libtool script.
17766 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17768 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17769 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17770 deplibs_check_method reload_flag reload_cmds need_locks \
17771 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17772 lt_cv_sys_global_symbol_to_c_name_address \
17773 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17774 old_postinstall_cmds old_postuninstall_cmds \
17778 lt_prog_compiler_wl_F77 \
17779 lt_prog_compiler_pic_F77 \
17780 lt_prog_compiler_static_F77 \
17781 lt_prog_compiler_no_builtin_flag_F77 \
17782 export_dynamic_flag_spec_F77 \
17783 thread_safe_flag_spec_F77 \
17784 whole_archive_flag_spec_F77 \
17785 enable_shared_with_static_runtimes_F77 \
17786 old_archive_cmds_F77 \
17787 old_archive_from_new_cmds_F77 \
17788 predep_objects_F77 \
17789 postdep_objects_F77 \
17792 compiler_lib_search_path_F77 \
17793 compiler_lib_search_dirs_F77 \
17795 archive_expsym_cmds_F77 \
17796 postinstall_cmds_F77 \
17797 postuninstall_cmds_F77 \
17798 old_archive_from_expsyms_cmds_F77 \
17799 allow_undefined_flag_F77 \
17800 no_undefined_flag_F77 \
17801 export_symbols_cmds_F77 \
17802 hardcode_libdir_flag_spec_F77 \
17803 hardcode_libdir_flag_spec_ld_F77 \
17804 hardcode_libdir_separator_F77 \
17805 hardcode_automatic_F77 \
17807 module_expsym_cmds_F77 \
17808 lt_cv_prog_compiler_c_o_F77 \
17809 fix_srcfile_path_F77 \
17810 exclude_expsyms_F77 \
17811 include_expsyms_F77; do
17814 old_archive_cmds_F77 | \
17815 old_archive_from_new_cmds_F77 | \
17816 archive_cmds_F77 | \
17817 archive_expsym_cmds_F77 | \
17818 module_cmds_F77 | \
17819 module_expsym_cmds_F77 | \
17820 old_archive_from_expsyms_cmds_F77 | \
17821 export_symbols_cmds_F77 | \
17822 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17823 postinstall_cmds | postuninstall_cmds | \
17824 old_postinstall_cmds | old_postuninstall_cmds | \
17825 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17826 # Double-quote double-evaled strings.
17827 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17830 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17836 *'\$0 --fallback-echo"')
17837 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17843 cat <<__EOF__ >> "$cfgfile"
17844 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17846 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17848 # Shell to use when invoking shell scripts.
17851 # Whether or not to build shared libraries.
17852 build_libtool_libs=$enable_shared
17854 # Whether or not to build static libraries.
17855 build_old_libs=$enable_static
17857 # Whether or not to add -lc for building shared libraries.
17858 build_libtool_need_lc=$archive_cmds_need_lc_F77
17860 # Whether or not to disallow shared libs when runtime libs are static
17861 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17863 # Whether or not to optimize for fast installation.
17864 fast_install=$enable_fast_install
17867 host_alias=$host_alias
17871 # The build system.
17872 build_alias=$build_alias
17876 # An echo program that does not interpret backslashes.
17881 AR_FLAGS=$lt_AR_FLAGS
17886 # LTCC compiler flags.
17887 LTCFLAGS=$lt_LTCFLAGS
17889 # A language-specific compiler.
17890 CC=$lt_compiler_F77
17892 # Is the compiler the GNU C compiler?
17898 # The linker used to build libraries.
17901 # Whether we need hard or soft links.
17904 # A BSD-compatible nm program.
17907 # A symbol stripping program
17910 # Used to examine libraries when file_magic_cmd begins "file"
17911 MAGIC_CMD=$MAGIC_CMD
17913 # Used on cygwin: DLL creation program.
17916 # Used on cygwin: object dumper.
17919 # Used on cygwin: assembler.
17922 # The name of the directory that contains temporary libtool files.
17925 # How to create reloadable object files.
17926 reload_flag=$lt_reload_flag
17927 reload_cmds=$lt_reload_cmds
17929 # How to pass a linker flag through the compiler.
17930 wl=$lt_lt_prog_compiler_wl_F77
17932 # Object file suffix (normally "o").
17933 objext="$ac_objext"
17935 # Old archive suffix (normally "a").
17938 # Shared library suffix (normally ".so").
17939 shrext_cmds='$shrext_cmds'
17941 # Executable file suffix (normally "").
17944 # Additional compiler flags for building library objects.
17945 pic_flag=$lt_lt_prog_compiler_pic_F77
17948 # What is the maximum length of a command?
17949 max_cmd_len=$lt_cv_sys_max_cmd_len
17951 # Does compiler simultaneously support -c and -o options?
17952 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17954 # Must we lock files when doing compilation?
17955 need_locks=$lt_need_locks
17957 # Do we need the lib prefix for modules?
17958 need_lib_prefix=$need_lib_prefix
17960 # Do we need a version for libraries?
17961 need_version=$need_version
17963 # Whether dlopen is supported.
17964 dlopen_support=$enable_dlopen
17966 # Whether dlopen of programs is supported.
17967 dlopen_self=$enable_dlopen_self
17969 # Whether dlopen of statically linked programs is supported.
17970 dlopen_self_static=$enable_dlopen_self_static
17972 # Compiler flag to prevent dynamic linking.
17973 link_static_flag=$lt_lt_prog_compiler_static_F77
17975 # Compiler flag to turn off builtin functions.
17976 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17978 # Compiler flag to allow reflexive dlopens.
17979 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17981 # Compiler flag to generate shared objects directly from archives.
17982 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17984 # Compiler flag to generate thread-safe objects.
17985 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17987 # Library versioning type.
17988 version_type=$version_type
17990 # Format of library name prefix.
17991 libname_spec=$lt_libname_spec
17993 # List of archive names. First name is the real one, the rest are links.
17994 # The last name is the one that the linker finds with -lNAME.
17995 library_names_spec=$lt_library_names_spec
17997 # The coded name of the library, if different from the real name.
17998 soname_spec=$lt_soname_spec
18000 # Commands used to build and install an old-style archive.
18002 old_archive_cmds=$lt_old_archive_cmds_F77
18003 old_postinstall_cmds=$lt_old_postinstall_cmds
18004 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18006 # Create an old-style archive from a shared archive.
18007 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18009 # Create a temporary old-style archive to link instead of a shared archive.
18010 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18012 # Commands used to build and install a shared archive.
18013 archive_cmds=$lt_archive_cmds_F77
18014 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18015 postinstall_cmds=$lt_postinstall_cmds
18016 postuninstall_cmds=$lt_postuninstall_cmds
18018 # Commands used to build a loadable module (assumed same as above if empty)
18019 module_cmds=$lt_module_cmds_F77
18020 module_expsym_cmds=$lt_module_expsym_cmds_F77
18022 # Commands to strip libraries.
18023 old_striplib=$lt_old_striplib
18024 striplib=$lt_striplib
18026 # Dependencies to place before the objects being linked to create a
18028 predep_objects=$lt_predep_objects_F77
18030 # Dependencies to place after the objects being linked to create a
18032 postdep_objects=$lt_postdep_objects_F77
18034 # Dependencies to place before the objects being linked to create a
18036 predeps=$lt_predeps_F77
18038 # Dependencies to place after the objects being linked to create a
18040 postdeps=$lt_postdeps_F77
18042 # The directories searched by this compiler when creating a shared
18044 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
18046 # The library search path used internally by the compiler when linking
18047 # a shared library.
18048 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18050 # Method to check whether dependent libraries are shared objects.
18051 deplibs_check_method=$lt_deplibs_check_method
18053 # Command to use when deplibs_check_method == file_magic.
18054 file_magic_cmd=$lt_file_magic_cmd
18056 # Flag that allows shared libraries with undefined symbols to be built.
18057 allow_undefined_flag=$lt_allow_undefined_flag_F77
18059 # Flag that forces no undefined symbols.
18060 no_undefined_flag=$lt_no_undefined_flag_F77
18062 # Commands used to finish a libtool library installation in a directory.
18063 finish_cmds=$lt_finish_cmds
18065 # Same as above, but a single script fragment to be evaled but not shown.
18066 finish_eval=$lt_finish_eval
18068 # Take the output of nm and produce a listing of raw symbols and C names.
18069 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18071 # Transform the output of nm in a proper C declaration
18072 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18074 # Transform the output of nm in a C name address pair
18075 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18077 # This is the shared library runtime path variable.
18078 runpath_var=$runpath_var
18080 # This is the shared library path variable.
18081 shlibpath_var=$shlibpath_var
18083 # Is shlibpath searched before the hard-coded library search path?
18084 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18086 # How to hardcode a shared library path into an executable.
18087 hardcode_action=$hardcode_action_F77
18089 # Whether we should hardcode library paths into libraries.
18090 hardcode_into_libs=$hardcode_into_libs
18092 # Flag to hardcode \$libdir into a binary during linking.
18093 # This must work even if \$libdir does not exist.
18094 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18096 # If ld is used when linking, flag to hardcode \$libdir into
18097 # a binary during linking. This must work even if \$libdir does
18099 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18101 # Whether we need a single -rpath flag with a separated argument.
18102 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18104 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18105 # resulting binary.
18106 hardcode_direct=$hardcode_direct_F77
18108 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18109 # resulting binary.
18110 hardcode_minus_L=$hardcode_minus_L_F77
18112 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18113 # the resulting binary.
18114 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18116 # Set to yes if building a shared library automatically hardcodes DIR into the library
18117 # and all subsequent libraries and executables linked against it.
18118 hardcode_automatic=$hardcode_automatic_F77
18120 # Variables whose values should be saved in libtool wrapper scripts and
18121 # restored at relink time.
18122 variables_saved_for_relink="$variables_saved_for_relink"
18124 # Whether libtool must link a program against all its dependency libraries.
18125 link_all_deplibs=$link_all_deplibs_F77
18127 # Compile-time system search path for libraries
18128 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18130 # Run-time system search path for libraries
18131 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18133 # Fix the shell variable \$srcfile for the compiler.
18134 fix_srcfile_path=$lt_fix_srcfile_path
18136 # Set to yes if exported symbols are required.
18137 always_export_symbols=$always_export_symbols_F77
18139 # The commands to list exported symbols.
18140 export_symbols_cmds=$lt_export_symbols_cmds_F77
18142 # The commands to extract the exported symbol list from a shared archive.
18143 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18145 # Symbols that should not be listed in the preloaded symbols.
18146 exclude_expsyms=$lt_exclude_expsyms_F77
18148 # Symbols that must always be exported.
18149 include_expsyms=$lt_include_expsyms_F77
18151 # ### END LIBTOOL TAG CONFIG: $tagname
18157 # If there is no Makefile yet, we rely on a make rule to execute
18158 # `config.status --recheck' to rerun these tests and create the
18159 # libtool script then.
18160 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18161 if test -f "$ltmain_in"; then
18162 test -f Makefile && make "$ltmain"
18168 ac_cpp='$CPP $CPPFLAGS'
18169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18181 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18184 # Source file extension for Java test sources.
18187 # Object file extension for compiled Java test sources.
18191 # Code to be used in simple compile tests
18192 lt_simple_compile_test_code="class foo {}"
18194 # Code to be used in simple link tests
18195 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
18197 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18199 # If no C compiler was specified, use CC.
18202 # If no C compiler flags were specified, use CFLAGS.
18203 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18205 # Allow CC to be a program name with arguments.
18209 # save warnings/boilerplate of simple test code
18210 ac_outfile=conftest.$ac_objext
18211 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18212 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18213 _lt_compiler_boilerplate=`cat conftest.err`
18216 ac_outfile=conftest.$ac_objext
18217 echo "$lt_simple_link_test_code" >conftest.$ac_ext
18218 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18219 _lt_linker_boilerplate=`cat conftest.err`
18223 # Allow CC to be a program name with arguments.
18228 for cc_temp in $compiler""; do
18230 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18231 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18236 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18239 # GCJ did not exist at the time GCC didn't implicitly link libc in.
18240 archive_cmds_need_lc_GCJ=no
18242 old_archive_cmds_GCJ=$old_archive_cmds
18245 lt_prog_compiler_no_builtin_flag_GCJ=
18247 if test "$GCC" = yes; then
18248 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18251 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18252 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18253 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18254 echo $ECHO_N "(cached) $ECHO_C" >&6
18256 lt_cv_prog_compiler_rtti_exceptions=no
18257 ac_outfile=conftest.$ac_objext
18258 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18259 lt_compiler_flag="-fno-rtti -fno-exceptions"
18260 # Insert the option either (1) after the last *FLAGS variable, or
18261 # (2) before a word containing "conftest.", or (3) at the end.
18262 # Note that $ac_compile itself does not contain backslashes and begins
18263 # with a dollar sign (not a hyphen), so the echo should work correctly.
18264 # The option is referenced via a variable to avoid confusing sed.
18265 lt_compile=`echo "$ac_compile" | $SED \
18266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18268 -e 's:$: $lt_compiler_flag:'`
18269 (eval echo "\"\$as_me:18269: $lt_compile\"" >&5)
18270 (eval "$lt_compile" 2>conftest.err)
18272 cat conftest.err >&5
18273 echo "$as_me:18273: \$? = $ac_status" >&5
18274 if (exit $ac_status) && test -s "$ac_outfile"; then
18275 # The compiler can only warn and ignore the option if not recognized
18276 # So say no if there are warnings other than the usual output.
18277 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18278 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18279 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18280 lt_cv_prog_compiler_rtti_exceptions=yes
18286 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18287 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18289 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18290 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18297 lt_prog_compiler_wl_GCJ=
18298 lt_prog_compiler_pic_GCJ=
18299 lt_prog_compiler_static_GCJ=
18301 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18302 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18304 if test "$GCC" = yes; then
18305 lt_prog_compiler_wl_GCJ='-Wl,'
18306 lt_prog_compiler_static_GCJ='-static'
18310 # All AIX code is PIC.
18311 if test "$host_cpu" = ia64; then
18312 # AIX 5 now supports IA64 processor
18313 lt_prog_compiler_static_GCJ='-Bstatic'
18318 # FIXME: we need at least 68020 code to build shared libraries, but
18319 # adding the `-m68020' flag to GCC prevents building anything better,
18321 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18324 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18325 # PIC is the default for these OSes.
18328 mingw* | cygwin* | pw32* | os2*)
18329 # This hack is so that the source file can tell whether it is being
18330 # built for inclusion in a dll (and should export symbols for example).
18331 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18332 # (--disable-auto-import) libraries
18336 darwin* | rhapsody*)
18337 # PIC is the default on this platform
18338 # Common symbols not allowed in MH_DYLIB files
18339 lt_prog_compiler_pic_GCJ='-fno-common'
18343 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18344 # Instead, we relocate shared libraries at runtime.
18348 # Just because we use GCC doesn't mean we suddenly get shared libraries
18349 # on systems that don't support them.
18350 lt_prog_compiler_can_build_shared_GCJ=no
18355 if test -d /usr/nec; then
18356 lt_prog_compiler_pic_GCJ=-Kconform_pic
18361 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18362 # not for PA HP-UX.
18368 lt_prog_compiler_pic_GCJ='-fPIC'
18374 lt_prog_compiler_pic_GCJ='-fPIC'
18378 # PORTME Check for flag to pass linker flags through the system compiler.
18381 lt_prog_compiler_wl_GCJ='-Wl,'
18382 if test "$host_cpu" = ia64; then
18383 # AIX 5 now supports IA64 processor
18384 lt_prog_compiler_static_GCJ='-Bstatic'
18386 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
18390 # PIC is the default on this platform
18391 # Common symbols not allowed in MH_DYLIB files
18392 case $cc_basename in
18394 lt_prog_compiler_pic_GCJ='-qnocommon'
18395 lt_prog_compiler_wl_GCJ='-Wl,'
18400 mingw* | cygwin* | pw32* | os2*)
18401 # This hack is so that the source file can tell whether it is being
18402 # built for inclusion in a dll (and should export symbols for example).
18406 hpux9* | hpux10* | hpux11*)
18407 lt_prog_compiler_wl_GCJ='-Wl,'
18408 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18409 # not for PA HP-UX.
18415 lt_prog_compiler_pic_GCJ='+Z'
18418 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18419 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
18422 irix5* | irix6* | nonstopux*)
18423 lt_prog_compiler_wl_GCJ='-Wl,'
18424 # PIC (with -KPIC) is the default.
18425 lt_prog_compiler_static_GCJ='-non_shared'
18429 lt_prog_compiler_pic_GCJ='-KPIC'
18430 lt_prog_compiler_static_GCJ='-Bstatic'
18433 linux* | k*bsd*-gnu)
18434 case $cc_basename in
18436 lt_prog_compiler_wl_GCJ='-Wl,'
18437 lt_prog_compiler_pic_GCJ='-KPIC'
18438 lt_prog_compiler_static_GCJ='-static'
18440 pgcc* | pgf77* | pgf90* | pgf95*)
18441 # Portland Group compilers (*not* the Pentium gcc compiler,
18442 # which looks to be a dead project)
18443 lt_prog_compiler_wl_GCJ='-Wl,'
18444 lt_prog_compiler_pic_GCJ='-fpic'
18445 lt_prog_compiler_static_GCJ='-Bstatic'
18448 lt_prog_compiler_wl_GCJ='-Wl,'
18449 # All Alpha code is PIC.
18450 lt_prog_compiler_static_GCJ='-non_shared'
18453 case `$CC -V 2>&1 | sed 5q` in
18456 lt_prog_compiler_pic_GCJ='-KPIC'
18457 lt_prog_compiler_static_GCJ='-Bstatic'
18458 lt_prog_compiler_wl_GCJ='-Wl,'
18461 # Sun Fortran 8.3 passes all unrecognized flags to the linker
18462 lt_prog_compiler_pic_GCJ='-KPIC'
18463 lt_prog_compiler_static_GCJ='-Bstatic'
18464 lt_prog_compiler_wl_GCJ=''
18471 osf3* | osf4* | osf5*)
18472 lt_prog_compiler_wl_GCJ='-Wl,'
18473 # All OSF/1 code is PIC.
18474 lt_prog_compiler_static_GCJ='-non_shared'
18478 lt_prog_compiler_static_GCJ='-non_shared'
18482 lt_prog_compiler_pic_GCJ='-KPIC'
18483 lt_prog_compiler_static_GCJ='-Bstatic'
18484 case $cc_basename in
18485 f77* | f90* | f95*)
18486 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
18488 lt_prog_compiler_wl_GCJ='-Wl,';;
18493 lt_prog_compiler_wl_GCJ='-Qoption ld '
18494 lt_prog_compiler_pic_GCJ='-PIC'
18495 lt_prog_compiler_static_GCJ='-Bstatic'
18498 sysv4 | sysv4.2uw2* | sysv4.3*)
18499 lt_prog_compiler_wl_GCJ='-Wl,'
18500 lt_prog_compiler_pic_GCJ='-KPIC'
18501 lt_prog_compiler_static_GCJ='-Bstatic'
18505 if test -d /usr/nec ;then
18506 lt_prog_compiler_pic_GCJ='-Kconform_pic'
18507 lt_prog_compiler_static_GCJ='-Bstatic'
18511 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18512 lt_prog_compiler_wl_GCJ='-Wl,'
18513 lt_prog_compiler_pic_GCJ='-KPIC'
18514 lt_prog_compiler_static_GCJ='-Bstatic'
18518 lt_prog_compiler_wl_GCJ='-Wl,'
18519 lt_prog_compiler_can_build_shared_GCJ=no
18523 lt_prog_compiler_pic_GCJ='-pic'
18524 lt_prog_compiler_static_GCJ='-Bstatic'
18528 lt_prog_compiler_can_build_shared_GCJ=no
18533 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18534 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18537 # Check to make sure the PIC flag actually works.
18539 if test -n "$lt_prog_compiler_pic_GCJ"; then
18541 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18542 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18543 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18544 echo $ECHO_N "(cached) $ECHO_C" >&6
18546 lt_cv_prog_compiler_pic_works_GCJ=no
18547 ac_outfile=conftest.$ac_objext
18548 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18549 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18550 # Insert the option either (1) after the last *FLAGS variable, or
18551 # (2) before a word containing "conftest.", or (3) at the end.
18552 # Note that $ac_compile itself does not contain backslashes and begins
18553 # with a dollar sign (not a hyphen), so the echo should work correctly.
18554 # The option is referenced via a variable to avoid confusing sed.
18555 lt_compile=`echo "$ac_compile" | $SED \
18556 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18558 -e 's:$: $lt_compiler_flag:'`
18559 (eval echo "\"\$as_me:18559: $lt_compile\"" >&5)
18560 (eval "$lt_compile" 2>conftest.err)
18562 cat conftest.err >&5
18563 echo "$as_me:18563: \$? = $ac_status" >&5
18564 if (exit $ac_status) && test -s "$ac_outfile"; then
18565 # The compiler can only warn and ignore the option if not recognized
18566 # So say no if there are warnings other than the usual output.
18567 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18568 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18569 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18570 lt_cv_prog_compiler_pic_works_GCJ=yes
18576 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
18577 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18579 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
18580 case $lt_prog_compiler_pic_GCJ in
18582 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18585 lt_prog_compiler_pic_GCJ=
18586 lt_prog_compiler_can_build_shared_GCJ=no
18591 # For platforms which do not support PIC, -DPIC is meaningless:
18593 lt_prog_compiler_pic_GCJ=
18596 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18601 # Check to make sure the static flag actually works.
18603 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18604 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18605 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18606 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18607 echo $ECHO_N "(cached) $ECHO_C" >&6
18609 lt_cv_prog_compiler_static_works_GCJ=no
18610 save_LDFLAGS="$LDFLAGS"
18611 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18612 echo "$lt_simple_link_test_code" > conftest.$ac_ext
18613 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18614 # The linker can only warn and ignore the option if not recognized
18615 # So say no if there are warnings
18616 if test -s conftest.err; then
18617 # Append any errors to the config.log.
18618 cat conftest.err 1>&5
18619 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18620 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18621 if diff conftest.exp conftest.er2 >/dev/null; then
18622 lt_cv_prog_compiler_static_works_GCJ=yes
18625 lt_cv_prog_compiler_static_works_GCJ=yes
18629 LDFLAGS="$save_LDFLAGS"
18632 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
18633 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18635 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
18638 lt_prog_compiler_static_GCJ=
18642 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18643 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18644 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18647 lt_cv_prog_compiler_c_o_GCJ=no
18648 $rm -r conftest 2>/dev/null
18652 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18654 lt_compiler_flag="-o out/conftest2.$ac_objext"
18655 # Insert the option either (1) after the last *FLAGS variable, or
18656 # (2) before a word containing "conftest.", or (3) at the end.
18657 # Note that $ac_compile itself does not contain backslashes and begins
18658 # with a dollar sign (not a hyphen), so the echo should work correctly.
18659 lt_compile=`echo "$ac_compile" | $SED \
18660 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18662 -e 's:$: $lt_compiler_flag:'`
18663 (eval echo "\"\$as_me:18663: $lt_compile\"" >&5)
18664 (eval "$lt_compile" 2>out/conftest.err)
18666 cat out/conftest.err >&5
18667 echo "$as_me:18667: \$? = $ac_status" >&5
18668 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18670 # The compiler can only warn and ignore the option if not recognized
18671 # So say no if there are warnings
18672 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18673 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18674 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18675 lt_cv_prog_compiler_c_o_GCJ=yes
18680 # SGI C++ compiler will create directory out/ii_files/ for
18681 # template instantiation
18682 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18683 $rm out/* && rmdir out
18689 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18690 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18693 hard_links="nottested"
18694 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18695 # do not overwrite the value of need_locks provided by the user
18696 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18697 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18700 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18702 ln conftest.a conftest.b 2>&5 || hard_links=no
18703 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18704 { echo "$as_me:$LINENO: result: $hard_links" >&5
18705 echo "${ECHO_T}$hard_links" >&6; }
18706 if test "$hard_links" = no; then
18707 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18708 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18715 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18716 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18719 allow_undefined_flag_GCJ=
18720 enable_shared_with_static_runtimes_GCJ=no
18722 archive_expsym_cmds_GCJ=
18723 old_archive_From_new_cmds_GCJ=
18724 old_archive_from_expsyms_cmds_GCJ=
18725 export_dynamic_flag_spec_GCJ=
18726 whole_archive_flag_spec_GCJ=
18727 thread_safe_flag_spec_GCJ=
18728 hardcode_libdir_flag_spec_GCJ=
18729 hardcode_libdir_flag_spec_ld_GCJ=
18730 hardcode_libdir_separator_GCJ=
18731 hardcode_direct_GCJ=no
18732 hardcode_minus_L_GCJ=no
18733 hardcode_shlibpath_var_GCJ=unsupported
18734 link_all_deplibs_GCJ=unknown
18735 hardcode_automatic_GCJ=no
18737 module_expsym_cmds_GCJ=
18738 always_export_symbols_GCJ=no
18739 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18740 # include_expsyms should be a list of space-separated symbols to be *always*
18741 # included in the symbol list
18742 include_expsyms_GCJ=
18743 # exclude_expsyms can be an extended regexp of symbols to exclude
18744 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18745 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18746 # as well as any symbol that contains `d'.
18747 exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18748 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18749 # platforms (ab)use it in PIC code, but their linkers get confused if
18750 # the symbol is explicitly referenced. Since portable code cannot
18751 # rely on this symbol name, it's probably fine to never include it in
18752 # preloaded symbol tables.
18753 # Exclude shared library initialization/finalization symbols.
18754 extract_expsyms_cmds=
18755 # Just being paranoid about ensuring that cc_basename is set.
18756 for cc_temp in $compiler""; do
18758 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18759 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18764 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18767 cygwin* | mingw* | pw32*)
18768 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18769 # When not using gcc, we currently assume that we are using
18770 # Microsoft Visual C++.
18771 if test "$GCC" != yes; then
18776 # we just hope/assume this is gcc and not c89 (= MSVC++)
18785 if test "$with_gnu_ld" = yes; then
18786 # If archive_cmds runs LD, not CC, wlarc should be empty
18789 # Set some defaults for GNU ld with shared library support. These
18790 # are reset later if shared libraries are not supported. Putting them
18791 # here allows them to be overridden if necessary.
18792 runpath_var=LD_RUN_PATH
18793 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18794 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18795 # ancient GNU ld didn't support --whole-archive et. al.
18796 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18797 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18799 whole_archive_flag_spec_GCJ=
18801 supports_anon_versioning=no
18802 case `$LD -v 2>/dev/null` in
18803 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18804 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18805 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18806 *\ 2.11.*) ;; # other 2.11 versions
18807 *) supports_anon_versioning=yes ;;
18810 # See if GNU ld supports shared libraries.
18813 # On AIX/PPC, the GNU linker is very broken
18814 if test "$host_cpu" != ia64; then
18818 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18819 *** to be unable to reliably create shared libraries on AIX.
18820 *** Therefore, libtool is disabling shared libraries support. If you
18821 *** really care for shared libraries, you may want to modify your PATH
18822 *** so that a non-GNU linker is found, and then restart.
18829 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18830 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18831 hardcode_minus_L_GCJ=yes
18833 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18834 # that the semantics of dynamic libraries on AmigaOS, at least up
18835 # to version 4, is to share data among multiple programs linked
18836 # with the same dynamic library. Since this doesn't match the
18837 # behavior of shared libraries on other platforms, we can't use
18843 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18844 allow_undefined_flag_GCJ=unsupported
18845 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18846 # support --undefined. This deserves some investigation. FIXME
18847 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18853 cygwin* | mingw* | pw32*)
18854 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18855 # as there is no search path for DLLs.
18856 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18857 allow_undefined_flag_GCJ=unsupported
18858 always_export_symbols_GCJ=no
18859 enable_shared_with_static_runtimes_GCJ=yes
18860 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18862 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18863 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18864 # If the export-symbols file already is a .def file (1st line
18865 # is EXPORTS), use it as is; otherwise, prepend...
18866 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18867 cp $export_symbols $output_objdir/$soname.def;
18869 echo EXPORTS > $output_objdir/$soname.def;
18870 cat $export_symbols >> $output_objdir/$soname.def;
18872 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18879 hardcode_direct_GCJ=no
18880 hardcode_shlibpath_var_GCJ=no
18881 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18882 export_dynamic_flag_spec_GCJ='${wl}-E'
18883 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18884 # Instead, shared libraries are loaded at an image base (0x10000000 by
18885 # default) and relocated if they conflict, which is a slow very memory
18886 # consuming and fragmenting process. To avoid this, we pick a random,
18887 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18888 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18889 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18890 archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18893 gnu* | linux* | k*bsd*-gnu)
18894 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18896 case $cc_basename,$host_cpu in
18897 pgcc*) # Portland Group C compiler
18898 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18899 tmp_addflag=' $pic_flag'
18901 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
18902 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18903 tmp_addflag=' $pic_flag -Mnomain' ;;
18904 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
18905 tmp_addflag=' -i_dynamic' ;;
18906 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
18907 tmp_addflag=' -i_dynamic -nofor_main' ;;
18908 ifc* | ifort*) # Intel Fortran compiler
18909 tmp_addflag=' -nofor_main' ;;
18911 case `$CC -V 2>&1 | sed 5q` in
18912 *Sun\ C*) # Sun C 5.9
18913 whole_archive_flag_spec_GCJ='${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'
18914 tmp_sharedflag='-G' ;;
18915 *Sun\ F*) # Sun Fortran 8.3
18916 tmp_sharedflag='-G' ;;
18918 tmp_sharedflag='-shared' ;;
18920 archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18922 if test $supports_anon_versioning = yes; then
18923 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18924 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18925 $echo "local: *; };" >> $output_objdir/$libname.ver~
18926 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18934 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18935 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18938 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18939 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18944 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18948 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18949 *** create shared libraries on Solaris systems. Therefore, libtool
18950 *** is disabling shared libraries support. We urge you to upgrade GNU
18951 *** binutils to release 2.9.1 or newer. Another option is to modify
18952 *** your PATH or compiler configuration so that the native linker is
18953 *** used, and then restart.
18956 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18957 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18958 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18964 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18965 case `$LD -v 2>&1` in
18966 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18970 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18971 *** reliably create shared libraries on SCO systems. Therefore, libtool
18972 *** is disabling shared libraries support. We urge you to upgrade GNU
18973 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18974 *** your PATH or compiler configuration so that the native linker is
18975 *** used, and then restart.
18980 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18981 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18982 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18983 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18992 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18994 hardcode_direct_GCJ=yes
18995 hardcode_shlibpath_var_GCJ=no
18999 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19000 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19001 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19008 if test "$ld_shlibs_GCJ" = no; then
19010 hardcode_libdir_flag_spec_GCJ=
19011 export_dynamic_flag_spec_GCJ=
19012 whole_archive_flag_spec_GCJ=
19015 # PORTME fill in a description of your system's linker (not GNU ld)
19018 allow_undefined_flag_GCJ=unsupported
19019 always_export_symbols_GCJ=yes
19020 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
19021 # Note: this linker hardcodes the directories in LIBPATH if there
19022 # are no directories specified by -L.
19023 hardcode_minus_L_GCJ=yes
19024 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
19025 # Neither direct hardcoding nor static linking is supported with a
19027 hardcode_direct_GCJ=unsupported
19032 if test "$host_cpu" = ia64; then
19033 # On IA64, the linker does run time linking by default, so we don't
19034 # have to do anything special.
19035 aix_use_runtimelinking=no
19036 exp_sym_flag='-Bexport'
19039 # If we're using GNU nm, then we don't want the "-C" option.
19040 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19041 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19042 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19044 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19046 aix_use_runtimelinking=no
19048 # Test if we are trying to use run time linking or normal
19049 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19050 # need to do runtime linking.
19051 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19052 for ld_flag in $LDFLAGS; do
19053 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
19054 aix_use_runtimelinking=yes
19061 exp_sym_flag='-bexport'
19062 no_entry_flag='-bnoentry'
19065 # When large executables or shared objects are built, AIX ld can
19066 # have problems creating the table of contents. If linking a library
19067 # or program results in "error TOC overflow" add -mminimal-toc to
19068 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19069 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19071 archive_cmds_GCJ=''
19072 hardcode_direct_GCJ=yes
19073 hardcode_libdir_separator_GCJ=':'
19074 link_all_deplibs_GCJ=yes
19076 if test "$GCC" = yes; then
19077 case $host_os in aix4.[012]|aix4.[012].*)
19078 # We only want to do this on AIX 4.2 and lower, the check
19079 # below for broken collect2 doesn't work under 4.3+
19080 collect2name=`${CC} -print-prog-name=collect2`
19081 if test -f "$collect2name" && \
19082 strings "$collect2name" | grep resolve_lib_name >/dev/null
19084 # We have reworked collect2
19087 # We have old collect2
19088 hardcode_direct_GCJ=unsupported
19089 # It fails to find uninstalled libraries when the uninstalled
19090 # path is not listed in the libpath. Setting hardcode_minus_L
19091 # to unsupported forces relinking
19092 hardcode_minus_L_GCJ=yes
19093 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19094 hardcode_libdir_separator_GCJ=
19098 shared_flag='-shared'
19099 if test "$aix_use_runtimelinking" = yes; then
19100 shared_flag="$shared_flag "'${wl}-G'
19104 if test "$host_cpu" = ia64; then
19105 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19106 # chokes on -Wl,-G. The following line is correct:
19109 if test "$aix_use_runtimelinking" = yes; then
19110 shared_flag='${wl}-G'
19112 shared_flag='${wl}-bM:SRE'
19117 # It seems that -bexpall does not export symbols beginning with
19118 # underscore (_), so it is better to generate a list of symbols to export.
19119 always_export_symbols_GCJ=yes
19120 if test "$aix_use_runtimelinking" = yes; then
19121 # Warning - without using the other runtime loading flags (-brtl),
19122 # -berok will link without error, but may produce a broken library.
19123 allow_undefined_flag_GCJ='-berok'
19124 # Determine the default libpath from the value encoded in an empty executable.
19125 cat >conftest.$ac_ext <<_ACEOF
19128 cat confdefs.h >>conftest.$ac_ext
19129 cat >>conftest.$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19140 rm -f conftest.$ac_objext conftest$ac_exeext
19141 if { (ac_try="$ac_link"
19142 case "(($ac_try" in
19143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19144 *) ac_try_echo=$ac_try;;
19146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19147 (eval "$ac_link") 2>conftest.er1
19149 grep -v '^ *+' conftest.er1 >conftest.err
19151 cat conftest.err >&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); } && {
19154 test -z "$ac_c_werror_flag" ||
19155 test ! -s conftest.err
19156 } && test -s conftest$ac_exeext &&
19157 $as_test_x conftest$ac_exeext; then
19159 lt_aix_libpath_sed='
19160 /Import File Strings/,/^$/ {
19166 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19167 # Check for a 64-bit object if we didn't find anything.
19168 if test -z "$aix_libpath"; then
19169 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.$ac_ext >&5
19178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19179 conftest$ac_exeext conftest.$ac_ext
19180 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19182 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19183 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19185 if test "$host_cpu" = ia64; then
19186 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19187 allow_undefined_flag_GCJ="-z nodefs"
19188 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
19190 # Determine the default libpath from the value encoded in an empty executable.
19191 cat >conftest.$ac_ext <<_ACEOF
19194 cat confdefs.h >>conftest.$ac_ext
19195 cat >>conftest.$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19206 rm -f conftest.$ac_objext conftest$ac_exeext
19207 if { (ac_try="$ac_link"
19208 case "(($ac_try" in
19209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19210 *) ac_try_echo=$ac_try;;
19212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19213 (eval "$ac_link") 2>conftest.er1
19215 grep -v '^ *+' conftest.er1 >conftest.err
19217 cat conftest.err >&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } && {
19220 test -z "$ac_c_werror_flag" ||
19221 test ! -s conftest.err
19222 } && test -s conftest$ac_exeext &&
19223 $as_test_x conftest$ac_exeext; then
19225 lt_aix_libpath_sed='
19226 /Import File Strings/,/^$/ {
19232 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19233 # Check for a 64-bit object if we didn't find anything.
19234 if test -z "$aix_libpath"; then
19235 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.$ac_ext >&5
19244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19245 conftest$ac_exeext conftest.$ac_ext
19246 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19248 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19249 # Warning - without using the other run time loading flags,
19250 # -berok will link without error, but may produce a broken library.
19251 no_undefined_flag_GCJ=' ${wl}-bernotok'
19252 allow_undefined_flag_GCJ=' ${wl}-berok'
19253 # Exported symbols can be pulled into shared objects from archives
19254 whole_archive_flag_spec_GCJ='$convenience'
19255 archive_cmds_need_lc_GCJ=yes
19256 # This is similar to how AIX traditionally builds its shared libraries.
19257 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
19263 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
19264 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19265 hardcode_minus_L_GCJ=yes
19266 # see comment about different semantics on the GNU ld section
19271 export_dynamic_flag_spec_GCJ=-rdynamic
19274 cygwin* | mingw* | pw32*)
19275 # When not using gcc, we currently assume that we are using
19276 # Microsoft Visual C++.
19277 # hardcode_libdir_flag_spec is actually meaningless, as there is
19278 # no search path for DLLs.
19279 hardcode_libdir_flag_spec_GCJ=' '
19280 allow_undefined_flag_GCJ=unsupported
19281 # Tell ltmain to make .lib files, not .a files.
19283 # Tell ltmain to make .dll files, not .so files.
19285 # FIXME: Setting linknames here is a bad hack.
19286 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19287 # The linker will automatically build a .lib file if we build a DLL.
19288 old_archive_From_new_cmds_GCJ='true'
19289 # FIXME: Should let the user specify the lib program.
19290 old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
19291 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
19292 enable_shared_with_static_runtimes_GCJ=yes
19295 darwin* | rhapsody*)
19297 rhapsody* | darwin1.[012])
19298 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
19301 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19302 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19304 case ${MACOSX_DEPLOYMENT_TARGET} in
19306 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19309 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
19315 archive_cmds_need_lc_GCJ=no
19316 hardcode_direct_GCJ=no
19317 hardcode_automatic_GCJ=yes
19318 hardcode_shlibpath_var_GCJ=unsupported
19319 whole_archive_flag_spec_GCJ=''
19320 link_all_deplibs_GCJ=yes
19321 if test "$GCC" = yes ; then
19322 output_verbose_link_cmd='echo'
19323 archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
19324 module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19325 archive_expsym_cmds_GCJ="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}"
19326 module_expsym_cmds_GCJ="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}"
19328 case $cc_basename in
19330 output_verbose_link_cmd='echo'
19331 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19332 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19333 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19334 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19335 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19345 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19346 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19347 hardcode_shlibpath_var_GCJ=no
19354 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19355 # support. Future versions do this automatically, but an explicit c++rt0.o
19356 # does not break anything, and helps significantly (at the cost of a little
19359 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19360 hardcode_libdir_flag_spec_GCJ='-R$libdir'
19361 hardcode_direct_GCJ=yes
19362 hardcode_shlibpath_var_GCJ=no
19365 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19367 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19368 hardcode_direct_GCJ=yes
19369 hardcode_minus_L_GCJ=yes
19370 hardcode_shlibpath_var_GCJ=no
19373 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19374 freebsd* | dragonfly*)
19375 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19376 hardcode_libdir_flag_spec_GCJ='-R$libdir'
19377 hardcode_direct_GCJ=yes
19378 hardcode_shlibpath_var_GCJ=no
19382 if test "$GCC" = yes; then
19383 archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19385 archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19387 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19388 hardcode_libdir_separator_GCJ=:
19389 hardcode_direct_GCJ=yes
19391 # hardcode_minus_L: Not really in the search PATH,
19392 # but as the default location of the library.
19393 hardcode_minus_L_GCJ=yes
19394 export_dynamic_flag_spec_GCJ='${wl}-E'
19398 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19399 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19401 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19403 if test "$with_gnu_ld" = no; then
19404 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19405 hardcode_libdir_separator_GCJ=:
19407 hardcode_direct_GCJ=yes
19408 export_dynamic_flag_spec_GCJ='${wl}-E'
19410 # hardcode_minus_L: Not really in the search PATH,
19411 # but as the default location of the library.
19412 hardcode_minus_L_GCJ=yes
19417 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19420 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19423 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19426 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19432 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19435 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19438 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19442 if test "$with_gnu_ld" = no; then
19443 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19444 hardcode_libdir_separator_GCJ=:
19448 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
19449 hardcode_direct_GCJ=no
19450 hardcode_shlibpath_var_GCJ=no
19453 hardcode_direct_GCJ=yes
19454 export_dynamic_flag_spec_GCJ='${wl}-E'
19456 # hardcode_minus_L: Not really in the search PATH,
19457 # but as the default location of the library.
19458 hardcode_minus_L_GCJ=yes
19464 irix5* | irix6* | nonstopux*)
19465 if test "$GCC" = yes; then
19466 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19468 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19469 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
19471 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19472 hardcode_libdir_separator_GCJ=:
19473 link_all_deplibs_GCJ=yes
19477 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19478 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19480 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19482 hardcode_libdir_flag_spec_GCJ='-R$libdir'
19483 hardcode_direct_GCJ=yes
19484 hardcode_shlibpath_var_GCJ=no
19488 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19489 hardcode_direct_GCJ=yes
19490 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19491 hardcode_libdir_separator_GCJ=:
19492 hardcode_shlibpath_var_GCJ=no
19496 if test -f /usr/libexec/ld.so; then
19497 hardcode_direct_GCJ=yes
19498 hardcode_shlibpath_var_GCJ=no
19499 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19500 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19501 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19502 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19503 export_dynamic_flag_spec_GCJ='${wl}-E'
19506 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19507 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19508 hardcode_libdir_flag_spec_GCJ='-R$libdir'
19511 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19512 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19522 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19523 hardcode_minus_L_GCJ=yes
19524 allow_undefined_flag_GCJ=unsupported
19525 archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
19526 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19530 if test "$GCC" = yes; then
19531 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19532 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19534 allow_undefined_flag_GCJ=' -expect_unresolved \*'
19535 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19537 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19538 hardcode_libdir_separator_GCJ=:
19541 osf4* | osf5*) # as osf3* with the addition of -msym flag
19542 if test "$GCC" = yes; then
19543 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19544 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19545 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19547 allow_undefined_flag_GCJ=' -expect_unresolved \*'
19548 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19549 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
19550 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
19552 # Both c and cxx compiler support -rpath directly
19553 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19555 hardcode_libdir_separator_GCJ=:
19559 no_undefined_flag_GCJ=' -z text'
19560 if test "$GCC" = yes; then
19562 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19563 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19564 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19567 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19568 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19569 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19571 hardcode_libdir_flag_spec_GCJ='-R$libdir'
19572 hardcode_shlibpath_var_GCJ=no
19574 solaris2.[0-5] | solaris2.[0-5].*) ;;
19576 # The compiler driver will combine and reorder linker options,
19577 # but understands `-z linker_flag'. GCC discards it without `$wl',
19578 # but is careful enough not to reorder.
19579 # Supported since Solaris 2.6 (maybe 2.5.1?)
19580 if test "$GCC" = yes; then
19581 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19583 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19587 link_all_deplibs_GCJ=yes
19591 if test "x$host_vendor" = xsequent; then
19592 # Use $CC to link under sequent, because it throws in some extra .o
19593 # files that make .init and .fini sections work.
19594 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19596 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19598 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19599 hardcode_direct_GCJ=yes
19600 hardcode_minus_L_GCJ=yes
19601 hardcode_shlibpath_var_GCJ=no
19605 case $host_vendor in
19607 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19608 hardcode_direct_GCJ=yes # is this really true???
19611 ## LD is ld it makes a PLAMLIB
19612 ## CC just makes a GrossModule.
19613 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19614 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19615 hardcode_direct_GCJ=no
19618 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19619 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19622 runpath_var='LD_RUN_PATH'
19623 hardcode_shlibpath_var_GCJ=no
19627 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19628 hardcode_shlibpath_var_GCJ=no
19629 export_dynamic_flag_spec_GCJ='-Bexport'
19633 if test -d /usr/nec; then
19634 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19635 hardcode_shlibpath_var_GCJ=no
19636 runpath_var=LD_RUN_PATH
19637 hardcode_runpath_var=yes
19642 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19643 no_undefined_flag_GCJ='${wl}-z,text'
19644 archive_cmds_need_lc_GCJ=no
19645 hardcode_shlibpath_var_GCJ=no
19646 runpath_var='LD_RUN_PATH'
19648 if test "$GCC" = yes; then
19649 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19650 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19652 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19653 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19657 sysv5* | sco3.2v5* | sco5v6*)
19658 # Note: We can NOT use -z defs as we might desire, because we do not
19659 # link with -lc, and that would cause any symbols used from libc to
19660 # always be unresolved, which means just about no library would
19661 # ever link correctly. If we're not using GNU ld we use -z text
19662 # though, which does catch some bad symbols but isn't as heavy-handed
19664 no_undefined_flag_GCJ='${wl}-z,text'
19665 allow_undefined_flag_GCJ='${wl}-z,nodefs'
19666 archive_cmds_need_lc_GCJ=no
19667 hardcode_shlibpath_var_GCJ=no
19668 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19669 hardcode_libdir_separator_GCJ=':'
19670 link_all_deplibs_GCJ=yes
19671 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19672 runpath_var='LD_RUN_PATH'
19674 if test "$GCC" = yes; then
19675 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19676 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19678 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19679 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19684 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19685 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19686 hardcode_shlibpath_var_GCJ=no
19695 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19696 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19697 test "$ld_shlibs_GCJ" = no && can_build_shared=no
19700 # Do we need to explicitly link libc?
19702 case "x$archive_cmds_need_lc_GCJ" in
19704 # Assume -lc should be added
19705 archive_cmds_need_lc_GCJ=yes
19707 if test "$enable_shared" = yes && test "$GCC" = yes; then
19708 case $archive_cmds_GCJ in
19710 # FIXME: we may have to deal with multi-command sequences.
19713 # Test whether the compiler implicitly links with -lc since on some
19714 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19715 # to ld, don't add -lc before -lgcc.
19716 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19717 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19719 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19722 (eval $ac_compile) 2>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } 2>conftest.err; then
19728 libobjs=conftest.$ac_objext
19730 wl=$lt_prog_compiler_wl_GCJ
19731 pic_flag=$lt_prog_compiler_pic_GCJ
19737 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19738 allow_undefined_flag_GCJ=
19739 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19740 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); }
19745 archive_cmds_need_lc_GCJ=no
19747 archive_cmds_need_lc_GCJ=yes
19749 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19751 cat conftest.err 1>&5
19754 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19755 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19762 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19763 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19764 library_names_spec=
19765 libname_spec='lib$name'
19769 postuninstall_cmds=
19773 shlibpath_overrides_runpath=unknown
19775 dynamic_linker="$host_os ld.so"
19776 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19778 need_lib_prefix=unknown
19779 hardcode_into_libs=no
19781 # when you set need_version to no, make sure it does not cause -set_version
19782 # flags to be left without arguments
19783 need_version=unknown
19788 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19789 shlibpath_var=LIBPATH
19791 # AIX 3 has no versioning support, so we append a major version to the name.
19792 soname_spec='${libname}${release}${shared_ext}$major'
19799 hardcode_into_libs=yes
19800 if test "$host_cpu" = ia64; then
19801 # AIX 5 supports IA64
19802 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19803 shlibpath_var=LD_LIBRARY_PATH
19805 # With GCC up to 2.95.x, collect2 would create an import file
19806 # for dependence libraries. The import file would start with
19807 # the line `#! .'. This would cause the generated library to
19808 # depend on `.', always an invalid library. This was fixed in
19809 # development snapshots of GCC prior to 3.0.
19811 aix4 | aix4.[01] | aix4.[01].*)
19812 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19814 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19817 can_build_shared=no
19821 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19822 # soname into executable. Probably we can add versioning support to
19823 # collect2, so additional links can be useful in future.
19824 if test "$aix_use_runtimelinking" = yes; then
19825 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19826 # instead of lib<name>.a to let people know that these are not
19827 # typical AIX shared libraries.
19828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19830 # We preserve .a as extension for shared libraries through AIX4.2
19831 # and later when we are not doing run time linking.
19832 library_names_spec='${libname}${release}.a $libname.a'
19833 soname_spec='${libname}${release}${shared_ext}$major'
19835 shlibpath_var=LIBPATH
19840 library_names_spec='$libname.ixlibrary $libname.a'
19841 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19842 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'
19846 library_names_spec='${libname}${shared_ext}'
19847 dynamic_linker="$host_os ld.so"
19848 shlibpath_var=LIBRARY_PATH
19854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19855 soname_spec='${libname}${release}${shared_ext}$major'
19856 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19857 shlibpath_var=LD_LIBRARY_PATH
19858 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19859 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19860 # the default ld.so.conf also contains /usr/contrib/lib and
19861 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19862 # libtool to hard-code these into programs
19865 cygwin* | mingw* | pw32*)
19866 version_type=windows
19871 case $GCC,$host_os in
19872 yes,cygwin* | yes,mingw* | yes,pw32*)
19873 library_names_spec='$libname.dll.a'
19874 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19875 postinstall_cmds='base_file=`basename \${file}`~
19876 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19877 dldir=$destdir/`dirname \$dlpath`~
19878 test -d \$dldir || mkdir -p \$dldir~
19879 $install_prog $dir/$dlname \$dldir/$dlname~
19880 chmod a+x \$dldir/$dlname'
19881 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19882 dlpath=$dir/\$dldll~
19884 shlibpath_overrides_runpath=yes
19888 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19889 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19890 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19893 # MinGW DLLs use traditional 'lib' prefix
19894 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19895 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19896 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19897 # It is most probably a Windows format PATH printed by
19898 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19899 # path with ; separators, and with drive letters. We can handle the
19900 # drive letters (cygwin fileutils understands them), so leave them,
19901 # especially as we might pass files found there to a mingw objdump,
19902 # which wouldn't understand a cygwinified path. Ahh.
19903 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19905 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19909 # pw32 DLLs use 'pw' prefix rather than 'lib'
19910 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19916 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19919 dynamic_linker='Win32 ld.exe'
19920 # FIXME: first we should search . and the directory the executable is in
19924 darwin* | rhapsody*)
19925 dynamic_linker="$host_os dyld"
19926 version_type=darwin
19929 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19930 soname_spec='${libname}${release}${major}$shared_ext'
19931 shlibpath_overrides_runpath=yes
19932 shlibpath_var=DYLD_LIBRARY_PATH
19933 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19935 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19943 soname_spec='${libname}${release}${shared_ext}$major'
19944 shlibpath_var=LD_LIBRARY_PATH
19951 freebsd* | dragonfly*)
19952 # DragonFly does not have aout. When/if they implement a new
19953 # versioning mechanism, adjust this.
19954 if test -x /usr/bin/objformat; then
19955 objformat=`/usr/bin/objformat`
19958 freebsd[123]*) objformat=aout ;;
19959 *) objformat=elf ;;
19962 # Handle Gentoo/FreeBSD as it was Linux
19963 case $host_vendor in
19965 version_type=linux ;;
19967 version_type=freebsd-$objformat ;;
19970 case $version_type in
19972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19977 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19982 soname_spec='${libname}${release}${shared_ext}$major'
19987 shlibpath_var=LD_LIBRARY_PATH
19990 shlibpath_overrides_runpath=yes
19992 freebsd3.[01]* | freebsdelf3.[01]*)
19993 shlibpath_overrides_runpath=yes
19994 hardcode_into_libs=yes
19996 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19997 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19998 shlibpath_overrides_runpath=no
19999 hardcode_into_libs=yes
20001 *) # from 4.6 on, and DragonFly
20002 shlibpath_overrides_runpath=yes
20003 hardcode_into_libs=yes
20012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20013 soname_spec='${libname}${release}${shared_ext}$major'
20014 shlibpath_var=LD_LIBRARY_PATH
20015 hardcode_into_libs=yes
20018 hpux9* | hpux10* | hpux11*)
20019 # Give a soname corresponding to the major version so that dld.sl refuses to
20020 # link against other versions.
20027 hardcode_into_libs=yes
20028 dynamic_linker="$host_os dld.so"
20029 shlibpath_var=LD_LIBRARY_PATH
20030 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20032 soname_spec='${libname}${release}${shared_ext}$major'
20033 if test "X$HPUX_IA64_MODE" = X32; then
20034 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20036 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20038 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20042 hardcode_into_libs=yes
20043 dynamic_linker="$host_os dld.sl"
20044 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20045 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20047 soname_spec='${libname}${release}${shared_ext}$major'
20048 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20049 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20053 dynamic_linker="$host_os dld.sl"
20054 shlibpath_var=SHLIB_PATH
20055 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20057 soname_spec='${libname}${release}${shared_ext}$major'
20060 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20061 postinstall_cmds='chmod 555 $lib'
20068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20069 soname_spec='${libname}${release}${shared_ext}$major'
20070 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20071 shlibpath_var=LD_LIBRARY_PATH
20072 shlibpath_overrides_runpath=no
20073 hardcode_into_libs=yes
20076 irix5* | irix6* | nonstopux*)
20078 nonstopux*) version_type=nonstopux ;;
20080 if test "$lt_cv_prog_gnu_ld" = yes; then
20088 soname_spec='${libname}${release}${shared_ext}$major'
20089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20091 irix5* | nonstopux*)
20092 libsuff= shlibsuff=
20095 case $LD in # libtool.m4 will add one of these switches to LD
20096 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20097 libsuff= shlibsuff= libmagic=32-bit;;
20098 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20099 libsuff=32 shlibsuff=N32 libmagic=N32;;
20100 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20101 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20102 *) libsuff= shlibsuff= libmagic=never-match;;
20106 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20107 shlibpath_overrides_runpath=no
20108 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20109 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20110 hardcode_into_libs=yes
20113 # No shared lib support for Linux oldld, aout, or coff.
20114 linux*oldld* | linux*aout* | linux*coff*)
20118 # This must be Linux ELF.
20119 linux* | k*bsd*-gnu)
20123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20124 soname_spec='${libname}${release}${shared_ext}$major'
20125 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20126 shlibpath_var=LD_LIBRARY_PATH
20127 shlibpath_overrides_runpath=no
20128 # This implies no fast_install, which is unacceptable.
20129 # Some rework will be needed to allow for fast_install
20130 # before this can be enabled.
20131 hardcode_into_libs=yes
20133 # Append ld.so.conf contents to the search path
20134 if test -f /etc/ld.so.conf; then
20135 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' ' '`
20136 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20139 # We used to test for /lib/ld.so.1 and disable shared libraries on
20140 # powerpc, because MkLinux only supported shared libraries with the
20141 # GNU dynamic linker. Since this was broken with cross compilers,
20142 # most powerpc-linux boxes support dynamic linking these days and
20143 # people can always --disable-shared, the test was removed, and we
20144 # assume the GNU/Linux dynamic linker is in use.
20145 dynamic_linker='GNU/Linux ld.so'
20152 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20154 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20155 dynamic_linker='NetBSD (a.out) ld.so'
20157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20158 soname_spec='${libname}${release}${shared_ext}$major'
20159 dynamic_linker='NetBSD ld.elf_so'
20161 shlibpath_var=LD_LIBRARY_PATH
20162 shlibpath_overrides_runpath=yes
20163 hardcode_into_libs=yes
20168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20169 shlibpath_var=LD_LIBRARY_PATH
20170 shlibpath_overrides_runpath=yes
20177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20178 soname_spec='${libname}${release}${shared_ext}$major'
20179 shlibpath_var=LD_LIBRARY_PATH
20180 shlibpath_overrides_runpath=yes
20185 sys_lib_dlsearch_path_spec="/usr/lib"
20187 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20189 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20190 *) need_version=no ;;
20192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20193 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20194 shlibpath_var=LD_LIBRARY_PATH
20195 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20197 openbsd2.[89] | openbsd2.[89].*)
20198 shlibpath_overrides_runpath=no
20201 shlibpath_overrides_runpath=yes
20205 shlibpath_overrides_runpath=yes
20210 libname_spec='$name'
20213 library_names_spec='$libname${shared_ext} $libname.a'
20214 dynamic_linker='OS/2 ld.exe'
20215 shlibpath_var=LIBPATH
20218 osf3* | osf4* | osf5*)
20222 soname_spec='${libname}${release}${shared_ext}$major'
20223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20224 shlibpath_var=LD_LIBRARY_PATH
20225 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20226 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20238 soname_spec='${libname}${release}${shared_ext}$major'
20239 shlibpath_var=LD_LIBRARY_PATH
20240 shlibpath_overrides_runpath=yes
20241 hardcode_into_libs=yes
20242 # ldd complains unless libraries are executable
20243 postinstall_cmds='chmod +x $lib'
20248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20249 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20250 shlibpath_var=LD_LIBRARY_PATH
20251 shlibpath_overrides_runpath=yes
20252 if test "$with_gnu_ld" = yes; then
20260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20261 soname_spec='${libname}${release}${shared_ext}$major'
20262 shlibpath_var=LD_LIBRARY_PATH
20263 case $host_vendor in
20265 shlibpath_overrides_runpath=no
20267 export_dynamic_flag_spec='${wl}-Blargedynsym'
20268 runpath_var=LD_RUN_PATH
20276 shlibpath_overrides_runpath=no
20277 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20283 if test -d /usr/nec ;then
20285 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20286 soname_spec='$libname${shared_ext}.$major'
20287 shlibpath_var=LD_LIBRARY_PATH
20291 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20292 version_type=freebsd-elf
20295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20296 soname_spec='${libname}${release}${shared_ext}$major'
20297 shlibpath_var=LD_LIBRARY_PATH
20298 hardcode_into_libs=yes
20299 if test "$with_gnu_ld" = yes; then
20300 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20301 shlibpath_overrides_runpath=no
20303 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20304 shlibpath_overrides_runpath=yes
20307 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20311 sys_lib_dlsearch_path_spec='/usr/lib'
20316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20317 soname_spec='${libname}${release}${shared_ext}$major'
20318 shlibpath_var=LD_LIBRARY_PATH
20325 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20326 echo "${ECHO_T}$dynamic_linker" >&6; }
20327 test "$dynamic_linker" = no && can_build_shared=no
20329 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20330 echo $ECHO_N "(cached) $ECHO_C" >&6
20332 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20335 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20336 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20337 echo $ECHO_N "(cached) $ECHO_C" >&6
20339 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
20342 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20344 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20345 if test "$GCC" = yes; then
20346 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20349 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20350 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20351 hardcode_action_GCJ=
20352 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20353 test -n "$runpath_var_GCJ" || \
20354 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20356 # We can hardcode non-existant directories.
20357 if test "$hardcode_direct_GCJ" != no &&
20358 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20359 # have to relink, otherwise we might link with an installed library
20360 # when we should be linking with a yet-to-be-installed one
20361 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20362 test "$hardcode_minus_L_GCJ" != no; then
20363 # Linking always hardcodes the temporary library directory.
20364 hardcode_action_GCJ=relink
20366 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20367 hardcode_action_GCJ=immediate
20370 # We cannot hardcode anything, or else we can only hardcode existing
20372 hardcode_action_GCJ=unsupported
20374 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20375 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20377 if test "$hardcode_action_GCJ" = relink; then
20378 # Fast installation is not supported
20379 enable_fast_install=no
20380 elif test "$shlibpath_overrides_runpath" = yes ||
20381 test "$enable_shared" = no; then
20382 # Fast installation is not necessary
20383 enable_fast_install=needless
20387 # The else clause should only fire when bootstrapping the
20388 # libtool distribution, otherwise you forgot to ship ltmain.sh
20389 # with your package, and you will get complaints that there are
20390 # no rules to generate ltmain.sh.
20391 if test -f "$ltmain"; then
20392 # See if we are running on zsh, and set the options which allow our commands through
20393 # without removal of \ escapes.
20394 if test -n "${ZSH_VERSION+set}" ; then
20395 setopt NO_GLOB_SUBST
20397 # Now quote all the things that may contain metacharacters while being
20398 # careful not to overquote the AC_SUBSTed values. We take copies of the
20399 # variables and quote the copies for generation of the libtool script.
20400 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20402 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20403 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20404 deplibs_check_method reload_flag reload_cmds need_locks \
20405 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20406 lt_cv_sys_global_symbol_to_c_name_address \
20407 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20408 old_postinstall_cmds old_postuninstall_cmds \
20412 lt_prog_compiler_wl_GCJ \
20413 lt_prog_compiler_pic_GCJ \
20414 lt_prog_compiler_static_GCJ \
20415 lt_prog_compiler_no_builtin_flag_GCJ \
20416 export_dynamic_flag_spec_GCJ \
20417 thread_safe_flag_spec_GCJ \
20418 whole_archive_flag_spec_GCJ \
20419 enable_shared_with_static_runtimes_GCJ \
20420 old_archive_cmds_GCJ \
20421 old_archive_from_new_cmds_GCJ \
20422 predep_objects_GCJ \
20423 postdep_objects_GCJ \
20426 compiler_lib_search_path_GCJ \
20427 compiler_lib_search_dirs_GCJ \
20429 archive_expsym_cmds_GCJ \
20430 postinstall_cmds_GCJ \
20431 postuninstall_cmds_GCJ \
20432 old_archive_from_expsyms_cmds_GCJ \
20433 allow_undefined_flag_GCJ \
20434 no_undefined_flag_GCJ \
20435 export_symbols_cmds_GCJ \
20436 hardcode_libdir_flag_spec_GCJ \
20437 hardcode_libdir_flag_spec_ld_GCJ \
20438 hardcode_libdir_separator_GCJ \
20439 hardcode_automatic_GCJ \
20441 module_expsym_cmds_GCJ \
20442 lt_cv_prog_compiler_c_o_GCJ \
20443 fix_srcfile_path_GCJ \
20444 exclude_expsyms_GCJ \
20445 include_expsyms_GCJ; do
20448 old_archive_cmds_GCJ | \
20449 old_archive_from_new_cmds_GCJ | \
20450 archive_cmds_GCJ | \
20451 archive_expsym_cmds_GCJ | \
20452 module_cmds_GCJ | \
20453 module_expsym_cmds_GCJ | \
20454 old_archive_from_expsyms_cmds_GCJ | \
20455 export_symbols_cmds_GCJ | \
20456 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20457 postinstall_cmds | postuninstall_cmds | \
20458 old_postinstall_cmds | old_postuninstall_cmds | \
20459 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20460 # Double-quote double-evaled strings.
20461 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20464 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20470 *'\$0 --fallback-echo"')
20471 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20477 cat <<__EOF__ >> "$cfgfile"
20478 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20480 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20482 # Shell to use when invoking shell scripts.
20485 # Whether or not to build shared libraries.
20486 build_libtool_libs=$enable_shared
20488 # Whether or not to build static libraries.
20489 build_old_libs=$enable_static
20491 # Whether or not to add -lc for building shared libraries.
20492 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20494 # Whether or not to disallow shared libs when runtime libs are static
20495 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20497 # Whether or not to optimize for fast installation.
20498 fast_install=$enable_fast_install
20501 host_alias=$host_alias
20505 # The build system.
20506 build_alias=$build_alias
20510 # An echo program that does not interpret backslashes.
20515 AR_FLAGS=$lt_AR_FLAGS
20520 # LTCC compiler flags.
20521 LTCFLAGS=$lt_LTCFLAGS
20523 # A language-specific compiler.
20524 CC=$lt_compiler_GCJ
20526 # Is the compiler the GNU C compiler?
20532 # The linker used to build libraries.
20535 # Whether we need hard or soft links.
20538 # A BSD-compatible nm program.
20541 # A symbol stripping program
20544 # Used to examine libraries when file_magic_cmd begins "file"
20545 MAGIC_CMD=$MAGIC_CMD
20547 # Used on cygwin: DLL creation program.
20550 # Used on cygwin: object dumper.
20553 # Used on cygwin: assembler.
20556 # The name of the directory that contains temporary libtool files.
20559 # How to create reloadable object files.
20560 reload_flag=$lt_reload_flag
20561 reload_cmds=$lt_reload_cmds
20563 # How to pass a linker flag through the compiler.
20564 wl=$lt_lt_prog_compiler_wl_GCJ
20566 # Object file suffix (normally "o").
20567 objext="$ac_objext"
20569 # Old archive suffix (normally "a").
20572 # Shared library suffix (normally ".so").
20573 shrext_cmds='$shrext_cmds'
20575 # Executable file suffix (normally "").
20578 # Additional compiler flags for building library objects.
20579 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20582 # What is the maximum length of a command?
20583 max_cmd_len=$lt_cv_sys_max_cmd_len
20585 # Does compiler simultaneously support -c and -o options?
20586 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20588 # Must we lock files when doing compilation?
20589 need_locks=$lt_need_locks
20591 # Do we need the lib prefix for modules?
20592 need_lib_prefix=$need_lib_prefix
20594 # Do we need a version for libraries?
20595 need_version=$need_version
20597 # Whether dlopen is supported.
20598 dlopen_support=$enable_dlopen
20600 # Whether dlopen of programs is supported.
20601 dlopen_self=$enable_dlopen_self
20603 # Whether dlopen of statically linked programs is supported.
20604 dlopen_self_static=$enable_dlopen_self_static
20606 # Compiler flag to prevent dynamic linking.
20607 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20609 # Compiler flag to turn off builtin functions.
20610 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20612 # Compiler flag to allow reflexive dlopens.
20613 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20615 # Compiler flag to generate shared objects directly from archives.
20616 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20618 # Compiler flag to generate thread-safe objects.
20619 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20621 # Library versioning type.
20622 version_type=$version_type
20624 # Format of library name prefix.
20625 libname_spec=$lt_libname_spec
20627 # List of archive names. First name is the real one, the rest are links.
20628 # The last name is the one that the linker finds with -lNAME.
20629 library_names_spec=$lt_library_names_spec
20631 # The coded name of the library, if different from the real name.
20632 soname_spec=$lt_soname_spec
20634 # Commands used to build and install an old-style archive.
20636 old_archive_cmds=$lt_old_archive_cmds_GCJ
20637 old_postinstall_cmds=$lt_old_postinstall_cmds
20638 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20640 # Create an old-style archive from a shared archive.
20641 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20643 # Create a temporary old-style archive to link instead of a shared archive.
20644 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20646 # Commands used to build and install a shared archive.
20647 archive_cmds=$lt_archive_cmds_GCJ
20648 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20649 postinstall_cmds=$lt_postinstall_cmds
20650 postuninstall_cmds=$lt_postuninstall_cmds
20652 # Commands used to build a loadable module (assumed same as above if empty)
20653 module_cmds=$lt_module_cmds_GCJ
20654 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20656 # Commands to strip libraries.
20657 old_striplib=$lt_old_striplib
20658 striplib=$lt_striplib
20660 # Dependencies to place before the objects being linked to create a
20662 predep_objects=$lt_predep_objects_GCJ
20664 # Dependencies to place after the objects being linked to create a
20666 postdep_objects=$lt_postdep_objects_GCJ
20668 # Dependencies to place before the objects being linked to create a
20670 predeps=$lt_predeps_GCJ
20672 # Dependencies to place after the objects being linked to create a
20674 postdeps=$lt_postdeps_GCJ
20676 # The directories searched by this compiler when creating a shared
20678 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
20680 # The library search path used internally by the compiler when linking
20681 # a shared library.
20682 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20684 # Method to check whether dependent libraries are shared objects.
20685 deplibs_check_method=$lt_deplibs_check_method
20687 # Command to use when deplibs_check_method == file_magic.
20688 file_magic_cmd=$lt_file_magic_cmd
20690 # Flag that allows shared libraries with undefined symbols to be built.
20691 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20693 # Flag that forces no undefined symbols.
20694 no_undefined_flag=$lt_no_undefined_flag_GCJ
20696 # Commands used to finish a libtool library installation in a directory.
20697 finish_cmds=$lt_finish_cmds
20699 # Same as above, but a single script fragment to be evaled but not shown.
20700 finish_eval=$lt_finish_eval
20702 # Take the output of nm and produce a listing of raw symbols and C names.
20703 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20705 # Transform the output of nm in a proper C declaration
20706 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20708 # Transform the output of nm in a C name address pair
20709 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20711 # This is the shared library runtime path variable.
20712 runpath_var=$runpath_var
20714 # This is the shared library path variable.
20715 shlibpath_var=$shlibpath_var
20717 # Is shlibpath searched before the hard-coded library search path?
20718 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20720 # How to hardcode a shared library path into an executable.
20721 hardcode_action=$hardcode_action_GCJ
20723 # Whether we should hardcode library paths into libraries.
20724 hardcode_into_libs=$hardcode_into_libs
20726 # Flag to hardcode \$libdir into a binary during linking.
20727 # This must work even if \$libdir does not exist.
20728 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20730 # If ld is used when linking, flag to hardcode \$libdir into
20731 # a binary during linking. This must work even if \$libdir does
20733 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20735 # Whether we need a single -rpath flag with a separated argument.
20736 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20738 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20739 # resulting binary.
20740 hardcode_direct=$hardcode_direct_GCJ
20742 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20743 # resulting binary.
20744 hardcode_minus_L=$hardcode_minus_L_GCJ
20746 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20747 # the resulting binary.
20748 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20750 # Set to yes if building a shared library automatically hardcodes DIR into the library
20751 # and all subsequent libraries and executables linked against it.
20752 hardcode_automatic=$hardcode_automatic_GCJ
20754 # Variables whose values should be saved in libtool wrapper scripts and
20755 # restored at relink time.
20756 variables_saved_for_relink="$variables_saved_for_relink"
20758 # Whether libtool must link a program against all its dependency libraries.
20759 link_all_deplibs=$link_all_deplibs_GCJ
20761 # Compile-time system search path for libraries
20762 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20764 # Run-time system search path for libraries
20765 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20767 # Fix the shell variable \$srcfile for the compiler.
20768 fix_srcfile_path=$lt_fix_srcfile_path
20770 # Set to yes if exported symbols are required.
20771 always_export_symbols=$always_export_symbols_GCJ
20773 # The commands to list exported symbols.
20774 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20776 # The commands to extract the exported symbol list from a shared archive.
20777 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20779 # Symbols that should not be listed in the preloaded symbols.
20780 exclude_expsyms=$lt_exclude_expsyms_GCJ
20782 # Symbols that must always be exported.
20783 include_expsyms=$lt_include_expsyms_GCJ
20785 # ### END LIBTOOL TAG CONFIG: $tagname
20791 # If there is no Makefile yet, we rely on a make rule to execute
20792 # `config.status --recheck' to rerun these tests and create the
20793 # libtool script then.
20794 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20795 if test -f "$ltmain_in"; then
20796 test -f Makefile && make "$ltmain"
20802 ac_cpp='$CPP $CPPFLAGS'
20803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20817 # Source file extension for RC test sources.
20820 # Object file extension for compiled RC test sources.
20824 # Code to be used in simple compile tests
20825 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20827 # Code to be used in simple link tests
20828 lt_simple_link_test_code="$lt_simple_compile_test_code"
20830 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20832 # If no C compiler was specified, use CC.
20835 # If no C compiler flags were specified, use CFLAGS.
20836 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20838 # Allow CC to be a program name with arguments.
20842 # save warnings/boilerplate of simple test code
20843 ac_outfile=conftest.$ac_objext
20844 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20845 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20846 _lt_compiler_boilerplate=`cat conftest.err`
20849 ac_outfile=conftest.$ac_objext
20850 echo "$lt_simple_link_test_code" >conftest.$ac_ext
20851 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20852 _lt_linker_boilerplate=`cat conftest.err`
20856 # Allow CC to be a program name with arguments.
20861 for cc_temp in $compiler""; do
20863 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20864 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20869 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20871 lt_cv_prog_compiler_c_o_RC=yes
20873 # The else clause should only fire when bootstrapping the
20874 # libtool distribution, otherwise you forgot to ship ltmain.sh
20875 # with your package, and you will get complaints that there are
20876 # no rules to generate ltmain.sh.
20877 if test -f "$ltmain"; then
20878 # See if we are running on zsh, and set the options which allow our commands through
20879 # without removal of \ escapes.
20880 if test -n "${ZSH_VERSION+set}" ; then
20881 setopt NO_GLOB_SUBST
20883 # Now quote all the things that may contain metacharacters while being
20884 # careful not to overquote the AC_SUBSTed values. We take copies of the
20885 # variables and quote the copies for generation of the libtool script.
20886 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20888 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20889 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20890 deplibs_check_method reload_flag reload_cmds need_locks \
20891 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20892 lt_cv_sys_global_symbol_to_c_name_address \
20893 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20894 old_postinstall_cmds old_postuninstall_cmds \
20898 lt_prog_compiler_wl_RC \
20899 lt_prog_compiler_pic_RC \
20900 lt_prog_compiler_static_RC \
20901 lt_prog_compiler_no_builtin_flag_RC \
20902 export_dynamic_flag_spec_RC \
20903 thread_safe_flag_spec_RC \
20904 whole_archive_flag_spec_RC \
20905 enable_shared_with_static_runtimes_RC \
20906 old_archive_cmds_RC \
20907 old_archive_from_new_cmds_RC \
20908 predep_objects_RC \
20909 postdep_objects_RC \
20912 compiler_lib_search_path_RC \
20913 compiler_lib_search_dirs_RC \
20915 archive_expsym_cmds_RC \
20916 postinstall_cmds_RC \
20917 postuninstall_cmds_RC \
20918 old_archive_from_expsyms_cmds_RC \
20919 allow_undefined_flag_RC \
20920 no_undefined_flag_RC \
20921 export_symbols_cmds_RC \
20922 hardcode_libdir_flag_spec_RC \
20923 hardcode_libdir_flag_spec_ld_RC \
20924 hardcode_libdir_separator_RC \
20925 hardcode_automatic_RC \
20927 module_expsym_cmds_RC \
20928 lt_cv_prog_compiler_c_o_RC \
20929 fix_srcfile_path_RC \
20930 exclude_expsyms_RC \
20931 include_expsyms_RC; do
20934 old_archive_cmds_RC | \
20935 old_archive_from_new_cmds_RC | \
20936 archive_cmds_RC | \
20937 archive_expsym_cmds_RC | \
20939 module_expsym_cmds_RC | \
20940 old_archive_from_expsyms_cmds_RC | \
20941 export_symbols_cmds_RC | \
20942 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20943 postinstall_cmds | postuninstall_cmds | \
20944 old_postinstall_cmds | old_postuninstall_cmds | \
20945 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20946 # Double-quote double-evaled strings.
20947 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20950 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20956 *'\$0 --fallback-echo"')
20957 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20963 cat <<__EOF__ >> "$cfgfile"
20964 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20966 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20968 # Shell to use when invoking shell scripts.
20971 # Whether or not to build shared libraries.
20972 build_libtool_libs=$enable_shared
20974 # Whether or not to build static libraries.
20975 build_old_libs=$enable_static
20977 # Whether or not to add -lc for building shared libraries.
20978 build_libtool_need_lc=$archive_cmds_need_lc_RC
20980 # Whether or not to disallow shared libs when runtime libs are static
20981 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20983 # Whether or not to optimize for fast installation.
20984 fast_install=$enable_fast_install
20987 host_alias=$host_alias
20991 # The build system.
20992 build_alias=$build_alias
20996 # An echo program that does not interpret backslashes.
21001 AR_FLAGS=$lt_AR_FLAGS
21006 # LTCC compiler flags.
21007 LTCFLAGS=$lt_LTCFLAGS
21009 # A language-specific compiler.
21012 # Is the compiler the GNU C compiler?
21018 # The linker used to build libraries.
21021 # Whether we need hard or soft links.
21024 # A BSD-compatible nm program.
21027 # A symbol stripping program
21030 # Used to examine libraries when file_magic_cmd begins "file"
21031 MAGIC_CMD=$MAGIC_CMD
21033 # Used on cygwin: DLL creation program.
21036 # Used on cygwin: object dumper.
21039 # Used on cygwin: assembler.
21042 # The name of the directory that contains temporary libtool files.
21045 # How to create reloadable object files.
21046 reload_flag=$lt_reload_flag
21047 reload_cmds=$lt_reload_cmds
21049 # How to pass a linker flag through the compiler.
21050 wl=$lt_lt_prog_compiler_wl_RC
21052 # Object file suffix (normally "o").
21053 objext="$ac_objext"
21055 # Old archive suffix (normally "a").
21058 # Shared library suffix (normally ".so").
21059 shrext_cmds='$shrext_cmds'
21061 # Executable file suffix (normally "").
21064 # Additional compiler flags for building library objects.
21065 pic_flag=$lt_lt_prog_compiler_pic_RC
21068 # What is the maximum length of a command?
21069 max_cmd_len=$lt_cv_sys_max_cmd_len
21071 # Does compiler simultaneously support -c and -o options?
21072 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21074 # Must we lock files when doing compilation?
21075 need_locks=$lt_need_locks
21077 # Do we need the lib prefix for modules?
21078 need_lib_prefix=$need_lib_prefix
21080 # Do we need a version for libraries?
21081 need_version=$need_version
21083 # Whether dlopen is supported.
21084 dlopen_support=$enable_dlopen
21086 # Whether dlopen of programs is supported.
21087 dlopen_self=$enable_dlopen_self
21089 # Whether dlopen of statically linked programs is supported.
21090 dlopen_self_static=$enable_dlopen_self_static
21092 # Compiler flag to prevent dynamic linking.
21093 link_static_flag=$lt_lt_prog_compiler_static_RC
21095 # Compiler flag to turn off builtin functions.
21096 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21098 # Compiler flag to allow reflexive dlopens.
21099 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21101 # Compiler flag to generate shared objects directly from archives.
21102 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21104 # Compiler flag to generate thread-safe objects.
21105 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21107 # Library versioning type.
21108 version_type=$version_type
21110 # Format of library name prefix.
21111 libname_spec=$lt_libname_spec
21113 # List of archive names. First name is the real one, the rest are links.
21114 # The last name is the one that the linker finds with -lNAME.
21115 library_names_spec=$lt_library_names_spec
21117 # The coded name of the library, if different from the real name.
21118 soname_spec=$lt_soname_spec
21120 # Commands used to build and install an old-style archive.
21122 old_archive_cmds=$lt_old_archive_cmds_RC
21123 old_postinstall_cmds=$lt_old_postinstall_cmds
21124 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21126 # Create an old-style archive from a shared archive.
21127 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21129 # Create a temporary old-style archive to link instead of a shared archive.
21130 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21132 # Commands used to build and install a shared archive.
21133 archive_cmds=$lt_archive_cmds_RC
21134 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21135 postinstall_cmds=$lt_postinstall_cmds
21136 postuninstall_cmds=$lt_postuninstall_cmds
21138 # Commands used to build a loadable module (assumed same as above if empty)
21139 module_cmds=$lt_module_cmds_RC
21140 module_expsym_cmds=$lt_module_expsym_cmds_RC
21142 # Commands to strip libraries.
21143 old_striplib=$lt_old_striplib
21144 striplib=$lt_striplib
21146 # Dependencies to place before the objects being linked to create a
21148 predep_objects=$lt_predep_objects_RC
21150 # Dependencies to place after the objects being linked to create a
21152 postdep_objects=$lt_postdep_objects_RC
21154 # Dependencies to place before the objects being linked to create a
21156 predeps=$lt_predeps_RC
21158 # Dependencies to place after the objects being linked to create a
21160 postdeps=$lt_postdeps_RC
21162 # The directories searched by this compiler when creating a shared
21164 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
21166 # The library search path used internally by the compiler when linking
21167 # a shared library.
21168 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21170 # Method to check whether dependent libraries are shared objects.
21171 deplibs_check_method=$lt_deplibs_check_method
21173 # Command to use when deplibs_check_method == file_magic.
21174 file_magic_cmd=$lt_file_magic_cmd
21176 # Flag that allows shared libraries with undefined symbols to be built.
21177 allow_undefined_flag=$lt_allow_undefined_flag_RC
21179 # Flag that forces no undefined symbols.
21180 no_undefined_flag=$lt_no_undefined_flag_RC
21182 # Commands used to finish a libtool library installation in a directory.
21183 finish_cmds=$lt_finish_cmds
21185 # Same as above, but a single script fragment to be evaled but not shown.
21186 finish_eval=$lt_finish_eval
21188 # Take the output of nm and produce a listing of raw symbols and C names.
21189 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21191 # Transform the output of nm in a proper C declaration
21192 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21194 # Transform the output of nm in a C name address pair
21195 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21197 # This is the shared library runtime path variable.
21198 runpath_var=$runpath_var
21200 # This is the shared library path variable.
21201 shlibpath_var=$shlibpath_var
21203 # Is shlibpath searched before the hard-coded library search path?
21204 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21206 # How to hardcode a shared library path into an executable.
21207 hardcode_action=$hardcode_action_RC
21209 # Whether we should hardcode library paths into libraries.
21210 hardcode_into_libs=$hardcode_into_libs
21212 # Flag to hardcode \$libdir into a binary during linking.
21213 # This must work even if \$libdir does not exist.
21214 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21216 # If ld is used when linking, flag to hardcode \$libdir into
21217 # a binary during linking. This must work even if \$libdir does
21219 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21221 # Whether we need a single -rpath flag with a separated argument.
21222 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21224 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21225 # resulting binary.
21226 hardcode_direct=$hardcode_direct_RC
21228 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21229 # resulting binary.
21230 hardcode_minus_L=$hardcode_minus_L_RC
21232 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21233 # the resulting binary.
21234 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21236 # Set to yes if building a shared library automatically hardcodes DIR into the library
21237 # and all subsequent libraries and executables linked against it.
21238 hardcode_automatic=$hardcode_automatic_RC
21240 # Variables whose values should be saved in libtool wrapper scripts and
21241 # restored at relink time.
21242 variables_saved_for_relink="$variables_saved_for_relink"
21244 # Whether libtool must link a program against all its dependency libraries.
21245 link_all_deplibs=$link_all_deplibs_RC
21247 # Compile-time system search path for libraries
21248 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21250 # Run-time system search path for libraries
21251 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21253 # Fix the shell variable \$srcfile for the compiler.
21254 fix_srcfile_path=$lt_fix_srcfile_path
21256 # Set to yes if exported symbols are required.
21257 always_export_symbols=$always_export_symbols_RC
21259 # The commands to list exported symbols.
21260 export_symbols_cmds=$lt_export_symbols_cmds_RC
21262 # The commands to extract the exported symbol list from a shared archive.
21263 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21265 # Symbols that should not be listed in the preloaded symbols.
21266 exclude_expsyms=$lt_exclude_expsyms_RC
21268 # Symbols that must always be exported.
21269 include_expsyms=$lt_include_expsyms_RC
21271 # ### END LIBTOOL TAG CONFIG: $tagname
21277 # If there is no Makefile yet, we rely on a make rule to execute
21278 # `config.status --recheck' to rerun these tests and create the
21279 # libtool script then.
21280 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21281 if test -f "$ltmain_in"; then
21282 test -f Makefile && make "$ltmain"
21288 ac_cpp='$CPP $CPPFLAGS'
21289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21298 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21299 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21300 { (exit 1); exit 1; }; }
21304 # Append the new tag name to the list of available tags.
21305 if test -n "$tagname" ; then
21306 available_tags="$available_tags $tagname"
21312 # Now substitute the updated list of available tags.
21313 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21314 mv "${ofile}T" "$ofile"
21318 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21319 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21320 { (exit 1); exit 1; }; }
21326 # This can be used to rebuild libtool when needed
21327 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21329 # Always use our own libtool.
21330 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
21332 # Prevent multiple expansion
21353 for ac_prog in gawk mawk nawk awk
21355 # Extract the first word of "$ac_prog", so it can be a program name with args.
21356 set dummy $ac_prog; ac_word=$2
21357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21359 if test "${ac_cv_prog_AWK+set}" = set; then
21360 echo $ECHO_N "(cached) $ECHO_C" >&6
21362 if test -n "$AWK"; then
21363 ac_cv_prog_AWK="$AWK" # Let the user override the test.
21365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21366 for as_dir in $PATH
21369 test -z "$as_dir" && as_dir=.
21370 for ac_exec_ext in '' $ac_executable_extensions; do
21371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21372 ac_cv_prog_AWK="$ac_prog"
21373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21382 AWK=$ac_cv_prog_AWK
21383 if test -n "$AWK"; then
21384 { echo "$as_me:$LINENO: result: $AWK" >&5
21385 echo "${ECHO_T}$AWK" >&6; }
21387 { echo "$as_me:$LINENO: result: no" >&5
21388 echo "${ECHO_T}no" >&6; }
21392 test -n "$AWK" && break
21396 ac_cpp='$CPP $CPPFLAGS'
21397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21400 if test -n "$ac_tool_prefix"; then
21401 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
21402 set dummy ${ac_tool_prefix}gcc; ac_word=$2
21403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21405 if test "${ac_cv_prog_CC+set}" = set; then
21406 echo $ECHO_N "(cached) $ECHO_C" >&6
21408 if test -n "$CC"; then
21409 ac_cv_prog_CC="$CC" # Let the user override the test.
21411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21412 for as_dir in $PATH
21415 test -z "$as_dir" && as_dir=.
21416 for ac_exec_ext in '' $ac_executable_extensions; do
21417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21418 ac_cv_prog_CC="${ac_tool_prefix}gcc"
21419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21429 if test -n "$CC"; then
21430 { echo "$as_me:$LINENO: result: $CC" >&5
21431 echo "${ECHO_T}$CC" >&6; }
21433 { echo "$as_me:$LINENO: result: no" >&5
21434 echo "${ECHO_T}no" >&6; }
21439 if test -z "$ac_cv_prog_CC"; then
21441 # Extract the first word of "gcc", so it can be a program name with args.
21442 set dummy gcc; ac_word=$2
21443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21445 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
21446 echo $ECHO_N "(cached) $ECHO_C" >&6
21448 if test -n "$ac_ct_CC"; then
21449 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
21451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21452 for as_dir in $PATH
21455 test -z "$as_dir" && as_dir=.
21456 for ac_exec_ext in '' $ac_executable_extensions; do
21457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21458 ac_cv_prog_ac_ct_CC="gcc"
21459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21468 ac_ct_CC=$ac_cv_prog_ac_ct_CC
21469 if test -n "$ac_ct_CC"; then
21470 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
21471 echo "${ECHO_T}$ac_ct_CC" >&6; }
21473 { echo "$as_me:$LINENO: result: no" >&5
21474 echo "${ECHO_T}no" >&6; }
21477 if test "x$ac_ct_CC" = x; then
21480 case $cross_compiling:$ac_tool_warned in
21482 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21483 whose name does not start with the host triplet. If you think this
21484 configuration is useful to you, please write to autoconf@gnu.org." >&5
21485 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21486 whose name does not start with the host triplet. If you think this
21487 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21488 ac_tool_warned=yes ;;
21493 CC="$ac_cv_prog_CC"
21496 if test -z "$CC"; then
21497 if test -n "$ac_tool_prefix"; then
21498 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
21499 set dummy ${ac_tool_prefix}cc; ac_word=$2
21500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21502 if test "${ac_cv_prog_CC+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 if test -n "$CC"; then
21506 ac_cv_prog_CC="$CC" # Let the user override the test.
21508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21509 for as_dir in $PATH
21512 test -z "$as_dir" && as_dir=.
21513 for ac_exec_ext in '' $ac_executable_extensions; do
21514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21515 ac_cv_prog_CC="${ac_tool_prefix}cc"
21516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21526 if test -n "$CC"; then
21527 { echo "$as_me:$LINENO: result: $CC" >&5
21528 echo "${ECHO_T}$CC" >&6; }
21530 { echo "$as_me:$LINENO: result: no" >&5
21531 echo "${ECHO_T}no" >&6; }
21537 if test -z "$CC"; then
21538 # Extract the first word of "cc", so it can be a program name with args.
21539 set dummy cc; ac_word=$2
21540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21542 if test "${ac_cv_prog_CC+set}" = set; then
21543 echo $ECHO_N "(cached) $ECHO_C" >&6
21545 if test -n "$CC"; then
21546 ac_cv_prog_CC="$CC" # Let the user override the test.
21548 ac_prog_rejected=no
21549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21550 for as_dir in $PATH
21553 test -z "$as_dir" && as_dir=.
21554 for ac_exec_ext in '' $ac_executable_extensions; do
21555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21556 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
21557 ac_prog_rejected=yes
21561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21568 if test $ac_prog_rejected = yes; then
21569 # We found a bogon in the path, so make sure we never use it.
21570 set dummy $ac_cv_prog_CC
21572 if test $# != 0; then
21573 # We chose a different compiler from the bogus one.
21574 # However, it has the same basename, so the bogon will be chosen
21575 # first if we set CC to just the basename; use the full file name.
21577 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
21583 if test -n "$CC"; then
21584 { echo "$as_me:$LINENO: result: $CC" >&5
21585 echo "${ECHO_T}$CC" >&6; }
21587 { echo "$as_me:$LINENO: result: no" >&5
21588 echo "${ECHO_T}no" >&6; }
21593 if test -z "$CC"; then
21594 if test -n "$ac_tool_prefix"; then
21595 for ac_prog in cl.exe
21597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21601 if test "${ac_cv_prog_CC+set}" = set; then
21602 echo $ECHO_N "(cached) $ECHO_C" >&6
21604 if test -n "$CC"; then
21605 ac_cv_prog_CC="$CC" # Let the user override the test.
21607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21608 for as_dir in $PATH
21611 test -z "$as_dir" && as_dir=.
21612 for ac_exec_ext in '' $ac_executable_extensions; do
21613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21614 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
21615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21625 if test -n "$CC"; then
21626 { echo "$as_me:$LINENO: result: $CC" >&5
21627 echo "${ECHO_T}$CC" >&6; }
21629 { echo "$as_me:$LINENO: result: no" >&5
21630 echo "${ECHO_T}no" >&6; }
21634 test -n "$CC" && break
21637 if test -z "$CC"; then
21639 for ac_prog in cl.exe
21641 # Extract the first word of "$ac_prog", so it can be a program name with args.
21642 set dummy $ac_prog; ac_word=$2
21643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21645 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
21646 echo $ECHO_N "(cached) $ECHO_C" >&6
21648 if test -n "$ac_ct_CC"; then
21649 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
21651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21652 for as_dir in $PATH
21655 test -z "$as_dir" && as_dir=.
21656 for ac_exec_ext in '' $ac_executable_extensions; do
21657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21658 ac_cv_prog_ac_ct_CC="$ac_prog"
21659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21668 ac_ct_CC=$ac_cv_prog_ac_ct_CC
21669 if test -n "$ac_ct_CC"; then
21670 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
21671 echo "${ECHO_T}$ac_ct_CC" >&6; }
21673 { echo "$as_me:$LINENO: result: no" >&5
21674 echo "${ECHO_T}no" >&6; }
21678 test -n "$ac_ct_CC" && break
21681 if test "x$ac_ct_CC" = x; then
21684 case $cross_compiling:$ac_tool_warned in
21686 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21687 whose name does not start with the host triplet. If you think this
21688 configuration is useful to you, please write to autoconf@gnu.org." >&5
21689 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21690 whose name does not start with the host triplet. If you think this
21691 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21692 ac_tool_warned=yes ;;
21701 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
21702 See \`config.log' for more details." >&5
21703 echo "$as_me: error: no acceptable C compiler found in \$PATH
21704 See \`config.log' for more details." >&2;}
21705 { (exit 1); exit 1; }; }
21707 # Provide some information about the compiler.
21708 echo "$as_me:$LINENO: checking for C compiler version" >&5
21709 ac_compiler=`set X $ac_compile; echo $2`
21710 { (ac_try="$ac_compiler --version >&5"
21711 case "(($ac_try" in
21712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21713 *) ac_try_echo=$ac_try;;
21715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21716 (eval "$ac_compiler --version >&5") 2>&5
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); }
21720 { (ac_try="$ac_compiler -v >&5"
21721 case "(($ac_try" in
21722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21723 *) ac_try_echo=$ac_try;;
21725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21726 (eval "$ac_compiler -v >&5") 2>&5
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); }
21730 { (ac_try="$ac_compiler -V >&5"
21731 case "(($ac_try" in
21732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21733 *) ac_try_echo=$ac_try;;
21735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21736 (eval "$ac_compiler -V >&5") 2>&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); }
21741 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
21742 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
21743 if test "${ac_cv_c_compiler_gnu+set}" = set; then
21744 echo $ECHO_N "(cached) $ECHO_C" >&6
21746 cat >conftest.$ac_ext <<_ACEOF
21749 cat confdefs.h >>conftest.$ac_ext
21750 cat >>conftest.$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21764 rm -f conftest.$ac_objext
21765 if { (ac_try="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21773 grep -v '^ *+' conftest.er1 >conftest.err
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } && {
21778 test -z "$ac_c_werror_flag" ||
21779 test ! -s conftest.err
21780 } && test -s conftest.$ac_objext; then
21781 ac_compiler_gnu=yes
21783 echo "$as_me: failed program was:" >&5
21784 sed 's/^/| /' conftest.$ac_ext >&5
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21790 ac_cv_c_compiler_gnu=$ac_compiler_gnu
21793 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
21794 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
21795 GCC=`test $ac_compiler_gnu = yes && echo yes`
21796 ac_test_CFLAGS=${CFLAGS+set}
21797 ac_save_CFLAGS=$CFLAGS
21798 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
21799 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
21800 if test "${ac_cv_prog_cc_g+set}" = set; then
21801 echo $ECHO_N "(cached) $ECHO_C" >&6
21803 ac_save_c_werror_flag=$ac_c_werror_flag
21804 ac_c_werror_flag=yes
21807 cat >conftest.$ac_ext <<_ACEOF
21810 cat confdefs.h >>conftest.$ac_ext
21811 cat >>conftest.$ac_ext <<_ACEOF
21812 /* end confdefs.h. */
21822 rm -f conftest.$ac_objext
21823 if { (ac_try="$ac_compile"
21824 case "(($ac_try" in
21825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21826 *) ac_try_echo=$ac_try;;
21828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21829 (eval "$ac_compile") 2>conftest.er1
21831 grep -v '^ *+' conftest.er1 >conftest.err
21833 cat conftest.err >&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); } && {
21836 test -z "$ac_c_werror_flag" ||
21837 test ! -s conftest.err
21838 } && test -s conftest.$ac_objext; then
21839 ac_cv_prog_cc_g=yes
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.$ac_ext >&5
21845 cat >conftest.$ac_ext <<_ACEOF
21848 cat confdefs.h >>conftest.$ac_ext
21849 cat >>conftest.$ac_ext <<_ACEOF
21850 /* end confdefs.h. */
21860 rm -f conftest.$ac_objext
21861 if { (ac_try="$ac_compile"
21862 case "(($ac_try" in
21863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21864 *) ac_try_echo=$ac_try;;
21866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21867 (eval "$ac_compile") 2>conftest.er1
21869 grep -v '^ *+' conftest.er1 >conftest.err
21871 cat conftest.err >&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); } && {
21874 test -z "$ac_c_werror_flag" ||
21875 test ! -s conftest.err
21876 } && test -s conftest.$ac_objext; then
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21882 ac_c_werror_flag=$ac_save_c_werror_flag
21884 cat >conftest.$ac_ext <<_ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21899 rm -f conftest.$ac_objext
21900 if { (ac_try="$ac_compile"
21901 case "(($ac_try" in
21902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21903 *) ac_try_echo=$ac_try;;
21905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21906 (eval "$ac_compile") 2>conftest.er1
21908 grep -v '^ *+' conftest.er1 >conftest.err
21910 cat conftest.err >&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } && {
21913 test -z "$ac_c_werror_flag" ||
21914 test ! -s conftest.err
21915 } && test -s conftest.$ac_objext; then
21916 ac_cv_prog_cc_g=yes
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.$ac_ext >&5
21924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21931 ac_c_werror_flag=$ac_save_c_werror_flag
21933 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
21934 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
21935 if test "$ac_test_CFLAGS" = set; then
21936 CFLAGS=$ac_save_CFLAGS
21937 elif test $ac_cv_prog_cc_g = yes; then
21938 if test "$GCC" = yes; then
21944 if test "$GCC" = yes; then
21950 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
21951 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
21952 if test "${ac_cv_prog_cc_c89+set}" = set; then
21953 echo $ECHO_N "(cached) $ECHO_C" >&6
21955 ac_cv_prog_cc_c89=no
21957 cat >conftest.$ac_ext <<_ACEOF
21960 cat confdefs.h >>conftest.$ac_ext
21961 cat >>conftest.$ac_ext <<_ACEOF
21962 /* end confdefs.h. */
21963 #include <stdarg.h>
21965 #include <sys/types.h>
21966 #include <sys/stat.h>
21967 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
21968 struct buf { int x; };
21969 FILE * (*rcsopen) (struct buf *, struct stat *, int);
21970 static char *e (p, i)
21976 static char *f (char * (*g) (char **, int), char **p, ...)
21981 s = g (p, va_arg (v,int));
21986 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
21987 function prototypes and stuff, but not '\xHH' hex character constants.
21988 These don't provoke an error unfortunately, instead are silently treated
21989 as 'x'. The following induces an error, until -std is added to get
21990 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
21991 array size at least. It's necessary to write '\x00'==0 to get something
21992 that's true only with -std. */
21993 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
21995 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
21996 inside strings and character constants. */
21998 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
22000 int test (int i, double x);
22001 struct s1 {int (*f) (int a);};
22002 struct s2 {int (*f) (double a);};
22003 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
22009 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
22014 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
22015 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
22017 CC="$ac_save_CC $ac_arg"
22018 rm -f conftest.$ac_objext
22019 if { (ac_try="$ac_compile"
22020 case "(($ac_try" in
22021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22022 *) ac_try_echo=$ac_try;;
22024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22025 (eval "$ac_compile") 2>conftest.er1
22027 grep -v '^ *+' conftest.er1 >conftest.err
22029 cat conftest.err >&5
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); } && {
22032 test -z "$ac_c_werror_flag" ||
22033 test ! -s conftest.err
22034 } && test -s conftest.$ac_objext; then
22035 ac_cv_prog_cc_c89=$ac_arg
22037 echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.$ac_ext >&5
22043 rm -f core conftest.err conftest.$ac_objext
22044 test "x$ac_cv_prog_cc_c89" != "xno" && break
22046 rm -f conftest.$ac_ext
22051 case "x$ac_cv_prog_cc_c89" in
22053 { echo "$as_me:$LINENO: result: none needed" >&5
22054 echo "${ECHO_T}none needed" >&6; } ;;
22056 { echo "$as_me:$LINENO: result: unsupported" >&5
22057 echo "${ECHO_T}unsupported" >&6; } ;;
22059 CC="$CC $ac_cv_prog_cc_c89"
22060 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
22061 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
22066 ac_cpp='$CPP $CPPFLAGS'
22067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22071 depcc="$CC" am_compiler_list=
22073 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
22074 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
22075 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
22076 echo $ECHO_N "(cached) $ECHO_C" >&6
22078 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
22079 # We make a subdir and do the tests there. Otherwise we can end up
22080 # making bogus files that we don't know about and never remove. For
22081 # instance it was reported that on HP-UX the gcc test will end up
22082 # making a dummy file named `D' -- because `-MD' means `put the output
22085 # Copy depcomp to subdir because otherwise we won't find it if we're
22086 # using a relative directory.
22087 cp "$am_depcomp" conftest.dir
22089 # We will build objects and dependencies in a subdirectory because
22090 # it helps to detect inapplicable dependency modes. For instance
22091 # both Tru64's cc and ICC support -MD to output dependencies as a
22092 # side effect of compilation, but ICC will put the dependencies in
22093 # the current directory while Tru64 will put them in the object
22097 am_cv_CC_dependencies_compiler_type=none
22098 if test "$am_compiler_list" = ""; then
22099 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
22101 for depmode in $am_compiler_list; do
22102 # Setup a source with many dependencies, because some compilers
22103 # like to wrap large dependency lists on column 80 (with \), and
22104 # we should not choose a depcomp mode which is confused by this.
22106 # We need to recreate these files for each test, as the compiler may
22107 # overwrite some of them when testing with obscure command lines.
22108 # This happens at least with the AIX C compiler.
22110 for i in 1 2 3 4 5 6; do
22111 echo '#include "conftst'$i'.h"' >> sub/conftest.c
22112 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
22113 # Solaris 8's {/usr,}/bin/sh.
22114 touch sub/conftst$i.h
22116 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
22120 # after this tag, mechanisms are not by side-effect, so they'll
22121 # only be used when explicitly requested
22122 if test "x$enable_dependency_tracking" = xyes; then
22130 # We check with `-c' and `-o' for the sake of the "dashmstdout"
22131 # mode. It turns out that the SunPro C++ compiler does not properly
22132 # handle `-M -o', and we need to detect this.
22133 if depmode=$depmode \
22134 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
22135 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
22136 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
22137 >/dev/null 2>conftest.err &&
22138 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
22139 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
22140 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
22141 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
22142 # icc doesn't choke on unknown options, it will just issue warnings
22143 # or remarks (even with -Werror). So we grep stderr for any message
22144 # that says an option was ignored or not supported.
22145 # When given -MP, icc 7.0 and 7.1 complain thusly:
22146 # icc: Command line warning: ignoring option '-M'; no argument required
22147 # The diagnosis changed in icc 8.0:
22148 # icc: Command line remark: option '-MP' not supported
22149 if (grep 'ignoring option' conftest.err ||
22150 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
22151 am_cv_CC_dependencies_compiler_type=$depmode
22158 rm -rf conftest.dir
22160 am_cv_CC_dependencies_compiler_type=none
22164 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
22165 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
22166 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
22169 test "x$enable_dependency_tracking" != xno \
22170 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
22171 am__fastdepCC_TRUE=
22172 am__fastdepCC_FALSE='#'
22174 am__fastdepCC_TRUE='#'
22175 am__fastdepCC_FALSE=
22179 if test "x$CC" != xcc; then
22180 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
22181 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
22183 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
22184 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
22186 set dummy $CC; ac_cc=`echo $2 |
22187 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
22188 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
22189 echo $ECHO_N "(cached) $ECHO_C" >&6
22191 cat >conftest.$ac_ext <<_ACEOF
22194 cat confdefs.h >>conftest.$ac_ext
22195 cat >>conftest.$ac_ext <<_ACEOF
22196 /* end confdefs.h. */
22206 # Make sure it works both with $CC and with simple cc.
22207 # We do the test twice because some compilers refuse to overwrite an
22208 # existing .o file with -o, though they will create one.
22209 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
22211 if { (case "(($ac_try" in
22212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22213 *) ac_try_echo=$ac_try;;
22215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22216 (eval "$ac_try") 2>&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); } &&
22220 test -f conftest2.$ac_objext && { (case "(($ac_try" in
22221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22222 *) ac_try_echo=$ac_try;;
22224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22225 (eval "$ac_try") 2>&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); };
22230 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
22231 if test "x$CC" != xcc; then
22232 # Test first that cc exists at all.
22233 if { ac_try='cc -c conftest.$ac_ext >&5'
22234 { (case "(($ac_try" in
22235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22236 *) ac_try_echo=$ac_try;;
22238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22239 (eval "$ac_try") 2>&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); }; }; then
22243 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
22245 if { (case "(($ac_try" in
22246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22247 *) ac_try_echo=$ac_try;;
22249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22250 (eval "$ac_try") 2>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); } &&
22254 test -f conftest2.$ac_objext && { (case "(($ac_try" in
22255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22256 *) ac_try_echo=$ac_try;;
22258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22259 (eval "$ac_try") 2>&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); };
22267 # cc exists but doesn't like -o.
22268 eval ac_cv_prog_cc_${ac_cc}_c_o=no
22273 eval ac_cv_prog_cc_${ac_cc}_c_o=no
22275 rm -f core conftest*
22278 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
22279 { echo "$as_me:$LINENO: result: yes" >&5
22280 echo "${ECHO_T}yes" >&6; }
22282 { echo "$as_me:$LINENO: result: no" >&5
22283 echo "${ECHO_T}no" >&6; }
22285 cat >>confdefs.h <<\_ACEOF
22286 #define NO_MINUS_C_MINUS_O 1
22291 # FIXME: we rely on the cache variable name because
22292 # there is no other way.
22294 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
22295 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
22296 # Losing compiler, so override with the script.
22297 # FIXME: It is wrong to rewrite CC.
22298 # But if we don't then we get into trouble of one sort or another.
22299 # A longer-term fix would be to have automake use am__CC in this case,
22300 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
22301 CC="$am_aux_dir/compile $CC"
22306 ac_cpp='$CPP $CPPFLAGS'
22307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22310 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
22311 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
22312 # On Suns, sometimes $CPP names a directory.
22313 if test -n "$CPP" && test -d "$CPP"; then
22316 if test -z "$CPP"; then
22317 if test "${ac_cv_prog_CPP+set}" = set; then
22318 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 # Double quotes because CPP needs to be expanded
22321 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
22323 ac_preproc_ok=false
22324 for ac_c_preproc_warn_flag in '' yes
22326 # Use a header file that comes with gcc, so configuring glibc
22327 # with a fresh cross-compiler works.
22328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22329 # <limits.h> exists even on freestanding compilers.
22330 # On the NeXT, cc -E runs the code through the compiler's parser,
22331 # not just through cpp. "Syntax error" is here to catch this case.
22332 cat >conftest.$ac_ext <<_ACEOF
22335 cat confdefs.h >>conftest.$ac_ext
22336 cat >>conftest.$ac_ext <<_ACEOF
22337 /* end confdefs.h. */
22339 # include <limits.h>
22341 # include <assert.h>
22345 if { (ac_try="$ac_cpp conftest.$ac_ext"
22346 case "(($ac_try" in
22347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22348 *) ac_try_echo=$ac_try;;
22350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22353 grep -v '^ *+' conftest.er1 >conftest.err
22355 cat conftest.err >&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } >/dev/null && {
22358 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22359 test ! -s conftest.err
22363 echo "$as_me: failed program was:" >&5
22364 sed 's/^/| /' conftest.$ac_ext >&5
22366 # Broken: fails on valid input.
22370 rm -f conftest.err conftest.$ac_ext
22372 # OK, works on sane cases. Now check whether nonexistent headers
22373 # can be detected and how.
22374 cat >conftest.$ac_ext <<_ACEOF
22377 cat confdefs.h >>conftest.$ac_ext
22378 cat >>conftest.$ac_ext <<_ACEOF
22379 /* end confdefs.h. */
22380 #include <ac_nonexistent.h>
22382 if { (ac_try="$ac_cpp conftest.$ac_ext"
22383 case "(($ac_try" in
22384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22385 *) ac_try_echo=$ac_try;;
22387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22388 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22390 grep -v '^ *+' conftest.er1 >conftest.err
22392 cat conftest.err >&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); } >/dev/null && {
22395 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22396 test ! -s conftest.err
22398 # Broken: success on invalid input.
22401 echo "$as_me: failed program was:" >&5
22402 sed 's/^/| /' conftest.$ac_ext >&5
22404 # Passes both tests.
22409 rm -f conftest.err conftest.$ac_ext
22412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22413 rm -f conftest.err conftest.$ac_ext
22414 if $ac_preproc_ok; then
22419 ac_cv_prog_CPP=$CPP
22422 CPP=$ac_cv_prog_CPP
22424 ac_cv_prog_CPP=$CPP
22426 { echo "$as_me:$LINENO: result: $CPP" >&5
22427 echo "${ECHO_T}$CPP" >&6; }
22428 ac_preproc_ok=false
22429 for ac_c_preproc_warn_flag in '' yes
22431 # Use a header file that comes with gcc, so configuring glibc
22432 # with a fresh cross-compiler works.
22433 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22434 # <limits.h> exists even on freestanding compilers.
22435 # On the NeXT, cc -E runs the code through the compiler's parser,
22436 # not just through cpp. "Syntax error" is here to catch this case.
22437 cat >conftest.$ac_ext <<_ACEOF
22440 cat confdefs.h >>conftest.$ac_ext
22441 cat >>conftest.$ac_ext <<_ACEOF
22442 /* end confdefs.h. */
22444 # include <limits.h>
22446 # include <assert.h>
22450 if { (ac_try="$ac_cpp conftest.$ac_ext"
22451 case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22458 grep -v '^ *+' conftest.er1 >conftest.err
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } >/dev/null && {
22463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22464 test ! -s conftest.err
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22471 # Broken: fails on valid input.
22475 rm -f conftest.err conftest.$ac_ext
22477 # OK, works on sane cases. Now check whether nonexistent headers
22478 # can be detected and how.
22479 cat >conftest.$ac_ext <<_ACEOF
22482 cat confdefs.h >>conftest.$ac_ext
22483 cat >>conftest.$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22485 #include <ac_nonexistent.h>
22487 if { (ac_try="$ac_cpp conftest.$ac_ext"
22488 case "(($ac_try" in
22489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22490 *) ac_try_echo=$ac_try;;
22492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22495 grep -v '^ *+' conftest.er1 >conftest.err
22497 cat conftest.err >&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } >/dev/null && {
22500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22501 test ! -s conftest.err
22503 # Broken: success on invalid input.
22506 echo "$as_me: failed program was:" >&5
22507 sed 's/^/| /' conftest.$ac_ext >&5
22509 # Passes both tests.
22514 rm -f conftest.err conftest.$ac_ext
22517 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22518 rm -f conftest.err conftest.$ac_ext
22519 if $ac_preproc_ok; then
22522 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
22523 See \`config.log' for more details." >&5
22524 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
22525 See \`config.log' for more details." >&2;}
22526 { (exit 1); exit 1; }; }
22530 ac_cpp='$CPP $CPPFLAGS'
22531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22536 # Handle -Werror default case.
22537 if test "$ENABLE_WERROR" = default; then
22540 if test "$GCC" = yes; then
22547 if test "x${COMPILE_COLLECTIONS}" = xyes; then
22548 # Extract the first word of "perl", so it can be a program name with args.
22549 set dummy perl; ac_word=$2
22550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22552 if test "${ac_cv_path_PERL+set}" = set; then
22553 echo $ECHO_N "(cached) $ECHO_C" >&6
22557 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
22560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22561 for as_dir in $PATH
22564 test -z "$as_dir" && as_dir=.
22565 for ac_exec_ext in '' $ac_executable_extensions; do
22566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22567 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
22568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22578 PERL=$ac_cv_path_PERL
22579 if test -n "$PERL"; then
22580 { echo "$as_me:$LINENO: result: $PERL" >&5
22581 echo "${ECHO_T}$PERL" >&6; }
22583 { echo "$as_me:$LINENO: result: no" >&5
22584 echo "${ECHO_T}no" >&6; }
22590 ac_config_files="$ac_config_files lib/mkcollections.pl"
22592 ac_config_commands="$ac_config_commands mkcollections.pl"
22596 if test "x${COMPILE_JNI}" = xyes; then
22600 { echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
22601 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6; }
22602 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then
22603 echo $ECHO_N "(cached) $ECHO_C" >&6
22606 cat >conftest.$ac_ext <<_ACEOF
22609 cat confdefs.h >>conftest.$ac_ext
22610 cat >>conftest.$ac_ext <<_ACEOF
22611 /* end confdefs.h. */
22616 extern int testfunction(int x) __attribute__((,,))
22621 rm -f conftest.$ac_objext
22622 if { (ac_try="$ac_compile"
22623 case "(($ac_try" in
22624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22625 *) ac_try_echo=$ac_try;;
22627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22628 (eval "$ac_compile") 2>conftest.er1
22630 grep -v '^ *+' conftest.er1 >conftest.err
22632 cat conftest.err >&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); } && {
22635 test -z "$ac_c_werror_flag" ||
22636 test ! -s conftest.err
22637 } && test -s conftest.$ac_objext; then
22638 gcc_cv_c_gcc_attribute_supported=yes
22640 echo "$as_me: failed program was:" >&5
22641 sed 's/^/| /' conftest.$ac_ext >&5
22643 gcc_cv_c_gcc_attribute_supported=no
22646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22650 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes; then
22652 { echo "$as_me:$LINENO: result: yes" >&5
22653 echo "${ECHO_T}yes" >&6; }
22655 cat >>confdefs.h <<\_ACEOF
22656 #define HAVE_GNUC25_ATTRIB
22662 { echo "$as_me:$LINENO: result: no" >&5
22663 echo "${ECHO_T}no" >&6; }
22676 { echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
22677 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6; }
22678 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then
22679 echo $ECHO_N "(cached) $ECHO_C" >&6
22682 cat >conftest.$ac_ext <<_ACEOF
22685 cat confdefs.h >>conftest.$ac_ext
22686 cat >>conftest.$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22692 extern int testfunction(int x) __attribute__((unused))
22697 rm -f conftest.$ac_objext
22698 if { (ac_try="$ac_compile"
22699 case "(($ac_try" in
22700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22701 *) ac_try_echo=$ac_try;;
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22704 (eval "$ac_compile") 2>conftest.er1
22706 grep -v '^ *+' conftest.er1 >conftest.err
22708 cat conftest.err >&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } && {
22711 test -z "$ac_c_werror_flag" ||
22712 test ! -s conftest.err
22713 } && test -s conftest.$ac_objext; then
22714 gcc_cv_c_gcc_attribute_unused=yes
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22719 gcc_cv_c_gcc_attribute_unused=no
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22726 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes; then
22728 { echo "$as_me:$LINENO: result: yes" >&5
22729 echo "${ECHO_T}yes" >&6; }
22731 cat >>confdefs.h <<\_ACEOF
22732 #define HAVE_GNUC25_UNUSED
22738 { echo "$as_me:$LINENO: result: no" >&5
22739 echo "${ECHO_T}no" >&6; }
22748 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22749 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
22750 if test "${ac_cv_header_stdc+set}" = set; then
22751 echo $ECHO_N "(cached) $ECHO_C" >&6
22753 cat >conftest.$ac_ext <<_ACEOF
22756 cat confdefs.h >>conftest.$ac_ext
22757 cat >>conftest.$ac_ext <<_ACEOF
22758 /* end confdefs.h. */
22759 #include <stdlib.h>
22760 #include <stdarg.h>
22761 #include <string.h>
22772 rm -f conftest.$ac_objext
22773 if { (ac_try="$ac_compile"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_compile") 2>conftest.er1
22781 grep -v '^ *+' conftest.er1 >conftest.err
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } && {
22786 test -z "$ac_c_werror_flag" ||
22787 test ! -s conftest.err
22788 } && test -s conftest.$ac_objext; then
22789 ac_cv_header_stdc=yes
22791 echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.$ac_ext >&5
22794 ac_cv_header_stdc=no
22797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22799 if test $ac_cv_header_stdc = yes; then
22800 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22801 cat >conftest.$ac_ext <<_ACEOF
22804 cat confdefs.h >>conftest.$ac_ext
22805 cat >>conftest.$ac_ext <<_ACEOF
22806 /* end confdefs.h. */
22807 #include <string.h>
22810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22811 $EGREP "memchr" >/dev/null 2>&1; then
22814 ac_cv_header_stdc=no
22820 if test $ac_cv_header_stdc = yes; then
22821 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22822 cat >conftest.$ac_ext <<_ACEOF
22825 cat confdefs.h >>conftest.$ac_ext
22826 cat >>conftest.$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 #include <stdlib.h>
22831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22832 $EGREP "free" >/dev/null 2>&1; then
22835 ac_cv_header_stdc=no
22841 if test $ac_cv_header_stdc = yes; then
22842 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22843 if test "$cross_compiling" = yes; then
22846 cat >conftest.$ac_ext <<_ACEOF
22849 cat confdefs.h >>conftest.$ac_ext
22850 cat >>conftest.$ac_ext <<_ACEOF
22851 /* end confdefs.h. */
22853 #include <stdlib.h>
22854 #if ((' ' & 0x0FF) == 0x020)
22855 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22856 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22858 # define ISLOWER(c) \
22859 (('a' <= (c) && (c) <= 'i') \
22860 || ('j' <= (c) && (c) <= 'r') \
22861 || ('s' <= (c) && (c) <= 'z'))
22862 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
22865 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
22870 for (i = 0; i < 256; i++)
22871 if (XOR (islower (i), ISLOWER (i))
22872 || toupper (i) != TOUPPER (i))
22877 rm -f conftest$ac_exeext
22878 if { (ac_try="$ac_link"
22879 case "(($ac_try" in
22880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22881 *) ac_try_echo=$ac_try;;
22883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22884 (eval "$ac_link") 2>&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22888 { (case "(($ac_try" in
22889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22890 *) ac_try_echo=$ac_try;;
22892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22893 (eval "$ac_try") 2>&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); }; }; then
22899 echo "$as_me: program exited with status $ac_status" >&5
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.$ac_ext >&5
22903 ( exit $ac_status )
22904 ac_cv_header_stdc=no
22906 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22912 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22913 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
22914 if test $ac_cv_header_stdc = yes; then
22916 cat >>confdefs.h <<\_ACEOF
22917 #define STDC_HEADERS 1
22923 { echo "$as_me:$LINENO: checking size of void *" >&5
22924 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22925 if test "${ac_cv_sizeof_void_p+set}" = set; then
22926 echo $ECHO_N "(cached) $ECHO_C" >&6
22928 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
22929 cat >conftest.$ac_ext <<_ACEOF
22932 cat confdefs.h >>conftest.$ac_ext
22933 cat >>conftest.$ac_ext <<_ACEOF
22934 /* end confdefs.h. */
22935 #include "confdefs.h"
22936 #include <sys/types.h>
22942 switch (0) case 0: case (sizeof (void *) == $ac_size):;
22947 rm -f conftest.$ac_objext
22948 if { (ac_try="$ac_compile"
22949 case "(($ac_try" in
22950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22951 *) ac_try_echo=$ac_try;;
22953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22954 (eval "$ac_compile") 2>conftest.er1
22956 grep -v '^ *+' conftest.er1 >conftest.err
22958 cat conftest.err >&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); } && {
22961 test -z "$ac_c_werror_flag" ||
22962 test ! -s conftest.err
22963 } && test -s conftest.$ac_objext; then
22964 ac_cv_sizeof_void_p=$ac_size
22966 echo "$as_me: failed program was:" >&5
22967 sed 's/^/| /' conftest.$ac_ext >&5
22972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22973 if test x$ac_cv_sizeof_void_p != x ; then break; fi
22978 if test x$ac_cv_sizeof_void_p = x ; then
22979 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
22980 echo "$as_me: error: cannot determine a size for void *" >&2;}
22981 { (exit 1); exit 1; }; }
22983 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22984 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22986 cat >>confdefs.h <<_ACEOF
22987 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22992 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22993 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22994 if test "${ac_cv_c_bigendian+set}" = set; then
22995 echo $ECHO_N "(cached) $ECHO_C" >&6
22997 ac_cv_c_bigendian=unknown
22998 # See if sys/param.h defines the BYTE_ORDER macro.
22999 cat >conftest.$ac_ext <<_ACEOF
23002 cat confdefs.h >>conftest.$ac_ext
23003 cat >>conftest.$ac_ext <<_ACEOF
23004 /* end confdefs.h. */
23005 #include <sys/types.h>
23006 #include <sys/param.h>
23011 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23012 bogus endian macros
23018 rm -f conftest.$ac_objext
23019 if { (ac_try="$ac_compile"
23020 case "(($ac_try" in
23021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23022 *) ac_try_echo=$ac_try;;
23024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23025 (eval "$ac_compile") 2>conftest.er1
23027 grep -v '^ *+' conftest.er1 >conftest.err
23029 cat conftest.err >&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); } && {
23032 test -z "$ac_c_werror_flag" ||
23033 test ! -s conftest.err
23034 } && test -s conftest.$ac_objext; then
23035 # It does; now see whether it defined to BIG_ENDIAN or not.
23036 cat >conftest.$ac_ext <<_ACEOF
23039 cat confdefs.h >>conftest.$ac_ext
23040 cat >>conftest.$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23042 #include <sys/types.h>
23043 #include <sys/param.h>
23048 #if BYTE_ORDER != BIG_ENDIAN
23055 rm -f conftest.$ac_objext
23056 if { (ac_try="$ac_compile"
23057 case "(($ac_try" in
23058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23059 *) ac_try_echo=$ac_try;;
23061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23062 (eval "$ac_compile") 2>conftest.er1
23064 grep -v '^ *+' conftest.er1 >conftest.err
23066 cat conftest.err >&5
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); } && {
23069 test -z "$ac_c_werror_flag" ||
23070 test ! -s conftest.err
23071 } && test -s conftest.$ac_objext; then
23072 ac_cv_c_bigendian=yes
23074 echo "$as_me: failed program was:" >&5
23075 sed 's/^/| /' conftest.$ac_ext >&5
23077 ac_cv_c_bigendian=no
23080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.$ac_ext >&5
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23089 if test $ac_cv_c_bigendian = unknown; then
23090 if test "$cross_compiling" = yes; then
23091 echo $ac_n "cross-compiling... " 2>&6
23093 cat >conftest.$ac_ext <<_ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23100 /* Are we little or big endian? From Harbison&Steele. */
23104 char c[sizeof (long)];
23107 exit (u.c[sizeof (long) - 1] == 1);
23110 rm -f conftest$ac_exeext
23111 if { (ac_try="$ac_link"
23112 case "(($ac_try" in
23113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23114 *) ac_try_echo=$ac_try;;
23116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23117 (eval "$ac_link") 2>&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23121 { (case "(($ac_try" in
23122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23123 *) ac_try_echo=$ac_try;;
23125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23126 (eval "$ac_try") 2>&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; }; then
23130 ac_cv_c_bigendian=no
23132 echo "$as_me: program exited with status $ac_status" >&5
23133 echo "$as_me: failed program was:" >&5
23134 sed 's/^/| /' conftest.$ac_ext >&5
23136 ( exit $ac_status )
23137 ac_cv_c_bigendian=yes
23139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23145 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23146 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23147 if test $ac_cv_c_bigendian = unknown; then
23148 { echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
23149 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6; }
23151 cat >conftest.c <<EOF
23152 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23153 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23154 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
23155 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23156 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23157 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
23158 int main() { _ascii (); _ebcdic (); return 0; }
23160 if test -f conftest.c ; then
23161 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
23162 if test `grep -l BIGenDianSyS conftest.o` ; then
23163 echo $ac_n ' big endian probe OK, ' 1>&6
23164 ac_cv_c_bigendian=yes
23166 if test `grep -l LiTTleEnDian conftest.o` ; then
23167 echo $ac_n ' little endian probe OK, ' 1>&6
23168 if test $ac_cv_c_bigendian = yes ; then
23169 ac_cv_c_bigendian=unknown;
23171 ac_cv_c_bigendian=no
23174 echo $ac_n 'guessing bigendian ... ' >&6
23177 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23178 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23180 if test $ac_cv_c_bigendian = yes; then
23182 cat >>confdefs.h <<\_ACEOF
23183 #define WORDS_BIGENDIAN 1
23187 cat >>confdefs.h <<\_ACEOF
23188 #define HOST_WORDS_BIG_ENDIAN 1
23196 cat >>confdefs.h <<_ACEOF
23197 #define BYTEORDER $BYTEORDER
23200 if test $ac_cv_c_bigendian = unknown; then
23201 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
23202 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
23203 { (exit 1); exit 1; }; }
23230 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
23232 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
23239 sys/event.h sys/epoll.h \
23241 netinet/in_systm.h netinet/ip.h net/if.h \
23244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23249 echo $ECHO_N "(cached) $ECHO_C" >&6
23251 ac_res=`eval echo '${'$as_ac_Header'}'`
23252 { echo "$as_me:$LINENO: result: $ac_res" >&5
23253 echo "${ECHO_T}$ac_res" >&6; }
23255 # Is the header compilable?
23256 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23258 cat >conftest.$ac_ext <<_ACEOF
23261 cat confdefs.h >>conftest.$ac_ext
23262 cat >>conftest.$ac_ext <<_ACEOF
23263 /* end confdefs.h. */
23264 $ac_includes_default
23265 #include <$ac_header>
23267 rm -f conftest.$ac_objext
23268 if { (ac_try="$ac_compile"
23269 case "(($ac_try" in
23270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23271 *) ac_try_echo=$ac_try;;
23273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23274 (eval "$ac_compile") 2>conftest.er1
23276 grep -v '^ *+' conftest.er1 >conftest.err
23278 cat conftest.err >&5
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); } && {
23281 test -z "$ac_c_werror_flag" ||
23282 test ! -s conftest.err
23283 } && test -s conftest.$ac_objext; then
23284 ac_header_compiler=yes
23286 echo "$as_me: failed program was:" >&5
23287 sed 's/^/| /' conftest.$ac_ext >&5
23289 ac_header_compiler=no
23292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23293 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23294 echo "${ECHO_T}$ac_header_compiler" >&6; }
23296 # Is the header present?
23297 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23299 cat >conftest.$ac_ext <<_ACEOF
23302 cat confdefs.h >>conftest.$ac_ext
23303 cat >>conftest.$ac_ext <<_ACEOF
23304 /* end confdefs.h. */
23305 #include <$ac_header>
23307 if { (ac_try="$ac_cpp conftest.$ac_ext"
23308 case "(($ac_try" in
23309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23310 *) ac_try_echo=$ac_try;;
23312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23313 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23315 grep -v '^ *+' conftest.er1 >conftest.err
23317 cat conftest.err >&5
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); } >/dev/null && {
23320 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23321 test ! -s conftest.err
23323 ac_header_preproc=yes
23325 echo "$as_me: failed program was:" >&5
23326 sed 's/^/| /' conftest.$ac_ext >&5
23328 ac_header_preproc=no
23331 rm -f conftest.err conftest.$ac_ext
23332 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23333 echo "${ECHO_T}$ac_header_preproc" >&6; }
23335 # So? What about this header?
23336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23338 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23339 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23341 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23342 ac_header_preproc=yes
23345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23346 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23348 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23349 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23350 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23351 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23352 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23355 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23356 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23358 ## -------------------------------- ##
23359 ## Report this to classpath@gnu.org ##
23360 ## -------------------------------- ##
23362 ) | sed "s/^/$as_me: WARNING: /" >&2
23365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 eval "$as_ac_Header=\$ac_header_preproc"
23372 ac_res=`eval echo '${'$as_ac_Header'}'`
23373 { echo "$as_me:$LINENO: result: $ac_res" >&5
23374 echo "${ECHO_T}$ac_res" >&6; }
23377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23378 cat >>confdefs.h <<_ACEOF
23379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23387 cat >conftest.$ac_ext <<_ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 #include <stdint.h>
23396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23397 $EGREP "uint32_t" >/dev/null 2>&1; then
23399 cat >>confdefs.h <<\_ACEOF
23400 #define HAVE_INT32_DEFINED 1
23406 cat >conftest.$ac_ext <<_ACEOF
23409 cat confdefs.h >>conftest.$ac_ext
23410 cat >>conftest.$ac_ext <<_ACEOF
23411 /* end confdefs.h. */
23412 #include <inttypes.h>
23415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23416 $EGREP "uint32_t" >/dev/null 2>&1; then
23418 cat >>confdefs.h <<\_ACEOF
23419 #define HAVE_INT32_DEFINED 1
23425 cat >conftest.$ac_ext <<_ACEOF
23428 cat confdefs.h >>conftest.$ac_ext
23429 cat >>conftest.$ac_ext <<_ACEOF
23430 /* end confdefs.h. */
23431 #include <sys/types.h>
23434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23435 $EGREP "u_int32_t" >/dev/null 2>&1; then
23437 cat >>confdefs.h <<\_ACEOF
23438 #define HAVE_BSD_INT32_DEFINED 1
23444 cat >conftest.$ac_ext <<_ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450 #include <sys/config.h>
23453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23454 $EGREP "u_int32_t" >/dev/null 2>&1; then
23456 cat >>confdefs.h <<\_ACEOF
23457 #define HAVE_BSD_INT32_DEFINED 1
23464 { echo "$as_me:$LINENO: checking for library containing inet_pton" >&5
23465 echo $ECHO_N "checking for library containing inet_pton... $ECHO_C" >&6; }
23466 if test "${ac_cv_search_inet_pton+set}" = set; then
23467 echo $ECHO_N "(cached) $ECHO_C" >&6
23469 ac_func_search_save_LIBS=$LIBS
23470 cat >conftest.$ac_ext <<_ACEOF
23473 cat confdefs.h >>conftest.$ac_ext
23474 cat >>conftest.$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23477 /* Override any GCC internal prototype to avoid an error.
23478 Use char because int might match the return type of a GCC
23479 builtin and then its argument prototype would still apply. */
23487 return inet_pton ();
23492 for ac_lib in '' nsl; do
23493 if test -z "$ac_lib"; then
23494 ac_res="none required"
23497 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23499 rm -f conftest.$ac_objext conftest$ac_exeext
23500 if { (ac_try="$ac_link"
23501 case "(($ac_try" in
23502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23503 *) ac_try_echo=$ac_try;;
23505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23506 (eval "$ac_link") 2>conftest.er1
23508 grep -v '^ *+' conftest.er1 >conftest.err
23510 cat conftest.err >&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); } && {
23513 test -z "$ac_c_werror_flag" ||
23514 test ! -s conftest.err
23515 } && test -s conftest$ac_exeext &&
23516 $as_test_x conftest$ac_exeext; then
23517 ac_cv_search_inet_pton=$ac_res
23519 echo "$as_me: failed program was:" >&5
23520 sed 's/^/| /' conftest.$ac_ext >&5
23525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23527 if test "${ac_cv_search_inet_pton+set}" = set; then
23531 if test "${ac_cv_search_inet_pton+set}" = set; then
23534 ac_cv_search_inet_pton=no
23536 rm conftest.$ac_ext
23537 LIBS=$ac_func_search_save_LIBS
23539 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_pton" >&5
23540 echo "${ECHO_T}$ac_cv_search_inet_pton" >&6; }
23541 ac_res=$ac_cv_search_inet_pton
23542 if test "$ac_res" != no; then
23543 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23603 for ac_func in ftruncate fsync select \
23604 gethostname socket strerror fork pipe execve open close \
23605 lseek fstat read readv write writev htonl memset htons connect \
23606 getsockname getpeername bind listen accept \
23607 recvfrom send sendto setsockopt getsockopt time mktime \
23608 gethostbyname_r localtime_r \
23612 mmap munmap mincore msync madvise getpagesize sysconf \
23614 inet_aton inet_addr inet_pton \
23615 getifaddrs kqueue kevent epoll_create \
23618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23619 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23621 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23622 echo $ECHO_N "(cached) $ECHO_C" >&6
23624 cat >conftest.$ac_ext <<_ACEOF
23627 cat confdefs.h >>conftest.$ac_ext
23628 cat >>conftest.$ac_ext <<_ACEOF
23629 /* end confdefs.h. */
23630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23632 #define $ac_func innocuous_$ac_func
23634 /* System header to define __stub macros and hopefully few prototypes,
23635 which can conflict with char $ac_func (); below.
23636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23637 <limits.h> exists even on freestanding compilers. */
23640 # include <limits.h>
23642 # include <assert.h>
23647 /* Override any GCC internal prototype to avoid an error.
23648 Use char because int might match the return type of a GCC
23649 builtin and then its argument prototype would still apply. */
23654 /* The GNU C library defines this for functions which it implements
23655 to always fail with ENOSYS. Some functions are actually named
23656 something starting with __ and the normal name is an alias. */
23657 #if defined __stub_$ac_func || defined __stub___$ac_func
23664 return $ac_func ();
23669 rm -f conftest.$ac_objext conftest$ac_exeext
23670 if { (ac_try="$ac_link"
23671 case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23676 (eval "$ac_link") 2>conftest.er1
23678 grep -v '^ *+' conftest.er1 >conftest.err
23680 cat conftest.err >&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); } && {
23683 test -z "$ac_c_werror_flag" ||
23684 test ! -s conftest.err
23685 } && test -s conftest$ac_exeext &&
23686 $as_test_x conftest$ac_exeext; then
23687 eval "$as_ac_var=yes"
23689 echo "$as_me: failed program was:" >&5
23690 sed 's/^/| /' conftest.$ac_ext >&5
23692 eval "$as_ac_var=no"
23695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23696 conftest$ac_exeext conftest.$ac_ext
23698 ac_res=`eval echo '${'$as_ac_var'}'`
23699 { echo "$as_me:$LINENO: result: $ac_res" >&5
23700 echo "${ECHO_T}$ac_res" >&6; }
23701 if test `eval echo '${'$as_ac_var'}'` = yes; then
23702 cat >>confdefs.h <<_ACEOF
23703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23711 { echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
23712 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6; }
23713 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
23714 echo $ECHO_N "(cached) $ECHO_C" >&6
23716 ac_check_lib_save_LIBS=$LIBS
23717 LIBS="-lmagic $LIBS"
23718 cat >conftest.$ac_ext <<_ACEOF
23721 cat confdefs.h >>conftest.$ac_ext
23722 cat >>conftest.$ac_ext <<_ACEOF
23723 /* end confdefs.h. */
23725 /* Override any GCC internal prototype to avoid an error.
23726 Use char because int might match the return type of a GCC
23727 builtin and then its argument prototype would still apply. */
23731 char magic_open ();
23735 return magic_open ();
23740 rm -f conftest.$ac_objext conftest$ac_exeext
23741 if { (ac_try="$ac_link"
23742 case "(($ac_try" in
23743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23744 *) ac_try_echo=$ac_try;;
23746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23747 (eval "$ac_link") 2>conftest.er1
23749 grep -v '^ *+' conftest.er1 >conftest.err
23751 cat conftest.err >&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } && {
23754 test -z "$ac_c_werror_flag" ||
23755 test ! -s conftest.err
23756 } && test -s conftest$ac_exeext &&
23757 $as_test_x conftest$ac_exeext; then
23758 ac_cv_lib_magic_magic_open=yes
23760 echo "$as_me: failed program was:" >&5
23761 sed 's/^/| /' conftest.$ac_ext >&5
23763 ac_cv_lib_magic_magic_open=no
23766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23767 conftest$ac_exeext conftest.$ac_ext
23768 LIBS=$ac_check_lib_save_LIBS
23770 { echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
23771 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6; }
23772 if test $ac_cv_lib_magic_magic_open = yes; then
23778 { echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
23779 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6; }
23780 cat >conftest.$ac_ext <<_ACEOF
23783 cat confdefs.h >>conftest.$ac_ext
23784 cat >>conftest.$ac_ext <<_ACEOF
23785 /* end confdefs.h. */
23786 #include <netinet/in.h>
23790 struct sockaddr_in6 addr6;
23795 rm -f conftest.$ac_objext
23796 if { (ac_try="$ac_compile"
23797 case "(($ac_try" in
23798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23799 *) ac_try_echo=$ac_try;;
23801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23802 (eval "$ac_compile") 2>conftest.er1
23804 grep -v '^ *+' conftest.er1 >conftest.err
23806 cat conftest.err >&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } && {
23809 test -z "$ac_c_werror_flag" ||
23810 test ! -s conftest.err
23811 } && test -s conftest.$ac_objext; then
23813 cat >>confdefs.h <<\_ACEOF
23814 #define HAVE_INET6 1
23817 { echo "$as_me:$LINENO: result: yes" >&5
23818 echo "${ECHO_T}yes" >&6; }
23820 echo "$as_me: failed program was:" >&5
23821 sed 's/^/| /' conftest.$ac_ext >&5
23823 { echo "$as_me:$LINENO: result: no" >&5
23824 echo "${ECHO_T}no" >&6; }
23827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23829 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
23830 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
23831 if test "${ac_cv_header_time+set}" = set; then
23832 echo $ECHO_N "(cached) $ECHO_C" >&6
23834 cat >conftest.$ac_ext <<_ACEOF
23837 cat confdefs.h >>conftest.$ac_ext
23838 cat >>conftest.$ac_ext <<_ACEOF
23839 /* end confdefs.h. */
23840 #include <sys/types.h>
23841 #include <sys/time.h>
23847 if ((struct tm *) 0)
23853 rm -f conftest.$ac_objext
23854 if { (ac_try="$ac_compile"
23855 case "(($ac_try" in
23856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23857 *) ac_try_echo=$ac_try;;
23859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23860 (eval "$ac_compile") 2>conftest.er1
23862 grep -v '^ *+' conftest.er1 >conftest.err
23864 cat conftest.err >&5
23865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23866 (exit $ac_status); } && {
23867 test -z "$ac_c_werror_flag" ||
23868 test ! -s conftest.err
23869 } && test -s conftest.$ac_objext; then
23870 ac_cv_header_time=yes
23872 echo "$as_me: failed program was:" >&5
23873 sed 's/^/| /' conftest.$ac_ext >&5
23875 ac_cv_header_time=no
23878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23880 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23881 echo "${ECHO_T}$ac_cv_header_time" >&6; }
23882 if test $ac_cv_header_time = yes; then
23884 cat >>confdefs.h <<\_ACEOF
23885 #define TIME_WITH_SYS_TIME 1
23890 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
23891 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
23892 if test "${ac_cv_struct_tm+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23895 cat >conftest.$ac_ext <<_ACEOF
23898 cat confdefs.h >>conftest.$ac_ext
23899 cat >>conftest.$ac_ext <<_ACEOF
23900 /* end confdefs.h. */
23901 #include <sys/types.h>
23908 int *p = &tm.tm_sec;
23914 rm -f conftest.$ac_objext
23915 if { (ac_try="$ac_compile"
23916 case "(($ac_try" in
23917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23918 *) ac_try_echo=$ac_try;;
23920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23921 (eval "$ac_compile") 2>conftest.er1
23923 grep -v '^ *+' conftest.er1 >conftest.err
23925 cat conftest.err >&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } && {
23928 test -z "$ac_c_werror_flag" ||
23929 test ! -s conftest.err
23930 } && test -s conftest.$ac_objext; then
23931 ac_cv_struct_tm=time.h
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.$ac_ext >&5
23936 ac_cv_struct_tm=sys/time.h
23939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23941 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
23942 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
23943 if test $ac_cv_struct_tm = sys/time.h; then
23945 cat >>confdefs.h <<\_ACEOF
23946 #define TM_IN_SYS_TIME 1
23951 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
23952 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
23953 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
23954 echo $ECHO_N "(cached) $ECHO_C" >&6
23956 cat >conftest.$ac_ext <<_ACEOF
23959 cat confdefs.h >>conftest.$ac_ext
23960 cat >>conftest.$ac_ext <<_ACEOF
23961 /* end confdefs.h. */
23962 #include <sys/types.h>
23963 #include <$ac_cv_struct_tm>
23969 static struct tm ac_aggr;
23970 if (ac_aggr.tm_zone)
23976 rm -f conftest.$ac_objext
23977 if { (ac_try="$ac_compile"
23978 case "(($ac_try" in
23979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23980 *) ac_try_echo=$ac_try;;
23982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23983 (eval "$ac_compile") 2>conftest.er1
23985 grep -v '^ *+' conftest.er1 >conftest.err
23987 cat conftest.err >&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); } && {
23990 test -z "$ac_c_werror_flag" ||
23991 test ! -s conftest.err
23992 } && test -s conftest.$ac_objext; then
23993 ac_cv_member_struct_tm_tm_zone=yes
23995 echo "$as_me: failed program was:" >&5
23996 sed 's/^/| /' conftest.$ac_ext >&5
23998 cat >conftest.$ac_ext <<_ACEOF
24001 cat confdefs.h >>conftest.$ac_ext
24002 cat >>conftest.$ac_ext <<_ACEOF
24003 /* end confdefs.h. */
24004 #include <sys/types.h>
24005 #include <$ac_cv_struct_tm>
24011 static struct tm ac_aggr;
24012 if (sizeof ac_aggr.tm_zone)
24018 rm -f conftest.$ac_objext
24019 if { (ac_try="$ac_compile"
24020 case "(($ac_try" in
24021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24022 *) ac_try_echo=$ac_try;;
24024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24025 (eval "$ac_compile") 2>conftest.er1
24027 grep -v '^ *+' conftest.er1 >conftest.err
24029 cat conftest.err >&5
24030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031 (exit $ac_status); } && {
24032 test -z "$ac_c_werror_flag" ||
24033 test ! -s conftest.err
24034 } && test -s conftest.$ac_objext; then
24035 ac_cv_member_struct_tm_tm_zone=yes
24037 echo "$as_me: failed program was:" >&5
24038 sed 's/^/| /' conftest.$ac_ext >&5
24040 ac_cv_member_struct_tm_tm_zone=no
24043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24048 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
24049 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
24050 if test $ac_cv_member_struct_tm_tm_zone = yes; then
24052 cat >>confdefs.h <<_ACEOF
24053 #define HAVE_STRUCT_TM_TM_ZONE 1
24059 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
24061 cat >>confdefs.h <<\_ACEOF
24062 #define HAVE_TM_ZONE 1
24066 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
24067 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
24068 if test "${ac_cv_have_decl_tzname+set}" = set; then
24069 echo $ECHO_N "(cached) $ECHO_C" >&6
24071 cat >conftest.$ac_ext <<_ACEOF
24074 cat confdefs.h >>conftest.$ac_ext
24075 cat >>conftest.$ac_ext <<_ACEOF
24076 /* end confdefs.h. */
24090 rm -f conftest.$ac_objext
24091 if { (ac_try="$ac_compile"
24092 case "(($ac_try" in
24093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24094 *) ac_try_echo=$ac_try;;
24096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24097 (eval "$ac_compile") 2>conftest.er1
24099 grep -v '^ *+' conftest.er1 >conftest.err
24101 cat conftest.err >&5
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); } && {
24104 test -z "$ac_c_werror_flag" ||
24105 test ! -s conftest.err
24106 } && test -s conftest.$ac_objext; then
24107 ac_cv_have_decl_tzname=yes
24109 echo "$as_me: failed program was:" >&5
24110 sed 's/^/| /' conftest.$ac_ext >&5
24112 ac_cv_have_decl_tzname=no
24115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24117 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
24118 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
24119 if test $ac_cv_have_decl_tzname = yes; then
24121 cat >>confdefs.h <<_ACEOF
24122 #define HAVE_DECL_TZNAME 1
24127 cat >>confdefs.h <<_ACEOF
24128 #define HAVE_DECL_TZNAME 0
24135 { echo "$as_me:$LINENO: checking for tzname" >&5
24136 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
24137 if test "${ac_cv_var_tzname+set}" = set; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24140 cat >conftest.$ac_ext <<_ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24147 #if !HAVE_DECL_TZNAME
24148 extern char *tzname[];
24154 return tzname[0][0];
24159 rm -f conftest.$ac_objext conftest$ac_exeext
24160 if { (ac_try="$ac_link"
24161 case "(($ac_try" in
24162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24163 *) ac_try_echo=$ac_try;;
24165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24166 (eval "$ac_link") 2>conftest.er1
24168 grep -v '^ *+' conftest.er1 >conftest.err
24170 cat conftest.err >&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); } && {
24173 test -z "$ac_c_werror_flag" ||
24174 test ! -s conftest.err
24175 } && test -s conftest$ac_exeext &&
24176 $as_test_x conftest$ac_exeext; then
24177 ac_cv_var_tzname=yes
24179 echo "$as_me: failed program was:" >&5
24180 sed 's/^/| /' conftest.$ac_ext >&5
24182 ac_cv_var_tzname=no
24185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24186 conftest$ac_exeext conftest.$ac_ext
24188 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
24189 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
24190 if test $ac_cv_var_tzname = yes; then
24192 cat >>confdefs.h <<\_ACEOF
24193 #define HAVE_TZNAME 1
24200 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
24201 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
24202 cat >conftest.$ac_ext <<_ACEOF
24205 cat confdefs.h >>conftest.$ac_ext
24206 cat >>conftest.$ac_ext <<_ACEOF
24207 /* end confdefs.h. */
24212 struct tm tim; tim.tm_gmtoff = 0;
24217 rm -f conftest.$ac_objext
24218 if { (ac_try="$ac_compile"
24219 case "(($ac_try" in
24220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24221 *) ac_try_echo=$ac_try;;
24223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24224 (eval "$ac_compile") 2>conftest.er1
24226 grep -v '^ *+' conftest.er1 >conftest.err
24228 cat conftest.err >&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } && {
24231 test -z "$ac_c_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.$ac_objext; then
24235 cat >>confdefs.h <<\_ACEOF
24236 #define STRUCT_TM_HAS_GMTOFF 1
24239 { echo "$as_me:$LINENO: result: yes" >&5
24240 echo "${ECHO_T}yes" >&6; }
24242 echo "$as_me: failed program was:" >&5
24243 sed 's/^/| /' conftest.$ac_ext >&5
24245 { echo "$as_me:$LINENO: result: no" >&5
24246 echo "${ECHO_T}no" >&6; }
24247 { echo "$as_me:$LINENO: checking for global timezone variable" >&5
24248 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6; }
24249 cat >conftest.$ac_ext <<_ACEOF
24252 cat confdefs.h >>conftest.$ac_ext
24253 cat >>conftest.$ac_ext <<_ACEOF
24254 /* end confdefs.h. */
24259 void i(){long z2 = 2*timezone;}
24264 rm -f conftest.$ac_objext
24265 if { (ac_try="$ac_compile"
24266 case "(($ac_try" in
24267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24268 *) ac_try_echo=$ac_try;;
24270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24271 (eval "$ac_compile") 2>conftest.er1
24273 grep -v '^ *+' conftest.er1 >conftest.err
24275 cat conftest.err >&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } && {
24278 test -z "$ac_c_werror_flag" ||
24279 test ! -s conftest.err
24280 } && test -s conftest.$ac_objext; then
24282 cat >>confdefs.h <<\_ACEOF
24283 #define HAVE_TIMEZONE 1
24286 { echo "$as_me:$LINENO: result: yes" >&5
24287 echo "${ECHO_T}yes" >&6; }
24289 echo "$as_me: failed program was:" >&5
24290 sed 's/^/| /' conftest.$ac_ext >&5
24292 { echo "$as_me:$LINENO: result: no" >&5
24293 echo "${ECHO_T}no" >&6; }
24294 { echo "$as_me:$LINENO: checking for global _timezone variable" >&5
24295 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6; }
24296 cat >conftest.$ac_ext <<_ACEOF
24299 cat confdefs.h >>conftest.$ac_ext
24300 cat >>conftest.$ac_ext <<_ACEOF
24301 /* end confdefs.h. */
24306 long z2 = _timezone;
24311 rm -f conftest.$ac_objext
24312 if { (ac_try="$ac_compile"
24313 case "(($ac_try" in
24314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24315 *) ac_try_echo=$ac_try;;
24317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24318 (eval "$ac_compile") 2>conftest.er1
24320 grep -v '^ *+' conftest.er1 >conftest.err
24322 cat conftest.err >&5
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); } && {
24325 test -z "$ac_c_werror_flag" ||
24326 test ! -s conftest.err
24327 } && test -s conftest.$ac_objext; then
24329 cat >>confdefs.h <<\_ACEOF
24330 #define HAVE_UNDERSCORE_TIMEZONE 1
24333 { echo "$as_me:$LINENO: result: yes" >&5
24334 echo "${ECHO_T}yes" >&6; }
24336 echo "$as_me: failed program was:" >&5
24337 sed 's/^/| /' conftest.$ac_ext >&5
24339 { echo "$as_me:$LINENO: result: no" >&5
24340 echo "${ECHO_T}no" >&6; }
24343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24351 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
24352 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
24353 if test "${ac_cv_c_const+set}" = set; then
24354 echo $ECHO_N "(cached) $ECHO_C" >&6
24356 cat >conftest.$ac_ext <<_ACEOF
24359 cat confdefs.h >>conftest.$ac_ext
24360 cat >>conftest.$ac_ext <<_ACEOF
24361 /* end confdefs.h. */
24366 /* FIXME: Include the comments suggested by Paul. */
24367 #ifndef __cplusplus
24368 /* Ultrix mips cc rejects this. */
24369 typedef int charset[2];
24371 /* SunOS 4.1.1 cc rejects this. */
24372 char const *const *pcpcc;
24374 /* NEC SVR4.0.2 mips cc rejects this. */
24375 struct point {int x, y;};
24376 static struct point const zero = {0,0};
24377 /* AIX XL C 1.02.0.0 rejects this.
24378 It does not let you subtract one const X* pointer from another in
24379 an arm of an if-expression whose if-part is not a constant
24381 const char *g = "string";
24382 pcpcc = &g + (g ? g-g : 0);
24383 /* HPUX 7.0 cc rejects these. */
24385 ppc = (char**) pcpcc;
24386 pcpcc = (char const *const *) ppc;
24387 { /* SCO 3.2v4 cc rejects this. */
24389 char const *s = 0 ? (char *) 0 : (char const *) 0;
24394 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
24395 int x[] = {25, 17};
24396 const int *foo = &x[0];
24399 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
24400 typedef const int *iptr;
24404 { /* AIX XL C 1.02.0.0 rejects this saying
24405 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
24406 struct s { int j; const int *ap[3]; };
24407 struct s *b; b->j = 5;
24409 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
24410 const int foo = 10;
24411 if (!foo) return 0;
24413 return !cs[0] && !zero.x;
24420 rm -f conftest.$ac_objext
24421 if { (ac_try="$ac_compile"
24422 case "(($ac_try" in
24423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24424 *) ac_try_echo=$ac_try;;
24426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24427 (eval "$ac_compile") 2>conftest.er1
24429 grep -v '^ *+' conftest.er1 >conftest.err
24431 cat conftest.err >&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } && {
24434 test -z "$ac_c_werror_flag" ||
24435 test ! -s conftest.err
24436 } && test -s conftest.$ac_objext; then
24439 echo "$as_me: failed program was:" >&5
24440 sed 's/^/| /' conftest.$ac_ext >&5
24445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24447 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
24448 echo "${ECHO_T}$ac_cv_c_const" >&6; }
24449 if test $ac_cv_c_const = no; then
24451 cat >>confdefs.h <<\_ACEOF
24457 { echo "$as_me:$LINENO: checking for inline" >&5
24458 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
24459 if test "${ac_cv_c_inline+set}" = set; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24463 for ac_kw in inline __inline__ __inline; do
24464 cat >conftest.$ac_ext <<_ACEOF
24467 cat confdefs.h >>conftest.$ac_ext
24468 cat >>conftest.$ac_ext <<_ACEOF
24469 /* end confdefs.h. */
24470 #ifndef __cplusplus
24472 static $ac_kw foo_t static_foo () {return 0; }
24473 $ac_kw foo_t foo () {return 0; }
24477 rm -f conftest.$ac_objext
24478 if { (ac_try="$ac_compile"
24479 case "(($ac_try" in
24480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24481 *) ac_try_echo=$ac_try;;
24483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24484 (eval "$ac_compile") 2>conftest.er1
24486 grep -v '^ *+' conftest.er1 >conftest.err
24488 cat conftest.err >&5
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); } && {
24491 test -z "$ac_c_werror_flag" ||
24492 test ! -s conftest.err
24493 } && test -s conftest.$ac_objext; then
24494 ac_cv_c_inline=$ac_kw
24496 echo "$as_me: failed program was:" >&5
24497 sed 's/^/| /' conftest.$ac_ext >&5
24502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24503 test "$ac_cv_c_inline" != no && break
24507 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
24508 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
24511 case $ac_cv_c_inline in
24514 case $ac_cv_c_inline in
24516 *) ac_val=$ac_cv_c_inline;;
24518 cat >>confdefs.h <<_ACEOF
24519 #ifndef __cplusplus
24520 #define inline $ac_val
24526 { echo "$as_me:$LINENO: checking for __attribute__" >&5
24527 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6; }
24528 if test "${ac_cv_c_attribute+set}" = set; then
24529 echo $ECHO_N "(cached) $ECHO_C" >&6
24532 cat >conftest.$ac_ext <<_ACEOF
24535 cat confdefs.h >>conftest.$ac_ext
24536 cat >>conftest.$ac_ext <<_ACEOF
24537 /* end confdefs.h. */
24538 void foo(void) __attribute__ ((__noreturn__));
24541 rm -f conftest.$ac_objext
24542 if { (ac_try="$ac_compile"
24543 case "(($ac_try" in
24544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24545 *) ac_try_echo=$ac_try;;
24547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24548 (eval "$ac_compile") 2>conftest.er1
24550 grep -v '^ *+' conftest.er1 >conftest.err
24552 cat conftest.err >&5
24553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24554 (exit $ac_status); } && {
24555 test -z "$ac_c_werror_flag" ||
24556 test ! -s conftest.err
24557 } && test -s conftest.$ac_objext; then
24558 ac_cv_c_attribute=yes
24560 echo "$as_me: failed program was:" >&5
24561 sed 's/^/| /' conftest.$ac_ext >&5
24563 ac_cv_c_attribute=no
24567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24570 { echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
24571 echo "${ECHO_T}$ac_cv_c_attribute" >&6; }
24574 case $ac_cv_c_attribute in
24577 cat >>confdefs.h <<_ACEOF
24578 #define __attribute__(x) /* nothing */
24586 ac_cpp='$CPP $CPPFLAGS'
24587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24591 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
24592 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
24594 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
24595 echo $ECHO_N "(cached) $ECHO_C" >&6
24599 ################################################################
24601 ac_cv_func_which_gethostbyname_r=unknown
24604 # ONE ARGUMENT (sanity check)
24607 # This should fail, as there is no variant of gethostbyname_r() that takes
24608 # a single argument. If it actually compiles, then we can assume that
24609 # netdb.h is not declaring the function, and the compiler is thereby
24610 # assuming an implicit prototype. In which case, we're out of luck.
24612 cat >conftest.$ac_ext <<_ACEOF
24615 cat confdefs.h >>conftest.$ac_ext
24616 cat >>conftest.$ac_ext <<_ACEOF
24617 /* end confdefs.h. */
24623 char *name = "www.gnu.org";
24624 (void)gethostbyname_r(name) /* ; */
24630 rm -f conftest.$ac_objext
24631 if { (ac_try="$ac_compile"
24632 case "(($ac_try" in
24633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24634 *) ac_try_echo=$ac_try;;
24636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24637 (eval "$ac_compile") 2>conftest.er1
24639 grep -v '^ *+' conftest.er1 >conftest.err
24641 cat conftest.err >&5
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); } && {
24644 test -z "$ac_c_werror_flag" ||
24645 test ! -s conftest.err
24646 } && test -s conftest.$ac_objext; then
24647 ac_cv_func_which_gethostbyname_r=no
24649 echo "$as_me: failed program was:" >&5
24650 sed 's/^/| /' conftest.$ac_ext >&5
24655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24662 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
24664 cat >conftest.$ac_ext <<_ACEOF
24667 cat confdefs.h >>conftest.$ac_ext
24668 cat >>conftest.$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24675 char *name = "www.gnu.org";
24676 struct hostent ret, *retp;
24680 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
24686 rm -f conftest.$ac_objext
24687 if { (ac_try="$ac_compile"
24688 case "(($ac_try" in
24689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24690 *) ac_try_echo=$ac_try;;
24692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24693 (eval "$ac_compile") 2>conftest.er1
24695 grep -v '^ *+' conftest.er1 >conftest.err
24697 cat conftest.err >&5
24698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699 (exit $ac_status); } && {
24700 test -z "$ac_c_werror_flag" ||
24701 test ! -s conftest.err
24702 } && test -s conftest.$ac_objext; then
24703 ac_cv_func_which_gethostbyname_r=six
24705 echo "$as_me: failed program was:" >&5
24706 sed 's/^/| /' conftest.$ac_ext >&5
24711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24720 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
24722 cat >conftest.$ac_ext <<_ACEOF
24725 cat confdefs.h >>conftest.$ac_ext
24726 cat >>conftest.$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24733 char *name = "www.gnu.org";
24734 struct hostent ret;
24738 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
24744 rm -f conftest.$ac_objext
24745 if { (ac_try="$ac_compile"
24746 case "(($ac_try" in
24747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24748 *) ac_try_echo=$ac_try;;
24750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24751 (eval "$ac_compile") 2>conftest.er1
24753 grep -v '^ *+' conftest.er1 >conftest.err
24755 cat conftest.err >&5
24756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757 (exit $ac_status); } && {
24758 test -z "$ac_c_werror_flag" ||
24759 test ! -s conftest.err
24760 } && test -s conftest.$ac_objext; then
24761 ac_cv_func_which_gethostbyname_r=five
24763 echo "$as_me: failed program was:" >&5
24764 sed 's/^/| /' conftest.$ac_ext >&5
24769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24775 # (e.g. AIX, HP-UX, Tru64)
24778 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
24780 cat >conftest.$ac_ext <<_ACEOF
24783 cat confdefs.h >>conftest.$ac_ext
24784 cat >>conftest.$ac_ext <<_ACEOF
24785 /* end confdefs.h. */
24791 char *name = "www.gnu.org";
24792 struct hostent ret;
24793 struct hostent_data data;
24794 (void)gethostbyname_r(name, &ret, &data) /* ; */
24800 rm -f conftest.$ac_objext
24801 if { (ac_try="$ac_compile"
24802 case "(($ac_try" in
24803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24804 *) ac_try_echo=$ac_try;;
24806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24807 (eval "$ac_compile") 2>conftest.er1
24809 grep -v '^ *+' conftest.er1 >conftest.err
24811 cat conftest.err >&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); } && {
24814 test -z "$ac_c_werror_flag" ||
24815 test ! -s conftest.err
24816 } && test -s conftest.$ac_objext; then
24817 ac_cv_func_which_gethostbyname_r=three
24819 echo "$as_me: failed program was:" >&5
24820 sed 's/^/| /' conftest.$ac_ext >&5
24825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24829 ################################################################
24834 case "$ac_cv_func_which_gethostbyname_r" in
24836 { echo "$as_me:$LINENO: result: three" >&5
24837 echo "${ECHO_T}three" >&6; }
24839 cat >>confdefs.h <<\_ACEOF
24840 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
24846 { echo "$as_me:$LINENO: result: five" >&5
24847 echo "${ECHO_T}five" >&6; }
24849 cat >>confdefs.h <<\_ACEOF
24850 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
24856 { echo "$as_me:$LINENO: result: six" >&5
24857 echo "${ECHO_T}six" >&6; }
24859 cat >>confdefs.h <<\_ACEOF
24860 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
24866 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
24867 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
24871 { echo "$as_me:$LINENO: result: can't tell" >&5
24872 echo "${ECHO_T}can't tell" >&6; }
24876 { { echo "$as_me:$LINENO: error: internal error" >&5
24877 echo "$as_me: error: internal error" >&2;}
24878 { (exit 1); exit 1; }; }
24883 ac_cpp='$CPP $CPPFLAGS'
24884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24892 if test "X$prefix" = "XNONE"; then
24893 acl_final_prefix="$ac_default_prefix"
24895 acl_final_prefix="$prefix"
24897 if test "X$exec_prefix" = "XNONE"; then
24898 acl_final_exec_prefix='${prefix}'
24900 acl_final_exec_prefix="$exec_prefix"
24902 acl_save_prefix="$prefix"
24903 prefix="$acl_final_prefix"
24904 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
24905 prefix="$acl_save_prefix"
24908 # Check whether --with-gnu-ld was given.
24909 if test "${with_gnu_ld+set}" = set; then
24910 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
24915 # Prepare PATH_SEPARATOR.
24916 # The user is always right.
24917 if test "${PATH_SEPARATOR+set}" != set; then
24918 echo "#! /bin/sh" >conf$$.sh
24919 echo "exit 0" >>conf$$.sh
24921 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24929 if test "$GCC" = yes; then
24930 # Check if gcc -print-prog-name=ld gives a path.
24931 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
24932 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
24935 # gcc leaves a trailing carriage return which upsets mingw
24936 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
24938 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
24941 # Accept absolute paths.
24942 [\\/]* | [A-Za-z]:[\\/]*)
24943 re_direlt='/[^/][^/]*/\.\./'
24944 # Canonicalize the path of ld
24945 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
24946 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
24947 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
24949 test -z "$LD" && LD="$ac_prog"
24952 # If it fails, then pretend we aren't using GCC.
24956 # If it is relative, then search for the first ld in PATH.
24957 with_gnu_ld=unknown
24960 elif test "$with_gnu_ld" = yes; then
24961 { echo "$as_me:$LINENO: checking for GNU ld" >&5
24962 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
24964 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
24965 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
24967 if test "${acl_cv_path_LD+set}" = set; then
24968 echo $ECHO_N "(cached) $ECHO_C" >&6
24970 if test -z "$LD"; then
24971 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
24972 for ac_dir in $PATH; do
24973 test -z "$ac_dir" && ac_dir=.
24974 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
24975 acl_cv_path_LD="$ac_dir/$ac_prog"
24976 # Check to see if the program is GNU ld. I'd rather use --version,
24977 # but apparently some GNU ld's only accept -v.
24978 # Break only if it was the GNU/non-GNU ld that we prefer.
24979 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
24980 test "$with_gnu_ld" != no && break
24982 test "$with_gnu_ld" != yes && break
24988 acl_cv_path_LD="$LD" # Let the user override the test with a path.
24992 LD="$acl_cv_path_LD"
24993 if test -n "$LD"; then
24994 { echo "$as_me:$LINENO: result: $LD" >&5
24995 echo "${ECHO_T}$LD" >&6; }
24997 { echo "$as_me:$LINENO: result: no" >&5
24998 echo "${ECHO_T}no" >&6; }
25000 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
25001 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
25002 { (exit 1); exit 1; }; }
25003 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
25004 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
25005 if test "${acl_cv_prog_gnu_ld+set}" = set; then
25006 echo $ECHO_N "(cached) $ECHO_C" >&6
25008 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25009 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25010 acl_cv_prog_gnu_ld=yes
25012 acl_cv_prog_gnu_ld=no
25015 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
25016 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
25017 with_gnu_ld=$acl_cv_prog_gnu_ld
25021 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
25022 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
25023 if test "${acl_cv_rpath+set}" = set; then
25024 echo $ECHO_N "(cached) $ECHO_C" >&6
25027 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25028 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25030 rm -f ./conftest.sh
25034 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
25035 echo "${ECHO_T}$acl_cv_rpath" >&6; }
25037 libext="$acl_cv_libext"
25038 shlibext="$acl_cv_shlibext"
25039 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25040 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25041 hardcode_direct="$acl_cv_hardcode_direct"
25042 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25043 # Check whether --enable-rpath was given.
25044 if test "${enable_rpath+set}" = set; then
25045 enableval=$enable_rpath; :
25059 acl_save_prefix="$prefix"
25060 prefix="$acl_final_prefix"
25061 acl_save_exec_prefix="$exec_prefix"
25062 exec_prefix="$acl_final_exec_prefix"
25064 eval additional_includedir=\"$includedir\"
25065 eval additional_libdir=\"$libdir\"
25067 exec_prefix="$acl_save_exec_prefix"
25068 prefix="$acl_save_prefix"
25071 # Check whether --with-libiconv-prefix was given.
25072 if test "${with_libiconv_prefix+set}" = set; then
25073 withval=$with_libiconv_prefix;
25074 if test "X$withval" = "Xno"; then
25077 if test "X$withval" = "X"; then
25079 acl_save_prefix="$prefix"
25080 prefix="$acl_final_prefix"
25081 acl_save_exec_prefix="$exec_prefix"
25082 exec_prefix="$acl_final_exec_prefix"
25084 eval additional_includedir=\"$includedir\"
25085 eval additional_libdir=\"$libdir\"
25087 exec_prefix="$acl_save_exec_prefix"
25088 prefix="$acl_save_prefix"
25091 additional_includedir="$withval/include"
25092 additional_libdir="$withval/lib"
25103 names_already_handled=
25104 names_next_round='iconv '
25105 while test -n "$names_next_round"; do
25106 names_this_round="$names_next_round"
25108 for name in $names_this_round; do
25110 for n in $names_already_handled; do
25111 if test "$n" = "$name"; then
25112 already_handled=yes
25116 if test -z "$already_handled"; then
25117 names_already_handled="$names_already_handled $name"
25118 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25119 eval value=\"\$HAVE_LIB$uppername\"
25120 if test -n "$value"; then
25121 if test "$value" = yes; then
25122 eval value=\"\$LIB$uppername\"
25123 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25124 eval value=\"\$LTLIB$uppername\"
25125 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25134 if test $use_additional = yes; then
25135 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25136 found_dir="$additional_libdir"
25137 found_so="$additional_libdir/lib$name.$shlibext"
25138 if test -f "$additional_libdir/lib$name.la"; then
25139 found_la="$additional_libdir/lib$name.la"
25142 if test -f "$additional_libdir/lib$name.$libext"; then
25143 found_dir="$additional_libdir"
25144 found_a="$additional_libdir/lib$name.$libext"
25145 if test -f "$additional_libdir/lib$name.la"; then
25146 found_la="$additional_libdir/lib$name.la"
25151 if test "X$found_dir" = "X"; then
25152 for x in $LDFLAGS $LTLIBICONV; do
25154 acl_save_prefix="$prefix"
25155 prefix="$acl_final_prefix"
25156 acl_save_exec_prefix="$exec_prefix"
25157 exec_prefix="$acl_final_exec_prefix"
25159 exec_prefix="$acl_save_exec_prefix"
25160 prefix="$acl_save_prefix"
25164 dir=`echo "X$x" | sed -e 's/^X-L//'`
25165 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25167 found_so="$dir/lib$name.$shlibext"
25168 if test -f "$dir/lib$name.la"; then
25169 found_la="$dir/lib$name.la"
25172 if test -f "$dir/lib$name.$libext"; then
25174 found_a="$dir/lib$name.$libext"
25175 if test -f "$dir/lib$name.la"; then
25176 found_la="$dir/lib$name.la"
25182 if test "X$found_dir" != "X"; then
25187 if test "X$found_dir" != "X"; then
25188 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25189 if test "X$found_so" != "X"; then
25190 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25191 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25194 for x in $ltrpathdirs; do
25195 if test "X$x" = "X$found_dir"; then
25200 if test -z "$haveit"; then
25201 ltrpathdirs="$ltrpathdirs $found_dir"
25203 if test "$hardcode_direct" = yes; then
25204 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25206 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25207 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25209 for x in $rpathdirs; do
25210 if test "X$x" = "X$found_dir"; then
25215 if test -z "$haveit"; then
25216 rpathdirs="$rpathdirs $found_dir"
25220 for x in $LDFLAGS $LIBICONV; do
25222 acl_save_prefix="$prefix"
25223 prefix="$acl_final_prefix"
25224 acl_save_exec_prefix="$exec_prefix"
25225 exec_prefix="$acl_final_exec_prefix"
25227 exec_prefix="$acl_save_exec_prefix"
25228 prefix="$acl_save_prefix"
25230 if test "X$x" = "X-L$found_dir"; then
25235 if test -z "$haveit"; then
25236 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25238 if test "$hardcode_minus_L" != no; then
25239 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25241 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25247 if test "X$found_a" != "X"; then
25248 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25250 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25253 additional_includedir=
25254 case "$found_dir" in
25256 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25257 additional_includedir="$basedir/include"
25260 if test "X$additional_includedir" != "X"; then
25261 if test "X$additional_includedir" != "X/usr/include"; then
25263 if test "X$additional_includedir" = "X/usr/local/include"; then
25264 if test -n "$GCC"; then
25266 linux*) haveit=yes;;
25270 if test -z "$haveit"; then
25271 for x in $CPPFLAGS $INCICONV; do
25273 acl_save_prefix="$prefix"
25274 prefix="$acl_final_prefix"
25275 acl_save_exec_prefix="$exec_prefix"
25276 exec_prefix="$acl_final_exec_prefix"
25278 exec_prefix="$acl_save_exec_prefix"
25279 prefix="$acl_save_prefix"
25281 if test "X$x" = "X-I$additional_includedir"; then
25286 if test -z "$haveit"; then
25287 if test -d "$additional_includedir"; then
25288 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
25294 if test -n "$found_la"; then
25295 save_libdir="$libdir"
25296 case "$found_la" in
25297 */* | *\\*) . "$found_la" ;;
25298 *) . "./$found_la" ;;
25300 libdir="$save_libdir"
25301 for dep in $dependency_libs; do
25304 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
25305 if test "X$additional_libdir" != "X/usr/lib"; then
25307 if test "X$additional_libdir" = "X/usr/local/lib"; then
25308 if test -n "$GCC"; then
25310 linux*) haveit=yes;;
25314 if test -z "$haveit"; then
25316 for x in $LDFLAGS $LIBICONV; do
25318 acl_save_prefix="$prefix"
25319 prefix="$acl_final_prefix"
25320 acl_save_exec_prefix="$exec_prefix"
25321 exec_prefix="$acl_final_exec_prefix"
25323 exec_prefix="$acl_save_exec_prefix"
25324 prefix="$acl_save_prefix"
25326 if test "X$x" = "X-L$additional_libdir"; then
25331 if test -z "$haveit"; then
25332 if test -d "$additional_libdir"; then
25333 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
25337 for x in $LDFLAGS $LTLIBICONV; do
25339 acl_save_prefix="$prefix"
25340 prefix="$acl_final_prefix"
25341 acl_save_exec_prefix="$exec_prefix"
25342 exec_prefix="$acl_final_exec_prefix"
25344 exec_prefix="$acl_save_exec_prefix"
25345 prefix="$acl_save_prefix"
25347 if test "X$x" = "X-L$additional_libdir"; then
25352 if test -z "$haveit"; then
25353 if test -d "$additional_libdir"; then
25354 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
25361 dir=`echo "X$dep" | sed -e 's/^X-R//'`
25362 if test "$enable_rpath" != no; then
25364 for x in $rpathdirs; do
25365 if test "X$x" = "X$dir"; then
25370 if test -z "$haveit"; then
25371 rpathdirs="$rpathdirs $dir"
25374 for x in $ltrpathdirs; do
25375 if test "X$x" = "X$dir"; then
25380 if test -z "$haveit"; then
25381 ltrpathdirs="$ltrpathdirs $dir"
25386 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
25389 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
25392 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
25393 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
25399 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25400 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
25406 if test "X$rpathdirs" != "X"; then
25407 if test -n "$hardcode_libdir_separator"; then
25409 for found_dir in $rpathdirs; do
25410 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
25412 acl_save_libdir="$libdir"
25414 eval flag=\"$hardcode_libdir_flag_spec\"
25415 libdir="$acl_save_libdir"
25416 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
25418 for found_dir in $rpathdirs; do
25419 acl_save_libdir="$libdir"
25420 libdir="$found_dir"
25421 eval flag=\"$hardcode_libdir_flag_spec\"
25422 libdir="$acl_save_libdir"
25423 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
25427 if test "X$ltrpathdirs" != "X"; then
25428 for found_dir in $ltrpathdirs; do
25429 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
25439 am_save_CPPFLAGS="$CPPFLAGS"
25441 for element in $INCICONV; do
25443 for x in $CPPFLAGS; do
25445 acl_save_prefix="$prefix"
25446 prefix="$acl_final_prefix"
25447 acl_save_exec_prefix="$exec_prefix"
25448 exec_prefix="$acl_final_exec_prefix"
25450 exec_prefix="$acl_save_exec_prefix"
25451 prefix="$acl_save_prefix"
25453 if test "X$x" = "X$element"; then
25458 if test -z "$haveit"; then
25459 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
25464 { echo "$as_me:$LINENO: checking for iconv" >&5
25465 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
25466 if test "${am_cv_func_iconv+set}" = set; then
25467 echo $ECHO_N "(cached) $ECHO_C" >&6
25470 am_cv_func_iconv="no, consider installing GNU libiconv"
25472 cat >conftest.$ac_ext <<_ACEOF
25475 cat confdefs.h >>conftest.$ac_ext
25476 cat >>conftest.$ac_ext <<_ACEOF
25477 /* end confdefs.h. */
25478 #include <stdlib.h>
25483 iconv_t cd = iconv_open("","");
25484 iconv(cd,NULL,NULL,NULL,NULL);
25490 rm -f conftest.$ac_objext conftest$ac_exeext
25491 if { (ac_try="$ac_link"
25492 case "(($ac_try" in
25493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25494 *) ac_try_echo=$ac_try;;
25496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25497 (eval "$ac_link") 2>conftest.er1
25499 grep -v '^ *+' conftest.er1 >conftest.err
25501 cat conftest.err >&5
25502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); } && {
25504 test -z "$ac_c_werror_flag" ||
25505 test ! -s conftest.err
25506 } && test -s conftest$ac_exeext &&
25507 $as_test_x conftest$ac_exeext; then
25508 am_cv_func_iconv=yes
25510 echo "$as_me: failed program was:" >&5
25511 sed 's/^/| /' conftest.$ac_ext >&5
25516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25517 conftest$ac_exeext conftest.$ac_ext
25518 if test "$am_cv_func_iconv" != yes; then
25519 am_save_LIBS="$LIBS"
25520 LIBS="$LIBS $LIBICONV"
25521 cat >conftest.$ac_ext <<_ACEOF
25524 cat confdefs.h >>conftest.$ac_ext
25525 cat >>conftest.$ac_ext <<_ACEOF
25526 /* end confdefs.h. */
25527 #include <stdlib.h>
25532 iconv_t cd = iconv_open("","");
25533 iconv(cd,NULL,NULL,NULL,NULL);
25539 rm -f conftest.$ac_objext conftest$ac_exeext
25540 if { (ac_try="$ac_link"
25541 case "(($ac_try" in
25542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25543 *) ac_try_echo=$ac_try;;
25545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25546 (eval "$ac_link") 2>conftest.er1
25548 grep -v '^ *+' conftest.er1 >conftest.err
25550 cat conftest.err >&5
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); } && {
25553 test -z "$ac_c_werror_flag" ||
25554 test ! -s conftest.err
25555 } && test -s conftest$ac_exeext &&
25556 $as_test_x conftest$ac_exeext; then
25557 am_cv_lib_iconv=yes
25558 am_cv_func_iconv=yes
25560 echo "$as_me: failed program was:" >&5
25561 sed 's/^/| /' conftest.$ac_ext >&5
25566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25567 conftest$ac_exeext conftest.$ac_ext
25568 LIBS="$am_save_LIBS"
25572 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
25573 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
25574 if test "$am_cv_func_iconv" = yes; then
25576 cat >>confdefs.h <<\_ACEOF
25577 #define HAVE_ICONV 1
25581 if test "$am_cv_lib_iconv" = yes; then
25582 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
25583 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
25584 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
25585 echo "${ECHO_T}$LIBICONV" >&6; }
25587 CPPFLAGS="$am_save_CPPFLAGS"
25594 if test "$am_cv_func_iconv" = yes; then
25595 { echo "$as_me:$LINENO: checking for iconv declaration" >&5
25596 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
25597 if test "${am_cv_proto_iconv+set}" = set; then
25598 echo $ECHO_N "(cached) $ECHO_C" >&6
25601 cat >conftest.$ac_ext <<_ACEOF
25604 cat confdefs.h >>conftest.$ac_ext
25605 cat >>conftest.$ac_ext <<_ACEOF
25606 /* end confdefs.h. */
25608 #include <stdlib.h>
25614 #if defined(__STDC__) || defined(__cplusplus)
25615 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
25628 rm -f conftest.$ac_objext
25629 if { (ac_try="$ac_compile"
25630 case "(($ac_try" in
25631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25632 *) ac_try_echo=$ac_try;;
25634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25635 (eval "$ac_compile") 2>conftest.er1
25637 grep -v '^ *+' conftest.er1 >conftest.err
25639 cat conftest.err >&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } && {
25642 test -z "$ac_c_werror_flag" ||
25643 test ! -s conftest.err
25644 } && test -s conftest.$ac_objext; then
25645 am_cv_proto_iconv_arg1=""
25647 echo "$as_me: failed program was:" >&5
25648 sed 's/^/| /' conftest.$ac_ext >&5
25650 am_cv_proto_iconv_arg1="const"
25653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25654 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
25657 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
25658 { echo "$as_me:$LINENO: result: ${ac_t:-
25659 }$am_cv_proto_iconv" >&5
25660 echo "${ECHO_T}${ac_t:-
25661 }$am_cv_proto_iconv" >&6; }
25663 cat >>confdefs.h <<_ACEOF
25664 #define ICONV_CONST $am_cv_proto_iconv_arg1
25670 if test "x${GCC}" = xyes; then
25672 WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
25675 STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
25679 if test "x${ENABLE_WERROR}" = xyes; then
25680 ERROR_CFLAGS='-Werror'
25685 if test "x${COMPILE_XMLJ}" = xyes; then
25689 if test -z "$PKG_CONFIG"; then
25690 # Extract the first word of "pkg-config", so it can be a program name with args.
25691 set dummy pkg-config; ac_word=$2
25692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25694 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25695 echo $ECHO_N "(cached) $ECHO_C" >&6
25697 case $PKG_CONFIG in
25699 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25703 for as_dir in $PATH
25706 test -z "$as_dir" && as_dir=.
25707 for ac_exec_ext in '' $ac_executable_extensions; do
25708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25709 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25717 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25721 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25722 if test -n "$PKG_CONFIG"; then
25723 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25724 echo "${ECHO_T}$PKG_CONFIG" >&6; }
25726 { echo "$as_me:$LINENO: result: no" >&5
25727 echo "${ECHO_T}no" >&6; }
25733 if test "$PKG_CONFIG" = "no" ; then
25734 echo "*** The pkg-config script could not be found. Make sure it is"
25735 echo "*** in your path, or set the PKG_CONFIG environment variable"
25736 echo "*** to the full path to pkg-config."
25737 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25739 PKG_CONFIG_MIN_VERSION=0.9.0
25740 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25741 { echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
25742 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6; }
25744 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
25745 { echo "$as_me:$LINENO: result: yes" >&5
25746 echo "${ECHO_T}yes" >&6; }
25749 { echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
25750 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6; }
25751 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
25752 { echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
25753 echo "${ECHO_T}$XML_CFLAGS" >&6; }
25755 { echo "$as_me:$LINENO: checking XML_LIBS" >&5
25756 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6; }
25757 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
25758 { echo "$as_me:$LINENO: result: $XML_LIBS" >&5
25759 echo "${ECHO_T}$XML_LIBS" >&6; }
25763 ## If we have a custom action on failure, don't print errors, but
25764 ## do set a variable so people can do so.
25765 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
25766 echo $XML_PKG_ERRORS
25772 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25773 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25777 if test $succeeded = yes; then
25780 { { echo "$as_me:$LINENO: error: Library requirements (libxml-2.0 >= 2.6.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
25781 echo "$as_me: error: Library requirements (libxml-2.0 >= 2.6.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
25782 { (exit 1); exit 1; }; }
25788 if test -z "$PKG_CONFIG"; then
25789 # Extract the first word of "pkg-config", so it can be a program name with args.
25790 set dummy pkg-config; ac_word=$2
25791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25793 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 case $PKG_CONFIG in
25798 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25802 for as_dir in $PATH
25805 test -z "$as_dir" && as_dir=.
25806 for ac_exec_ext in '' $ac_executable_extensions; do
25807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25808 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25816 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25820 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25821 if test -n "$PKG_CONFIG"; then
25822 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25823 echo "${ECHO_T}$PKG_CONFIG" >&6; }
25825 { echo "$as_me:$LINENO: result: no" >&5
25826 echo "${ECHO_T}no" >&6; }
25832 if test "$PKG_CONFIG" = "no" ; then
25833 echo "*** The pkg-config script could not be found. Make sure it is"
25834 echo "*** in your path, or set the PKG_CONFIG environment variable"
25835 echo "*** to the full path to pkg-config."
25836 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25838 PKG_CONFIG_MIN_VERSION=0.9.0
25839 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25840 { echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
25841 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6; }
25843 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
25844 { echo "$as_me:$LINENO: result: yes" >&5
25845 echo "${ECHO_T}yes" >&6; }
25848 { echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
25849 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6; }
25850 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
25851 { echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
25852 echo "${ECHO_T}$XSLT_CFLAGS" >&6; }
25854 { echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
25855 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6; }
25856 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
25857 { echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
25858 echo "${ECHO_T}$XSLT_LIBS" >&6; }
25862 ## If we have a custom action on failure, don't print errors, but
25863 ## do set a variable so people can do so.
25864 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
25865 echo $XSLT_PKG_ERRORS
25871 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25872 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25876 if test $succeeded = yes; then
25879 { { echo "$as_me:$LINENO: error: Library requirements (libxslt >= 1.1.11) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
25880 echo "$as_me: error: Library requirements (libxslt >= 1.1.11) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
25881 { (exit 1); exit 1; }; }
25890 if test "x${COMPILE_GTK_PEER}" = xyes; then
25891 { echo "$as_me:$LINENO: checking for X" >&5
25892 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
25895 # Check whether --with-x was given.
25896 if test "${with_x+set}" = set; then
25900 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25901 if test "x$with_x" = xno; then
25902 # The user explicitly disabled X.
25905 case $x_includes,$x_libraries in #(
25906 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
25907 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
25908 { (exit 1); exit 1; }; };; #(
25909 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
25910 echo $ECHO_N "(cached) $ECHO_C" >&6
25912 # One or both of the vars are not set, and there is no cached value.
25913 ac_x_includes=no ac_x_libraries=no
25914 rm -f -r conftest.dir
25915 if mkdir conftest.dir; then
25917 cat >Imakefile <<'_ACEOF'
25919 @echo incroot='${INCROOT}'
25921 @echo usrlibdir='${USRLIBDIR}'
25923 @echo libdir='${LIBDIR}'
25925 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
25926 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25927 for ac_var in incroot usrlibdir libdir; do
25928 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
25930 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25931 for ac_extension in a so sl; do
25932 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
25933 test -f "$ac_im_libdir/libX11.$ac_extension"; then
25934 ac_im_usrlibdir=$ac_im_libdir; break
25937 # Screen out bogus values from the imake configuration. They are
25938 # bogus both because they are the default anyway, and because
25939 # using them would break gcc on systems where it needs fixed includes.
25940 case $ac_im_incroot in
25941 /usr/include) ac_x_includes= ;;
25942 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25944 case $ac_im_usrlibdir in
25945 /usr/lib | /lib) ;;
25946 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25950 rm -f -r conftest.dir
25953 # Standard set of common directories for X headers.
25954 # Check X11 before X11Rn because it is often a symlink to the current release.
25966 /usr/local/X11/include
25967 /usr/local/X11R6/include
25968 /usr/local/X11R5/include
25969 /usr/local/X11R4/include
25971 /usr/local/include/X11
25972 /usr/local/include/X11R6
25973 /usr/local/include/X11R5
25974 /usr/local/include/X11R4
25978 /usr/XFree86/include/X11
25982 /usr/unsupported/include
25983 /usr/athena/include
25984 /usr/local/x11r5/include
25985 /usr/lpp/Xamples/include
25987 /usr/openwin/include
25988 /usr/openwin/share/include'
25990 if test "$ac_x_includes" = no; then
25991 # Guess where to find include files, by looking for Xlib.h.
25992 # First, try using that file with no special directory specified.
25993 cat >conftest.$ac_ext <<_ACEOF
25996 cat confdefs.h >>conftest.$ac_ext
25997 cat >>conftest.$ac_ext <<_ACEOF
25998 /* end confdefs.h. */
25999 #include <X11/Xlib.h>
26001 if { (ac_try="$ac_cpp conftest.$ac_ext"
26002 case "(($ac_try" in
26003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26004 *) ac_try_echo=$ac_try;;
26006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26009 grep -v '^ *+' conftest.er1 >conftest.err
26011 cat conftest.err >&5
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); } >/dev/null && {
26014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26015 test ! -s conftest.err
26017 # We can compile using X headers with no special include directory.
26020 echo "$as_me: failed program was:" >&5
26021 sed 's/^/| /' conftest.$ac_ext >&5
26023 for ac_dir in $ac_x_header_dirs; do
26024 if test -r "$ac_dir/X11/Xlib.h"; then
26025 ac_x_includes=$ac_dir
26031 rm -f conftest.err conftest.$ac_ext
26032 fi # $ac_x_includes = no
26034 if test "$ac_x_libraries" = no; then
26035 # Check for the libraries.
26036 # See if we find them without any special options.
26037 # Don't add to $LIBS permanently.
26040 cat >conftest.$ac_ext <<_ACEOF
26043 cat confdefs.h >>conftest.$ac_ext
26044 cat >>conftest.$ac_ext <<_ACEOF
26045 /* end confdefs.h. */
26046 #include <X11/Xlib.h>
26055 rm -f conftest.$ac_objext conftest$ac_exeext
26056 if { (ac_try="$ac_link"
26057 case "(($ac_try" in
26058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26059 *) ac_try_echo=$ac_try;;
26061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26062 (eval "$ac_link") 2>conftest.er1
26064 grep -v '^ *+' conftest.er1 >conftest.err
26066 cat conftest.err >&5
26067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26068 (exit $ac_status); } && {
26069 test -z "$ac_c_werror_flag" ||
26070 test ! -s conftest.err
26071 } && test -s conftest$ac_exeext &&
26072 $as_test_x conftest$ac_exeext; then
26074 # We can link X programs with no special library path.
26077 echo "$as_me: failed program was:" >&5
26078 sed 's/^/| /' conftest.$ac_ext >&5
26081 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26083 # Don't even attempt the hair of trying to link an X program!
26084 for ac_extension in a so sl; do
26085 if test -r "$ac_dir/libX11.$ac_extension"; then
26086 ac_x_libraries=$ac_dir
26093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26094 conftest$ac_exeext conftest.$ac_ext
26095 fi # $ac_x_libraries = no
26097 case $ac_x_includes,$ac_x_libraries in #(
26098 no,* | *,no | *\'*)
26099 # Didn't find X, or a directory has "'" in its name.
26100 ac_cv_have_x="have_x=no";; #(
26102 # Record where we found X for the cache.
26103 ac_cv_have_x="have_x=yes\
26104 ac_x_includes='$ac_x_includes'\
26105 ac_x_libraries='$ac_x_libraries'"
26111 eval "$ac_cv_have_x"
26114 if test "$have_x" != yes; then
26115 { echo "$as_me:$LINENO: result: $have_x" >&5
26116 echo "${ECHO_T}$have_x" >&6; }
26119 # If each of the values was on the command line, it overrides each guess.
26120 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26121 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26122 # Update the cache value to reflect the command line values.
26123 ac_cv_have_x="have_x=yes\
26124 ac_x_includes='$x_includes'\
26125 ac_x_libraries='$x_libraries'"
26126 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
26127 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
26130 if test "$no_x" = yes; then
26131 # Not all programs may use this symbol, but it does not hurt to define it.
26133 cat >>confdefs.h <<\_ACEOF
26134 #define X_DISPLAY_MISSING 1
26137 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26139 if test -n "$x_includes"; then
26140 X_CFLAGS="$X_CFLAGS -I$x_includes"
26143 # It would also be nice to do this for all -L options, not just this one.
26144 if test -n "$x_libraries"; then
26145 X_LIBS="$X_LIBS -L$x_libraries"
26146 # For Solaris; some versions of Sun CC require a space after -R and
26147 # others require no space. Words are not sufficient . . . .
26148 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26149 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
26150 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26151 ac_xsave_c_werror_flag=$ac_c_werror_flag
26152 ac_c_werror_flag=yes
26153 cat >conftest.$ac_ext <<_ACEOF
26156 cat confdefs.h >>conftest.$ac_ext
26157 cat >>conftest.$ac_ext <<_ACEOF
26158 /* end confdefs.h. */
26168 rm -f conftest.$ac_objext conftest$ac_exeext
26169 if { (ac_try="$ac_link"
26170 case "(($ac_try" in
26171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26172 *) ac_try_echo=$ac_try;;
26174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26175 (eval "$ac_link") 2>conftest.er1
26177 grep -v '^ *+' conftest.er1 >conftest.err
26179 cat conftest.err >&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); } && {
26182 test -z "$ac_c_werror_flag" ||
26183 test ! -s conftest.err
26184 } && test -s conftest$ac_exeext &&
26185 $as_test_x conftest$ac_exeext; then
26186 { echo "$as_me:$LINENO: result: no" >&5
26187 echo "${ECHO_T}no" >&6; }
26188 X_LIBS="$X_LIBS -R$x_libraries"
26190 echo "$as_me: failed program was:" >&5
26191 sed 's/^/| /' conftest.$ac_ext >&5
26193 LIBS="$ac_xsave_LIBS -R $x_libraries"
26194 cat >conftest.$ac_ext <<_ACEOF
26197 cat confdefs.h >>conftest.$ac_ext
26198 cat >>conftest.$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26209 rm -f conftest.$ac_objext conftest$ac_exeext
26210 if { (ac_try="$ac_link"
26211 case "(($ac_try" in
26212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26213 *) ac_try_echo=$ac_try;;
26215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26216 (eval "$ac_link") 2>conftest.er1
26218 grep -v '^ *+' conftest.er1 >conftest.err
26220 cat conftest.err >&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); } && {
26223 test -z "$ac_c_werror_flag" ||
26224 test ! -s conftest.err
26225 } && test -s conftest$ac_exeext &&
26226 $as_test_x conftest$ac_exeext; then
26227 { echo "$as_me:$LINENO: result: yes" >&5
26228 echo "${ECHO_T}yes" >&6; }
26229 X_LIBS="$X_LIBS -R $x_libraries"
26231 echo "$as_me: failed program was:" >&5
26232 sed 's/^/| /' conftest.$ac_ext >&5
26234 { echo "$as_me:$LINENO: result: neither works" >&5
26235 echo "${ECHO_T}neither works" >&6; }
26238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26239 conftest$ac_exeext conftest.$ac_ext
26242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26243 conftest$ac_exeext conftest.$ac_ext
26244 ac_c_werror_flag=$ac_xsave_c_werror_flag
26245 LIBS=$ac_xsave_LIBS
26248 # Check for system-dependent libraries X programs must link with.
26249 # Do this before checking for the system-independent R6 libraries
26250 # (-lICE), since we may need -lsocket or whatever for X linking.
26252 if test "$ISC" = yes; then
26253 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26255 # Martyn Johnson says this is needed for Ultrix, if the X
26256 # libraries were built with DECnet support. And Karl Berry says
26257 # the Alpha needs dnet_stub (dnet does not exist).
26258 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26259 cat >conftest.$ac_ext <<_ACEOF
26262 cat confdefs.h >>conftest.$ac_ext
26263 cat >>conftest.$ac_ext <<_ACEOF
26264 /* end confdefs.h. */
26266 /* Override any GCC internal prototype to avoid an error.
26267 Use char because int might match the return type of a GCC
26268 builtin and then its argument prototype would still apply. */
26272 char XOpenDisplay ();
26276 return XOpenDisplay ();
26281 rm -f conftest.$ac_objext conftest$ac_exeext
26282 if { (ac_try="$ac_link"
26283 case "(($ac_try" in
26284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26285 *) ac_try_echo=$ac_try;;
26287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26288 (eval "$ac_link") 2>conftest.er1
26290 grep -v '^ *+' conftest.er1 >conftest.err
26292 cat conftest.err >&5
26293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26294 (exit $ac_status); } && {
26295 test -z "$ac_c_werror_flag" ||
26296 test ! -s conftest.err
26297 } && test -s conftest$ac_exeext &&
26298 $as_test_x conftest$ac_exeext; then
26301 echo "$as_me: failed program was:" >&5
26302 sed 's/^/| /' conftest.$ac_ext >&5
26304 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26305 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
26306 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26307 echo $ECHO_N "(cached) $ECHO_C" >&6
26309 ac_check_lib_save_LIBS=$LIBS
26310 LIBS="-ldnet $LIBS"
26311 cat >conftest.$ac_ext <<_ACEOF
26314 cat confdefs.h >>conftest.$ac_ext
26315 cat >>conftest.$ac_ext <<_ACEOF
26316 /* end confdefs.h. */
26318 /* Override any GCC internal prototype to avoid an error.
26319 Use char because int might match the return type of a GCC
26320 builtin and then its argument prototype would still apply. */
26328 return dnet_ntoa ();
26333 rm -f conftest.$ac_objext conftest$ac_exeext
26334 if { (ac_try="$ac_link"
26335 case "(($ac_try" in
26336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26337 *) ac_try_echo=$ac_try;;
26339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26340 (eval "$ac_link") 2>conftest.er1
26342 grep -v '^ *+' conftest.er1 >conftest.err
26344 cat conftest.err >&5
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); } && {
26347 test -z "$ac_c_werror_flag" ||
26348 test ! -s conftest.err
26349 } && test -s conftest$ac_exeext &&
26350 $as_test_x conftest$ac_exeext; then
26351 ac_cv_lib_dnet_dnet_ntoa=yes
26353 echo "$as_me: failed program was:" >&5
26354 sed 's/^/| /' conftest.$ac_ext >&5
26356 ac_cv_lib_dnet_dnet_ntoa=no
26359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26360 conftest$ac_exeext conftest.$ac_ext
26361 LIBS=$ac_check_lib_save_LIBS
26363 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26364 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
26365 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26366 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26369 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26370 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26371 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
26372 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26373 echo $ECHO_N "(cached) $ECHO_C" >&6
26375 ac_check_lib_save_LIBS=$LIBS
26376 LIBS="-ldnet_stub $LIBS"
26377 cat >conftest.$ac_ext <<_ACEOF
26380 cat confdefs.h >>conftest.$ac_ext
26381 cat >>conftest.$ac_ext <<_ACEOF
26382 /* end confdefs.h. */
26384 /* Override any GCC internal prototype to avoid an error.
26385 Use char because int might match the return type of a GCC
26386 builtin and then its argument prototype would still apply. */
26394 return dnet_ntoa ();
26399 rm -f conftest.$ac_objext conftest$ac_exeext
26400 if { (ac_try="$ac_link"
26401 case "(($ac_try" in
26402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26403 *) ac_try_echo=$ac_try;;
26405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26406 (eval "$ac_link") 2>conftest.er1
26408 grep -v '^ *+' conftest.er1 >conftest.err
26410 cat conftest.err >&5
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); } && {
26413 test -z "$ac_c_werror_flag" ||
26414 test ! -s conftest.err
26415 } && test -s conftest$ac_exeext &&
26416 $as_test_x conftest$ac_exeext; then
26417 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26419 echo "$as_me: failed program was:" >&5
26420 sed 's/^/| /' conftest.$ac_ext >&5
26422 ac_cv_lib_dnet_stub_dnet_ntoa=no
26425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26426 conftest$ac_exeext conftest.$ac_ext
26427 LIBS=$ac_check_lib_save_LIBS
26429 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26430 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
26431 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26432 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26439 conftest$ac_exeext conftest.$ac_ext
26440 LIBS="$ac_xsave_LIBS"
26442 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26443 # to get the SysV transport functions.
26444 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26446 # The nsl library prevents programs from opening the X display
26447 # on Irix 5.2, according to T.E. Dickey.
26448 # The functions gethostbyname, getservbyname, and inet_addr are
26449 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26450 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
26451 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
26452 if test "${ac_cv_func_gethostbyname+set}" = set; then
26453 echo $ECHO_N "(cached) $ECHO_C" >&6
26455 cat >conftest.$ac_ext <<_ACEOF
26458 cat confdefs.h >>conftest.$ac_ext
26459 cat >>conftest.$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26461 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26463 #define gethostbyname innocuous_gethostbyname
26465 /* System header to define __stub macros and hopefully few prototypes,
26466 which can conflict with char gethostbyname (); below.
26467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26468 <limits.h> exists even on freestanding compilers. */
26471 # include <limits.h>
26473 # include <assert.h>
26476 #undef gethostbyname
26478 /* Override any GCC internal prototype to avoid an error.
26479 Use char because int might match the return type of a GCC
26480 builtin and then its argument prototype would still apply. */
26484 char gethostbyname ();
26485 /* The GNU C library defines this for functions which it implements
26486 to always fail with ENOSYS. Some functions are actually named
26487 something starting with __ and the normal name is an alias. */
26488 #if defined __stub_gethostbyname || defined __stub___gethostbyname
26495 return gethostbyname ();
26500 rm -f conftest.$ac_objext conftest$ac_exeext
26501 if { (ac_try="$ac_link"
26502 case "(($ac_try" in
26503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26504 *) ac_try_echo=$ac_try;;
26506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26507 (eval "$ac_link") 2>conftest.er1
26509 grep -v '^ *+' conftest.er1 >conftest.err
26511 cat conftest.err >&5
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); } && {
26514 test -z "$ac_c_werror_flag" ||
26515 test ! -s conftest.err
26516 } && test -s conftest$ac_exeext &&
26517 $as_test_x conftest$ac_exeext; then
26518 ac_cv_func_gethostbyname=yes
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26523 ac_cv_func_gethostbyname=no
26526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26527 conftest$ac_exeext conftest.$ac_ext
26529 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26530 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
26532 if test $ac_cv_func_gethostbyname = no; then
26533 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26534 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
26535 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26536 echo $ECHO_N "(cached) $ECHO_C" >&6
26538 ac_check_lib_save_LIBS=$LIBS
26540 cat >conftest.$ac_ext <<_ACEOF
26543 cat confdefs.h >>conftest.$ac_ext
26544 cat >>conftest.$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26547 /* Override any GCC internal prototype to avoid an error.
26548 Use char because int might match the return type of a GCC
26549 builtin and then its argument prototype would still apply. */
26553 char gethostbyname ();
26557 return gethostbyname ();
26562 rm -f conftest.$ac_objext conftest$ac_exeext
26563 if { (ac_try="$ac_link"
26564 case "(($ac_try" in
26565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26566 *) ac_try_echo=$ac_try;;
26568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26569 (eval "$ac_link") 2>conftest.er1
26571 grep -v '^ *+' conftest.er1 >conftest.err
26573 cat conftest.err >&5
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); } && {
26576 test -z "$ac_c_werror_flag" ||
26577 test ! -s conftest.err
26578 } && test -s conftest$ac_exeext &&
26579 $as_test_x conftest$ac_exeext; then
26580 ac_cv_lib_nsl_gethostbyname=yes
26582 echo "$as_me: failed program was:" >&5
26583 sed 's/^/| /' conftest.$ac_ext >&5
26585 ac_cv_lib_nsl_gethostbyname=no
26588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26589 conftest$ac_exeext conftest.$ac_ext
26590 LIBS=$ac_check_lib_save_LIBS
26592 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26593 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
26594 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26595 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26598 if test $ac_cv_lib_nsl_gethostbyname = no; then
26599 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26600 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
26601 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26602 echo $ECHO_N "(cached) $ECHO_C" >&6
26604 ac_check_lib_save_LIBS=$LIBS
26606 cat >conftest.$ac_ext <<_ACEOF
26609 cat confdefs.h >>conftest.$ac_ext
26610 cat >>conftest.$ac_ext <<_ACEOF
26611 /* end confdefs.h. */
26613 /* Override any GCC internal prototype to avoid an error.
26614 Use char because int might match the return type of a GCC
26615 builtin and then its argument prototype would still apply. */
26619 char gethostbyname ();
26623 return gethostbyname ();
26628 rm -f conftest.$ac_objext conftest$ac_exeext
26629 if { (ac_try="$ac_link"
26630 case "(($ac_try" in
26631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26632 *) ac_try_echo=$ac_try;;
26634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26635 (eval "$ac_link") 2>conftest.er1
26637 grep -v '^ *+' conftest.er1 >conftest.err
26639 cat conftest.err >&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } && {
26642 test -z "$ac_c_werror_flag" ||
26643 test ! -s conftest.err
26644 } && test -s conftest$ac_exeext &&
26645 $as_test_x conftest$ac_exeext; then
26646 ac_cv_lib_bsd_gethostbyname=yes
26648 echo "$as_me: failed program was:" >&5
26649 sed 's/^/| /' conftest.$ac_ext >&5
26651 ac_cv_lib_bsd_gethostbyname=no
26654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26655 conftest$ac_exeext conftest.$ac_ext
26656 LIBS=$ac_check_lib_save_LIBS
26658 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26659 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
26660 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26661 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26667 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26668 # socket/setsockopt and other routines are undefined under SCO ODT
26669 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26670 # on later versions), says Simon Leinen: it contains gethostby*
26671 # variants that don't use the name server (or something). -lsocket
26672 # must be given before -lnsl if both are needed. We assume that
26673 # if connect needs -lnsl, so does gethostbyname.
26674 { echo "$as_me:$LINENO: checking for connect" >&5
26675 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
26676 if test "${ac_cv_func_connect+set}" = set; then
26677 echo $ECHO_N "(cached) $ECHO_C" >&6
26679 cat >conftest.$ac_ext <<_ACEOF
26682 cat confdefs.h >>conftest.$ac_ext
26683 cat >>conftest.$ac_ext <<_ACEOF
26684 /* end confdefs.h. */
26685 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26687 #define connect innocuous_connect
26689 /* System header to define __stub macros and hopefully few prototypes,
26690 which can conflict with char connect (); below.
26691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26692 <limits.h> exists even on freestanding compilers. */
26695 # include <limits.h>
26697 # include <assert.h>
26702 /* Override any GCC internal prototype to avoid an error.
26703 Use char because int might match the return type of a GCC
26704 builtin and then its argument prototype would still apply. */
26709 /* The GNU C library defines this for functions which it implements
26710 to always fail with ENOSYS. Some functions are actually named
26711 something starting with __ and the normal name is an alias. */
26712 #if defined __stub_connect || defined __stub___connect
26724 rm -f conftest.$ac_objext conftest$ac_exeext
26725 if { (ac_try="$ac_link"
26726 case "(($ac_try" in
26727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26728 *) ac_try_echo=$ac_try;;
26730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26731 (eval "$ac_link") 2>conftest.er1
26733 grep -v '^ *+' conftest.er1 >conftest.err
26735 cat conftest.err >&5
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); } && {
26738 test -z "$ac_c_werror_flag" ||
26739 test ! -s conftest.err
26740 } && test -s conftest$ac_exeext &&
26741 $as_test_x conftest$ac_exeext; then
26742 ac_cv_func_connect=yes
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26747 ac_cv_func_connect=no
26750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26751 conftest$ac_exeext conftest.$ac_ext
26753 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26754 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
26756 if test $ac_cv_func_connect = no; then
26757 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26758 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
26759 if test "${ac_cv_lib_socket_connect+set}" = set; then
26760 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 ac_check_lib_save_LIBS=$LIBS
26763 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26764 cat >conftest.$ac_ext <<_ACEOF
26767 cat confdefs.h >>conftest.$ac_ext
26768 cat >>conftest.$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26771 /* Override any GCC internal prototype to avoid an error.
26772 Use char because int might match the return type of a GCC
26773 builtin and then its argument prototype would still apply. */
26786 rm -f conftest.$ac_objext conftest$ac_exeext
26787 if { (ac_try="$ac_link"
26788 case "(($ac_try" in
26789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26790 *) ac_try_echo=$ac_try;;
26792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26793 (eval "$ac_link") 2>conftest.er1
26795 grep -v '^ *+' conftest.er1 >conftest.err
26797 cat conftest.err >&5
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); } && {
26800 test -z "$ac_c_werror_flag" ||
26801 test ! -s conftest.err
26802 } && test -s conftest$ac_exeext &&
26803 $as_test_x conftest$ac_exeext; then
26804 ac_cv_lib_socket_connect=yes
26806 echo "$as_me: failed program was:" >&5
26807 sed 's/^/| /' conftest.$ac_ext >&5
26809 ac_cv_lib_socket_connect=no
26812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26813 conftest$ac_exeext conftest.$ac_ext
26814 LIBS=$ac_check_lib_save_LIBS
26816 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26817 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
26818 if test $ac_cv_lib_socket_connect = yes; then
26819 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26824 # Guillermo Gomez says -lposix is necessary on A/UX.
26825 { echo "$as_me:$LINENO: checking for remove" >&5
26826 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
26827 if test "${ac_cv_func_remove+set}" = set; then
26828 echo $ECHO_N "(cached) $ECHO_C" >&6
26830 cat >conftest.$ac_ext <<_ACEOF
26833 cat confdefs.h >>conftest.$ac_ext
26834 cat >>conftest.$ac_ext <<_ACEOF
26835 /* end confdefs.h. */
26836 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26838 #define remove innocuous_remove
26840 /* System header to define __stub macros and hopefully few prototypes,
26841 which can conflict with char remove (); below.
26842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26843 <limits.h> exists even on freestanding compilers. */
26846 # include <limits.h>
26848 # include <assert.h>
26853 /* Override any GCC internal prototype to avoid an error.
26854 Use char because int might match the return type of a GCC
26855 builtin and then its argument prototype would still apply. */
26860 /* The GNU C library defines this for functions which it implements
26861 to always fail with ENOSYS. Some functions are actually named
26862 something starting with __ and the normal name is an alias. */
26863 #if defined __stub_remove || defined __stub___remove
26875 rm -f conftest.$ac_objext conftest$ac_exeext
26876 if { (ac_try="$ac_link"
26877 case "(($ac_try" in
26878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26879 *) ac_try_echo=$ac_try;;
26881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26882 (eval "$ac_link") 2>conftest.er1
26884 grep -v '^ *+' conftest.er1 >conftest.err
26886 cat conftest.err >&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); } && {
26889 test -z "$ac_c_werror_flag" ||
26890 test ! -s conftest.err
26891 } && test -s conftest$ac_exeext &&
26892 $as_test_x conftest$ac_exeext; then
26893 ac_cv_func_remove=yes
26895 echo "$as_me: failed program was:" >&5
26896 sed 's/^/| /' conftest.$ac_ext >&5
26898 ac_cv_func_remove=no
26901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26902 conftest$ac_exeext conftest.$ac_ext
26904 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26905 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
26907 if test $ac_cv_func_remove = no; then
26908 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26909 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
26910 if test "${ac_cv_lib_posix_remove+set}" = set; then
26911 echo $ECHO_N "(cached) $ECHO_C" >&6
26913 ac_check_lib_save_LIBS=$LIBS
26914 LIBS="-lposix $LIBS"
26915 cat >conftest.$ac_ext <<_ACEOF
26918 cat confdefs.h >>conftest.$ac_ext
26919 cat >>conftest.$ac_ext <<_ACEOF
26920 /* end confdefs.h. */
26922 /* Override any GCC internal prototype to avoid an error.
26923 Use char because int might match the return type of a GCC
26924 builtin and then its argument prototype would still apply. */
26937 rm -f conftest.$ac_objext conftest$ac_exeext
26938 if { (ac_try="$ac_link"
26939 case "(($ac_try" in
26940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26941 *) ac_try_echo=$ac_try;;
26943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26944 (eval "$ac_link") 2>conftest.er1
26946 grep -v '^ *+' conftest.er1 >conftest.err
26948 cat conftest.err >&5
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); } && {
26951 test -z "$ac_c_werror_flag" ||
26952 test ! -s conftest.err
26953 } && test -s conftest$ac_exeext &&
26954 $as_test_x conftest$ac_exeext; then
26955 ac_cv_lib_posix_remove=yes
26957 echo "$as_me: failed program was:" >&5
26958 sed 's/^/| /' conftest.$ac_ext >&5
26960 ac_cv_lib_posix_remove=no
26963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26964 conftest$ac_exeext conftest.$ac_ext
26965 LIBS=$ac_check_lib_save_LIBS
26967 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26968 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
26969 if test $ac_cv_lib_posix_remove = yes; then
26970 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26975 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26976 { echo "$as_me:$LINENO: checking for shmat" >&5
26977 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
26978 if test "${ac_cv_func_shmat+set}" = set; then
26979 echo $ECHO_N "(cached) $ECHO_C" >&6
26981 cat >conftest.$ac_ext <<_ACEOF
26984 cat confdefs.h >>conftest.$ac_ext
26985 cat >>conftest.$ac_ext <<_ACEOF
26986 /* end confdefs.h. */
26987 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26989 #define shmat innocuous_shmat
26991 /* System header to define __stub macros and hopefully few prototypes,
26992 which can conflict with char shmat (); below.
26993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26994 <limits.h> exists even on freestanding compilers. */
26997 # include <limits.h>
26999 # include <assert.h>
27004 /* Override any GCC internal prototype to avoid an error.
27005 Use char because int might match the return type of a GCC
27006 builtin and then its argument prototype would still apply. */
27011 /* The GNU C library defines this for functions which it implements
27012 to always fail with ENOSYS. Some functions are actually named
27013 something starting with __ and the normal name is an alias. */
27014 #if defined __stub_shmat || defined __stub___shmat
27026 rm -f conftest.$ac_objext conftest$ac_exeext
27027 if { (ac_try="$ac_link"
27028 case "(($ac_try" in
27029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27030 *) ac_try_echo=$ac_try;;
27032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27033 (eval "$ac_link") 2>conftest.er1
27035 grep -v '^ *+' conftest.er1 >conftest.err
27037 cat conftest.err >&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); } && {
27040 test -z "$ac_c_werror_flag" ||
27041 test ! -s conftest.err
27042 } && test -s conftest$ac_exeext &&
27043 $as_test_x conftest$ac_exeext; then
27044 ac_cv_func_shmat=yes
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.$ac_ext >&5
27049 ac_cv_func_shmat=no
27052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27053 conftest$ac_exeext conftest.$ac_ext
27055 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27056 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
27058 if test $ac_cv_func_shmat = no; then
27059 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27060 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
27061 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27064 ac_check_lib_save_LIBS=$LIBS
27066 cat >conftest.$ac_ext <<_ACEOF
27069 cat confdefs.h >>conftest.$ac_ext
27070 cat >>conftest.$ac_ext <<_ACEOF
27071 /* end confdefs.h. */
27073 /* Override any GCC internal prototype to avoid an error.
27074 Use char because int might match the return type of a GCC
27075 builtin and then its argument prototype would still apply. */
27088 rm -f conftest.$ac_objext conftest$ac_exeext
27089 if { (ac_try="$ac_link"
27090 case "(($ac_try" in
27091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27092 *) ac_try_echo=$ac_try;;
27094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27095 (eval "$ac_link") 2>conftest.er1
27097 grep -v '^ *+' conftest.er1 >conftest.err
27099 cat conftest.err >&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } && {
27102 test -z "$ac_c_werror_flag" ||
27103 test ! -s conftest.err
27104 } && test -s conftest$ac_exeext &&
27105 $as_test_x conftest$ac_exeext; then
27106 ac_cv_lib_ipc_shmat=yes
27108 echo "$as_me: failed program was:" >&5
27109 sed 's/^/| /' conftest.$ac_ext >&5
27111 ac_cv_lib_ipc_shmat=no
27114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27115 conftest$ac_exeext conftest.$ac_ext
27116 LIBS=$ac_check_lib_save_LIBS
27118 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27119 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
27120 if test $ac_cv_lib_ipc_shmat = yes; then
27121 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27127 # Check for libraries that X11R6 Xt/Xaw programs need.
27128 ac_save_LDFLAGS=$LDFLAGS
27129 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27130 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27131 # check for ICE first), but we must link in the order -lSM -lICE or
27132 # we get undefined symbols. So assume we have SM if we have ICE.
27133 # These have to be linked with before -lX11, unlike the other
27134 # libraries we check for below, so use a different variable.
27135 # John Interrante, Karl Berry
27136 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27137 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
27138 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27139 echo $ECHO_N "(cached) $ECHO_C" >&6
27141 ac_check_lib_save_LIBS=$LIBS
27142 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27143 cat >conftest.$ac_ext <<_ACEOF
27146 cat confdefs.h >>conftest.$ac_ext
27147 cat >>conftest.$ac_ext <<_ACEOF
27148 /* end confdefs.h. */
27150 /* Override any GCC internal prototype to avoid an error.
27151 Use char because int might match the return type of a GCC
27152 builtin and then its argument prototype would still apply. */
27156 char IceConnectionNumber ();
27160 return IceConnectionNumber ();
27165 rm -f conftest.$ac_objext conftest$ac_exeext
27166 if { (ac_try="$ac_link"
27167 case "(($ac_try" in
27168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27169 *) ac_try_echo=$ac_try;;
27171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27172 (eval "$ac_link") 2>conftest.er1
27174 grep -v '^ *+' conftest.er1 >conftest.err
27176 cat conftest.err >&5
27177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 (exit $ac_status); } && {
27179 test -z "$ac_c_werror_flag" ||
27180 test ! -s conftest.err
27181 } && test -s conftest$ac_exeext &&
27182 $as_test_x conftest$ac_exeext; then
27183 ac_cv_lib_ICE_IceConnectionNumber=yes
27185 echo "$as_me: failed program was:" >&5
27186 sed 's/^/| /' conftest.$ac_ext >&5
27188 ac_cv_lib_ICE_IceConnectionNumber=no
27191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27192 conftest$ac_exeext conftest.$ac_ext
27193 LIBS=$ac_check_lib_save_LIBS
27195 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27196 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
27197 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27198 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27201 LDFLAGS=$ac_save_LDFLAGS
27205 if test "$no_x" = yes; then
27206 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
27207 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
27208 { (exit 1); exit 1; }; }
27210 { echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
27211 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6; }
27212 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
27213 echo $ECHO_N "(cached) $ECHO_C" >&6
27215 ac_check_lib_save_LIBS=$LIBS
27216 LIBS="-lXtst ${X_LIBS} $LIBS"
27217 cat >conftest.$ac_ext <<_ACEOF
27220 cat confdefs.h >>conftest.$ac_ext
27221 cat >>conftest.$ac_ext <<_ACEOF
27222 /* end confdefs.h. */
27224 /* Override any GCC internal prototype to avoid an error.
27225 Use char because int might match the return type of a GCC
27226 builtin and then its argument prototype would still apply. */
27230 char XTestQueryExtension ();
27234 return XTestQueryExtension ();
27239 rm -f conftest.$ac_objext conftest$ac_exeext
27240 if { (ac_try="$ac_link"
27241 case "(($ac_try" in
27242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27243 *) ac_try_echo=$ac_try;;
27245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27246 (eval "$ac_link") 2>conftest.er1
27248 grep -v '^ *+' conftest.er1 >conftest.err
27250 cat conftest.err >&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } && {
27253 test -z "$ac_c_werror_flag" ||
27254 test ! -s conftest.err
27255 } && test -s conftest$ac_exeext &&
27256 $as_test_x conftest$ac_exeext; then
27257 ac_cv_lib_Xtst_XTestQueryExtension=yes
27259 echo "$as_me: failed program was:" >&5
27260 sed 's/^/| /' conftest.$ac_ext >&5
27262 ac_cv_lib_Xtst_XTestQueryExtension=no
27265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27266 conftest$ac_exeext conftest.$ac_ext
27267 LIBS=$ac_check_lib_save_LIBS
27269 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
27270 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
27271 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
27273 cat >>confdefs.h <<\_ACEOF
27274 #define HAVE_XTEST 1
27276 XTEST_LIBS="$XTEST_LIBS -X11 -lXtst"
27286 if test -z "$PKG_CONFIG"; then
27287 # Extract the first word of "pkg-config", so it can be a program name with args.
27288 set dummy pkg-config; ac_word=$2
27289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27291 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27292 echo $ECHO_N "(cached) $ECHO_C" >&6
27294 case $PKG_CONFIG in
27296 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27300 for as_dir in $PATH
27303 test -z "$as_dir" && as_dir=.
27304 for ac_exec_ext in '' $ac_executable_extensions; do
27305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27306 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27314 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27318 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27319 if test -n "$PKG_CONFIG"; then
27320 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27321 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27323 { echo "$as_me:$LINENO: result: no" >&5
27324 echo "${ECHO_T}no" >&6; }
27330 if test "$PKG_CONFIG" = "no" ; then
27331 echo "*** The pkg-config script could not be found. Make sure it is"
27332 echo "*** in your path, or set the PKG_CONFIG environment variable"
27333 echo "*** to the full path to pkg-config."
27334 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27336 PKG_CONFIG_MIN_VERSION=0.9.0
27337 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27338 { echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
27339 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6; }
27341 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
27342 { echo "$as_me:$LINENO: result: yes" >&5
27343 echo "${ECHO_T}yes" >&6; }
27346 { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
27347 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; }
27348 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
27349 { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
27350 echo "${ECHO_T}$GTK_CFLAGS" >&6; }
27352 { echo "$as_me:$LINENO: checking GTK_LIBS" >&5
27353 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; }
27354 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
27355 { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
27356 echo "${ECHO_T}$GTK_LIBS" >&6; }
27360 ## If we have a custom action on failure, don't print errors, but
27361 ## do set a variable so people can do so.
27362 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
27363 echo $GTK_PKG_ERRORS
27369 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27370 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27374 if test $succeeded = yes; then
27377 { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
27378 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
27379 { (exit 1); exit 1; }; }
27385 if test -z "$PKG_CONFIG"; then
27386 # Extract the first word of "pkg-config", so it can be a program name with args.
27387 set dummy pkg-config; ac_word=$2
27388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27390 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27391 echo $ECHO_N "(cached) $ECHO_C" >&6
27393 case $PKG_CONFIG in
27395 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27399 for as_dir in $PATH
27402 test -z "$as_dir" && as_dir=.
27403 for ac_exec_ext in '' $ac_executable_extensions; do
27404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27405 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27413 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27417 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27418 if test -n "$PKG_CONFIG"; then
27419 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27420 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27422 { echo "$as_me:$LINENO: result: no" >&5
27423 echo "${ECHO_T}no" >&6; }
27429 if test "$PKG_CONFIG" = "no" ; then
27430 echo "*** The pkg-config script could not be found. Make sure it is"
27431 echo "*** in your path, or set the PKG_CONFIG environment variable"
27432 echo "*** to the full path to pkg-config."
27433 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27435 PKG_CONFIG_MIN_VERSION=0.9.0
27436 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27437 { echo "$as_me:$LINENO: checking for freetype2" >&5
27438 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6; }
27440 if $PKG_CONFIG --exists "freetype2" ; then
27441 { echo "$as_me:$LINENO: result: yes" >&5
27442 echo "${ECHO_T}yes" >&6; }
27445 { echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
27446 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6; }
27447 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
27448 { echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
27449 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6; }
27451 { echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
27452 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6; }
27453 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
27454 { echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
27455 echo "${ECHO_T}$FREETYPE2_LIBS" >&6; }
27457 FREETYPE2_CFLAGS=""
27459 ## If we have a custom action on failure, don't print errors, but
27460 ## do set a variable so people can do so.
27461 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
27462 echo $FREETYPE2_PKG_ERRORS
27468 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27469 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27473 if test $succeeded = yes; then
27476 { { echo "$as_me:$LINENO: error: Library requirements (freetype2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
27477 echo "$as_me: error: Library requirements (freetype2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
27478 { (exit 1); exit 1; }; }
27484 if test -z "$PKG_CONFIG"; then
27485 # Extract the first word of "pkg-config", so it can be a program name with args.
27486 set dummy pkg-config; ac_word=$2
27487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27489 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27490 echo $ECHO_N "(cached) $ECHO_C" >&6
27492 case $PKG_CONFIG in
27494 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27498 for as_dir in $PATH
27501 test -z "$as_dir" && as_dir=.
27502 for ac_exec_ext in '' $ac_executable_extensions; do
27503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27504 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27512 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27516 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27517 if test -n "$PKG_CONFIG"; then
27518 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27519 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27521 { echo "$as_me:$LINENO: result: no" >&5
27522 echo "${ECHO_T}no" >&6; }
27528 if test "$PKG_CONFIG" = "no" ; then
27529 echo "*** The pkg-config script could not be found. Make sure it is"
27530 echo "*** in your path, or set the PKG_CONFIG environment variable"
27531 echo "*** to the full path to pkg-config."
27532 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27534 PKG_CONFIG_MIN_VERSION=0.9.0
27535 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27536 { echo "$as_me:$LINENO: checking for pangoft2" >&5
27537 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6; }
27539 if $PKG_CONFIG --exists "pangoft2" ; then
27540 { echo "$as_me:$LINENO: result: yes" >&5
27541 echo "${ECHO_T}yes" >&6; }
27544 { echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27545 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6; }
27546 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27547 { echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27548 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6; }
27550 { echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27551 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6; }
27552 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27553 { echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27554 echo "${ECHO_T}$PANGOFT2_LIBS" >&6; }
27558 ## If we have a custom action on failure, don't print errors, but
27559 ## do set a variable so people can do so.
27560 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27561 echo $PANGOFT2_PKG_ERRORS
27567 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27568 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27572 if test $succeeded = yes; then
27575 { { echo "$as_me:$LINENO: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
27576 echo "$as_me: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
27577 { (exit 1); exit 1; }; }
27583 if test -z "$PKG_CONFIG"; then
27584 # Extract the first word of "pkg-config", so it can be a program name with args.
27585 set dummy pkg-config; ac_word=$2
27586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27588 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27589 echo $ECHO_N "(cached) $ECHO_C" >&6
27591 case $PKG_CONFIG in
27593 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27597 for as_dir in $PATH
27600 test -z "$as_dir" && as_dir=.
27601 for ac_exec_ext in '' $ac_executable_extensions; do
27602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27603 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27611 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27615 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27616 if test -n "$PKG_CONFIG"; then
27617 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27618 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27620 { echo "$as_me:$LINENO: result: no" >&5
27621 echo "${ECHO_T}no" >&6; }
27627 if test "$PKG_CONFIG" = "no" ; then
27628 echo "*** The pkg-config script could not be found. Make sure it is"
27629 echo "*** in your path, or set the PKG_CONFIG environment variable"
27630 echo "*** to the full path to pkg-config."
27631 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27633 PKG_CONFIG_MIN_VERSION=0.9.0
27634 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27635 { echo "$as_me:$LINENO: checking for cairo >= 1.1.8" >&5
27636 echo $ECHO_N "checking for cairo >= 1.1.8... $ECHO_C" >&6; }
27638 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
27639 { echo "$as_me:$LINENO: result: yes" >&5
27640 echo "${ECHO_T}yes" >&6; }
27643 { echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
27644 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6; }
27645 CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
27646 { echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
27647 echo "${ECHO_T}$CAIRO_CFLAGS" >&6; }
27649 { echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
27650 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6; }
27651 CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
27652 { echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
27653 echo "${ECHO_T}$CAIRO_LIBS" >&6; }
27657 ## If we have a custom action on failure, don't print errors, but
27658 ## do set a variable so people can do so.
27659 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
27660 echo $CAIRO_PKG_ERRORS
27666 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27667 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27671 if test $succeeded = yes; then
27674 { { echo "$as_me:$LINENO: error: Library requirements (cairo >= 1.1.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
27675 echo "$as_me: error: Library requirements (cairo >= 1.1.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
27676 { (exit 1); exit 1; }; }
27679 { echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
27680 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6; }
27681 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
27682 echo $ECHO_N "(cached) $ECHO_C" >&6
27684 ac_check_lib_save_LIBS=$LIBS
27685 LIBS="-lXrender ${X_LIBS} $LIBS"
27686 cat >conftest.$ac_ext <<_ACEOF
27689 cat confdefs.h >>conftest.$ac_ext
27690 cat >>conftest.$ac_ext <<_ACEOF
27691 /* end confdefs.h. */
27693 /* Override any GCC internal prototype to avoid an error.
27694 Use char because int might match the return type of a GCC
27695 builtin and then its argument prototype would still apply. */
27699 char XRenderQueryExtension ();
27703 return XRenderQueryExtension ();
27708 rm -f conftest.$ac_objext conftest$ac_exeext
27709 if { (ac_try="$ac_link"
27710 case "(($ac_try" in
27711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27712 *) ac_try_echo=$ac_try;;
27714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27715 (eval "$ac_link") 2>conftest.er1
27717 grep -v '^ *+' conftest.er1 >conftest.err
27719 cat conftest.err >&5
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); } && {
27722 test -z "$ac_c_werror_flag" ||
27723 test ! -s conftest.err
27724 } && test -s conftest$ac_exeext &&
27725 $as_test_x conftest$ac_exeext; then
27726 ac_cv_lib_Xrender_XRenderQueryExtension=yes
27728 echo "$as_me: failed program was:" >&5
27729 sed 's/^/| /' conftest.$ac_ext >&5
27731 ac_cv_lib_Xrender_XRenderQueryExtension=no
27734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27735 conftest$ac_exeext conftest.$ac_ext
27736 LIBS=$ac_check_lib_save_LIBS
27738 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
27739 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
27740 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
27742 cat >>confdefs.h <<\_ACEOF
27743 #define HAVE_XRENDER 1
27745 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
27751 { echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
27752 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6; }
27753 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
27754 echo $ECHO_N "(cached) $ECHO_C" >&6
27756 ac_check_lib_save_LIBS=$LIBS
27757 LIBS="-lXrandr ${X_LIBS} $LIBS"
27758 cat >conftest.$ac_ext <<_ACEOF
27761 cat confdefs.h >>conftest.$ac_ext
27762 cat >>conftest.$ac_ext <<_ACEOF
27763 /* end confdefs.h. */
27765 /* Override any GCC internal prototype to avoid an error.
27766 Use char because int might match the return type of a GCC
27767 builtin and then its argument prototype would still apply. */
27771 char XRRQueryExtension ();
27775 return XRRQueryExtension ();
27780 rm -f conftest.$ac_objext conftest$ac_exeext
27781 if { (ac_try="$ac_link"
27782 case "(($ac_try" in
27783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27784 *) ac_try_echo=$ac_try;;
27786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27787 (eval "$ac_link") 2>conftest.er1
27789 grep -v '^ *+' conftest.er1 >conftest.err
27791 cat conftest.err >&5
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); } && {
27794 test -z "$ac_c_werror_flag" ||
27795 test ! -s conftest.err
27796 } && test -s conftest$ac_exeext &&
27797 $as_test_x conftest$ac_exeext; then
27798 ac_cv_lib_Xrandr_XRRQueryExtension=yes
27800 echo "$as_me: failed program was:" >&5
27801 sed 's/^/| /' conftest.$ac_ext >&5
27803 ac_cv_lib_Xrandr_XRRQueryExtension=no
27806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27807 conftest$ac_exeext conftest.$ac_ext
27808 LIBS=$ac_check_lib_save_LIBS
27810 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
27811 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
27812 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
27814 cat >>confdefs.h <<\_ACEOF
27815 #define HAVE_XRANDR 1
27817 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
27832 if test "x${COMPILE_GCONF_PEER}" = xyes; then
27836 if test -z "$PKG_CONFIG"; then
27837 # Extract the first word of "pkg-config", so it can be a program name with args.
27838 set dummy pkg-config; ac_word=$2
27839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27841 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27844 case $PKG_CONFIG in
27846 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27850 for as_dir in $PATH
27853 test -z "$as_dir" && as_dir=.
27854 for ac_exec_ext in '' $ac_executable_extensions; do
27855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27856 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27864 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27868 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27869 if test -n "$PKG_CONFIG"; then
27870 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27871 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27873 { echo "$as_me:$LINENO: result: no" >&5
27874 echo "${ECHO_T}no" >&6; }
27880 if test "$PKG_CONFIG" = "no" ; then
27881 echo "*** The pkg-config script could not be found. Make sure it is"
27882 echo "*** in your path, or set the PKG_CONFIG environment variable"
27883 echo "*** to the full path to pkg-config."
27884 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27886 PKG_CONFIG_MIN_VERSION=0.9.0
27887 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27888 { echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.6.0" >&5
27889 echo $ECHO_N "checking for gconf-2.0 >= 2.6.0... $ECHO_C" >&6; }
27891 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
27892 { echo "$as_me:$LINENO: result: yes" >&5
27893 echo "${ECHO_T}yes" >&6; }
27896 { echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
27897 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6; }
27898 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
27899 { echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
27900 echo "${ECHO_T}$GCONF_CFLAGS" >&6; }
27902 { echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
27903 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6; }
27904 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
27905 { echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
27906 echo "${ECHO_T}$GCONF_LIBS" >&6; }
27910 ## If we have a custom action on failure, don't print errors, but
27911 ## do set a variable so people can do so.
27912 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
27913 echo $GCONF_PKG_ERRORS
27919 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27920 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27924 if test $succeeded = yes; then
27927 { { echo "$as_me:$LINENO: error: Library requirements (gconf-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
27928 echo "$as_me: error: Library requirements (gconf-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
27929 { (exit 1); exit 1; }; }
27937 if test -z "$PKG_CONFIG"; then
27938 # Extract the first word of "pkg-config", so it can be a program name with args.
27939 set dummy pkg-config; ac_word=$2
27940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27942 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27943 echo $ECHO_N "(cached) $ECHO_C" >&6
27945 case $PKG_CONFIG in
27947 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27951 for as_dir in $PATH
27954 test -z "$as_dir" && as_dir=.
27955 for ac_exec_ext in '' $ac_executable_extensions; do
27956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27957 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27965 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27969 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27970 if test -n "$PKG_CONFIG"; then
27971 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27972 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27974 { echo "$as_me:$LINENO: result: no" >&5
27975 echo "${ECHO_T}no" >&6; }
27981 if test "$PKG_CONFIG" = "no" ; then
27982 echo "*** The pkg-config script could not be found. Make sure it is"
27983 echo "*** in your path, or set the PKG_CONFIG environment variable"
27984 echo "*** to the full path to pkg-config."
27985 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27987 PKG_CONFIG_MIN_VERSION=0.9.0
27988 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27989 { echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
27990 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6; }
27992 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
27993 { echo "$as_me:$LINENO: result: yes" >&5
27994 echo "${ECHO_T}yes" >&6; }
27997 { echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
27998 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6; }
27999 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
28000 { echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
28001 echo "${ECHO_T}$GDK_CFLAGS" >&6; }
28003 { echo "$as_me:$LINENO: checking GDK_LIBS" >&5
28004 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6; }
28005 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
28006 { echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
28007 echo "${ECHO_T}$GDK_LIBS" >&6; }
28011 ## If we have a custom action on failure, don't print errors, but
28012 ## do set a variable so people can do so.
28013 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
28014 echo $GDK_PKG_ERRORS
28020 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28021 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28025 if test $succeeded = yes; then
28028 { { echo "$as_me:$LINENO: error: Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
28029 echo "$as_me: error: Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
28030 { (exit 1); exit 1; }; }
28035 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
28036 if test "$USE_GCONF_PREFS_PEER" = ""; then
28037 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
28041 if test "x${COMPILE_GSTREAMER_PEER}" = xyes; then
28042 GST_MAJORMINOR=0.10
28043 GST_REQUIRED=0.10.10
28048 if test -z "$PKG_CONFIG"; then
28049 # Extract the first word of "pkg-config", so it can be a program name with args.
28050 set dummy pkg-config; ac_word=$2
28051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28053 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28054 echo $ECHO_N "(cached) $ECHO_C" >&6
28056 case $PKG_CONFIG in
28058 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28062 for as_dir in $PATH
28065 test -z "$as_dir" && as_dir=.
28066 for ac_exec_ext in '' $ac_executable_extensions; do
28067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28068 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28076 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28080 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28081 if test -n "$PKG_CONFIG"; then
28082 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28083 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28085 { echo "$as_me:$LINENO: result: no" >&5
28086 echo "${ECHO_T}no" >&6; }
28092 if test "$PKG_CONFIG" = "no" ; then
28093 echo "*** The pkg-config script could not be found. Make sure it is"
28094 echo "*** in your path, or set the PKG_CONFIG environment variable"
28095 echo "*** to the full path to pkg-config."
28096 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28098 PKG_CONFIG_MIN_VERSION=0.9.0
28099 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28100 { echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
28101 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6; }
28103 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
28104 { echo "$as_me:$LINENO: result: yes" >&5
28105 echo "${ECHO_T}yes" >&6; }
28108 { echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
28109 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6; }
28110 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
28111 { echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
28112 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6; }
28114 { echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
28115 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6; }
28116 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
28117 { echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
28118 echo "${ECHO_T}$GSTREAMER_LIBS" >&6; }
28120 GSTREAMER_CFLAGS=""
28122 ## If we have a custom action on failure, don't print errors, but
28123 ## do set a variable so people can do so.
28124 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
28125 echo $GSTREAMER_PKG_ERRORS
28131 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28132 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28136 if test $succeeded = yes; then
28139 { { echo "$as_me:$LINENO: error: Library requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
28140 echo "$as_me: error: Library requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
28141 { (exit 1); exit 1; }; }
28150 if test -z "$PKG_CONFIG"; then
28151 # Extract the first word of "pkg-config", so it can be a program name with args.
28152 set dummy pkg-config; ac_word=$2
28153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28155 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28156 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 case $PKG_CONFIG in
28160 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28164 for as_dir in $PATH
28167 test -z "$as_dir" && as_dir=.
28168 for ac_exec_ext in '' $ac_executable_extensions; do
28169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28170 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28178 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28182 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28183 if test -n "$PKG_CONFIG"; then
28184 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28185 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28187 { echo "$as_me:$LINENO: result: no" >&5
28188 echo "${ECHO_T}no" >&6; }
28194 if test "$PKG_CONFIG" = "no" ; then
28195 echo "*** The pkg-config script could not be found. Make sure it is"
28196 echo "*** in your path, or set the PKG_CONFIG environment variable"
28197 echo "*** to the full path to pkg-config."
28198 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28200 PKG_CONFIG_MIN_VERSION=0.9.0
28201 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28202 { echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
28203 echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6; }
28205 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
28206 { echo "$as_me:$LINENO: result: yes" >&5
28207 echo "${ECHO_T}yes" >&6; }
28210 { echo "$as_me:$LINENO: checking GSTREAMER_BASE_CFLAGS" >&5
28211 echo $ECHO_N "checking GSTREAMER_BASE_CFLAGS... $ECHO_C" >&6; }
28212 GSTREAMER_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
28213 { echo "$as_me:$LINENO: result: $GSTREAMER_BASE_CFLAGS" >&5
28214 echo "${ECHO_T}$GSTREAMER_BASE_CFLAGS" >&6; }
28216 { echo "$as_me:$LINENO: checking GSTREAMER_BASE_LIBS" >&5
28217 echo $ECHO_N "checking GSTREAMER_BASE_LIBS... $ECHO_C" >&6; }
28218 GSTREAMER_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
28219 { echo "$as_me:$LINENO: result: $GSTREAMER_BASE_LIBS" >&5
28220 echo "${ECHO_T}$GSTREAMER_BASE_LIBS" >&6; }
28222 GSTREAMER_BASE_CFLAGS=""
28223 GSTREAMER_BASE_LIBS=""
28224 ## If we have a custom action on failure, don't print errors, but
28225 ## do set a variable so people can do so.
28226 GSTREAMER_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
28227 echo $GSTREAMER_BASE_PKG_ERRORS
28233 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28234 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28238 if test $succeeded = yes; then
28241 { { echo "$as_me:$LINENO: error: Library requirements (gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
28242 echo "$as_me: error: Library requirements (gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
28243 { (exit 1); exit 1; }; }
28252 if test -z "$PKG_CONFIG"; then
28253 # Extract the first word of "pkg-config", so it can be a program name with args.
28254 set dummy pkg-config; ac_word=$2
28255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28257 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28258 echo $ECHO_N "(cached) $ECHO_C" >&6
28260 case $PKG_CONFIG in
28262 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28266 for as_dir in $PATH
28269 test -z "$as_dir" && as_dir=.
28270 for ac_exec_ext in '' $ac_executable_extensions; do
28271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28272 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28280 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28284 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28285 if test -n "$PKG_CONFIG"; then
28286 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28287 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28289 { echo "$as_me:$LINENO: result: no" >&5
28290 echo "${ECHO_T}no" >&6; }
28296 if test "$PKG_CONFIG" = "no" ; then
28297 echo "*** The pkg-config script could not be found. Make sure it is"
28298 echo "*** in your path, or set the PKG_CONFIG environment variable"
28299 echo "*** to the full path to pkg-config."
28300 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28302 PKG_CONFIG_MIN_VERSION=0.9.0
28303 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28304 { echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
28305 echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6; }
28307 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
28308 { echo "$as_me:$LINENO: result: yes" >&5
28309 echo "${ECHO_T}yes" >&6; }
28312 { echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
28313 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6; }
28314 GSTREAMER_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
28315 { echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
28316 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6; }
28318 { echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
28319 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_LIBS... $ECHO_C" >&6; }
28320 GSTREAMER_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
28321 { echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
28322 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_LIBS" >&6; }
28324 GSTREAMER_PLUGINS_BASE_CFLAGS=""
28325 GSTREAMER_PLUGINS_BASE_LIBS=""
28326 ## If we have a custom action on failure, don't print errors, but
28327 ## do set a variable so people can do so.
28328 GSTREAMER_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
28329 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
28335 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28336 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28340 if test $succeeded = yes; then
28343 { { echo "$as_me:$LINENO: error: Library requirements (gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
28344 echo "$as_me: error: Library requirements (gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
28345 { (exit 1); exit 1; }; }
28351 GST_PLUGIN_LDFLAGS='-module -avoid-version -Wno-unused-parameter -no-undefined'
28357 if test -z "$PKG_CONFIG"; then
28358 # Extract the first word of "pkg-config", so it can be a program name with args.
28359 set dummy pkg-config; ac_word=$2
28360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28362 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28363 echo $ECHO_N "(cached) $ECHO_C" >&6
28365 case $PKG_CONFIG in
28367 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28371 for as_dir in $PATH
28374 test -z "$as_dir" && as_dir=.
28375 for ac_exec_ext in '' $ac_executable_extensions; do
28376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28377 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28385 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28389 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28390 if test -n "$PKG_CONFIG"; then
28391 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28392 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28394 { echo "$as_me:$LINENO: result: no" >&5
28395 echo "${ECHO_T}no" >&6; }
28401 if test "$PKG_CONFIG" = "no" ; then
28402 echo "*** The pkg-config script could not be found. Make sure it is"
28403 echo "*** in your path, or set the PKG_CONFIG environment variable"
28404 echo "*** to the full path to pkg-config."
28405 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28407 PKG_CONFIG_MIN_VERSION=0.9.0
28408 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28409 { echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
28410 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6; }
28412 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
28413 { echo "$as_me:$LINENO: result: yes" >&5
28414 echo "${ECHO_T}yes" >&6; }
28417 { echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
28418 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6; }
28419 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
28420 { echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
28421 echo "${ECHO_T}$GDK_CFLAGS" >&6; }
28423 { echo "$as_me:$LINENO: checking GDK_LIBS" >&5
28424 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6; }
28425 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
28426 { echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
28427 echo "${ECHO_T}$GDK_LIBS" >&6; }
28431 ## If we have a custom action on failure, don't print errors, but
28432 ## do set a variable so people can do so.
28433 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
28434 echo $GDK_PKG_ERRORS
28440 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28441 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28445 if test $succeeded = yes; then
28448 { { echo "$as_me:$LINENO: error: Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
28449 echo "$as_me: error: Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
28450 { (exit 1); exit 1; }; }
28456 GSTREAMER_FILE_READER=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
28457 GSTREAMER_MIXER_PROVIDER=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
28462 if test "x${COMPILE_QT_PEER}" = xyes; then
28466 if test -z "$PKG_CONFIG"; then
28467 # Extract the first word of "pkg-config", so it can be a program name with args.
28468 set dummy pkg-config; ac_word=$2
28469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28471 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28472 echo $ECHO_N "(cached) $ECHO_C" >&6
28474 case $PKG_CONFIG in
28476 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28480 for as_dir in $PATH
28483 test -z "$as_dir" && as_dir=.
28484 for ac_exec_ext in '' $ac_executable_extensions; do
28485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28486 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28494 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28498 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28499 if test -n "$PKG_CONFIG"; then
28500 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28501 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28503 { echo "$as_me:$LINENO: result: no" >&5
28504 echo "${ECHO_T}no" >&6; }
28510 if test "$PKG_CONFIG" = "no" ; then
28511 echo "*** The pkg-config script could not be found. Make sure it is"
28512 echo "*** in your path, or set the PKG_CONFIG environment variable"
28513 echo "*** to the full path to pkg-config."
28514 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28516 PKG_CONFIG_MIN_VERSION=0.9.0
28517 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28518 { echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
28519 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6; }
28521 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
28522 { echo "$as_me:$LINENO: result: yes" >&5
28523 echo "${ECHO_T}yes" >&6; }
28526 { echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
28527 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6; }
28528 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
28529 { echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
28530 echo "${ECHO_T}$QT_CFLAGS" >&6; }
28532 { echo "$as_me:$LINENO: checking QT_LIBS" >&5
28533 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6; }
28534 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
28535 { echo "$as_me:$LINENO: result: $QT_LIBS" >&5
28536 echo "${ECHO_T}$QT_LIBS" >&6; }
28540 ## If we have a custom action on failure, don't print errors, but
28541 ## do set a variable so people can do so.
28542 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
28549 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28550 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28554 if test $succeeded = yes; then
28560 if test "x$HAVE_QT4" = "xyes"; then
28561 QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
28562 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
28563 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
28564 { echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
28565 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6; }
28566 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
28567 echo $ECHO_N "(cached) $ECHO_C" >&6
28569 test "$cross_compiling" = yes &&
28570 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28571 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28572 { (exit 1); exit 1; }; }
28573 if test -r "$QT_INCLUDE_DIR/QWidget"; then
28574 eval "$as_ac_File=yes"
28576 eval "$as_ac_File=no"
28579 ac_res=`eval echo '${'$as_ac_File'}'`
28580 { echo "$as_me:$LINENO: result: $ac_res" >&5
28581 echo "${ECHO_T}$ac_res" >&6; }
28582 if test `eval echo '${'$as_ac_File'}'` = yes; then
28583 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
28584 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
28586 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
28587 { echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
28588 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6; }
28589 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
28590 echo $ECHO_N "(cached) $ECHO_C" >&6
28592 test "$cross_compiling" = yes &&
28593 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28594 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28595 { (exit 1); exit 1; }; }
28596 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
28597 eval "$as_ac_File=yes"
28599 eval "$as_ac_File=no"
28602 ac_res=`eval echo '${'$as_ac_File'}'`
28603 { echo "$as_me:$LINENO: result: $ac_res" >&5
28604 echo "${ECHO_T}$ac_res" >&6; }
28605 if test `eval echo '${'$as_ac_File'}'` = yes; then
28606 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
28608 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
28609 echo "$as_me: WARNING: QWidget not found" >&2;}
28614 # Extract the first word of "moc", so it can be a program name with args.
28615 set dummy moc; ac_word=$2
28616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28618 if test "${ac_cv_prog_MOC+set}" = set; then
28619 echo $ECHO_N "(cached) $ECHO_C" >&6
28621 if test -n "$MOC"; then
28622 ac_cv_prog_MOC="$MOC" # Let the user override the test.
28624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28625 for as_dir in $PATH
28628 test -z "$as_dir" && as_dir=.
28629 for ac_exec_ext in '' $ac_executable_extensions; do
28630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28631 ac_cv_prog_MOC="moc"
28632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28641 MOC=$ac_cv_prog_MOC
28642 if test -n "$MOC"; then
28643 { echo "$as_me:$LINENO: result: $MOC" >&5
28644 echo "${ECHO_T}$MOC" >&6; }
28646 { echo "$as_me:$LINENO: result: no" >&5
28647 echo "${ECHO_T}no" >&6; }
28651 # Extract the first word of "moc-qt4", so it can be a program name with args.
28652 set dummy moc-qt4; ac_word=$2
28653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28655 if test "${ac_cv_prog_MOC+set}" = set; then
28656 echo $ECHO_N "(cached) $ECHO_C" >&6
28658 if test -n "$MOC"; then
28659 ac_cv_prog_MOC="$MOC" # Let the user override the test.
28661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28662 for as_dir in $PATH
28665 test -z "$as_dir" && as_dir=.
28666 for ac_exec_ext in '' $ac_executable_extensions; do
28667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28668 ac_cv_prog_MOC="moc-qt4"
28669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28678 MOC=$ac_cv_prog_MOC
28679 if test -n "$MOC"; then
28680 { echo "$as_me:$LINENO: result: $MOC" >&5
28681 echo "${ECHO_T}$MOC" >&6; }
28683 { echo "$as_me:$LINENO: result: no" >&5
28684 echo "${ECHO_T}no" >&6; }
28689 if test "x$HAVE_QT4" = "xno"; then
28690 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
28691 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
28695 # Check whether --with-qt4dir was given.
28696 if test "${with_qt4dir+set}" = set; then
28697 withval=$with_qt4dir; QT4DIR=$withval
28701 if test x"$QT4DIR" = x ; then
28702 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
28703 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
28704 { (exit 1); exit 1; }; }
28706 { echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
28707 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6; }
28708 # Extract the first word of "moc", so it can be a program name with args.
28709 set dummy moc; ac_word=$2
28710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28712 if test "${ac_cv_prog_MOC+set}" = set; then
28713 echo $ECHO_N "(cached) $ECHO_C" >&6
28715 if test -n "$MOC"; then
28716 ac_cv_prog_MOC="$MOC" # Let the user override the test.
28718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28719 for as_dir in $QT4DIR/bin
28722 test -z "$as_dir" && as_dir=.
28723 for ac_exec_ext in '' $ac_executable_extensions; do
28724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28725 ac_cv_prog_MOC="$QT4DIR/bin/moc"
28726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28735 MOC=$ac_cv_prog_MOC
28736 if test -n "$MOC"; then
28737 { echo "$as_me:$LINENO: result: $MOC" >&5
28738 echo "${ECHO_T}$MOC" >&6; }
28740 { echo "$as_me:$LINENO: result: no" >&5
28741 echo "${ECHO_T}no" >&6; }
28745 if test x"$MOC" = x; then
28746 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
28747 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
28748 { (exit 1); exit 1; }; }
28750 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
28751 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
28752 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
28753 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
28756 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
28757 of your installed Qt4 installation." >&5
28758 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
28759 of your installed Qt4 installation." >&2;}
28760 { (exit 1); exit 1; }; }
28764 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
28765 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
28769 { echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
28770 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6; }
28771 cat >conftest.$ac_ext <<_ACEOF
28774 cat confdefs.h >>conftest.$ac_ext
28775 cat >>conftest.$ac_ext <<_ACEOF
28776 /* end confdefs.h. */
28777 #include <sys/socket.h>
28781 int f = MSG_NOSIGNAL;
28786 rm -f conftest.$ac_objext
28787 if { (ac_try="$ac_compile"
28788 case "(($ac_try" in
28789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28790 *) ac_try_echo=$ac_try;;
28792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28793 (eval "$ac_compile") 2>conftest.er1
28795 grep -v '^ *+' conftest.er1 >conftest.err
28797 cat conftest.err >&5
28798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799 (exit $ac_status); } && {
28800 test -z "$ac_c_werror_flag" ||
28801 test ! -s conftest.err
28802 } && test -s conftest.$ac_objext; then
28803 { echo "$as_me:$LINENO: result: yes" >&5
28804 echo "${ECHO_T}yes" >&6; }
28806 cat >>confdefs.h <<\_ACEOF
28807 #define HAVE_MSG_NOSIGNAL 1
28811 echo "$as_me: failed program was:" >&5
28812 sed 's/^/| /' conftest.$ac_ext >&5
28814 { echo "$as_me:$LINENO: result: no" >&5
28815 echo "${ECHO_T}no" >&6; }
28819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28820 { echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
28821 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6; }
28822 cat >conftest.$ac_ext <<_ACEOF
28825 cat confdefs.h >>conftest.$ac_ext
28826 cat >>conftest.$ac_ext <<_ACEOF
28827 /* end confdefs.h. */
28828 #include <sys/socket.h>
28832 int f = SO_NOSIGPIPE;
28837 rm -f conftest.$ac_objext
28838 if { (ac_try="$ac_compile"
28839 case "(($ac_try" in
28840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28841 *) ac_try_echo=$ac_try;;
28843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28844 (eval "$ac_compile") 2>conftest.er1
28846 grep -v '^ *+' conftest.er1 >conftest.err
28848 cat conftest.err >&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); } && {
28851 test -z "$ac_c_werror_flag" ||
28852 test ! -s conftest.err
28853 } && test -s conftest.$ac_objext; then
28854 { echo "$as_me:$LINENO: result: yes" >&5
28855 echo "${ECHO_T}yes" >&6; }
28857 cat >>confdefs.h <<\_ACEOF
28858 #define HAVE_SO_NOSIGPIPE 1
28862 echo "$as_me: failed program was:" >&5
28863 sed 's/^/| /' conftest.$ac_ext >&5
28865 { echo "$as_me:$LINENO: result: no" >&5
28866 echo "${ECHO_T}no" >&6; }
28870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28871 { echo "$as_me:$LINENO: checking for MSG_WAITALL" >&5
28872 echo $ECHO_N "checking for MSG_WAITALL... $ECHO_C" >&6; }
28873 cat >conftest.$ac_ext <<_ACEOF
28876 cat confdefs.h >>conftest.$ac_ext
28877 cat >>conftest.$ac_ext <<_ACEOF
28878 /* end confdefs.h. */
28879 #include <sys/socket.h>
28883 int f = MSG_WAITALL;
28888 rm -f conftest.$ac_objext
28889 if { (ac_try="$ac_compile"
28890 case "(($ac_try" in
28891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28892 *) ac_try_echo=$ac_try;;
28894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895 (eval "$ac_compile") 2>conftest.er1
28897 grep -v '^ *+' conftest.er1 >conftest.err
28899 cat conftest.err >&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } && {
28902 test -z "$ac_c_werror_flag" ||
28903 test ! -s conftest.err
28904 } && test -s conftest.$ac_objext; then
28905 { echo "$as_me:$LINENO: result: yes" >&5
28906 echo "${ECHO_T}yes" >&6; }
28908 cat >>confdefs.h <<\_ACEOF
28909 #define HAVE_MSG_WAITALL 1
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.$ac_ext >&5
28916 { echo "$as_me:$LINENO: result: no" >&5
28917 echo "${ECHO_T}no" >&6; }
28921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28923 if test "x${COMPILE_PLUGIN}" = xyes; then
28927 if test -z "$PKG_CONFIG"; then
28928 # Extract the first word of "pkg-config", so it can be a program name with args.
28929 set dummy pkg-config; ac_word=$2
28930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28932 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28933 echo $ECHO_N "(cached) $ECHO_C" >&6
28935 case $PKG_CONFIG in
28937 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28941 for as_dir in $PATH
28944 test -z "$as_dir" && as_dir=.
28945 for ac_exec_ext in '' $ac_executable_extensions; do
28946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28947 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28955 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28959 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28960 if test -n "$PKG_CONFIG"; then
28961 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28962 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28964 { echo "$as_me:$LINENO: result: no" >&5
28965 echo "${ECHO_T}no" >&6; }
28971 if test "$PKG_CONFIG" = "no" ; then
28972 echo "*** The pkg-config script could not be found. Make sure it is"
28973 echo "*** in your path, or set the PKG_CONFIG environment variable"
28974 echo "*** to the full path to pkg-config."
28975 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28977 PKG_CONFIG_MIN_VERSION=0.9.0
28978 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28979 { echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
28980 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6; }
28982 if $PKG_CONFIG --exists "mozilla-plugin" ; then
28983 { echo "$as_me:$LINENO: result: yes" >&5
28984 echo "${ECHO_T}yes" >&6; }
28987 { echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
28988 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6; }
28989 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
28990 { echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
28991 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6; }
28993 { echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
28994 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6; }
28995 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
28996 { echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
28997 echo "${ECHO_T}$MOZILLA_LIBS" >&6; }
29001 ## If we have a custom action on failure, don't print errors, but
29002 ## do set a variable so people can do so.
29003 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
29010 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29011 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29015 if test $succeeded = yes; then
29021 if test "x${MOZILLA_FOUND}" = xno; then
29025 if test -z "$PKG_CONFIG"; then
29026 # Extract the first word of "pkg-config", so it can be a program name with args.
29027 set dummy pkg-config; ac_word=$2
29028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29030 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29031 echo $ECHO_N "(cached) $ECHO_C" >&6
29033 case $PKG_CONFIG in
29035 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29039 for as_dir in $PATH
29042 test -z "$as_dir" && as_dir=.
29043 for ac_exec_ext in '' $ac_executable_extensions; do
29044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29045 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29053 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29057 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29058 if test -n "$PKG_CONFIG"; then
29059 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29060 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29062 { echo "$as_me:$LINENO: result: no" >&5
29063 echo "${ECHO_T}no" >&6; }
29069 if test "$PKG_CONFIG" = "no" ; then
29070 echo "*** The pkg-config script could not be found. Make sure it is"
29071 echo "*** in your path, or set the PKG_CONFIG environment variable"
29072 echo "*** to the full path to pkg-config."
29073 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29075 PKG_CONFIG_MIN_VERSION=0.9.0
29076 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29077 { echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
29078 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6; }
29080 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
29081 { echo "$as_me:$LINENO: result: yes" >&5
29082 echo "${ECHO_T}yes" >&6; }
29085 { echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
29086 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6; }
29087 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
29088 { echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
29089 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6; }
29091 { echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
29092 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6; }
29093 MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
29094 { echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
29095 echo "${ECHO_T}$MOZILLA_LIBS" >&6; }
29099 ## If we have a custom action on failure, don't print errors, but
29100 ## do set a variable so people can do so.
29101 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
29108 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29109 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29113 if test $succeeded = yes; then
29120 if test "x${MOZILLA_FOUND}" = xno; then
29124 if test -z "$PKG_CONFIG"; then
29125 # Extract the first word of "pkg-config", so it can be a program name with args.
29126 set dummy pkg-config; ac_word=$2
29127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29129 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29130 echo $ECHO_N "(cached) $ECHO_C" >&6
29132 case $PKG_CONFIG in
29134 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29138 for as_dir in $PATH
29141 test -z "$as_dir" && as_dir=.
29142 for ac_exec_ext in '' $ac_executable_extensions; do
29143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29144 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29152 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29156 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29157 if test -n "$PKG_CONFIG"; then
29158 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29159 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29161 { echo "$as_me:$LINENO: result: no" >&5
29162 echo "${ECHO_T}no" >&6; }
29168 if test "$PKG_CONFIG" = "no" ; then
29169 echo "*** The pkg-config script could not be found. Make sure it is"
29170 echo "*** in your path, or set the PKG_CONFIG environment variable"
29171 echo "*** to the full path to pkg-config."
29172 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29174 PKG_CONFIG_MIN_VERSION=0.9.0
29175 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29176 { echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
29177 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6; }
29179 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
29180 { echo "$as_me:$LINENO: result: yes" >&5
29181 echo "${ECHO_T}yes" >&6; }
29184 { echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
29185 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6; }
29186 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
29187 { echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
29188 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6; }
29190 { echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
29191 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6; }
29192 MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
29193 { echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
29194 echo "${ECHO_T}$MOZILLA_LIBS" >&6; }
29198 ## If we have a custom action on failure, don't print errors, but
29199 ## do set a variable so people can do so.
29200 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
29207 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29208 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29212 if test $succeeded = yes; then
29219 if test "x${MOZILLA_FOUND}" = xno; then
29223 if test -z "$PKG_CONFIG"; then
29224 # Extract the first word of "pkg-config", so it can be a program name with args.
29225 set dummy pkg-config; ac_word=$2
29226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29228 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29229 echo $ECHO_N "(cached) $ECHO_C" >&6
29231 case $PKG_CONFIG in
29233 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29237 for as_dir in $PATH
29240 test -z "$as_dir" && as_dir=.
29241 for ac_exec_ext in '' $ac_executable_extensions; do
29242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29243 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29251 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29255 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29256 if test -n "$PKG_CONFIG"; then
29257 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29258 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29260 { echo "$as_me:$LINENO: result: no" >&5
29261 echo "${ECHO_T}no" >&6; }
29267 if test "$PKG_CONFIG" = "no" ; then
29268 echo "*** The pkg-config script could not be found. Make sure it is"
29269 echo "*** in your path, or set the PKG_CONFIG environment variable"
29270 echo "*** to the full path to pkg-config."
29271 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29273 PKG_CONFIG_MIN_VERSION=0.9.0
29274 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29275 { echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
29276 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6; }
29278 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
29279 { echo "$as_me:$LINENO: result: yes" >&5
29280 echo "${ECHO_T}yes" >&6; }
29283 { echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
29284 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6; }
29285 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
29286 { echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
29287 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6; }
29289 { echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
29290 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6; }
29291 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
29292 { echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
29293 echo "${ECHO_T}$MOZILLA_LIBS" >&6; }
29297 ## If we have a custom action on failure, don't print errors, but
29298 ## do set a variable so people can do so.
29299 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
29306 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29307 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29311 if test $succeeded = yes; then
29318 if test "x${MOZILLA_FOUND}" = xno; then
29322 if test -z "$PKG_CONFIG"; then
29323 # Extract the first word of "pkg-config", so it can be a program name with args.
29324 set dummy pkg-config; ac_word=$2
29325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29327 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29328 echo $ECHO_N "(cached) $ECHO_C" >&6
29330 case $PKG_CONFIG in
29332 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29336 for as_dir in $PATH
29339 test -z "$as_dir" && as_dir=.
29340 for ac_exec_ext in '' $ac_executable_extensions; do
29341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29342 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29350 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29354 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29355 if test -n "$PKG_CONFIG"; then
29356 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29357 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29359 { echo "$as_me:$LINENO: result: no" >&5
29360 echo "${ECHO_T}no" >&6; }
29366 if test "$PKG_CONFIG" = "no" ; then
29367 echo "*** The pkg-config script could not be found. Make sure it is"
29368 echo "*** in your path, or set the PKG_CONFIG environment variable"
29369 echo "*** to the full path to pkg-config."
29370 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29372 PKG_CONFIG_MIN_VERSION=0.9.0
29373 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29374 { echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
29375 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6; }
29377 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
29378 { echo "$as_me:$LINENO: result: yes" >&5
29379 echo "${ECHO_T}yes" >&6; }
29382 { echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
29383 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6; }
29384 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
29385 { echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
29386 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6; }
29388 { echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
29389 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6; }
29390 MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
29391 { echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
29392 echo "${ECHO_T}$MOZILLA_LIBS" >&6; }
29396 ## If we have a custom action on failure, don't print errors, but
29397 ## do set a variable so people can do so.
29398 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
29405 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29406 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29410 if test $succeeded = yes; then
29417 if test "x${MOZILLA_FOUND}" = xno; then
29421 if test -z "$PKG_CONFIG"; then
29422 # Extract the first word of "pkg-config", so it can be a program name with args.
29423 set dummy pkg-config; ac_word=$2
29424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29426 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29429 case $PKG_CONFIG in
29431 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29435 for as_dir in $PATH
29438 test -z "$as_dir" && as_dir=.
29439 for ac_exec_ext in '' $ac_executable_extensions; do
29440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29441 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29449 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29453 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29454 if test -n "$PKG_CONFIG"; then
29455 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29456 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29458 { echo "$as_me:$LINENO: result: no" >&5
29459 echo "${ECHO_T}no" >&6; }
29465 if test "$PKG_CONFIG" = "no" ; then
29466 echo "*** The pkg-config script could not be found. Make sure it is"
29467 echo "*** in your path, or set the PKG_CONFIG environment variable"
29468 echo "*** to the full path to pkg-config."
29469 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29471 PKG_CONFIG_MIN_VERSION=0.9.0
29472 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29473 { echo "$as_me:$LINENO: checking for iceape-plugin iceape-xpcom" >&5
29474 echo $ECHO_N "checking for iceape-plugin iceape-xpcom... $ECHO_C" >&6; }
29476 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
29477 { echo "$as_me:$LINENO: result: yes" >&5
29478 echo "${ECHO_T}yes" >&6; }
29481 { echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
29482 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6; }
29483 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
29484 { echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
29485 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6; }
29487 { echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
29488 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6; }
29489 MOZILLA_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
29490 { echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
29491 echo "${ECHO_T}$MOZILLA_LIBS" >&6; }
29495 ## If we have a custom action on failure, don't print errors, but
29496 ## do set a variable so people can do so.
29497 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
29504 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29505 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29509 if test $succeeded = yes; then
29516 if test "x${MOZILLA_FOUND}" = xno; then
29517 { { echo "$as_me:$LINENO: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&5
29518 echo "$as_me: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&2;}
29519 { (exit 1); exit 1; }; }
29525 if test -z "$PKG_CONFIG"; then
29526 # Extract the first word of "pkg-config", so it can be a program name with args.
29527 set dummy pkg-config; ac_word=$2
29528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29530 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29531 echo $ECHO_N "(cached) $ECHO_C" >&6
29533 case $PKG_CONFIG in
29535 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29539 for as_dir in $PATH
29542 test -z "$as_dir" && as_dir=.
29543 for ac_exec_ext in '' $ac_executable_extensions; do
29544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29545 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29553 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29557 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29558 if test -n "$PKG_CONFIG"; then
29559 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29560 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29562 { echo "$as_me:$LINENO: result: no" >&5
29563 echo "${ECHO_T}no" >&6; }
29569 if test "$PKG_CONFIG" = "no" ; then
29570 echo "*** The pkg-config script could not be found. Make sure it is"
29571 echo "*** in your path, or set the PKG_CONFIG environment variable"
29572 echo "*** to the full path to pkg-config."
29573 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29575 PKG_CONFIG_MIN_VERSION=0.9.0
29576 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29577 { echo "$as_me:$LINENO: checking for glib-2.0" >&5
29578 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6; }
29580 if $PKG_CONFIG --exists "glib-2.0" ; then
29581 { echo "$as_me:$LINENO: result: yes" >&5
29582 echo "${ECHO_T}yes" >&6; }
29585 { echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
29586 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6; }
29587 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
29588 { echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
29589 echo "${ECHO_T}$GLIB_CFLAGS" >&6; }
29591 { echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
29592 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6; }
29593 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
29594 { echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
29595 echo "${ECHO_T}$GLIB_LIBS" >&6; }
29599 ## If we have a custom action on failure, don't print errors, but
29600 ## do set a variable so people can do so.
29601 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
29602 echo $GLIB_PKG_ERRORS
29608 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29609 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29613 if test $succeeded = yes; then
29616 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
29617 echo "$as_me: error: Library requirements (glib-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
29618 { (exit 1); exit 1; }; }
29624 if test -z "$PKG_CONFIG"; then
29625 # Extract the first word of "pkg-config", so it can be a program name with args.
29626 set dummy pkg-config; ac_word=$2
29627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29629 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29630 echo $ECHO_N "(cached) $ECHO_C" >&6
29632 case $PKG_CONFIG in
29634 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29638 for as_dir in $PATH
29641 test -z "$as_dir" && as_dir=.
29642 for ac_exec_ext in '' $ac_executable_extensions; do
29643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29644 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29652 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29656 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29657 if test -n "$PKG_CONFIG"; then
29658 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29659 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29661 { echo "$as_me:$LINENO: result: no" >&5
29662 echo "${ECHO_T}no" >&6; }
29668 if test "$PKG_CONFIG" = "no" ; then
29669 echo "*** The pkg-config script could not be found. Make sure it is"
29670 echo "*** in your path, or set the PKG_CONFIG environment variable"
29671 echo "*** to the full path to pkg-config."
29672 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29674 PKG_CONFIG_MIN_VERSION=0.9.0
29675 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29676 { echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
29677 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6; }
29679 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
29680 { echo "$as_me:$LINENO: result: yes" >&5
29681 echo "${ECHO_T}yes" >&6; }
29684 { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
29685 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; }
29686 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
29687 { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
29688 echo "${ECHO_T}$GTK_CFLAGS" >&6; }
29690 { echo "$as_me:$LINENO: checking GTK_LIBS" >&5
29691 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; }
29692 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
29693 { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
29694 echo "${ECHO_T}$GTK_LIBS" >&6; }
29698 ## If we have a custom action on failure, don't print errors, but
29699 ## do set a variable so people can do so.
29700 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
29701 echo $GTK_PKG_ERRORS
29707 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29708 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29712 if test $succeeded = yes; then
29715 { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
29716 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
29717 { (exit 1); exit 1; }; }
29728 PLUGIN_DIR=$HOME/.mozilla/plugins/
29733 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
29736 # Check whether --with-javah was given.
29737 if test "${with_javah+set}" = set; then
29738 withval=$with_javah;
29739 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
29741 if test "x${withval}" != x; then
29742 if test -f "${withval}"; then
29743 USER_JAVAH="${withval}"
29745 # Extract the first word of ""${withval}"", so it can be a program name with args.
29746 set dummy "${withval}"; ac_word=$2
29747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29749 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
29750 echo $ECHO_N "(cached) $ECHO_C" >&6
29752 case $USER_JAVAH in
29754 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
29757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29758 for as_dir in $PATH
29761 test -z "$as_dir" && as_dir=.
29762 for ac_exec_ext in '' $ac_executable_extensions; do
29763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29764 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
29765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29775 USER_JAVAH=$ac_cv_path_USER_JAVAH
29776 if test -n "$USER_JAVAH"; then
29777 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
29778 echo "${ECHO_T}$USER_JAVAH" >&6; }
29780 { echo "$as_me:$LINENO: result: no" >&5
29781 echo "${ECHO_T}no" >&6; }
29787 for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
29789 # Extract the first word of "$ac_prog", so it can be a program name with args.
29790 set dummy $ac_prog; ac_word=$2
29791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29793 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
29794 echo $ECHO_N "(cached) $ECHO_C" >&6
29796 case $USER_JAVAH in
29798 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
29801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29802 for as_dir in $PATH
29805 test -z "$as_dir" && as_dir=.
29806 for ac_exec_ext in '' $ac_executable_extensions; do
29807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29808 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
29809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29819 USER_JAVAH=$ac_cv_path_USER_JAVAH
29820 if test -n "$USER_JAVAH"; then
29821 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
29822 echo "${ECHO_T}$USER_JAVAH" >&6; }
29824 { echo "$as_me:$LINENO: result: no" >&5
29825 echo "${ECHO_T}no" >&6; }
29829 test -n "$USER_JAVAH" && break
29834 if test "x${USER_JAVAH}" = x; then
29835 { { echo "$as_me:$LINENO: error: can not find javah" >&5
29836 echo "$as_me: error: can not find javah" >&2;}
29837 { (exit 1); exit 1; }; }
29842 if test "x" != x; then
29843 if test -f ""; then
29846 # Extract the first word of """", so it can be a program name with args.
29847 set dummy ""; ac_word=$2
29848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29850 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
29851 echo $ECHO_N "(cached) $ECHO_C" >&6
29853 case $USER_JAVAH in
29855 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
29858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29859 for as_dir in $PATH
29862 test -z "$as_dir" && as_dir=.
29863 for ac_exec_ext in '' $ac_executable_extensions; do
29864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29865 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
29866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29876 USER_JAVAH=$ac_cv_path_USER_JAVAH
29877 if test -n "$USER_JAVAH"; then
29878 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
29879 echo "${ECHO_T}$USER_JAVAH" >&6; }
29881 { echo "$as_me:$LINENO: result: no" >&5
29882 echo "${ECHO_T}no" >&6; }
29888 for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
29890 # Extract the first word of "$ac_prog", so it can be a program name with args.
29891 set dummy $ac_prog; ac_word=$2
29892 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29894 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
29895 echo $ECHO_N "(cached) $ECHO_C" >&6
29897 case $USER_JAVAH in
29899 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
29902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29903 for as_dir in $PATH
29906 test -z "$as_dir" && as_dir=.
29907 for ac_exec_ext in '' $ac_executable_extensions; do
29908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29909 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
29910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29920 USER_JAVAH=$ac_cv_path_USER_JAVAH
29921 if test -n "$USER_JAVAH"; then
29922 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
29923 echo "${ECHO_T}$USER_JAVAH" >&6; }
29925 { echo "$as_me:$LINENO: result: no" >&5
29926 echo "${ECHO_T}no" >&6; }
29930 test -n "$USER_JAVAH" && break
29935 if test "x${USER_JAVAH}" = x; then
29936 { { echo "$as_me:$LINENO: error: can not find javah" >&5
29937 echo "$as_me: error: can not find javah" >&2;}
29938 { (exit 1); exit 1; }; }
29946 if test "x" != x; then
29947 if test -f ""; then
29950 # Extract the first word of """", so it can be a program name with args.
29951 set dummy ""; ac_word=$2
29952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29954 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
29955 echo $ECHO_N "(cached) $ECHO_C" >&6
29957 case $USER_JAVAH in
29959 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
29962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29963 for as_dir in $PATH
29966 test -z "$as_dir" && as_dir=.
29967 for ac_exec_ext in '' $ac_executable_extensions; do
29968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29969 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
29970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29980 USER_JAVAH=$ac_cv_path_USER_JAVAH
29981 if test -n "$USER_JAVAH"; then
29982 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
29983 echo "${ECHO_T}$USER_JAVAH" >&6; }
29985 { echo "$as_me:$LINENO: result: no" >&5
29986 echo "${ECHO_T}no" >&6; }
29992 for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
29994 # Extract the first word of "$ac_prog", so it can be a program name with args.
29995 set dummy $ac_prog; ac_word=$2
29996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29998 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
29999 echo $ECHO_N "(cached) $ECHO_C" >&6
30001 case $USER_JAVAH in
30003 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
30006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30007 for as_dir in $PATH
30010 test -z "$as_dir" && as_dir=.
30011 for ac_exec_ext in '' $ac_executable_extensions; do
30012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30013 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
30014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30024 USER_JAVAH=$ac_cv_path_USER_JAVAH
30025 if test -n "$USER_JAVAH"; then
30026 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
30027 echo "${ECHO_T}$USER_JAVAH" >&6; }
30029 { echo "$as_me:$LINENO: result: no" >&5
30030 echo "${ECHO_T}no" >&6; }
30034 test -n "$USER_JAVAH" && break
30039 if test "x${USER_JAVAH}" = x; then
30040 { { echo "$as_me:$LINENO: error: can not find javah" >&5
30041 echo "$as_me: error: can not find javah" >&2;}
30042 { (exit 1); exit 1; }; }
30052 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
30055 if test "x${COMPILE_JNI}" = xyes; then
30056 { echo "$as_me:$LINENO: checking jni_md.h support" >&5
30057 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6; }
30058 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
30059 { echo "$as_me:$LINENO: result: yes" >&5
30060 echo "${ECHO_T}yes" >&6; }
30063 target_os=linux-gnu
30064 { echo "$as_me:$LINENO: WARNING: no" >&5
30065 echo "$as_me: WARNING: no" >&2;}
30067 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
30068 ac_dests="include/jni_md.h"
30069 while test -n "$ac_sources"; do
30070 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
30071 set $ac_sources; ac_source=$1; shift; ac_sources=$*
30072 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
30074 ac_config_links="$ac_config_links $ac_config_links_1"
30080 # Check whether --with-vm-classes was given.
30081 if test "${with_vm_classes+set}" = set; then
30082 withval=$with_vm_classes; vm_classes="$with_vm_classes"
30084 vm_classes='${top_srcdir}/vm/reference'
30090 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
30091 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
30092 # Check whether --enable-maintainer-mode was given.
30093 if test "${enable_maintainer_mode+set}" = set; then
30094 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
30096 USE_MAINTAINER_MODE=no
30099 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
30100 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
30101 if test $USE_MAINTAINER_MODE = yes; then
30102 MAINTAINER_MODE_TRUE=
30103 MAINTAINER_MODE_FALSE='#'
30105 MAINTAINER_MODE_TRUE='#'
30106 MAINTAINER_MODE_FALSE=
30109 MAINT=$MAINTAINER_MODE_TRUE
30113 # Check whether --enable-debug was given.
30114 if test "${enable_debug+set}" = set; then
30115 enableval=$enable_debug; case "${enableval}" in
30119 cat >>confdefs.h <<\_ACEOF
30124 no) LIBDEBUG="false" ;;
30125 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
30126 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
30127 { (exit 1); exit 1; }; } ;;
30135 # Check whether --enable-load-library was given.
30136 if test "${enable_load_library+set}" = set; then
30137 enableval=$enable_load_library; case "${enableval}" in
30138 yes) INIT_LOAD_LIBRARY="true" ;;
30139 no) INIT_LOAD_LIBRARY="false" ;;
30140 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
30141 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
30142 { (exit 1); exit 1; }; } ;;
30145 INIT_LOAD_LIBRARY="true"
30152 # Check whether --with-ecj-jar was given.
30153 if test "${with_ecj_jar+set}" = set; then
30154 withval=$with_ecj_jar; ECJ_JAR=$withval
30160 # Check whether --enable-java-lang-system-explicit-initialization was given.
30161 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
30162 enableval=$enable_java_lang_system_explicit_initialization; case "${enableval}" in
30163 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
30164 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
30165 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
30166 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
30167 { (exit 1); exit 1; }; } ;;
30170 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
30179 # Extract the first word of "mkdir", so it can be a program name with args.
30180 set dummy mkdir; ac_word=$2
30181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30183 if test "${ac_cv_path_MKDIR+set}" = set; then
30184 echo $ECHO_N "(cached) $ECHO_C" >&6
30188 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
30191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30192 for as_dir in $PATH
30195 test -z "$as_dir" && as_dir=.
30196 for ac_exec_ext in '' $ac_executable_extensions; do
30197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30198 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
30199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30209 MKDIR=$ac_cv_path_MKDIR
30210 if test -n "$MKDIR"; then
30211 { echo "$as_me:$LINENO: result: $MKDIR" >&5
30212 echo "${ECHO_T}$MKDIR" >&6; }
30214 { echo "$as_me:$LINENO: result: no" >&5
30215 echo "${ECHO_T}no" >&6; }
30219 # Extract the first word of "cp", so it can be a program name with args.
30220 set dummy cp; ac_word=$2
30221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30223 if test "${ac_cv_path_CP+set}" = set; then
30224 echo $ECHO_N "(cached) $ECHO_C" >&6
30228 ac_cv_path_CP="$CP" # Let the user override the test with a path.
30231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30232 for as_dir in $PATH
30235 test -z "$as_dir" && as_dir=.
30236 for ac_exec_ext in '' $ac_executable_extensions; do
30237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30238 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
30239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30250 if test -n "$CP"; then
30251 { echo "$as_me:$LINENO: result: $CP" >&5
30252 echo "${ECHO_T}$CP" >&6; }
30254 { echo "$as_me:$LINENO: result: no" >&5
30255 echo "${ECHO_T}no" >&6; }
30259 # Extract the first word of "date", so it can be a program name with args.
30260 set dummy date; ac_word=$2
30261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30263 if test "${ac_cv_path_DATE+set}" = set; then
30264 echo $ECHO_N "(cached) $ECHO_C" >&6
30268 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
30271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30272 for as_dir in $PATH
30275 test -z "$as_dir" && as_dir=.
30276 for ac_exec_ext in '' $ac_executable_extensions; do
30277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30278 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
30279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30289 DATE=$ac_cv_path_DATE
30290 if test -n "$DATE"; then
30291 { echo "$as_me:$LINENO: result: $DATE" >&5
30292 echo "${ECHO_T}$DATE" >&6; }
30294 { echo "$as_me:$LINENO: result: no" >&5
30295 echo "${ECHO_T}no" >&6; }
30300 # Extract the first word of "find", so it can be a program name with args.
30301 set dummy find; ac_word=$2
30302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30304 if test "${ac_cv_path_FIND+set}" = set; then
30305 echo $ECHO_N "(cached) $ECHO_C" >&6
30309 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
30312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30313 for as_dir in $PATH
30316 test -z "$as_dir" && as_dir=.
30317 for ac_exec_ext in '' $ac_executable_extensions; do
30318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30319 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
30320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30330 FIND=$ac_cv_path_FIND
30331 if test -n "$FIND"; then
30332 { echo "$as_me:$LINENO: result: $FIND" >&5
30333 echo "${ECHO_T}$FIND" >&6; }
30335 { echo "$as_me:$LINENO: result: no" >&5
30336 echo "${ECHO_T}no" >&6; }
30342 # Extract the first word of "zip", so it can be a program name with args.
30343 set dummy zip; ac_word=$2
30344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30346 if test "${ac_cv_path_ZIP+set}" = set; then
30347 echo $ECHO_N "(cached) $ECHO_C" >&6
30351 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
30354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30355 for as_dir in $PATH
30358 test -z "$as_dir" && as_dir=.
30359 for ac_exec_ext in '' $ac_executable_extensions; do
30360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30361 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
30362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30372 ZIP=$ac_cv_path_ZIP
30373 if test -n "$ZIP"; then
30374 { echo "$as_me:$LINENO: result: $ZIP" >&5
30375 echo "${ECHO_T}$ZIP" >&6; }
30377 { echo "$as_me:$LINENO: result: no" >&5
30378 echo "${ECHO_T}no" >&6; }
30383 # Check whether --with-fastjar was given.
30384 if test "${with_fastjar+set}" = set; then
30385 withval=$with_fastjar;
30386 { echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
30387 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6; }
30389 { echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
30390 echo "${ECHO_T}${FASTJAR}" >&6; }
30393 for ac_prog in fastjar gjar jar
30395 # Extract the first word of "$ac_prog", so it can be a program name with args.
30396 set dummy $ac_prog; ac_word=$2
30397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30399 if test "${ac_cv_path_FASTJAR+set}" = set; then
30400 echo $ECHO_N "(cached) $ECHO_C" >&6
30404 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
30407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30408 for as_dir in $PATH
30411 test -z "$as_dir" && as_dir=.
30412 for ac_exec_ext in '' $ac_executable_extensions; do
30413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30414 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
30415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30425 FASTJAR=$ac_cv_path_FASTJAR
30426 if test -n "$FASTJAR"; then
30427 { echo "$as_me:$LINENO: result: $FASTJAR" >&5
30428 echo "${ECHO_T}$FASTJAR" >&6; }
30430 { echo "$as_me:$LINENO: result: no" >&5
30431 echo "${ECHO_T}no" >&6; }
30435 test -n "$FASTJAR" && break
30440 if test x"${FASTJAR}" != x; then
30445 # Check whether --with-glibj was given.
30446 if test "${with_glibj+set}" = set; then
30447 withval=$with_glibj;
30448 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
30449 install_class_files=no
30450 build_class_files=yes
30452 elif test "x${withval}" = xboth; then
30453 install_class_files=yes
30454 build_class_files=yes
30456 elif test "x${withval}" = xflat; then
30457 install_class_files=yes
30458 build_class_files=yes
30460 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
30461 install_class_files=no
30462 build_class_files=no
30464 elif test "x${withval}" = xbuild; then
30465 install_class_files=no
30466 build_class_files=yes
30469 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
30470 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
30471 { (exit 1); exit 1; }; }
30476 install_class_files=no
30481 if test "x${use_zip}" = xyes; then
30482 INSTALL_GLIBJ_ZIP_TRUE=
30483 INSTALL_GLIBJ_ZIP_FALSE='#'
30485 INSTALL_GLIBJ_ZIP_TRUE='#'
30486 INSTALL_GLIBJ_ZIP_FALSE=
30489 if test "x${install_class_files}" = xyes; then
30490 INSTALL_CLASS_FILES_TRUE=
30491 INSTALL_CLASS_FILES_FALSE='#'
30493 INSTALL_CLASS_FILES_TRUE='#'
30494 INSTALL_CLASS_FILES_FALSE=
30497 if test "x${build_class_files}" = xyes; then
30498 BUILD_CLASS_FILES_TRUE=
30499 BUILD_CLASS_FILES_FALSE='#'
30501 BUILD_CLASS_FILES_TRUE='#'
30502 BUILD_CLASS_FILES_FALSE=
30506 # Check whether --enable-examples was given.
30507 if test "${enable_examples+set}" = set; then
30508 enableval=$enable_examples; case "${enableval}" in
30509 yes) EXAMPLESDIR="examples" ;;
30510 no) EXAMPLESDIR="" ;;
30511 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
30512 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
30513 { (exit 1); exit 1; }; } ;;
30516 EXAMPLESDIR="examples"
30519 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
30524 # Check whether --enable-tools was given.
30525 if test "${enable_tools+set}" = set; then
30526 enableval=$enable_tools; case "${enableval}" in
30527 yes) TOOLSDIR="tools" ;;
30529 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-tools" >&5
30530 echo "$as_me: error: bad value ${enableval} for --enable-tools" >&2;}
30531 { (exit 1); exit 1; }; } ;;
30537 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
30545 # Check whether --with-gjdoc was given.
30546 if test "${with_gjdoc+set}" = set; then
30547 withval=$with_gjdoc; if test "x${withval}" = xno; then
30549 elif test "x${withval}" = xyes -o "x{withval}" = x; then
30551 # Extract the first word of "gjdoc", so it can be a program name with args.
30552 set dummy gjdoc; ac_word=$2
30553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30555 if test "${ac_cv_path_GJDOC+set}" = set; then
30556 echo $ECHO_N "(cached) $ECHO_C" >&6
30560 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
30563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30564 for as_dir in $PATH
30567 test -z "$as_dir" && as_dir=.
30568 for ac_exec_ext in '' $ac_executable_extensions; do
30569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30570 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
30571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30578 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
30582 GJDOC=$ac_cv_path_GJDOC
30583 if test -n "$GJDOC"; then
30584 { echo "$as_me:$LINENO: result: $GJDOC" >&5
30585 echo "${ECHO_T}$GJDOC" >&6; }
30587 { echo "$as_me:$LINENO: result: no" >&5
30588 echo "${ECHO_T}no" >&6; }
30592 if test "x${GJDOC}" = xno; then
30593 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
30594 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
30595 { (exit 1); exit 1; }; };
30600 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
30601 { echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
30602 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6; }
30603 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
30604 echo $ECHO_N "(cached) $ECHO_C" >&6
30606 test "$cross_compiling" = yes &&
30607 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
30608 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
30609 { (exit 1); exit 1; }; }
30610 if test -r "${GJDOC}"; then
30611 eval "$as_ac_File=yes"
30613 eval "$as_ac_File=no"
30616 ac_res=`eval echo '${'$as_ac_File'}'`
30617 { echo "$as_me:$LINENO: result: $ac_res" >&5
30618 echo "${ECHO_T}$ac_res" >&6; }
30619 if test `eval echo '${'$as_ac_File'}'` = yes; then
30622 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
30623 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
30624 { (exit 1); exit 1; }; }
30633 if test "x${WITH_GJDOC}" = xyes; then
30634 CREATE_API_DOCS_TRUE=
30635 CREATE_API_DOCS_FALSE='#'
30637 CREATE_API_DOCS_TRUE='#'
30638 CREATE_API_DOCS_FALSE=
30645 # Check whether --with-jay was given.
30646 if test "${with_jay+set}" = set; then
30648 { echo "$as_me:$LINENO: checking whether to regenerate parsers with jay" >&5
30649 echo $ECHO_N "checking whether to regenerate parsers with jay... $ECHO_C" >&6; }
30652 if test "x${withval}" = xno; then
30653 { echo "$as_me:$LINENO: result: no" >&5
30654 echo "${ECHO_T}no" >&6; }
30655 elif test "x${withval}" = xyes; then
30656 { echo "$as_me:$LINENO: result: yes" >&5
30657 echo "${ECHO_T}yes" >&6; }
30658 JAY_DIR_PATH="/usr/share/jay"
30659 elif test -d "${withval}"; then
30660 { echo "$as_me:$LINENO: result: yes" >&5
30661 echo "${ECHO_T}yes" >&6; }
30662 JAY_DIR_PATH="${withval}"
30663 elif test -f "${withval}"; then
30664 { echo "$as_me:$LINENO: result: yes" >&5
30665 echo "${ECHO_T}yes" >&6; }
30666 JAY_DIR_PATH=`dirname "${withval}"`
30669 { { echo "$as_me:$LINENO: error: jay not found at ${withval}" >&5
30670 echo "$as_me: error: jay not found at ${withval}" >&2;}
30671 { (exit 1); exit 1; }; }
30674 if test "x${JAY_DIR_PATH}" != x; then
30675 # Extract the first word of "jay", so it can be a program name with args.
30676 set dummy jay; ac_word=$2
30677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30679 if test "${ac_cv_path_JAY+set}" = set; then
30680 echo $ECHO_N "(cached) $ECHO_C" >&6
30684 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
30687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30688 as_dummy="${JAY_DIR_PATH}:${PATH}"
30689 for as_dir in $as_dummy
30692 test -z "$as_dir" && as_dir=.
30693 for ac_exec_ext in '' $ac_executable_extensions; do
30694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30695 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
30696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30703 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
30707 JAY=$ac_cv_path_JAY
30708 if test -n "$JAY"; then
30709 { echo "$as_me:$LINENO: result: $JAY" >&5
30710 echo "${ECHO_T}$JAY" >&6; }
30712 { echo "$as_me:$LINENO: result: no" >&5
30713 echo "${ECHO_T}no" >&6; }
30717 if test "x${JAY}" = xno; then
30718 { { echo "$as_me:$LINENO: error: jay executable not found" >&5
30719 echo "$as_me: error: jay executable not found" >&2;}
30720 { (exit 1); exit 1; }; };
30722 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
30723 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
30724 { echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
30725 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6; }
30726 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
30727 echo $ECHO_N "(cached) $ECHO_C" >&6
30729 test "$cross_compiling" = yes &&
30730 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
30731 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
30732 { (exit 1); exit 1; }; }
30733 if test -r "${JAY_SKELETON}"; then
30734 eval "$as_ac_File=yes"
30736 eval "$as_ac_File=no"
30739 ac_res=`eval echo '${'$as_ac_File'}'`
30740 { echo "$as_me:$LINENO: result: $ac_res" >&5
30741 echo "${ECHO_T}$ac_res" >&6; }
30742 if test `eval echo '${'$as_ac_File'}'` = yes; then
30745 { { echo "$as_me:$LINENO: error: Expected skeleton file in ${JAY_DIR_PATH}" >&5
30746 echo "$as_me: error: Expected skeleton file in ${JAY_DIR_PATH}" >&2;}
30747 { (exit 1); exit 1; }; }
30755 { echo "$as_me:$LINENO: checking whether to regenerate parsers with jay" >&5
30756 echo $ECHO_N "checking whether to regenerate parsers with jay... $ECHO_C" >&6; }
30757 { echo "$as_me:$LINENO: result: no" >&5
30758 echo "${ECHO_T}no" >&6; }
30763 if test "x${JAY_FOUND}" = xyes; then
30764 REGEN_PARSERS_TRUE=
30765 REGEN_PARSERS_FALSE='#'
30767 REGEN_PARSERS_TRUE='#'
30768 REGEN_PARSERS_FALSE=
30773 # Check whether --enable-portable-native-sync was given.
30774 if test "${enable_portable_native_sync+set}" = set; then
30775 enableval=$enable_portable_native_sync; case "${enableval}" in
30778 cat >>confdefs.h <<\_ACEOF
30779 #define PORTABLE_NATIVE_SYNC 1
30785 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
30786 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
30787 { (exit 1); exit 1; }; }
30793 # ------ AX CREATE STDINT H -------------------------------------
30794 { echo "$as_me:$LINENO: checking for stdint types" >&5
30795 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6; }
30796 ac_stdint_h=`echo include/config-int.h`
30797 # try to shortcircuit - if the default include path of the compiler
30798 # can find a "stdint.h" header then we assume that all compilers can.
30799 if test "${ac_cv_header_stdint_t+set}" = set; then
30800 echo $ECHO_N "(cached) $ECHO_C" >&6
30803 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
30804 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
30805 old_CFLAGS="$CFLAGS" ; CFLAGS=""
30806 cat >conftest.$ac_ext <<_ACEOF
30809 cat confdefs.h >>conftest.$ac_ext
30810 cat >>conftest.$ac_ext <<_ACEOF
30811 /* end confdefs.h. */
30812 #include <stdint.h>
30816 int_least32_t v = 0;
30821 rm -f conftest.$ac_objext
30822 if { (ac_try="$ac_compile"
30823 case "(($ac_try" in
30824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30825 *) ac_try_echo=$ac_try;;
30827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30828 (eval "$ac_compile") 2>conftest.er1
30830 grep -v '^ *+' conftest.er1 >conftest.err
30832 cat conftest.err >&5
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); } && {
30835 test -z "$ac_c_werror_flag" ||
30836 test ! -s conftest.err
30837 } && test -s conftest.$ac_objext; then
30838 ac_cv_stdint_result="(assuming C99 compatible system)"
30839 ac_cv_header_stdint_t="stdint.h";
30841 echo "$as_me: failed program was:" >&5
30842 sed 's/^/| /' conftest.$ac_ext >&5
30844 ac_cv_header_stdint_t=""
30847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30848 CXXFLAGS="$old_CXXFLAGS"
30849 CPPFLAGS="$old_CPPFLAGS"
30850 CFLAGS="$old_CFLAGS"
30854 v="... $ac_cv_header_stdint_h"
30855 if test "$ac_stdint_h" = "stdint.h" ; then
30856 { echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
30857 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6; }
30858 elif test "$ac_stdint_h" = "inttypes.h" ; then
30859 { echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
30860 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6; }
30861 elif test "_$ac_cv_header_stdint_t" = "_" ; then
30862 { echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
30863 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6; }
30865 ac_cv_header_stdint="$ac_cv_header_stdint_t"
30866 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
30867 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6; }
30870 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
30873 inttype_headers=`echo | sed -e 's/,/ /g'`
30875 ac_cv_stdint_result="(no helpful system typedefs seen)"
30877 { echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
30878 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6; }
30879 if test "${ac_cv_header_stdint_x+set}" = set; then
30880 echo $ECHO_N "(cached) $ECHO_C" >&6
30883 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
30884 { echo "$as_me:$LINENO: result: (..)" >&5
30885 echo "${ECHO_T}(..)" >&6; }
30886 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
30887 unset ac_cv_type_uintptr_t
30888 unset ac_cv_type_uint64_t
30889 { echo "$as_me:$LINENO: checking for uintptr_t" >&5
30890 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
30891 if test "${ac_cv_type_uintptr_t+set}" = set; then
30892 echo $ECHO_N "(cached) $ECHO_C" >&6
30894 cat >conftest.$ac_ext <<_ACEOF
30897 cat confdefs.h >>conftest.$ac_ext
30898 cat >>conftest.$ac_ext <<_ACEOF
30899 /* end confdefs.h. */
30902 typedef uintptr_t ac__type_new_;
30906 if ((ac__type_new_ *) 0)
30908 if (sizeof (ac__type_new_))
30914 rm -f conftest.$ac_objext
30915 if { (ac_try="$ac_compile"
30916 case "(($ac_try" in
30917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30918 *) ac_try_echo=$ac_try;;
30920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30921 (eval "$ac_compile") 2>conftest.er1
30923 grep -v '^ *+' conftest.er1 >conftest.err
30925 cat conftest.err >&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } && {
30928 test -z "$ac_c_werror_flag" ||
30929 test ! -s conftest.err
30930 } && test -s conftest.$ac_objext; then
30931 ac_cv_type_uintptr_t=yes
30933 echo "$as_me: failed program was:" >&5
30934 sed 's/^/| /' conftest.$ac_ext >&5
30936 ac_cv_type_uintptr_t=no
30939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30941 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
30942 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
30943 if test $ac_cv_type_uintptr_t = yes; then
30944 ac_cv_header_stdint_x=$i
30949 { echo "$as_me:$LINENO: checking for uint64_t" >&5
30950 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
30951 if test "${ac_cv_type_uint64_t+set}" = set; then
30952 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 cat >conftest.$ac_ext <<_ACEOF
30957 cat confdefs.h >>conftest.$ac_ext
30958 cat >>conftest.$ac_ext <<_ACEOF
30959 /* end confdefs.h. */
30962 typedef uint64_t ac__type_new_;
30966 if ((ac__type_new_ *) 0)
30968 if (sizeof (ac__type_new_))
30974 rm -f conftest.$ac_objext
30975 if { (ac_try="$ac_compile"
30976 case "(($ac_try" in
30977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30978 *) ac_try_echo=$ac_try;;
30980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30981 (eval "$ac_compile") 2>conftest.er1
30983 grep -v '^ *+' conftest.er1 >conftest.err
30985 cat conftest.err >&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); } && {
30988 test -z "$ac_c_werror_flag" ||
30989 test ! -s conftest.err
30990 } && test -s conftest.$ac_objext; then
30991 ac_cv_type_uint64_t=yes
30993 echo "$as_me: failed program was:" >&5
30994 sed 's/^/| /' conftest.$ac_ext >&5
30996 ac_cv_type_uint64_t=no
30999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31001 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
31002 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
31003 if test $ac_cv_type_uint64_t = yes; then
31009 stdint.h inttypes.h sys/inttypes.h $inttype_headers
31012 { echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
31013 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6; }
31016 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
31017 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6; }
31020 if test "_$ac_cv_header_stdint_x" = "_" ; then
31022 { echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
31023 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6; }
31024 if test "${ac_cv_header_stdint_o+set}" = set; then
31025 echo $ECHO_N "(cached) $ECHO_C" >&6
31028 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
31029 { echo "$as_me:$LINENO: result: (..)" >&5
31030 echo "${ECHO_T}(..)" >&6; }
31031 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
31032 unset ac_cv_type_uint32_t
31033 unset ac_cv_type_uint64_t
31034 { echo "$as_me:$LINENO: checking for uint32_t" >&5
31035 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
31036 if test "${ac_cv_type_uint32_t+set}" = set; then
31037 echo $ECHO_N "(cached) $ECHO_C" >&6
31039 cat >conftest.$ac_ext <<_ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31047 typedef uint32_t ac__type_new_;
31051 if ((ac__type_new_ *) 0)
31053 if (sizeof (ac__type_new_))
31059 rm -f conftest.$ac_objext
31060 if { (ac_try="$ac_compile"
31061 case "(($ac_try" in
31062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31063 *) ac_try_echo=$ac_try;;
31065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31066 (eval "$ac_compile") 2>conftest.er1
31068 grep -v '^ *+' conftest.er1 >conftest.err
31070 cat conftest.err >&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); } && {
31073 test -z "$ac_c_werror_flag" ||
31074 test ! -s conftest.err
31075 } && test -s conftest.$ac_objext; then
31076 ac_cv_type_uint32_t=yes
31078 echo "$as_me: failed program was:" >&5
31079 sed 's/^/| /' conftest.$ac_ext >&5
31081 ac_cv_type_uint32_t=no
31084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31086 { echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
31087 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
31088 if test $ac_cv_type_uint32_t = yes; then
31089 ac_cv_header_stdint_o=$i
31094 { echo "$as_me:$LINENO: checking for uint64_t" >&5
31095 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
31096 if test "${ac_cv_type_uint64_t+set}" = set; then
31097 echo $ECHO_N "(cached) $ECHO_C" >&6
31099 cat >conftest.$ac_ext <<_ACEOF
31102 cat confdefs.h >>conftest.$ac_ext
31103 cat >>conftest.$ac_ext <<_ACEOF
31104 /* end confdefs.h. */
31107 typedef uint64_t ac__type_new_;
31111 if ((ac__type_new_ *) 0)
31113 if (sizeof (ac__type_new_))
31119 rm -f conftest.$ac_objext
31120 if { (ac_try="$ac_compile"
31121 case "(($ac_try" in
31122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31123 *) ac_try_echo=$ac_try;;
31125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31126 (eval "$ac_compile") 2>conftest.er1
31128 grep -v '^ *+' conftest.er1 >conftest.err
31130 cat conftest.err >&5
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); } && {
31133 test -z "$ac_c_werror_flag" ||
31134 test ! -s conftest.err
31135 } && test -s conftest.$ac_objext; then
31136 ac_cv_type_uint64_t=yes
31138 echo "$as_me: failed program was:" >&5
31139 sed 's/^/| /' conftest.$ac_ext >&5
31141 ac_cv_type_uint64_t=no
31144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31146 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
31147 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
31148 if test $ac_cv_type_uint64_t = yes; then
31154 inttypes.h sys/inttypes.h stdint.h $inttype_headers
31158 { echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
31159 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6; }
31162 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
31163 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6; }
31167 if test "_$ac_cv_header_stdint_x" = "_" ; then
31168 if test "_$ac_cv_header_stdint_o" = "_" ; then
31170 { echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
31171 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6; }
31172 if test "${ac_cv_header_stdint_u+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31176 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
31177 { echo "$as_me:$LINENO: result: (..)" >&5
31178 echo "${ECHO_T}(..)" >&6; }
31179 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
31180 unset ac_cv_type_u_int32_t
31181 unset ac_cv_type_u_int64_t
31182 { echo "$as_me:$LINENO: checking for u_int32_t" >&5
31183 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
31184 if test "${ac_cv_type_u_int32_t+set}" = set; then
31185 echo $ECHO_N "(cached) $ECHO_C" >&6
31187 cat >conftest.$ac_ext <<_ACEOF
31190 cat confdefs.h >>conftest.$ac_ext
31191 cat >>conftest.$ac_ext <<_ACEOF
31192 /* end confdefs.h. */
31195 typedef u_int32_t ac__type_new_;
31199 if ((ac__type_new_ *) 0)
31201 if (sizeof (ac__type_new_))
31207 rm -f conftest.$ac_objext
31208 if { (ac_try="$ac_compile"
31209 case "(($ac_try" in
31210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31211 *) ac_try_echo=$ac_try;;
31213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31214 (eval "$ac_compile") 2>conftest.er1
31216 grep -v '^ *+' conftest.er1 >conftest.err
31218 cat conftest.err >&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); } && {
31221 test -z "$ac_c_werror_flag" ||
31222 test ! -s conftest.err
31223 } && test -s conftest.$ac_objext; then
31224 ac_cv_type_u_int32_t=yes
31226 echo "$as_me: failed program was:" >&5
31227 sed 's/^/| /' conftest.$ac_ext >&5
31229 ac_cv_type_u_int32_t=no
31232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31234 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
31235 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
31236 if test $ac_cv_type_u_int32_t = yes; then
31237 ac_cv_header_stdint_u=$i
31242 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
31243 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
31244 if test "${ac_cv_type_u_int64_t+set}" = set; then
31245 echo $ECHO_N "(cached) $ECHO_C" >&6
31247 cat >conftest.$ac_ext <<_ACEOF
31250 cat confdefs.h >>conftest.$ac_ext
31251 cat >>conftest.$ac_ext <<_ACEOF
31252 /* end confdefs.h. */
31255 typedef u_int64_t ac__type_new_;
31259 if ((ac__type_new_ *) 0)
31261 if (sizeof (ac__type_new_))
31267 rm -f conftest.$ac_objext
31268 if { (ac_try="$ac_compile"
31269 case "(($ac_try" in
31270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31271 *) ac_try_echo=$ac_try;;
31273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31274 (eval "$ac_compile") 2>conftest.er1
31276 grep -v '^ *+' conftest.er1 >conftest.err
31278 cat conftest.err >&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } && {
31281 test -z "$ac_c_werror_flag" ||
31282 test ! -s conftest.err
31283 } && test -s conftest.$ac_objext; then
31284 ac_cv_type_u_int64_t=yes
31286 echo "$as_me: failed program was:" >&5
31287 sed 's/^/| /' conftest.$ac_ext >&5
31289 ac_cv_type_u_int64_t=no
31292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31294 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
31295 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
31296 if test $ac_cv_type_u_int64_t = yes; then
31302 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
31306 { echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
31307 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6; }
31310 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
31311 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6; }
31315 if test "_$ac_cv_header_stdint_x" = "_" ; then
31316 { echo "$as_me:$LINENO: checking for stdint datatype model" >&5
31317 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6; }
31318 { echo "$as_me:$LINENO: result: (..)" >&5
31319 echo "${ECHO_T}(..)" >&6; }
31321 { echo "$as_me:$LINENO: checking for char" >&5
31322 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
31323 if test "${ac_cv_type_char+set}" = set; then
31324 echo $ECHO_N "(cached) $ECHO_C" >&6
31326 cat >conftest.$ac_ext <<_ACEOF
31329 cat confdefs.h >>conftest.$ac_ext
31330 cat >>conftest.$ac_ext <<_ACEOF
31331 /* end confdefs.h. */
31332 $ac_includes_default
31333 typedef char ac__type_new_;
31337 if ((ac__type_new_ *) 0)
31339 if (sizeof (ac__type_new_))
31345 rm -f conftest.$ac_objext
31346 if { (ac_try="$ac_compile"
31347 case "(($ac_try" in
31348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31349 *) ac_try_echo=$ac_try;;
31351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31352 (eval "$ac_compile") 2>conftest.er1
31354 grep -v '^ *+' conftest.er1 >conftest.err
31356 cat conftest.err >&5
31357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31358 (exit $ac_status); } && {
31359 test -z "$ac_c_werror_flag" ||
31360 test ! -s conftest.err
31361 } && test -s conftest.$ac_objext; then
31362 ac_cv_type_char=yes
31364 echo "$as_me: failed program was:" >&5
31365 sed 's/^/| /' conftest.$ac_ext >&5
31370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31372 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
31373 echo "${ECHO_T}$ac_cv_type_char" >&6; }
31375 # The cast to long int works around a bug in the HP C Compiler
31376 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
31377 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
31378 # This bug is HP SR number 8606223364.
31379 { echo "$as_me:$LINENO: checking size of char" >&5
31380 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
31381 if test "${ac_cv_sizeof_char+set}" = set; then
31382 echo $ECHO_N "(cached) $ECHO_C" >&6
31384 if test "$cross_compiling" = yes; then
31385 # Depending upon the size, compute the lo and hi bounds.
31386 cat >conftest.$ac_ext <<_ACEOF
31389 cat confdefs.h >>conftest.$ac_ext
31390 cat >>conftest.$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31392 $ac_includes_default
31393 typedef char ac__type_sizeof_;
31397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
31404 rm -f conftest.$ac_objext
31405 if { (ac_try="$ac_compile"
31406 case "(($ac_try" in
31407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31408 *) ac_try_echo=$ac_try;;
31410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31411 (eval "$ac_compile") 2>conftest.er1
31413 grep -v '^ *+' conftest.er1 >conftest.err
31415 cat conftest.err >&5
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); } && {
31418 test -z "$ac_c_werror_flag" ||
31419 test ! -s conftest.err
31420 } && test -s conftest.$ac_objext; then
31423 cat >conftest.$ac_ext <<_ACEOF
31426 cat confdefs.h >>conftest.$ac_ext
31427 cat >>conftest.$ac_ext <<_ACEOF
31428 /* end confdefs.h. */
31429 $ac_includes_default
31430 typedef char ac__type_sizeof_;
31434 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
31441 rm -f conftest.$ac_objext
31442 if { (ac_try="$ac_compile"
31443 case "(($ac_try" in
31444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31445 *) ac_try_echo=$ac_try;;
31447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31448 (eval "$ac_compile") 2>conftest.er1
31450 grep -v '^ *+' conftest.er1 >conftest.err
31452 cat conftest.err >&5
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); } && {
31455 test -z "$ac_c_werror_flag" ||
31456 test ! -s conftest.err
31457 } && test -s conftest.$ac_objext; then
31458 ac_hi=$ac_mid; break
31460 echo "$as_me: failed program was:" >&5
31461 sed 's/^/| /' conftest.$ac_ext >&5
31463 ac_lo=`expr $ac_mid + 1`
31464 if test $ac_lo -le $ac_mid; then
31468 ac_mid=`expr 2 '*' $ac_mid + 1`
31471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31474 echo "$as_me: failed program was:" >&5
31475 sed 's/^/| /' conftest.$ac_ext >&5
31477 cat >conftest.$ac_ext <<_ACEOF
31480 cat confdefs.h >>conftest.$ac_ext
31481 cat >>conftest.$ac_ext <<_ACEOF
31482 /* end confdefs.h. */
31483 $ac_includes_default
31484 typedef char ac__type_sizeof_;
31488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
31495 rm -f conftest.$ac_objext
31496 if { (ac_try="$ac_compile"
31497 case "(($ac_try" in
31498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31499 *) ac_try_echo=$ac_try;;
31501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31502 (eval "$ac_compile") 2>conftest.er1
31504 grep -v '^ *+' conftest.er1 >conftest.err
31506 cat conftest.err >&5
31507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31508 (exit $ac_status); } && {
31509 test -z "$ac_c_werror_flag" ||
31510 test ! -s conftest.err
31511 } && test -s conftest.$ac_objext; then
31514 cat >conftest.$ac_ext <<_ACEOF
31517 cat confdefs.h >>conftest.$ac_ext
31518 cat >>conftest.$ac_ext <<_ACEOF
31519 /* end confdefs.h. */
31520 $ac_includes_default
31521 typedef char ac__type_sizeof_;
31525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
31532 rm -f conftest.$ac_objext
31533 if { (ac_try="$ac_compile"
31534 case "(($ac_try" in
31535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31536 *) ac_try_echo=$ac_try;;
31538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31539 (eval "$ac_compile") 2>conftest.er1
31541 grep -v '^ *+' conftest.er1 >conftest.err
31543 cat conftest.err >&5
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); } && {
31546 test -z "$ac_c_werror_flag" ||
31547 test ! -s conftest.err
31548 } && test -s conftest.$ac_objext; then
31549 ac_lo=$ac_mid; break
31551 echo "$as_me: failed program was:" >&5
31552 sed 's/^/| /' conftest.$ac_ext >&5
31554 ac_hi=`expr '(' $ac_mid ')' - 1`
31555 if test $ac_mid -le $ac_hi; then
31559 ac_mid=`expr 2 '*' $ac_mid`
31562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31565 echo "$as_me: failed program was:" >&5
31566 sed 's/^/| /' conftest.$ac_ext >&5
31571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31575 # Binary search between lo and hi bounds.
31576 while test "x$ac_lo" != "x$ac_hi"; do
31577 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
31578 cat >conftest.$ac_ext <<_ACEOF
31581 cat confdefs.h >>conftest.$ac_ext
31582 cat >>conftest.$ac_ext <<_ACEOF
31583 /* end confdefs.h. */
31584 $ac_includes_default
31585 typedef char ac__type_sizeof_;
31589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
31596 rm -f conftest.$ac_objext
31597 if { (ac_try="$ac_compile"
31598 case "(($ac_try" in
31599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31600 *) ac_try_echo=$ac_try;;
31602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31603 (eval "$ac_compile") 2>conftest.er1
31605 grep -v '^ *+' conftest.er1 >conftest.err
31607 cat conftest.err >&5
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); } && {
31610 test -z "$ac_c_werror_flag" ||
31611 test ! -s conftest.err
31612 } && test -s conftest.$ac_objext; then
31615 echo "$as_me: failed program was:" >&5
31616 sed 's/^/| /' conftest.$ac_ext >&5
31618 ac_lo=`expr '(' $ac_mid ')' + 1`
31621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31624 ?*) ac_cv_sizeof_char=$ac_lo;;
31625 '') if test "$ac_cv_type_char" = yes; then
31626 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
31627 See \`config.log' for more details." >&5
31628 echo "$as_me: error: cannot compute sizeof (char)
31629 See \`config.log' for more details." >&2;}
31630 { (exit 77); exit 77; }; }
31632 ac_cv_sizeof_char=0
31636 cat >conftest.$ac_ext <<_ACEOF
31639 cat confdefs.h >>conftest.$ac_ext
31640 cat >>conftest.$ac_ext <<_ACEOF
31641 /* end confdefs.h. */
31642 $ac_includes_default
31643 typedef char ac__type_sizeof_;
31644 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
31645 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
31647 #include <stdlib.h>
31652 FILE *f = fopen ("conftest.val", "w");
31655 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
31657 long int i = longval ();
31658 if (i != ((long int) (sizeof (ac__type_sizeof_))))
31660 fprintf (f, "%ld\n", i);
31664 unsigned long int i = ulongval ();
31665 if (i != ((long int) (sizeof (ac__type_sizeof_))))
31667 fprintf (f, "%lu\n", i);
31669 return ferror (f) || fclose (f) != 0;
31675 rm -f conftest$ac_exeext
31676 if { (ac_try="$ac_link"
31677 case "(($ac_try" in
31678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31679 *) ac_try_echo=$ac_try;;
31681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31682 (eval "$ac_link") 2>&5
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31686 { (case "(($ac_try" in
31687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31688 *) ac_try_echo=$ac_try;;
31690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31691 (eval "$ac_try") 2>&5
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); }; }; then
31695 ac_cv_sizeof_char=`cat conftest.val`
31697 echo "$as_me: program exited with status $ac_status" >&5
31698 echo "$as_me: failed program was:" >&5
31699 sed 's/^/| /' conftest.$ac_ext >&5
31701 ( exit $ac_status )
31702 if test "$ac_cv_type_char" = yes; then
31703 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
31704 See \`config.log' for more details." >&5
31705 echo "$as_me: error: cannot compute sizeof (char)
31706 See \`config.log' for more details." >&2;}
31707 { (exit 77); exit 77; }; }
31709 ac_cv_sizeof_char=0
31712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31716 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
31717 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
31721 cat >>confdefs.h <<_ACEOF
31722 #define SIZEOF_CHAR $ac_cv_sizeof_char
31726 { echo "$as_me:$LINENO: checking for short" >&5
31727 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
31728 if test "${ac_cv_type_short+set}" = set; then
31729 echo $ECHO_N "(cached) $ECHO_C" >&6
31731 cat >conftest.$ac_ext <<_ACEOF
31734 cat confdefs.h >>conftest.$ac_ext
31735 cat >>conftest.$ac_ext <<_ACEOF
31736 /* end confdefs.h. */
31737 $ac_includes_default
31738 typedef short ac__type_new_;
31742 if ((ac__type_new_ *) 0)
31744 if (sizeof (ac__type_new_))
31750 rm -f conftest.$ac_objext
31751 if { (ac_try="$ac_compile"
31752 case "(($ac_try" in
31753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31754 *) ac_try_echo=$ac_try;;
31756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31757 (eval "$ac_compile") 2>conftest.er1
31759 grep -v '^ *+' conftest.er1 >conftest.err
31761 cat conftest.err >&5
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); } && {
31764 test -z "$ac_c_werror_flag" ||
31765 test ! -s conftest.err
31766 } && test -s conftest.$ac_objext; then
31767 ac_cv_type_short=yes
31769 echo "$as_me: failed program was:" >&5
31770 sed 's/^/| /' conftest.$ac_ext >&5
31772 ac_cv_type_short=no
31775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31777 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
31778 echo "${ECHO_T}$ac_cv_type_short" >&6; }
31780 # The cast to long int works around a bug in the HP C Compiler
31781 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
31782 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
31783 # This bug is HP SR number 8606223364.
31784 { echo "$as_me:$LINENO: checking size of short" >&5
31785 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
31786 if test "${ac_cv_sizeof_short+set}" = set; then
31787 echo $ECHO_N "(cached) $ECHO_C" >&6
31789 if test "$cross_compiling" = yes; then
31790 # Depending upon the size, compute the lo and hi bounds.
31791 cat >conftest.$ac_ext <<_ACEOF
31794 cat confdefs.h >>conftest.$ac_ext
31795 cat >>conftest.$ac_ext <<_ACEOF
31796 /* end confdefs.h. */
31797 $ac_includes_default
31798 typedef short ac__type_sizeof_;
31802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
31809 rm -f conftest.$ac_objext
31810 if { (ac_try="$ac_compile"
31811 case "(($ac_try" in
31812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31813 *) ac_try_echo=$ac_try;;
31815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31816 (eval "$ac_compile") 2>conftest.er1
31818 grep -v '^ *+' conftest.er1 >conftest.err
31820 cat conftest.err >&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); } && {
31823 test -z "$ac_c_werror_flag" ||
31824 test ! -s conftest.err
31825 } && test -s conftest.$ac_objext; then
31828 cat >conftest.$ac_ext <<_ACEOF
31831 cat confdefs.h >>conftest.$ac_ext
31832 cat >>conftest.$ac_ext <<_ACEOF
31833 /* end confdefs.h. */
31834 $ac_includes_default
31835 typedef short ac__type_sizeof_;
31839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
31846 rm -f conftest.$ac_objext
31847 if { (ac_try="$ac_compile"
31848 case "(($ac_try" in
31849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31850 *) ac_try_echo=$ac_try;;
31852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31853 (eval "$ac_compile") 2>conftest.er1
31855 grep -v '^ *+' conftest.er1 >conftest.err
31857 cat conftest.err >&5
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); } && {
31860 test -z "$ac_c_werror_flag" ||
31861 test ! -s conftest.err
31862 } && test -s conftest.$ac_objext; then
31863 ac_hi=$ac_mid; break
31865 echo "$as_me: failed program was:" >&5
31866 sed 's/^/| /' conftest.$ac_ext >&5
31868 ac_lo=`expr $ac_mid + 1`
31869 if test $ac_lo -le $ac_mid; then
31873 ac_mid=`expr 2 '*' $ac_mid + 1`
31876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31879 echo "$as_me: failed program was:" >&5
31880 sed 's/^/| /' conftest.$ac_ext >&5
31882 cat >conftest.$ac_ext <<_ACEOF
31885 cat confdefs.h >>conftest.$ac_ext
31886 cat >>conftest.$ac_ext <<_ACEOF
31887 /* end confdefs.h. */
31888 $ac_includes_default
31889 typedef short ac__type_sizeof_;
31893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
31900 rm -f conftest.$ac_objext
31901 if { (ac_try="$ac_compile"
31902 case "(($ac_try" in
31903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31904 *) ac_try_echo=$ac_try;;
31906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31907 (eval "$ac_compile") 2>conftest.er1
31909 grep -v '^ *+' conftest.er1 >conftest.err
31911 cat conftest.err >&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); } && {
31914 test -z "$ac_c_werror_flag" ||
31915 test ! -s conftest.err
31916 } && test -s conftest.$ac_objext; then
31919 cat >conftest.$ac_ext <<_ACEOF
31922 cat confdefs.h >>conftest.$ac_ext
31923 cat >>conftest.$ac_ext <<_ACEOF
31924 /* end confdefs.h. */
31925 $ac_includes_default
31926 typedef short ac__type_sizeof_;
31930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
31937 rm -f conftest.$ac_objext
31938 if { (ac_try="$ac_compile"
31939 case "(($ac_try" in
31940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31941 *) ac_try_echo=$ac_try;;
31943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31944 (eval "$ac_compile") 2>conftest.er1
31946 grep -v '^ *+' conftest.er1 >conftest.err
31948 cat conftest.err >&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); } && {
31951 test -z "$ac_c_werror_flag" ||
31952 test ! -s conftest.err
31953 } && test -s conftest.$ac_objext; then
31954 ac_lo=$ac_mid; break
31956 echo "$as_me: failed program was:" >&5
31957 sed 's/^/| /' conftest.$ac_ext >&5
31959 ac_hi=`expr '(' $ac_mid ')' - 1`
31960 if test $ac_mid -le $ac_hi; then
31964 ac_mid=`expr 2 '*' $ac_mid`
31967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31970 echo "$as_me: failed program was:" >&5
31971 sed 's/^/| /' conftest.$ac_ext >&5
31976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31980 # Binary search between lo and hi bounds.
31981 while test "x$ac_lo" != "x$ac_hi"; do
31982 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
31983 cat >conftest.$ac_ext <<_ACEOF
31986 cat confdefs.h >>conftest.$ac_ext
31987 cat >>conftest.$ac_ext <<_ACEOF
31988 /* end confdefs.h. */
31989 $ac_includes_default
31990 typedef short ac__type_sizeof_;
31994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
32001 rm -f conftest.$ac_objext
32002 if { (ac_try="$ac_compile"
32003 case "(($ac_try" in
32004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32005 *) ac_try_echo=$ac_try;;
32007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32008 (eval "$ac_compile") 2>conftest.er1
32010 grep -v '^ *+' conftest.er1 >conftest.err
32012 cat conftest.err >&5
32013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014 (exit $ac_status); } && {
32015 test -z "$ac_c_werror_flag" ||
32016 test ! -s conftest.err
32017 } && test -s conftest.$ac_objext; then
32020 echo "$as_me: failed program was:" >&5
32021 sed 's/^/| /' conftest.$ac_ext >&5
32023 ac_lo=`expr '(' $ac_mid ')' + 1`
32026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32029 ?*) ac_cv_sizeof_short=$ac_lo;;
32030 '') if test "$ac_cv_type_short" = yes; then
32031 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
32032 See \`config.log' for more details." >&5
32033 echo "$as_me: error: cannot compute sizeof (short)
32034 See \`config.log' for more details." >&2;}
32035 { (exit 77); exit 77; }; }
32037 ac_cv_sizeof_short=0
32041 cat >conftest.$ac_ext <<_ACEOF
32044 cat confdefs.h >>conftest.$ac_ext
32045 cat >>conftest.$ac_ext <<_ACEOF
32046 /* end confdefs.h. */
32047 $ac_includes_default
32048 typedef short ac__type_sizeof_;
32049 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
32050 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
32052 #include <stdlib.h>
32057 FILE *f = fopen ("conftest.val", "w");
32060 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
32062 long int i = longval ();
32063 if (i != ((long int) (sizeof (ac__type_sizeof_))))
32065 fprintf (f, "%ld\n", i);
32069 unsigned long int i = ulongval ();
32070 if (i != ((long int) (sizeof (ac__type_sizeof_))))
32072 fprintf (f, "%lu\n", i);
32074 return ferror (f) || fclose (f) != 0;
32080 rm -f conftest$ac_exeext
32081 if { (ac_try="$ac_link"
32082 case "(($ac_try" in
32083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32084 *) ac_try_echo=$ac_try;;
32086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32087 (eval "$ac_link") 2>&5
32089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32090 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32091 { (case "(($ac_try" in
32092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32093 *) ac_try_echo=$ac_try;;
32095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32096 (eval "$ac_try") 2>&5
32098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32099 (exit $ac_status); }; }; then
32100 ac_cv_sizeof_short=`cat conftest.val`
32102 echo "$as_me: program exited with status $ac_status" >&5
32103 echo "$as_me: failed program was:" >&5
32104 sed 's/^/| /' conftest.$ac_ext >&5
32106 ( exit $ac_status )
32107 if test "$ac_cv_type_short" = yes; then
32108 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
32109 See \`config.log' for more details." >&5
32110 echo "$as_me: error: cannot compute sizeof (short)
32111 See \`config.log' for more details." >&2;}
32112 { (exit 77); exit 77; }; }
32114 ac_cv_sizeof_short=0
32117 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32121 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
32122 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
32126 cat >>confdefs.h <<_ACEOF
32127 #define SIZEOF_SHORT $ac_cv_sizeof_short
32131 { echo "$as_me:$LINENO: checking for int" >&5
32132 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
32133 if test "${ac_cv_type_int+set}" = set; then
32134 echo $ECHO_N "(cached) $ECHO_C" >&6
32136 cat >conftest.$ac_ext <<_ACEOF
32139 cat confdefs.h >>conftest.$ac_ext
32140 cat >>conftest.$ac_ext <<_ACEOF
32141 /* end confdefs.h. */
32142 $ac_includes_default
32143 typedef int ac__type_new_;
32147 if ((ac__type_new_ *) 0)
32149 if (sizeof (ac__type_new_))
32155 rm -f conftest.$ac_objext
32156 if { (ac_try="$ac_compile"
32157 case "(($ac_try" in
32158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32159 *) ac_try_echo=$ac_try;;
32161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32162 (eval "$ac_compile") 2>conftest.er1
32164 grep -v '^ *+' conftest.er1 >conftest.err
32166 cat conftest.err >&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); } && {
32169 test -z "$ac_c_werror_flag" ||
32170 test ! -s conftest.err
32171 } && test -s conftest.$ac_objext; then
32174 echo "$as_me: failed program was:" >&5
32175 sed 's/^/| /' conftest.$ac_ext >&5
32180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32182 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
32183 echo "${ECHO_T}$ac_cv_type_int" >&6; }
32185 # The cast to long int works around a bug in the HP C Compiler
32186 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
32187 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
32188 # This bug is HP SR number 8606223364.
32189 { echo "$as_me:$LINENO: checking size of int" >&5
32190 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
32191 if test "${ac_cv_sizeof_int+set}" = set; then
32192 echo $ECHO_N "(cached) $ECHO_C" >&6
32194 if test "$cross_compiling" = yes; then
32195 # Depending upon the size, compute the lo and hi bounds.
32196 cat >conftest.$ac_ext <<_ACEOF
32199 cat confdefs.h >>conftest.$ac_ext
32200 cat >>conftest.$ac_ext <<_ACEOF
32201 /* end confdefs.h. */
32202 $ac_includes_default
32203 typedef int ac__type_sizeof_;
32207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
32214 rm -f conftest.$ac_objext
32215 if { (ac_try="$ac_compile"
32216 case "(($ac_try" in
32217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32218 *) ac_try_echo=$ac_try;;
32220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32221 (eval "$ac_compile") 2>conftest.er1
32223 grep -v '^ *+' conftest.er1 >conftest.err
32225 cat conftest.err >&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } && {
32228 test -z "$ac_c_werror_flag" ||
32229 test ! -s conftest.err
32230 } && test -s conftest.$ac_objext; then
32233 cat >conftest.$ac_ext <<_ACEOF
32236 cat confdefs.h >>conftest.$ac_ext
32237 cat >>conftest.$ac_ext <<_ACEOF
32238 /* end confdefs.h. */
32239 $ac_includes_default
32240 typedef int ac__type_sizeof_;
32244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
32251 rm -f conftest.$ac_objext
32252 if { (ac_try="$ac_compile"
32253 case "(($ac_try" in
32254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32255 *) ac_try_echo=$ac_try;;
32257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32258 (eval "$ac_compile") 2>conftest.er1
32260 grep -v '^ *+' conftest.er1 >conftest.err
32262 cat conftest.err >&5
32263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264 (exit $ac_status); } && {
32265 test -z "$ac_c_werror_flag" ||
32266 test ! -s conftest.err
32267 } && test -s conftest.$ac_objext; then
32268 ac_hi=$ac_mid; break
32270 echo "$as_me: failed program was:" >&5
32271 sed 's/^/| /' conftest.$ac_ext >&5
32273 ac_lo=`expr $ac_mid + 1`
32274 if test $ac_lo -le $ac_mid; then
32278 ac_mid=`expr 2 '*' $ac_mid + 1`
32281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32284 echo "$as_me: failed program was:" >&5
32285 sed 's/^/| /' conftest.$ac_ext >&5
32287 cat >conftest.$ac_ext <<_ACEOF
32290 cat confdefs.h >>conftest.$ac_ext
32291 cat >>conftest.$ac_ext <<_ACEOF
32292 /* end confdefs.h. */
32293 $ac_includes_default
32294 typedef int ac__type_sizeof_;
32298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
32305 rm -f conftest.$ac_objext
32306 if { (ac_try="$ac_compile"
32307 case "(($ac_try" in
32308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32309 *) ac_try_echo=$ac_try;;
32311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32312 (eval "$ac_compile") 2>conftest.er1
32314 grep -v '^ *+' conftest.er1 >conftest.err
32316 cat conftest.err >&5
32317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32318 (exit $ac_status); } && {
32319 test -z "$ac_c_werror_flag" ||
32320 test ! -s conftest.err
32321 } && test -s conftest.$ac_objext; then
32324 cat >conftest.$ac_ext <<_ACEOF
32327 cat confdefs.h >>conftest.$ac_ext
32328 cat >>conftest.$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32330 $ac_includes_default
32331 typedef int ac__type_sizeof_;
32335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
32342 rm -f conftest.$ac_objext
32343 if { (ac_try="$ac_compile"
32344 case "(($ac_try" in
32345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32346 *) ac_try_echo=$ac_try;;
32348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32349 (eval "$ac_compile") 2>conftest.er1
32351 grep -v '^ *+' conftest.er1 >conftest.err
32353 cat conftest.err >&5
32354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355 (exit $ac_status); } && {
32356 test -z "$ac_c_werror_flag" ||
32357 test ! -s conftest.err
32358 } && test -s conftest.$ac_objext; then
32359 ac_lo=$ac_mid; break
32361 echo "$as_me: failed program was:" >&5
32362 sed 's/^/| /' conftest.$ac_ext >&5
32364 ac_hi=`expr '(' $ac_mid ')' - 1`
32365 if test $ac_mid -le $ac_hi; then
32369 ac_mid=`expr 2 '*' $ac_mid`
32372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.$ac_ext >&5
32381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32385 # Binary search between lo and hi bounds.
32386 while test "x$ac_lo" != "x$ac_hi"; do
32387 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
32388 cat >conftest.$ac_ext <<_ACEOF
32391 cat confdefs.h >>conftest.$ac_ext
32392 cat >>conftest.$ac_ext <<_ACEOF
32393 /* end confdefs.h. */
32394 $ac_includes_default
32395 typedef int ac__type_sizeof_;
32399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
32406 rm -f conftest.$ac_objext
32407 if { (ac_try="$ac_compile"
32408 case "(($ac_try" in
32409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32410 *) ac_try_echo=$ac_try;;
32412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32413 (eval "$ac_compile") 2>conftest.er1
32415 grep -v '^ *+' conftest.er1 >conftest.err
32417 cat conftest.err >&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); } && {
32420 test -z "$ac_c_werror_flag" ||
32421 test ! -s conftest.err
32422 } && test -s conftest.$ac_objext; then
32425 echo "$as_me: failed program was:" >&5
32426 sed 's/^/| /' conftest.$ac_ext >&5
32428 ac_lo=`expr '(' $ac_mid ')' + 1`
32431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32434 ?*) ac_cv_sizeof_int=$ac_lo;;
32435 '') if test "$ac_cv_type_int" = yes; then
32436 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
32437 See \`config.log' for more details." >&5
32438 echo "$as_me: error: cannot compute sizeof (int)
32439 See \`config.log' for more details." >&2;}
32440 { (exit 77); exit 77; }; }
32446 cat >conftest.$ac_ext <<_ACEOF
32449 cat confdefs.h >>conftest.$ac_ext
32450 cat >>conftest.$ac_ext <<_ACEOF
32451 /* end confdefs.h. */
32452 $ac_includes_default
32453 typedef int ac__type_sizeof_;
32454 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
32455 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
32457 #include <stdlib.h>
32462 FILE *f = fopen ("conftest.val", "w");
32465 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
32467 long int i = longval ();
32468 if (i != ((long int) (sizeof (ac__type_sizeof_))))
32470 fprintf (f, "%ld\n", i);
32474 unsigned long int i = ulongval ();
32475 if (i != ((long int) (sizeof (ac__type_sizeof_))))
32477 fprintf (f, "%lu\n", i);
32479 return ferror (f) || fclose (f) != 0;
32485 rm -f conftest$ac_exeext
32486 if { (ac_try="$ac_link"
32487 case "(($ac_try" in
32488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32489 *) ac_try_echo=$ac_try;;
32491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32492 (eval "$ac_link") 2>&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32496 { (case "(($ac_try" in
32497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32498 *) ac_try_echo=$ac_try;;
32500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32501 (eval "$ac_try") 2>&5
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); }; }; then
32505 ac_cv_sizeof_int=`cat conftest.val`
32507 echo "$as_me: program exited with status $ac_status" >&5
32508 echo "$as_me: failed program was:" >&5
32509 sed 's/^/| /' conftest.$ac_ext >&5
32511 ( exit $ac_status )
32512 if test "$ac_cv_type_int" = yes; then
32513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
32514 See \`config.log' for more details." >&5
32515 echo "$as_me: error: cannot compute sizeof (int)
32516 See \`config.log' for more details." >&2;}
32517 { (exit 77); exit 77; }; }
32522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32526 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
32527 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
32531 cat >>confdefs.h <<_ACEOF
32532 #define SIZEOF_INT $ac_cv_sizeof_int
32536 { echo "$as_me:$LINENO: checking for long" >&5
32537 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
32538 if test "${ac_cv_type_long+set}" = set; then
32539 echo $ECHO_N "(cached) $ECHO_C" >&6
32541 cat >conftest.$ac_ext <<_ACEOF
32544 cat confdefs.h >>conftest.$ac_ext
32545 cat >>conftest.$ac_ext <<_ACEOF
32546 /* end confdefs.h. */
32547 $ac_includes_default
32548 typedef long ac__type_new_;
32552 if ((ac__type_new_ *) 0)
32554 if (sizeof (ac__type_new_))
32560 rm -f conftest.$ac_objext
32561 if { (ac_try="$ac_compile"
32562 case "(($ac_try" in
32563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32564 *) ac_try_echo=$ac_try;;
32566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32567 (eval "$ac_compile") 2>conftest.er1
32569 grep -v '^ *+' conftest.er1 >conftest.err
32571 cat conftest.err >&5
32572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32573 (exit $ac_status); } && {
32574 test -z "$ac_c_werror_flag" ||
32575 test ! -s conftest.err
32576 } && test -s conftest.$ac_objext; then
32577 ac_cv_type_long=yes
32579 echo "$as_me: failed program was:" >&5
32580 sed 's/^/| /' conftest.$ac_ext >&5
32585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32587 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
32588 echo "${ECHO_T}$ac_cv_type_long" >&6; }
32590 # The cast to long int works around a bug in the HP C Compiler
32591 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
32592 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
32593 # This bug is HP SR number 8606223364.
32594 { echo "$as_me:$LINENO: checking size of long" >&5
32595 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
32596 if test "${ac_cv_sizeof_long+set}" = set; then
32597 echo $ECHO_N "(cached) $ECHO_C" >&6
32599 if test "$cross_compiling" = yes; then
32600 # Depending upon the size, compute the lo and hi bounds.
32601 cat >conftest.$ac_ext <<_ACEOF
32604 cat confdefs.h >>conftest.$ac_ext
32605 cat >>conftest.$ac_ext <<_ACEOF
32606 /* end confdefs.h. */
32607 $ac_includes_default
32608 typedef long ac__type_sizeof_;
32612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
32619 rm -f conftest.$ac_objext
32620 if { (ac_try="$ac_compile"
32621 case "(($ac_try" in
32622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32623 *) ac_try_echo=$ac_try;;
32625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32626 (eval "$ac_compile") 2>conftest.er1
32628 grep -v '^ *+' conftest.er1 >conftest.err
32630 cat conftest.err >&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); } && {
32633 test -z "$ac_c_werror_flag" ||
32634 test ! -s conftest.err
32635 } && test -s conftest.$ac_objext; then
32638 cat >conftest.$ac_ext <<_ACEOF
32641 cat confdefs.h >>conftest.$ac_ext
32642 cat >>conftest.$ac_ext <<_ACEOF
32643 /* end confdefs.h. */
32644 $ac_includes_default
32645 typedef long ac__type_sizeof_;
32649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
32656 rm -f conftest.$ac_objext
32657 if { (ac_try="$ac_compile"
32658 case "(($ac_try" in
32659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32660 *) ac_try_echo=$ac_try;;
32662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32663 (eval "$ac_compile") 2>conftest.er1
32665 grep -v '^ *+' conftest.er1 >conftest.err
32667 cat conftest.err >&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); } && {
32670 test -z "$ac_c_werror_flag" ||
32671 test ! -s conftest.err
32672 } && test -s conftest.$ac_objext; then
32673 ac_hi=$ac_mid; break
32675 echo "$as_me: failed program was:" >&5
32676 sed 's/^/| /' conftest.$ac_ext >&5
32678 ac_lo=`expr $ac_mid + 1`
32679 if test $ac_lo -le $ac_mid; then
32683 ac_mid=`expr 2 '*' $ac_mid + 1`
32686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.$ac_ext >&5
32692 cat >conftest.$ac_ext <<_ACEOF
32695 cat confdefs.h >>conftest.$ac_ext
32696 cat >>conftest.$ac_ext <<_ACEOF
32697 /* end confdefs.h. */
32698 $ac_includes_default
32699 typedef long ac__type_sizeof_;
32703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
32710 rm -f conftest.$ac_objext
32711 if { (ac_try="$ac_compile"
32712 case "(($ac_try" in
32713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32714 *) ac_try_echo=$ac_try;;
32716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32717 (eval "$ac_compile") 2>conftest.er1
32719 grep -v '^ *+' conftest.er1 >conftest.err
32721 cat conftest.err >&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); } && {
32724 test -z "$ac_c_werror_flag" ||
32725 test ! -s conftest.err
32726 } && test -s conftest.$ac_objext; then
32729 cat >conftest.$ac_ext <<_ACEOF
32732 cat confdefs.h >>conftest.$ac_ext
32733 cat >>conftest.$ac_ext <<_ACEOF
32734 /* end confdefs.h. */
32735 $ac_includes_default
32736 typedef long ac__type_sizeof_;
32740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
32747 rm -f conftest.$ac_objext
32748 if { (ac_try="$ac_compile"
32749 case "(($ac_try" in
32750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32751 *) ac_try_echo=$ac_try;;
32753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32754 (eval "$ac_compile") 2>conftest.er1
32756 grep -v '^ *+' conftest.er1 >conftest.err
32758 cat conftest.err >&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } && {
32761 test -z "$ac_c_werror_flag" ||
32762 test ! -s conftest.err
32763 } && test -s conftest.$ac_objext; then
32764 ac_lo=$ac_mid; break
32766 echo "$as_me: failed program was:" >&5
32767 sed 's/^/| /' conftest.$ac_ext >&5
32769 ac_hi=`expr '(' $ac_mid ')' - 1`
32770 if test $ac_mid -le $ac_hi; then
32774 ac_mid=`expr 2 '*' $ac_mid`
32777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32780 echo "$as_me: failed program was:" >&5
32781 sed 's/^/| /' conftest.$ac_ext >&5
32786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32790 # Binary search between lo and hi bounds.
32791 while test "x$ac_lo" != "x$ac_hi"; do
32792 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
32793 cat >conftest.$ac_ext <<_ACEOF
32796 cat confdefs.h >>conftest.$ac_ext
32797 cat >>conftest.$ac_ext <<_ACEOF
32798 /* end confdefs.h. */
32799 $ac_includes_default
32800 typedef long ac__type_sizeof_;
32804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
32811 rm -f conftest.$ac_objext
32812 if { (ac_try="$ac_compile"
32813 case "(($ac_try" in
32814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32815 *) ac_try_echo=$ac_try;;
32817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32818 (eval "$ac_compile") 2>conftest.er1
32820 grep -v '^ *+' conftest.er1 >conftest.err
32822 cat conftest.err >&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); } && {
32825 test -z "$ac_c_werror_flag" ||
32826 test ! -s conftest.err
32827 } && test -s conftest.$ac_objext; then
32830 echo "$as_me: failed program was:" >&5
32831 sed 's/^/| /' conftest.$ac_ext >&5
32833 ac_lo=`expr '(' $ac_mid ')' + 1`
32836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32839 ?*) ac_cv_sizeof_long=$ac_lo;;
32840 '') if test "$ac_cv_type_long" = yes; then
32841 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
32842 See \`config.log' for more details." >&5
32843 echo "$as_me: error: cannot compute sizeof (long)
32844 See \`config.log' for more details." >&2;}
32845 { (exit 77); exit 77; }; }
32847 ac_cv_sizeof_long=0
32851 cat >conftest.$ac_ext <<_ACEOF
32854 cat confdefs.h >>conftest.$ac_ext
32855 cat >>conftest.$ac_ext <<_ACEOF
32856 /* end confdefs.h. */
32857 $ac_includes_default
32858 typedef long ac__type_sizeof_;
32859 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
32860 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
32862 #include <stdlib.h>
32867 FILE *f = fopen ("conftest.val", "w");
32870 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
32872 long int i = longval ();
32873 if (i != ((long int) (sizeof (ac__type_sizeof_))))
32875 fprintf (f, "%ld\n", i);
32879 unsigned long int i = ulongval ();
32880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
32882 fprintf (f, "%lu\n", i);
32884 return ferror (f) || fclose (f) != 0;
32890 rm -f conftest$ac_exeext
32891 if { (ac_try="$ac_link"
32892 case "(($ac_try" in
32893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32894 *) ac_try_echo=$ac_try;;
32896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32897 (eval "$ac_link") 2>&5
32899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32901 { (case "(($ac_try" in
32902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32903 *) ac_try_echo=$ac_try;;
32905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32906 (eval "$ac_try") 2>&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); }; }; then
32910 ac_cv_sizeof_long=`cat conftest.val`
32912 echo "$as_me: program exited with status $ac_status" >&5
32913 echo "$as_me: failed program was:" >&5
32914 sed 's/^/| /' conftest.$ac_ext >&5
32916 ( exit $ac_status )
32917 if test "$ac_cv_type_long" = yes; then
32918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
32919 See \`config.log' for more details." >&5
32920 echo "$as_me: error: cannot compute sizeof (long)
32921 See \`config.log' for more details." >&2;}
32922 { (exit 77); exit 77; }; }
32924 ac_cv_sizeof_long=0
32927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32931 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
32932 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
32936 cat >>confdefs.h <<_ACEOF
32937 #define SIZEOF_LONG $ac_cv_sizeof_long
32941 { echo "$as_me:$LINENO: checking for void*" >&5
32942 echo $ECHO_N "checking for void*... $ECHO_C" >&6; }
32943 if test "${ac_cv_type_voidp+set}" = set; then
32944 echo $ECHO_N "(cached) $ECHO_C" >&6
32946 cat >conftest.$ac_ext <<_ACEOF
32949 cat confdefs.h >>conftest.$ac_ext
32950 cat >>conftest.$ac_ext <<_ACEOF
32951 /* end confdefs.h. */
32952 $ac_includes_default
32953 typedef void* ac__type_new_;
32957 if ((ac__type_new_ *) 0)
32959 if (sizeof (ac__type_new_))
32965 rm -f conftest.$ac_objext
32966 if { (ac_try="$ac_compile"
32967 case "(($ac_try" in
32968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32969 *) ac_try_echo=$ac_try;;
32971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32972 (eval "$ac_compile") 2>conftest.er1
32974 grep -v '^ *+' conftest.er1 >conftest.err
32976 cat conftest.err >&5
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); } && {
32979 test -z "$ac_c_werror_flag" ||
32980 test ! -s conftest.err
32981 } && test -s conftest.$ac_objext; then
32982 ac_cv_type_voidp=yes
32984 echo "$as_me: failed program was:" >&5
32985 sed 's/^/| /' conftest.$ac_ext >&5
32987 ac_cv_type_voidp=no
32990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32992 { echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
32993 echo "${ECHO_T}$ac_cv_type_voidp" >&6; }
32995 # The cast to long int works around a bug in the HP C Compiler
32996 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
32997 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
32998 # This bug is HP SR number 8606223364.
32999 { echo "$as_me:$LINENO: checking size of void*" >&5
33000 echo $ECHO_N "checking size of void*... $ECHO_C" >&6; }
33001 if test "${ac_cv_sizeof_voidp+set}" = set; then
33002 echo $ECHO_N "(cached) $ECHO_C" >&6
33004 if test "$cross_compiling" = yes; then
33005 # Depending upon the size, compute the lo and hi bounds.
33006 cat >conftest.$ac_ext <<_ACEOF
33009 cat confdefs.h >>conftest.$ac_ext
33010 cat >>conftest.$ac_ext <<_ACEOF
33011 /* end confdefs.h. */
33012 $ac_includes_default
33013 typedef void* ac__type_sizeof_;
33017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
33024 rm -f conftest.$ac_objext
33025 if { (ac_try="$ac_compile"
33026 case "(($ac_try" in
33027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33028 *) ac_try_echo=$ac_try;;
33030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33031 (eval "$ac_compile") 2>conftest.er1
33033 grep -v '^ *+' conftest.er1 >conftest.err
33035 cat conftest.err >&5
33036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037 (exit $ac_status); } && {
33038 test -z "$ac_c_werror_flag" ||
33039 test ! -s conftest.err
33040 } && test -s conftest.$ac_objext; then
33043 cat >conftest.$ac_ext <<_ACEOF
33046 cat confdefs.h >>conftest.$ac_ext
33047 cat >>conftest.$ac_ext <<_ACEOF
33048 /* end confdefs.h. */
33049 $ac_includes_default
33050 typedef void* ac__type_sizeof_;
33054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
33061 rm -f conftest.$ac_objext
33062 if { (ac_try="$ac_compile"
33063 case "(($ac_try" in
33064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33065 *) ac_try_echo=$ac_try;;
33067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33068 (eval "$ac_compile") 2>conftest.er1
33070 grep -v '^ *+' conftest.er1 >conftest.err
33072 cat conftest.err >&5
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); } && {
33075 test -z "$ac_c_werror_flag" ||
33076 test ! -s conftest.err
33077 } && test -s conftest.$ac_objext; then
33078 ac_hi=$ac_mid; break
33080 echo "$as_me: failed program was:" >&5
33081 sed 's/^/| /' conftest.$ac_ext >&5
33083 ac_lo=`expr $ac_mid + 1`
33084 if test $ac_lo -le $ac_mid; then
33088 ac_mid=`expr 2 '*' $ac_mid + 1`
33091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33094 echo "$as_me: failed program was:" >&5
33095 sed 's/^/| /' conftest.$ac_ext >&5
33097 cat >conftest.$ac_ext <<_ACEOF
33100 cat confdefs.h >>conftest.$ac_ext
33101 cat >>conftest.$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33103 $ac_includes_default
33104 typedef void* ac__type_sizeof_;
33108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
33115 rm -f conftest.$ac_objext
33116 if { (ac_try="$ac_compile"
33117 case "(($ac_try" in
33118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33119 *) ac_try_echo=$ac_try;;
33121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33122 (eval "$ac_compile") 2>conftest.er1
33124 grep -v '^ *+' conftest.er1 >conftest.err
33126 cat conftest.err >&5
33127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33128 (exit $ac_status); } && {
33129 test -z "$ac_c_werror_flag" ||
33130 test ! -s conftest.err
33131 } && test -s conftest.$ac_objext; then
33134 cat >conftest.$ac_ext <<_ACEOF
33137 cat confdefs.h >>conftest.$ac_ext
33138 cat >>conftest.$ac_ext <<_ACEOF
33139 /* end confdefs.h. */
33140 $ac_includes_default
33141 typedef void* ac__type_sizeof_;
33145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
33152 rm -f conftest.$ac_objext
33153 if { (ac_try="$ac_compile"
33154 case "(($ac_try" in
33155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33156 *) ac_try_echo=$ac_try;;
33158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33159 (eval "$ac_compile") 2>conftest.er1
33161 grep -v '^ *+' conftest.er1 >conftest.err
33163 cat conftest.err >&5
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); } && {
33166 test -z "$ac_c_werror_flag" ||
33167 test ! -s conftest.err
33168 } && test -s conftest.$ac_objext; then
33169 ac_lo=$ac_mid; break
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.$ac_ext >&5
33174 ac_hi=`expr '(' $ac_mid ')' - 1`
33175 if test $ac_mid -le $ac_hi; then
33179 ac_mid=`expr 2 '*' $ac_mid`
33182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33185 echo "$as_me: failed program was:" >&5
33186 sed 's/^/| /' conftest.$ac_ext >&5
33191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33195 # Binary search between lo and hi bounds.
33196 while test "x$ac_lo" != "x$ac_hi"; do
33197 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
33198 cat >conftest.$ac_ext <<_ACEOF
33201 cat confdefs.h >>conftest.$ac_ext
33202 cat >>conftest.$ac_ext <<_ACEOF
33203 /* end confdefs.h. */
33204 $ac_includes_default
33205 typedef void* ac__type_sizeof_;
33209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
33216 rm -f conftest.$ac_objext
33217 if { (ac_try="$ac_compile"
33218 case "(($ac_try" in
33219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33220 *) ac_try_echo=$ac_try;;
33222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33223 (eval "$ac_compile") 2>conftest.er1
33225 grep -v '^ *+' conftest.er1 >conftest.err
33227 cat conftest.err >&5
33228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33229 (exit $ac_status); } && {
33230 test -z "$ac_c_werror_flag" ||
33231 test ! -s conftest.err
33232 } && test -s conftest.$ac_objext; then
33235 echo "$as_me: failed program was:" >&5
33236 sed 's/^/| /' conftest.$ac_ext >&5
33238 ac_lo=`expr '(' $ac_mid ')' + 1`
33241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33244 ?*) ac_cv_sizeof_voidp=$ac_lo;;
33245 '') if test "$ac_cv_type_voidp" = yes; then
33246 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
33247 See \`config.log' for more details." >&5
33248 echo "$as_me: error: cannot compute sizeof (void*)
33249 See \`config.log' for more details." >&2;}
33250 { (exit 77); exit 77; }; }
33252 ac_cv_sizeof_voidp=0
33256 cat >conftest.$ac_ext <<_ACEOF
33259 cat confdefs.h >>conftest.$ac_ext
33260 cat >>conftest.$ac_ext <<_ACEOF
33261 /* end confdefs.h. */
33262 $ac_includes_default
33263 typedef void* ac__type_sizeof_;
33264 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
33265 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
33267 #include <stdlib.h>
33272 FILE *f = fopen ("conftest.val", "w");
33275 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
33277 long int i = longval ();
33278 if (i != ((long int) (sizeof (ac__type_sizeof_))))
33280 fprintf (f, "%ld\n", i);
33284 unsigned long int i = ulongval ();
33285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
33287 fprintf (f, "%lu\n", i);
33289 return ferror (f) || fclose (f) != 0;
33295 rm -f conftest$ac_exeext
33296 if { (ac_try="$ac_link"
33297 case "(($ac_try" in
33298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33299 *) ac_try_echo=$ac_try;;
33301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33302 (eval "$ac_link") 2>&5
33304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33306 { (case "(($ac_try" in
33307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33308 *) ac_try_echo=$ac_try;;
33310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33311 (eval "$ac_try") 2>&5
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); }; }; then
33315 ac_cv_sizeof_voidp=`cat conftest.val`
33317 echo "$as_me: program exited with status $ac_status" >&5
33318 echo "$as_me: failed program was:" >&5
33319 sed 's/^/| /' conftest.$ac_ext >&5
33321 ( exit $ac_status )
33322 if test "$ac_cv_type_voidp" = yes; then
33323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
33324 See \`config.log' for more details." >&5
33325 echo "$as_me: error: cannot compute sizeof (void*)
33326 See \`config.log' for more details." >&2;}
33327 { (exit 77); exit 77; }; }
33329 ac_cv_sizeof_voidp=0
33332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33336 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
33337 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6; }
33341 cat >>confdefs.h <<_ACEOF
33342 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
33346 ac_cv_char_data_model=""
33347 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
33348 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
33349 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
33350 ac_cv_long_data_model=""
33351 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
33352 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
33353 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
33354 { echo "$as_me:$LINENO: checking data model" >&5
33355 echo $ECHO_N "checking data model... $ECHO_C" >&6; }
33356 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
33357 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
33358 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
33359 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
33360 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
33361 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
33362 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
33363 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
33364 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
33365 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
33366 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
33367 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
33368 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
33369 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
33370 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
33371 222/*|333/*|444/*|666/*|888/*) :
33372 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
33373 *) ac_cv_data_model="none" ; n="very unusual model" ;;
33375 { echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
33376 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
33380 if test "_$ac_cv_header_stdint_x" != "_" ; then
33381 ac_cv_header_stdint="$ac_cv_header_stdint_x"
33382 elif test "_$ac_cv_header_stdint_o" != "_" ; then
33383 ac_cv_header_stdint="$ac_cv_header_stdint_o"
33384 elif test "_$ac_cv_header_stdint_u" != "_" ; then
33385 ac_cv_header_stdint="$ac_cv_header_stdint_u"
33387 ac_cv_header_stdint="stddef.h"
33390 { echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
33391 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6; }
33392 { echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
33393 echo "${ECHO_T}($ac_cv_header_stdint)" >&6; }
33394 unset ac_cv_type_int_least32_t
33395 unset ac_cv_type_int_fast32_t
33396 { echo "$as_me:$LINENO: checking for int_least32_t" >&5
33397 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6; }
33398 if test "${ac_cv_type_int_least32_t+set}" = set; then
33399 echo $ECHO_N "(cached) $ECHO_C" >&6
33401 cat >conftest.$ac_ext <<_ACEOF
33404 cat confdefs.h >>conftest.$ac_ext
33405 cat >>conftest.$ac_ext <<_ACEOF
33406 /* end confdefs.h. */
33407 #include <$ac_cv_header_stdint>
33409 typedef int_least32_t ac__type_new_;
33413 if ((ac__type_new_ *) 0)
33415 if (sizeof (ac__type_new_))
33421 rm -f conftest.$ac_objext
33422 if { (ac_try="$ac_compile"
33423 case "(($ac_try" in
33424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33425 *) ac_try_echo=$ac_try;;
33427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33428 (eval "$ac_compile") 2>conftest.er1
33430 grep -v '^ *+' conftest.er1 >conftest.err
33432 cat conftest.err >&5
33433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33434 (exit $ac_status); } && {
33435 test -z "$ac_c_werror_flag" ||
33436 test ! -s conftest.err
33437 } && test -s conftest.$ac_objext; then
33438 ac_cv_type_int_least32_t=yes
33440 echo "$as_me: failed program was:" >&5
33441 sed 's/^/| /' conftest.$ac_ext >&5
33443 ac_cv_type_int_least32_t=no
33446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33448 { echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
33449 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6; }
33451 { echo "$as_me:$LINENO: checking for int_fast32_t" >&5
33452 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6; }
33453 if test "${ac_cv_type_int_fast32_t+set}" = set; then
33454 echo $ECHO_N "(cached) $ECHO_C" >&6
33456 cat >conftest.$ac_ext <<_ACEOF
33459 cat confdefs.h >>conftest.$ac_ext
33460 cat >>conftest.$ac_ext <<_ACEOF
33461 /* end confdefs.h. */
33462 #include<$ac_cv_header_stdint>
33464 typedef int_fast32_t ac__type_new_;
33468 if ((ac__type_new_ *) 0)
33470 if (sizeof (ac__type_new_))
33476 rm -f conftest.$ac_objext
33477 if { (ac_try="$ac_compile"
33478 case "(($ac_try" in
33479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33480 *) ac_try_echo=$ac_try;;
33482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33483 (eval "$ac_compile") 2>conftest.er1
33485 grep -v '^ *+' conftest.er1 >conftest.err
33487 cat conftest.err >&5
33488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489 (exit $ac_status); } && {
33490 test -z "$ac_c_werror_flag" ||
33491 test ! -s conftest.err
33492 } && test -s conftest.$ac_objext; then
33493 ac_cv_type_int_fast32_t=yes
33495 echo "$as_me: failed program was:" >&5
33496 sed 's/^/| /' conftest.$ac_ext >&5
33498 ac_cv_type_int_fast32_t=no
33501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33503 { echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
33504 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6; }
33506 { echo "$as_me:$LINENO: checking for intmax_t" >&5
33507 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
33508 if test "${ac_cv_type_intmax_t+set}" = set; then
33509 echo $ECHO_N "(cached) $ECHO_C" >&6
33511 cat >conftest.$ac_ext <<_ACEOF
33514 cat confdefs.h >>conftest.$ac_ext
33515 cat >>conftest.$ac_ext <<_ACEOF
33516 /* end confdefs.h. */
33517 #include <$ac_cv_header_stdint>
33519 typedef intmax_t ac__type_new_;
33523 if ((ac__type_new_ *) 0)
33525 if (sizeof (ac__type_new_))
33531 rm -f conftest.$ac_objext
33532 if { (ac_try="$ac_compile"
33533 case "(($ac_try" in
33534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33535 *) ac_try_echo=$ac_try;;
33537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33538 (eval "$ac_compile") 2>conftest.er1
33540 grep -v '^ *+' conftest.er1 >conftest.err
33542 cat conftest.err >&5
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); } && {
33545 test -z "$ac_c_werror_flag" ||
33546 test ! -s conftest.err
33547 } && test -s conftest.$ac_objext; then
33548 ac_cv_type_intmax_t=yes
33550 echo "$as_me: failed program was:" >&5
33551 sed 's/^/| /' conftest.$ac_ext >&5
33553 ac_cv_type_intmax_t=no
33556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33558 { echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
33559 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6; }
33562 fi # shortcircut to system "stdint.h"
33563 # ------------------ PREPARE VARIABLES ------------------------------
33564 if test "$GCC" = "yes" ; then
33565 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
33567 ac_cv_stdint_message="using $CC"
33570 { echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
33571 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
33573 # ----------------- DONE inttypes.h checks START header -------------
33574 ac_config_commands="$ac_config_commands $ac_stdint_h"
33579 # Check whether --with-glibj_zip was given.
33580 if test "${with_glibj_zip+set}" = set; then
33581 withval=$with_glibj_zip;
33585 case "$with_glibj_zip" in
33587 use_glibj_zip=false
33590 use_glibj_zip=false
33593 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
33594 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
33595 { (exit 1); exit 1; }; }
33599 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
33603 if test x$use_glibj_zip = xtrue; then
33604 USE_PREBUILT_GLIBJ_ZIP_TRUE=
33605 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
33607 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
33608 USE_PREBUILT_GLIBJ_ZIP_FALSE=
33613 # Check for javac if we need to build either the class library,
33614 # the examples or the tools
33615 if test "x${use_glibj_zip}" = xfalse || \
33616 test "x${EXAMPLESDIR}" != x || \
33617 test "x${TOOLSDIR}" != x && \
33618 test "x${build_class_files}" != xno; then
33620 if test "x$JAVAPREFIX" = x; then
33621 test "x$JAVAC" = x && for ac_prog in "ecj$EXEEXT -warn:-deprecation,serial,unusedImport" "ecj-3.3$EXEEXT -warn:-deprecation,serial,unusedImport" "ecj-3.2$EXEEXT -warn:-deprecation,serial,unusedImport" "javac$EXEEXT -Xlint:unchecked" "gcj$EXEEXT -C"
33623 # Extract the first word of "$ac_prog", so it can be a program name with args.
33624 set dummy $ac_prog; ac_word=$2
33625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33627 if test "${ac_cv_prog_JAVAC+set}" = set; then
33628 echo $ECHO_N "(cached) $ECHO_C" >&6
33630 if test -n "$JAVAC"; then
33631 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
33633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33634 for as_dir in $PATH
33637 test -z "$as_dir" && as_dir=.
33638 for ac_exec_ext in '' $ac_executable_extensions; do
33639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33640 ac_cv_prog_JAVAC="$ac_prog"
33641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33650 JAVAC=$ac_cv_prog_JAVAC
33651 if test -n "$JAVAC"; then
33652 { echo "$as_me:$LINENO: result: $JAVAC" >&5
33653 echo "${ECHO_T}$JAVAC" >&6; }
33655 { echo "$as_me:$LINENO: result: no" >&5
33656 echo "${ECHO_T}no" >&6; }
33660 test -n "$JAVAC" && break
33664 test "x$JAVAC" = x && for ac_prog in "ecj$EXEEXT -warn:-deprecation,serial,unusedImport" "ecj-3.3$EXEEXT -warn:-deprecation,serial,unusedImport" "ecj-3.2$EXEEXT -warn:-deprecation,serial,unusedImport" "javac$EXEEXT -Xlint:unchecked" "gcj$EXEEXT -C"
33666 # Extract the first word of "$ac_prog", so it can be a program name with args.
33667 set dummy $ac_prog; ac_word=$2
33668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33670 if test "${ac_cv_prog_JAVAC+set}" = set; then
33671 echo $ECHO_N "(cached) $ECHO_C" >&6
33673 if test -n "$JAVAC"; then
33674 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
33676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33677 for as_dir in $PATH
33680 test -z "$as_dir" && as_dir=.
33681 for ac_exec_ext in '' $ac_executable_extensions; do
33682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33683 ac_cv_prog_JAVAC="$ac_prog"
33684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33693 JAVAC=$ac_cv_prog_JAVAC
33694 if test -n "$JAVAC"; then
33695 { echo "$as_me:$LINENO: result: $JAVAC" >&5
33696 echo "${ECHO_T}$JAVAC" >&6; }
33698 { echo "$as_me:$LINENO: result: no" >&5
33699 echo "${ECHO_T}no" >&6; }
33703 test -n "$JAVAC" && break
33705 test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
33708 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
33709 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
33710 { (exit 1); exit 1; }; }
33712 { echo "$as_me:$LINENO: checking if $JAVAC works" >&5
33713 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6; }
33714 if test "${ac_cv_prog_javac_works+set}" = set; then
33715 echo $ECHO_N "(cached) $ECHO_C" >&6
33718 JAVA_TEST=Object.java
33719 CLASS_TEST=Object.class
33720 cat << \EOF > $JAVA_TEST
33721 /* #line 33721 "configure" */
33724 public class Object
33726 static <T> void doStuff()
33731 if { ac_try='$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST'
33732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33733 (eval $ac_try) 2>&5
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); }; } >/dev/null 2>&1; then
33737 ac_cv_prog_javac_works=yes
33739 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
33740 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
33741 { (exit 1); exit 1; }; }
33742 echo "configure: failed program was:" >&5
33745 rm -f $JAVA_TEST $CLASS_TEST
33748 { echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
33749 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6; }
33753 JAVA_TEST=Test.java
33754 CLASS_TEST=Test.class
33755 cat << \EOF > $JAVA_TEST
33756 /* #line 33756 "configure" */
33759 public static void main(String args)
33761 System.out.println("Hello World");
33765 { echo "$as_me:$LINENO: checking whether javac supports -J" >&5
33766 echo $ECHO_N "checking whether javac supports -J... $ECHO_C" >&6; }
33767 $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST
33769 if test "x$javac_result" = "x0"; then
33770 { echo "$as_me:$LINENO: result: yes" >&5
33771 echo "${ECHO_T}yes" >&6; }
33772 JAVAC_MEM_OPT="-J-Xmx768M"
33774 { echo "$as_me:$LINENO: result: no" >&5
33775 echo "${ECHO_T}no" >&6; }
33777 rm -f $JAVA_TEST $CLASS_TEST
33783 # Check whether --with-escher was given.
33784 if test "${with_escher+set}" = set; then
33785 withval=$with_escher;
33788 case "$with_escher" in
33796 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
33797 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
33798 { (exit 1); exit 1; }; }
33802 PATH_TO_ESCHER=$with_escher
33806 if test x$use_escher = xtrue; then
33808 USE_ESCHER_FALSE='#'
33810 USE_ESCHER_TRUE='#'
33816 # Check whether --enable-local-sockets was given.
33817 if test "${enable_local_sockets+set}" = set; then
33818 enableval=$enable_local_sockets; case "${enableval}" in
33820 ENABLE_LOCAL_SOCKETS=yes
33823 ENABLE_LOCAL_SOCKETS=no
33828 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
33830 if test "${ac_cv_header_sys_un_h+set}" = set; then
33831 { echo "$as_me:$LINENO: checking for sys/un.h" >&5
33832 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6; }
33833 if test "${ac_cv_header_sys_un_h+set}" = set; then
33834 echo $ECHO_N "(cached) $ECHO_C" >&6
33836 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
33837 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6; }
33839 # Is the header compilable?
33840 { echo "$as_me:$LINENO: checking sys/un.h usability" >&5
33841 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6; }
33842 cat >conftest.$ac_ext <<_ACEOF
33845 cat confdefs.h >>conftest.$ac_ext
33846 cat >>conftest.$ac_ext <<_ACEOF
33847 /* end confdefs.h. */
33848 $ac_includes_default
33849 #include <sys/un.h>
33851 rm -f conftest.$ac_objext
33852 if { (ac_try="$ac_compile"
33853 case "(($ac_try" in
33854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33855 *) ac_try_echo=$ac_try;;
33857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33858 (eval "$ac_compile") 2>conftest.er1
33860 grep -v '^ *+' conftest.er1 >conftest.err
33862 cat conftest.err >&5
33863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33864 (exit $ac_status); } && {
33865 test -z "$ac_c_werror_flag" ||
33866 test ! -s conftest.err
33867 } && test -s conftest.$ac_objext; then
33868 ac_header_compiler=yes
33870 echo "$as_me: failed program was:" >&5
33871 sed 's/^/| /' conftest.$ac_ext >&5
33873 ac_header_compiler=no
33876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33877 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33878 echo "${ECHO_T}$ac_header_compiler" >&6; }
33880 # Is the header present?
33881 { echo "$as_me:$LINENO: checking sys/un.h presence" >&5
33882 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6; }
33883 cat >conftest.$ac_ext <<_ACEOF
33886 cat confdefs.h >>conftest.$ac_ext
33887 cat >>conftest.$ac_ext <<_ACEOF
33888 /* end confdefs.h. */
33889 #include <sys/un.h>
33891 if { (ac_try="$ac_cpp conftest.$ac_ext"
33892 case "(($ac_try" in
33893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33894 *) ac_try_echo=$ac_try;;
33896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33897 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33899 grep -v '^ *+' conftest.er1 >conftest.err
33901 cat conftest.err >&5
33902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33903 (exit $ac_status); } >/dev/null && {
33904 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33905 test ! -s conftest.err
33907 ac_header_preproc=yes
33909 echo "$as_me: failed program was:" >&5
33910 sed 's/^/| /' conftest.$ac_ext >&5
33912 ac_header_preproc=no
33915 rm -f conftest.err conftest.$ac_ext
33916 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33917 echo "${ECHO_T}$ac_header_preproc" >&6; }
33919 # So? What about this header?
33920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33922 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
33923 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33924 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
33925 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
33926 ac_header_preproc=yes
33929 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
33930 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
33931 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
33932 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
33933 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
33934 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
33935 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
33936 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
33937 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
33938 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
33939 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
33940 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
33942 ## -------------------------------- ##
33943 ## Report this to classpath@gnu.org ##
33944 ## -------------------------------- ##
33946 ) | sed "s/^/$as_me: WARNING: /" >&2
33949 { echo "$as_me:$LINENO: checking for sys/un.h" >&5
33950 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6; }
33951 if test "${ac_cv_header_sys_un_h+set}" = set; then
33952 echo $ECHO_N "(cached) $ECHO_C" >&6
33954 ac_cv_header_sys_un_h=$ac_header_preproc
33956 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
33957 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6; }
33968 for ac_func in read write bind listen accept shutdown
33970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33971 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33973 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33974 echo $ECHO_N "(cached) $ECHO_C" >&6
33976 cat >conftest.$ac_ext <<_ACEOF
33979 cat confdefs.h >>conftest.$ac_ext
33980 cat >>conftest.$ac_ext <<_ACEOF
33981 /* end confdefs.h. */
33982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33984 #define $ac_func innocuous_$ac_func
33986 /* System header to define __stub macros and hopefully few prototypes,
33987 which can conflict with char $ac_func (); below.
33988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33989 <limits.h> exists even on freestanding compilers. */
33992 # include <limits.h>
33994 # include <assert.h>
33999 /* Override any GCC internal prototype to avoid an error.
34000 Use char because int might match the return type of a GCC
34001 builtin and then its argument prototype would still apply. */
34006 /* The GNU C library defines this for functions which it implements
34007 to always fail with ENOSYS. Some functions are actually named
34008 something starting with __ and the normal name is an alias. */
34009 #if defined __stub_$ac_func || defined __stub___$ac_func
34016 return $ac_func ();
34021 rm -f conftest.$ac_objext conftest$ac_exeext
34022 if { (ac_try="$ac_link"
34023 case "(($ac_try" in
34024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34025 *) ac_try_echo=$ac_try;;
34027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34028 (eval "$ac_link") 2>conftest.er1
34030 grep -v '^ *+' conftest.er1 >conftest.err
34032 cat conftest.err >&5
34033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034 (exit $ac_status); } && {
34035 test -z "$ac_c_werror_flag" ||
34036 test ! -s conftest.err
34037 } && test -s conftest$ac_exeext &&
34038 $as_test_x conftest$ac_exeext; then
34039 eval "$as_ac_var=yes"
34041 echo "$as_me: failed program was:" >&5
34042 sed 's/^/| /' conftest.$ac_ext >&5
34044 eval "$as_ac_var=no"
34047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34048 conftest$ac_exeext conftest.$ac_ext
34050 ac_res=`eval echo '${'$as_ac_var'}'`
34051 { echo "$as_me:$LINENO: result: $ac_res" >&5
34052 echo "${ECHO_T}$ac_res" >&6; }
34053 if test `eval echo '${'$as_ac_var'}'` = yes; then
34054 cat >>confdefs.h <<_ACEOF
34055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34059 { { echo "$as_me:$LINENO: error: networking support not available" >&5
34060 echo "$as_me: error: networking support not available" >&2;}
34061 { (exit 1); exit 1; }; }
34066 cat >>confdefs.h <<\_ACEOF
34067 #define ENABLE_LOCAL_SOCKETS 1
34071 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
34072 ENABLE_LOCAL_SOCKETS_TRUE=
34073 ENABLE_LOCAL_SOCKETS_FALSE='#'
34075 ENABLE_LOCAL_SOCKETS_TRUE='#'
34076 ENABLE_LOCAL_SOCKETS_FALSE=
34082 ac_config_files="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile external/jsr166/Makefile gnu/classpath/Configuration.java gnu/java/security/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/gconf-peer/Makefile native/jni/gstreamer-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/jni/native-lib/Makefile native/plugin/Makefile resource/Makefile resource/META-INF/services/java.util.prefs.PreferencesFactory resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader resource/META-INF/services/javax.sound.sampled.spi.MixerProvider scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh scripts/check_jni_methods.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d"
34085 if test "x${COMPILE_WRAPPERS}" = xno
34087 ac_config_files="$ac_config_files tools/gappletviewer tools/gjarsigner tools/gkeytool tools/gjar tools/gnative2ascii tools/gserialver tools/grmiregistry tools/gtnameserv tools/gorbd tools/grmid tools/grmic tools/gjavah"
34089 ac_config_commands="$ac_config_commands gappletviewer"
34091 ac_config_commands="$ac_config_commands gjarsigner"
34093 ac_config_commands="$ac_config_commands gkeytool"
34095 ac_config_commands="$ac_config_commands gjar"
34097 ac_config_commands="$ac_config_commands gnative2ascii"
34099 ac_config_commands="$ac_config_commands gserialver"
34101 ac_config_commands="$ac_config_commands grmiregistry"
34103 ac_config_commands="$ac_config_commands gtnameserv"
34105 ac_config_commands="$ac_config_commands gorbd"
34107 ac_config_commands="$ac_config_commands grmid"
34109 ac_config_commands="$ac_config_commands grmic"
34111 ac_config_commands="$ac_config_commands gjavah"
34115 ac_config_commands="$ac_config_commands gen-classlist"
34117 ac_config_commands="$ac_config_commands copy-vmresources"
34119 cat >confcache <<\_ACEOF
34120 # This file is a shell script that caches the results of configure
34121 # tests run on this system so they can be shared between configure
34122 # scripts and configure runs, see configure's option --config-cache.
34123 # It is not useful on other systems. If it contains results you don't
34124 # want to keep, you may remove or edit it.
34126 # config.status only pays attention to the cache file if you give it
34127 # the --recheck option to rerun configure.
34129 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34130 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34131 # following values.
34135 # The following way of writing the cache mishandles newlines in values,
34136 # but we know of no workaround that is simple, portable, and efficient.
34137 # So, we kill variables containing newlines.
34138 # Ultrix sh set writes to stderr and can't be redirected directly,
34139 # and sets the high bit in the cache file unless we assign to the vars.
34141 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34142 eval ac_val=\$$ac_var
34146 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
34147 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
34150 _ | IFS | as_nl) ;; #(
34151 *) $as_unset $ac_var ;;
34157 case $as_nl`(ac_space=' '; set) 2>&1` in #(
34158 *${as_nl}ac_space=\ *)
34159 # `set' does not quote correctly, so add quotes (double-quote
34160 # substitution turns \\\\ into \\, and sed turns \\ into \).
34163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34166 # `set' quotes correctly as required by POSIX, so do not add quotes.
34167 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
34176 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34178 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34180 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
34181 if test -w "$cache_file"; then
34182 test "x$cache_file" != "x/dev/null" &&
34183 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
34184 echo "$as_me: updating cache $cache_file" >&6;}
34185 cat confcache >$cache_file
34187 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
34188 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
34193 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34194 # Let make expand exec_prefix.
34195 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34197 DEFS=-DHAVE_CONFIG_H
34201 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34202 # 1. Remove the extension, and $U if already installed.
34203 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
34204 ac_i=`echo "$ac_i" | sed "$ac_script"`
34205 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
34206 # will be set to the directory where LIBOBJS objects are built.
34207 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
34208 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
34210 LIBOBJS=$ac_libobjs
34212 LTLIBOBJS=$ac_ltlibobjs
34215 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
34216 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
34217 Usually this means the macro was only invoked conditionally." >&5
34218 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
34219 Usually this means the macro was only invoked conditionally." >&2;}
34220 { (exit 1); exit 1; }; }
34222 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
34223 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
34224 Usually this means the macro was only invoked conditionally." >&5
34225 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
34226 Usually this means the macro was only invoked conditionally." >&2;}
34227 { (exit 1); exit 1; }; }
34229 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
34230 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
34231 Usually this means the macro was only invoked conditionally." >&5
34232 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
34233 Usually this means the macro was only invoked conditionally." >&2;}
34234 { (exit 1); exit 1; }; }
34236 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
34237 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
34238 Usually this means the macro was only invoked conditionally." >&5
34239 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
34240 Usually this means the macro was only invoked conditionally." >&2;}
34241 { (exit 1); exit 1; }; }
34243 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
34244 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
34245 Usually this means the macro was only invoked conditionally." >&5
34246 echo "$as_me: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
34247 Usually this means the macro was only invoked conditionally." >&2;}
34248 { (exit 1); exit 1; }; }
34250 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
34251 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
34252 Usually this means the macro was only invoked conditionally." >&5
34253 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
34254 Usually this means the macro was only invoked conditionally." >&2;}
34255 { (exit 1); exit 1; }; }
34257 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34258 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
34259 Usually this means the macro was only invoked conditionally." >&5
34260 echo "$as_me: error: conditional \"AMDEP\" was never defined.
34261 Usually this means the macro was only invoked conditionally." >&2;}
34262 { (exit 1); exit 1; }; }
34264 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34265 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
34266 Usually this means the macro was only invoked conditionally." >&5
34267 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
34268 Usually this means the macro was only invoked conditionally." >&2;}
34269 { (exit 1); exit 1; }; }
34271 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
34272 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
34273 Usually this means the macro was only invoked conditionally." >&5
34274 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
34275 Usually this means the macro was only invoked conditionally." >&2;}
34276 { (exit 1); exit 1; }; }
34278 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
34279 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
34280 Usually this means the macro was only invoked conditionally." >&5
34281 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
34282 Usually this means the macro was only invoked conditionally." >&2;}
34283 { (exit 1); exit 1; }; }
34285 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
34286 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
34287 Usually this means the macro was only invoked conditionally." >&5
34288 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
34289 Usually this means the macro was only invoked conditionally." >&2;}
34290 { (exit 1); exit 1; }; }
34292 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
34293 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
34294 Usually this means the macro was only invoked conditionally." >&5
34295 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
34296 Usually this means the macro was only invoked conditionally." >&2;}
34297 { (exit 1); exit 1; }; }
34299 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
34300 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
34301 Usually this means the macro was only invoked conditionally." >&5
34302 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
34303 Usually this means the macro was only invoked conditionally." >&2;}
34304 { (exit 1); exit 1; }; }
34306 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
34307 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
34308 Usually this means the macro was only invoked conditionally." >&5
34309 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
34310 Usually this means the macro was only invoked conditionally." >&2;}
34311 { (exit 1); exit 1; }; }
34313 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
34314 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
34315 Usually this means the macro was only invoked conditionally." >&5
34316 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
34317 Usually this means the macro was only invoked conditionally." >&2;}
34318 { (exit 1); exit 1; }; }
34320 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
34321 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
34322 Usually this means the macro was only invoked conditionally." >&5
34323 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
34324 Usually this means the macro was only invoked conditionally." >&2;}
34325 { (exit 1); exit 1; }; }
34327 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34328 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
34329 Usually this means the macro was only invoked conditionally." >&5
34330 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
34331 Usually this means the macro was only invoked conditionally." >&2;}
34332 { (exit 1); exit 1; }; }
34334 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
34335 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
34336 Usually this means the macro was only invoked conditionally." >&5
34337 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
34338 Usually this means the macro was only invoked conditionally." >&2;}
34339 { (exit 1); exit 1; }; }
34341 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
34342 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
34343 Usually this means the macro was only invoked conditionally." >&5
34344 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
34345 Usually this means the macro was only invoked conditionally." >&2;}
34346 { (exit 1); exit 1; }; }
34348 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
34349 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
34350 Usually this means the macro was only invoked conditionally." >&5
34351 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
34352 Usually this means the macro was only invoked conditionally." >&2;}
34353 { (exit 1); exit 1; }; }
34355 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
34356 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
34357 Usually this means the macro was only invoked conditionally." >&5
34358 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
34359 Usually this means the macro was only invoked conditionally." >&2;}
34360 { (exit 1); exit 1; }; }
34362 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
34363 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
34364 Usually this means the macro was only invoked conditionally." >&5
34365 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
34366 Usually this means the macro was only invoked conditionally." >&2;}
34367 { (exit 1); exit 1; }; }
34369 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
34370 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
34371 Usually this means the macro was only invoked conditionally." >&5
34372 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
34373 Usually this means the macro was only invoked conditionally." >&2;}
34374 { (exit 1); exit 1; }; }
34376 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
34377 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
34378 Usually this means the macro was only invoked conditionally." >&5
34379 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
34380 Usually this means the macro was only invoked conditionally." >&2;}
34381 { (exit 1); exit 1; }; }
34383 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
34384 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
34385 Usually this means the macro was only invoked conditionally." >&5
34386 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
34387 Usually this means the macro was only invoked conditionally." >&2;}
34388 { (exit 1); exit 1; }; }
34390 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
34391 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
34392 Usually this means the macro was only invoked conditionally." >&5
34393 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
34394 Usually this means the macro was only invoked conditionally." >&2;}
34395 { (exit 1); exit 1; }; }
34398 : ${CONFIG_STATUS=./config.status}
34399 ac_clean_files_save=$ac_clean_files
34400 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34401 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34402 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34403 cat >$CONFIG_STATUS <<_ACEOF
34405 # Generated by $as_me.
34406 # Run this file to recreate the current configuration.
34407 # Compiler output produced by configure, useful for debugging
34408 # configure, is in config.log if it exists.
34411 ac_cs_recheck=false
34413 SHELL=\${CONFIG_SHELL-$SHELL}
34416 cat >>$CONFIG_STATUS <<\_ACEOF
34417 ## --------------------- ##
34418 ## M4sh Initialization. ##
34419 ## --------------------- ##
34421 # Be more Bourne compatible
34422 DUALCASE=1; export DUALCASE # for MKS sh
34423 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34426 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34427 # is contrary to our usage. Disable this feature.
34428 alias -g '${1+"$@"}'='"$@"'
34429 setopt NO_GLOB_SUBST
34431 case `(set -o) 2>/dev/null` in
34432 *posix*) set -o posix ;;
34441 # Avoid depending upon Character Ranges.
34442 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34443 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34444 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34445 as_cr_digits='0123456789'
34446 as_cr_alnum=$as_cr_Letters$as_cr_digits
34448 # The user is always right.
34449 if test "${PATH_SEPARATOR+set}" != set; then
34450 echo "#! /bin/sh" >conf$$.sh
34451 echo "exit 0" >>conf$$.sh
34453 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34461 # Support unset when possible.
34462 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34470 # We need space, tab and new line, in precisely that order. Quoting is
34471 # there to prevent editors from complaining about space-tab.
34472 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34473 # splitting by setting IFS to empty value.)
34478 # Find who we are. Look in the path if we contain no directory separator.
34480 *[\\/]* ) as_myself=$0 ;;
34481 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34482 for as_dir in $PATH
34485 test -z "$as_dir" && as_dir=.
34486 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34492 # We did not find ourselves, most probably we were run as `sh COMMAND'
34493 # in which case we are not to be found in the path.
34494 if test "x$as_myself" = x; then
34497 if test ! -f "$as_myself"; then
34498 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34499 { (exit 1); exit 1; }
34502 # Work around bugs in pre-3.0 UWIN ksh.
34503 for as_var in ENV MAIL MAILPATH
34504 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
34512 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34513 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34514 LC_TELEPHONE LC_TIME
34516 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34517 eval $as_var=C; export $as_var
34519 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
34523 # Required to use basename.
34524 if expr a : '\(a\)' >/dev/null 2>&1 &&
34525 test "X`expr 00001 : '.*\(...\)'`" = X001; then
34531 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34532 as_basename=basename
34538 # Name of the executable.
34539 as_me=`$as_basename -- "$0" ||
34540 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34541 X"$0" : 'X\(//\)$' \| \
34542 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34544 sed '/^.*\/\([^/][^/]*\)\/*$/{
34563 as_lineno_1=$LINENO
34564 as_lineno_2=$LINENO
34565 test "x$as_lineno_1" != "x$as_lineno_2" &&
34566 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
34568 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34569 # uniformly replaced by the line number. The first 'sed' inserts a
34570 # line-number line after each line using $LINENO; the second 'sed'
34571 # does the real work. The second script uses 'N' to pair each
34572 # line-number line with the line containing $LINENO, and appends
34573 # trailing '-' during substitution so that $LINENO is not a special
34574 # case at line end.
34575 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34576 # scripts with optimization help from Paolo Bonzini. Blame Lee
34577 # E. McMahon (1931-1989) for sed's syntax. :-)
34589 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
34592 ' >$as_me.lineno &&
34593 chmod +x "$as_me.lineno" ||
34594 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
34595 { (exit 1); exit 1; }; }
34597 # Don't try to exec as it changes $[0], causing all sort of problems
34598 # (the dirname of $[0] is not the place where we might find the
34599 # original and so on. Autoconf is especially sensitive to this).
34600 . "./$as_me.lineno"
34601 # Exit status is that of the last command.
34606 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
34612 ECHO_C= ECHO_N= ECHO_T=
34613 case `echo -n x` in
34615 case `echo 'x\c'` in
34616 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
34623 if expr a : '\(a\)' >/dev/null 2>&1 &&
34624 test "X`expr 00001 : '.*\(...\)'`" = X001; then
34630 rm -f conf$$ conf$$.exe conf$$.file
34631 if test -d conf$$.dir; then
34632 rm -f conf$$.dir/conf$$.file
34638 if ln -s conf$$.file conf$$ 2>/dev/null; then
34640 # ... but there are two gotchas:
34641 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34642 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34643 # In both cases, we have to default to `cp -p'.
34644 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34646 elif ln conf$$.file conf$$ 2>/dev/null; then
34651 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
34652 rmdir conf$$.dir 2>/dev/null
34654 if mkdir -p . 2>/dev/null; then
34657 test -d ./-p && rmdir ./-p
34661 if test -x / >/dev/null 2>&1; then
34662 as_test_x='test -x'
34664 if ls -dL / >/dev/null 2>&1; then
34671 if test -d "$1"; then
34677 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
34678 ???[sx]*):;;*)false;;esac;fi
34682 as_executable_p=$as_test_x
34684 # Sed expression to map a string onto a valid CPP name.
34685 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34687 # Sed expression to map a string onto a valid variable name.
34688 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34693 # Save the log message, to keep $[0] and so on meaningful, and to
34694 # report actual input values of CONFIG_FILES etc. instead of their
34695 # values after options handling.
34697 This file was extended by GNU Classpath $as_me 0.97.2, which was
34698 generated by GNU Autoconf 2.61. Invocation command line was
34700 CONFIG_FILES = $CONFIG_FILES
34701 CONFIG_HEADERS = $CONFIG_HEADERS
34702 CONFIG_LINKS = $CONFIG_LINKS
34703 CONFIG_COMMANDS = $CONFIG_COMMANDS
34706 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34711 cat >>$CONFIG_STATUS <<_ACEOF
34712 # Files that config.status was made for.
34713 config_files="$ac_config_files"
34714 config_headers="$ac_config_headers"
34715 config_links="$ac_config_links"
34716 config_commands="$ac_config_commands"
34720 cat >>$CONFIG_STATUS <<\_ACEOF
34722 \`$as_me' instantiates files from templates according to the
34723 current configuration.
34725 Usage: $0 [OPTIONS] [FILE]...
34727 -h, --help print this help, then exit
34728 -V, --version print version number and configuration settings, then exit
34729 -q, --quiet do not print progress messages
34730 -d, --debug don't remove temporary files
34731 --recheck update $as_me by reconfiguring in the same conditions
34732 --file=FILE[:TEMPLATE]
34733 instantiate the configuration file FILE
34734 --header=FILE[:TEMPLATE]
34735 instantiate the configuration header FILE
34737 Configuration files:
34740 Configuration headers:
34743 Configuration links:
34746 Configuration commands:
34749 Report bugs to <bug-autoconf@gnu.org>."
34752 cat >>$CONFIG_STATUS <<_ACEOF
34754 GNU Classpath config.status 0.97.2
34755 configured by $0, generated by GNU Autoconf 2.61,
34756 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34758 Copyright (C) 2006 Free Software Foundation, Inc.
34759 This config.status script is free software; the Free Software Foundation
34760 gives unlimited permission to copy, distribute and modify it."
34768 cat >>$CONFIG_STATUS <<\_ACEOF
34769 # If no file are specified by the user, then we need to provide default
34770 # value. By we need to know if files were specified by the user.
34776 ac_option=`expr "X$1" : 'X\([^=]*\)='`
34777 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
34788 # Handling of the options.
34789 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34791 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
34792 echo "$ac_cs_version"; exit ;;
34793 --debug | --debu | --deb | --de | --d | -d )
34795 --file | --fil | --fi | --f )
34797 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34798 ac_need_defaults=false;;
34799 --header | --heade | --head | --hea )
34801 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34802 ac_need_defaults=false;;
34804 # Conflict between --help and --header
34805 { echo "$as_me: error: ambiguous option: $1
34806 Try \`$0 --help' for more information." >&2
34807 { (exit 1); exit 1; }; };;
34808 --help | --hel | -h )
34809 echo "$ac_cs_usage"; exit ;;
34810 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34811 | -silent | --silent | --silen | --sile | --sil | --si | --s)
34814 # This is an error.
34815 -*) { echo "$as_me: error: unrecognized option: $1
34816 Try \`$0 --help' for more information." >&2
34817 { (exit 1); exit 1; }; } ;;
34819 *) ac_config_targets="$ac_config_targets $1"
34820 ac_need_defaults=false ;;
34826 ac_configure_extra_args=
34828 if $ac_cs_silent; then
34830 ac_configure_extra_args="$ac_configure_extra_args --silent"
34834 cat >>$CONFIG_STATUS <<_ACEOF
34835 if \$ac_cs_recheck; then
34836 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34837 CONFIG_SHELL=$SHELL
34838 export CONFIG_SHELL
34839 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34843 cat >>$CONFIG_STATUS <<\_ACEOF
34847 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34848 ## Running $as_me. ##
34854 cat >>$CONFIG_STATUS <<_ACEOF
34858 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34859 # variables for create stdint.h replacement
34862 ac_stdint_h="$ac_stdint_h"
34863 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
34864 ac_cv_stdint_message="$ac_cv_stdint_message"
34865 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
34866 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
34867 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
34868 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
34869 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
34870 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
34871 ac_cv_char_data_model="$ac_cv_char_data_model"
34872 ac_cv_long_data_model="$ac_cv_long_data_model"
34873 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
34874 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
34875 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
34880 cat >>$CONFIG_STATUS <<\_ACEOF
34882 # Handling of arguments.
34883 for ac_config_target in $ac_config_targets
34885 case $ac_config_target in
34886 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
34887 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34888 "lib/mkcollections.pl") CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
34889 "mkcollections.pl") CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
34890 "$ac_config_links_1") CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
34891 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
34892 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34893 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
34894 "doc/api/Makefile") CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
34895 "external/Makefile") CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
34896 "external/sax/Makefile") CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
34897 "external/w3c_dom/Makefile") CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
34898 "external/relaxngDatatype/Makefile") CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
34899 "external/jsr166/Makefile") CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
34900 "gnu/classpath/Configuration.java") CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
34901 "gnu/java/security/Configuration.java") CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
34902 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
34903 "native/Makefile") CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
34904 "native/fdlibm/Makefile") CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
34905 "native/jawt/Makefile") CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
34906 "native/jni/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
34907 "native/jni/classpath/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
34908 "native/jni/java-io/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
34909 "native/jni/java-lang/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
34910 "native/jni/java-net/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
34911 "native/jni/java-nio/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
34912 "native/jni/java-util/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
34913 "native/jni/gtk-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
34914 "native/jni/gconf-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
34915 "native/jni/gstreamer-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
34916 "native/jni/qt-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
34917 "native/jni/xmlj/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
34918 "native/jni/midi-alsa/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
34919 "native/jni/midi-dssi/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
34920 "native/jni/native-lib/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
34921 "native/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
34922 "resource/Makefile") CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
34923 "resource/META-INF/services/java.util.prefs.PreferencesFactory") CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
34924 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader") CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
34925 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider") CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
34926 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
34927 "scripts/classpath.spec") CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
34928 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
34929 "lib/gen-classlist.sh") CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
34930 "lib/copy-vmresources.sh") CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
34931 "scripts/check_jni_methods.sh") CONFIG_FILES="$CONFIG_FILES scripts/check_jni_methods.sh" ;;
34932 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
34933 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
34934 "examples/Makefile.jawt") CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
34935 "examples/Makefile.java2d") CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
34936 "tools/gappletviewer") CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
34937 "tools/gjarsigner") CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
34938 "tools/gkeytool") CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
34939 "tools/gjar") CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
34940 "tools/gnative2ascii") CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
34941 "tools/gserialver") CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
34942 "tools/grmiregistry") CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
34943 "tools/gtnameserv") CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
34944 "tools/gorbd") CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
34945 "tools/grmid") CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
34946 "tools/grmic") CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
34947 "tools/gjavah") CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
34948 "gappletviewer") CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
34949 "gjarsigner") CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
34950 "gkeytool") CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
34951 "gjar") CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
34952 "gnative2ascii") CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
34953 "gserialver") CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
34954 "grmiregistry") CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
34955 "gtnameserv") CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
34956 "gorbd") CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
34957 "grmid") CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
34958 "grmic") CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
34959 "gjavah") CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
34960 "gen-classlist") CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
34961 "copy-vmresources") CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
34963 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34964 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34965 { (exit 1); exit 1; }; };;
34970 # If the user did not use the arguments to specify the items to instantiate,
34971 # then the envvar interface is used. Set only those that are not.
34972 # We use the long form for the default assignment because of an extremely
34973 # bizarre bug on SunOS 4.1.3.
34974 if $ac_need_defaults; then
34975 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34976 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34977 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
34978 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34981 # Have a temporary directory for convenience. Make it in the build tree
34982 # simply because there is no reason against having it here, and in addition,
34983 # creating and moving files from /tmp can sometimes cause problems.
34984 # Hook for its removal unless debugging.
34985 # Note that there is a small window in which the directory will not be cleaned:
34986 # after its creation but before its name has been assigned to `$tmp'.
34990 trap 'exit_status=$?
34991 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34993 trap '{ (exit 1); exit 1; }' 1 2 13 15
34995 # Create a (secure) tmp directory for tmp files.
34998 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34999 test -n "$tmp" && test -d "$tmp"
35002 tmp=./conf$$-$RANDOM
35003 (umask 077 && mkdir "$tmp")
35006 echo "$me: cannot create a temporary directory in ." >&2
35007 { (exit 1); exit 1; }
35011 # Set up the sed scripts for CONFIG_FILES section.
35014 # No need to generate the scripts if there are no CONFIG_FILES.
35015 # This happens for instance when ./config.status config.h
35016 if test -n "$CONFIG_FILES"; then
35023 for ac_last_try in false false false false false :; do
35024 cat >conf$$subs.sed <<_ACEOF
35025 SHELL!$SHELL$ac_delim
35026 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
35027 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
35028 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
35029 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
35030 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
35031 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
35032 exec_prefix!$exec_prefix$ac_delim
35033 prefix!$prefix$ac_delim
35034 program_transform_name!$program_transform_name$ac_delim
35035 bindir!$bindir$ac_delim
35036 sbindir!$sbindir$ac_delim
35037 libexecdir!$libexecdir$ac_delim
35038 datarootdir!$datarootdir$ac_delim
35039 datadir!$datadir$ac_delim
35040 sysconfdir!$sysconfdir$ac_delim
35041 sharedstatedir!$sharedstatedir$ac_delim
35042 localstatedir!$localstatedir$ac_delim
35043 includedir!$includedir$ac_delim
35044 oldincludedir!$oldincludedir$ac_delim
35045 docdir!$docdir$ac_delim
35046 infodir!$infodir$ac_delim
35047 htmldir!$htmldir$ac_delim
35048 dvidir!$dvidir$ac_delim
35049 pdfdir!$pdfdir$ac_delim
35050 psdir!$psdir$ac_delim
35051 libdir!$libdir$ac_delim
35052 localedir!$localedir$ac_delim
35053 mandir!$mandir$ac_delim
35054 DEFS!$DEFS$ac_delim
35055 ECHO_C!$ECHO_C$ac_delim
35056 ECHO_N!$ECHO_N$ac_delim
35057 ECHO_T!$ECHO_T$ac_delim
35058 LIBS!$LIBS$ac_delim
35059 build_alias!$build_alias$ac_delim
35060 host_alias!$host_alias$ac_delim
35061 target_alias!$target_alias$ac_delim
35062 build!$build$ac_delim
35063 build_cpu!$build_cpu$ac_delim
35064 build_vendor!$build_vendor$ac_delim
35065 build_os!$build_os$ac_delim
35066 host!$host$ac_delim
35067 host_cpu!$host_cpu$ac_delim
35068 host_vendor!$host_vendor$ac_delim
35069 host_os!$host_os$ac_delim
35070 target!$target$ac_delim
35071 target_cpu!$target_cpu$ac_delim
35072 target_vendor!$target_vendor$ac_delim
35073 target_os!$target_os$ac_delim
35074 LIBVERSION!$LIBVERSION$ac_delim
35075 CLASSPATH_MODULE!$CLASSPATH_MODULE$ac_delim
35076 CLASSPATH_CONVENIENCE!$CLASSPATH_CONVENIENCE$ac_delim
35077 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
35078 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
35079 INSTALL_DATA!$INSTALL_DATA$ac_delim
35080 am__isrc!$am__isrc$ac_delim
35081 CYGPATH_W!$CYGPATH_W$ac_delim
35082 PACKAGE!$PACKAGE$ac_delim
35083 VERSION!$VERSION$ac_delim
35084 ACLOCAL!$ACLOCAL$ac_delim
35085 AUTOCONF!$AUTOCONF$ac_delim
35086 AUTOMAKE!$AUTOMAKE$ac_delim
35087 AUTOHEADER!$AUTOHEADER$ac_delim
35088 MAKEINFO!$MAKEINFO$ac_delim
35089 install_sh!$install_sh$ac_delim
35090 STRIP!$STRIP$ac_delim
35091 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
35092 mkdir_p!$mkdir_p$ac_delim
35094 SET_MAKE!$SET_MAKE$ac_delim
35095 am__leading_dot!$am__leading_dot$ac_delim
35096 AMTAR!$AMTAR$ac_delim
35097 am__tar!$am__tar$ac_delim
35098 am__untar!$am__untar$ac_delim
35099 CREATE_COLLECTIONS_TRUE!$CREATE_COLLECTIONS_TRUE$ac_delim
35100 CREATE_COLLECTIONS_FALSE!$CREATE_COLLECTIONS_FALSE$ac_delim
35101 CREATE_JNI_LIBRARIES_TRUE!$CREATE_JNI_LIBRARIES_TRUE$ac_delim
35102 CREATE_JNI_LIBRARIES_FALSE!$CREATE_JNI_LIBRARIES_FALSE$ac_delim
35103 CREATE_CORE_JNI_LIBRARIES_TRUE!$CREATE_CORE_JNI_LIBRARIES_TRUE$ac_delim
35104 CREATE_CORE_JNI_LIBRARIES_FALSE!$CREATE_CORE_JNI_LIBRARIES_FALSE$ac_delim
35105 CREATE_GCONF_PEER_LIBRARIES_TRUE!$CREATE_GCONF_PEER_LIBRARIES_TRUE$ac_delim
35106 CREATE_GCONF_PEER_LIBRARIES_FALSE!$CREATE_GCONF_PEER_LIBRARIES_FALSE$ac_delim
35107 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE!$CREATE_GSTREAMER_PEER_LIBRARIES_TRUE$ac_delim
35108 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE!$CREATE_GSTREAMER_PEER_LIBRARIES_FALSE$ac_delim
35109 default_toolkit!$default_toolkit$ac_delim
35110 CREATE_XMLJ_LIBRARY_TRUE!$CREATE_XMLJ_LIBRARY_TRUE$ac_delim
35111 CREATE_XMLJ_LIBRARY_FALSE!$CREATE_XMLJ_LIBRARY_FALSE$ac_delim
35113 CFLAGS!$CFLAGS$ac_delim
35114 LDFLAGS!$LDFLAGS$ac_delim
35115 CPPFLAGS!$CPPFLAGS$ac_delim
35116 ac_ct_CC!$ac_ct_CC$ac_delim
35117 EXEEXT!$EXEEXT$ac_delim
35118 OBJEXT!$OBJEXT$ac_delim
35119 DEPDIR!$DEPDIR$ac_delim
35120 am__include!$am__include$ac_delim
35121 am__quote!$am__quote$ac_delim
35124 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
35126 elif $ac_last_try; then
35127 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
35128 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
35129 { (exit 1); exit 1; }; }
35131 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35135 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
35136 if test -n "$ac_eof"; then
35137 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
35138 ac_eof=`expr $ac_eof + 1`
35141 cat >>$CONFIG_STATUS <<_ACEOF
35142 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
35143 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35146 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
35147 s/^/s,@/; s/!/@,|#_!!_#|/
35150 s/'"$ac_delim"'$/,g/; t
35152 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
35153 ' >>$CONFIG_STATUS <conf$$subs.sed
35154 rm -f conf$$subs.sed
35155 cat >>$CONFIG_STATUS <<_ACEOF
35161 for ac_last_try in false false false false false :; do
35162 cat >conf$$subs.sed <<_ACEOF
35163 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
35164 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
35165 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
35166 CCDEPMODE!$CCDEPMODE$ac_delim
35167 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
35168 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
35170 GREP!$GREP$ac_delim
35171 EGREP!$EGREP$ac_delim
35172 CREATE_ALSA_LIBRARIES_TRUE!$CREATE_ALSA_LIBRARIES_TRUE$ac_delim
35173 CREATE_ALSA_LIBRARIES_FALSE!$CREATE_ALSA_LIBRARIES_FALSE$ac_delim
35174 CREATE_DSSI_LIBRARIES_TRUE!$CREATE_DSSI_LIBRARIES_TRUE$ac_delim
35175 CREATE_DSSI_LIBRARIES_FALSE!$CREATE_DSSI_LIBRARIES_FALSE$ac_delim
35176 CREATE_GTK_PEER_LIBRARIES_TRUE!$CREATE_GTK_PEER_LIBRARIES_TRUE$ac_delim
35177 CREATE_GTK_PEER_LIBRARIES_FALSE!$CREATE_GTK_PEER_LIBRARIES_FALSE$ac_delim
35178 CREATE_QT_PEER_LIBRARIES_TRUE!$CREATE_QT_PEER_LIBRARIES_TRUE$ac_delim
35179 CREATE_QT_PEER_LIBRARIES_FALSE!$CREATE_QT_PEER_LIBRARIES_FALSE$ac_delim
35180 CREATE_PLUGIN_TRUE!$CREATE_PLUGIN_TRUE$ac_delim
35181 CREATE_PLUGIN_FALSE!$CREATE_PLUGIN_FALSE$ac_delim
35182 nativeexeclibdir!$nativeexeclibdir$ac_delim
35183 glibjdir!$glibjdir$ac_delim
35184 VM_BINARY!$VM_BINARY$ac_delim
35185 CREATE_JNI_HEADERS_TRUE!$CREATE_JNI_HEADERS_TRUE$ac_delim
35186 CREATE_JNI_HEADERS_FALSE!$CREATE_JNI_HEADERS_FALSE$ac_delim
35187 CREATE_WRAPPERS_TRUE!$CREATE_WRAPPERS_TRUE$ac_delim
35188 CREATE_WRAPPERS_FALSE!$CREATE_WRAPPERS_FALSE$ac_delim
35189 LN_S!$LN_S$ac_delim
35191 CXXFLAGS!$CXXFLAGS$ac_delim
35192 ac_ct_CXX!$ac_ct_CXX$ac_delim
35193 CXXDEPMODE!$CXXDEPMODE$ac_delim
35194 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
35195 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
35197 ECHO!$ECHO$ac_delim
35199 RANLIB!$RANLIB$ac_delim
35200 DSYMUTIL!$DSYMUTIL$ac_delim
35201 NMEDIT!$NMEDIT$ac_delim
35202 CXXCPP!$CXXCPP$ac_delim
35204 FFLAGS!$FFLAGS$ac_delim
35205 ac_ct_F77!$ac_ct_F77$ac_delim
35206 LIBTOOL!$LIBTOOL$ac_delim
35207 PERL!$PERL$ac_delim
35208 COLLECTIONS_PREFIX!$COLLECTIONS_PREFIX$ac_delim
35209 LIBMAGIC!$LIBMAGIC$ac_delim
35210 LIBICONV!$LIBICONV$ac_delim
35211 LTLIBICONV!$LTLIBICONV$ac_delim
35212 WARNING_CFLAGS!$WARNING_CFLAGS$ac_delim
35213 STRICT_WARNING_CFLAGS!$STRICT_WARNING_CFLAGS$ac_delim
35214 ERROR_CFLAGS!$ERROR_CFLAGS$ac_delim
35215 PKG_CONFIG!$PKG_CONFIG$ac_delim
35216 XML_CFLAGS!$XML_CFLAGS$ac_delim
35217 XML_LIBS!$XML_LIBS$ac_delim
35218 XSLT_CFLAGS!$XSLT_CFLAGS$ac_delim
35219 XSLT_LIBS!$XSLT_LIBS$ac_delim
35220 XMKMF!$XMKMF$ac_delim
35221 X_CFLAGS!$X_CFLAGS$ac_delim
35222 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
35223 X_LIBS!$X_LIBS$ac_delim
35224 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
35225 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
35226 GTK_LIBS!$GTK_LIBS$ac_delim
35227 FREETYPE2_CFLAGS!$FREETYPE2_CFLAGS$ac_delim
35228 FREETYPE2_LIBS!$FREETYPE2_LIBS$ac_delim
35229 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
35230 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
35231 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
35232 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
35233 XTEST_LIBS!$XTEST_LIBS$ac_delim
35234 GCONF_CFLAGS!$GCONF_CFLAGS$ac_delim
35235 GCONF_LIBS!$GCONF_LIBS$ac_delim
35236 GDK_CFLAGS!$GDK_CFLAGS$ac_delim
35237 GDK_LIBS!$GDK_LIBS$ac_delim
35238 GSTREAMER_CFLAGS!$GSTREAMER_CFLAGS$ac_delim
35239 GSTREAMER_LIBS!$GSTREAMER_LIBS$ac_delim
35240 GSTREAMER_BASE_CFLAGS!$GSTREAMER_BASE_CFLAGS$ac_delim
35241 GSTREAMER_BASE_LIBS!$GSTREAMER_BASE_LIBS$ac_delim
35242 GSTREAMER_PLUGINS_BASE_CFLAGS!$GSTREAMER_PLUGINS_BASE_CFLAGS$ac_delim
35243 GSTREAMER_PLUGINS_BASE_LIBS!$GSTREAMER_PLUGINS_BASE_LIBS$ac_delim
35244 GST_PLUGIN_LDFLAGS!$GST_PLUGIN_LDFLAGS$ac_delim
35245 GSTREAMER_FILE_READER!$GSTREAMER_FILE_READER$ac_delim
35246 GSTREAMER_MIXER_PROVIDER!$GSTREAMER_MIXER_PROVIDER$ac_delim
35247 QT_CFLAGS!$QT_CFLAGS$ac_delim
35248 QT_LIBS!$QT_LIBS$ac_delim
35250 MOZILLA_CFLAGS!$MOZILLA_CFLAGS$ac_delim
35251 MOZILLA_LIBS!$MOZILLA_LIBS$ac_delim
35252 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
35253 GLIB_LIBS!$GLIB_LIBS$ac_delim
35254 PLUGIN_DIR!$PLUGIN_DIR$ac_delim
35255 USER_JAVAH!$USER_JAVAH$ac_delim
35256 CLASSPATH_INCLUDES!$CLASSPATH_INCLUDES$ac_delim
35257 vm_classes!$vm_classes$ac_delim
35258 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
35259 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
35262 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
35264 elif $ac_last_try; then
35265 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
35266 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
35267 { (exit 1); exit 1; }; }
35269 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35273 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
35274 if test -n "$ac_eof"; then
35275 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
35276 ac_eof=`expr $ac_eof + 1`
35279 cat >>$CONFIG_STATUS <<_ACEOF
35280 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
35281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35284 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
35285 s/^/s,@/; s/!/@,|#_!!_#|/
35288 s/'"$ac_delim"'$/,g/; t
35290 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
35291 ' >>$CONFIG_STATUS <conf$$subs.sed
35292 rm -f conf$$subs.sed
35293 cat >>$CONFIG_STATUS <<_ACEOF
35299 for ac_last_try in false false false false false :; do
35300 cat >conf$$subs.sed <<_ACEOF
35301 MAINT!$MAINT$ac_delim
35302 LIBDEBUG!$LIBDEBUG$ac_delim
35303 INIT_LOAD_LIBRARY!$INIT_LOAD_LIBRARY$ac_delim
35304 ECJ_JAR!$ECJ_JAR$ac_delim
35305 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION!$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION$ac_delim
35306 REMOVE!$REMOVE$ac_delim
35307 MKDIR!$MKDIR$ac_delim
35309 DATE!$DATE$ac_delim
35310 FIND!$FIND$ac_delim
35312 FASTJAR!$FASTJAR$ac_delim
35313 INSTALL_GLIBJ_ZIP_TRUE!$INSTALL_GLIBJ_ZIP_TRUE$ac_delim
35314 INSTALL_GLIBJ_ZIP_FALSE!$INSTALL_GLIBJ_ZIP_FALSE$ac_delim
35315 INSTALL_CLASS_FILES_TRUE!$INSTALL_CLASS_FILES_TRUE$ac_delim
35316 INSTALL_CLASS_FILES_FALSE!$INSTALL_CLASS_FILES_FALSE$ac_delim
35317 BUILD_CLASS_FILES_TRUE!$BUILD_CLASS_FILES_TRUE$ac_delim
35318 BUILD_CLASS_FILES_FALSE!$BUILD_CLASS_FILES_FALSE$ac_delim
35319 EXAMPLESDIR!$EXAMPLESDIR$ac_delim
35320 TOOLSDIR!$TOOLSDIR$ac_delim
35321 GJDOC!$GJDOC$ac_delim
35322 CREATE_API_DOCS_TRUE!$CREATE_API_DOCS_TRUE$ac_delim
35323 CREATE_API_DOCS_FALSE!$CREATE_API_DOCS_FALSE$ac_delim
35325 JAY_SKELETON!$JAY_SKELETON$ac_delim
35326 REGEN_PARSERS_TRUE!$REGEN_PARSERS_TRUE$ac_delim
35327 REGEN_PARSERS_FALSE!$REGEN_PARSERS_FALSE$ac_delim
35328 USE_PREBUILT_GLIBJ_ZIP_TRUE!$USE_PREBUILT_GLIBJ_ZIP_TRUE$ac_delim
35329 USE_PREBUILT_GLIBJ_ZIP_FALSE!$USE_PREBUILT_GLIBJ_ZIP_FALSE$ac_delim
35330 PATH_TO_GLIBJ_ZIP!$PATH_TO_GLIBJ_ZIP$ac_delim
35331 JAVAC!$JAVAC$ac_delim
35332 JAVAC_MEM_OPT!$JAVAC_MEM_OPT$ac_delim
35333 USE_ESCHER_TRUE!$USE_ESCHER_TRUE$ac_delim
35334 USE_ESCHER_FALSE!$USE_ESCHER_FALSE$ac_delim
35335 PATH_TO_ESCHER!$PATH_TO_ESCHER$ac_delim
35336 ENABLE_LOCAL_SOCKETS_TRUE!$ENABLE_LOCAL_SOCKETS_TRUE$ac_delim
35337 ENABLE_LOCAL_SOCKETS_FALSE!$ENABLE_LOCAL_SOCKETS_FALSE$ac_delim
35338 DEFAULT_PREFS_PEER!$DEFAULT_PREFS_PEER$ac_delim
35339 LIBOBJS!$LIBOBJS$ac_delim
35340 LTLIBOBJS!$LTLIBOBJS$ac_delim
35343 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
35345 elif $ac_last_try; then
35346 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
35347 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
35348 { (exit 1); exit 1; }; }
35350 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35354 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
35355 if test -n "$ac_eof"; then
35356 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
35357 ac_eof=`expr $ac_eof + 1`
35360 cat >>$CONFIG_STATUS <<_ACEOF
35361 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
35362 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
35365 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
35366 s/^/s,@/; s/!/@,|#_!!_#|/
35369 s/'"$ac_delim"'$/,g/; t
35371 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
35372 ' >>$CONFIG_STATUS <conf$$subs.sed
35373 rm -f conf$$subs.sed
35374 cat >>$CONFIG_STATUS <<_ACEOF
35381 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35382 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35383 # trailing colons and then remove the whole line if VPATH becomes empty
35384 # (actually we leave an empty line to preserve line numbers).
35385 if test "x$srcdir" = x.; then
35386 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35387 s/:*\$(srcdir):*/:/
35388 s/:*\${srcdir}:*/:/
35390 s/^\([^=]*=[ ]*\):*/\1/
35396 cat >>$CONFIG_STATUS <<\_ACEOF
35397 fi # test -n "$CONFIG_FILES"
35400 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS
35403 :[FHLC]) ac_mode=$ac_tag; continue;;
35405 case $ac_mode$ac_tag in
35407 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
35408 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
35409 { (exit 1); exit 1; }; };;
35410 :[FH]-) ac_tag=-:-;;
35411 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
35428 -) ac_f="$tmp/stdin";;
35429 *) # Look for the file first in the build tree, then in the source tree
35430 # (if the path is not absolute). The absolute path cannot be DOS-style,
35431 # because $ac_f cannot contain `:'.
35435 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
35437 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
35438 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
35439 { (exit 1); exit 1; }; };;
35441 ac_file_inputs="$ac_file_inputs $ac_f"
35444 # Let's still pretend it is `configure' which instantiates (i.e., don't
35445 # use $as_me), people would be surprised to read:
35446 # /* config.h. Generated by config.status. */
35447 configure_input="Generated from "`IFS=:
35448 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
35449 if test x"$ac_file" != x-; then
35450 configure_input="$ac_file. $configure_input"
35451 { echo "$as_me:$LINENO: creating $ac_file" >&5
35452 echo "$as_me: creating $ac_file" >&6;}
35456 *:-:* | *:-) cat >"$tmp/stdin";;
35461 ac_dir=`$as_dirname -- "$ac_file" ||
35462 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35463 X"$ac_file" : 'X\(//\)[^/]' \| \
35464 X"$ac_file" : 'X\(//\)$' \| \
35465 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35471 /^X\(\/\/\)[^/].*/{
35486 -*) as_dir=./$as_dir;;
35488 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
35492 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35493 *) as_qdir=$as_dir;;
35495 as_dirs="'$as_qdir' $as_dirs"
35496 as_dir=`$as_dirname -- "$as_dir" ||
35497 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35498 X"$as_dir" : 'X\(//\)[^/]' \| \
35499 X"$as_dir" : 'X\(//\)$' \| \
35500 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35506 /^X\(\/\/\)[^/].*/{
35519 test -d "$as_dir" && break
35521 test -z "$as_dirs" || eval "mkdir $as_dirs"
35522 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35523 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35524 { (exit 1); exit 1; }; }; }
35528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
35530 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35531 # A ".." for each directory in $ac_dir_suffix.
35532 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35533 case $ac_top_builddir_sub in
35534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
35535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
35538 ac_abs_top_builddir=$ac_pwd
35539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
35540 # for backward compatibility:
35541 ac_top_builddir=$ac_top_build_prefix
35544 .) # We are building in place.
35546 ac_top_srcdir=$ac_top_builddir_sub
35547 ac_abs_top_srcdir=$ac_pwd ;;
35548 [\\/]* | ?:[\\/]* ) # Absolute name.
35549 ac_srcdir=$srcdir$ac_dir_suffix;
35550 ac_top_srcdir=$srcdir
35551 ac_abs_top_srcdir=$srcdir ;;
35552 *) # Relative name.
35553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
35554 ac_top_srcdir=$ac_top_build_prefix$srcdir
35555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
35557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
35567 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35568 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
35570 ac_MKDIR_P=$MKDIR_P
35572 [\\/$]* | ?:[\\/]* ) ;;
35573 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
35577 cat >>$CONFIG_STATUS <<\_ACEOF
35578 # If the template does not know about datarootdir, expand it.
35579 # FIXME: This hack should be removed a few years after 2.60.
35580 ac_datarootdir_hack=; ac_datarootdir_seen=
35582 case `sed -n '/datarootdir/ {
35591 ' $ac_file_inputs` in
35592 *datarootdir*) ac_datarootdir_seen=yes;;
35593 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
35594 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35595 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35597 cat >>$CONFIG_STATUS <<_ACEOF
35598 ac_datarootdir_hack='
35599 s&@datadir@&$datadir&g
35600 s&@docdir@&$docdir&g
35601 s&@infodir@&$infodir&g
35602 s&@localedir@&$localedir&g
35603 s&@mandir@&$mandir&g
35604 s&\\\${datarootdir}&$datarootdir&g' ;;
35608 # Neutralize VPATH when `$srcdir' = `.'.
35609 # Shell code in configure.ac might set extrasub.
35610 # FIXME: do we really want to maintain this feature?
35611 cat >>$CONFIG_STATUS <<_ACEOF
35615 cat >>$CONFIG_STATUS <<\_ACEOF
35617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35618 s&@configure_input@&$configure_input&;t t
35619 s&@top_builddir@&$ac_top_builddir_sub&;t t
35620 s&@srcdir@&$ac_srcdir&;t t
35621 s&@abs_srcdir@&$ac_abs_srcdir&;t t
35622 s&@top_srcdir@&$ac_top_srcdir&;t t
35623 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
35624 s&@builddir@&$ac_builddir&;t t
35625 s&@abs_builddir@&$ac_abs_builddir&;t t
35626 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
35627 s&@INSTALL@&$ac_INSTALL&;t t
35628 s&@MKDIR_P@&$ac_MKDIR_P&;t t
35629 $ac_datarootdir_hack
35630 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
35632 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35633 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
35634 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
35635 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35636 which seems to be undefined. Please make sure it is defined." >&5
35637 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35638 which seems to be undefined. Please make sure it is defined." >&2;}
35642 -) cat "$tmp/out"; rm -f "$tmp/out";;
35643 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
35652 # Transform confdefs.h into a sed script `conftest.defines', that
35653 # substitutes the proper values into config.h.in to produce config.h.
35654 rm -f conftest.defines conftest.tail
35655 # First, append a space to every undef/define line, to ease matching.
35656 echo 's/$/ /' >conftest.defines
35657 # Then, protect against being on the right side of a sed subst, or in
35658 # an unquoted here document, in config.status. If some macros were
35659 # called several times there might be several #defines for the same
35660 # symbol, which is useless. But do not sort them, since the last
35661 # AC_DEFINE must be honored.
35662 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
35663 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
35664 # NAME is the cpp macro being defined, VALUE is the value it is being given.
35665 # PARAMS is the parameter list in the macro definition--in most cases, it's
35666 # just an empty string.
35667 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
35668 ac_dB='\\)[ (].*,\\1define\\2'
35676 s/^[ ]*#[ ]*define[ ][ ]*//
35681 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
35682 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
35683 ' >>conftest.defines
35685 # Remove the space that was appended to ease matching.
35686 # Then replace #undef with comments. This is necessary, for
35687 # example, in the case of _POSIX_SOURCE, which is predefined and required
35688 # on some systems where configure will not decide to define it.
35689 # (The regexp can be short, since the line contains either #define or #undef.)
35691 s,^[ #]*u.*,/* & */,' >>conftest.defines
35693 # Break up conftest.defines:
35694 ac_max_sed_lines=50
35696 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
35697 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
35698 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
35700 ac_in='$ac_file_inputs'
35701 ac_out='"$tmp/out1"'
35702 ac_nxt='"$tmp/out2"'
35706 # Write a here document:
35707 cat >>$CONFIG_STATUS <<_ACEOF
35708 # First, check the format of the line:
35709 cat >"\$tmp/defines.sed" <<\\CEOF
35710 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
35711 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
35715 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
35717 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
35718 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
35719 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
35720 grep . conftest.tail >/dev/null || break
35721 rm -f conftest.defines
35722 mv conftest.tail conftest.defines
35724 rm -f conftest.defines conftest.tail
35726 echo "ac_result=$ac_in" >>$CONFIG_STATUS
35727 cat >>$CONFIG_STATUS <<\_ACEOF
35728 if test x"$ac_file" != x-; then
35729 echo "/* $configure_input */" >"$tmp/config.h"
35730 cat "$ac_result" >>"$tmp/config.h"
35731 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
35732 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35733 echo "$as_me: $ac_file is unchanged" >&6;}
35736 mv "$tmp/config.h" $ac_file
35739 echo "/* $configure_input */"
35743 # Compute $ac_file's index in $config_headers.
35746 for _am_header in $config_headers :; do
35747 case $_am_header in
35748 $_am_arg | $_am_arg:* )
35751 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35754 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
35755 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35756 X"$_am_arg" : 'X\(//\)[^/]' \| \
35757 X"$_am_arg" : 'X\(//\)$' \| \
35758 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
35760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35764 /^X\(\/\/\)[^/].*/{
35776 s/.*/./; q'`/stamp-h$_am_stamp_count
35783 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5
35784 echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;}
35786 if test ! -r "$srcdir/$ac_source"; then
35787 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
35788 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
35789 { (exit 1); exit 1; }; }
35793 # Try a relative symlink, then a hard link, then a copy.
35795 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
35796 *) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;;
35798 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
35799 ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null ||
35800 cp -p "$srcdir/$ac_source" "$ac_file" ||
35801 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5
35802 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;}
35803 { (exit 1); exit 1; }; }
35805 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35806 echo "$as_me: executing $ac_file commands" >&6;}
35811 case $ac_file$ac_mode in
35812 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35813 # Strip MF so we end up with the name of the file.
35814 mf=`echo "$mf" | sed -e 's/:.*$//'`
35815 # Check whether this is an Automake generated Makefile or not.
35816 # We used to match only the files named `Makefile.in', but
35817 # some people rename them; so instead we look at the file content.
35818 # Grep'ing the first line is not enough: some people post-process
35819 # each Makefile.in and add a new line on top of each file to say so.
35820 # Grep'ing the whole file is not good either: AIX grep has a line
35821 # limit of 2048, but all sed's we know have understand at least 4000.
35822 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
35823 dirpart=`$as_dirname -- "$mf" ||
35824 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35825 X"$mf" : 'X\(//\)[^/]' \| \
35826 X"$mf" : 'X\(//\)$' \| \
35827 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35833 /^X\(\/\/\)[^/].*/{
35849 # Extract the definition of DEPDIR, am__include, and am__quote
35850 # from the Makefile without running `make'.
35851 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35852 test -z "$DEPDIR" && continue
35853 am__include=`sed -n 's/^am__include = //p' < "$mf"`
35854 test -z "am__include" && continue
35855 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35856 # When using ansi2knr, U may be empty or an underscore; expand it
35857 U=`sed -n 's/^U = //p' < "$mf"`
35858 # Find all dependency output files, they are included files with
35859 # $(DEPDIR) in their names. We invoke sed twice because it is the
35860 # simplest approach to changing $(DEPDIR) to its actual value in the
35862 for file in `sed -n "
35863 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35864 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35865 # Make sure the directory exists.
35866 test -f "$dirpart/$file" && continue
35867 fdir=`$as_dirname -- "$file" ||
35868 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35869 X"$file" : 'X\(//\)[^/]' \| \
35870 X"$file" : 'X\(//\)$' \| \
35871 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35877 /^X\(\/\/\)[^/].*/{
35890 { as_dir=$dirpart/$fdir
35892 -*) as_dir=./$as_dir;;
35894 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
35898 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35899 *) as_qdir=$as_dir;;
35901 as_dirs="'$as_qdir' $as_dirs"
35902 as_dir=`$as_dirname -- "$as_dir" ||
35903 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35904 X"$as_dir" : 'X\(//\)[^/]' \| \
35905 X"$as_dir" : 'X\(//\)$' \| \
35906 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35912 /^X\(\/\/\)[^/].*/{
35925 test -d "$as_dir" && break
35927 test -z "$as_dirs" || eval "mkdir $as_dirs"
35928 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35929 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35930 { (exit 1); exit 1; }; }; }
35931 # echo "creating $dirpart/$file"
35932 echo '# dummy' > "$dirpart/$file"
35936 "mkcollections.pl":C) chmod 755 lib/mkcollections.pl ;;
35938 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
35939 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
35940 ac_stdint=$tmp/_stdint.h
35942 echo "#ifndef" $_ac_stdint_h >$ac_stdint
35943 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
35944 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
35945 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
35946 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
35947 if test "_$ac_cv_header_stdint_t" != "_" ; then
35948 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
35949 echo "#include <stdint.h>" >>$ac_stdint
35950 echo "#endif" >>$ac_stdint
35951 echo "#endif" >>$ac_stdint
35954 cat >>$ac_stdint <<STDINT_EOF
35956 /* ................... shortcircuit part ........................... */
35958 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
35959 #include <stdint.h>
35961 #include <stddef.h>
35963 /* .................... configured part ............................ */
35967 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
35968 if test "_$ac_cv_header_stdint_x" != "_" ; then
35969 ac_header="$ac_cv_header_stdint_x"
35970 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
35972 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
35975 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
35976 if test "_$ac_cv_header_stdint_o" != "_" ; then
35977 ac_header="$ac_cv_header_stdint_o"
35978 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
35980 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
35983 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
35984 if test "_$ac_cv_header_stdint_u" != "_" ; then
35985 ac_header="$ac_cv_header_stdint_u"
35986 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
35988 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
35991 echo "" >>$ac_stdint
35993 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
35994 echo "#include <$ac_header>" >>$ac_stdint
35995 echo "" >>$ac_stdint
35998 echo "/* which 64bit typedef has been found */" >>$ac_stdint
35999 if test "$ac_cv_type_uint64_t" = "yes" ; then
36000 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
36002 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
36004 if test "$ac_cv_type_u_int64_t" = "yes" ; then
36005 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
36007 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
36009 echo "" >>$ac_stdint
36011 echo "/* which type model has been detected */" >>$ac_stdint
36012 if test "_$ac_cv_char_data_model" != "_" ; then
36013 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
36014 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
36016 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
36017 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
36019 echo "" >>$ac_stdint
36021 echo "/* whether int_least types were detected */" >>$ac_stdint
36022 if test "$ac_cv_type_int_least32_t" = "yes"; then
36023 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
36025 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
36027 echo "/* whether int_fast types were detected */" >>$ac_stdint
36028 if test "$ac_cv_type_int_fast32_t" = "yes"; then
36029 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
36031 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
36033 echo "/* whether intmax_t type was detected */" >>$ac_stdint
36034 if test "$ac_cv_type_intmax_t" = "yes"; then
36035 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
36037 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
36039 echo "" >>$ac_stdint
36041 cat >>$ac_stdint <<STDINT_EOF
36042 /* .................... detections part ............................ */
36044 /* whether we need to define bitspecific types from compiler base types */
36045 #ifndef _STDINT_HEADER_INTPTR
36046 #ifndef _STDINT_HEADER_UINT32
36047 #ifndef _STDINT_HEADER_U_INT32
36048 #define _STDINT_NEED_INT_MODEL_T
36050 #define _STDINT_HAVE_U_INT_TYPES
36055 #ifdef _STDINT_HAVE_U_INT_TYPES
36056 #undef _STDINT_NEED_INT_MODEL_T
36059 #ifdef _STDINT_CHAR_MODEL
36060 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
36061 #ifndef _STDINT_BYTE_MODEL
36062 #define _STDINT_BYTE_MODEL 12
36067 #ifndef _STDINT_HAVE_INT_LEAST32_T
36068 #define _STDINT_NEED_INT_LEAST_T
36071 #ifndef _STDINT_HAVE_INT_FAST32_T
36072 #define _STDINT_NEED_INT_FAST_T
36075 #ifndef _STDINT_HEADER_INTPTR
36076 #define _STDINT_NEED_INTPTR_T
36077 #ifndef _STDINT_HAVE_INTMAX_T
36078 #define _STDINT_NEED_INTMAX_T
36083 /* .................... definition part ............................ */
36085 /* some system headers have good uint64_t */
36086 #ifndef _HAVE_UINT64_T
36087 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
36088 #define _HAVE_UINT64_T
36089 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
36090 #define _HAVE_UINT64_T
36091 typedef u_int64_t uint64_t;
36095 #ifndef _HAVE_UINT64_T
36096 /* .. here are some common heuristics using compiler runtime specifics */
36097 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
36098 #define _HAVE_UINT64_T
36099 #define _HAVE_LONGLONG_UINT64_T
36100 typedef long long int64_t;
36101 typedef unsigned long long uint64_t;
36103 #elif !defined __STRICT_ANSI__
36104 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
36105 #define _HAVE_UINT64_T
36106 typedef __int64 int64_t;
36107 typedef unsigned __int64 uint64_t;
36109 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
36110 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
36111 #if !defined _NO_LONGLONG
36112 #define _HAVE_UINT64_T
36113 #define _HAVE_LONGLONG_UINT64_T
36114 typedef long long int64_t;
36115 typedef unsigned long long uint64_t;
36118 #elif defined __alpha || (defined __mips && defined _ABIN32)
36119 #if !defined _NO_LONGLONG
36120 typedef long int64_t;
36121 typedef unsigned long uint64_t;
36123 /* compiler/cpu type to define int64_t */
36128 #if defined _STDINT_HAVE_U_INT_TYPES
36129 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
36130 typedef u_int8_t uint8_t;
36131 typedef u_int16_t uint16_t;
36132 typedef u_int32_t uint32_t;
36134 /* glibc compatibility */
36135 #ifndef __int8_t_defined
36136 #define __int8_t_defined
36140 #ifdef _STDINT_NEED_INT_MODEL_T
36141 /* we must guess all the basic types. Apart from byte-adressable system, */
36142 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
36143 /* (btw, those nibble-addressable systems are way off, or so we assume) */
36146 #if defined _STDINT_BYTE_MODEL
36147 #if _STDINT_LONG_MODEL+0 == 242
36148 /* 2:4:2 = IP16 = a normal 16-bit system */
36149 typedef unsigned char uint8_t;
36150 typedef unsigned short uint16_t;
36151 typedef unsigned long uint32_t;
36152 #ifndef __int8_t_defined
36153 #define __int8_t_defined
36154 typedef char int8_t;
36155 typedef short int16_t;
36156 typedef long int32_t;
36158 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
36159 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
36160 /* 4:4:4 = ILP32 = a normal 32-bit system */
36161 typedef unsigned char uint8_t;
36162 typedef unsigned short uint16_t;
36163 typedef unsigned int uint32_t;
36164 #ifndef __int8_t_defined
36165 #define __int8_t_defined
36166 typedef char int8_t;
36167 typedef short int16_t;
36168 typedef int int32_t;
36170 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
36171 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
36172 /* 4:8:8 = LP64 = a normal 64-bit system */
36173 typedef unsigned char uint8_t;
36174 typedef unsigned short uint16_t;
36175 typedef unsigned int uint32_t;
36176 #ifndef __int8_t_defined
36177 #define __int8_t_defined
36178 typedef char int8_t;
36179 typedef short int16_t;
36180 typedef int int32_t;
36182 /* this system has a "long" of 64bit */
36183 #ifndef _HAVE_UINT64_T
36184 #define _HAVE_UINT64_T
36185 typedef unsigned long uint64_t;
36186 typedef long int64_t;
36188 #elif _STDINT_LONG_MODEL+0 == 448
36189 /* LLP64 a 64-bit system derived from a 32-bit system */
36190 typedef unsigned char uint8_t;
36191 typedef unsigned short uint16_t;
36192 typedef unsigned int uint32_t;
36193 #ifndef __int8_t_defined
36194 #define __int8_t_defined
36195 typedef char int8_t;
36196 typedef short int16_t;
36197 typedef int int32_t;
36199 /* assuming the system has a "long long" */
36200 #ifndef _HAVE_UINT64_T
36201 #define _HAVE_UINT64_T
36202 #define _HAVE_LONGLONG_UINT64_T
36203 typedef unsigned long long uint64_t;
36204 typedef long long int64_t;
36207 #define _STDINT_NO_INT32_T
36210 #define _STDINT_NO_INT8_T
36211 #define _STDINT_NO_INT32_T
36216 * quote from SunOS-5.8 sys/inttypes.h:
36217 * Use at your own risk. As of February 1996, the committee is squarely
36218 * behind the fixed sized types; the "least" and "fast" types are still being
36219 * discussed. The probability that the "fast" types may be removed before
36220 * the standard is finalized is high enough that they are not currently
36224 #if defined _STDINT_NEED_INT_LEAST_T
36225 typedef int8_t int_least8_t;
36226 typedef int16_t int_least16_t;
36227 typedef int32_t int_least32_t;
36228 #ifdef _HAVE_UINT64_T
36229 typedef int64_t int_least64_t;
36232 typedef uint8_t uint_least8_t;
36233 typedef uint16_t uint_least16_t;
36234 typedef uint32_t uint_least32_t;
36235 #ifdef _HAVE_UINT64_T
36236 typedef uint64_t uint_least64_t;
36241 #if defined _STDINT_NEED_INT_FAST_T
36242 typedef int8_t int_fast8_t;
36243 typedef int int_fast16_t;
36244 typedef int32_t int_fast32_t;
36245 #ifdef _HAVE_UINT64_T
36246 typedef int64_t int_fast64_t;
36249 typedef uint8_t uint_fast8_t;
36250 typedef unsigned uint_fast16_t;
36251 typedef uint32_t uint_fast32_t;
36252 #ifdef _HAVE_UINT64_T
36253 typedef uint64_t uint_fast64_t;
36258 #ifdef _STDINT_NEED_INTMAX_T
36259 #ifdef _HAVE_UINT64_T
36260 typedef int64_t intmax_t;
36261 typedef uint64_t uintmax_t;
36263 typedef long intmax_t;
36264 typedef unsigned long uintmax_t;
36268 #ifdef _STDINT_NEED_INTPTR_T
36269 #ifndef __intptr_t_defined
36270 #define __intptr_t_defined
36271 /* we encourage using "long" to store pointer values, never use "int" ! */
36272 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
36273 typedef unsigned int uintptr_t;
36274 typedef int intptr_t;
36275 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
36276 typedef unsigned long uintptr_t;
36277 typedef long intptr_t;
36278 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
36279 typedef uint64_t uintptr_t;
36280 typedef int64_t intptr_t;
36281 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
36282 typedef unsigned long uintptr_t;
36283 typedef long intptr_t;
36288 /* The ISO C99 standard specifies that in C++ implementations these
36289 should only be defined if explicitly requested. */
36290 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
36294 # define INT8_C(c) c
36295 # define INT16_C(c) c
36296 # define INT32_C(c) c
36297 # ifdef _HAVE_LONGLONG_UINT64_T
36298 # define INT64_C(c) c ## L
36300 # define INT64_C(c) c ## LL
36304 # define UINT8_C(c) c ## U
36305 # define UINT16_C(c) c ## U
36306 # define UINT32_C(c) c ## U
36307 # ifdef _HAVE_LONGLONG_UINT64_T
36308 # define UINT64_C(c) c ## UL
36310 # define UINT64_C(c) c ## ULL
36313 /* Maximal type. */
36314 # ifdef _HAVE_LONGLONG_UINT64_T
36315 # define INTMAX_C(c) c ## L
36316 # define UINTMAX_C(c) c ## UL
36318 # define INTMAX_C(c) c ## LL
36319 # define UINTMAX_C(c) c ## ULL
36322 /* literalnumbers */
36326 /* These limits are merily those of a two complement byte-oriented system */
36328 /* Minimum of signed integral types. */
36330 # define INT8_MIN (-128)
36333 # define INT16_MIN (-32767-1)
36336 # define INT32_MIN (-2147483647-1)
36339 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
36342 /* Maximum of signed integral types. */
36344 # define INT8_MAX (127)
36347 # define INT16_MAX (32767)
36350 # define INT32_MAX (2147483647)
36353 # define INT64_MAX (__INT64_C(9223372036854775807))
36356 /* Maximum of unsigned integral types. */
36358 # define UINT8_MAX (255)
36361 # define UINT16_MAX (65535)
36364 # define UINT32_MAX (4294967295U)
36367 # define UINT64_MAX (__UINT64_C(18446744073709551615))
36370 /* Minimum of signed integral types having a minimum size. */
36371 # define INT_LEAST8_MIN INT8_MIN
36372 # define INT_LEAST16_MIN INT16_MIN
36373 # define INT_LEAST32_MIN INT32_MIN
36374 # define INT_LEAST64_MIN INT64_MIN
36375 /* Maximum of signed integral types having a minimum size. */
36376 # define INT_LEAST8_MAX INT8_MAX
36377 # define INT_LEAST16_MAX INT16_MAX
36378 # define INT_LEAST32_MAX INT32_MAX
36379 # define INT_LEAST64_MAX INT64_MAX
36381 /* Maximum of unsigned integral types having a minimum size. */
36382 # define UINT_LEAST8_MAX UINT8_MAX
36383 # define UINT_LEAST16_MAX UINT16_MAX
36384 # define UINT_LEAST32_MAX UINT32_MAX
36385 # define UINT_LEAST64_MAX UINT64_MAX
36394 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
36395 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
36396 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
36398 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
36399 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36400 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
36401 X"$ac_stdint_h" : 'X\(//\)$' \| \
36402 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
36403 echo X"$ac_stdint_h" |
36404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36408 /^X\(\/\/\)[^/].*/{
36423 -*) as_dir=./$as_dir;;
36425 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
36429 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
36430 *) as_qdir=$as_dir;;
36432 as_dirs="'$as_qdir' $as_dirs"
36433 as_dir=`$as_dirname -- "$as_dir" ||
36434 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36435 X"$as_dir" : 'X\(//\)[^/]' \| \
36436 X"$as_dir" : 'X\(//\)$' \| \
36437 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
36439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36443 /^X\(\/\/\)[^/].*/{
36456 test -d "$as_dir" && break
36458 test -z "$as_dirs" || eval "mkdir $as_dirs"
36459 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
36460 echo "$as_me: error: cannot create directory $as_dir" >&2;}
36461 { (exit 1); exit 1; }; }; }
36463 mv $ac_stdint $ac_stdint_h
36466 "gappletviewer":C) chmod 755 tools/gappletviewer ;;
36467 "gjarsigner":C) chmod 755 tools/gjarsigner ;;
36468 "gkeytool":C) chmod 755 tools/gkeytool ;;
36469 "gjar":C) chmod 755 tools/gjar ;;
36470 "gnative2ascii":C) chmod 755 tools/gnative2ascii ;;
36471 "gserialver":C) chmod 755 tools/gserialver ;;
36472 "grmiregistry":C) chmod 755 tools/grmiregistry ;;
36473 "gtnameserv":C) chmod 755 tools/gtnameserv ;;
36474 "gorbd":C) chmod 755 tools/gorbd ;;
36475 "grmid":C) chmod 755 tools/grmid ;;
36476 "grmic":C) chmod 755 tools/grmic ;;
36477 "gjavah":C) chmod 755 tools/gjavah ;;
36478 "gen-classlist":C) chmod 755 lib/gen-classlist.sh ;;
36479 "copy-vmresources":C) chmod 755 lib/copy-vmresources.sh ;;
36485 { (exit 0); exit 0; }
36487 chmod +x $CONFIG_STATUS
36488 ac_clean_files=$ac_clean_files_save
36491 # configure is writing to config.log, and then calls config.status.
36492 # config.status does its own redirection, appending to config.log.
36493 # Unfortunately, on DOS this fails, as config.log is still kept open
36494 # by configure, so config.status won't be able to write to it; its
36495 # output is simply discarded. So we exec the FD to /dev/null,
36496 # effectively closing config.log, so it can be properly (re)opened and
36497 # appended to by config.status. When coming back to configure, we
36498 # need to make the FD available again.
36499 if test "$no_create" != yes; then
36501 ac_config_status_args=
36502 test "$silent" = yes &&
36503 ac_config_status_args="$ac_config_status_args --quiet"
36505 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36507 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36508 # would make configure fail if this is the last instruction.
36509 $ac_cs_success || { (exit 1); exit 1; }
36513 # Create standard.omit based on decisions we just made.
36514 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
36515 if test x$use_escher != xtrue; then
36516 echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit