* error.c (show_locus): Remove always-false test.
[official-gcc.git] / libjava / classpath / configure
blob16382ca2d37bb70cd6fd92ed33d72adb76894538
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.94-pre.
5 # Report bugs to <classpath@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
51 done
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
98 rm -f conf$$.sh
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
156 esac
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
240 IFS=" $as_nl"
242 # CDPATH.
243 $as_unset CDPATH
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251 exec 6>&1
254 # Initializations.
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='GNU Classpath'
271 PACKAGE_TARNAME='classpath'
272 PACKAGE_VERSION='0.94-pre'
273 PACKAGE_STRING='GNU Classpath 0.94-pre'
274 PACKAGE_BUGREPORT='classpath@gnu.org'
276 ac_unique_file="java/lang/System.java"
277 ac_default_prefix=/usr/local/classpath
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE GENINSRC_TRUE GENINSRC_FALSE multi_basedir LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE toolexeclibdir nativeexeclibdir glibjdir VM_BINARY FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY ECJ_JAR JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
318 # Initialize some variables set by options.
319 ac_init_help=
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
323 cache_file=/dev/null
324 exec_prefix=NONE
325 no_create=
326 no_recursion=
327 prefix=NONE
328 program_prefix=NONE
329 program_suffix=NONE
330 program_transform_name=s,x,x,
331 silent=
332 site=
333 srcdir=
334 verbose=
335 x_includes=NONE
336 x_libraries=NONE
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
356 ac_prev=
357 for ac_option
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
370 case $ac_option in
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
389 --config-cache | -C)
390 cache_file=config.cache ;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 esac
653 done
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670 done
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682 done
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
687 build=$build_alias
688 host=$host_alias
689 target=$target_alias
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
702 ac_tool_prefix=
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705 test "$silent" = yes && exec 6>/dev/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718 echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
728 else
729 ac_srcdir_defaulted=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796 \`configure' configures GNU Classpath 0.94-pre to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
805 Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816 _ACEOF
818 cat <<_ACEOF
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845 _ACEOF
847 cat <<\_ACEOF
849 Program names:
850 --program-prefix=PREFIX prepend PREFIX to installed program names
851 --program-suffix=SUFFIX append SUFFIX to installed program names
852 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
854 X features:
855 --x-includes=DIR X include files are in DIR
856 --x-libraries=DIR X library files are in DIR
858 System types:
859 --build=BUILD configure for building on BUILD [guessed]
860 --host=HOST cross-compile to build programs to run on HOST [BUILD]
861 --target=TARGET configure for building compilers for TARGET [HOST]
862 _ACEOF
865 if test -n "$ac_init_help"; then
866 case $ac_init_help in
867 short | recursive ) echo "Configuration of GNU Classpath 0.94-pre:";;
868 esac
869 cat <<\_ACEOF
871 Optional Features:
872 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
873 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
874 --enable-java-maintainer-mode
875 allow rebuilding of .class and .h files
876 --enable-generated-files-in-srcdir
877 put copies of generated files in source dir
878 intended for creating source tarballs for users
879 without texinfo, perl, bison or flex.
880 --enable-multilib build many library versions (default)
881 --enable-collections create collections.jar default=no
882 --enable-jni compile JNI source default=yes
883 --enable-core-jni compile JNI sources for core default=yes
884 --enable-default-preferences-peer[=peer type or class name]
885 specify one of: "gconf" [default] for a GConf based
886 backend, "file" for a file based one, "memory" for a
887 transient one, or a fully qualified class name
888 implementing java.util.prefs.PreferencesFactory
889 --disable-gconf-peer compile GConf native peers (disabled by
890 --disable-jni) default=yes
892 --enable-Werror whether to compile C code with -Werror which turns
893 any compiler warning into a compilation failure
894 default=no
895 --enable-default-toolkit
896 fully qualified class name of default AWT toolkit
897 --enable-xmlj compile native libxml/xslt library default=no
898 --disable-alsa compile ALSA providers (enable by --enable-alsa)
899 default=yes
900 --disable-dependency-tracking speeds up one-time build
901 --enable-dependency-tracking do not reject slow dependency extractors
902 --disable-dssi compile DSSI providers (enable by --enable-dssi)
903 default=yes
904 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
905 default=yes
906 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
907 default=no
908 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
909 default=yes
910 --enable-regen-headers automatically regenerate JNI headers default=no
911 --enable-tool-wrappers create tool wrapper binaries default=no
912 --enable-static=PKGS build static libraries default=no
913 --enable-shared=PKGS build shared libraries default=yes
914 --enable-fast-install=PKGS optimize for fast installation default=yes
915 --disable-libtool-lock avoid locking (might break parallel builds)
916 --disable-rpath do not hardcode runtime library paths
917 --enable-maintainer-mode enable make rules and dependencies not useful
918 (and sometimes confusing) to the casual installer
919 --enable-debug enable runtime debugging code
920 --enable-load-library enable to use JNI native methods default=yes
921 --enable-java-lang-system-explicit-initialization
922 will the VM explicitly invoke java.lang.System's
923 static initialization methods default=no
924 --enable-examples enable build of the examples default=yes
925 --enable-portable-native-sync
926 synchronize VM threads portably
927 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
929 Optional Packages:
930 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
931 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
932 --with-native-libdir sets the installation directory for native libraries
933 default='${libdir}/${PACKAGE}'
934 --with-glibj-dir sets the installation directory for glibj.zip
935 default='${libdir}/${PACKAGE}'
936 --with-vm sets the VM binary name
937 default='${prefix}/bin/jamvm'
938 --with-gnu-ld assume the C compiler uses GNU ld default=no
939 --with-pic try to use only PIC/non-PIC objects default=use both
940 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
941 --without-libiconv-prefix don't search for libiconv in includedir and libdir
942 --with-x use the X Window System
943 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
944 systems use pkg-config.
945 --with-javah specify path or name of a javah-like program
946 --with-gcj bytecode compilation with gcj
947 --with-jikes bytecode compilation with jikes
948 --with-kjc bytecode compilation with kjc
949 --with-gcjx bytecode compilation with gcjx
950 --with-ecj bytecode compilation with ecj
951 --with-classpath specify path to a classes.zip like file
952 --with-vm-classes specify path to VM override source files
953 --with-ecj-jar=ABS.PATH specify jar file containing the Eclipse Java
954 Compiler
955 --with-fastjar=PATH define to use a fastjar style tool
956 --with-glibj define what to install (zip|flat|both|none|build)
957 [default=zip]
958 --with-gjdoc generate documentation using gjdoc (default is NO)
959 --with-jay Regenerate the parsers with jay must be given the
960 path to the jay executable
961 --with-glibj-zip=ABS.PATH
962 use prebuilt glibj.zip class library
963 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
965 Some influential environment variables:
966 CC C compiler command
967 CFLAGS C compiler flags
968 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
969 nonstandard directory <lib dir>
970 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
971 headers in a nonstandard directory <include dir>
972 CPP C preprocessor
973 CXX C++ compiler command
974 CXXFLAGS C++ compiler flags
975 CXXCPP C++ preprocessor
977 Use these variables to override the choices made by `configure' or to help
978 it to find libraries and programs with nonstandard names/locations.
980 Report bugs to <classpath@gnu.org>.
981 _ACEOF
984 if test "$ac_init_help" = "recursive"; then
985 # If there are subdirs, report their specific --help.
986 ac_popdir=`pwd`
987 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
988 test -d $ac_dir || continue
989 ac_builddir=.
991 if test "$ac_dir" != .; then
992 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
993 # A "../" for each directory in $ac_dir_suffix.
994 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
995 else
996 ac_dir_suffix= ac_top_builddir=
999 case $srcdir in
1000 .) # No --srcdir option. We are building in place.
1001 ac_srcdir=.
1002 if test -z "$ac_top_builddir"; then
1003 ac_top_srcdir=.
1004 else
1005 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1006 fi ;;
1007 [\\/]* | ?:[\\/]* ) # Absolute path.
1008 ac_srcdir=$srcdir$ac_dir_suffix;
1009 ac_top_srcdir=$srcdir ;;
1010 *) # Relative path.
1011 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1012 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1013 esac
1015 # Do not use `cd foo && pwd` to compute absolute paths, because
1016 # the directories may not exist.
1017 case `pwd` in
1018 .) ac_abs_builddir="$ac_dir";;
1020 case "$ac_dir" in
1021 .) ac_abs_builddir=`pwd`;;
1022 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1023 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1024 esac;;
1025 esac
1026 case $ac_abs_builddir in
1027 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1029 case ${ac_top_builddir}. in
1030 .) ac_abs_top_builddir=$ac_abs_builddir;;
1031 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1032 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1033 esac;;
1034 esac
1035 case $ac_abs_builddir in
1036 .) ac_abs_srcdir=$ac_srcdir;;
1038 case $ac_srcdir in
1039 .) ac_abs_srcdir=$ac_abs_builddir;;
1040 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1041 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1042 esac;;
1043 esac
1044 case $ac_abs_builddir in
1045 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1047 case $ac_top_srcdir in
1048 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1049 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1050 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1051 esac;;
1052 esac
1054 cd $ac_dir
1055 # Check for guested configure; otherwise get Cygnus style configure.
1056 if test -f $ac_srcdir/configure.gnu; then
1057 echo
1058 $SHELL $ac_srcdir/configure.gnu --help=recursive
1059 elif test -f $ac_srcdir/configure; then
1060 echo
1061 $SHELL $ac_srcdir/configure --help=recursive
1062 elif test -f $ac_srcdir/configure.ac ||
1063 test -f $ac_srcdir/configure.in; then
1064 echo
1065 $ac_configure --help
1066 else
1067 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1069 cd $ac_popdir
1070 done
1073 test -n "$ac_init_help" && exit 0
1074 if $ac_init_version; then
1075 cat <<\_ACEOF
1076 GNU Classpath configure 0.94-pre
1077 generated by GNU Autoconf 2.59
1079 Copyright (C) 2003 Free Software Foundation, Inc.
1080 This configure script is free software; the Free Software Foundation
1081 gives unlimited permission to copy, distribute and modify it.
1082 _ACEOF
1083 exit 0
1085 exec 5>config.log
1086 cat >&5 <<_ACEOF
1087 This file contains any messages produced by compilers while
1088 running configure, to aid debugging if configure makes a mistake.
1090 It was created by GNU Classpath $as_me 0.94-pre, which was
1091 generated by GNU Autoconf 2.59. Invocation command line was
1093 $ $0 $@
1095 _ACEOF
1097 cat <<_ASUNAME
1098 ## --------- ##
1099 ## Platform. ##
1100 ## --------- ##
1102 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1103 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1104 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1105 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1106 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1108 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1109 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1111 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1112 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1113 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1114 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1115 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1116 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1117 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1119 _ASUNAME
1121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1122 for as_dir in $PATH
1124 IFS=$as_save_IFS
1125 test -z "$as_dir" && as_dir=.
1126 echo "PATH: $as_dir"
1127 done
1129 } >&5
1131 cat >&5 <<_ACEOF
1134 ## ----------- ##
1135 ## Core tests. ##
1136 ## ----------- ##
1138 _ACEOF
1141 # Keep a trace of the command line.
1142 # Strip out --no-create and --no-recursion so they do not pile up.
1143 # Strip out --silent because we don't want to record it for future runs.
1144 # Also quote any args containing shell meta-characters.
1145 # Make two passes to allow for proper duplicate-argument suppression.
1146 ac_configure_args=
1147 ac_configure_args0=
1148 ac_configure_args1=
1149 ac_sep=
1150 ac_must_keep_next=false
1151 for ac_pass in 1 2
1153 for ac_arg
1155 case $ac_arg in
1156 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1157 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1158 | -silent | --silent | --silen | --sile | --sil)
1159 continue ;;
1160 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1161 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1162 esac
1163 case $ac_pass in
1164 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1166 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1167 if test $ac_must_keep_next = true; then
1168 ac_must_keep_next=false # Got value, back to normal.
1169 else
1170 case $ac_arg in
1171 *=* | --config-cache | -C | -disable-* | --disable-* \
1172 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1173 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1174 | -with-* | --with-* | -without-* | --without-* | --x)
1175 case "$ac_configure_args0 " in
1176 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1177 esac
1179 -* ) ac_must_keep_next=true ;;
1180 esac
1182 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1183 # Get rid of the leading space.
1184 ac_sep=" "
1186 esac
1187 done
1188 done
1189 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1190 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1192 # When interrupted or exit'd, cleanup temporary files, and complete
1193 # config.log. We remove comments because anyway the quotes in there
1194 # would cause problems or look ugly.
1195 # WARNING: Be sure not to use single quotes in there, as some shells,
1196 # such as our DU 5.0 friend, will then `close' the trap.
1197 trap 'exit_status=$?
1198 # Save into config.log some information that might help in debugging.
1200 echo
1202 cat <<\_ASBOX
1203 ## ---------------- ##
1204 ## Cache variables. ##
1205 ## ---------------- ##
1206 _ASBOX
1207 echo
1208 # The following way of writing the cache mishandles newlines in values,
1210 (set) 2>&1 |
1211 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1212 *ac_space=\ *)
1213 sed -n \
1214 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1218 sed -n \
1219 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1221 esac;
1223 echo
1225 cat <<\_ASBOX
1226 ## ----------------- ##
1227 ## Output variables. ##
1228 ## ----------------- ##
1229 _ASBOX
1230 echo
1231 for ac_var in $ac_subst_vars
1233 eval ac_val=$`echo $ac_var`
1234 echo "$ac_var='"'"'$ac_val'"'"'"
1235 done | sort
1236 echo
1238 if test -n "$ac_subst_files"; then
1239 cat <<\_ASBOX
1240 ## ------------- ##
1241 ## Output files. ##
1242 ## ------------- ##
1243 _ASBOX
1244 echo
1245 for ac_var in $ac_subst_files
1247 eval ac_val=$`echo $ac_var`
1248 echo "$ac_var='"'"'$ac_val'"'"'"
1249 done | sort
1250 echo
1253 if test -s confdefs.h; then
1254 cat <<\_ASBOX
1255 ## ----------- ##
1256 ## confdefs.h. ##
1257 ## ----------- ##
1258 _ASBOX
1259 echo
1260 sed "/^$/d" confdefs.h | sort
1261 echo
1263 test "$ac_signal" != 0 &&
1264 echo "$as_me: caught signal $ac_signal"
1265 echo "$as_me: exit $exit_status"
1266 } >&5
1267 rm -f core *.core &&
1268 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1269 exit $exit_status
1271 for ac_signal in 1 2 13 15; do
1272 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1273 done
1274 ac_signal=0
1276 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1277 rm -rf conftest* confdefs.h
1278 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1279 echo >confdefs.h
1281 # Predefined preprocessor variables.
1283 cat >>confdefs.h <<_ACEOF
1284 #define PACKAGE_NAME "$PACKAGE_NAME"
1285 _ACEOF
1288 cat >>confdefs.h <<_ACEOF
1289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1290 _ACEOF
1293 cat >>confdefs.h <<_ACEOF
1294 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1295 _ACEOF
1298 cat >>confdefs.h <<_ACEOF
1299 #define PACKAGE_STRING "$PACKAGE_STRING"
1300 _ACEOF
1303 cat >>confdefs.h <<_ACEOF
1304 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1305 _ACEOF
1308 # Let the site file select an alternate cache file if it wants to.
1309 # Prefer explicitly selected file to automatically selected ones.
1310 if test -z "$CONFIG_SITE"; then
1311 if test "x$prefix" != xNONE; then
1312 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1313 else
1314 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1317 for ac_site_file in $CONFIG_SITE; do
1318 if test -r "$ac_site_file"; then
1319 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1320 echo "$as_me: loading site script $ac_site_file" >&6;}
1321 sed 's/^/| /' "$ac_site_file" >&5
1322 . "$ac_site_file"
1324 done
1326 if test -r "$cache_file"; then
1327 # Some versions of bash will fail to source /dev/null (special
1328 # files actually), so we avoid doing that.
1329 if test -f "$cache_file"; then
1330 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1331 echo "$as_me: loading cache $cache_file" >&6;}
1332 case $cache_file in
1333 [\\/]* | ?:[\\/]* ) . $cache_file;;
1334 *) . ./$cache_file;;
1335 esac
1337 else
1338 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1339 echo "$as_me: creating cache $cache_file" >&6;}
1340 >$cache_file
1343 # Check that the precious variables saved in the cache have kept the same
1344 # value.
1345 ac_cache_corrupted=false
1346 for ac_var in `(set) 2>&1 |
1347 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1348 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1349 eval ac_new_set=\$ac_env_${ac_var}_set
1350 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1351 eval ac_new_val="\$ac_env_${ac_var}_value"
1352 case $ac_old_set,$ac_new_set in
1353 set,)
1354 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1355 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1356 ac_cache_corrupted=: ;;
1357 ,set)
1358 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1359 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1360 ac_cache_corrupted=: ;;
1361 ,);;
1363 if test "x$ac_old_val" != "x$ac_new_val"; then
1364 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1365 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1366 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1367 echo "$as_me: former value: $ac_old_val" >&2;}
1368 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1369 echo "$as_me: current value: $ac_new_val" >&2;}
1370 ac_cache_corrupted=:
1371 fi;;
1372 esac
1373 # Pass precious variables to config.status.
1374 if test "$ac_new_set" = set; then
1375 case $ac_new_val in
1376 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1377 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1378 *) ac_arg=$ac_var=$ac_new_val ;;
1379 esac
1380 case " $ac_configure_args " in
1381 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1382 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1383 esac
1385 done
1386 if $ac_cache_corrupted; then
1387 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1388 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1389 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1390 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1391 { (exit 1); exit 1; }; }
1394 ac_ext=c
1395 ac_cpp='$CPP $CPPFLAGS'
1396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1428 ac_aux_dir=
1429 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1430 if test -f $ac_dir/install-sh; then
1431 ac_aux_dir=$ac_dir
1432 ac_install_sh="$ac_aux_dir/install-sh -c"
1433 break
1434 elif test -f $ac_dir/install.sh; then
1435 ac_aux_dir=$ac_dir
1436 ac_install_sh="$ac_aux_dir/install.sh -c"
1437 break
1438 elif test -f $ac_dir/shtool; then
1439 ac_aux_dir=$ac_dir
1440 ac_install_sh="$ac_aux_dir/shtool install -c"
1441 break
1443 done
1444 if test -z "$ac_aux_dir"; then
1445 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1446 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1447 { (exit 1); exit 1; }; }
1449 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1450 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1451 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1453 # Make sure we can run config.sub.
1454 $ac_config_sub sun4 >/dev/null 2>&1 ||
1455 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1456 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1457 { (exit 1); exit 1; }; }
1459 echo "$as_me:$LINENO: checking build system type" >&5
1460 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1461 if test "${ac_cv_build+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1463 else
1464 ac_cv_build_alias=$build_alias
1465 test -z "$ac_cv_build_alias" &&
1466 ac_cv_build_alias=`$ac_config_guess`
1467 test -z "$ac_cv_build_alias" &&
1468 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1469 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1470 { (exit 1); exit 1; }; }
1471 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1472 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1473 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1474 { (exit 1); exit 1; }; }
1477 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1478 echo "${ECHO_T}$ac_cv_build" >&6
1479 build=$ac_cv_build
1480 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1481 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1482 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485 echo "$as_me:$LINENO: checking host system type" >&5
1486 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1487 if test "${ac_cv_host+set}" = set; then
1488 echo $ECHO_N "(cached) $ECHO_C" >&6
1489 else
1490 ac_cv_host_alias=$host_alias
1491 test -z "$ac_cv_host_alias" &&
1492 ac_cv_host_alias=$ac_cv_build_alias
1493 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1494 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1495 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1496 { (exit 1); exit 1; }; }
1499 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1500 echo "${ECHO_T}$ac_cv_host" >&6
1501 host=$ac_cv_host
1502 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1503 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1504 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1507 echo "$as_me:$LINENO: checking target system type" >&5
1508 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1509 if test "${ac_cv_target+set}" = set; then
1510 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 else
1512 ac_cv_target_alias=$target_alias
1513 test "x$ac_cv_target_alias" = "x" &&
1514 ac_cv_target_alias=$ac_cv_host_alias
1515 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1516 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1517 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1518 { (exit 1); exit 1; }; }
1521 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1522 echo "${ECHO_T}$ac_cv_target" >&6
1523 target=$ac_cv_target
1524 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1525 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1526 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529 # The aliases save the names the user supplied, while $host etc.
1530 # will get canonicalized.
1531 test -n "$target_alias" &&
1532 test "$program_prefix$program_suffix$program_transform_name" = \
1533 NONENONEs,x,x, &&
1534 program_prefix=${target_alias}-
1536 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1537 if test "${enable_java_maintainer_mode+set}" = set; then
1538 enableval="$enable_java_maintainer_mode"
1543 if test "$enable_java_maintainer_mode" = yes; then
1544 JAVA_MAINTAINER_MODE_TRUE=
1545 JAVA_MAINTAINER_MODE_FALSE='#'
1546 else
1547 JAVA_MAINTAINER_MODE_TRUE='#'
1548 JAVA_MAINTAINER_MODE_FALSE=
1552 # We would like to our source tree to be readonly. However when releases or
1553 # pre-releases are generated, the man pages need to be included as they are
1554 # converted from the texi files via perl which we don't require end users to
1555 # have installed.
1556 # Therefore we have --enable-generated-files-in-srcdir to do just that.
1558 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
1559 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
1560 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1561 if test "${enable_generated_files_in_srcdir+set}" = set; then
1562 enableval="$enable_generated_files_in_srcdir"
1563 generated_files_in_srcdir=$enableval
1564 else
1565 generated_files_in_srcdir=no
1568 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
1569 echo "${ECHO_T}$generated_files_in_srcdir" >&6
1572 if test x$generated_files_in_srcdir = xyes; then
1573 GENINSRC_TRUE=
1574 GENINSRC_FALSE='#'
1575 else
1576 GENINSRC_TRUE='#'
1577 GENINSRC_FALSE=
1581 # Find the rest of the source tree framework.
1582 # Default to --enable-multilib
1583 # Check whether --enable-multilib or --disable-multilib was given.
1584 if test "${enable_multilib+set}" = set; then
1585 enableval="$enable_multilib"
1586 case "$enableval" in
1587 yes) multilib=yes ;;
1588 no) multilib=no ;;
1589 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1590 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1591 { (exit 1); exit 1; }; } ;;
1592 esac
1593 else
1594 multilib=yes
1597 # We may get other options which we leave undocumented:
1598 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1599 # See config-ml.in if you want the gory details.
1601 if test "$srcdir" = "."; then
1602 if test "$with_target_subdir" != "."; then
1603 multi_basedir="$srcdir/$with_multisrctop../../.."
1604 else
1605 multi_basedir="$srcdir/$with_multisrctop../.."
1607 else
1608 multi_basedir="$srcdir/../.."
1612 # Even if the default multilib is not a cross compilation,
1613 # it may be that some of the other multilibs are.
1614 if test $cross_compiling = no && test $multilib = yes \
1615 && test "x${with_multisubdir}" != x ; then
1616 cross_compiling=maybe
1619 ac_config_commands="$ac_config_commands default-1"
1622 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1624 LIBVERSION="0:0:0"
1626 case "$host_os" in
1627 darwin*)
1628 cp_module=""
1631 cp_module="-module"
1633 esac
1635 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1638 CLASSPATH_CONVENIENCE="-no-undefined"
1642 am__api_version="1.9"
1643 # Find a good install program. We prefer a C program (faster),
1644 # so one script is as good as another. But avoid the broken or
1645 # incompatible versions:
1646 # SysV /etc/install, /usr/sbin/install
1647 # SunOS /usr/etc/install
1648 # IRIX /sbin/install
1649 # AIX /bin/install
1650 # AmigaOS /C/install, which installs bootblocks on floppy discs
1651 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1652 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1653 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1654 # OS/2's system install, which has a completely different semantic
1655 # ./install, which can be erroneously created by make from ./install.sh.
1656 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1657 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1658 if test -z "$INSTALL"; then
1659 if test "${ac_cv_path_install+set}" = set; then
1660 echo $ECHO_N "(cached) $ECHO_C" >&6
1661 else
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1663 for as_dir in $PATH
1665 IFS=$as_save_IFS
1666 test -z "$as_dir" && as_dir=.
1667 # Account for people who put trailing slashes in PATH elements.
1668 case $as_dir/ in
1669 ./ | .// | /cC/* | \
1670 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1671 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1672 /usr/ucb/* ) ;;
1674 # OSF1 and SCO ODT 3.0 have their own names for install.
1675 # Don't use installbsd from OSF since it installs stuff as root
1676 # by default.
1677 for ac_prog in ginstall scoinst install; do
1678 for ac_exec_ext in '' $ac_executable_extensions; do
1679 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1680 if test $ac_prog = install &&
1681 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1682 # AIX install. It has an incompatible calling convention.
1684 elif test $ac_prog = install &&
1685 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1686 # program-specific install script used by HP pwplus--don't use.
1688 else
1689 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1690 break 3
1693 done
1694 done
1696 esac
1697 done
1701 if test "${ac_cv_path_install+set}" = set; then
1702 INSTALL=$ac_cv_path_install
1703 else
1704 # As a last resort, use the slow shell script. We don't cache a
1705 # path for INSTALL within a source directory, because that will
1706 # break other packages using the cache if that directory is
1707 # removed, or if the path is relative.
1708 INSTALL=$ac_install_sh
1711 echo "$as_me:$LINENO: result: $INSTALL" >&5
1712 echo "${ECHO_T}$INSTALL" >&6
1714 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1715 # It thinks the first close brace ends the variable substitution.
1716 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1718 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1720 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1722 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1723 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1724 # Just in case
1725 sleep 1
1726 echo timestamp > conftest.file
1727 # Do `set' in a subshell so we don't clobber the current shell's
1728 # arguments. Must try -L first in case configure is actually a
1729 # symlink; some systems play weird games with the mod time of symlinks
1730 # (eg FreeBSD returns the mod time of the symlink's containing
1731 # directory).
1732 if (
1733 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1734 if test "$*" = "X"; then
1735 # -L didn't work.
1736 set X `ls -t $srcdir/configure conftest.file`
1738 rm -f conftest.file
1739 if test "$*" != "X $srcdir/configure conftest.file" \
1740 && test "$*" != "X conftest.file $srcdir/configure"; then
1742 # If neither matched, then we have a broken ls. This can happen
1743 # if, for instance, CONFIG_SHELL is bash and it inherits a
1744 # broken ls alias from the environment. This has actually
1745 # happened. Such a system could not be considered "sane".
1746 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1747 alias in your environment" >&5
1748 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1749 alias in your environment" >&2;}
1750 { (exit 1); exit 1; }; }
1753 test "$2" = conftest.file
1755 then
1756 # Ok.
1758 else
1759 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1760 Check your system clock" >&5
1761 echo "$as_me: error: newly created file is older than distributed files!
1762 Check your system clock" >&2;}
1763 { (exit 1); exit 1; }; }
1765 echo "$as_me:$LINENO: result: yes" >&5
1766 echo "${ECHO_T}yes" >&6
1767 test "$program_prefix" != NONE &&
1768 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1769 # Use a double $ so make ignores it.
1770 test "$program_suffix" != NONE &&
1771 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1772 # Double any \ or $. echo might interpret backslashes.
1773 # By default was `s,x,x', remove it if useless.
1774 cat <<\_ACEOF >conftest.sed
1775 s/[\\$]/&&/g;s/;s,x,x,$//
1776 _ACEOF
1777 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1778 rm conftest.sed
1780 # expand $ac_aux_dir to an absolute path
1781 am_aux_dir=`cd $ac_aux_dir && pwd`
1783 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1784 # Use eval to expand $SHELL
1785 if eval "$MISSING --run true"; then
1786 am_missing_run="$MISSING --run "
1787 else
1788 am_missing_run=
1789 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1790 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1793 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1794 # We used to keeping the `.' as first argument, in order to
1795 # allow $(mkdir_p) to be used without argument. As in
1796 # $(mkdir_p) $(somedir)
1797 # where $(somedir) is conditionally defined. However this is wrong
1798 # for two reasons:
1799 # 1. if the package is installed by a user who cannot write `.'
1800 # make install will fail,
1801 # 2. the above comment should most certainly read
1802 # $(mkdir_p) $(DESTDIR)$(somedir)
1803 # so it does not work when $(somedir) is undefined and
1804 # $(DESTDIR) is not.
1805 # To support the latter case, we have to write
1806 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1807 # so the `.' trick is pointless.
1808 mkdir_p='mkdir -p --'
1809 else
1810 # On NextStep and OpenStep, the `mkdir' command does not
1811 # recognize any option. It will interpret all options as
1812 # directories to create, and then abort because `.' already
1813 # exists.
1814 for d in ./-p ./--version;
1816 test -d $d && rmdir $d
1817 done
1818 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1819 if test -f "$ac_aux_dir/mkinstalldirs"; then
1820 mkdir_p='$(mkinstalldirs)'
1821 else
1822 mkdir_p='$(install_sh) -d'
1826 for ac_prog in gawk mawk nawk awk
1828 # Extract the first word of "$ac_prog", so it can be a program name with args.
1829 set dummy $ac_prog; ac_word=$2
1830 echo "$as_me:$LINENO: checking for $ac_word" >&5
1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1832 if test "${ac_cv_prog_AWK+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1834 else
1835 if test -n "$AWK"; then
1836 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1837 else
1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 for as_dir in $PATH
1841 IFS=$as_save_IFS
1842 test -z "$as_dir" && as_dir=.
1843 for ac_exec_ext in '' $ac_executable_extensions; do
1844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_prog_AWK="$ac_prog"
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1847 break 2
1849 done
1850 done
1854 AWK=$ac_cv_prog_AWK
1855 if test -n "$AWK"; then
1856 echo "$as_me:$LINENO: result: $AWK" >&5
1857 echo "${ECHO_T}$AWK" >&6
1858 else
1859 echo "$as_me:$LINENO: result: no" >&5
1860 echo "${ECHO_T}no" >&6
1863 test -n "$AWK" && break
1864 done
1866 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1867 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1868 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1869 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1870 echo $ECHO_N "(cached) $ECHO_C" >&6
1871 else
1872 cat >conftest.make <<\_ACEOF
1873 all:
1874 @echo 'ac_maketemp="$(MAKE)"'
1875 _ACEOF
1876 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1877 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1878 if test -n "$ac_maketemp"; then
1879 eval ac_cv_prog_make_${ac_make}_set=yes
1880 else
1881 eval ac_cv_prog_make_${ac_make}_set=no
1883 rm -f conftest.make
1885 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1886 echo "$as_me:$LINENO: result: yes" >&5
1887 echo "${ECHO_T}yes" >&6
1888 SET_MAKE=
1889 else
1890 echo "$as_me:$LINENO: result: no" >&5
1891 echo "${ECHO_T}no" >&6
1892 SET_MAKE="MAKE=${MAKE-make}"
1895 rm -rf .tst 2>/dev/null
1896 mkdir .tst 2>/dev/null
1897 if test -d .tst; then
1898 am__leading_dot=.
1899 else
1900 am__leading_dot=_
1902 rmdir .tst 2>/dev/null
1904 # test to see if srcdir already configured
1905 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1906 test -f $srcdir/config.status; then
1907 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1908 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1909 { (exit 1); exit 1; }; }
1912 # test whether we have cygpath
1913 if test -z "$CYGPATH_W"; then
1914 if (cygpath --version) >/dev/null 2>/dev/null; then
1915 CYGPATH_W='cygpath -w'
1916 else
1917 CYGPATH_W=echo
1922 # Define the identity of the package.
1923 PACKAGE='classpath'
1924 VERSION='0.94-pre'
1927 cat >>confdefs.h <<_ACEOF
1928 #define PACKAGE "$PACKAGE"
1929 _ACEOF
1932 cat >>confdefs.h <<_ACEOF
1933 #define VERSION "$VERSION"
1934 _ACEOF
1936 # Some tools Automake needs.
1938 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1941 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1944 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1947 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1950 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1952 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1954 # Installed binaries are usually stripped using `strip' when the user
1955 # run `make install-strip'. However `strip' might not be the right
1956 # tool to use in cross-compilation environments, therefore Automake
1957 # will honor the `STRIP' environment variable to overrule this program.
1958 if test "$cross_compiling" != no; then
1959 if test -n "$ac_tool_prefix"; then
1960 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1961 set dummy ${ac_tool_prefix}strip; ac_word=$2
1962 echo "$as_me:$LINENO: checking for $ac_word" >&5
1963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1964 if test "${ac_cv_prog_STRIP+set}" = set; then
1965 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 else
1967 if test -n "$STRIP"; then
1968 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1969 else
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 for as_dir in $PATH
1973 IFS=$as_save_IFS
1974 test -z "$as_dir" && as_dir=.
1975 for ac_exec_ext in '' $ac_executable_extensions; do
1976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1979 break 2
1981 done
1982 done
1986 STRIP=$ac_cv_prog_STRIP
1987 if test -n "$STRIP"; then
1988 echo "$as_me:$LINENO: result: $STRIP" >&5
1989 echo "${ECHO_T}$STRIP" >&6
1990 else
1991 echo "$as_me:$LINENO: result: no" >&5
1992 echo "${ECHO_T}no" >&6
1996 if test -z "$ac_cv_prog_STRIP"; then
1997 ac_ct_STRIP=$STRIP
1998 # Extract the first word of "strip", so it can be a program name with args.
1999 set dummy strip; ac_word=$2
2000 echo "$as_me:$LINENO: checking for $ac_word" >&5
2001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2002 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2004 else
2005 if test -n "$ac_ct_STRIP"; then
2006 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2007 else
2008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009 for as_dir in $PATH
2011 IFS=$as_save_IFS
2012 test -z "$as_dir" && as_dir=.
2013 for ac_exec_ext in '' $ac_executable_extensions; do
2014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015 ac_cv_prog_ac_ct_STRIP="strip"
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2017 break 2
2019 done
2020 done
2022 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2025 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2026 if test -n "$ac_ct_STRIP"; then
2027 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2028 echo "${ECHO_T}$ac_ct_STRIP" >&6
2029 else
2030 echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6
2034 STRIP=$ac_ct_STRIP
2035 else
2036 STRIP="$ac_cv_prog_STRIP"
2040 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2042 # We need awk for the "check" target. The system "awk" is bad on
2043 # some platforms.
2044 # Always define AMTAR for backward compatibility.
2046 AMTAR=${AMTAR-"${am_missing_run}tar"}
2049 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2050 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2051 # Loop over all known methods to create a tar archive until one works.
2052 _am_tools='gnutar plaintar pax cpio none'
2053 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2054 # Do not fold the above two line into one, because Tru64 sh and
2055 # Solaris sh will not grok spaces in the rhs of `-'.
2056 for _am_tool in $_am_tools
2058 case $_am_tool in
2059 gnutar)
2060 for _am_tar in tar gnutar gtar;
2062 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2063 ($_am_tar --version) >&5 2>&5
2064 ac_status=$?
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); } && break
2067 done
2068 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2069 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2070 am__untar="$_am_tar -xf -"
2072 plaintar)
2073 # Must skip GNU tar: if it does not support --format= it doesn't create
2074 # ustar tarball either.
2075 (tar --version) >/dev/null 2>&1 && continue
2076 am__tar='tar chf - "$$tardir"'
2077 am__tar_='tar chf - "$tardir"'
2078 am__untar='tar xf -'
2080 pax)
2081 am__tar='pax -L -x ustar -w "$$tardir"'
2082 am__tar_='pax -L -x ustar -w "$tardir"'
2083 am__untar='pax -r'
2085 cpio)
2086 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2087 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2088 am__untar='cpio -i -H ustar -d'
2090 none)
2091 am__tar=false
2092 am__tar_=false
2093 am__untar=false
2095 esac
2097 # If the value was cached, stop now. We just wanted to have am__tar
2098 # and am__untar set.
2099 test -n "${am_cv_prog_tar_ustar}" && break
2101 # tar/untar a dummy directory, and stop if the command works
2102 rm -rf conftest.dir
2103 mkdir conftest.dir
2104 echo GrepMe > conftest.dir/file
2105 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2106 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2107 ac_status=$?
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); }
2110 rm -rf conftest.dir
2111 if test -s conftest.tar; then
2112 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2113 ($am__untar <conftest.tar) >&5 2>&5
2114 ac_status=$?
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }
2117 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2119 done
2120 rm -rf conftest.dir
2122 if test "${am_cv_prog_tar_ustar+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125 am_cv_prog_tar_ustar=$_am_tool
2128 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2129 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2135 ac_config_headers="$ac_config_headers include/config.h"
2141 # Check whether --enable-collections or --disable-collections was given.
2142 if test "${enable_collections+set}" = set; then
2143 enableval="$enable_collections"
2144 case x"${enableval}" in
2145 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2146 xno) COMPILE_COLLECTIONS=no ;;
2147 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2148 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2149 esac
2150 else
2151 COMPILE_COLLECTIONS=no
2155 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2156 CREATE_COLLECTIONS_TRUE=
2157 CREATE_COLLECTIONS_FALSE='#'
2158 else
2159 CREATE_COLLECTIONS_TRUE='#'
2160 CREATE_COLLECTIONS_FALSE=
2164 # Check whether --enable-jni or --disable-jni was given.
2165 if test "${enable_jni+set}" = set; then
2166 enableval="$enable_jni"
2167 case "${enableval}" in
2168 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2169 no) COMPILE_JNI=no ;;
2170 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2171 esac
2172 else
2173 COMPILE_JNI=yes
2177 if test "x${COMPILE_JNI}" = xyes; then
2178 CREATE_JNI_LIBRARIES_TRUE=
2179 CREATE_JNI_LIBRARIES_FALSE='#'
2180 else
2181 CREATE_JNI_LIBRARIES_TRUE='#'
2182 CREATE_JNI_LIBRARIES_FALSE=
2186 # Check whether --enable-core-jni or --disable-core-jni was given.
2187 if test "${enable_core_jni+set}" = set; then
2188 enableval="$enable_core_jni"
2189 case "${enableval}" in
2190 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2191 no) COMPILE_CORE_JNI=no ;;
2192 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2193 esac
2194 else
2195 COMPILE_CORE_JNI=yes
2199 if test "x${COMPILE_CORE_JNI}" = xyes; then
2200 CREATE_CORE_JNI_LIBRARIES_TRUE=
2201 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2202 else
2203 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2204 CREATE_CORE_JNI_LIBRARIES_FALSE=
2208 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2209 if test "${enable_default_preferences_peer+set}" = set; then
2210 enableval="$enable_default_preferences_peer"
2211 case "${enableval}" in
2212 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
2213 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
2214 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
2215 no|false) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2216 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2217 { (exit 1); exit 1; }; } ;;
2218 *) DEFAULT_PREFS_PEER=${enableval} ;;
2219 esac
2220 else
2221 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
2224 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2225 if test "${enable_gconf_peer+set}" = set; then
2226 enableval="$enable_gconf_peer"
2227 case "${enableval}" in
2228 yes) COMPILE_GCONF_PEER=yes ;;
2229 no) COMPILE_GCONF_PEER=no ;;
2230 *) COMPILE_GCONF_PEER=yes ;;
2231 esac
2232 else
2233 COMPILE_GCONF_PEER=yes
2237 if test "x${COMPILE_GCONF_PEER}" = xyes; then
2238 CREATE_GCONF_PEER_LIBRARIES_TRUE=
2239 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
2240 else
2241 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
2242 CREATE_GCONF_PEER_LIBRARIES_FALSE=
2246 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2247 if test "${enable_gconf_peers+set}" = set; then
2248 enableval="$enable_gconf_peers"
2249 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2250 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2251 { (exit 1); exit 1; }; }
2254 # Check whether --enable-Werror or --disable-Werror was given.
2255 if test "${enable_Werror+set}" = set; then
2256 enableval="$enable_Werror"
2257 case "${enableval}" in
2258 yes) ENABLE_WERROR=yes ;;
2259 no) ENABLE_WERROR=no ;;
2260 *) ENABLE_WERROR=default ;;
2261 esac
2262 else
2263 ENABLE_WERROR=default
2266 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2267 if test "${enable_default_toolkit+set}" = set; then
2268 enableval="$enable_default_toolkit"
2271 default_toolkit=$enable_default_toolkit
2272 if test "$default_toolkit" = ""; then
2273 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2277 # Check whether --enable-xmlj or --disable-xmlj was given.
2278 if test "${enable_xmlj+set}" = set; then
2279 enableval="$enable_xmlj"
2280 case "${enableval}" in
2281 yes) COMPILE_XMLJ=yes ;;
2282 no) COMPILE_XMLJ=no ;;
2283 *) COMPILE_XMLJ=no ;;
2284 esac
2285 else
2286 COMPILE_XMLJ=no
2290 if test "x${COMPILE_XMLJ}" = xyes; then
2291 CREATE_XMLJ_LIBRARY_TRUE=
2292 CREATE_XMLJ_LIBRARY_FALSE='#'
2293 else
2294 CREATE_XMLJ_LIBRARY_TRUE='#'
2295 CREATE_XMLJ_LIBRARY_FALSE=
2299 DEPDIR="${am__leading_dot}deps"
2301 ac_config_commands="$ac_config_commands depfiles"
2304 am_make=${MAKE-make}
2305 cat > confinc << 'END'
2306 am__doit:
2307 @echo done
2308 .PHONY: am__doit
2310 # If we don't find an include directive, just comment out the code.
2311 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2312 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2313 am__include="#"
2314 am__quote=
2315 _am_result=none
2316 # First try GNU make style include.
2317 echo "include confinc" > confmf
2318 # We grep out `Entering directory' and `Leaving directory'
2319 # messages which can occur if `w' ends up in MAKEFLAGS.
2320 # In particular we don't look at `^make:' because GNU make might
2321 # be invoked under some other name (usually "gmake"), in which
2322 # case it prints its new name instead of `make'.
2323 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2324 am__include=include
2325 am__quote=
2326 _am_result=GNU
2328 # Now try BSD make style include.
2329 if test "$am__include" = "#"; then
2330 echo '.include "confinc"' > confmf
2331 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2332 am__include=.include
2333 am__quote="\""
2334 _am_result=BSD
2339 echo "$as_me:$LINENO: result: $_am_result" >&5
2340 echo "${ECHO_T}$_am_result" >&6
2341 rm -f confinc confmf
2343 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2344 if test "${enable_dependency_tracking+set}" = set; then
2345 enableval="$enable_dependency_tracking"
2348 if test "x$enable_dependency_tracking" != xno; then
2349 am_depcomp="$ac_aux_dir/depcomp"
2350 AMDEPBACKSLASH='\'
2354 if test "x$enable_dependency_tracking" != xno; then
2355 AMDEP_TRUE=
2356 AMDEP_FALSE='#'
2357 else
2358 AMDEP_TRUE='#'
2359 AMDEP_FALSE=
2364 ac_ext=c
2365 ac_cpp='$CPP $CPPFLAGS'
2366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2369 if test -n "$ac_tool_prefix"; then
2370 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2371 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2372 echo "$as_me:$LINENO: checking for $ac_word" >&5
2373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2374 if test "${ac_cv_prog_CC+set}" = set; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6
2376 else
2377 if test -n "$CC"; then
2378 ac_cv_prog_CC="$CC" # Let the user override the test.
2379 else
2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381 for as_dir in $PATH
2383 IFS=$as_save_IFS
2384 test -z "$as_dir" && as_dir=.
2385 for ac_exec_ext in '' $ac_executable_extensions; do
2386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2387 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2389 break 2
2391 done
2392 done
2396 CC=$ac_cv_prog_CC
2397 if test -n "$CC"; then
2398 echo "$as_me:$LINENO: result: $CC" >&5
2399 echo "${ECHO_T}$CC" >&6
2400 else
2401 echo "$as_me:$LINENO: result: no" >&5
2402 echo "${ECHO_T}no" >&6
2406 if test -z "$ac_cv_prog_CC"; then
2407 ac_ct_CC=$CC
2408 # Extract the first word of "gcc", so it can be a program name with args.
2409 set dummy gcc; ac_word=$2
2410 echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2412 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 else
2415 if test -n "$ac_ct_CC"; then
2416 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2417 else
2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419 for as_dir in $PATH
2421 IFS=$as_save_IFS
2422 test -z "$as_dir" && as_dir=.
2423 for ac_exec_ext in '' $ac_executable_extensions; do
2424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2425 ac_cv_prog_ac_ct_CC="gcc"
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 break 2
2429 done
2430 done
2434 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2435 if test -n "$ac_ct_CC"; then
2436 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2437 echo "${ECHO_T}$ac_ct_CC" >&6
2438 else
2439 echo "$as_me:$LINENO: result: no" >&5
2440 echo "${ECHO_T}no" >&6
2443 CC=$ac_ct_CC
2444 else
2445 CC="$ac_cv_prog_CC"
2448 if test -z "$CC"; then
2449 if test -n "$ac_tool_prefix"; then
2450 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2451 set dummy ${ac_tool_prefix}cc; ac_word=$2
2452 echo "$as_me:$LINENO: checking for $ac_word" >&5
2453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2454 if test "${ac_cv_prog_CC+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 else
2457 if test -n "$CC"; then
2458 ac_cv_prog_CC="$CC" # Let the user override the test.
2459 else
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 for as_dir in $PATH
2463 IFS=$as_save_IFS
2464 test -z "$as_dir" && as_dir=.
2465 for ac_exec_ext in '' $ac_executable_extensions; do
2466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2467 ac_cv_prog_CC="${ac_tool_prefix}cc"
2468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 break 2
2471 done
2472 done
2476 CC=$ac_cv_prog_CC
2477 if test -n "$CC"; then
2478 echo "$as_me:$LINENO: result: $CC" >&5
2479 echo "${ECHO_T}$CC" >&6
2480 else
2481 echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6
2486 if test -z "$ac_cv_prog_CC"; then
2487 ac_ct_CC=$CC
2488 # Extract the first word of "cc", so it can be a program name with args.
2489 set dummy cc; ac_word=$2
2490 echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2492 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test -n "$ac_ct_CC"; then
2496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 ac_cv_prog_ac_ct_CC="cc"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2509 done
2510 done
2514 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2515 if test -n "$ac_ct_CC"; then
2516 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2517 echo "${ECHO_T}$ac_ct_CC" >&6
2518 else
2519 echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6
2523 CC=$ac_ct_CC
2524 else
2525 CC="$ac_cv_prog_CC"
2529 if test -z "$CC"; then
2530 # Extract the first word of "cc", so it can be a program name with args.
2531 set dummy cc; ac_word=$2
2532 echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2534 if test "${ac_cv_prog_CC+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 else
2537 if test -n "$CC"; then
2538 ac_cv_prog_CC="$CC" # Let the user override the test.
2539 else
2540 ac_prog_rejected=no
2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 for as_dir in $PATH
2544 IFS=$as_save_IFS
2545 test -z "$as_dir" && as_dir=.
2546 for ac_exec_ext in '' $ac_executable_extensions; do
2547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2549 ac_prog_rejected=yes
2550 continue
2552 ac_cv_prog_CC="cc"
2553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2554 break 2
2556 done
2557 done
2559 if test $ac_prog_rejected = yes; then
2560 # We found a bogon in the path, so make sure we never use it.
2561 set dummy $ac_cv_prog_CC
2562 shift
2563 if test $# != 0; then
2564 # We chose a different compiler from the bogus one.
2565 # However, it has the same basename, so the bogon will be chosen
2566 # first if we set CC to just the basename; use the full file name.
2567 shift
2568 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2573 CC=$ac_cv_prog_CC
2574 if test -n "$CC"; then
2575 echo "$as_me:$LINENO: result: $CC" >&5
2576 echo "${ECHO_T}$CC" >&6
2577 else
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2583 if test -z "$CC"; then
2584 if test -n "$ac_tool_prefix"; then
2585 for ac_prog in cl
2587 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2588 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2589 echo "$as_me:$LINENO: checking for $ac_word" >&5
2590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2591 if test "${ac_cv_prog_CC+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 else
2594 if test -n "$CC"; then
2595 ac_cv_prog_CC="$CC" # Let the user override the test.
2596 else
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 for as_dir in $PATH
2600 IFS=$as_save_IFS
2601 test -z "$as_dir" && as_dir=.
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2604 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 break 2
2608 done
2609 done
2613 CC=$ac_cv_prog_CC
2614 if test -n "$CC"; then
2615 echo "$as_me:$LINENO: result: $CC" >&5
2616 echo "${ECHO_T}$CC" >&6
2617 else
2618 echo "$as_me:$LINENO: result: no" >&5
2619 echo "${ECHO_T}no" >&6
2622 test -n "$CC" && break
2623 done
2625 if test -z "$CC"; then
2626 ac_ct_CC=$CC
2627 for ac_prog in cl
2629 # Extract the first word of "$ac_prog", so it can be a program name with args.
2630 set dummy $ac_prog; ac_word=$2
2631 echo "$as_me:$LINENO: checking for $ac_word" >&5
2632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2633 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 else
2636 if test -n "$ac_ct_CC"; then
2637 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2638 else
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 for as_dir in $PATH
2642 IFS=$as_save_IFS
2643 test -z "$as_dir" && as_dir=.
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2646 ac_cv_prog_ac_ct_CC="$ac_prog"
2647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 break 2
2650 done
2651 done
2655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2656 if test -n "$ac_ct_CC"; then
2657 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2658 echo "${ECHO_T}$ac_ct_CC" >&6
2659 else
2660 echo "$as_me:$LINENO: result: no" >&5
2661 echo "${ECHO_T}no" >&6
2664 test -n "$ac_ct_CC" && break
2665 done
2667 CC=$ac_ct_CC
2673 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2674 See \`config.log' for more details." >&5
2675 echo "$as_me: error: no acceptable C compiler found in \$PATH
2676 See \`config.log' for more details." >&2;}
2677 { (exit 1); exit 1; }; }
2679 # Provide some information about the compiler.
2680 echo "$as_me:$LINENO:" \
2681 "checking for C compiler version" >&5
2682 ac_compiler=`set X $ac_compile; echo $2`
2683 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2684 (eval $ac_compiler --version </dev/null >&5) 2>&5
2685 ac_status=$?
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }
2688 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2689 (eval $ac_compiler -v </dev/null >&5) 2>&5
2690 ac_status=$?
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }
2693 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2694 (eval $ac_compiler -V </dev/null >&5) 2>&5
2695 ac_status=$?
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }
2699 cat >conftest.$ac_ext <<_ACEOF
2700 /* confdefs.h. */
2701 _ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2707 main ()
2711 return 0;
2713 _ACEOF
2714 # FIXME: Cleanup?
2715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2716 (eval $ac_link) 2>&5
2717 ac_status=$?
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; then
2720 gcc_no_link=no
2721 else
2722 gcc_no_link=yes
2725 if test x$gcc_no_link = xyes; then
2726 # Setting cross_compile will disable run tests; it will
2727 # also disable AC_CHECK_FILE but that's generally
2728 # correct if we can't link.
2729 cross_compiling=yes
2730 EXEEXT=
2731 else
2732 cat >conftest.$ac_ext <<_ACEOF
2733 /* confdefs.h. */
2734 _ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2740 main ()
2744 return 0;
2746 _ACEOF
2747 ac_clean_files_save=$ac_clean_files
2748 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2749 # Try to create an executable without -o first, disregard a.out.
2750 # It will help us diagnose broken compilers, and finding out an intuition
2751 # of exeext.
2752 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2753 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2754 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2755 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2756 (eval $ac_link_default) 2>&5
2757 ac_status=$?
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; then
2760 # Find the output, starting from the most likely. This scheme is
2761 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2762 # resort.
2764 # Be careful to initialize this variable, since it used to be cached.
2765 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2766 ac_cv_exeext=
2767 # b.out is created by i960 compilers.
2768 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2770 test -f "$ac_file" || continue
2771 case $ac_file in
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2774 conftest.$ac_ext )
2775 # This is the source file.
2777 [ab].out )
2778 # We found the default executable, but exeext='' is most
2779 # certainly right.
2780 break;;
2781 *.* )
2782 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2783 # FIXME: I believe we export ac_cv_exeext for Libtool,
2784 # but it would be cool to find out if it's true. Does anybody
2785 # maintain Libtool? --akim.
2786 export ac_cv_exeext
2787 break;;
2789 break;;
2790 esac
2791 done
2792 else
2793 echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2797 See \`config.log' for more details." >&5
2798 echo "$as_me: error: C compiler cannot create executables
2799 See \`config.log' for more details." >&2;}
2800 { (exit 77); exit 77; }; }
2803 ac_exeext=$ac_cv_exeext
2804 echo "$as_me:$LINENO: result: $ac_file" >&5
2805 echo "${ECHO_T}$ac_file" >&6
2807 # Check the compiler produces executables we can run. If not, either
2808 # the compiler is broken, or we cross compile.
2809 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2810 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2811 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2812 # If not cross compiling, check that we can run a simple program.
2813 if test "$cross_compiling" != yes; then
2814 if { ac_try='./$ac_file'
2815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 (eval $ac_try) 2>&5
2817 ac_status=$?
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }; }; then
2820 cross_compiling=no
2821 else
2822 if test "$cross_compiling" = maybe; then
2823 cross_compiling=yes
2824 else
2825 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2826 If you meant to cross compile, use \`--host'.
2827 See \`config.log' for more details." >&5
2828 echo "$as_me: error: cannot run C compiled programs.
2829 If you meant to cross compile, use \`--host'.
2830 See \`config.log' for more details." >&2;}
2831 { (exit 1); exit 1; }; }
2835 echo "$as_me:$LINENO: result: yes" >&5
2836 echo "${ECHO_T}yes" >&6
2838 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2839 ac_clean_files=$ac_clean_files_save
2840 # Check the compiler produces executables we can run. If not, either
2841 # the compiler is broken, or we cross compile.
2842 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2843 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2844 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2845 echo "${ECHO_T}$cross_compiling" >&6
2847 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2848 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2850 (eval $ac_link) 2>&5
2851 ac_status=$?
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; then
2854 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2855 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2856 # work properly (i.e., refer to `conftest.exe'), while it won't with
2857 # `rm'.
2858 for ac_file in conftest.exe conftest conftest.*; do
2859 test -f "$ac_file" || continue
2860 case $ac_file in
2861 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2862 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2863 export ac_cv_exeext
2864 break;;
2865 * ) break;;
2866 esac
2867 done
2868 else
2869 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2870 See \`config.log' for more details." >&5
2871 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2872 See \`config.log' for more details." >&2;}
2873 { (exit 1); exit 1; }; }
2876 rm -f conftest$ac_cv_exeext
2877 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2878 echo "${ECHO_T}$ac_cv_exeext" >&6
2880 rm -f conftest.$ac_ext
2881 EXEEXT=$ac_cv_exeext
2882 ac_exeext=$EXEEXT
2884 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2885 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2886 if test "${ac_cv_objext+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2888 else
2889 cat >conftest.$ac_ext <<_ACEOF
2890 /* confdefs.h. */
2891 _ACEOF
2892 cat confdefs.h >>conftest.$ac_ext
2893 cat >>conftest.$ac_ext <<_ACEOF
2894 /* end confdefs.h. */
2897 main ()
2901 return 0;
2903 _ACEOF
2904 rm -f conftest.o conftest.obj
2905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2906 (eval $ac_compile) 2>&5
2907 ac_status=$?
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; then
2910 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2911 case $ac_file in
2912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2913 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2914 break;;
2915 esac
2916 done
2917 else
2918 echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2921 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2922 See \`config.log' for more details." >&5
2923 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2924 See \`config.log' for more details." >&2;}
2925 { (exit 1); exit 1; }; }
2928 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2930 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2931 echo "${ECHO_T}$ac_cv_objext" >&6
2932 OBJEXT=$ac_cv_objext
2933 ac_objext=$OBJEXT
2934 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2935 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2936 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2937 echo $ECHO_N "(cached) $ECHO_C" >&6
2938 else
2939 cat >conftest.$ac_ext <<_ACEOF
2940 /* confdefs.h. */
2941 _ACEOF
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2947 main ()
2949 #ifndef __GNUC__
2950 choke me
2951 #endif
2954 return 0;
2956 _ACEOF
2957 rm -f conftest.$ac_objext
2958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2959 (eval $ac_compile) 2>conftest.er1
2960 ac_status=$?
2961 grep -v '^ *+' conftest.er1 >conftest.err
2962 rm -f conftest.er1
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try='test -z "$ac_c_werror_flag"
2967 || test ! -s conftest.err'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 (eval $ac_try) 2>&5
2970 ac_status=$?
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; } &&
2973 { ac_try='test -s conftest.$ac_objext'
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975 (eval $ac_try) 2>&5
2976 ac_status=$?
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; }; then
2979 ac_compiler_gnu=yes
2980 else
2981 echo "$as_me: failed program was:" >&5
2982 sed 's/^/| /' conftest.$ac_ext >&5
2984 ac_compiler_gnu=no
2986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2987 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2990 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2991 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2992 GCC=`test $ac_compiler_gnu = yes && echo yes`
2993 ac_test_CFLAGS=${CFLAGS+set}
2994 ac_save_CFLAGS=$CFLAGS
2995 CFLAGS="-g"
2996 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2997 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2998 if test "${ac_cv_prog_cc_g+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3000 else
3001 cat >conftest.$ac_ext <<_ACEOF
3002 /* confdefs.h. */
3003 _ACEOF
3004 cat confdefs.h >>conftest.$ac_ext
3005 cat >>conftest.$ac_ext <<_ACEOF
3006 /* end confdefs.h. */
3009 main ()
3013 return 0;
3015 _ACEOF
3016 rm -f conftest.$ac_objext
3017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3018 (eval $ac_compile) 2>conftest.er1
3019 ac_status=$?
3020 grep -v '^ *+' conftest.er1 >conftest.err
3021 rm -f conftest.er1
3022 cat conftest.err >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); } &&
3025 { ac_try='test -z "$ac_c_werror_flag"
3026 || test ! -s conftest.err'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3028 (eval $ac_try) 2>&5
3029 ac_status=$?
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; } &&
3032 { ac_try='test -s conftest.$ac_objext'
3033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3034 (eval $ac_try) 2>&5
3035 ac_status=$?
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); }; }; then
3038 ac_cv_prog_cc_g=yes
3039 else
3040 echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3043 ac_cv_prog_cc_g=no
3045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3047 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3048 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3049 if test "$ac_test_CFLAGS" = set; then
3050 CFLAGS=$ac_save_CFLAGS
3051 elif test $ac_cv_prog_cc_g = yes; then
3052 if test "$GCC" = yes; then
3053 CFLAGS="-g -O2"
3054 else
3055 CFLAGS="-g"
3057 else
3058 if test "$GCC" = yes; then
3059 CFLAGS="-O2"
3060 else
3061 CFLAGS=
3064 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3065 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3066 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 else
3069 ac_cv_prog_cc_stdc=no
3070 ac_save_CC=$CC
3071 cat >conftest.$ac_ext <<_ACEOF
3072 /* confdefs.h. */
3073 _ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3077 #include <stdarg.h>
3078 #include <stdio.h>
3079 #include <sys/types.h>
3080 #include <sys/stat.h>
3081 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3082 struct buf { int x; };
3083 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3084 static char *e (p, i)
3085 char **p;
3086 int i;
3088 return p[i];
3090 static char *f (char * (*g) (char **, int), char **p, ...)
3092 char *s;
3093 va_list v;
3094 va_start (v,p);
3095 s = g (p, va_arg (v,int));
3096 va_end (v);
3097 return s;
3100 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3101 function prototypes and stuff, but not '\xHH' hex character constants.
3102 These don't provoke an error unfortunately, instead are silently treated
3103 as 'x'. The following induces an error, until -std1 is added to get
3104 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3105 array size at least. It's necessary to write '\x00'==0 to get something
3106 that's true only with -std1. */
3107 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3109 int test (int i, double x);
3110 struct s1 {int (*f) (int a);};
3111 struct s2 {int (*f) (double a);};
3112 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3113 int argc;
3114 char **argv;
3116 main ()
3118 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3120 return 0;
3122 _ACEOF
3123 # Don't try gcc -ansi; that turns off useful extensions and
3124 # breaks some systems' header files.
3125 # AIX -qlanglvl=ansi
3126 # Ultrix and OSF/1 -std1
3127 # HP-UX 10.20 and later -Ae
3128 # HP-UX older versions -Aa -D_HPUX_SOURCE
3129 # SVR4 -Xc -D__EXTENSIONS__
3130 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3132 CC="$ac_save_CC $ac_arg"
3133 rm -f conftest.$ac_objext
3134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3135 (eval $ac_compile) 2>conftest.er1
3136 ac_status=$?
3137 grep -v '^ *+' conftest.er1 >conftest.err
3138 rm -f conftest.er1
3139 cat conftest.err >&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); } &&
3142 { ac_try='test -z "$ac_c_werror_flag"
3143 || test ! -s conftest.err'
3144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3145 (eval $ac_try) 2>&5
3146 ac_status=$?
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }; } &&
3149 { ac_try='test -s conftest.$ac_objext'
3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3151 (eval $ac_try) 2>&5
3152 ac_status=$?
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }; }; then
3155 ac_cv_prog_cc_stdc=$ac_arg
3156 break
3157 else
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3162 rm -f conftest.err conftest.$ac_objext
3163 done
3164 rm -f conftest.$ac_ext conftest.$ac_objext
3165 CC=$ac_save_CC
3169 case "x$ac_cv_prog_cc_stdc" in
3170 x|xno)
3171 echo "$as_me:$LINENO: result: none needed" >&5
3172 echo "${ECHO_T}none needed" >&6 ;;
3174 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3175 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3176 CC="$CC $ac_cv_prog_cc_stdc" ;;
3177 esac
3179 # Some people use a C++ compiler to compile C. Since we use `exit',
3180 # in C++ we need to declare it. In case someone uses the same compiler
3181 # for both compiling C and C++ we need to have the C++ compiler decide
3182 # the declaration of exit, since it's the most demanding environment.
3183 cat >conftest.$ac_ext <<_ACEOF
3184 #ifndef __cplusplus
3185 choke me
3186 #endif
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190 (eval $ac_compile) 2>conftest.er1
3191 ac_status=$?
3192 grep -v '^ *+' conftest.er1 >conftest.err
3193 rm -f conftest.er1
3194 cat conftest.err >&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } &&
3197 { ac_try='test -z "$ac_c_werror_flag"
3198 || test ! -s conftest.err'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200 (eval $ac_try) 2>&5
3201 ac_status=$?
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; } &&
3204 { ac_try='test -s conftest.$ac_objext'
3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206 (eval $ac_try) 2>&5
3207 ac_status=$?
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }; }; then
3210 for ac_declaration in \
3211 '' \
3212 'extern "C" void std::exit (int) throw (); using std::exit;' \
3213 'extern "C" void std::exit (int); using std::exit;' \
3214 'extern "C" void exit (int) throw ();' \
3215 'extern "C" void exit (int);' \
3216 'void exit (int);'
3218 cat >conftest.$ac_ext <<_ACEOF
3219 /* confdefs.h. */
3220 _ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3224 $ac_declaration
3225 #include <stdlib.h>
3227 main ()
3229 exit (42);
3231 return 0;
3233 _ACEOF
3234 rm -f conftest.$ac_objext
3235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3236 (eval $ac_compile) 2>conftest.er1
3237 ac_status=$?
3238 grep -v '^ *+' conftest.er1 >conftest.err
3239 rm -f conftest.er1
3240 cat conftest.err >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try='test -z "$ac_c_werror_flag"
3244 || test ! -s conftest.err'
3245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246 (eval $ac_try) 2>&5
3247 ac_status=$?
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }; } &&
3250 { ac_try='test -s conftest.$ac_objext'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3252 (eval $ac_try) 2>&5
3253 ac_status=$?
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; }; then
3257 else
3258 echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3261 continue
3263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3264 cat >conftest.$ac_ext <<_ACEOF
3265 /* confdefs.h. */
3266 _ACEOF
3267 cat confdefs.h >>conftest.$ac_ext
3268 cat >>conftest.$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3270 $ac_declaration
3272 main ()
3274 exit (42);
3276 return 0;
3278 _ACEOF
3279 rm -f conftest.$ac_objext
3280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3281 (eval $ac_compile) 2>conftest.er1
3282 ac_status=$?
3283 grep -v '^ *+' conftest.er1 >conftest.err
3284 rm -f conftest.er1
3285 cat conftest.err >&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); } &&
3288 { ac_try='test -z "$ac_c_werror_flag"
3289 || test ! -s conftest.err'
3290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3291 (eval $ac_try) 2>&5
3292 ac_status=$?
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); }; } &&
3295 { ac_try='test -s conftest.$ac_objext'
3296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3297 (eval $ac_try) 2>&5
3298 ac_status=$?
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); }; }; then
3301 break
3302 else
3303 echo "$as_me: failed program was:" >&5
3304 sed 's/^/| /' conftest.$ac_ext >&5
3307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3308 done
3309 rm -f conftest*
3310 if test -n "$ac_declaration"; then
3311 echo '#ifdef __cplusplus' >>confdefs.h
3312 echo $ac_declaration >>confdefs.h
3313 echo '#endif' >>confdefs.h
3316 else
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3322 ac_ext=c
3323 ac_cpp='$CPP $CPPFLAGS'
3324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3328 depcc="$CC" am_compiler_list=
3330 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3331 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3332 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3334 else
3335 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3336 # We make a subdir and do the tests there. Otherwise we can end up
3337 # making bogus files that we don't know about and never remove. For
3338 # instance it was reported that on HP-UX the gcc test will end up
3339 # making a dummy file named `D' -- because `-MD' means `put the output
3340 # in D'.
3341 mkdir conftest.dir
3342 # Copy depcomp to subdir because otherwise we won't find it if we're
3343 # using a relative directory.
3344 cp "$am_depcomp" conftest.dir
3345 cd conftest.dir
3346 # We will build objects and dependencies in a subdirectory because
3347 # it helps to detect inapplicable dependency modes. For instance
3348 # both Tru64's cc and ICC support -MD to output dependencies as a
3349 # side effect of compilation, but ICC will put the dependencies in
3350 # the current directory while Tru64 will put them in the object
3351 # directory.
3352 mkdir sub
3354 am_cv_CC_dependencies_compiler_type=none
3355 if test "$am_compiler_list" = ""; then
3356 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3358 for depmode in $am_compiler_list; do
3359 # Setup a source with many dependencies, because some compilers
3360 # like to wrap large dependency lists on column 80 (with \), and
3361 # we should not choose a depcomp mode which is confused by this.
3363 # We need to recreate these files for each test, as the compiler may
3364 # overwrite some of them when testing with obscure command lines.
3365 # This happens at least with the AIX C compiler.
3366 : > sub/conftest.c
3367 for i in 1 2 3 4 5 6; do
3368 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3369 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3370 # Solaris 8's {/usr,}/bin/sh.
3371 touch sub/conftst$i.h
3372 done
3373 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3375 case $depmode in
3376 nosideeffect)
3377 # after this tag, mechanisms are not by side-effect, so they'll
3378 # only be used when explicitly requested
3379 if test "x$enable_dependency_tracking" = xyes; then
3380 continue
3381 else
3382 break
3385 none) break ;;
3386 esac
3387 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3388 # mode. It turns out that the SunPro C++ compiler does not properly
3389 # handle `-M -o', and we need to detect this.
3390 if depmode=$depmode \
3391 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3392 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3393 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3394 >/dev/null 2>conftest.err &&
3395 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3396 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3397 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3398 # icc doesn't choke on unknown options, it will just issue warnings
3399 # or remarks (even with -Werror). So we grep stderr for any message
3400 # that says an option was ignored or not supported.
3401 # When given -MP, icc 7.0 and 7.1 complain thusly:
3402 # icc: Command line warning: ignoring option '-M'; no argument required
3403 # The diagnosis changed in icc 8.0:
3404 # icc: Command line remark: option '-MP' not supported
3405 if (grep 'ignoring option' conftest.err ||
3406 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3407 am_cv_CC_dependencies_compiler_type=$depmode
3408 break
3411 done
3413 cd ..
3414 rm -rf conftest.dir
3415 else
3416 am_cv_CC_dependencies_compiler_type=none
3420 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3421 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3422 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3427 test "x$enable_dependency_tracking" != xno \
3428 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3429 am__fastdepCC_TRUE=
3430 am__fastdepCC_FALSE='#'
3431 else
3432 am__fastdepCC_TRUE='#'
3433 am__fastdepCC_FALSE=
3438 ac_ext=c
3439 ac_cpp='$CPP $CPPFLAGS'
3440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3443 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3444 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3445 # On Suns, sometimes $CPP names a directory.
3446 if test -n "$CPP" && test -d "$CPP"; then
3447 CPP=
3449 if test -z "$CPP"; then
3450 if test "${ac_cv_prog_CPP+set}" = set; then
3451 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 else
3453 # Double quotes because CPP needs to be expanded
3454 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3456 ac_preproc_ok=false
3457 for ac_c_preproc_warn_flag in '' yes
3459 # Use a header file that comes with gcc, so configuring glibc
3460 # with a fresh cross-compiler works.
3461 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3462 # <limits.h> exists even on freestanding compilers.
3463 # On the NeXT, cc -E runs the code through the compiler's parser,
3464 # not just through cpp. "Syntax error" is here to catch this case.
3465 cat >conftest.$ac_ext <<_ACEOF
3466 /* confdefs.h. */
3467 _ACEOF
3468 cat confdefs.h >>conftest.$ac_ext
3469 cat >>conftest.$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3471 #ifdef __STDC__
3472 # include <limits.h>
3473 #else
3474 # include <assert.h>
3475 #endif
3476 Syntax error
3477 _ACEOF
3478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3479 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3480 ac_status=$?
3481 grep -v '^ *+' conftest.er1 >conftest.err
3482 rm -f conftest.er1
3483 cat conftest.err >&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); } >/dev/null; then
3486 if test -s conftest.err; then
3487 ac_cpp_err=$ac_c_preproc_warn_flag
3488 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3489 else
3490 ac_cpp_err=
3492 else
3493 ac_cpp_err=yes
3495 if test -z "$ac_cpp_err"; then
3497 else
3498 echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3501 # Broken: fails on valid input.
3502 continue
3504 rm -f conftest.err conftest.$ac_ext
3506 # OK, works on sane cases. Now check whether non-existent headers
3507 # can be detected and how.
3508 cat >conftest.$ac_ext <<_ACEOF
3509 /* confdefs.h. */
3510 _ACEOF
3511 cat confdefs.h >>conftest.$ac_ext
3512 cat >>conftest.$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3514 #include <ac_nonexistent.h>
3515 _ACEOF
3516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3518 ac_status=$?
3519 grep -v '^ *+' conftest.er1 >conftest.err
3520 rm -f conftest.er1
3521 cat conftest.err >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } >/dev/null; then
3524 if test -s conftest.err; then
3525 ac_cpp_err=$ac_c_preproc_warn_flag
3526 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3527 else
3528 ac_cpp_err=
3530 else
3531 ac_cpp_err=yes
3533 if test -z "$ac_cpp_err"; then
3534 # Broken: success on invalid input.
3535 continue
3536 else
3537 echo "$as_me: failed program was:" >&5
3538 sed 's/^/| /' conftest.$ac_ext >&5
3540 # Passes both tests.
3541 ac_preproc_ok=:
3542 break
3544 rm -f conftest.err conftest.$ac_ext
3546 done
3547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3548 rm -f conftest.err conftest.$ac_ext
3549 if $ac_preproc_ok; then
3550 break
3553 done
3554 ac_cv_prog_CPP=$CPP
3557 CPP=$ac_cv_prog_CPP
3558 else
3559 ac_cv_prog_CPP=$CPP
3561 echo "$as_me:$LINENO: result: $CPP" >&5
3562 echo "${ECHO_T}$CPP" >&6
3563 ac_preproc_ok=false
3564 for ac_c_preproc_warn_flag in '' yes
3566 # Use a header file that comes with gcc, so configuring glibc
3567 # with a fresh cross-compiler works.
3568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3569 # <limits.h> exists even on freestanding compilers.
3570 # On the NeXT, cc -E runs the code through the compiler's parser,
3571 # not just through cpp. "Syntax error" is here to catch this case.
3572 cat >conftest.$ac_ext <<_ACEOF
3573 /* confdefs.h. */
3574 _ACEOF
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3578 #ifdef __STDC__
3579 # include <limits.h>
3580 #else
3581 # include <assert.h>
3582 #endif
3583 Syntax error
3584 _ACEOF
3585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3587 ac_status=$?
3588 grep -v '^ *+' conftest.er1 >conftest.err
3589 rm -f conftest.er1
3590 cat conftest.err >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } >/dev/null; then
3593 if test -s conftest.err; then
3594 ac_cpp_err=$ac_c_preproc_warn_flag
3595 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3596 else
3597 ac_cpp_err=
3599 else
3600 ac_cpp_err=yes
3602 if test -z "$ac_cpp_err"; then
3604 else
3605 echo "$as_me: failed program was:" >&5
3606 sed 's/^/| /' conftest.$ac_ext >&5
3608 # Broken: fails on valid input.
3609 continue
3611 rm -f conftest.err conftest.$ac_ext
3613 # OK, works on sane cases. Now check whether non-existent headers
3614 # can be detected and how.
3615 cat >conftest.$ac_ext <<_ACEOF
3616 /* confdefs.h. */
3617 _ACEOF
3618 cat confdefs.h >>conftest.$ac_ext
3619 cat >>conftest.$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3621 #include <ac_nonexistent.h>
3622 _ACEOF
3623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3625 ac_status=$?
3626 grep -v '^ *+' conftest.er1 >conftest.err
3627 rm -f conftest.er1
3628 cat conftest.err >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } >/dev/null; then
3631 if test -s conftest.err; then
3632 ac_cpp_err=$ac_c_preproc_warn_flag
3633 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3634 else
3635 ac_cpp_err=
3637 else
3638 ac_cpp_err=yes
3640 if test -z "$ac_cpp_err"; then
3641 # Broken: success on invalid input.
3642 continue
3643 else
3644 echo "$as_me: failed program was:" >&5
3645 sed 's/^/| /' conftest.$ac_ext >&5
3647 # Passes both tests.
3648 ac_preproc_ok=:
3649 break
3651 rm -f conftest.err conftest.$ac_ext
3653 done
3654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3655 rm -f conftest.err conftest.$ac_ext
3656 if $ac_preproc_ok; then
3658 else
3659 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3660 See \`config.log' for more details." >&5
3661 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3662 See \`config.log' for more details." >&2;}
3663 { (exit 1); exit 1; }; }
3666 ac_ext=c
3667 ac_cpp='$CPP $CPPFLAGS'
3668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3673 echo "$as_me:$LINENO: checking for egrep" >&5
3674 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3675 if test "${ac_cv_prog_egrep+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 else
3678 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3679 then ac_cv_prog_egrep='grep -E'
3680 else ac_cv_prog_egrep='egrep'
3683 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3684 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3685 EGREP=$ac_cv_prog_egrep
3688 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3689 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3690 if test "${ac_cv_header_stdc+set}" = set; then
3691 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 else
3693 cat >conftest.$ac_ext <<_ACEOF
3694 /* confdefs.h. */
3695 _ACEOF
3696 cat confdefs.h >>conftest.$ac_ext
3697 cat >>conftest.$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3699 #include <stdlib.h>
3700 #include <stdarg.h>
3701 #include <string.h>
3702 #include <float.h>
3705 main ()
3709 return 0;
3711 _ACEOF
3712 rm -f conftest.$ac_objext
3713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3714 (eval $ac_compile) 2>conftest.er1
3715 ac_status=$?
3716 grep -v '^ *+' conftest.er1 >conftest.err
3717 rm -f conftest.er1
3718 cat conftest.err >&5
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); } &&
3721 { ac_try='test -z "$ac_c_werror_flag"
3722 || test ! -s conftest.err'
3723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3724 (eval $ac_try) 2>&5
3725 ac_status=$?
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }; } &&
3728 { ac_try='test -s conftest.$ac_objext'
3729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3730 (eval $ac_try) 2>&5
3731 ac_status=$?
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); }; }; then
3734 ac_cv_header_stdc=yes
3735 else
3736 echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.$ac_ext >&5
3739 ac_cv_header_stdc=no
3741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3743 if test $ac_cv_header_stdc = yes; then
3744 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3745 cat >conftest.$ac_ext <<_ACEOF
3746 /* confdefs.h. */
3747 _ACEOF
3748 cat confdefs.h >>conftest.$ac_ext
3749 cat >>conftest.$ac_ext <<_ACEOF
3750 /* end confdefs.h. */
3751 #include <string.h>
3753 _ACEOF
3754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3755 $EGREP "memchr" >/dev/null 2>&1; then
3757 else
3758 ac_cv_header_stdc=no
3760 rm -f conftest*
3764 if test $ac_cv_header_stdc = yes; then
3765 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3766 cat >conftest.$ac_ext <<_ACEOF
3767 /* confdefs.h. */
3768 _ACEOF
3769 cat confdefs.h >>conftest.$ac_ext
3770 cat >>conftest.$ac_ext <<_ACEOF
3771 /* end confdefs.h. */
3772 #include <stdlib.h>
3774 _ACEOF
3775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3776 $EGREP "free" >/dev/null 2>&1; then
3778 else
3779 ac_cv_header_stdc=no
3781 rm -f conftest*
3785 if test $ac_cv_header_stdc = yes; then
3786 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3787 if test "$cross_compiling" = yes; then
3789 else
3790 cat >conftest.$ac_ext <<_ACEOF
3791 /* confdefs.h. */
3792 _ACEOF
3793 cat confdefs.h >>conftest.$ac_ext
3794 cat >>conftest.$ac_ext <<_ACEOF
3795 /* end confdefs.h. */
3796 #include <ctype.h>
3797 #if ((' ' & 0x0FF) == 0x020)
3798 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3799 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3800 #else
3801 # define ISLOWER(c) \
3802 (('a' <= (c) && (c) <= 'i') \
3803 || ('j' <= (c) && (c) <= 'r') \
3804 || ('s' <= (c) && (c) <= 'z'))
3805 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3806 #endif
3808 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3810 main ()
3812 int i;
3813 for (i = 0; i < 256; i++)
3814 if (XOR (islower (i), ISLOWER (i))
3815 || toupper (i) != TOUPPER (i))
3816 exit(2);
3817 exit (0);
3819 _ACEOF
3820 rm -f conftest$ac_exeext
3821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3822 (eval $ac_link) 2>&5
3823 ac_status=$?
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3827 (eval $ac_try) 2>&5
3828 ac_status=$?
3829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830 (exit $ac_status); }; }; then
3832 else
3833 echo "$as_me: program exited with status $ac_status" >&5
3834 echo "$as_me: failed program was:" >&5
3835 sed 's/^/| /' conftest.$ac_ext >&5
3837 ( exit $ac_status )
3838 ac_cv_header_stdc=no
3840 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3844 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3845 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3846 if test $ac_cv_header_stdc = yes; then
3848 cat >>confdefs.h <<\_ACEOF
3849 #define STDC_HEADERS 1
3850 _ACEOF
3854 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3864 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3865 inttypes.h stdint.h unistd.h
3867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3868 echo "$as_me:$LINENO: checking for $ac_header" >&5
3869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 else
3873 cat >conftest.$ac_ext <<_ACEOF
3874 /* confdefs.h. */
3875 _ACEOF
3876 cat confdefs.h >>conftest.$ac_ext
3877 cat >>conftest.$ac_ext <<_ACEOF
3878 /* end confdefs.h. */
3879 $ac_includes_default
3881 #include <$ac_header>
3882 _ACEOF
3883 rm -f conftest.$ac_objext
3884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3885 (eval $ac_compile) 2>conftest.er1
3886 ac_status=$?
3887 grep -v '^ *+' conftest.er1 >conftest.err
3888 rm -f conftest.er1
3889 cat conftest.err >&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); } &&
3892 { ac_try='test -z "$ac_c_werror_flag"
3893 || test ! -s conftest.err'
3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3895 (eval $ac_try) 2>&5
3896 ac_status=$?
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; } &&
3899 { ac_try='test -s conftest.$ac_objext'
3900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3901 (eval $ac_try) 2>&5
3902 ac_status=$?
3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); }; }; then
3905 eval "$as_ac_Header=yes"
3906 else
3907 echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3910 eval "$as_ac_Header=no"
3912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3917 cat >>confdefs.h <<_ACEOF
3918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3919 _ACEOF
3923 done
3926 # Check whether --enable-alsa or --disable-alsa was given.
3927 if test "${enable_alsa+set}" = set; then
3928 enableval="$enable_alsa"
3929 case "${enableval}" in
3930 yes) COMPILE_ALSA=yes ;;
3931 no) COMPILE_ALSA=no ;;
3932 *) COMPILE_ALSA=yes ;;
3933 esac
3934 else
3936 for ac_header in alsa/asoundlib.h
3938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3940 echo "$as_me:$LINENO: checking for $ac_header" >&5
3941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3947 else
3948 # Is the header compilable?
3949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3951 cat >conftest.$ac_ext <<_ACEOF
3952 /* confdefs.h. */
3953 _ACEOF
3954 cat confdefs.h >>conftest.$ac_ext
3955 cat >>conftest.$ac_ext <<_ACEOF
3956 /* end confdefs.h. */
3957 $ac_includes_default
3958 #include <$ac_header>
3959 _ACEOF
3960 rm -f conftest.$ac_objext
3961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3962 (eval $ac_compile) 2>conftest.er1
3963 ac_status=$?
3964 grep -v '^ *+' conftest.er1 >conftest.err
3965 rm -f conftest.er1
3966 cat conftest.err >&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); } &&
3969 { ac_try='test -z "$ac_c_werror_flag"
3970 || test ! -s conftest.err'
3971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3972 (eval $ac_try) 2>&5
3973 ac_status=$?
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); }; } &&
3976 { ac_try='test -s conftest.$ac_objext'
3977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3978 (eval $ac_try) 2>&5
3979 ac_status=$?
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); }; }; then
3982 ac_header_compiler=yes
3983 else
3984 echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.$ac_ext >&5
3987 ac_header_compiler=no
3989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3991 echo "${ECHO_T}$ac_header_compiler" >&6
3993 # Is the header present?
3994 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3996 cat >conftest.$ac_ext <<_ACEOF
3997 /* confdefs.h. */
3998 _ACEOF
3999 cat confdefs.h >>conftest.$ac_ext
4000 cat >>conftest.$ac_ext <<_ACEOF
4001 /* end confdefs.h. */
4002 #include <$ac_header>
4003 _ACEOF
4004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4006 ac_status=$?
4007 grep -v '^ *+' conftest.er1 >conftest.err
4008 rm -f conftest.er1
4009 cat conftest.err >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } >/dev/null; then
4012 if test -s conftest.err; then
4013 ac_cpp_err=$ac_c_preproc_warn_flag
4014 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4015 else
4016 ac_cpp_err=
4018 else
4019 ac_cpp_err=yes
4021 if test -z "$ac_cpp_err"; then
4022 ac_header_preproc=yes
4023 else
4024 echo "$as_me: failed program was:" >&5
4025 sed 's/^/| /' conftest.$ac_ext >&5
4027 ac_header_preproc=no
4029 rm -f conftest.err conftest.$ac_ext
4030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4031 echo "${ECHO_T}$ac_header_preproc" >&6
4033 # So? What about this header?
4034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4035 yes:no: )
4036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4040 ac_header_preproc=yes
4042 no:yes:* )
4043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4047 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4049 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4050 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4053 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4056 cat <<\_ASBOX
4057 ## -------------------------------- ##
4058 ## Report this to classpath@gnu.org ##
4059 ## -------------------------------- ##
4060 _ASBOX
4062 sed "s/^/$as_me: WARNING: /" >&2
4064 esac
4065 echo "$as_me:$LINENO: checking for $ac_header" >&5
4066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4068 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 else
4070 eval "$as_ac_Header=\$ac_header_preproc"
4072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4077 cat >>confdefs.h <<_ACEOF
4078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4079 _ACEOF
4080 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4081 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4082 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 else
4085 ac_check_lib_save_LIBS=$LIBS
4086 LIBS="-lasound $LIBS"
4087 if test x$gcc_no_link = xyes; then
4088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4090 { (exit 1); exit 1; }; }
4092 cat >conftest.$ac_ext <<_ACEOF
4093 /* confdefs.h. */
4094 _ACEOF
4095 cat confdefs.h >>conftest.$ac_ext
4096 cat >>conftest.$ac_ext <<_ACEOF
4097 /* end confdefs.h. */
4099 /* Override any gcc2 internal prototype to avoid an error. */
4100 #ifdef __cplusplus
4101 extern "C"
4102 #endif
4103 /* We use char because int might match the return type of a gcc2
4104 builtin and then its argument prototype would still apply. */
4105 char snd_seq_open ();
4107 main ()
4109 snd_seq_open ();
4111 return 0;
4113 _ACEOF
4114 rm -f conftest.$ac_objext conftest$ac_exeext
4115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4116 (eval $ac_link) 2>conftest.er1
4117 ac_status=$?
4118 grep -v '^ *+' conftest.er1 >conftest.err
4119 rm -f conftest.er1
4120 cat conftest.err >&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } &&
4123 { ac_try='test -z "$ac_c_werror_flag"
4124 || test ! -s conftest.err'
4125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126 (eval $ac_try) 2>&5
4127 ac_status=$?
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); }; } &&
4130 { ac_try='test -s conftest$ac_exeext'
4131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4132 (eval $ac_try) 2>&5
4133 ac_status=$?
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); }; }; then
4136 ac_cv_lib_asound_snd_seq_open=yes
4137 else
4138 echo "$as_me: failed program was:" >&5
4139 sed 's/^/| /' conftest.$ac_ext >&5
4141 ac_cv_lib_asound_snd_seq_open=no
4143 rm -f conftest.err conftest.$ac_objext \
4144 conftest$ac_exeext conftest.$ac_ext
4145 LIBS=$ac_check_lib_save_LIBS
4147 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4148 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4149 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4150 COMPILE_ALSA=yes
4151 else
4152 COMPILE_ALSA=no
4155 else
4156 COMPILE_ALSA=no
4159 done
4164 if test "x${COMPILE_ALSA}" = xyes; then
4165 CREATE_ALSA_LIBRARIES_TRUE=
4166 CREATE_ALSA_LIBRARIES_FALSE='#'
4167 else
4168 CREATE_ALSA_LIBRARIES_TRUE='#'
4169 CREATE_ALSA_LIBRARIES_FALSE=
4173 # Check whether --enable-dssi or --disable-dssi was given.
4174 if test "${enable_dssi+set}" = set; then
4175 enableval="$enable_dssi"
4176 case "${enableval}" in
4177 yes) COMPILE_DSSI=yes ;;
4178 no) COMPILE_DSSI=no ;;
4179 *) COMPILE_DSSI=yes ;;
4180 esac
4181 else
4182 COMPILE_DSSI=no
4184 for ac_header in dssi.h
4186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4188 echo "$as_me:$LINENO: checking for $ac_header" >&5
4189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4195 else
4196 # Is the header compilable?
4197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4199 cat >conftest.$ac_ext <<_ACEOF
4200 /* confdefs.h. */
4201 _ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4205 $ac_includes_default
4206 #include <$ac_header>
4207 _ACEOF
4208 rm -f conftest.$ac_objext
4209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4210 (eval $ac_compile) 2>conftest.er1
4211 ac_status=$?
4212 grep -v '^ *+' conftest.er1 >conftest.err
4213 rm -f conftest.er1
4214 cat conftest.err >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } &&
4217 { ac_try='test -z "$ac_c_werror_flag"
4218 || test ! -s conftest.err'
4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4220 (eval $ac_try) 2>&5
4221 ac_status=$?
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); }; } &&
4224 { ac_try='test -s conftest.$ac_objext'
4225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4226 (eval $ac_try) 2>&5
4227 ac_status=$?
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; }; then
4230 ac_header_compiler=yes
4231 else
4232 echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.$ac_ext >&5
4235 ac_header_compiler=no
4237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4239 echo "${ECHO_T}$ac_header_compiler" >&6
4241 # Is the header present?
4242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4244 cat >conftest.$ac_ext <<_ACEOF
4245 /* confdefs.h. */
4246 _ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 #include <$ac_header>
4251 _ACEOF
4252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4254 ac_status=$?
4255 grep -v '^ *+' conftest.er1 >conftest.err
4256 rm -f conftest.er1
4257 cat conftest.err >&5
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); } >/dev/null; then
4260 if test -s conftest.err; then
4261 ac_cpp_err=$ac_c_preproc_warn_flag
4262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4263 else
4264 ac_cpp_err=
4266 else
4267 ac_cpp_err=yes
4269 if test -z "$ac_cpp_err"; then
4270 ac_header_preproc=yes
4271 else
4272 echo "$as_me: failed program was:" >&5
4273 sed 's/^/| /' conftest.$ac_ext >&5
4275 ac_header_preproc=no
4277 rm -f conftest.err conftest.$ac_ext
4278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4279 echo "${ECHO_T}$ac_header_preproc" >&6
4281 # So? What about this header?
4282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4283 yes:no: )
4284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4288 ac_header_preproc=yes
4290 no:yes:* )
4291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4304 cat <<\_ASBOX
4305 ## -------------------------------- ##
4306 ## Report this to classpath@gnu.org ##
4307 ## -------------------------------- ##
4308 _ASBOX
4310 sed "s/^/$as_me: WARNING: /" >&2
4312 esac
4313 echo "$as_me:$LINENO: checking for $ac_header" >&5
4314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4316 echo $ECHO_N "(cached) $ECHO_C" >&6
4317 else
4318 eval "$as_ac_Header=\$ac_header_preproc"
4320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4325 cat >>confdefs.h <<_ACEOF
4326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4327 _ACEOF
4330 for ac_header in jack/jack.h
4332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4334 echo "$as_me:$LINENO: checking for $ac_header" >&5
4335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4337 echo $ECHO_N "(cached) $ECHO_C" >&6
4339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4341 else
4342 # Is the header compilable?
4343 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4344 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4345 cat >conftest.$ac_ext <<_ACEOF
4346 /* confdefs.h. */
4347 _ACEOF
4348 cat confdefs.h >>conftest.$ac_ext
4349 cat >>conftest.$ac_ext <<_ACEOF
4350 /* end confdefs.h. */
4351 $ac_includes_default
4352 #include <$ac_header>
4353 _ACEOF
4354 rm -f conftest.$ac_objext
4355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4356 (eval $ac_compile) 2>conftest.er1
4357 ac_status=$?
4358 grep -v '^ *+' conftest.er1 >conftest.err
4359 rm -f conftest.er1
4360 cat conftest.err >&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); } &&
4363 { ac_try='test -z "$ac_c_werror_flag"
4364 || test ! -s conftest.err'
4365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4366 (eval $ac_try) 2>&5
4367 ac_status=$?
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); }; } &&
4370 { ac_try='test -s conftest.$ac_objext'
4371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4372 (eval $ac_try) 2>&5
4373 ac_status=$?
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); }; }; then
4376 ac_header_compiler=yes
4377 else
4378 echo "$as_me: failed program was:" >&5
4379 sed 's/^/| /' conftest.$ac_ext >&5
4381 ac_header_compiler=no
4383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4385 echo "${ECHO_T}$ac_header_compiler" >&6
4387 # Is the header present?
4388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4390 cat >conftest.$ac_ext <<_ACEOF
4391 /* confdefs.h. */
4392 _ACEOF
4393 cat confdefs.h >>conftest.$ac_ext
4394 cat >>conftest.$ac_ext <<_ACEOF
4395 /* end confdefs.h. */
4396 #include <$ac_header>
4397 _ACEOF
4398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4400 ac_status=$?
4401 grep -v '^ *+' conftest.er1 >conftest.err
4402 rm -f conftest.er1
4403 cat conftest.err >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); } >/dev/null; then
4406 if test -s conftest.err; then
4407 ac_cpp_err=$ac_c_preproc_warn_flag
4408 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4409 else
4410 ac_cpp_err=
4412 else
4413 ac_cpp_err=yes
4415 if test -z "$ac_cpp_err"; then
4416 ac_header_preproc=yes
4417 else
4418 echo "$as_me: failed program was:" >&5
4419 sed 's/^/| /' conftest.$ac_ext >&5
4421 ac_header_preproc=no
4423 rm -f conftest.err conftest.$ac_ext
4424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4425 echo "${ECHO_T}$ac_header_preproc" >&6
4427 # So? What about this header?
4428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4429 yes:no: )
4430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4434 ac_header_preproc=yes
4436 no:yes:* )
4437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4450 cat <<\_ASBOX
4451 ## -------------------------------- ##
4452 ## Report this to classpath@gnu.org ##
4453 ## -------------------------------- ##
4454 _ASBOX
4456 sed "s/^/$as_me: WARNING: /" >&2
4458 esac
4459 echo "$as_me:$LINENO: checking for $ac_header" >&5
4460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4462 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 else
4464 eval "$as_ac_Header=\$ac_header_preproc"
4466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4471 cat >>confdefs.h <<_ACEOF
4472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4473 _ACEOF
4474 COMPILE_DSSI=yes
4477 done
4481 done
4486 if test "x${COMPILE_DSSI}" = xyes; then
4487 CREATE_DSSI_LIBRARIES_TRUE=
4488 CREATE_DSSI_LIBRARIES_FALSE='#'
4489 else
4490 CREATE_DSSI_LIBRARIES_TRUE='#'
4491 CREATE_DSSI_LIBRARIES_FALSE=
4495 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4496 if test "${enable_gtk_peer+set}" = set; then
4497 enableval="$enable_gtk_peer"
4498 case "${enableval}" in
4499 yes) COMPILE_GTK_PEER=yes ;;
4500 no) COMPILE_GTK_PEER=no ;;
4501 *) COMPILE_GTK_PEER=yes ;;
4502 esac
4503 else
4504 COMPILE_GTK_PEER=yes
4508 if test "x${COMPILE_GTK_PEER}" = xyes; then
4509 CREATE_GTK_PEER_LIBRARIES_TRUE=
4510 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4511 else
4512 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4513 CREATE_GTK_PEER_LIBRARIES_FALSE=
4517 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4518 if test "${enable_gtk_peers+set}" = set; then
4519 enableval="$enable_gtk_peers"
4520 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4521 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4522 { (exit 1); exit 1; }; }
4525 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4526 if test "${enable_qt_peer+set}" = set; then
4527 enableval="$enable_qt_peer"
4528 case "${enableval}" in
4529 yes) COMPILE_QT_PEER=yes ;;
4530 no) COMPILE_QT_PEER=no ;;
4531 *) COMPILE_QT_PEER=yes ;;
4532 esac
4533 else
4534 COMPILE_QT_PEER=no
4538 if test "x${COMPILE_QT_PEER}" = xyes; then
4539 CREATE_QT_PEER_LIBRARIES_TRUE=
4540 CREATE_QT_PEER_LIBRARIES_FALSE='#'
4541 else
4542 CREATE_QT_PEER_LIBRARIES_TRUE='#'
4543 CREATE_QT_PEER_LIBRARIES_FALSE=
4547 # Check whether --enable-plugin or --disable-plugin was given.
4548 if test "${enable_plugin+set}" = set; then
4549 enableval="$enable_plugin"
4550 case "${enableval}" in
4551 yes) COMPILE_PLUGIN=yes ;;
4552 no) COMPILE_PLUGIN=no ;;
4553 *) COMPILE_PLUGIN=yes ;;
4554 esac
4555 else
4556 COMPILE_PLUGIN=yes
4560 if test "x${COMPILE_PLUGIN}" = xyes; then
4561 CREATE_PLUGIN_TRUE=
4562 CREATE_PLUGIN_FALSE='#'
4563 else
4564 CREATE_PLUGIN_TRUE='#'
4565 CREATE_PLUGIN_FALSE=
4570 multi_os_directory=`$CC -print-multi-os-directory`
4571 case $multi_os_directory in
4572 .) toolexeclibdir=${libdir} ;; # Avoid trailing /.
4573 *) toolexeclibdir=${libdir}/${multi_os_directory} ;;
4574 esac
4579 # Check whether --with-native-libdir or --without-native-libdir was given.
4580 if test "${with_native_libdir+set}" = set; then
4581 withval="$with_native_libdir"
4583 nativeexeclibdir=${withval}
4585 else
4587 nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4594 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4595 if test "${with_glibj_dir+set}" = set; then
4596 withval="$with_glibj_dir"
4598 glibjdir=${withval}
4600 else
4602 glibjdir='${datadir}/${PACKAGE}'
4609 # Check whether --with-vm or --without-vm was given.
4610 if test "${with_vm+set}" = set; then
4611 withval="$with_vm"
4613 VM_BINARY=${withval}
4615 else
4617 VM_BINARY='${prefix}/bin/jamvm'
4624 if test "x`basename $VM_BINARY`" = xcacao; then
4625 FOUND_CACAO_TRUE=
4626 FOUND_CACAO_FALSE='#'
4627 else
4628 FOUND_CACAO_TRUE='#'
4629 FOUND_CACAO_FALSE=
4633 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4634 if test "${enable_regen_headers+set}" = set; then
4635 enableval="$enable_regen_headers"
4636 case "${enableval}" in
4637 yes) REGENERATE_JNI_HEADERS=yes ;;
4638 no) REGENERATE_JNI_HEADERS=no ;;
4639 *) REGENERATE_JNI_HEADERS=no ;;
4640 esac
4641 else
4642 REGENERATE_JNI_HEADERS=no
4646 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4647 CREATE_JNI_HEADERS_TRUE=
4648 CREATE_JNI_HEADERS_FALSE='#'
4649 else
4650 CREATE_JNI_HEADERS_TRUE='#'
4651 CREATE_JNI_HEADERS_FALSE=
4655 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4656 if test "${enable_tool_wrappers+set}" = set; then
4657 enableval="$enable_tool_wrappers"
4658 case x"${enableval}" in
4659 xyes)
4660 COMPILE_WRAPPERS=yes;
4662 for ac_header in ltdl.h
4664 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4666 echo "$as_me:$LINENO: checking for $ac_header" >&5
4667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4669 echo $ECHO_N "(cached) $ECHO_C" >&6
4671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4673 else
4674 # Is the header compilable?
4675 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4676 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4677 cat >conftest.$ac_ext <<_ACEOF
4678 /* confdefs.h. */
4679 _ACEOF
4680 cat confdefs.h >>conftest.$ac_ext
4681 cat >>conftest.$ac_ext <<_ACEOF
4682 /* end confdefs.h. */
4683 $ac_includes_default
4684 #include <$ac_header>
4685 _ACEOF
4686 rm -f conftest.$ac_objext
4687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4688 (eval $ac_compile) 2>conftest.er1
4689 ac_status=$?
4690 grep -v '^ *+' conftest.er1 >conftest.err
4691 rm -f conftest.er1
4692 cat conftest.err >&5
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); } &&
4695 { ac_try='test -z "$ac_c_werror_flag"
4696 || test ! -s conftest.err'
4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698 (eval $ac_try) 2>&5
4699 ac_status=$?
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }; } &&
4702 { ac_try='test -s conftest.$ac_objext'
4703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4704 (eval $ac_try) 2>&5
4705 ac_status=$?
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }; }; then
4708 ac_header_compiler=yes
4709 else
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4713 ac_header_compiler=no
4715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4717 echo "${ECHO_T}$ac_header_compiler" >&6
4719 # Is the header present?
4720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4722 cat >conftest.$ac_ext <<_ACEOF
4723 /* confdefs.h. */
4724 _ACEOF
4725 cat confdefs.h >>conftest.$ac_ext
4726 cat >>conftest.$ac_ext <<_ACEOF
4727 /* end confdefs.h. */
4728 #include <$ac_header>
4729 _ACEOF
4730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4732 ac_status=$?
4733 grep -v '^ *+' conftest.er1 >conftest.err
4734 rm -f conftest.er1
4735 cat conftest.err >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); } >/dev/null; then
4738 if test -s conftest.err; then
4739 ac_cpp_err=$ac_c_preproc_warn_flag
4740 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4741 else
4742 ac_cpp_err=
4744 else
4745 ac_cpp_err=yes
4747 if test -z "$ac_cpp_err"; then
4748 ac_header_preproc=yes
4749 else
4750 echo "$as_me: failed program was:" >&5
4751 sed 's/^/| /' conftest.$ac_ext >&5
4753 ac_header_preproc=no
4755 rm -f conftest.err conftest.$ac_ext
4756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4757 echo "${ECHO_T}$ac_header_preproc" >&6
4759 # So? What about this header?
4760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4761 yes:no: )
4762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4766 ac_header_preproc=yes
4768 no:yes:* )
4769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4782 cat <<\_ASBOX
4783 ## -------------------------------- ##
4784 ## Report this to classpath@gnu.org ##
4785 ## -------------------------------- ##
4786 _ASBOX
4788 sed "s/^/$as_me: WARNING: /" >&2
4790 esac
4791 echo "$as_me:$LINENO: checking for $ac_header" >&5
4792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4795 else
4796 eval "$as_ac_Header=\$ac_header_preproc"
4798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4803 cat >>confdefs.h <<_ACEOF
4804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4805 _ACEOF
4807 else
4808 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4809 echo "$as_me: error: cannot find ltdl.h" >&2;}
4810 { (exit 1); exit 1; }; }
4813 done
4816 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4817 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4818 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4819 echo $ECHO_N "(cached) $ECHO_C" >&6
4820 else
4821 ac_check_lib_save_LIBS=$LIBS
4822 LIBS="-lltdl $LIBS"
4823 if test x$gcc_no_link = xyes; then
4824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4826 { (exit 1); exit 1; }; }
4828 cat >conftest.$ac_ext <<_ACEOF
4829 /* confdefs.h. */
4830 _ACEOF
4831 cat confdefs.h >>conftest.$ac_ext
4832 cat >>conftest.$ac_ext <<_ACEOF
4833 /* end confdefs.h. */
4835 /* Override any gcc2 internal prototype to avoid an error. */
4836 #ifdef __cplusplus
4837 extern "C"
4838 #endif
4839 /* We use char because int might match the return type of a gcc2
4840 builtin and then its argument prototype would still apply. */
4841 char lt_dlopen ();
4843 main ()
4845 lt_dlopen ();
4847 return 0;
4849 _ACEOF
4850 rm -f conftest.$ac_objext conftest$ac_exeext
4851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4852 (eval $ac_link) 2>conftest.er1
4853 ac_status=$?
4854 grep -v '^ *+' conftest.er1 >conftest.err
4855 rm -f conftest.er1
4856 cat conftest.err >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); } &&
4859 { ac_try='test -z "$ac_c_werror_flag"
4860 || test ! -s conftest.err'
4861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4862 (eval $ac_try) 2>&5
4863 ac_status=$?
4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865 (exit $ac_status); }; } &&
4866 { ac_try='test -s conftest$ac_exeext'
4867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4868 (eval $ac_try) 2>&5
4869 ac_status=$?
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); }; }; then
4872 ac_cv_lib_ltdl_lt_dlopen=yes
4873 else
4874 echo "$as_me: failed program was:" >&5
4875 sed 's/^/| /' conftest.$ac_ext >&5
4877 ac_cv_lib_ltdl_lt_dlopen=no
4879 rm -f conftest.err conftest.$ac_objext \
4880 conftest$ac_exeext conftest.$ac_ext
4881 LIBS=$ac_check_lib_save_LIBS
4883 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
4884 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
4885 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
4886 cat >>confdefs.h <<_ACEOF
4887 #define HAVE_LIBLTDL 1
4888 _ACEOF
4890 LIBS="-lltdl $LIBS"
4892 else
4893 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
4894 echo "$as_me: error: cannot find libltdl" >&2;}
4895 { (exit 1); exit 1; }; }
4899 xno) COMPILE_WRAPPERS=no ;;
4900 x) COMPILE_WRAPPERS=yes ;;
4901 *) COMPILE_WRAPPERS=yes ;;
4902 esac
4903 else
4904 COMPILE_WRAPPERS=no
4908 if test "x${COMPILE_WRAPPERS}" = xyes; then
4909 CREATE_WRAPPERS_TRUE=
4910 CREATE_WRAPPERS_FALSE='#'
4911 else
4912 CREATE_WRAPPERS_TRUE='#'
4913 CREATE_WRAPPERS_FALSE=
4917 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4918 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4919 LN_S=$as_ln_s
4920 if test "$LN_S" = "ln -s"; then
4921 echo "$as_me:$LINENO: result: yes" >&5
4922 echo "${ECHO_T}yes" >&6
4923 else
4924 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4925 echo "${ECHO_T}no, using $LN_S" >&6
4928 # Find a good install program. We prefer a C program (faster),
4929 # so one script is as good as another. But avoid the broken or
4930 # incompatible versions:
4931 # SysV /etc/install, /usr/sbin/install
4932 # SunOS /usr/etc/install
4933 # IRIX /sbin/install
4934 # AIX /bin/install
4935 # AmigaOS /C/install, which installs bootblocks on floppy discs
4936 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4937 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4938 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4939 # OS/2's system install, which has a completely different semantic
4940 # ./install, which can be erroneously created by make from ./install.sh.
4941 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4942 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4943 if test -z "$INSTALL"; then
4944 if test "${ac_cv_path_install+set}" = set; then
4945 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 else
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 for as_dir in $PATH
4950 IFS=$as_save_IFS
4951 test -z "$as_dir" && as_dir=.
4952 # Account for people who put trailing slashes in PATH elements.
4953 case $as_dir/ in
4954 ./ | .// | /cC/* | \
4955 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4956 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4957 /usr/ucb/* ) ;;
4959 # OSF1 and SCO ODT 3.0 have their own names for install.
4960 # Don't use installbsd from OSF since it installs stuff as root
4961 # by default.
4962 for ac_prog in ginstall scoinst install; do
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4965 if test $ac_prog = install &&
4966 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4967 # AIX install. It has an incompatible calling convention.
4969 elif test $ac_prog = install &&
4970 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4971 # program-specific install script used by HP pwplus--don't use.
4973 else
4974 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4975 break 3
4978 done
4979 done
4981 esac
4982 done
4986 if test "${ac_cv_path_install+set}" = set; then
4987 INSTALL=$ac_cv_path_install
4988 else
4989 # As a last resort, use the slow shell script. We don't cache a
4990 # path for INSTALL within a source directory, because that will
4991 # break other packages using the cache if that directory is
4992 # removed, or if the path is relative.
4993 INSTALL=$ac_install_sh
4996 echo "$as_me:$LINENO: result: $INSTALL" >&5
4997 echo "${ECHO_T}$INSTALL" >&6
4999 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5000 # It thinks the first close brace ends the variable substitution.
5001 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5003 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5005 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5009 # Check whether --enable-static or --disable-static was given.
5010 if test "${enable_static+set}" = set; then
5011 enableval="$enable_static"
5012 p=${PACKAGE-default}
5013 case $enableval in
5014 yes) enable_static=yes ;;
5015 no) enable_static=no ;;
5017 enable_static=no
5018 # Look at the argument we got. We use all the common list separators.
5019 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5020 for pkg in $enableval; do
5021 if test "X$pkg" = "X$p"; then
5022 enable_static=yes
5024 done
5025 IFS="$ac_save_ifs"
5027 esac
5028 else
5029 enable_static=no
5031 # Check whether --enable-shared or --disable-shared was given.
5032 if test "${enable_shared+set}" = set; then
5033 enableval="$enable_shared"
5034 p=${PACKAGE-default}
5035 case $enableval in
5036 yes) enable_shared=yes ;;
5037 no) enable_shared=no ;;
5039 enable_shared=no
5040 # Look at the argument we got. We use all the common list separators.
5041 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5042 for pkg in $enableval; do
5043 if test "X$pkg" = "X$p"; then
5044 enable_shared=yes
5046 done
5047 IFS="$ac_save_ifs"
5049 esac
5050 else
5051 enable_shared=yes
5053 # Check whether --enable-fast-install or --disable-fast-install was given.
5054 if test "${enable_fast_install+set}" = set; then
5055 enableval="$enable_fast_install"
5056 p=${PACKAGE-default}
5057 case $enableval in
5058 yes) enable_fast_install=yes ;;
5059 no) enable_fast_install=no ;;
5061 enable_fast_install=no
5062 # Look at the argument we got. We use all the common list separators.
5063 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5064 for pkg in $enableval; do
5065 if test "X$pkg" = "X$p"; then
5066 enable_fast_install=yes
5068 done
5069 IFS="$ac_save_ifs"
5071 esac
5072 else
5073 enable_fast_install=yes
5076 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5077 if test "${with_gnu_ld+set}" = set; then
5078 withval="$with_gnu_ld"
5079 test "$withval" = no || with_gnu_ld=yes
5080 else
5081 with_gnu_ld=no
5083 ac_prog=ld
5084 if test "$GCC" = yes; then
5085 # Check if gcc -print-prog-name=ld gives a path.
5086 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5087 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5088 case $host in
5089 *-*-mingw*)
5090 # gcc leaves a trailing carriage return which upsets mingw
5091 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5093 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5094 esac
5095 case $ac_prog in
5096 # Accept absolute paths.
5097 [\\/]* | [A-Za-z]:[\\/]*)
5098 re_direlt='/[^/][^/]*/\.\./'
5099 # Canonicalize the path of ld
5100 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5101 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5102 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5103 done
5104 test -z "$LD" && LD="$ac_prog"
5107 # If it fails, then pretend we aren't using GCC.
5108 ac_prog=ld
5111 # If it is relative, then search for the first ld in PATH.
5112 with_gnu_ld=unknown
5114 esac
5115 elif test "$with_gnu_ld" = yes; then
5116 echo "$as_me:$LINENO: checking for GNU ld" >&5
5117 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5118 else
5119 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5120 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5122 if test "${lt_cv_path_LD+set}" = set; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 else
5125 if test -z "$LD"; then
5126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5127 for ac_dir in $PATH; do
5128 test -z "$ac_dir" && ac_dir=.
5129 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5130 lt_cv_path_LD="$ac_dir/$ac_prog"
5131 # Check to see if the program is GNU ld. I'd rather use --version,
5132 # but apparently some GNU ld's only accept -v.
5133 # Break only if it was the GNU/non-GNU ld that we prefer.
5134 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
5135 test "$with_gnu_ld" != no && break
5136 else
5137 test "$with_gnu_ld" != yes && break
5140 done
5141 IFS="$ac_save_ifs"
5142 else
5143 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5147 LD="$lt_cv_path_LD"
5148 if test -n "$LD"; then
5149 echo "$as_me:$LINENO: result: $LD" >&5
5150 echo "${ECHO_T}$LD" >&6
5151 else
5152 echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6
5155 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5156 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5157 { (exit 1); exit 1; }; }
5158 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5159 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5160 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 else
5163 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5164 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5165 lt_cv_prog_gnu_ld=yes
5166 else
5167 lt_cv_prog_gnu_ld=no
5170 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5171 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5172 with_gnu_ld=$lt_cv_prog_gnu_ld
5175 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5176 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5177 if test "${lt_cv_ld_reload_flag+set}" = set; then
5178 echo $ECHO_N "(cached) $ECHO_C" >&6
5179 else
5180 lt_cv_ld_reload_flag='-r'
5182 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5183 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5184 reload_flag=$lt_cv_ld_reload_flag
5185 test -n "$reload_flag" && reload_flag=" $reload_flag"
5187 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5188 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5189 if test "${lt_cv_path_NM+set}" = set; then
5190 echo $ECHO_N "(cached) $ECHO_C" >&6
5191 else
5192 if test -n "$NM"; then
5193 # Let the user override the test.
5194 lt_cv_path_NM="$NM"
5195 else
5196 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5197 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5198 test -z "$ac_dir" && ac_dir=.
5199 tmp_nm=$ac_dir/${ac_tool_prefix}nm
5200 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
5201 # Check to see if the nm accepts a BSD-compat flag.
5202 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5203 # nm: unknown option "B" ignored
5204 # Tru64's nm complains that /dev/null is an invalid object file
5205 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
5206 lt_cv_path_NM="$tmp_nm -B"
5207 break
5208 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5209 lt_cv_path_NM="$tmp_nm -p"
5210 break
5211 else
5212 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5213 continue # so that we can try to find one that supports BSD flags
5216 done
5217 IFS="$ac_save_ifs"
5218 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5222 NM="$lt_cv_path_NM"
5223 echo "$as_me:$LINENO: result: $NM" >&5
5224 echo "${ECHO_T}$NM" >&6
5226 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5227 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5228 if test "${lt_cv_deplibs_check_method+set}" = set; then
5229 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 else
5231 lt_cv_file_magic_cmd='$MAGIC_CMD'
5232 lt_cv_file_magic_test_file=
5233 lt_cv_deplibs_check_method='unknown'
5234 # Need to set the preceding variable on all platforms that support
5235 # interlibrary dependencies.
5236 # 'none' -- dependencies not supported.
5237 # `unknown' -- same as none, but documents that we really don't know.
5238 # 'pass_all' -- all dependencies passed with no checks.
5239 # 'test_compile' -- check by making test program.
5240 # 'file_magic [regex]' -- check by looking for files in library path
5241 # which responds to the $file_magic_cmd with a given egrep regex.
5242 # If you have `file' or equivalent on your system and you're not sure
5243 # whether `pass_all' will *always* work, you probably want this one.
5245 case $host_os in
5246 aix*)
5247 lt_cv_deplibs_check_method=pass_all
5250 beos*)
5251 lt_cv_deplibs_check_method=pass_all
5254 bsdi4*)
5255 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5256 lt_cv_file_magic_cmd='/usr/bin/file -L'
5257 lt_cv_file_magic_test_file=/shlib/libc.so
5260 cygwin* | mingw* |pw32*)
5261 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5262 lt_cv_file_magic_cmd='$OBJDUMP -f'
5265 darwin* | rhapsody*)
5266 # this will be overwritten by pass_all, but leave it in just in case
5267 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5268 lt_cv_file_magic_cmd='/usr/bin/file -L'
5269 case "$host_os" in
5270 rhapsody* | darwin1.012)
5271 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
5273 *) # Darwin 1.3 on
5274 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5276 esac
5277 lt_cv_deplibs_check_method=pass_all
5280 freebsd* | kfreebsd*-gnu)
5281 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5282 case $host_cpu in
5283 i*86 )
5284 # Not sure whether the presence of OpenBSD here was a mistake.
5285 # Let's accept both of them until this is cleared up.
5286 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5287 lt_cv_file_magic_cmd=/usr/bin/file
5288 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5290 esac
5291 else
5292 lt_cv_deplibs_check_method=pass_all
5296 gnu*)
5297 lt_cv_deplibs_check_method=pass_all
5300 hpux10.20*|hpux11*)
5301 case $host_cpu in
5302 hppa*)
5303 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5304 lt_cv_file_magic_cmd=/usr/bin/file
5305 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5307 ia64*)
5308 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5309 lt_cv_file_magic_cmd=/usr/bin/file
5310 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5312 esac
5315 irix5* | irix6*)
5316 case $host_os in
5317 irix5*)
5318 # this will be overridden with pass_all, but let us keep it just in case
5319 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5322 case $LD in
5323 *-32|*"-32 ") libmagic=32-bit;;
5324 *-n32|*"-n32 ") libmagic=N32;;
5325 *-64|*"-64 ") libmagic=64-bit;;
5326 *) libmagic=never-match;;
5327 esac
5328 # this will be overridden with pass_all, but let us keep it just in case
5329 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5331 esac
5332 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5333 lt_cv_deplibs_check_method=pass_all
5336 # This must be Linux ELF.
5337 linux-gnu*)
5338 lt_cv_deplibs_check_method=pass_all
5341 netbsd* | knetbsd*-gnu)
5342 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5343 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5344 else
5345 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
5349 newsos6)
5350 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5351 lt_cv_file_magic_cmd=/usr/bin/file
5352 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5355 osf3* | osf4* | osf5*)
5356 # this will be overridden with pass_all, but let us keep it just in case
5357 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5358 lt_cv_file_magic_test_file=/shlib/libc.so
5359 lt_cv_deplibs_check_method=pass_all
5362 sco3.2v5*)
5363 lt_cv_deplibs_check_method=pass_all
5366 solaris*)
5367 lt_cv_deplibs_check_method=pass_all
5368 lt_cv_file_magic_test_file=/lib/libc.so
5371 sysv5uw[78]* | sysv4*uw2*)
5372 lt_cv_deplibs_check_method=pass_all
5375 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5376 case $host_vendor in
5377 ncr)
5378 lt_cv_deplibs_check_method=pass_all
5380 motorola)
5381 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]'
5382 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5384 esac
5386 esac
5389 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5390 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5391 file_magic_cmd=$lt_cv_file_magic_cmd
5392 deplibs_check_method=$lt_cv_deplibs_check_method
5397 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5399 # find the maximum length of command line arguments
5400 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5401 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5402 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5403 echo $ECHO_N "(cached) $ECHO_C" >&6
5404 else
5406 teststring="ABCD"
5408 case $build_os in
5409 msdosdjgpp*)
5410 # On DJGPP, this test can blow up pretty badly due to problems in libc
5411 # (any single argument exceeding 2000 bytes causes a buffer overrun
5412 # during glob expansion). Even if it were fixed, the result of this
5413 # check would be larger than it should be.
5414 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5417 cygwin* | mingw*)
5418 # On Win9x/ME, this test blows up -- it succeeds, but takes
5419 # about 5 minutes as the teststring grows exponentially.
5420 # Worse, since 9x/ME are not pre-emptively multitasking,
5421 # you end up with a "frozen" computer, even though with patience
5422 # the test eventually succeeds (with a max line length of 256k).
5423 # Instead, let's just punt: use the minimum linelength reported by
5424 # all of the supported platforms: 8192 (on NT/2K/XP).
5425 lt_cv_sys_max_cmd_len=8192;
5428 amigaos*)
5429 # On AmigaOS with pdksh, this test takes hours, literally.
5430 # So we just punt and use a minimum line length of 8192.
5431 lt_cv_sys_max_cmd_len=8192;
5434 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5435 # This has been around since 386BSD, at least. Likely further.
5436 if test -x /sbin/sysctl; then
5437 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5438 elif test -x /usr/sbin/sysctl; then
5439 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5440 else
5441 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
5443 # And add a safety zone
5444 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5445 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5447 esac
5451 if test -n "$lt_cv_sys_max_cmd_len" ; then
5452 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5453 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5454 else
5455 echo "$as_me:$LINENO: result: none" >&5
5456 echo "${ECHO_T}none" >&6
5460 # Only perform the check for file, if the check method requires it
5461 case $deplibs_check_method in
5462 file_magic*)
5463 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5464 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5465 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5466 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5467 echo $ECHO_N "(cached) $ECHO_C" >&6
5468 else
5469 case $MAGIC_CMD in
5471 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5473 ?:/*)
5474 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5477 ac_save_MAGIC_CMD="$MAGIC_CMD"
5478 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5479 ac_dummy="/usr/bin:$PATH"
5480 for ac_dir in $ac_dummy; do
5481 test -z "$ac_dir" && ac_dir=.
5482 if test -f $ac_dir/${ac_tool_prefix}file; then
5483 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5484 if test -n "$file_magic_test_file"; then
5485 case $deplibs_check_method in
5486 "file_magic "*)
5487 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5488 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5489 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5490 egrep "$file_magic_regex" > /dev/null; then
5492 else
5493 cat <<EOF 1>&2
5495 *** Warning: the command libtool uses to detect shared libraries,
5496 *** $file_magic_cmd, produces output that libtool cannot recognize.
5497 *** The result is that libtool may fail to recognize shared libraries
5498 *** as such. This will affect the creation of libtool libraries that
5499 *** depend on shared libraries, but programs linked with such libtool
5500 *** libraries will work regardless of this problem. Nevertheless, you
5501 *** may want to report the problem to your system manager and/or to
5502 *** bug-libtool@gnu.org
5505 fi ;;
5506 esac
5508 break
5510 done
5511 IFS="$ac_save_ifs"
5512 MAGIC_CMD="$ac_save_MAGIC_CMD"
5514 esac
5517 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5518 if test -n "$MAGIC_CMD"; then
5519 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5520 echo "${ECHO_T}$MAGIC_CMD" >&6
5521 else
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5526 if test -z "$lt_cv_path_MAGIC_CMD"; then
5527 if test -n "$ac_tool_prefix"; then
5528 echo "$as_me:$LINENO: checking for file" >&5
5529 echo $ECHO_N "checking for file... $ECHO_C" >&6
5530 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5531 echo $ECHO_N "(cached) $ECHO_C" >&6
5532 else
5533 case $MAGIC_CMD in
5535 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5537 ?:/*)
5538 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5541 ac_save_MAGIC_CMD="$MAGIC_CMD"
5542 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5543 ac_dummy="/usr/bin:$PATH"
5544 for ac_dir in $ac_dummy; do
5545 test -z "$ac_dir" && ac_dir=.
5546 if test -f $ac_dir/file; then
5547 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5548 if test -n "$file_magic_test_file"; then
5549 case $deplibs_check_method in
5550 "file_magic "*)
5551 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5552 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5553 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5554 egrep "$file_magic_regex" > /dev/null; then
5556 else
5557 cat <<EOF 1>&2
5559 *** Warning: the command libtool uses to detect shared libraries,
5560 *** $file_magic_cmd, produces output that libtool cannot recognize.
5561 *** The result is that libtool may fail to recognize shared libraries
5562 *** as such. This will affect the creation of libtool libraries that
5563 *** depend on shared libraries, but programs linked with such libtool
5564 *** libraries will work regardless of this problem. Nevertheless, you
5565 *** may want to report the problem to your system manager and/or to
5566 *** bug-libtool@gnu.org
5569 fi ;;
5570 esac
5572 break
5574 done
5575 IFS="$ac_save_ifs"
5576 MAGIC_CMD="$ac_save_MAGIC_CMD"
5578 esac
5581 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5582 if test -n "$MAGIC_CMD"; then
5583 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5584 echo "${ECHO_T}$MAGIC_CMD" >&6
5585 else
5586 echo "$as_me:$LINENO: result: no" >&5
5587 echo "${ECHO_T}no" >&6
5590 else
5591 MAGIC_CMD=:
5597 esac
5599 if test -n "$ac_tool_prefix"; then
5600 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5601 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5602 echo "$as_me:$LINENO: checking for $ac_word" >&5
5603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5604 if test "${ac_cv_prog_RANLIB+set}" = set; then
5605 echo $ECHO_N "(cached) $ECHO_C" >&6
5606 else
5607 if test -n "$RANLIB"; then
5608 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5609 else
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5613 IFS=$as_save_IFS
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 break 2
5621 done
5622 done
5626 RANLIB=$ac_cv_prog_RANLIB
5627 if test -n "$RANLIB"; then
5628 echo "$as_me:$LINENO: result: $RANLIB" >&5
5629 echo "${ECHO_T}$RANLIB" >&6
5630 else
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5636 if test -z "$ac_cv_prog_RANLIB"; then
5637 ac_ct_RANLIB=$RANLIB
5638 # Extract the first word of "ranlib", so it can be a program name with args.
5639 set dummy ranlib; ac_word=$2
5640 echo "$as_me:$LINENO: checking for $ac_word" >&5
5641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5642 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5643 echo $ECHO_N "(cached) $ECHO_C" >&6
5644 else
5645 if test -n "$ac_ct_RANLIB"; then
5646 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5647 else
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 for as_dir in $PATH
5651 IFS=$as_save_IFS
5652 test -z "$as_dir" && as_dir=.
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_ac_ct_RANLIB="ranlib"
5656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 break 2
5659 done
5660 done
5662 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5665 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5666 if test -n "$ac_ct_RANLIB"; then
5667 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5668 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5669 else
5670 echo "$as_me:$LINENO: result: no" >&5
5671 echo "${ECHO_T}no" >&6
5674 RANLIB=$ac_ct_RANLIB
5675 else
5676 RANLIB="$ac_cv_prog_RANLIB"
5679 if test -n "$ac_tool_prefix"; then
5680 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5681 set dummy ${ac_tool_prefix}strip; ac_word=$2
5682 echo "$as_me:$LINENO: checking for $ac_word" >&5
5683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5684 if test "${ac_cv_prog_STRIP+set}" = set; then
5685 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 else
5687 if test -n "$STRIP"; then
5688 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5689 else
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in $PATH
5693 IFS=$as_save_IFS
5694 test -z "$as_dir" && as_dir=.
5695 for ac_exec_ext in '' $ac_executable_extensions; do
5696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 break 2
5701 done
5702 done
5706 STRIP=$ac_cv_prog_STRIP
5707 if test -n "$STRIP"; then
5708 echo "$as_me:$LINENO: result: $STRIP" >&5
5709 echo "${ECHO_T}$STRIP" >&6
5710 else
5711 echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6
5716 if test -z "$ac_cv_prog_STRIP"; then
5717 ac_ct_STRIP=$STRIP
5718 # Extract the first word of "strip", so it can be a program name with args.
5719 set dummy strip; ac_word=$2
5720 echo "$as_me:$LINENO: checking for $ac_word" >&5
5721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5722 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5723 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 else
5725 if test -n "$ac_ct_STRIP"; then
5726 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5727 else
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 for as_dir in $PATH
5731 IFS=$as_save_IFS
5732 test -z "$as_dir" && as_dir=.
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5735 ac_cv_prog_ac_ct_STRIP="strip"
5736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 break 2
5739 done
5740 done
5742 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5745 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5746 if test -n "$ac_ct_STRIP"; then
5747 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5748 echo "${ECHO_T}$ac_ct_STRIP" >&6
5749 else
5750 echo "$as_me:$LINENO: result: no" >&5
5751 echo "${ECHO_T}no" >&6
5754 STRIP=$ac_ct_STRIP
5755 else
5756 STRIP="$ac_cv_prog_STRIP"
5760 # Check for any special flags to pass to ltconfig.
5761 libtool_flags="--cache-file=$cache_file"
5762 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5763 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5764 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5765 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5766 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5769 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5770 if test "${enable_libtool_lock+set}" = set; then
5771 enableval="$enable_libtool_lock"
5774 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5775 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5778 # Check whether --with-pic or --without-pic was given.
5779 if test "${with_pic+set}" = set; then
5780 withval="$with_pic"
5781 pic_mode="$withval"
5782 else
5783 pic_mode=default
5785 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5786 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5788 # Some flags need to be propagated to the compiler or linker for good
5789 # libtool support.
5790 case $host in
5791 *-*-irix6*)
5792 # Find out which ABI we are using.
5793 echo '#line 5793 "configure"' > conftest.$ac_ext
5794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5795 (eval $ac_compile) 2>&5
5796 ac_status=$?
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); }; then
5799 if test "$lt_cv_prog_gnu_ld" = yes; then
5800 case `/usr/bin/file conftest.$ac_objext` in
5801 *32-bit*)
5802 LD="${LD-ld} -melf32bsmip"
5804 *N32*)
5805 LD="${LD-ld} -melf32bmipn32"
5807 *64-bit*)
5808 LD="${LD-ld} -melf64bmip"
5810 esac
5811 else
5812 case `/usr/bin/file conftest.$ac_objext` in
5813 *32-bit*)
5814 LD="${LD-ld} -32"
5816 *N32*)
5817 LD="${LD-ld} -n32"
5819 *64-bit*)
5820 LD="${LD-ld} -64"
5822 esac
5825 rm -rf conftest*
5828 ia64-*-hpux*)
5829 # Find out which ABI we are using.
5830 echo 'int i;' > conftest.$ac_ext
5831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5832 (eval $ac_compile) 2>&5
5833 ac_status=$?
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; then
5836 case "`/usr/bin/file conftest.o`" in
5837 *ELF-32*)
5838 HPUX_IA64_MODE="32"
5840 *ELF-64*)
5841 HPUX_IA64_MODE="64"
5843 esac
5845 rm -rf conftest*
5848 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5849 # Find out which ABI we are using.
5850 echo 'int i;' > conftest.$ac_ext
5851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5852 (eval $ac_compile) 2>&5
5853 ac_status=$?
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); }; then
5856 case "`/usr/bin/file conftest.o`" in
5857 *32-bit*)
5858 case $host in
5859 x86_64-*linux*)
5860 LD="${LD-ld} -m elf_i386"
5862 ppc64-*linux*|powerpc64-*linux*)
5863 LD="${LD-ld} -m elf32ppclinux"
5865 s390x-*linux*)
5866 LD="${LD-ld} -m elf_s390"
5868 sparc64-*linux*)
5869 LD="${LD-ld} -m elf32_sparc"
5871 esac
5873 *64-bit*)
5874 case $host in
5875 x86_64-*linux*)
5876 LD="${LD-ld} -m elf_x86_64"
5878 ppc*-*linux*|powerpc*-*linux*)
5879 LD="${LD-ld} -m elf64ppc"
5881 s390*-*linux*)
5882 LD="${LD-ld} -m elf64_s390"
5884 sparc*-*linux*)
5885 LD="${LD-ld} -m elf64_sparc"
5887 esac
5889 esac
5891 rm -rf conftest*
5894 *-*-sco3.2v5*)
5895 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5896 SAVE_CFLAGS="$CFLAGS"
5897 CFLAGS="$CFLAGS -belf"
5898 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5899 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5900 if test "${lt_cv_cc_needs_belf+set}" = set; then
5901 echo $ECHO_N "(cached) $ECHO_C" >&6
5902 else
5905 ac_ext=c
5906 ac_cpp='$CPP $CPPFLAGS'
5907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5911 if test x$gcc_no_link = xyes; then
5912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5914 { (exit 1); exit 1; }; }
5916 cat >conftest.$ac_ext <<_ACEOF
5917 /* confdefs.h. */
5918 _ACEOF
5919 cat confdefs.h >>conftest.$ac_ext
5920 cat >>conftest.$ac_ext <<_ACEOF
5921 /* end confdefs.h. */
5924 main ()
5928 return 0;
5930 _ACEOF
5931 rm -f conftest.$ac_objext conftest$ac_exeext
5932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5933 (eval $ac_link) 2>conftest.er1
5934 ac_status=$?
5935 grep -v '^ *+' conftest.er1 >conftest.err
5936 rm -f conftest.er1
5937 cat conftest.err >&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); } &&
5940 { ac_try='test -z "$ac_c_werror_flag"
5941 || test ! -s conftest.err'
5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5943 (eval $ac_try) 2>&5
5944 ac_status=$?
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); }; } &&
5947 { ac_try='test -s conftest$ac_exeext'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5949 (eval $ac_try) 2>&5
5950 ac_status=$?
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; }; then
5953 lt_cv_cc_needs_belf=yes
5954 else
5955 echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.$ac_ext >&5
5958 lt_cv_cc_needs_belf=no
5960 rm -f conftest.err conftest.$ac_objext \
5961 conftest$ac_exeext conftest.$ac_ext
5962 ac_ext=c
5963 ac_cpp='$CPP $CPPFLAGS'
5964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5969 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5970 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5971 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5972 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5973 CFLAGS="$SAVE_CFLAGS"
5978 esac
5981 # Save cache, so that ltconfig can load it
5982 cat >confcache <<\_ACEOF
5983 # This file is a shell script that caches the results of configure
5984 # tests run on this system so they can be shared between configure
5985 # scripts and configure runs, see configure's option --config-cache.
5986 # It is not useful on other systems. If it contains results you don't
5987 # want to keep, you may remove or edit it.
5989 # config.status only pays attention to the cache file if you give it
5990 # the --recheck option to rerun configure.
5992 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5993 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5994 # following values.
5996 _ACEOF
5998 # The following way of writing the cache mishandles newlines in values,
5999 # but we know of no workaround that is simple, portable, and efficient.
6000 # So, don't put newlines in cache variables' values.
6001 # Ultrix sh set writes to stderr and can't be redirected directly,
6002 # and sets the high bit in the cache file unless we assign to the vars.
6004 (set) 2>&1 |
6005 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6006 *ac_space=\ *)
6007 # `set' does not quote correctly, so add quotes (double-quote
6008 # substitution turns \\\\ into \\, and sed turns \\ into \).
6009 sed -n \
6010 "s/'/'\\\\''/g;
6011 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6014 # `set' quotes correctly as required by POSIX, so do not add quotes.
6015 sed -n \
6016 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6018 esac;
6020 sed '
6021 t clear
6022 : clear
6023 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6024 t end
6025 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6026 : end' >>confcache
6027 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6028 if test -w $cache_file; then
6029 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6030 cat confcache >$cache_file
6031 else
6032 echo "not updating unwritable cache $cache_file"
6035 rm -f confcache
6037 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6038 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
6039 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
6040 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
6041 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
6042 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
6043 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
6044 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
6045 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
6046 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6047 echo "$as_me: error: libtool configure failed" >&2;}
6048 { (exit 1); exit 1; }; }
6050 # Reload cache, that may have been modified by ltconfig
6051 if test -r "$cache_file"; then
6052 # Some versions of bash will fail to source /dev/null (special
6053 # files actually), so we avoid doing that.
6054 if test -f "$cache_file"; then
6055 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6056 echo "$as_me: loading cache $cache_file" >&6;}
6057 case $cache_file in
6058 [\\/]* | ?:[\\/]* ) . $cache_file;;
6059 *) . ./$cache_file;;
6060 esac
6062 else
6063 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6064 echo "$as_me: creating cache $cache_file" >&6;}
6065 >$cache_file
6069 # This can be used to rebuild libtool when needed
6070 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6072 # Always use our own libtool.
6073 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6075 # Redirect the config.log output again, so that the ltconfig log is not
6076 # clobbered by the next message.
6077 exec 5>>./config.log
6084 ac_ext=c
6085 ac_cpp='$CPP $CPPFLAGS'
6086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6089 if test -n "$ac_tool_prefix"; then
6090 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6091 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6092 echo "$as_me:$LINENO: checking for $ac_word" >&5
6093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6094 if test "${ac_cv_prog_CC+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6096 else
6097 if test -n "$CC"; then
6098 ac_cv_prog_CC="$CC" # Let the user override the test.
6099 else
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 for as_dir in $PATH
6103 IFS=$as_save_IFS
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6107 ac_cv_prog_CC="${ac_tool_prefix}gcc"
6108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 break 2
6111 done
6112 done
6116 CC=$ac_cv_prog_CC
6117 if test -n "$CC"; then
6118 echo "$as_me:$LINENO: result: $CC" >&5
6119 echo "${ECHO_T}$CC" >&6
6120 else
6121 echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6
6126 if test -z "$ac_cv_prog_CC"; then
6127 ac_ct_CC=$CC
6128 # Extract the first word of "gcc", so it can be a program name with args.
6129 set dummy gcc; ac_word=$2
6130 echo "$as_me:$LINENO: checking for $ac_word" >&5
6131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6132 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6133 echo $ECHO_N "(cached) $ECHO_C" >&6
6134 else
6135 if test -n "$ac_ct_CC"; then
6136 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_ac_ct_CC="gcc"
6146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 break 2
6149 done
6150 done
6154 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6155 if test -n "$ac_ct_CC"; then
6156 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6157 echo "${ECHO_T}$ac_ct_CC" >&6
6158 else
6159 echo "$as_me:$LINENO: result: no" >&5
6160 echo "${ECHO_T}no" >&6
6163 CC=$ac_ct_CC
6164 else
6165 CC="$ac_cv_prog_CC"
6168 if test -z "$CC"; then
6169 if test -n "$ac_tool_prefix"; then
6170 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6171 set dummy ${ac_tool_prefix}cc; ac_word=$2
6172 echo "$as_me:$LINENO: checking for $ac_word" >&5
6173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6174 if test "${ac_cv_prog_CC+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6176 else
6177 if test -n "$CC"; then
6178 ac_cv_prog_CC="$CC" # Let the user override the test.
6179 else
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181 for as_dir in $PATH
6183 IFS=$as_save_IFS
6184 test -z "$as_dir" && as_dir=.
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6187 ac_cv_prog_CC="${ac_tool_prefix}cc"
6188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6189 break 2
6191 done
6192 done
6196 CC=$ac_cv_prog_CC
6197 if test -n "$CC"; then
6198 echo "$as_me:$LINENO: result: $CC" >&5
6199 echo "${ECHO_T}$CC" >&6
6200 else
6201 echo "$as_me:$LINENO: result: no" >&5
6202 echo "${ECHO_T}no" >&6
6206 if test -z "$ac_cv_prog_CC"; then
6207 ac_ct_CC=$CC
6208 # Extract the first word of "cc", so it can be a program name with args.
6209 set dummy cc; ac_word=$2
6210 echo "$as_me:$LINENO: checking for $ac_word" >&5
6211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6212 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6213 echo $ECHO_N "(cached) $ECHO_C" >&6
6214 else
6215 if test -n "$ac_ct_CC"; then
6216 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6217 else
6218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219 for as_dir in $PATH
6221 IFS=$as_save_IFS
6222 test -z "$as_dir" && as_dir=.
6223 for ac_exec_ext in '' $ac_executable_extensions; do
6224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6225 ac_cv_prog_ac_ct_CC="cc"
6226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6227 break 2
6229 done
6230 done
6234 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6235 if test -n "$ac_ct_CC"; then
6236 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6237 echo "${ECHO_T}$ac_ct_CC" >&6
6238 else
6239 echo "$as_me:$LINENO: result: no" >&5
6240 echo "${ECHO_T}no" >&6
6243 CC=$ac_ct_CC
6244 else
6245 CC="$ac_cv_prog_CC"
6249 if test -z "$CC"; then
6250 # Extract the first word of "cc", so it can be a program name with args.
6251 set dummy cc; ac_word=$2
6252 echo "$as_me:$LINENO: checking for $ac_word" >&5
6253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6254 if test "${ac_cv_prog_CC+set}" = set; then
6255 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 else
6257 if test -n "$CC"; then
6258 ac_cv_prog_CC="$CC" # Let the user override the test.
6259 else
6260 ac_prog_rejected=no
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 for as_dir in $PATH
6264 IFS=$as_save_IFS
6265 test -z "$as_dir" && as_dir=.
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6268 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6269 ac_prog_rejected=yes
6270 continue
6272 ac_cv_prog_CC="cc"
6273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 break 2
6276 done
6277 done
6279 if test $ac_prog_rejected = yes; then
6280 # We found a bogon in the path, so make sure we never use it.
6281 set dummy $ac_cv_prog_CC
6282 shift
6283 if test $# != 0; then
6284 # We chose a different compiler from the bogus one.
6285 # However, it has the same basename, so the bogon will be chosen
6286 # first if we set CC to just the basename; use the full file name.
6287 shift
6288 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6293 CC=$ac_cv_prog_CC
6294 if test -n "$CC"; then
6295 echo "$as_me:$LINENO: result: $CC" >&5
6296 echo "${ECHO_T}$CC" >&6
6297 else
6298 echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6
6303 if test -z "$CC"; then
6304 if test -n "$ac_tool_prefix"; then
6305 for ac_prog in cl
6307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6309 echo "$as_me:$LINENO: checking for $ac_word" >&5
6310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6311 if test "${ac_cv_prog_CC+set}" = set; then
6312 echo $ECHO_N "(cached) $ECHO_C" >&6
6313 else
6314 if test -n "$CC"; then
6315 ac_cv_prog_CC="$CC" # Let the user override the test.
6316 else
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6318 for as_dir in $PATH
6320 IFS=$as_save_IFS
6321 test -z "$as_dir" && as_dir=.
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6324 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6326 break 2
6328 done
6329 done
6333 CC=$ac_cv_prog_CC
6334 if test -n "$CC"; then
6335 echo "$as_me:$LINENO: result: $CC" >&5
6336 echo "${ECHO_T}$CC" >&6
6337 else
6338 echo "$as_me:$LINENO: result: no" >&5
6339 echo "${ECHO_T}no" >&6
6342 test -n "$CC" && break
6343 done
6345 if test -z "$CC"; then
6346 ac_ct_CC=$CC
6347 for ac_prog in cl
6349 # Extract the first word of "$ac_prog", so it can be a program name with args.
6350 set dummy $ac_prog; ac_word=$2
6351 echo "$as_me:$LINENO: checking for $ac_word" >&5
6352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6354 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 else
6356 if test -n "$ac_ct_CC"; then
6357 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6358 else
6359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 for as_dir in $PATH
6362 IFS=$as_save_IFS
6363 test -z "$as_dir" && as_dir=.
6364 for ac_exec_ext in '' $ac_executable_extensions; do
6365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6366 ac_cv_prog_ac_ct_CC="$ac_prog"
6367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6368 break 2
6370 done
6371 done
6375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6376 if test -n "$ac_ct_CC"; then
6377 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6378 echo "${ECHO_T}$ac_ct_CC" >&6
6379 else
6380 echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6
6384 test -n "$ac_ct_CC" && break
6385 done
6387 CC=$ac_ct_CC
6393 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6394 See \`config.log' for more details." >&5
6395 echo "$as_me: error: no acceptable C compiler found in \$PATH
6396 See \`config.log' for more details." >&2;}
6397 { (exit 1); exit 1; }; }
6399 # Provide some information about the compiler.
6400 echo "$as_me:$LINENO:" \
6401 "checking for C compiler version" >&5
6402 ac_compiler=`set X $ac_compile; echo $2`
6403 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6404 (eval $ac_compiler --version </dev/null >&5) 2>&5
6405 ac_status=$?
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }
6408 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6409 (eval $ac_compiler -v </dev/null >&5) 2>&5
6410 ac_status=$?
6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); }
6413 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6414 (eval $ac_compiler -V </dev/null >&5) 2>&5
6415 ac_status=$?
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); }
6419 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6420 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6421 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6422 echo $ECHO_N "(cached) $ECHO_C" >&6
6423 else
6424 cat >conftest.$ac_ext <<_ACEOF
6425 /* confdefs.h. */
6426 _ACEOF
6427 cat confdefs.h >>conftest.$ac_ext
6428 cat >>conftest.$ac_ext <<_ACEOF
6429 /* end confdefs.h. */
6432 main ()
6434 #ifndef __GNUC__
6435 choke me
6436 #endif
6439 return 0;
6441 _ACEOF
6442 rm -f conftest.$ac_objext
6443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6444 (eval $ac_compile) 2>conftest.er1
6445 ac_status=$?
6446 grep -v '^ *+' conftest.er1 >conftest.err
6447 rm -f conftest.er1
6448 cat conftest.err >&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); } &&
6451 { ac_try='test -z "$ac_c_werror_flag"
6452 || test ! -s conftest.err'
6453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6454 (eval $ac_try) 2>&5
6455 ac_status=$?
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); }; } &&
6458 { ac_try='test -s conftest.$ac_objext'
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6460 (eval $ac_try) 2>&5
6461 ac_status=$?
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }; }; then
6464 ac_compiler_gnu=yes
6465 else
6466 echo "$as_me: failed program was:" >&5
6467 sed 's/^/| /' conftest.$ac_ext >&5
6469 ac_compiler_gnu=no
6471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6472 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6475 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6476 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6477 GCC=`test $ac_compiler_gnu = yes && echo yes`
6478 ac_test_CFLAGS=${CFLAGS+set}
6479 ac_save_CFLAGS=$CFLAGS
6480 CFLAGS="-g"
6481 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6482 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6483 if test "${ac_cv_prog_cc_g+set}" = set; then
6484 echo $ECHO_N "(cached) $ECHO_C" >&6
6485 else
6486 cat >conftest.$ac_ext <<_ACEOF
6487 /* confdefs.h. */
6488 _ACEOF
6489 cat confdefs.h >>conftest.$ac_ext
6490 cat >>conftest.$ac_ext <<_ACEOF
6491 /* end confdefs.h. */
6494 main ()
6498 return 0;
6500 _ACEOF
6501 rm -f conftest.$ac_objext
6502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6503 (eval $ac_compile) 2>conftest.er1
6504 ac_status=$?
6505 grep -v '^ *+' conftest.er1 >conftest.err
6506 rm -f conftest.er1
6507 cat conftest.err >&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); } &&
6510 { ac_try='test -z "$ac_c_werror_flag"
6511 || test ! -s conftest.err'
6512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 (eval $ac_try) 2>&5
6514 ac_status=$?
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); }; } &&
6517 { ac_try='test -s conftest.$ac_objext'
6518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6519 (eval $ac_try) 2>&5
6520 ac_status=$?
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); }; }; then
6523 ac_cv_prog_cc_g=yes
6524 else
6525 echo "$as_me: failed program was:" >&5
6526 sed 's/^/| /' conftest.$ac_ext >&5
6528 ac_cv_prog_cc_g=no
6530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6532 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6533 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6534 if test "$ac_test_CFLAGS" = set; then
6535 CFLAGS=$ac_save_CFLAGS
6536 elif test $ac_cv_prog_cc_g = yes; then
6537 if test "$GCC" = yes; then
6538 CFLAGS="-g -O2"
6539 else
6540 CFLAGS="-g"
6542 else
6543 if test "$GCC" = yes; then
6544 CFLAGS="-O2"
6545 else
6546 CFLAGS=
6549 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6550 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6551 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6552 echo $ECHO_N "(cached) $ECHO_C" >&6
6553 else
6554 ac_cv_prog_cc_stdc=no
6555 ac_save_CC=$CC
6556 cat >conftest.$ac_ext <<_ACEOF
6557 /* confdefs.h. */
6558 _ACEOF
6559 cat confdefs.h >>conftest.$ac_ext
6560 cat >>conftest.$ac_ext <<_ACEOF
6561 /* end confdefs.h. */
6562 #include <stdarg.h>
6563 #include <stdio.h>
6564 #include <sys/types.h>
6565 #include <sys/stat.h>
6566 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6567 struct buf { int x; };
6568 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6569 static char *e (p, i)
6570 char **p;
6571 int i;
6573 return p[i];
6575 static char *f (char * (*g) (char **, int), char **p, ...)
6577 char *s;
6578 va_list v;
6579 va_start (v,p);
6580 s = g (p, va_arg (v,int));
6581 va_end (v);
6582 return s;
6585 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6586 function prototypes and stuff, but not '\xHH' hex character constants.
6587 These don't provoke an error unfortunately, instead are silently treated
6588 as 'x'. The following induces an error, until -std1 is added to get
6589 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6590 array size at least. It's necessary to write '\x00'==0 to get something
6591 that's true only with -std1. */
6592 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6594 int test (int i, double x);
6595 struct s1 {int (*f) (int a);};
6596 struct s2 {int (*f) (double a);};
6597 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6598 int argc;
6599 char **argv;
6601 main ()
6603 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6605 return 0;
6607 _ACEOF
6608 # Don't try gcc -ansi; that turns off useful extensions and
6609 # breaks some systems' header files.
6610 # AIX -qlanglvl=ansi
6611 # Ultrix and OSF/1 -std1
6612 # HP-UX 10.20 and later -Ae
6613 # HP-UX older versions -Aa -D_HPUX_SOURCE
6614 # SVR4 -Xc -D__EXTENSIONS__
6615 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6617 CC="$ac_save_CC $ac_arg"
6618 rm -f conftest.$ac_objext
6619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6620 (eval $ac_compile) 2>conftest.er1
6621 ac_status=$?
6622 grep -v '^ *+' conftest.er1 >conftest.err
6623 rm -f conftest.er1
6624 cat conftest.err >&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } &&
6627 { ac_try='test -z "$ac_c_werror_flag"
6628 || test ! -s conftest.err'
6629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6630 (eval $ac_try) 2>&5
6631 ac_status=$?
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); }; } &&
6634 { ac_try='test -s conftest.$ac_objext'
6635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6636 (eval $ac_try) 2>&5
6637 ac_status=$?
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); }; }; then
6640 ac_cv_prog_cc_stdc=$ac_arg
6641 break
6642 else
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6647 rm -f conftest.err conftest.$ac_objext
6648 done
6649 rm -f conftest.$ac_ext conftest.$ac_objext
6650 CC=$ac_save_CC
6654 case "x$ac_cv_prog_cc_stdc" in
6655 x|xno)
6656 echo "$as_me:$LINENO: result: none needed" >&5
6657 echo "${ECHO_T}none needed" >&6 ;;
6659 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6660 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6661 CC="$CC $ac_cv_prog_cc_stdc" ;;
6662 esac
6664 # Some people use a C++ compiler to compile C. Since we use `exit',
6665 # in C++ we need to declare it. In case someone uses the same compiler
6666 # for both compiling C and C++ we need to have the C++ compiler decide
6667 # the declaration of exit, since it's the most demanding environment.
6668 cat >conftest.$ac_ext <<_ACEOF
6669 #ifndef __cplusplus
6670 choke me
6671 #endif
6672 _ACEOF
6673 rm -f conftest.$ac_objext
6674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6675 (eval $ac_compile) 2>conftest.er1
6676 ac_status=$?
6677 grep -v '^ *+' conftest.er1 >conftest.err
6678 rm -f conftest.er1
6679 cat conftest.err >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } &&
6682 { ac_try='test -z "$ac_c_werror_flag"
6683 || test ! -s conftest.err'
6684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6685 (eval $ac_try) 2>&5
6686 ac_status=$?
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); }; } &&
6689 { ac_try='test -s conftest.$ac_objext'
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6691 (eval $ac_try) 2>&5
6692 ac_status=$?
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); }; }; then
6695 for ac_declaration in \
6696 '' \
6697 'extern "C" void std::exit (int) throw (); using std::exit;' \
6698 'extern "C" void std::exit (int); using std::exit;' \
6699 'extern "C" void exit (int) throw ();' \
6700 'extern "C" void exit (int);' \
6701 'void exit (int);'
6703 cat >conftest.$ac_ext <<_ACEOF
6704 /* confdefs.h. */
6705 _ACEOF
6706 cat confdefs.h >>conftest.$ac_ext
6707 cat >>conftest.$ac_ext <<_ACEOF
6708 /* end confdefs.h. */
6709 $ac_declaration
6710 #include <stdlib.h>
6712 main ()
6714 exit (42);
6716 return 0;
6718 _ACEOF
6719 rm -f conftest.$ac_objext
6720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6721 (eval $ac_compile) 2>conftest.er1
6722 ac_status=$?
6723 grep -v '^ *+' conftest.er1 >conftest.err
6724 rm -f conftest.er1
6725 cat conftest.err >&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); } &&
6728 { ac_try='test -z "$ac_c_werror_flag"
6729 || test ! -s conftest.err'
6730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6731 (eval $ac_try) 2>&5
6732 ac_status=$?
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); }; } &&
6735 { ac_try='test -s conftest.$ac_objext'
6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6737 (eval $ac_try) 2>&5
6738 ac_status=$?
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); }; }; then
6742 else
6743 echo "$as_me: failed program was:" >&5
6744 sed 's/^/| /' conftest.$ac_ext >&5
6746 continue
6748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6749 cat >conftest.$ac_ext <<_ACEOF
6750 /* confdefs.h. */
6751 _ACEOF
6752 cat confdefs.h >>conftest.$ac_ext
6753 cat >>conftest.$ac_ext <<_ACEOF
6754 /* end confdefs.h. */
6755 $ac_declaration
6757 main ()
6759 exit (42);
6761 return 0;
6763 _ACEOF
6764 rm -f conftest.$ac_objext
6765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6766 (eval $ac_compile) 2>conftest.er1
6767 ac_status=$?
6768 grep -v '^ *+' conftest.er1 >conftest.err
6769 rm -f conftest.er1
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } &&
6773 { ac_try='test -z "$ac_c_werror_flag"
6774 || test ! -s conftest.err'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776 (eval $ac_try) 2>&5
6777 ac_status=$?
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; } &&
6780 { ac_try='test -s conftest.$ac_objext'
6781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782 (eval $ac_try) 2>&5
6783 ac_status=$?
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); }; }; then
6786 break
6787 else
6788 echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.$ac_ext >&5
6792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6793 done
6794 rm -f conftest*
6795 if test -n "$ac_declaration"; then
6796 echo '#ifdef __cplusplus' >>confdefs.h
6797 echo $ac_declaration >>confdefs.h
6798 echo '#endif' >>confdefs.h
6801 else
6802 echo "$as_me: failed program was:" >&5
6803 sed 's/^/| /' conftest.$ac_ext >&5
6806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6807 ac_ext=c
6808 ac_cpp='$CPP $CPPFLAGS'
6809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6813 depcc="$CC" am_compiler_list=
6815 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6816 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6817 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6818 echo $ECHO_N "(cached) $ECHO_C" >&6
6819 else
6820 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6821 # We make a subdir and do the tests there. Otherwise we can end up
6822 # making bogus files that we don't know about and never remove. For
6823 # instance it was reported that on HP-UX the gcc test will end up
6824 # making a dummy file named `D' -- because `-MD' means `put the output
6825 # in D'.
6826 mkdir conftest.dir
6827 # Copy depcomp to subdir because otherwise we won't find it if we're
6828 # using a relative directory.
6829 cp "$am_depcomp" conftest.dir
6830 cd conftest.dir
6831 # We will build objects and dependencies in a subdirectory because
6832 # it helps to detect inapplicable dependency modes. For instance
6833 # both Tru64's cc and ICC support -MD to output dependencies as a
6834 # side effect of compilation, but ICC will put the dependencies in
6835 # the current directory while Tru64 will put them in the object
6836 # directory.
6837 mkdir sub
6839 am_cv_CC_dependencies_compiler_type=none
6840 if test "$am_compiler_list" = ""; then
6841 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6843 for depmode in $am_compiler_list; do
6844 # Setup a source with many dependencies, because some compilers
6845 # like to wrap large dependency lists on column 80 (with \), and
6846 # we should not choose a depcomp mode which is confused by this.
6848 # We need to recreate these files for each test, as the compiler may
6849 # overwrite some of them when testing with obscure command lines.
6850 # This happens at least with the AIX C compiler.
6851 : > sub/conftest.c
6852 for i in 1 2 3 4 5 6; do
6853 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6854 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6855 # Solaris 8's {/usr,}/bin/sh.
6856 touch sub/conftst$i.h
6857 done
6858 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6860 case $depmode in
6861 nosideeffect)
6862 # after this tag, mechanisms are not by side-effect, so they'll
6863 # only be used when explicitly requested
6864 if test "x$enable_dependency_tracking" = xyes; then
6865 continue
6866 else
6867 break
6870 none) break ;;
6871 esac
6872 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6873 # mode. It turns out that the SunPro C++ compiler does not properly
6874 # handle `-M -o', and we need to detect this.
6875 if depmode=$depmode \
6876 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6877 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6878 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6879 >/dev/null 2>conftest.err &&
6880 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6881 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6882 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6883 # icc doesn't choke on unknown options, it will just issue warnings
6884 # or remarks (even with -Werror). So we grep stderr for any message
6885 # that says an option was ignored or not supported.
6886 # When given -MP, icc 7.0 and 7.1 complain thusly:
6887 # icc: Command line warning: ignoring option '-M'; no argument required
6888 # The diagnosis changed in icc 8.0:
6889 # icc: Command line remark: option '-MP' not supported
6890 if (grep 'ignoring option' conftest.err ||
6891 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6892 am_cv_CC_dependencies_compiler_type=$depmode
6893 break
6896 done
6898 cd ..
6899 rm -rf conftest.dir
6900 else
6901 am_cv_CC_dependencies_compiler_type=none
6905 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6906 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6907 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6912 test "x$enable_dependency_tracking" != xno \
6913 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6914 am__fastdepCC_TRUE=
6915 am__fastdepCC_FALSE='#'
6916 else
6917 am__fastdepCC_TRUE='#'
6918 am__fastdepCC_FALSE=
6922 ac_ext=c
6923 ac_cpp='$CPP $CPPFLAGS'
6924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6927 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6928 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6929 # On Suns, sometimes $CPP names a directory.
6930 if test -n "$CPP" && test -d "$CPP"; then
6931 CPP=
6933 if test -z "$CPP"; then
6934 if test "${ac_cv_prog_CPP+set}" = set; then
6935 echo $ECHO_N "(cached) $ECHO_C" >&6
6936 else
6937 # Double quotes because CPP needs to be expanded
6938 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6940 ac_preproc_ok=false
6941 for ac_c_preproc_warn_flag in '' yes
6943 # Use a header file that comes with gcc, so configuring glibc
6944 # with a fresh cross-compiler works.
6945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6946 # <limits.h> exists even on freestanding compilers.
6947 # On the NeXT, cc -E runs the code through the compiler's parser,
6948 # not just through cpp. "Syntax error" is here to catch this case.
6949 cat >conftest.$ac_ext <<_ACEOF
6950 /* confdefs.h. */
6951 _ACEOF
6952 cat confdefs.h >>conftest.$ac_ext
6953 cat >>conftest.$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6955 #ifdef __STDC__
6956 # include <limits.h>
6957 #else
6958 # include <assert.h>
6959 #endif
6960 Syntax error
6961 _ACEOF
6962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6964 ac_status=$?
6965 grep -v '^ *+' conftest.er1 >conftest.err
6966 rm -f conftest.er1
6967 cat conftest.err >&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); } >/dev/null; then
6970 if test -s conftest.err; then
6971 ac_cpp_err=$ac_c_preproc_warn_flag
6972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6973 else
6974 ac_cpp_err=
6976 else
6977 ac_cpp_err=yes
6979 if test -z "$ac_cpp_err"; then
6981 else
6982 echo "$as_me: failed program was:" >&5
6983 sed 's/^/| /' conftest.$ac_ext >&5
6985 # Broken: fails on valid input.
6986 continue
6988 rm -f conftest.err conftest.$ac_ext
6990 # OK, works on sane cases. Now check whether non-existent headers
6991 # can be detected and how.
6992 cat >conftest.$ac_ext <<_ACEOF
6993 /* confdefs.h. */
6994 _ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 #include <ac_nonexistent.h>
6999 _ACEOF
7000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7002 ac_status=$?
7003 grep -v '^ *+' conftest.er1 >conftest.err
7004 rm -f conftest.er1
7005 cat conftest.err >&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); } >/dev/null; then
7008 if test -s conftest.err; then
7009 ac_cpp_err=$ac_c_preproc_warn_flag
7010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7011 else
7012 ac_cpp_err=
7014 else
7015 ac_cpp_err=yes
7017 if test -z "$ac_cpp_err"; then
7018 # Broken: success on invalid input.
7019 continue
7020 else
7021 echo "$as_me: failed program was:" >&5
7022 sed 's/^/| /' conftest.$ac_ext >&5
7024 # Passes both tests.
7025 ac_preproc_ok=:
7026 break
7028 rm -f conftest.err conftest.$ac_ext
7030 done
7031 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7032 rm -f conftest.err conftest.$ac_ext
7033 if $ac_preproc_ok; then
7034 break
7037 done
7038 ac_cv_prog_CPP=$CPP
7041 CPP=$ac_cv_prog_CPP
7042 else
7043 ac_cv_prog_CPP=$CPP
7045 echo "$as_me:$LINENO: result: $CPP" >&5
7046 echo "${ECHO_T}$CPP" >&6
7047 ac_preproc_ok=false
7048 for ac_c_preproc_warn_flag in '' yes
7050 # Use a header file that comes with gcc, so configuring glibc
7051 # with a fresh cross-compiler works.
7052 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7053 # <limits.h> exists even on freestanding compilers.
7054 # On the NeXT, cc -E runs the code through the compiler's parser,
7055 # not just through cpp. "Syntax error" is here to catch this case.
7056 cat >conftest.$ac_ext <<_ACEOF
7057 /* confdefs.h. */
7058 _ACEOF
7059 cat confdefs.h >>conftest.$ac_ext
7060 cat >>conftest.$ac_ext <<_ACEOF
7061 /* end confdefs.h. */
7062 #ifdef __STDC__
7063 # include <limits.h>
7064 #else
7065 # include <assert.h>
7066 #endif
7067 Syntax error
7068 _ACEOF
7069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7071 ac_status=$?
7072 grep -v '^ *+' conftest.er1 >conftest.err
7073 rm -f conftest.er1
7074 cat conftest.err >&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); } >/dev/null; then
7077 if test -s conftest.err; then
7078 ac_cpp_err=$ac_c_preproc_warn_flag
7079 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7080 else
7081 ac_cpp_err=
7083 else
7084 ac_cpp_err=yes
7086 if test -z "$ac_cpp_err"; then
7088 else
7089 echo "$as_me: failed program was:" >&5
7090 sed 's/^/| /' conftest.$ac_ext >&5
7092 # Broken: fails on valid input.
7093 continue
7095 rm -f conftest.err conftest.$ac_ext
7097 # OK, works on sane cases. Now check whether non-existent headers
7098 # can be detected and how.
7099 cat >conftest.$ac_ext <<_ACEOF
7100 /* confdefs.h. */
7101 _ACEOF
7102 cat confdefs.h >>conftest.$ac_ext
7103 cat >>conftest.$ac_ext <<_ACEOF
7104 /* end confdefs.h. */
7105 #include <ac_nonexistent.h>
7106 _ACEOF
7107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7109 ac_status=$?
7110 grep -v '^ *+' conftest.er1 >conftest.err
7111 rm -f conftest.er1
7112 cat conftest.err >&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); } >/dev/null; then
7115 if test -s conftest.err; then
7116 ac_cpp_err=$ac_c_preproc_warn_flag
7117 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7118 else
7119 ac_cpp_err=
7121 else
7122 ac_cpp_err=yes
7124 if test -z "$ac_cpp_err"; then
7125 # Broken: success on invalid input.
7126 continue
7127 else
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.$ac_ext >&5
7131 # Passes both tests.
7132 ac_preproc_ok=:
7133 break
7135 rm -f conftest.err conftest.$ac_ext
7137 done
7138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7139 rm -f conftest.err conftest.$ac_ext
7140 if $ac_preproc_ok; then
7142 else
7143 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7144 See \`config.log' for more details." >&5
7145 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7146 See \`config.log' for more details." >&2;}
7147 { (exit 1); exit 1; }; }
7150 ac_ext=c
7151 ac_cpp='$CPP $CPPFLAGS'
7152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7156 ac_ext=cc
7157 ac_cpp='$CXXCPP $CPPFLAGS'
7158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7161 if test -n "$ac_tool_prefix"; then
7162 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7164 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7165 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7166 echo "$as_me:$LINENO: checking for $ac_word" >&5
7167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7168 if test "${ac_cv_prog_CXX+set}" = set; then
7169 echo $ECHO_N "(cached) $ECHO_C" >&6
7170 else
7171 if test -n "$CXX"; then
7172 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7173 else
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 for as_dir in $PATH
7177 IFS=$as_save_IFS
7178 test -z "$as_dir" && as_dir=.
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7181 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7183 break 2
7185 done
7186 done
7190 CXX=$ac_cv_prog_CXX
7191 if test -n "$CXX"; then
7192 echo "$as_me:$LINENO: result: $CXX" >&5
7193 echo "${ECHO_T}$CXX" >&6
7194 else
7195 echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6
7199 test -n "$CXX" && break
7200 done
7202 if test -z "$CXX"; then
7203 ac_ct_CXX=$CXX
7204 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7206 # Extract the first word of "$ac_prog", so it can be a program name with args.
7207 set dummy $ac_prog; ac_word=$2
7208 echo "$as_me:$LINENO: checking for $ac_word" >&5
7209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7210 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7211 echo $ECHO_N "(cached) $ECHO_C" >&6
7212 else
7213 if test -n "$ac_ct_CXX"; then
7214 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7215 else
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7217 for as_dir in $PATH
7219 IFS=$as_save_IFS
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_ac_ct_CXX="$ac_prog"
7224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7225 break 2
7227 done
7228 done
7232 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7233 if test -n "$ac_ct_CXX"; then
7234 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7235 echo "${ECHO_T}$ac_ct_CXX" >&6
7236 else
7237 echo "$as_me:$LINENO: result: no" >&5
7238 echo "${ECHO_T}no" >&6
7241 test -n "$ac_ct_CXX" && break
7242 done
7243 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7245 CXX=$ac_ct_CXX
7249 # Provide some information about the compiler.
7250 echo "$as_me:$LINENO:" \
7251 "checking for C++ compiler version" >&5
7252 ac_compiler=`set X $ac_compile; echo $2`
7253 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7254 (eval $ac_compiler --version </dev/null >&5) 2>&5
7255 ac_status=$?
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); }
7258 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7259 (eval $ac_compiler -v </dev/null >&5) 2>&5
7260 ac_status=$?
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); }
7263 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7264 (eval $ac_compiler -V </dev/null >&5) 2>&5
7265 ac_status=$?
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); }
7269 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7270 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7271 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7272 echo $ECHO_N "(cached) $ECHO_C" >&6
7273 else
7274 cat >conftest.$ac_ext <<_ACEOF
7275 /* confdefs.h. */
7276 _ACEOF
7277 cat confdefs.h >>conftest.$ac_ext
7278 cat >>conftest.$ac_ext <<_ACEOF
7279 /* end confdefs.h. */
7282 main ()
7284 #ifndef __GNUC__
7285 choke me
7286 #endif
7289 return 0;
7291 _ACEOF
7292 rm -f conftest.$ac_objext
7293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7294 (eval $ac_compile) 2>conftest.er1
7295 ac_status=$?
7296 grep -v '^ *+' conftest.er1 >conftest.err
7297 rm -f conftest.er1
7298 cat conftest.err >&5
7299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 (exit $ac_status); } &&
7301 { ac_try='test -z "$ac_cxx_werror_flag"
7302 || test ! -s conftest.err'
7303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7304 (eval $ac_try) 2>&5
7305 ac_status=$?
7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); }; } &&
7308 { ac_try='test -s conftest.$ac_objext'
7309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7310 (eval $ac_try) 2>&5
7311 ac_status=$?
7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); }; }; then
7314 ac_compiler_gnu=yes
7315 else
7316 echo "$as_me: failed program was:" >&5
7317 sed 's/^/| /' conftest.$ac_ext >&5
7319 ac_compiler_gnu=no
7321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7322 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7325 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7326 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7327 GXX=`test $ac_compiler_gnu = yes && echo yes`
7328 ac_test_CXXFLAGS=${CXXFLAGS+set}
7329 ac_save_CXXFLAGS=$CXXFLAGS
7330 CXXFLAGS="-g"
7331 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7332 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7333 if test "${ac_cv_prog_cxx_g+set}" = set; then
7334 echo $ECHO_N "(cached) $ECHO_C" >&6
7335 else
7336 cat >conftest.$ac_ext <<_ACEOF
7337 /* confdefs.h. */
7338 _ACEOF
7339 cat confdefs.h >>conftest.$ac_ext
7340 cat >>conftest.$ac_ext <<_ACEOF
7341 /* end confdefs.h. */
7344 main ()
7348 return 0;
7350 _ACEOF
7351 rm -f conftest.$ac_objext
7352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7353 (eval $ac_compile) 2>conftest.er1
7354 ac_status=$?
7355 grep -v '^ *+' conftest.er1 >conftest.err
7356 rm -f conftest.er1
7357 cat conftest.err >&5
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); } &&
7360 { ac_try='test -z "$ac_cxx_werror_flag"
7361 || test ! -s conftest.err'
7362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7363 (eval $ac_try) 2>&5
7364 ac_status=$?
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); }; } &&
7367 { ac_try='test -s conftest.$ac_objext'
7368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 (eval $ac_try) 2>&5
7370 ac_status=$?
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); }; }; then
7373 ac_cv_prog_cxx_g=yes
7374 else
7375 echo "$as_me: failed program was:" >&5
7376 sed 's/^/| /' conftest.$ac_ext >&5
7378 ac_cv_prog_cxx_g=no
7380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7382 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7383 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7384 if test "$ac_test_CXXFLAGS" = set; then
7385 CXXFLAGS=$ac_save_CXXFLAGS
7386 elif test $ac_cv_prog_cxx_g = yes; then
7387 if test "$GXX" = yes; then
7388 CXXFLAGS="-g -O2"
7389 else
7390 CXXFLAGS="-g"
7392 else
7393 if test "$GXX" = yes; then
7394 CXXFLAGS="-O2"
7395 else
7396 CXXFLAGS=
7399 for ac_declaration in \
7400 '' \
7401 'extern "C" void std::exit (int) throw (); using std::exit;' \
7402 'extern "C" void std::exit (int); using std::exit;' \
7403 'extern "C" void exit (int) throw ();' \
7404 'extern "C" void exit (int);' \
7405 'void exit (int);'
7407 cat >conftest.$ac_ext <<_ACEOF
7408 /* confdefs.h. */
7409 _ACEOF
7410 cat confdefs.h >>conftest.$ac_ext
7411 cat >>conftest.$ac_ext <<_ACEOF
7412 /* end confdefs.h. */
7413 $ac_declaration
7414 #include <stdlib.h>
7416 main ()
7418 exit (42);
7420 return 0;
7422 _ACEOF
7423 rm -f conftest.$ac_objext
7424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7425 (eval $ac_compile) 2>conftest.er1
7426 ac_status=$?
7427 grep -v '^ *+' conftest.er1 >conftest.err
7428 rm -f conftest.er1
7429 cat conftest.err >&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); } &&
7432 { ac_try='test -z "$ac_cxx_werror_flag"
7433 || test ! -s conftest.err'
7434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7435 (eval $ac_try) 2>&5
7436 ac_status=$?
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); }; } &&
7439 { ac_try='test -s conftest.$ac_objext'
7440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7441 (eval $ac_try) 2>&5
7442 ac_status=$?
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; }; then
7446 else
7447 echo "$as_me: failed program was:" >&5
7448 sed 's/^/| /' conftest.$ac_ext >&5
7450 continue
7452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7453 cat >conftest.$ac_ext <<_ACEOF
7454 /* confdefs.h. */
7455 _ACEOF
7456 cat confdefs.h >>conftest.$ac_ext
7457 cat >>conftest.$ac_ext <<_ACEOF
7458 /* end confdefs.h. */
7459 $ac_declaration
7461 main ()
7463 exit (42);
7465 return 0;
7467 _ACEOF
7468 rm -f conftest.$ac_objext
7469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7470 (eval $ac_compile) 2>conftest.er1
7471 ac_status=$?
7472 grep -v '^ *+' conftest.er1 >conftest.err
7473 rm -f conftest.er1
7474 cat conftest.err >&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); } &&
7477 { ac_try='test -z "$ac_cxx_werror_flag"
7478 || test ! -s conftest.err'
7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7480 (eval $ac_try) 2>&5
7481 ac_status=$?
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); }; } &&
7484 { ac_try='test -s conftest.$ac_objext'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 (eval $ac_try) 2>&5
7487 ac_status=$?
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; }; then
7490 break
7491 else
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7497 done
7498 rm -f conftest*
7499 if test -n "$ac_declaration"; then
7500 echo '#ifdef __cplusplus' >>confdefs.h
7501 echo $ac_declaration >>confdefs.h
7502 echo '#endif' >>confdefs.h
7505 ac_ext=c
7506 ac_cpp='$CPP $CPPFLAGS'
7507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7511 depcc="$CXX" am_compiler_list=
7513 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7514 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7515 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7516 echo $ECHO_N "(cached) $ECHO_C" >&6
7517 else
7518 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7519 # We make a subdir and do the tests there. Otherwise we can end up
7520 # making bogus files that we don't know about and never remove. For
7521 # instance it was reported that on HP-UX the gcc test will end up
7522 # making a dummy file named `D' -- because `-MD' means `put the output
7523 # in D'.
7524 mkdir conftest.dir
7525 # Copy depcomp to subdir because otherwise we won't find it if we're
7526 # using a relative directory.
7527 cp "$am_depcomp" conftest.dir
7528 cd conftest.dir
7529 # We will build objects and dependencies in a subdirectory because
7530 # it helps to detect inapplicable dependency modes. For instance
7531 # both Tru64's cc and ICC support -MD to output dependencies as a
7532 # side effect of compilation, but ICC will put the dependencies in
7533 # the current directory while Tru64 will put them in the object
7534 # directory.
7535 mkdir sub
7537 am_cv_CXX_dependencies_compiler_type=none
7538 if test "$am_compiler_list" = ""; then
7539 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7541 for depmode in $am_compiler_list; do
7542 # Setup a source with many dependencies, because some compilers
7543 # like to wrap large dependency lists on column 80 (with \), and
7544 # we should not choose a depcomp mode which is confused by this.
7546 # We need to recreate these files for each test, as the compiler may
7547 # overwrite some of them when testing with obscure command lines.
7548 # This happens at least with the AIX C compiler.
7549 : > sub/conftest.c
7550 for i in 1 2 3 4 5 6; do
7551 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7552 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7553 # Solaris 8's {/usr,}/bin/sh.
7554 touch sub/conftst$i.h
7555 done
7556 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7558 case $depmode in
7559 nosideeffect)
7560 # after this tag, mechanisms are not by side-effect, so they'll
7561 # only be used when explicitly requested
7562 if test "x$enable_dependency_tracking" = xyes; then
7563 continue
7564 else
7565 break
7568 none) break ;;
7569 esac
7570 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7571 # mode. It turns out that the SunPro C++ compiler does not properly
7572 # handle `-M -o', and we need to detect this.
7573 if depmode=$depmode \
7574 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7575 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7576 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7577 >/dev/null 2>conftest.err &&
7578 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7579 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7580 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7581 # icc doesn't choke on unknown options, it will just issue warnings
7582 # or remarks (even with -Werror). So we grep stderr for any message
7583 # that says an option was ignored or not supported.
7584 # When given -MP, icc 7.0 and 7.1 complain thusly:
7585 # icc: Command line warning: ignoring option '-M'; no argument required
7586 # The diagnosis changed in icc 8.0:
7587 # icc: Command line remark: option '-MP' not supported
7588 if (grep 'ignoring option' conftest.err ||
7589 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7590 am_cv_CXX_dependencies_compiler_type=$depmode
7591 break
7594 done
7596 cd ..
7597 rm -rf conftest.dir
7598 else
7599 am_cv_CXX_dependencies_compiler_type=none
7603 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7604 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7605 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7610 test "x$enable_dependency_tracking" != xno \
7611 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7612 am__fastdepCXX_TRUE=
7613 am__fastdepCXX_FALSE='#'
7614 else
7615 am__fastdepCXX_TRUE='#'
7616 am__fastdepCXX_FALSE=
7619 ac_ext=cc
7620 ac_cpp='$CXXCPP $CPPFLAGS'
7621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7624 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7625 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7626 if test -z "$CXXCPP"; then
7627 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 else
7630 # Double quotes because CXXCPP needs to be expanded
7631 for CXXCPP in "$CXX -E" "/lib/cpp"
7633 ac_preproc_ok=false
7634 for ac_cxx_preproc_warn_flag in '' yes
7636 # Use a header file that comes with gcc, so configuring glibc
7637 # with a fresh cross-compiler works.
7638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7639 # <limits.h> exists even on freestanding compilers.
7640 # On the NeXT, cc -E runs the code through the compiler's parser,
7641 # not just through cpp. "Syntax error" is here to catch this case.
7642 cat >conftest.$ac_ext <<_ACEOF
7643 /* confdefs.h. */
7644 _ACEOF
7645 cat confdefs.h >>conftest.$ac_ext
7646 cat >>conftest.$ac_ext <<_ACEOF
7647 /* end confdefs.h. */
7648 #ifdef __STDC__
7649 # include <limits.h>
7650 #else
7651 # include <assert.h>
7652 #endif
7653 Syntax error
7654 _ACEOF
7655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7657 ac_status=$?
7658 grep -v '^ *+' conftest.er1 >conftest.err
7659 rm -f conftest.er1
7660 cat conftest.err >&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } >/dev/null; then
7663 if test -s conftest.err; then
7664 ac_cpp_err=$ac_cxx_preproc_warn_flag
7665 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7666 else
7667 ac_cpp_err=
7669 else
7670 ac_cpp_err=yes
7672 if test -z "$ac_cpp_err"; then
7674 else
7675 echo "$as_me: failed program was:" >&5
7676 sed 's/^/| /' conftest.$ac_ext >&5
7678 # Broken: fails on valid input.
7679 continue
7681 rm -f conftest.err conftest.$ac_ext
7683 # OK, works on sane cases. Now check whether non-existent headers
7684 # can be detected and how.
7685 cat >conftest.$ac_ext <<_ACEOF
7686 /* confdefs.h. */
7687 _ACEOF
7688 cat confdefs.h >>conftest.$ac_ext
7689 cat >>conftest.$ac_ext <<_ACEOF
7690 /* end confdefs.h. */
7691 #include <ac_nonexistent.h>
7692 _ACEOF
7693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7695 ac_status=$?
7696 grep -v '^ *+' conftest.er1 >conftest.err
7697 rm -f conftest.er1
7698 cat conftest.err >&5
7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); } >/dev/null; then
7701 if test -s conftest.err; then
7702 ac_cpp_err=$ac_cxx_preproc_warn_flag
7703 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7704 else
7705 ac_cpp_err=
7707 else
7708 ac_cpp_err=yes
7710 if test -z "$ac_cpp_err"; then
7711 # Broken: success on invalid input.
7712 continue
7713 else
7714 echo "$as_me: failed program was:" >&5
7715 sed 's/^/| /' conftest.$ac_ext >&5
7717 # Passes both tests.
7718 ac_preproc_ok=:
7719 break
7721 rm -f conftest.err conftest.$ac_ext
7723 done
7724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7725 rm -f conftest.err conftest.$ac_ext
7726 if $ac_preproc_ok; then
7727 break
7730 done
7731 ac_cv_prog_CXXCPP=$CXXCPP
7734 CXXCPP=$ac_cv_prog_CXXCPP
7735 else
7736 ac_cv_prog_CXXCPP=$CXXCPP
7738 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7739 echo "${ECHO_T}$CXXCPP" >&6
7740 ac_preproc_ok=false
7741 for ac_cxx_preproc_warn_flag in '' yes
7743 # Use a header file that comes with gcc, so configuring glibc
7744 # with a fresh cross-compiler works.
7745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7746 # <limits.h> exists even on freestanding compilers.
7747 # On the NeXT, cc -E runs the code through the compiler's parser,
7748 # not just through cpp. "Syntax error" is here to catch this case.
7749 cat >conftest.$ac_ext <<_ACEOF
7750 /* confdefs.h. */
7751 _ACEOF
7752 cat confdefs.h >>conftest.$ac_ext
7753 cat >>conftest.$ac_ext <<_ACEOF
7754 /* end confdefs.h. */
7755 #ifdef __STDC__
7756 # include <limits.h>
7757 #else
7758 # include <assert.h>
7759 #endif
7760 Syntax error
7761 _ACEOF
7762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7764 ac_status=$?
7765 grep -v '^ *+' conftest.er1 >conftest.err
7766 rm -f conftest.er1
7767 cat conftest.err >&5
7768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); } >/dev/null; then
7770 if test -s conftest.err; then
7771 ac_cpp_err=$ac_cxx_preproc_warn_flag
7772 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7773 else
7774 ac_cpp_err=
7776 else
7777 ac_cpp_err=yes
7779 if test -z "$ac_cpp_err"; then
7781 else
7782 echo "$as_me: failed program was:" >&5
7783 sed 's/^/| /' conftest.$ac_ext >&5
7785 # Broken: fails on valid input.
7786 continue
7788 rm -f conftest.err conftest.$ac_ext
7790 # OK, works on sane cases. Now check whether non-existent headers
7791 # can be detected and how.
7792 cat >conftest.$ac_ext <<_ACEOF
7793 /* confdefs.h. */
7794 _ACEOF
7795 cat confdefs.h >>conftest.$ac_ext
7796 cat >>conftest.$ac_ext <<_ACEOF
7797 /* end confdefs.h. */
7798 #include <ac_nonexistent.h>
7799 _ACEOF
7800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7802 ac_status=$?
7803 grep -v '^ *+' conftest.er1 >conftest.err
7804 rm -f conftest.er1
7805 cat conftest.err >&5
7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807 (exit $ac_status); } >/dev/null; then
7808 if test -s conftest.err; then
7809 ac_cpp_err=$ac_cxx_preproc_warn_flag
7810 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7811 else
7812 ac_cpp_err=
7814 else
7815 ac_cpp_err=yes
7817 if test -z "$ac_cpp_err"; then
7818 # Broken: success on invalid input.
7819 continue
7820 else
7821 echo "$as_me: failed program was:" >&5
7822 sed 's/^/| /' conftest.$ac_ext >&5
7824 # Passes both tests.
7825 ac_preproc_ok=:
7826 break
7828 rm -f conftest.err conftest.$ac_ext
7830 done
7831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7832 rm -f conftest.err conftest.$ac_ext
7833 if $ac_preproc_ok; then
7835 else
7836 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7837 See \`config.log' for more details." >&5
7838 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7839 See \`config.log' for more details." >&2;}
7840 { (exit 1); exit 1; }; }
7843 ac_ext=c
7844 ac_cpp='$CPP $CPPFLAGS'
7845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7851 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7852 lt_save_CC="$CC"
7853 lt_save_CFLAGS="$CFLAGS"
7854 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7855 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7856 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7857 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7858 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7859 deplibs_check_method="$deplibs_check_method" \
7860 file_magic_cmd="$file_magic_cmd" \
7861 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7862 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7863 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7864 echo "$as_me: error: libtool tag configuration failed" >&2;}
7865 { (exit 1); exit 1; }; }
7866 CC="$lt_save_CC"
7867 CFLAGS="$lt_save_CFLAGS"
7869 # Redirect the config.log output again, so that the ltconfig log is not
7870 # clobbered by the next message.
7871 exec 5>>./config.log
7876 # Handle -Werror default case.
7877 if test "$ENABLE_WERROR" = default; then
7878 case "$host_os" in
7879 *linux*)
7880 if test "$GCC" = yes; then
7881 ENABLE_WERROR=yes
7884 esac
7887 if test "x${COMPILE_COLLECTIONS}" = xyes; then
7888 # Extract the first word of "perl", so it can be a program name with args.
7889 set dummy perl; ac_word=$2
7890 echo "$as_me:$LINENO: checking for $ac_word" >&5
7891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7892 if test "${ac_cv_path_PERL+set}" = set; then
7893 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 else
7895 case $PERL in
7896 [\\/]* | ?:[\\/]*)
7897 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 for as_dir in $PATH
7903 IFS=$as_save_IFS
7904 test -z "$as_dir" && as_dir=.
7905 for ac_exec_ext in '' $ac_executable_extensions; do
7906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7907 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 break 2
7911 done
7912 done
7915 esac
7917 PERL=$ac_cv_path_PERL
7919 if test -n "$PERL"; then
7920 echo "$as_me:$LINENO: result: $PERL" >&5
7921 echo "${ECHO_T}$PERL" >&6
7922 else
7923 echo "$as_me:$LINENO: result: no" >&5
7924 echo "${ECHO_T}no" >&6
7929 ac_config_files="$ac_config_files lib/mkcollections.pl"
7931 ac_config_commands="$ac_config_commands mkcollections.pl"
7935 if test "x${COMPILE_JNI}" = xyes; then
7939 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
7940 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
7941 if test "${cv_c_gcc_attribute_supported+set}" = set; then
7942 echo $ECHO_N "(cached) $ECHO_C" >&6
7943 else
7945 cat >conftest.$ac_ext <<_ACEOF
7946 /* confdefs.h. */
7947 _ACEOF
7948 cat confdefs.h >>conftest.$ac_ext
7949 cat >>conftest.$ac_ext <<_ACEOF
7950 /* end confdefs.h. */
7953 main ()
7955 extern int testfunction(int x) __attribute__((,,))
7957 return 0;
7959 _ACEOF
7960 rm -f conftest.$ac_objext
7961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7962 (eval $ac_compile) 2>conftest.er1
7963 ac_status=$?
7964 grep -v '^ *+' conftest.er1 >conftest.err
7965 rm -f conftest.er1
7966 cat conftest.err >&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); } &&
7969 { ac_try='test -z "$ac_c_werror_flag"
7970 || test ! -s conftest.err'
7971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7972 (eval $ac_try) 2>&5
7973 ac_status=$?
7974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975 (exit $ac_status); }; } &&
7976 { ac_try='test -s conftest.$ac_objext'
7977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7978 (eval $ac_try) 2>&5
7979 ac_status=$?
7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 (exit $ac_status); }; }; then
7982 cv_c_gcc_attribute_supported=yes
7983 else
7984 echo "$as_me: failed program was:" >&5
7985 sed 's/^/| /' conftest.$ac_ext >&5
7987 cv_c_gcc_attribute_supported=no
7989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7993 if test "x$cv_c_gcc_attribute_supported" = xyes; then
7994 true
7995 echo "$as_me:$LINENO: result: yes" >&5
7996 echo "${ECHO_T}yes" >&6
7998 cat >>confdefs.h <<\_ACEOF
7999 #define HAVE_GNUC25_ATTRIB
8000 _ACEOF
8003 else
8004 true
8005 echo "$as_me:$LINENO: result: no" >&5
8006 echo "${ECHO_T}no" >&6
8019 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
8020 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
8021 if test "${cv_c_gcc_attribute_unused+set}" = set; then
8022 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 else
8025 cat >conftest.$ac_ext <<_ACEOF
8026 /* confdefs.h. */
8027 _ACEOF
8028 cat confdefs.h >>conftest.$ac_ext
8029 cat >>conftest.$ac_ext <<_ACEOF
8030 /* end confdefs.h. */
8033 main ()
8035 extern int testfunction(int x) __attribute__((unused))
8037 return 0;
8039 _ACEOF
8040 rm -f conftest.$ac_objext
8041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8042 (eval $ac_compile) 2>conftest.er1
8043 ac_status=$?
8044 grep -v '^ *+' conftest.er1 >conftest.err
8045 rm -f conftest.er1
8046 cat conftest.err >&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); } &&
8049 { ac_try='test -z "$ac_c_werror_flag"
8050 || test ! -s conftest.err'
8051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8052 (eval $ac_try) 2>&5
8053 ac_status=$?
8054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055 (exit $ac_status); }; } &&
8056 { ac_try='test -s conftest.$ac_objext'
8057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8058 (eval $ac_try) 2>&5
8059 ac_status=$?
8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 (exit $ac_status); }; }; then
8062 cv_c_gcc_attribute_unused=yes
8063 else
8064 echo "$as_me: failed program was:" >&5
8065 sed 's/^/| /' conftest.$ac_ext >&5
8067 cv_c_gcc_attribute_unused=no
8069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8073 if test "x$cv_c_gcc_attribute_unused" = xyes; then
8074 true
8075 echo "$as_me:$LINENO: result: yes" >&5
8076 echo "${ECHO_T}yes" >&6
8078 cat >>confdefs.h <<\_ACEOF
8079 #define HAVE_GNUC25_UNUSED
8080 _ACEOF
8083 else
8084 true
8085 echo "$as_me:$LINENO: result: no" >&5
8086 echo "${ECHO_T}no" >&6
8095 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8096 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8097 if test "${ac_cv_header_stdc+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8099 else
8100 cat >conftest.$ac_ext <<_ACEOF
8101 /* confdefs.h. */
8102 _ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8106 #include <stdlib.h>
8107 #include <stdarg.h>
8108 #include <string.h>
8109 #include <float.h>
8112 main ()
8116 return 0;
8118 _ACEOF
8119 rm -f conftest.$ac_objext
8120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8121 (eval $ac_compile) 2>conftest.er1
8122 ac_status=$?
8123 grep -v '^ *+' conftest.er1 >conftest.err
8124 rm -f conftest.er1
8125 cat conftest.err >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); } &&
8128 { ac_try='test -z "$ac_c_werror_flag"
8129 || test ! -s conftest.err'
8130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8131 (eval $ac_try) 2>&5
8132 ac_status=$?
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); }; } &&
8135 { ac_try='test -s conftest.$ac_objext'
8136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8137 (eval $ac_try) 2>&5
8138 ac_status=$?
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); }; }; then
8141 ac_cv_header_stdc=yes
8142 else
8143 echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.$ac_ext >&5
8146 ac_cv_header_stdc=no
8148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8150 if test $ac_cv_header_stdc = yes; then
8151 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8152 cat >conftest.$ac_ext <<_ACEOF
8153 /* confdefs.h. */
8154 _ACEOF
8155 cat confdefs.h >>conftest.$ac_ext
8156 cat >>conftest.$ac_ext <<_ACEOF
8157 /* end confdefs.h. */
8158 #include <string.h>
8160 _ACEOF
8161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8162 $EGREP "memchr" >/dev/null 2>&1; then
8164 else
8165 ac_cv_header_stdc=no
8167 rm -f conftest*
8171 if test $ac_cv_header_stdc = yes; then
8172 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8173 cat >conftest.$ac_ext <<_ACEOF
8174 /* confdefs.h. */
8175 _ACEOF
8176 cat confdefs.h >>conftest.$ac_ext
8177 cat >>conftest.$ac_ext <<_ACEOF
8178 /* end confdefs.h. */
8179 #include <stdlib.h>
8181 _ACEOF
8182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8183 $EGREP "free" >/dev/null 2>&1; then
8185 else
8186 ac_cv_header_stdc=no
8188 rm -f conftest*
8192 if test $ac_cv_header_stdc = yes; then
8193 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8194 if test "$cross_compiling" = yes; then
8196 else
8197 cat >conftest.$ac_ext <<_ACEOF
8198 /* confdefs.h. */
8199 _ACEOF
8200 cat confdefs.h >>conftest.$ac_ext
8201 cat >>conftest.$ac_ext <<_ACEOF
8202 /* end confdefs.h. */
8203 #include <ctype.h>
8204 #if ((' ' & 0x0FF) == 0x020)
8205 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8206 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8207 #else
8208 # define ISLOWER(c) \
8209 (('a' <= (c) && (c) <= 'i') \
8210 || ('j' <= (c) && (c) <= 'r') \
8211 || ('s' <= (c) && (c) <= 'z'))
8212 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8213 #endif
8215 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8217 main ()
8219 int i;
8220 for (i = 0; i < 256; i++)
8221 if (XOR (islower (i), ISLOWER (i))
8222 || toupper (i) != TOUPPER (i))
8223 exit(2);
8224 exit (0);
8226 _ACEOF
8227 rm -f conftest$ac_exeext
8228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8229 (eval $ac_link) 2>&5
8230 ac_status=$?
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8234 (eval $ac_try) 2>&5
8235 ac_status=$?
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); }; }; then
8239 else
8240 echo "$as_me: program exited with status $ac_status" >&5
8241 echo "$as_me: failed program was:" >&5
8242 sed 's/^/| /' conftest.$ac_ext >&5
8244 ( exit $ac_status )
8245 ac_cv_header_stdc=no
8247 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8251 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8252 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8253 if test $ac_cv_header_stdc = yes; then
8255 cat >>confdefs.h <<\_ACEOF
8256 #define STDC_HEADERS 1
8257 _ACEOF
8262 echo "$as_me:$LINENO: checking size of void *" >&5
8263 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
8264 if test "${ac_cv_sizeof_void_p+set}" = set; then
8265 echo $ECHO_N "(cached) $ECHO_C" >&6
8266 else
8267 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8268 cat >conftest.$ac_ext <<_ACEOF
8269 /* confdefs.h. */
8270 _ACEOF
8271 cat confdefs.h >>conftest.$ac_ext
8272 cat >>conftest.$ac_ext <<_ACEOF
8273 /* end confdefs.h. */
8274 #include "confdefs.h"
8275 #include <sys/types.h>
8279 main ()
8281 switch (0) case 0: case (sizeof (void *) == $ac_size):;
8283 return 0;
8285 _ACEOF
8286 rm -f conftest.$ac_objext
8287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8288 (eval $ac_compile) 2>conftest.er1
8289 ac_status=$?
8290 grep -v '^ *+' conftest.er1 >conftest.err
8291 rm -f conftest.er1
8292 cat conftest.err >&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); } &&
8295 { ac_try='test -z "$ac_c_werror_flag"
8296 || test ! -s conftest.err'
8297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8298 (eval $ac_try) 2>&5
8299 ac_status=$?
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); }; } &&
8302 { ac_try='test -s conftest.$ac_objext'
8303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8304 (eval $ac_try) 2>&5
8305 ac_status=$?
8306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8307 (exit $ac_status); }; }; then
8308 ac_cv_sizeof_void_p=$ac_size
8309 else
8310 echo "$as_me: failed program was:" >&5
8311 sed 's/^/| /' conftest.$ac_ext >&5
8314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8315 if test x$ac_cv_sizeof_void_p != x ; then break; fi
8316 done
8320 if test x$ac_cv_sizeof_void_p = x ; then
8321 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
8322 echo "$as_me: error: cannot determine a size for void *" >&2;}
8323 { (exit 1); exit 1; }; }
8325 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8326 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8328 cat >>confdefs.h <<_ACEOF
8329 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8330 _ACEOF
8334 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8335 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8336 if test "${ac_cv_c_bigendian+set}" = set; then
8337 echo $ECHO_N "(cached) $ECHO_C" >&6
8338 else
8339 ac_cv_c_bigendian=unknown
8340 # See if sys/param.h defines the BYTE_ORDER macro.
8341 cat >conftest.$ac_ext <<_ACEOF
8342 /* confdefs.h. */
8343 _ACEOF
8344 cat confdefs.h >>conftest.$ac_ext
8345 cat >>conftest.$ac_ext <<_ACEOF
8346 /* end confdefs.h. */
8347 #include <sys/types.h>
8348 #include <sys/param.h>
8350 main ()
8353 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8354 bogus endian macros
8355 #endif
8357 return 0;
8359 _ACEOF
8360 rm -f conftest.$ac_objext
8361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8362 (eval $ac_compile) 2>conftest.er1
8363 ac_status=$?
8364 grep -v '^ *+' conftest.er1 >conftest.err
8365 rm -f conftest.er1
8366 cat conftest.err >&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); } &&
8369 { ac_try='test -z "$ac_c_werror_flag"
8370 || test ! -s conftest.err'
8371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8372 (eval $ac_try) 2>&5
8373 ac_status=$?
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; } &&
8376 { ac_try='test -s conftest.$ac_objext'
8377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8378 (eval $ac_try) 2>&5
8379 ac_status=$?
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); }; }; then
8382 # It does; now see whether it defined to BIG_ENDIAN or not.
8383 cat >conftest.$ac_ext <<_ACEOF
8384 /* confdefs.h. */
8385 _ACEOF
8386 cat confdefs.h >>conftest.$ac_ext
8387 cat >>conftest.$ac_ext <<_ACEOF
8388 /* end confdefs.h. */
8389 #include <sys/types.h>
8390 #include <sys/param.h>
8392 main ()
8395 #if BYTE_ORDER != BIG_ENDIAN
8396 not big endian
8397 #endif
8399 return 0;
8401 _ACEOF
8402 rm -f conftest.$ac_objext
8403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8404 (eval $ac_compile) 2>conftest.er1
8405 ac_status=$?
8406 grep -v '^ *+' conftest.er1 >conftest.err
8407 rm -f conftest.er1
8408 cat conftest.err >&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); } &&
8411 { ac_try='test -z "$ac_c_werror_flag"
8412 || test ! -s conftest.err'
8413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8414 (eval $ac_try) 2>&5
8415 ac_status=$?
8416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417 (exit $ac_status); }; } &&
8418 { ac_try='test -s conftest.$ac_objext'
8419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420 (eval $ac_try) 2>&5
8421 ac_status=$?
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); }; }; then
8424 ac_cv_c_bigendian=yes
8425 else
8426 echo "$as_me: failed program was:" >&5
8427 sed 's/^/| /' conftest.$ac_ext >&5
8429 ac_cv_c_bigendian=no
8431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8432 else
8433 echo "$as_me: failed program was:" >&5
8434 sed 's/^/| /' conftest.$ac_ext >&5
8437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8438 if test $ac_cv_c_bigendian = unknown; then
8439 if test "$cross_compiling" = yes; then
8440 echo $ac_n "cross-compiling... " 2>&6
8441 else
8442 cat >conftest.$ac_ext <<_ACEOF
8443 /* confdefs.h. */
8444 _ACEOF
8445 cat confdefs.h >>conftest.$ac_ext
8446 cat >>conftest.$ac_ext <<_ACEOF
8447 /* end confdefs.h. */
8448 main () {
8449 /* Are we little or big endian? From Harbison&Steele. */
8450 union
8452 long l;
8453 char c[sizeof (long)];
8454 } u;
8455 u.l = 1;
8456 exit (u.c[sizeof (long) - 1] == 1);
8458 _ACEOF
8459 rm -f conftest$ac_exeext
8460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8461 (eval $ac_link) 2>&5
8462 ac_status=$?
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8466 (eval $ac_try) 2>&5
8467 ac_status=$?
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; }; then
8470 ac_cv_c_bigendian=no
8471 else
8472 echo "$as_me: program exited with status $ac_status" >&5
8473 echo "$as_me: failed program was:" >&5
8474 sed 's/^/| /' conftest.$ac_ext >&5
8476 ( exit $ac_status )
8477 ac_cv_c_bigendian=yes
8479 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8483 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8484 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8485 if test $ac_cv_c_bigendian = unknown; then
8486 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
8487 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
8489 cat >conftest.c <<EOF
8490 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8491 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8492 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
8493 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8494 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8495 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
8496 int main() { _ascii (); _ebcdic (); return 0; }
8498 if test -f conftest.c ; then
8499 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
8500 if test `grep -l BIGenDianSyS conftest.o` ; then
8501 echo $ac_n ' big endian probe OK, ' 1>&6
8502 ac_cv_c_bigendian=yes
8504 if test `grep -l LiTTleEnDian conftest.o` ; then
8505 echo $ac_n ' little endian probe OK, ' 1>&6
8506 if test $ac_cv_c_bigendian = yes ; then
8507 ac_cv_c_bigendian=unknown;
8508 else
8509 ac_cv_c_bigendian=no
8512 echo $ac_n 'guessing bigendian ... ' >&6
8515 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8516 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8518 if test $ac_cv_c_bigendian = yes; then
8520 cat >>confdefs.h <<\_ACEOF
8521 #define WORDS_BIGENDIAN 1
8522 _ACEOF
8525 cat >>confdefs.h <<\_ACEOF
8526 #define HOST_WORDS_BIG_ENDIAN 1
8527 _ACEOF
8529 BYTEORDER=4321
8530 else
8531 BYTEORDER=1234
8534 cat >>confdefs.h <<_ACEOF
8535 #define BYTEORDER $BYTEORDER
8536 _ACEOF
8538 if test $ac_cv_c_bigendian = unknown; then
8539 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
8540 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
8541 { (exit 1); exit 1; }; }
8564 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
8565 asm/ioctls.h \
8566 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
8567 sys/time.h \
8568 sys/select.h \
8569 crt_externs.h \
8570 fcntl.h \
8571 sys/mman.h \
8572 magic.h \
8573 sys/event.h sys/epoll.h \
8574 ifaddrs.h
8576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8578 echo "$as_me:$LINENO: checking for $ac_header" >&5
8579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8581 echo $ECHO_N "(cached) $ECHO_C" >&6
8583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8585 else
8586 # Is the header compilable?
8587 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8589 cat >conftest.$ac_ext <<_ACEOF
8590 /* confdefs.h. */
8591 _ACEOF
8592 cat confdefs.h >>conftest.$ac_ext
8593 cat >>conftest.$ac_ext <<_ACEOF
8594 /* end confdefs.h. */
8595 $ac_includes_default
8596 #include <$ac_header>
8597 _ACEOF
8598 rm -f conftest.$ac_objext
8599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8600 (eval $ac_compile) 2>conftest.er1
8601 ac_status=$?
8602 grep -v '^ *+' conftest.er1 >conftest.err
8603 rm -f conftest.er1
8604 cat conftest.err >&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } &&
8607 { ac_try='test -z "$ac_c_werror_flag"
8608 || test ! -s conftest.err'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 (eval $ac_try) 2>&5
8611 ac_status=$?
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; } &&
8614 { ac_try='test -s conftest.$ac_objext'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616 (eval $ac_try) 2>&5
8617 ac_status=$?
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; }; then
8620 ac_header_compiler=yes
8621 else
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.$ac_ext >&5
8625 ac_header_compiler=no
8627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8629 echo "${ECHO_T}$ac_header_compiler" >&6
8631 # Is the header present?
8632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8634 cat >conftest.$ac_ext <<_ACEOF
8635 /* confdefs.h. */
8636 _ACEOF
8637 cat confdefs.h >>conftest.$ac_ext
8638 cat >>conftest.$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8640 #include <$ac_header>
8641 _ACEOF
8642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8644 ac_status=$?
8645 grep -v '^ *+' conftest.er1 >conftest.err
8646 rm -f conftest.er1
8647 cat conftest.err >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } >/dev/null; then
8650 if test -s conftest.err; then
8651 ac_cpp_err=$ac_c_preproc_warn_flag
8652 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8653 else
8654 ac_cpp_err=
8656 else
8657 ac_cpp_err=yes
8659 if test -z "$ac_cpp_err"; then
8660 ac_header_preproc=yes
8661 else
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.$ac_ext >&5
8665 ac_header_preproc=no
8667 rm -f conftest.err conftest.$ac_ext
8668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8669 echo "${ECHO_T}$ac_header_preproc" >&6
8671 # So? What about this header?
8672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8673 yes:no: )
8674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8678 ac_header_preproc=yes
8680 no:yes:* )
8681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8694 cat <<\_ASBOX
8695 ## -------------------------------- ##
8696 ## Report this to classpath@gnu.org ##
8697 ## -------------------------------- ##
8698 _ASBOX
8700 sed "s/^/$as_me: WARNING: /" >&2
8702 esac
8703 echo "$as_me:$LINENO: checking for $ac_header" >&5
8704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8706 echo $ECHO_N "(cached) $ECHO_C" >&6
8707 else
8708 eval "$as_ac_Header=\$ac_header_preproc"
8710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8715 cat >>confdefs.h <<_ACEOF
8716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8717 _ACEOF
8721 done
8724 cat >conftest.$ac_ext <<_ACEOF
8725 /* confdefs.h. */
8726 _ACEOF
8727 cat confdefs.h >>conftest.$ac_ext
8728 cat >>conftest.$ac_ext <<_ACEOF
8729 /* end confdefs.h. */
8730 #include <stdint.h>
8732 _ACEOF
8733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8734 $EGREP "uint32_t" >/dev/null 2>&1; then
8736 cat >>confdefs.h <<\_ACEOF
8737 #define HAVE_INT32_DEFINED 1
8738 _ACEOF
8741 rm -f conftest*
8743 cat >conftest.$ac_ext <<_ACEOF
8744 /* confdefs.h. */
8745 _ACEOF
8746 cat confdefs.h >>conftest.$ac_ext
8747 cat >>conftest.$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8749 #include <inttypes.h>
8751 _ACEOF
8752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8753 $EGREP "uint32_t" >/dev/null 2>&1; then
8755 cat >>confdefs.h <<\_ACEOF
8756 #define HAVE_INT32_DEFINED 1
8757 _ACEOF
8760 rm -f conftest*
8762 cat >conftest.$ac_ext <<_ACEOF
8763 /* confdefs.h. */
8764 _ACEOF
8765 cat confdefs.h >>conftest.$ac_ext
8766 cat >>conftest.$ac_ext <<_ACEOF
8767 /* end confdefs.h. */
8768 #include <sys/types.h>
8770 _ACEOF
8771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8772 $EGREP "u_int32_t" >/dev/null 2>&1; then
8774 cat >>confdefs.h <<\_ACEOF
8775 #define HAVE_BSD_INT32_DEFINED 1
8776 _ACEOF
8779 rm -f conftest*
8781 cat >conftest.$ac_ext <<_ACEOF
8782 /* confdefs.h. */
8783 _ACEOF
8784 cat confdefs.h >>conftest.$ac_ext
8785 cat >>conftest.$ac_ext <<_ACEOF
8786 /* end confdefs.h. */
8787 #include <sys/config.h>
8789 _ACEOF
8790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8791 $EGREP "u_int32_t" >/dev/null 2>&1; then
8793 cat >>confdefs.h <<\_ACEOF
8794 #define HAVE_BSD_INT32_DEFINED 1
8795 _ACEOF
8798 rm -f conftest*
8855 for ac_func in ftruncate fsync select \
8856 gethostname socket strerror fork pipe execve open close \
8857 lseek fstat read readv write writev htonl memset htons connect \
8858 getsockname getpeername bind listen accept \
8859 recvfrom send sendto setsockopt getsockopt time mktime \
8860 gethostbyname_r localtime_r \
8861 strerror_r \
8862 fcntl \
8863 mmap munmap mincore msync madvise getpagesize sysconf \
8864 lstat readlink \
8865 inet_aton inet_addr inet_pton \
8866 getifaddrs kqueue kevent epoll_create \
8867 readdir_r
8869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8870 echo "$as_me:$LINENO: checking for $ac_func" >&5
8871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8872 if eval "test \"\${$as_ac_var+set}\" = set"; then
8873 echo $ECHO_N "(cached) $ECHO_C" >&6
8874 else
8875 if test x$gcc_no_link = xyes; then
8876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8878 { (exit 1); exit 1; }; }
8880 cat >conftest.$ac_ext <<_ACEOF
8881 /* confdefs.h. */
8882 _ACEOF
8883 cat confdefs.h >>conftest.$ac_ext
8884 cat >>conftest.$ac_ext <<_ACEOF
8885 /* end confdefs.h. */
8886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8888 #define $ac_func innocuous_$ac_func
8890 /* System header to define __stub macros and hopefully few prototypes,
8891 which can conflict with char $ac_func (); below.
8892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8893 <limits.h> exists even on freestanding compilers. */
8895 #ifdef __STDC__
8896 # include <limits.h>
8897 #else
8898 # include <assert.h>
8899 #endif
8901 #undef $ac_func
8903 /* Override any gcc2 internal prototype to avoid an error. */
8904 #ifdef __cplusplus
8905 extern "C"
8907 #endif
8908 /* We use char because int might match the return type of a gcc2
8909 builtin and then its argument prototype would still apply. */
8910 char $ac_func ();
8911 /* The GNU C library defines this for functions which it implements
8912 to always fail with ENOSYS. Some functions are actually named
8913 something starting with __ and the normal name is an alias. */
8914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8915 choke me
8916 #else
8917 char (*f) () = $ac_func;
8918 #endif
8919 #ifdef __cplusplus
8921 #endif
8924 main ()
8926 return f != $ac_func;
8928 return 0;
8930 _ACEOF
8931 rm -f conftest.$ac_objext conftest$ac_exeext
8932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8933 (eval $ac_link) 2>conftest.er1
8934 ac_status=$?
8935 grep -v '^ *+' conftest.er1 >conftest.err
8936 rm -f conftest.er1
8937 cat conftest.err >&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); } &&
8940 { ac_try='test -z "$ac_c_werror_flag"
8941 || test ! -s conftest.err'
8942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8943 (eval $ac_try) 2>&5
8944 ac_status=$?
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); }; } &&
8947 { ac_try='test -s conftest$ac_exeext'
8948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8949 (eval $ac_try) 2>&5
8950 ac_status=$?
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); }; }; then
8953 eval "$as_ac_var=yes"
8954 else
8955 echo "$as_me: failed program was:" >&5
8956 sed 's/^/| /' conftest.$ac_ext >&5
8958 eval "$as_ac_var=no"
8960 rm -f conftest.err conftest.$ac_objext \
8961 conftest$ac_exeext conftest.$ac_ext
8963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8965 if test `eval echo '${'$as_ac_var'}'` = yes; then
8966 cat >>confdefs.h <<_ACEOF
8967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8968 _ACEOF
8971 done
8974 LIBMAGIC=
8975 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8976 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8977 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8978 echo $ECHO_N "(cached) $ECHO_C" >&6
8979 else
8980 ac_check_lib_save_LIBS=$LIBS
8981 LIBS="-lmagic $LIBS"
8982 if test x$gcc_no_link = xyes; then
8983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8985 { (exit 1); exit 1; }; }
8987 cat >conftest.$ac_ext <<_ACEOF
8988 /* confdefs.h. */
8989 _ACEOF
8990 cat confdefs.h >>conftest.$ac_ext
8991 cat >>conftest.$ac_ext <<_ACEOF
8992 /* end confdefs.h. */
8994 /* Override any gcc2 internal prototype to avoid an error. */
8995 #ifdef __cplusplus
8996 extern "C"
8997 #endif
8998 /* We use char because int might match the return type of a gcc2
8999 builtin and then its argument prototype would still apply. */
9000 char magic_open ();
9002 main ()
9004 magic_open ();
9006 return 0;
9008 _ACEOF
9009 rm -f conftest.$ac_objext conftest$ac_exeext
9010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9011 (eval $ac_link) 2>conftest.er1
9012 ac_status=$?
9013 grep -v '^ *+' conftest.er1 >conftest.err
9014 rm -f conftest.er1
9015 cat conftest.err >&5
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); } &&
9018 { ac_try='test -z "$ac_c_werror_flag"
9019 || test ! -s conftest.err'
9020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021 (eval $ac_try) 2>&5
9022 ac_status=$?
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); }; } &&
9025 { ac_try='test -s conftest$ac_exeext'
9026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027 (eval $ac_try) 2>&5
9028 ac_status=$?
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; }; then
9031 ac_cv_lib_magic_magic_open=yes
9032 else
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9036 ac_cv_lib_magic_magic_open=no
9038 rm -f conftest.err conftest.$ac_objext \
9039 conftest$ac_exeext conftest.$ac_ext
9040 LIBS=$ac_check_lib_save_LIBS
9042 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
9043 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
9044 if test $ac_cv_lib_magic_magic_open = yes; then
9045 LIBMAGIC=-lmagic
9050 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
9051 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
9052 cat >conftest.$ac_ext <<_ACEOF
9053 /* confdefs.h. */
9054 _ACEOF
9055 cat confdefs.h >>conftest.$ac_ext
9056 cat >>conftest.$ac_ext <<_ACEOF
9057 /* end confdefs.h. */
9058 #include <netinet/in.h>
9060 main ()
9062 struct sockaddr_in6 addr6;
9064 return 0;
9066 _ACEOF
9067 rm -f conftest.$ac_objext
9068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9069 (eval $ac_compile) 2>conftest.er1
9070 ac_status=$?
9071 grep -v '^ *+' conftest.er1 >conftest.err
9072 rm -f conftest.er1
9073 cat conftest.err >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); } &&
9076 { ac_try='test -z "$ac_c_werror_flag"
9077 || test ! -s conftest.err'
9078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9079 (eval $ac_try) 2>&5
9080 ac_status=$?
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 (exit $ac_status); }; } &&
9083 { ac_try='test -s conftest.$ac_objext'
9084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9085 (eval $ac_try) 2>&5
9086 ac_status=$?
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); }; }; then
9090 cat >>confdefs.h <<\_ACEOF
9091 #define HAVE_INET6 1
9092 _ACEOF
9094 echo "$as_me:$LINENO: result: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9096 else
9097 echo "$as_me: failed program was:" >&5
9098 sed 's/^/| /' conftest.$ac_ext >&5
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9105 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9106 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9107 if test "${ac_cv_header_time+set}" = set; then
9108 echo $ECHO_N "(cached) $ECHO_C" >&6
9109 else
9110 cat >conftest.$ac_ext <<_ACEOF
9111 /* confdefs.h. */
9112 _ACEOF
9113 cat confdefs.h >>conftest.$ac_ext
9114 cat >>conftest.$ac_ext <<_ACEOF
9115 /* end confdefs.h. */
9116 #include <sys/types.h>
9117 #include <sys/time.h>
9118 #include <time.h>
9121 main ()
9123 if ((struct tm *) 0)
9124 return 0;
9126 return 0;
9128 _ACEOF
9129 rm -f conftest.$ac_objext
9130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9131 (eval $ac_compile) 2>conftest.er1
9132 ac_status=$?
9133 grep -v '^ *+' conftest.er1 >conftest.err
9134 rm -f conftest.er1
9135 cat conftest.err >&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } &&
9138 { ac_try='test -z "$ac_c_werror_flag"
9139 || test ! -s conftest.err'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 (eval $ac_try) 2>&5
9142 ac_status=$?
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; } &&
9145 { ac_try='test -s conftest.$ac_objext'
9146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9147 (eval $ac_try) 2>&5
9148 ac_status=$?
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); }; }; then
9151 ac_cv_header_time=yes
9152 else
9153 echo "$as_me: failed program was:" >&5
9154 sed 's/^/| /' conftest.$ac_ext >&5
9156 ac_cv_header_time=no
9158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9160 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9161 echo "${ECHO_T}$ac_cv_header_time" >&6
9162 if test $ac_cv_header_time = yes; then
9164 cat >>confdefs.h <<\_ACEOF
9165 #define TIME_WITH_SYS_TIME 1
9166 _ACEOF
9170 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
9171 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
9172 if test "${ac_cv_struct_tm+set}" = set; then
9173 echo $ECHO_N "(cached) $ECHO_C" >&6
9174 else
9175 cat >conftest.$ac_ext <<_ACEOF
9176 /* confdefs.h. */
9177 _ACEOF
9178 cat confdefs.h >>conftest.$ac_ext
9179 cat >>conftest.$ac_ext <<_ACEOF
9180 /* end confdefs.h. */
9181 #include <sys/types.h>
9182 #include <time.h>
9185 main ()
9187 struct tm *tp; tp->tm_sec;
9189 return 0;
9191 _ACEOF
9192 rm -f conftest.$ac_objext
9193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9194 (eval $ac_compile) 2>conftest.er1
9195 ac_status=$?
9196 grep -v '^ *+' conftest.er1 >conftest.err
9197 rm -f conftest.er1
9198 cat conftest.err >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); } &&
9201 { ac_try='test -z "$ac_c_werror_flag"
9202 || test ! -s conftest.err'
9203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9204 (eval $ac_try) 2>&5
9205 ac_status=$?
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); }; } &&
9208 { ac_try='test -s conftest.$ac_objext'
9209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9210 (eval $ac_try) 2>&5
9211 ac_status=$?
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); }; }; then
9214 ac_cv_struct_tm=time.h
9215 else
9216 echo "$as_me: failed program was:" >&5
9217 sed 's/^/| /' conftest.$ac_ext >&5
9219 ac_cv_struct_tm=sys/time.h
9221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9223 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
9224 echo "${ECHO_T}$ac_cv_struct_tm" >&6
9225 if test $ac_cv_struct_tm = sys/time.h; then
9227 cat >>confdefs.h <<\_ACEOF
9228 #define TM_IN_SYS_TIME 1
9229 _ACEOF
9233 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
9234 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9235 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9236 echo $ECHO_N "(cached) $ECHO_C" >&6
9237 else
9238 cat >conftest.$ac_ext <<_ACEOF
9239 /* confdefs.h. */
9240 _ACEOF
9241 cat confdefs.h >>conftest.$ac_ext
9242 cat >>conftest.$ac_ext <<_ACEOF
9243 /* end confdefs.h. */
9244 #include <sys/types.h>
9245 #include <$ac_cv_struct_tm>
9249 main ()
9251 static struct tm ac_aggr;
9252 if (ac_aggr.tm_zone)
9253 return 0;
9255 return 0;
9257 _ACEOF
9258 rm -f conftest.$ac_objext
9259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9260 (eval $ac_compile) 2>conftest.er1
9261 ac_status=$?
9262 grep -v '^ *+' conftest.er1 >conftest.err
9263 rm -f conftest.er1
9264 cat conftest.err >&5
9265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266 (exit $ac_status); } &&
9267 { ac_try='test -z "$ac_c_werror_flag"
9268 || test ! -s conftest.err'
9269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 (eval $ac_try) 2>&5
9271 ac_status=$?
9272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9273 (exit $ac_status); }; } &&
9274 { ac_try='test -s conftest.$ac_objext'
9275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9276 (eval $ac_try) 2>&5
9277 ac_status=$?
9278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279 (exit $ac_status); }; }; then
9280 ac_cv_member_struct_tm_tm_zone=yes
9281 else
9282 echo "$as_me: failed program was:" >&5
9283 sed 's/^/| /' conftest.$ac_ext >&5
9285 cat >conftest.$ac_ext <<_ACEOF
9286 /* confdefs.h. */
9287 _ACEOF
9288 cat confdefs.h >>conftest.$ac_ext
9289 cat >>conftest.$ac_ext <<_ACEOF
9290 /* end confdefs.h. */
9291 #include <sys/types.h>
9292 #include <$ac_cv_struct_tm>
9296 main ()
9298 static struct tm ac_aggr;
9299 if (sizeof ac_aggr.tm_zone)
9300 return 0;
9302 return 0;
9304 _ACEOF
9305 rm -f conftest.$ac_objext
9306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9307 (eval $ac_compile) 2>conftest.er1
9308 ac_status=$?
9309 grep -v '^ *+' conftest.er1 >conftest.err
9310 rm -f conftest.er1
9311 cat conftest.err >&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); } &&
9314 { ac_try='test -z "$ac_c_werror_flag"
9315 || test ! -s conftest.err'
9316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 (eval $ac_try) 2>&5
9318 ac_status=$?
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); }; } &&
9321 { ac_try='test -s conftest.$ac_objext'
9322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 (eval $ac_try) 2>&5
9324 ac_status=$?
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); }; }; then
9327 ac_cv_member_struct_tm_tm_zone=yes
9328 else
9329 echo "$as_me: failed program was:" >&5
9330 sed 's/^/| /' conftest.$ac_ext >&5
9332 ac_cv_member_struct_tm_tm_zone=no
9334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9338 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9339 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9340 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9342 cat >>confdefs.h <<_ACEOF
9343 #define HAVE_STRUCT_TM_TM_ZONE 1
9344 _ACEOF
9349 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9351 cat >>confdefs.h <<\_ACEOF
9352 #define HAVE_TM_ZONE 1
9353 _ACEOF
9355 else
9356 echo "$as_me:$LINENO: checking for tzname" >&5
9357 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9358 if test "${ac_cv_var_tzname+set}" = set; then
9359 echo $ECHO_N "(cached) $ECHO_C" >&6
9360 else
9361 if test x$gcc_no_link = xyes; then
9362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9364 { (exit 1); exit 1; }; }
9366 cat >conftest.$ac_ext <<_ACEOF
9367 /* confdefs.h. */
9368 _ACEOF
9369 cat confdefs.h >>conftest.$ac_ext
9370 cat >>conftest.$ac_ext <<_ACEOF
9371 /* end confdefs.h. */
9372 #include <time.h>
9373 #ifndef tzname /* For SGI. */
9374 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
9375 #endif
9378 main ()
9380 atoi(*tzname);
9382 return 0;
9384 _ACEOF
9385 rm -f conftest.$ac_objext conftest$ac_exeext
9386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9387 (eval $ac_link) 2>conftest.er1
9388 ac_status=$?
9389 grep -v '^ *+' conftest.er1 >conftest.err
9390 rm -f conftest.er1
9391 cat conftest.err >&5
9392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); } &&
9394 { ac_try='test -z "$ac_c_werror_flag"
9395 || test ! -s conftest.err'
9396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9397 (eval $ac_try) 2>&5
9398 ac_status=$?
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); }; } &&
9401 { ac_try='test -s conftest$ac_exeext'
9402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9403 (eval $ac_try) 2>&5
9404 ac_status=$?
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); }; }; then
9407 ac_cv_var_tzname=yes
9408 else
9409 echo "$as_me: failed program was:" >&5
9410 sed 's/^/| /' conftest.$ac_ext >&5
9412 ac_cv_var_tzname=no
9414 rm -f conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9417 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9418 echo "${ECHO_T}$ac_cv_var_tzname" >&6
9419 if test $ac_cv_var_tzname = yes; then
9421 cat >>confdefs.h <<\_ACEOF
9422 #define HAVE_TZNAME 1
9423 _ACEOF
9429 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
9430 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
9431 cat >conftest.$ac_ext <<_ACEOF
9432 /* confdefs.h. */
9433 _ACEOF
9434 cat confdefs.h >>conftest.$ac_ext
9435 cat >>conftest.$ac_ext <<_ACEOF
9436 /* end confdefs.h. */
9437 #include <time.h>
9439 main ()
9441 struct tm tim; tim.tm_gmtoff = 0;
9443 return 0;
9445 _ACEOF
9446 rm -f conftest.$ac_objext
9447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9448 (eval $ac_compile) 2>conftest.er1
9449 ac_status=$?
9450 grep -v '^ *+' conftest.er1 >conftest.err
9451 rm -f conftest.er1
9452 cat conftest.err >&5
9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); } &&
9455 { ac_try='test -z "$ac_c_werror_flag"
9456 || test ! -s conftest.err'
9457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9458 (eval $ac_try) 2>&5
9459 ac_status=$?
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; } &&
9462 { ac_try='test -s conftest.$ac_objext'
9463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9464 (eval $ac_try) 2>&5
9465 ac_status=$?
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); }; }; then
9469 cat >>confdefs.h <<\_ACEOF
9470 #define STRUCT_TM_HAS_GMTOFF 1
9471 _ACEOF
9473 echo "$as_me:$LINENO: result: yes" >&5
9474 echo "${ECHO_T}yes" >&6
9475 else
9476 echo "$as_me: failed program was:" >&5
9477 sed 's/^/| /' conftest.$ac_ext >&5
9479 echo "$as_me:$LINENO: result: no" >&5
9480 echo "${ECHO_T}no" >&6
9481 echo "$as_me:$LINENO: checking for global timezone variable" >&5
9482 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
9483 cat >conftest.$ac_ext <<_ACEOF
9484 /* confdefs.h. */
9485 _ACEOF
9486 cat confdefs.h >>conftest.$ac_ext
9487 cat >>conftest.$ac_ext <<_ACEOF
9488 /* end confdefs.h. */
9489 #include <time.h>
9491 main ()
9493 void i(){long z2 = 2*timezone;}
9495 return 0;
9497 _ACEOF
9498 rm -f conftest.$ac_objext
9499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9500 (eval $ac_compile) 2>conftest.er1
9501 ac_status=$?
9502 grep -v '^ *+' conftest.er1 >conftest.err
9503 rm -f conftest.er1
9504 cat conftest.err >&5
9505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); } &&
9507 { ac_try='test -z "$ac_c_werror_flag"
9508 || test ! -s conftest.err'
9509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9510 (eval $ac_try) 2>&5
9511 ac_status=$?
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); }; } &&
9514 { ac_try='test -s conftest.$ac_objext'
9515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9516 (eval $ac_try) 2>&5
9517 ac_status=$?
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); }; }; then
9521 cat >>confdefs.h <<\_ACEOF
9522 #define HAVE_TIMEZONE 1
9523 _ACEOF
9525 echo "$as_me:$LINENO: result: yes" >&5
9526 echo "${ECHO_T}yes" >&6
9527 else
9528 echo "$as_me: failed program was:" >&5
9529 sed 's/^/| /' conftest.$ac_ext >&5
9531 echo "$as_me:$LINENO: result: no" >&5
9532 echo "${ECHO_T}no" >&6
9533 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
9534 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
9535 cat >conftest.$ac_ext <<_ACEOF
9536 /* confdefs.h. */
9537 _ACEOF
9538 cat confdefs.h >>conftest.$ac_ext
9539 cat >>conftest.$ac_ext <<_ACEOF
9540 /* end confdefs.h. */
9541 #include <time.h>
9543 main ()
9545 long z2 = _timezone;
9547 return 0;
9549 _ACEOF
9550 rm -f conftest.$ac_objext
9551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9552 (eval $ac_compile) 2>conftest.er1
9553 ac_status=$?
9554 grep -v '^ *+' conftest.er1 >conftest.err
9555 rm -f conftest.er1
9556 cat conftest.err >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); } &&
9559 { ac_try='test -z "$ac_c_werror_flag"
9560 || test ! -s conftest.err'
9561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9562 (eval $ac_try) 2>&5
9563 ac_status=$?
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); }; } &&
9566 { ac_try='test -s conftest.$ac_objext'
9567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9568 (eval $ac_try) 2>&5
9569 ac_status=$?
9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571 (exit $ac_status); }; }; then
9573 cat >>confdefs.h <<\_ACEOF
9574 #define HAVE_UNDERSCORE_TIMEZONE 1
9575 _ACEOF
9577 echo "$as_me:$LINENO: result: yes" >&5
9578 echo "${ECHO_T}yes" >&6
9579 else
9580 echo "$as_me: failed program was:" >&5
9581 sed 's/^/| /' conftest.$ac_ext >&5
9583 echo "$as_me:$LINENO: result: no" >&5
9584 echo "${ECHO_T}no" >&6
9586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9592 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9593 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9594 if test "${ac_cv_c_const+set}" = set; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 else
9597 cat >conftest.$ac_ext <<_ACEOF
9598 /* confdefs.h. */
9599 _ACEOF
9600 cat confdefs.h >>conftest.$ac_ext
9601 cat >>conftest.$ac_ext <<_ACEOF
9602 /* end confdefs.h. */
9605 main ()
9607 /* FIXME: Include the comments suggested by Paul. */
9608 #ifndef __cplusplus
9609 /* Ultrix mips cc rejects this. */
9610 typedef int charset[2];
9611 const charset x;
9612 /* SunOS 4.1.1 cc rejects this. */
9613 char const *const *ccp;
9614 char **p;
9615 /* NEC SVR4.0.2 mips cc rejects this. */
9616 struct point {int x, y;};
9617 static struct point const zero = {0,0};
9618 /* AIX XL C 1.02.0.0 rejects this.
9619 It does not let you subtract one const X* pointer from another in
9620 an arm of an if-expression whose if-part is not a constant
9621 expression */
9622 const char *g = "string";
9623 ccp = &g + (g ? g-g : 0);
9624 /* HPUX 7.0 cc rejects these. */
9625 ++ccp;
9626 p = (char**) ccp;
9627 ccp = (char const *const *) p;
9628 { /* SCO 3.2v4 cc rejects this. */
9629 char *t;
9630 char const *s = 0 ? (char *) 0 : (char const *) 0;
9632 *t++ = 0;
9634 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9635 int x[] = {25, 17};
9636 const int *foo = &x[0];
9637 ++foo;
9639 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9640 typedef const int *iptr;
9641 iptr p = 0;
9642 ++p;
9644 { /* AIX XL C 1.02.0.0 rejects this saying
9645 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9646 struct s { int j; const int *ap[3]; };
9647 struct s *b; b->j = 5;
9649 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9650 const int foo = 10;
9652 #endif
9655 return 0;
9657 _ACEOF
9658 rm -f conftest.$ac_objext
9659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9660 (eval $ac_compile) 2>conftest.er1
9661 ac_status=$?
9662 grep -v '^ *+' conftest.er1 >conftest.err
9663 rm -f conftest.er1
9664 cat conftest.err >&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); } &&
9667 { ac_try='test -z "$ac_c_werror_flag"
9668 || test ! -s conftest.err'
9669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9670 (eval $ac_try) 2>&5
9671 ac_status=$?
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); }; } &&
9674 { ac_try='test -s conftest.$ac_objext'
9675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9676 (eval $ac_try) 2>&5
9677 ac_status=$?
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); }; }; then
9680 ac_cv_c_const=yes
9681 else
9682 echo "$as_me: failed program was:" >&5
9683 sed 's/^/| /' conftest.$ac_ext >&5
9685 ac_cv_c_const=no
9687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9689 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9690 echo "${ECHO_T}$ac_cv_c_const" >&6
9691 if test $ac_cv_c_const = no; then
9693 cat >>confdefs.h <<\_ACEOF
9694 #define const
9695 _ACEOF
9699 echo "$as_me:$LINENO: checking for __attribute__" >&5
9700 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
9701 if test "${ac_cv_c_attribute+set}" = set; then
9702 echo $ECHO_N "(cached) $ECHO_C" >&6
9703 else
9705 cat >conftest.$ac_ext <<_ACEOF
9706 /* confdefs.h. */
9707 _ACEOF
9708 cat confdefs.h >>conftest.$ac_ext
9709 cat >>conftest.$ac_ext <<_ACEOF
9710 /* end confdefs.h. */
9711 void foo(void) __attribute__ ((__noreturn__));
9713 _ACEOF
9714 rm -f conftest.$ac_objext
9715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9716 (eval $ac_compile) 2>conftest.er1
9717 ac_status=$?
9718 grep -v '^ *+' conftest.er1 >conftest.err
9719 rm -f conftest.er1
9720 cat conftest.err >&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); } &&
9723 { ac_try='test -z "$ac_c_werror_flag"
9724 || test ! -s conftest.err'
9725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9726 (eval $ac_try) 2>&5
9727 ac_status=$?
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 (exit $ac_status); }; } &&
9730 { ac_try='test -s conftest.$ac_objext'
9731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9732 (eval $ac_try) 2>&5
9733 ac_status=$?
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); }; }; then
9736 ac_cv_c_attribute=yes
9737 else
9738 echo "$as_me: failed program was:" >&5
9739 sed 's/^/| /' conftest.$ac_ext >&5
9741 ac_cv_c_attribute=no
9744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9747 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
9748 echo "${ECHO_T}$ac_cv_c_attribute" >&6
9751 case $ac_cv_c_attribute in
9752 yes) ;;
9754 cat >>confdefs.h <<_ACEOF
9755 #define __attribute__(x) /* nothing */
9756 _ACEOF
9758 esac
9762 if test "X$prefix" = "XNONE"; then
9763 acl_final_prefix="$ac_default_prefix"
9764 else
9765 acl_final_prefix="$prefix"
9767 if test "X$exec_prefix" = "XNONE"; then
9768 acl_final_exec_prefix='${prefix}'
9769 else
9770 acl_final_exec_prefix="$exec_prefix"
9772 acl_save_prefix="$prefix"
9773 prefix="$acl_final_prefix"
9774 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9775 prefix="$acl_save_prefix"
9778 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9779 if test "${with_gnu_ld+set}" = set; then
9780 withval="$with_gnu_ld"
9781 test "$withval" = no || with_gnu_ld=yes
9782 else
9783 with_gnu_ld=no
9785 # Prepare PATH_SEPARATOR.
9786 # The user is always right.
9787 if test "${PATH_SEPARATOR+set}" != set; then
9788 echo "#! /bin/sh" >conf$$.sh
9789 echo "exit 0" >>conf$$.sh
9790 chmod +x conf$$.sh
9791 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9792 PATH_SEPARATOR=';'
9793 else
9794 PATH_SEPARATOR=:
9796 rm -f conf$$.sh
9798 ac_prog=ld
9799 if test "$GCC" = yes; then
9800 # Check if gcc -print-prog-name=ld gives a path.
9801 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9802 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9803 case $host in
9804 *-*-mingw*)
9805 # gcc leaves a trailing carriage return which upsets mingw
9806 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9808 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9809 esac
9810 case $ac_prog in
9811 # Accept absolute paths.
9812 [\\/]* | [A-Za-z]:[\\/]*)
9813 re_direlt='/[^/][^/]*/\.\./'
9814 # Canonicalize the path of ld
9815 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9816 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9817 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9818 done
9819 test -z "$LD" && LD="$ac_prog"
9822 # If it fails, then pretend we aren't using GCC.
9823 ac_prog=ld
9826 # If it is relative, then search for the first ld in PATH.
9827 with_gnu_ld=unknown
9829 esac
9830 elif test "$with_gnu_ld" = yes; then
9831 echo "$as_me:$LINENO: checking for GNU ld" >&5
9832 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9833 else
9834 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9835 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9837 if test "${acl_cv_path_LD+set}" = set; then
9838 echo $ECHO_N "(cached) $ECHO_C" >&6
9839 else
9840 if test -z "$LD"; then
9841 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9842 for ac_dir in $PATH; do
9843 test -z "$ac_dir" && ac_dir=.
9844 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9845 acl_cv_path_LD="$ac_dir/$ac_prog"
9846 # Check to see if the program is GNU ld. I'd rather use --version,
9847 # but apparently some GNU ld's only accept -v.
9848 # Break only if it was the GNU/non-GNU ld that we prefer.
9849 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9850 test "$with_gnu_ld" != no && break
9851 else
9852 test "$with_gnu_ld" != yes && break
9855 done
9856 IFS="$ac_save_ifs"
9857 else
9858 acl_cv_path_LD="$LD" # Let the user override the test with a path.
9862 LD="$acl_cv_path_LD"
9863 if test -n "$LD"; then
9864 echo "$as_me:$LINENO: result: $LD" >&5
9865 echo "${ECHO_T}$LD" >&6
9866 else
9867 echo "$as_me:$LINENO: result: no" >&5
9868 echo "${ECHO_T}no" >&6
9870 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9871 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9872 { (exit 1); exit 1; }; }
9873 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9874 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9875 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9877 else
9878 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9879 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9880 acl_cv_prog_gnu_ld=yes
9881 else
9882 acl_cv_prog_gnu_ld=no
9885 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9886 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9887 with_gnu_ld=$acl_cv_prog_gnu_ld
9891 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9892 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9893 if test "${acl_cv_rpath+set}" = set; then
9894 echo $ECHO_N "(cached) $ECHO_C" >&6
9895 else
9897 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
9898 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9899 . ./conftest.sh
9900 rm -f ./conftest.sh
9901 acl_cv_rpath=done
9904 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9905 echo "${ECHO_T}$acl_cv_rpath" >&6
9906 wl="$acl_cv_wl"
9907 libext="$acl_cv_libext"
9908 shlibext="$acl_cv_shlibext"
9909 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
9910 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
9911 hardcode_direct="$acl_cv_hardcode_direct"
9912 hardcode_minus_L="$acl_cv_hardcode_minus_L"
9913 # Check whether --enable-rpath or --disable-rpath was given.
9914 if test "${enable_rpath+set}" = set; then
9915 enableval="$enable_rpath"
9917 else
9918 enable_rpath=yes
9927 use_additional=yes
9929 acl_save_prefix="$prefix"
9930 prefix="$acl_final_prefix"
9931 acl_save_exec_prefix="$exec_prefix"
9932 exec_prefix="$acl_final_exec_prefix"
9934 eval additional_includedir=\"$includedir\"
9935 eval additional_libdir=\"$libdir\"
9937 exec_prefix="$acl_save_exec_prefix"
9938 prefix="$acl_save_prefix"
9941 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9942 if test "${with_libiconv_prefix+set}" = set; then
9943 withval="$with_libiconv_prefix"
9945 if test "X$withval" = "Xno"; then
9946 use_additional=no
9947 else
9948 if test "X$withval" = "X"; then
9950 acl_save_prefix="$prefix"
9951 prefix="$acl_final_prefix"
9952 acl_save_exec_prefix="$exec_prefix"
9953 exec_prefix="$acl_final_exec_prefix"
9955 eval additional_includedir=\"$includedir\"
9956 eval additional_libdir=\"$libdir\"
9958 exec_prefix="$acl_save_exec_prefix"
9959 prefix="$acl_save_prefix"
9961 else
9962 additional_includedir="$withval/include"
9963 additional_libdir="$withval/lib"
9968 LIBICONV=
9969 LTLIBICONV=
9970 INCICONV=
9971 rpathdirs=
9972 ltrpathdirs=
9973 names_already_handled=
9974 names_next_round='iconv '
9975 while test -n "$names_next_round"; do
9976 names_this_round="$names_next_round"
9977 names_next_round=
9978 for name in $names_this_round; do
9979 already_handled=
9980 for n in $names_already_handled; do
9981 if test "$n" = "$name"; then
9982 already_handled=yes
9983 break
9985 done
9986 if test -z "$already_handled"; then
9987 names_already_handled="$names_already_handled $name"
9988 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9989 eval value=\"\$HAVE_LIB$uppername\"
9990 if test -n "$value"; then
9991 if test "$value" = yes; then
9992 eval value=\"\$LIB$uppername\"
9993 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
9994 eval value=\"\$LTLIB$uppername\"
9995 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
9996 else
9999 else
10000 found_dir=
10001 found_la=
10002 found_so=
10003 found_a=
10004 if test $use_additional = yes; then
10005 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10006 found_dir="$additional_libdir"
10007 found_so="$additional_libdir/lib$name.$shlibext"
10008 if test -f "$additional_libdir/lib$name.la"; then
10009 found_la="$additional_libdir/lib$name.la"
10011 else
10012 if test -f "$additional_libdir/lib$name.$libext"; then
10013 found_dir="$additional_libdir"
10014 found_a="$additional_libdir/lib$name.$libext"
10015 if test -f "$additional_libdir/lib$name.la"; then
10016 found_la="$additional_libdir/lib$name.la"
10021 if test "X$found_dir" = "X"; then
10022 for x in $LDFLAGS $LTLIBICONV; do
10024 acl_save_prefix="$prefix"
10025 prefix="$acl_final_prefix"
10026 acl_save_exec_prefix="$exec_prefix"
10027 exec_prefix="$acl_final_exec_prefix"
10028 eval x=\"$x\"
10029 exec_prefix="$acl_save_exec_prefix"
10030 prefix="$acl_save_prefix"
10032 case "$x" in
10033 -L*)
10034 dir=`echo "X$x" | sed -e 's/^X-L//'`
10035 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10036 found_dir="$dir"
10037 found_so="$dir/lib$name.$shlibext"
10038 if test -f "$dir/lib$name.la"; then
10039 found_la="$dir/lib$name.la"
10041 else
10042 if test -f "$dir/lib$name.$libext"; then
10043 found_dir="$dir"
10044 found_a="$dir/lib$name.$libext"
10045 if test -f "$dir/lib$name.la"; then
10046 found_la="$dir/lib$name.la"
10051 esac
10052 if test "X$found_dir" != "X"; then
10053 break
10055 done
10057 if test "X$found_dir" != "X"; then
10058 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10059 if test "X$found_so" != "X"; then
10060 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
10061 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10062 else
10063 haveit=
10064 for x in $ltrpathdirs; do
10065 if test "X$x" = "X$found_dir"; then
10066 haveit=yes
10067 break
10069 done
10070 if test -z "$haveit"; then
10071 ltrpathdirs="$ltrpathdirs $found_dir"
10073 if test "$hardcode_direct" = yes; then
10074 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10075 else
10076 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
10077 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10078 haveit=
10079 for x in $rpathdirs; do
10080 if test "X$x" = "X$found_dir"; then
10081 haveit=yes
10082 break
10084 done
10085 if test -z "$haveit"; then
10086 rpathdirs="$rpathdirs $found_dir"
10088 else
10089 haveit=
10090 for x in $LDFLAGS $LIBICONV; do
10092 acl_save_prefix="$prefix"
10093 prefix="$acl_final_prefix"
10094 acl_save_exec_prefix="$exec_prefix"
10095 exec_prefix="$acl_final_exec_prefix"
10096 eval x=\"$x\"
10097 exec_prefix="$acl_save_exec_prefix"
10098 prefix="$acl_save_prefix"
10100 if test "X$x" = "X-L$found_dir"; then
10101 haveit=yes
10102 break
10104 done
10105 if test -z "$haveit"; then
10106 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10108 if test "$hardcode_minus_L" != no; then
10109 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10110 else
10111 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10116 else
10117 if test "X$found_a" != "X"; then
10118 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
10119 else
10120 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10123 additional_includedir=
10124 case "$found_dir" in
10125 */lib | */lib/)
10126 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10127 additional_includedir="$basedir/include"
10129 esac
10130 if test "X$additional_includedir" != "X"; then
10131 if test "X$additional_includedir" != "X/usr/include"; then
10132 haveit=
10133 if test "X$additional_includedir" = "X/usr/local/include"; then
10134 if test -n "$GCC"; then
10135 case $host_os in
10136 linux*) haveit=yes;;
10137 esac
10140 if test -z "$haveit"; then
10141 for x in $CPPFLAGS $INCICONV; do
10143 acl_save_prefix="$prefix"
10144 prefix="$acl_final_prefix"
10145 acl_save_exec_prefix="$exec_prefix"
10146 exec_prefix="$acl_final_exec_prefix"
10147 eval x=\"$x\"
10148 exec_prefix="$acl_save_exec_prefix"
10149 prefix="$acl_save_prefix"
10151 if test "X$x" = "X-I$additional_includedir"; then
10152 haveit=yes
10153 break
10155 done
10156 if test -z "$haveit"; then
10157 if test -d "$additional_includedir"; then
10158 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10164 if test -n "$found_la"; then
10165 save_libdir="$libdir"
10166 case "$found_la" in
10167 */* | *\\*) . "$found_la" ;;
10168 *) . "./$found_la" ;;
10169 esac
10170 libdir="$save_libdir"
10171 for dep in $dependency_libs; do
10172 case "$dep" in
10173 -L*)
10174 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
10175 if test "X$additional_libdir" != "X/usr/lib"; then
10176 haveit=
10177 if test "X$additional_libdir" = "X/usr/local/lib"; then
10178 if test -n "$GCC"; then
10179 case $host_os in
10180 linux*) haveit=yes;;
10181 esac
10184 if test -z "$haveit"; then
10185 haveit=
10186 for x in $LDFLAGS $LIBICONV; do
10188 acl_save_prefix="$prefix"
10189 prefix="$acl_final_prefix"
10190 acl_save_exec_prefix="$exec_prefix"
10191 exec_prefix="$acl_final_exec_prefix"
10192 eval x=\"$x\"
10193 exec_prefix="$acl_save_exec_prefix"
10194 prefix="$acl_save_prefix"
10196 if test "X$x" = "X-L$additional_libdir"; then
10197 haveit=yes
10198 break
10200 done
10201 if test -z "$haveit"; then
10202 if test -d "$additional_libdir"; then
10203 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10206 haveit=
10207 for x in $LDFLAGS $LTLIBICONV; do
10209 acl_save_prefix="$prefix"
10210 prefix="$acl_final_prefix"
10211 acl_save_exec_prefix="$exec_prefix"
10212 exec_prefix="$acl_final_exec_prefix"
10213 eval x=\"$x\"
10214 exec_prefix="$acl_save_exec_prefix"
10215 prefix="$acl_save_prefix"
10217 if test "X$x" = "X-L$additional_libdir"; then
10218 haveit=yes
10219 break
10221 done
10222 if test -z "$haveit"; then
10223 if test -d "$additional_libdir"; then
10224 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10230 -R*)
10231 dir=`echo "X$dep" | sed -e 's/^X-R//'`
10232 if test "$enable_rpath" != no; then
10233 haveit=
10234 for x in $rpathdirs; do
10235 if test "X$x" = "X$dir"; then
10236 haveit=yes
10237 break
10239 done
10240 if test -z "$haveit"; then
10241 rpathdirs="$rpathdirs $dir"
10243 haveit=
10244 for x in $ltrpathdirs; do
10245 if test "X$x" = "X$dir"; then
10246 haveit=yes
10247 break
10249 done
10250 if test -z "$haveit"; then
10251 ltrpathdirs="$ltrpathdirs $dir"
10255 -l*)
10256 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10258 *.la)
10259 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10262 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
10263 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10265 esac
10266 done
10268 else
10269 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10270 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10274 done
10275 done
10276 if test "X$rpathdirs" != "X"; then
10277 if test -n "$hardcode_libdir_separator"; then
10278 alldirs=
10279 for found_dir in $rpathdirs; do
10280 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10281 done
10282 acl_save_libdir="$libdir"
10283 libdir="$alldirs"
10284 eval flag=\"$hardcode_libdir_flag_spec\"
10285 libdir="$acl_save_libdir"
10286 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10287 else
10288 for found_dir in $rpathdirs; do
10289 acl_save_libdir="$libdir"
10290 libdir="$found_dir"
10291 eval flag=\"$hardcode_libdir_flag_spec\"
10292 libdir="$acl_save_libdir"
10293 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10294 done
10297 if test "X$ltrpathdirs" != "X"; then
10298 for found_dir in $ltrpathdirs; do
10299 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10300 done
10309 am_save_CPPFLAGS="$CPPFLAGS"
10311 for element in $INCICONV; do
10312 haveit=
10313 for x in $CPPFLAGS; do
10315 acl_save_prefix="$prefix"
10316 prefix="$acl_final_prefix"
10317 acl_save_exec_prefix="$exec_prefix"
10318 exec_prefix="$acl_final_exec_prefix"
10319 eval x=\"$x\"
10320 exec_prefix="$acl_save_exec_prefix"
10321 prefix="$acl_save_prefix"
10323 if test "X$x" = "X$element"; then
10324 haveit=yes
10325 break
10327 done
10328 if test -z "$haveit"; then
10329 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10331 done
10334 echo "$as_me:$LINENO: checking for iconv" >&5
10335 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10336 if test "${am_cv_func_iconv+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 else
10340 am_cv_func_iconv="no, consider installing GNU libiconv"
10341 am_cv_lib_iconv=no
10342 if test x$gcc_no_link = xyes; then
10343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10345 { (exit 1); exit 1; }; }
10347 cat >conftest.$ac_ext <<_ACEOF
10348 /* confdefs.h. */
10349 _ACEOF
10350 cat confdefs.h >>conftest.$ac_ext
10351 cat >>conftest.$ac_ext <<_ACEOF
10352 /* end confdefs.h. */
10353 #include <stdlib.h>
10354 #include <iconv.h>
10356 main ()
10358 iconv_t cd = iconv_open("","");
10359 iconv(cd,NULL,NULL,NULL,NULL);
10360 iconv_close(cd);
10362 return 0;
10364 _ACEOF
10365 rm -f conftest.$ac_objext conftest$ac_exeext
10366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10367 (eval $ac_link) 2>conftest.er1
10368 ac_status=$?
10369 grep -v '^ *+' conftest.er1 >conftest.err
10370 rm -f conftest.er1
10371 cat conftest.err >&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); } &&
10374 { ac_try='test -z "$ac_c_werror_flag"
10375 || test ! -s conftest.err'
10376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10377 (eval $ac_try) 2>&5
10378 ac_status=$?
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; } &&
10381 { ac_try='test -s conftest$ac_exeext'
10382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10383 (eval $ac_try) 2>&5
10384 ac_status=$?
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); }; }; then
10387 am_cv_func_iconv=yes
10388 else
10389 echo "$as_me: failed program was:" >&5
10390 sed 's/^/| /' conftest.$ac_ext >&5
10393 rm -f conftest.err conftest.$ac_objext \
10394 conftest$ac_exeext conftest.$ac_ext
10395 if test "$am_cv_func_iconv" != yes; then
10396 am_save_LIBS="$LIBS"
10397 LIBS="$LIBS $LIBICONV"
10398 if test x$gcc_no_link = xyes; then
10399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10401 { (exit 1); exit 1; }; }
10403 cat >conftest.$ac_ext <<_ACEOF
10404 /* confdefs.h. */
10405 _ACEOF
10406 cat confdefs.h >>conftest.$ac_ext
10407 cat >>conftest.$ac_ext <<_ACEOF
10408 /* end confdefs.h. */
10409 #include <stdlib.h>
10410 #include <iconv.h>
10412 main ()
10414 iconv_t cd = iconv_open("","");
10415 iconv(cd,NULL,NULL,NULL,NULL);
10416 iconv_close(cd);
10418 return 0;
10420 _ACEOF
10421 rm -f conftest.$ac_objext conftest$ac_exeext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10423 (eval $ac_link) 2>conftest.er1
10424 ac_status=$?
10425 grep -v '^ *+' conftest.er1 >conftest.err
10426 rm -f conftest.er1
10427 cat conftest.err >&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } &&
10430 { ac_try='test -z "$ac_c_werror_flag"
10431 || test ! -s conftest.err'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10434 ac_status=$?
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; } &&
10437 { ac_try='test -s conftest$ac_exeext'
10438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5
10440 ac_status=$?
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then
10443 am_cv_lib_iconv=yes
10444 am_cv_func_iconv=yes
10445 else
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10450 rm -f conftest.err conftest.$ac_objext \
10451 conftest$ac_exeext conftest.$ac_ext
10452 LIBS="$am_save_LIBS"
10456 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10457 echo "${ECHO_T}$am_cv_func_iconv" >&6
10458 if test "$am_cv_func_iconv" = yes; then
10460 cat >>confdefs.h <<\_ACEOF
10461 #define HAVE_ICONV 1
10462 _ACEOF
10465 if test "$am_cv_lib_iconv" = yes; then
10466 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10467 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10468 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10469 echo "${ECHO_T}$LIBICONV" >&6
10470 else
10471 CPPFLAGS="$am_save_CPPFLAGS"
10472 LIBICONV=
10473 LTLIBICONV=
10478 if test "$am_cv_func_iconv" = yes; then
10479 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10480 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10481 if test "${am_cv_proto_iconv+set}" = set; then
10482 echo $ECHO_N "(cached) $ECHO_C" >&6
10483 else
10485 cat >conftest.$ac_ext <<_ACEOF
10486 /* confdefs.h. */
10487 _ACEOF
10488 cat confdefs.h >>conftest.$ac_ext
10489 cat >>conftest.$ac_ext <<_ACEOF
10490 /* end confdefs.h. */
10492 #include <stdlib.h>
10493 #include <iconv.h>
10494 extern
10495 #ifdef __cplusplus
10497 #endif
10498 #if defined(__STDC__) || defined(__cplusplus)
10499 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10500 #else
10501 size_t iconv();
10502 #endif
10505 main ()
10509 return 0;
10511 _ACEOF
10512 rm -f conftest.$ac_objext
10513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10514 (eval $ac_compile) 2>conftest.er1
10515 ac_status=$?
10516 grep -v '^ *+' conftest.er1 >conftest.err
10517 rm -f conftest.er1
10518 cat conftest.err >&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try='test -z "$ac_c_werror_flag"
10522 || test ! -s conftest.err'
10523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10524 (eval $ac_try) 2>&5
10525 ac_status=$?
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); }; } &&
10528 { ac_try='test -s conftest.$ac_objext'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10531 ac_status=$?
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; }; then
10534 am_cv_proto_iconv_arg1=""
10535 else
10536 echo "$as_me: failed program was:" >&5
10537 sed 's/^/| /' conftest.$ac_ext >&5
10539 am_cv_proto_iconv_arg1="const"
10541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10542 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);"
10545 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10546 echo "$as_me:$LINENO: result: ${ac_t:-
10547 }$am_cv_proto_iconv" >&5
10548 echo "${ECHO_T}${ac_t:-
10549 }$am_cv_proto_iconv" >&6
10551 cat >>confdefs.h <<_ACEOF
10552 #define ICONV_CONST $am_cv_proto_iconv_arg1
10553 _ACEOF
10558 if test "x${GCC}" = xyes; then
10560 WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
10563 STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
10566 ERROR_CFLAGS=
10567 if test "x${ENABLE_WERROR}" = xyes; then
10568 ERROR_CFLAGS='-Werror'
10573 if test "x${COMPILE_XMLJ}" = xyes; then
10575 succeeded=no
10577 if test -z "$PKG_CONFIG"; then
10578 # Extract the first word of "pkg-config", so it can be a program name with args.
10579 set dummy pkg-config; ac_word=$2
10580 echo "$as_me:$LINENO: checking for $ac_word" >&5
10581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10582 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10583 echo $ECHO_N "(cached) $ECHO_C" >&6
10584 else
10585 case $PKG_CONFIG in
10586 [\\/]* | ?:[\\/]*)
10587 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10591 for as_dir in $PATH
10593 IFS=$as_save_IFS
10594 test -z "$as_dir" && as_dir=.
10595 for ac_exec_ext in '' $ac_executable_extensions; do
10596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10597 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10599 break 2
10601 done
10602 done
10604 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10606 esac
10608 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10610 if test -n "$PKG_CONFIG"; then
10611 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10612 echo "${ECHO_T}$PKG_CONFIG" >&6
10613 else
10614 echo "$as_me:$LINENO: result: no" >&5
10615 echo "${ECHO_T}no" >&6
10620 if test "$PKG_CONFIG" = "no" ; then
10621 echo "*** The pkg-config script could not be found. Make sure it is"
10622 echo "*** in your path, or set the PKG_CONFIG environment variable"
10623 echo "*** to the full path to pkg-config."
10624 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10625 else
10626 PKG_CONFIG_MIN_VERSION=0.9.0
10627 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10628 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
10629 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
10631 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
10632 echo "$as_me:$LINENO: result: yes" >&5
10633 echo "${ECHO_T}yes" >&6
10634 succeeded=yes
10636 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
10637 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
10638 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
10639 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
10640 echo "${ECHO_T}$XML_CFLAGS" >&6
10642 echo "$as_me:$LINENO: checking XML_LIBS" >&5
10643 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
10644 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
10645 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
10646 echo "${ECHO_T}$XML_LIBS" >&6
10647 else
10648 XML_CFLAGS=""
10649 XML_LIBS=""
10650 ## If we have a custom action on failure, don't print errors, but
10651 ## do set a variable so people can do so.
10652 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
10653 echo $XML_PKG_ERRORS
10658 else
10659 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10660 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10664 if test $succeeded = yes; then
10666 else
10667 { { 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
10668 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;}
10669 { (exit 1); exit 1; }; }
10673 succeeded=no
10675 if test -z "$PKG_CONFIG"; then
10676 # Extract the first word of "pkg-config", so it can be a program name with args.
10677 set dummy pkg-config; ac_word=$2
10678 echo "$as_me:$LINENO: checking for $ac_word" >&5
10679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10680 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10681 echo $ECHO_N "(cached) $ECHO_C" >&6
10682 else
10683 case $PKG_CONFIG in
10684 [\\/]* | ?:[\\/]*)
10685 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10689 for as_dir in $PATH
10691 IFS=$as_save_IFS
10692 test -z "$as_dir" && as_dir=.
10693 for ac_exec_ext in '' $ac_executable_extensions; do
10694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10695 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10697 break 2
10699 done
10700 done
10702 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10704 esac
10706 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10708 if test -n "$PKG_CONFIG"; then
10709 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10710 echo "${ECHO_T}$PKG_CONFIG" >&6
10711 else
10712 echo "$as_me:$LINENO: result: no" >&5
10713 echo "${ECHO_T}no" >&6
10718 if test "$PKG_CONFIG" = "no" ; then
10719 echo "*** The pkg-config script could not be found. Make sure it is"
10720 echo "*** in your path, or set the PKG_CONFIG environment variable"
10721 echo "*** to the full path to pkg-config."
10722 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10723 else
10724 PKG_CONFIG_MIN_VERSION=0.9.0
10725 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10726 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
10727 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
10729 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
10730 echo "$as_me:$LINENO: result: yes" >&5
10731 echo "${ECHO_T}yes" >&6
10732 succeeded=yes
10734 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
10735 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
10736 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
10737 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
10738 echo "${ECHO_T}$XSLT_CFLAGS" >&6
10740 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
10741 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
10742 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
10743 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
10744 echo "${ECHO_T}$XSLT_LIBS" >&6
10745 else
10746 XSLT_CFLAGS=""
10747 XSLT_LIBS=""
10748 ## If we have a custom action on failure, don't print errors, but
10749 ## do set a variable so people can do so.
10750 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
10751 echo $XSLT_PKG_ERRORS
10756 else
10757 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10758 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10762 if test $succeeded = yes; then
10764 else
10765 { { 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
10766 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;}
10767 { (exit 1); exit 1; }; }
10776 if test "x${COMPILE_GTK_PEER}" = xyes; then
10777 echo "$as_me:$LINENO: checking for X" >&5
10778 echo $ECHO_N "checking for X... $ECHO_C" >&6
10781 # Check whether --with-x or --without-x was given.
10782 if test "${with_x+set}" = set; then
10783 withval="$with_x"
10786 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10787 if test "x$with_x" = xno; then
10788 # The user explicitly disabled X.
10789 have_x=disabled
10790 else
10791 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
10792 # Both variables are already set.
10793 have_x=yes
10794 else
10795 if test "${ac_cv_have_x+set}" = set; then
10796 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 else
10798 # One or both of the vars are not set, and there is no cached value.
10799 ac_x_includes=no ac_x_libraries=no
10800 rm -fr conftest.dir
10801 if mkdir conftest.dir; then
10802 cd conftest.dir
10803 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10804 cat >Imakefile <<'_ACEOF'
10805 acfindx:
10806 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10807 _ACEOF
10808 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
10809 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10810 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10811 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10812 for ac_extension in a so sl; do
10813 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
10814 test -f $ac_im_libdir/libX11.$ac_extension; then
10815 ac_im_usrlibdir=$ac_im_libdir; break
10817 done
10818 # Screen out bogus values from the imake configuration. They are
10819 # bogus both because they are the default anyway, and because
10820 # using them would break gcc on systems where it needs fixed includes.
10821 case $ac_im_incroot in
10822 /usr/include) ;;
10823 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10824 esac
10825 case $ac_im_usrlibdir in
10826 /usr/lib | /lib) ;;
10827 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10828 esac
10830 cd ..
10831 rm -fr conftest.dir
10834 # Standard set of common directories for X headers.
10835 # Check X11 before X11Rn because it is often a symlink to the current release.
10836 ac_x_header_dirs='
10837 /usr/X11/include
10838 /usr/X11R6/include
10839 /usr/X11R5/include
10840 /usr/X11R4/include
10842 /usr/include/X11
10843 /usr/include/X11R6
10844 /usr/include/X11R5
10845 /usr/include/X11R4
10847 /usr/local/X11/include
10848 /usr/local/X11R6/include
10849 /usr/local/X11R5/include
10850 /usr/local/X11R4/include
10852 /usr/local/include/X11
10853 /usr/local/include/X11R6
10854 /usr/local/include/X11R5
10855 /usr/local/include/X11R4
10857 /usr/X386/include
10858 /usr/x386/include
10859 /usr/XFree86/include/X11
10861 /usr/include
10862 /usr/local/include
10863 /usr/unsupported/include
10864 /usr/athena/include
10865 /usr/local/x11r5/include
10866 /usr/lpp/Xamples/include
10868 /usr/openwin/include
10869 /usr/openwin/share/include'
10871 if test "$ac_x_includes" = no; then
10872 # Guess where to find include files, by looking for Intrinsic.h.
10873 # First, try using that file with no special directory specified.
10874 cat >conftest.$ac_ext <<_ACEOF
10875 /* confdefs.h. */
10876 _ACEOF
10877 cat confdefs.h >>conftest.$ac_ext
10878 cat >>conftest.$ac_ext <<_ACEOF
10879 /* end confdefs.h. */
10880 #include <X11/Intrinsic.h>
10881 _ACEOF
10882 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10883 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10884 ac_status=$?
10885 grep -v '^ *+' conftest.er1 >conftest.err
10886 rm -f conftest.er1
10887 cat conftest.err >&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); } >/dev/null; then
10890 if test -s conftest.err; then
10891 ac_cpp_err=$ac_c_preproc_warn_flag
10892 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10893 else
10894 ac_cpp_err=
10896 else
10897 ac_cpp_err=yes
10899 if test -z "$ac_cpp_err"; then
10900 # We can compile using X headers with no special include directory.
10901 ac_x_includes=
10902 else
10903 echo "$as_me: failed program was:" >&5
10904 sed 's/^/| /' conftest.$ac_ext >&5
10906 for ac_dir in $ac_x_header_dirs; do
10907 if test -r "$ac_dir/X11/Intrinsic.h"; then
10908 ac_x_includes=$ac_dir
10909 break
10911 done
10913 rm -f conftest.err conftest.$ac_ext
10914 fi # $ac_x_includes = no
10916 if test "$ac_x_libraries" = no; then
10917 # Check for the libraries.
10918 # See if we find them without any special options.
10919 # Don't add to $LIBS permanently.
10920 ac_save_LIBS=$LIBS
10921 LIBS="-lXt $LIBS"
10922 if test x$gcc_no_link = xyes; then
10923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10925 { (exit 1); exit 1; }; }
10927 cat >conftest.$ac_ext <<_ACEOF
10928 /* confdefs.h. */
10929 _ACEOF
10930 cat confdefs.h >>conftest.$ac_ext
10931 cat >>conftest.$ac_ext <<_ACEOF
10932 /* end confdefs.h. */
10933 #include <X11/Intrinsic.h>
10935 main ()
10937 XtMalloc (0)
10939 return 0;
10941 _ACEOF
10942 rm -f conftest.$ac_objext conftest$ac_exeext
10943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10944 (eval $ac_link) 2>conftest.er1
10945 ac_status=$?
10946 grep -v '^ *+' conftest.er1 >conftest.err
10947 rm -f conftest.er1
10948 cat conftest.err >&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); } &&
10951 { ac_try='test -z "$ac_c_werror_flag"
10952 || test ! -s conftest.err'
10953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10954 (eval $ac_try) 2>&5
10955 ac_status=$?
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; } &&
10958 { ac_try='test -s conftest$ac_exeext'
10959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10960 (eval $ac_try) 2>&5
10961 ac_status=$?
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); }; }; then
10964 LIBS=$ac_save_LIBS
10965 # We can link X programs with no special library path.
10966 ac_x_libraries=
10967 else
10968 echo "$as_me: failed program was:" >&5
10969 sed 's/^/| /' conftest.$ac_ext >&5
10971 LIBS=$ac_save_LIBS
10972 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10974 # Don't even attempt the hair of trying to link an X program!
10975 for ac_extension in a so sl; do
10976 if test -r $ac_dir/libXt.$ac_extension; then
10977 ac_x_libraries=$ac_dir
10978 break 2
10980 done
10981 done
10983 rm -f conftest.err conftest.$ac_objext \
10984 conftest$ac_exeext conftest.$ac_ext
10985 fi # $ac_x_libraries = no
10987 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
10988 # Didn't find X anywhere. Cache the known absence of X.
10989 ac_cv_have_x="have_x=no"
10990 else
10991 # Record where we found X for the cache.
10992 ac_cv_have_x="have_x=yes \
10993 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10998 eval "$ac_cv_have_x"
10999 fi # $with_x != no
11001 if test "$have_x" != yes; then
11002 echo "$as_me:$LINENO: result: $have_x" >&5
11003 echo "${ECHO_T}$have_x" >&6
11004 no_x=yes
11005 else
11006 # If each of the values was on the command line, it overrides each guess.
11007 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11008 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11009 # Update the cache value to reflect the command line values.
11010 ac_cv_have_x="have_x=yes \
11011 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11012 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11013 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
11016 if test "$no_x" = yes; then
11017 # Not all programs may use this symbol, but it does not hurt to define it.
11019 cat >>confdefs.h <<\_ACEOF
11020 #define X_DISPLAY_MISSING 1
11021 _ACEOF
11023 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11024 else
11025 if test -n "$x_includes"; then
11026 X_CFLAGS="$X_CFLAGS -I$x_includes"
11029 # It would also be nice to do this for all -L options, not just this one.
11030 if test -n "$x_libraries"; then
11031 X_LIBS="$X_LIBS -L$x_libraries"
11032 # For Solaris; some versions of Sun CC require a space after -R and
11033 # others require no space. Words are not sufficient . . . .
11034 case `(uname -sr) 2>/dev/null` in
11035 "SunOS 5"*)
11036 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
11037 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
11038 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11039 if test x$gcc_no_link = xyes; then
11040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11042 { (exit 1); exit 1; }; }
11044 cat >conftest.$ac_ext <<_ACEOF
11045 /* confdefs.h. */
11046 _ACEOF
11047 cat confdefs.h >>conftest.$ac_ext
11048 cat >>conftest.$ac_ext <<_ACEOF
11049 /* end confdefs.h. */
11052 main ()
11056 return 0;
11058 _ACEOF
11059 rm -f conftest.$ac_objext conftest$ac_exeext
11060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11061 (eval $ac_link) 2>conftest.er1
11062 ac_status=$?
11063 grep -v '^ *+' conftest.er1 >conftest.err
11064 rm -f conftest.er1
11065 cat conftest.err >&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); } &&
11068 { ac_try='test -z "$ac_c_werror_flag"
11069 || test ! -s conftest.err'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11072 ac_status=$?
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; } &&
11075 { ac_try='test -s conftest$ac_exeext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11078 ac_status=$?
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11081 ac_R_nospace=yes
11082 else
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11086 ac_R_nospace=no
11088 rm -f conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 if test $ac_R_nospace = yes; then
11091 echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6
11093 X_LIBS="$X_LIBS -R$x_libraries"
11094 else
11095 LIBS="$ac_xsave_LIBS -R $x_libraries"
11096 if test x$gcc_no_link = xyes; then
11097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11099 { (exit 1); exit 1; }; }
11101 cat >conftest.$ac_ext <<_ACEOF
11102 /* confdefs.h. */
11103 _ACEOF
11104 cat confdefs.h >>conftest.$ac_ext
11105 cat >>conftest.$ac_ext <<_ACEOF
11106 /* end confdefs.h. */
11109 main ()
11113 return 0;
11115 _ACEOF
11116 rm -f conftest.$ac_objext conftest$ac_exeext
11117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11118 (eval $ac_link) 2>conftest.er1
11119 ac_status=$?
11120 grep -v '^ *+' conftest.er1 >conftest.err
11121 rm -f conftest.er1
11122 cat conftest.err >&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); } &&
11125 { ac_try='test -z "$ac_c_werror_flag"
11126 || test ! -s conftest.err'
11127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11128 (eval $ac_try) 2>&5
11129 ac_status=$?
11130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131 (exit $ac_status); }; } &&
11132 { ac_try='test -s conftest$ac_exeext'
11133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11134 (eval $ac_try) 2>&5
11135 ac_status=$?
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); }; }; then
11138 ac_R_space=yes
11139 else
11140 echo "$as_me: failed program was:" >&5
11141 sed 's/^/| /' conftest.$ac_ext >&5
11143 ac_R_space=no
11145 rm -f conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147 if test $ac_R_space = yes; then
11148 echo "$as_me:$LINENO: result: yes" >&5
11149 echo "${ECHO_T}yes" >&6
11150 X_LIBS="$X_LIBS -R $x_libraries"
11151 else
11152 echo "$as_me:$LINENO: result: neither works" >&5
11153 echo "${ECHO_T}neither works" >&6
11156 LIBS=$ac_xsave_LIBS
11157 esac
11160 # Check for system-dependent libraries X programs must link with.
11161 # Do this before checking for the system-independent R6 libraries
11162 # (-lICE), since we may need -lsocket or whatever for X linking.
11164 if test "$ISC" = yes; then
11165 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11166 else
11167 # Martyn Johnson says this is needed for Ultrix, if the X
11168 # libraries were built with DECnet support. And Karl Berry says
11169 # the Alpha needs dnet_stub (dnet does not exist).
11170 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11171 if test x$gcc_no_link = xyes; then
11172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11174 { (exit 1); exit 1; }; }
11176 cat >conftest.$ac_ext <<_ACEOF
11177 /* confdefs.h. */
11178 _ACEOF
11179 cat confdefs.h >>conftest.$ac_ext
11180 cat >>conftest.$ac_ext <<_ACEOF
11181 /* end confdefs.h. */
11183 /* Override any gcc2 internal prototype to avoid an error. */
11184 #ifdef __cplusplus
11185 extern "C"
11186 #endif
11187 /* We use char because int might match the return type of a gcc2
11188 builtin and then its argument prototype would still apply. */
11189 char XOpenDisplay ();
11191 main ()
11193 XOpenDisplay ();
11195 return 0;
11197 _ACEOF
11198 rm -f conftest.$ac_objext conftest$ac_exeext
11199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11200 (eval $ac_link) 2>conftest.er1
11201 ac_status=$?
11202 grep -v '^ *+' conftest.er1 >conftest.err
11203 rm -f conftest.er1
11204 cat conftest.err >&5
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); } &&
11207 { ac_try='test -z "$ac_c_werror_flag"
11208 || test ! -s conftest.err'
11209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11210 (eval $ac_try) 2>&5
11211 ac_status=$?
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }; } &&
11214 { ac_try='test -s conftest$ac_exeext'
11215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11216 (eval $ac_try) 2>&5
11217 ac_status=$?
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); }; }; then
11221 else
11222 echo "$as_me: failed program was:" >&5
11223 sed 's/^/| /' conftest.$ac_ext >&5
11225 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11226 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
11227 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11228 echo $ECHO_N "(cached) $ECHO_C" >&6
11229 else
11230 ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-ldnet $LIBS"
11232 if test x$gcc_no_link = xyes; then
11233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11235 { (exit 1); exit 1; }; }
11237 cat >conftest.$ac_ext <<_ACEOF
11238 /* confdefs.h. */
11239 _ACEOF
11240 cat confdefs.h >>conftest.$ac_ext
11241 cat >>conftest.$ac_ext <<_ACEOF
11242 /* end confdefs.h. */
11244 /* Override any gcc2 internal prototype to avoid an error. */
11245 #ifdef __cplusplus
11246 extern "C"
11247 #endif
11248 /* We use char because int might match the return type of a gcc2
11249 builtin and then its argument prototype would still apply. */
11250 char dnet_ntoa ();
11252 main ()
11254 dnet_ntoa ();
11256 return 0;
11258 _ACEOF
11259 rm -f conftest.$ac_objext conftest$ac_exeext
11260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11261 (eval $ac_link) 2>conftest.er1
11262 ac_status=$?
11263 grep -v '^ *+' conftest.er1 >conftest.err
11264 rm -f conftest.er1
11265 cat conftest.err >&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } &&
11268 { ac_try='test -z "$ac_c_werror_flag"
11269 || test ! -s conftest.err'
11270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11271 (eval $ac_try) 2>&5
11272 ac_status=$?
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); }; } &&
11275 { ac_try='test -s conftest$ac_exeext'
11276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11277 (eval $ac_try) 2>&5
11278 ac_status=$?
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); }; }; then
11281 ac_cv_lib_dnet_dnet_ntoa=yes
11282 else
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.$ac_ext >&5
11286 ac_cv_lib_dnet_dnet_ntoa=no
11288 rm -f conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_lib_save_LIBS
11292 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11293 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
11294 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11295 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11298 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11299 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11300 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
11301 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11302 echo $ECHO_N "(cached) $ECHO_C" >&6
11303 else
11304 ac_check_lib_save_LIBS=$LIBS
11305 LIBS="-ldnet_stub $LIBS"
11306 if test x$gcc_no_link = xyes; then
11307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11309 { (exit 1); exit 1; }; }
11311 cat >conftest.$ac_ext <<_ACEOF
11312 /* confdefs.h. */
11313 _ACEOF
11314 cat confdefs.h >>conftest.$ac_ext
11315 cat >>conftest.$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11318 /* Override any gcc2 internal prototype to avoid an error. */
11319 #ifdef __cplusplus
11320 extern "C"
11321 #endif
11322 /* We use char because int might match the return type of a gcc2
11323 builtin and then its argument prototype would still apply. */
11324 char dnet_ntoa ();
11326 main ()
11328 dnet_ntoa ();
11330 return 0;
11332 _ACEOF
11333 rm -f conftest.$ac_objext conftest$ac_exeext
11334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11335 (eval $ac_link) 2>conftest.er1
11336 ac_status=$?
11337 grep -v '^ *+' conftest.er1 >conftest.err
11338 rm -f conftest.er1
11339 cat conftest.err >&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } &&
11342 { ac_try='test -z "$ac_c_werror_flag"
11343 || test ! -s conftest.err'
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11345 (eval $ac_try) 2>&5
11346 ac_status=$?
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; } &&
11349 { ac_try='test -s conftest$ac_exeext'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11352 ac_status=$?
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; }; then
11355 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11356 else
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.$ac_ext >&5
11360 ac_cv_lib_dnet_stub_dnet_ntoa=no
11362 rm -f conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11366 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11367 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
11368 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11369 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11374 rm -f conftest.err conftest.$ac_objext \
11375 conftest$ac_exeext conftest.$ac_ext
11376 LIBS="$ac_xsave_LIBS"
11378 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11379 # to get the SysV transport functions.
11380 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11381 # needs -lnsl.
11382 # The nsl library prevents programs from opening the X display
11383 # on Irix 5.2, according to T.E. Dickey.
11384 # The functions gethostbyname, getservbyname, and inet_addr are
11385 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11386 echo "$as_me:$LINENO: checking for gethostbyname" >&5
11387 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
11388 if test "${ac_cv_func_gethostbyname+set}" = set; then
11389 echo $ECHO_N "(cached) $ECHO_C" >&6
11390 else
11391 if test x$gcc_no_link = xyes; then
11392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11394 { (exit 1); exit 1; }; }
11396 cat >conftest.$ac_ext <<_ACEOF
11397 /* confdefs.h. */
11398 _ACEOF
11399 cat confdefs.h >>conftest.$ac_ext
11400 cat >>conftest.$ac_ext <<_ACEOF
11401 /* end confdefs.h. */
11402 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11404 #define gethostbyname innocuous_gethostbyname
11406 /* System header to define __stub macros and hopefully few prototypes,
11407 which can conflict with char gethostbyname (); below.
11408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11409 <limits.h> exists even on freestanding compilers. */
11411 #ifdef __STDC__
11412 # include <limits.h>
11413 #else
11414 # include <assert.h>
11415 #endif
11417 #undef gethostbyname
11419 /* Override any gcc2 internal prototype to avoid an error. */
11420 #ifdef __cplusplus
11421 extern "C"
11423 #endif
11424 /* We use char because int might match the return type of a gcc2
11425 builtin and then its argument prototype would still apply. */
11426 char gethostbyname ();
11427 /* The GNU C library defines this for functions which it implements
11428 to always fail with ENOSYS. Some functions are actually named
11429 something starting with __ and the normal name is an alias. */
11430 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11431 choke me
11432 #else
11433 char (*f) () = gethostbyname;
11434 #endif
11435 #ifdef __cplusplus
11437 #endif
11440 main ()
11442 return f != gethostbyname;
11444 return 0;
11446 _ACEOF
11447 rm -f conftest.$ac_objext conftest$ac_exeext
11448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11449 (eval $ac_link) 2>conftest.er1
11450 ac_status=$?
11451 grep -v '^ *+' conftest.er1 >conftest.err
11452 rm -f conftest.er1
11453 cat conftest.err >&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); } &&
11456 { ac_try='test -z "$ac_c_werror_flag"
11457 || test ! -s conftest.err'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11460 ac_status=$?
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; } &&
11463 { ac_try='test -s conftest$ac_exeext'
11464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11465 (eval $ac_try) 2>&5
11466 ac_status=$?
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }; }; then
11469 ac_cv_func_gethostbyname=yes
11470 else
11471 echo "$as_me: failed program was:" >&5
11472 sed 's/^/| /' conftest.$ac_ext >&5
11474 ac_cv_func_gethostbyname=no
11476 rm -f conftest.err conftest.$ac_objext \
11477 conftest$ac_exeext conftest.$ac_ext
11479 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11480 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
11482 if test $ac_cv_func_gethostbyname = no; then
11483 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11484 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
11485 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11486 echo $ECHO_N "(cached) $ECHO_C" >&6
11487 else
11488 ac_check_lib_save_LIBS=$LIBS
11489 LIBS="-lnsl $LIBS"
11490 if test x$gcc_no_link = xyes; then
11491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11493 { (exit 1); exit 1; }; }
11495 cat >conftest.$ac_ext <<_ACEOF
11496 /* confdefs.h. */
11497 _ACEOF
11498 cat confdefs.h >>conftest.$ac_ext
11499 cat >>conftest.$ac_ext <<_ACEOF
11500 /* end confdefs.h. */
11502 /* Override any gcc2 internal prototype to avoid an error. */
11503 #ifdef __cplusplus
11504 extern "C"
11505 #endif
11506 /* We use char because int might match the return type of a gcc2
11507 builtin and then its argument prototype would still apply. */
11508 char gethostbyname ();
11510 main ()
11512 gethostbyname ();
11514 return 0;
11516 _ACEOF
11517 rm -f conftest.$ac_objext conftest$ac_exeext
11518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11519 (eval $ac_link) 2>conftest.er1
11520 ac_status=$?
11521 grep -v '^ *+' conftest.er1 >conftest.err
11522 rm -f conftest.er1
11523 cat conftest.err >&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); } &&
11526 { ac_try='test -z "$ac_c_werror_flag"
11527 || test ! -s conftest.err'
11528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11529 (eval $ac_try) 2>&5
11530 ac_status=$?
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); }; } &&
11533 { ac_try='test -s conftest$ac_exeext'
11534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11535 (eval $ac_try) 2>&5
11536 ac_status=$?
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); }; }; then
11539 ac_cv_lib_nsl_gethostbyname=yes
11540 else
11541 echo "$as_me: failed program was:" >&5
11542 sed 's/^/| /' conftest.$ac_ext >&5
11544 ac_cv_lib_nsl_gethostbyname=no
11546 rm -f conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
11548 LIBS=$ac_check_lib_save_LIBS
11550 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11551 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
11552 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11553 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11556 if test $ac_cv_lib_nsl_gethostbyname = no; then
11557 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11558 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
11559 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11561 else
11562 ac_check_lib_save_LIBS=$LIBS
11563 LIBS="-lbsd $LIBS"
11564 if test x$gcc_no_link = xyes; then
11565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11567 { (exit 1); exit 1; }; }
11569 cat >conftest.$ac_ext <<_ACEOF
11570 /* confdefs.h. */
11571 _ACEOF
11572 cat confdefs.h >>conftest.$ac_ext
11573 cat >>conftest.$ac_ext <<_ACEOF
11574 /* end confdefs.h. */
11576 /* Override any gcc2 internal prototype to avoid an error. */
11577 #ifdef __cplusplus
11578 extern "C"
11579 #endif
11580 /* We use char because int might match the return type of a gcc2
11581 builtin and then its argument prototype would still apply. */
11582 char gethostbyname ();
11584 main ()
11586 gethostbyname ();
11588 return 0;
11590 _ACEOF
11591 rm -f conftest.$ac_objext conftest$ac_exeext
11592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11593 (eval $ac_link) 2>conftest.er1
11594 ac_status=$?
11595 grep -v '^ *+' conftest.er1 >conftest.err
11596 rm -f conftest.er1
11597 cat conftest.err >&5
11598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 (exit $ac_status); } &&
11600 { ac_try='test -z "$ac_c_werror_flag"
11601 || test ! -s conftest.err'
11602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11603 (eval $ac_try) 2>&5
11604 ac_status=$?
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); }; } &&
11607 { ac_try='test -s conftest$ac_exeext'
11608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11609 (eval $ac_try) 2>&5
11610 ac_status=$?
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }; }; then
11613 ac_cv_lib_bsd_gethostbyname=yes
11614 else
11615 echo "$as_me: failed program was:" >&5
11616 sed 's/^/| /' conftest.$ac_ext >&5
11618 ac_cv_lib_bsd_gethostbyname=no
11620 rm -f conftest.err conftest.$ac_objext \
11621 conftest$ac_exeext conftest.$ac_ext
11622 LIBS=$ac_check_lib_save_LIBS
11624 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11625 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
11626 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11633 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11634 # socket/setsockopt and other routines are undefined under SCO ODT
11635 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11636 # on later versions), says Simon Leinen: it contains gethostby*
11637 # variants that don't use the name server (or something). -lsocket
11638 # must be given before -lnsl if both are needed. We assume that
11639 # if connect needs -lnsl, so does gethostbyname.
11640 echo "$as_me:$LINENO: checking for connect" >&5
11641 echo $ECHO_N "checking for connect... $ECHO_C" >&6
11642 if test "${ac_cv_func_connect+set}" = set; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 else
11645 if test x$gcc_no_link = xyes; then
11646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11648 { (exit 1); exit 1; }; }
11650 cat >conftest.$ac_ext <<_ACEOF
11651 /* confdefs.h. */
11652 _ACEOF
11653 cat confdefs.h >>conftest.$ac_ext
11654 cat >>conftest.$ac_ext <<_ACEOF
11655 /* end confdefs.h. */
11656 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11658 #define connect innocuous_connect
11660 /* System header to define __stub macros and hopefully few prototypes,
11661 which can conflict with char connect (); below.
11662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11663 <limits.h> exists even on freestanding compilers. */
11665 #ifdef __STDC__
11666 # include <limits.h>
11667 #else
11668 # include <assert.h>
11669 #endif
11671 #undef connect
11673 /* Override any gcc2 internal prototype to avoid an error. */
11674 #ifdef __cplusplus
11675 extern "C"
11677 #endif
11678 /* We use char because int might match the return type of a gcc2
11679 builtin and then its argument prototype would still apply. */
11680 char connect ();
11681 /* The GNU C library defines this for functions which it implements
11682 to always fail with ENOSYS. Some functions are actually named
11683 something starting with __ and the normal name is an alias. */
11684 #if defined (__stub_connect) || defined (__stub___connect)
11685 choke me
11686 #else
11687 char (*f) () = connect;
11688 #endif
11689 #ifdef __cplusplus
11691 #endif
11694 main ()
11696 return f != connect;
11698 return 0;
11700 _ACEOF
11701 rm -f conftest.$ac_objext conftest$ac_exeext
11702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11703 (eval $ac_link) 2>conftest.er1
11704 ac_status=$?
11705 grep -v '^ *+' conftest.er1 >conftest.err
11706 rm -f conftest.er1
11707 cat conftest.err >&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); } &&
11710 { ac_try='test -z "$ac_c_werror_flag"
11711 || test ! -s conftest.err'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11714 ac_status=$?
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; } &&
11717 { ac_try='test -s conftest$ac_exeext'
11718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11719 (eval $ac_try) 2>&5
11720 ac_status=$?
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); }; }; then
11723 ac_cv_func_connect=yes
11724 else
11725 echo "$as_me: failed program was:" >&5
11726 sed 's/^/| /' conftest.$ac_ext >&5
11728 ac_cv_func_connect=no
11730 rm -f conftest.err conftest.$ac_objext \
11731 conftest$ac_exeext conftest.$ac_ext
11733 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11734 echo "${ECHO_T}$ac_cv_func_connect" >&6
11736 if test $ac_cv_func_connect = no; then
11737 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
11738 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
11739 if test "${ac_cv_lib_socket_connect+set}" = set; then
11740 echo $ECHO_N "(cached) $ECHO_C" >&6
11741 else
11742 ac_check_lib_save_LIBS=$LIBS
11743 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11744 if test x$gcc_no_link = xyes; then
11745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11747 { (exit 1); exit 1; }; }
11749 cat >conftest.$ac_ext <<_ACEOF
11750 /* confdefs.h. */
11751 _ACEOF
11752 cat confdefs.h >>conftest.$ac_ext
11753 cat >>conftest.$ac_ext <<_ACEOF
11754 /* end confdefs.h. */
11756 /* Override any gcc2 internal prototype to avoid an error. */
11757 #ifdef __cplusplus
11758 extern "C"
11759 #endif
11760 /* We use char because int might match the return type of a gcc2
11761 builtin and then its argument prototype would still apply. */
11762 char connect ();
11764 main ()
11766 connect ();
11768 return 0;
11770 _ACEOF
11771 rm -f conftest.$ac_objext conftest$ac_exeext
11772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11773 (eval $ac_link) 2>conftest.er1
11774 ac_status=$?
11775 grep -v '^ *+' conftest.er1 >conftest.err
11776 rm -f conftest.er1
11777 cat conftest.err >&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } &&
11780 { ac_try='test -z "$ac_c_werror_flag"
11781 || test ! -s conftest.err'
11782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11783 (eval $ac_try) 2>&5
11784 ac_status=$?
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; } &&
11787 { ac_try='test -s conftest$ac_exeext'
11788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11789 (eval $ac_try) 2>&5
11790 ac_status=$?
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); }; }; then
11793 ac_cv_lib_socket_connect=yes
11794 else
11795 echo "$as_me: failed program was:" >&5
11796 sed 's/^/| /' conftest.$ac_ext >&5
11798 ac_cv_lib_socket_connect=no
11800 rm -f conftest.err conftest.$ac_objext \
11801 conftest$ac_exeext conftest.$ac_ext
11802 LIBS=$ac_check_lib_save_LIBS
11804 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11805 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
11806 if test $ac_cv_lib_socket_connect = yes; then
11807 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11812 # Guillermo Gomez says -lposix is necessary on A/UX.
11813 echo "$as_me:$LINENO: checking for remove" >&5
11814 echo $ECHO_N "checking for remove... $ECHO_C" >&6
11815 if test "${ac_cv_func_remove+set}" = set; then
11816 echo $ECHO_N "(cached) $ECHO_C" >&6
11817 else
11818 if test x$gcc_no_link = xyes; then
11819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11821 { (exit 1); exit 1; }; }
11823 cat >conftest.$ac_ext <<_ACEOF
11824 /* confdefs.h. */
11825 _ACEOF
11826 cat confdefs.h >>conftest.$ac_ext
11827 cat >>conftest.$ac_ext <<_ACEOF
11828 /* end confdefs.h. */
11829 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
11830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11831 #define remove innocuous_remove
11833 /* System header to define __stub macros and hopefully few prototypes,
11834 which can conflict with char remove (); below.
11835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11836 <limits.h> exists even on freestanding compilers. */
11838 #ifdef __STDC__
11839 # include <limits.h>
11840 #else
11841 # include <assert.h>
11842 #endif
11844 #undef remove
11846 /* Override any gcc2 internal prototype to avoid an error. */
11847 #ifdef __cplusplus
11848 extern "C"
11850 #endif
11851 /* We use char because int might match the return type of a gcc2
11852 builtin and then its argument prototype would still apply. */
11853 char remove ();
11854 /* The GNU C library defines this for functions which it implements
11855 to always fail with ENOSYS. Some functions are actually named
11856 something starting with __ and the normal name is an alias. */
11857 #if defined (__stub_remove) || defined (__stub___remove)
11858 choke me
11859 #else
11860 char (*f) () = remove;
11861 #endif
11862 #ifdef __cplusplus
11864 #endif
11867 main ()
11869 return f != remove;
11871 return 0;
11873 _ACEOF
11874 rm -f conftest.$ac_objext conftest$ac_exeext
11875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11876 (eval $ac_link) 2>conftest.er1
11877 ac_status=$?
11878 grep -v '^ *+' conftest.er1 >conftest.err
11879 rm -f conftest.er1
11880 cat conftest.err >&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); } &&
11883 { ac_try='test -z "$ac_c_werror_flag"
11884 || test ! -s conftest.err'
11885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886 (eval $ac_try) 2>&5
11887 ac_status=$?
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); }; } &&
11890 { ac_try='test -s conftest$ac_exeext'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11893 ac_status=$?
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; }; then
11896 ac_cv_func_remove=yes
11897 else
11898 echo "$as_me: failed program was:" >&5
11899 sed 's/^/| /' conftest.$ac_ext >&5
11901 ac_cv_func_remove=no
11903 rm -f conftest.err conftest.$ac_objext \
11904 conftest$ac_exeext conftest.$ac_ext
11906 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11907 echo "${ECHO_T}$ac_cv_func_remove" >&6
11909 if test $ac_cv_func_remove = no; then
11910 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11911 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
11912 if test "${ac_cv_lib_posix_remove+set}" = set; then
11913 echo $ECHO_N "(cached) $ECHO_C" >&6
11914 else
11915 ac_check_lib_save_LIBS=$LIBS
11916 LIBS="-lposix $LIBS"
11917 if test x$gcc_no_link = xyes; then
11918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11920 { (exit 1); exit 1; }; }
11922 cat >conftest.$ac_ext <<_ACEOF
11923 /* confdefs.h. */
11924 _ACEOF
11925 cat confdefs.h >>conftest.$ac_ext
11926 cat >>conftest.$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11929 /* Override any gcc2 internal prototype to avoid an error. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 /* We use char because int might match the return type of a gcc2
11934 builtin and then its argument prototype would still apply. */
11935 char remove ();
11937 main ()
11939 remove ();
11941 return 0;
11943 _ACEOF
11944 rm -f conftest.$ac_objext conftest$ac_exeext
11945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11946 (eval $ac_link) 2>conftest.er1
11947 ac_status=$?
11948 grep -v '^ *+' conftest.er1 >conftest.err
11949 rm -f conftest.er1
11950 cat conftest.err >&5
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); } &&
11953 { ac_try='test -z "$ac_c_werror_flag"
11954 || test ! -s conftest.err'
11955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11956 (eval $ac_try) 2>&5
11957 ac_status=$?
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); }; } &&
11960 { ac_try='test -s conftest$ac_exeext'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5
11963 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; }; then
11966 ac_cv_lib_posix_remove=yes
11967 else
11968 echo "$as_me: failed program was:" >&5
11969 sed 's/^/| /' conftest.$ac_ext >&5
11971 ac_cv_lib_posix_remove=no
11973 rm -f conftest.err conftest.$ac_objext \
11974 conftest$ac_exeext conftest.$ac_ext
11975 LIBS=$ac_check_lib_save_LIBS
11977 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11978 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11979 if test $ac_cv_lib_posix_remove = yes; then
11980 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11985 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11986 echo "$as_me:$LINENO: checking for shmat" >&5
11987 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11988 if test "${ac_cv_func_shmat+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 else
11991 if test x$gcc_no_link = xyes; then
11992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11994 { (exit 1); exit 1; }; }
11996 cat >conftest.$ac_ext <<_ACEOF
11997 /* confdefs.h. */
11998 _ACEOF
11999 cat confdefs.h >>conftest.$ac_ext
12000 cat >>conftest.$ac_ext <<_ACEOF
12001 /* end confdefs.h. */
12002 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
12003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12004 #define shmat innocuous_shmat
12006 /* System header to define __stub macros and hopefully few prototypes,
12007 which can conflict with char shmat (); below.
12008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12009 <limits.h> exists even on freestanding compilers. */
12011 #ifdef __STDC__
12012 # include <limits.h>
12013 #else
12014 # include <assert.h>
12015 #endif
12017 #undef shmat
12019 /* Override any gcc2 internal prototype to avoid an error. */
12020 #ifdef __cplusplus
12021 extern "C"
12023 #endif
12024 /* We use char because int might match the return type of a gcc2
12025 builtin and then its argument prototype would still apply. */
12026 char shmat ();
12027 /* The GNU C library defines this for functions which it implements
12028 to always fail with ENOSYS. Some functions are actually named
12029 something starting with __ and the normal name is an alias. */
12030 #if defined (__stub_shmat) || defined (__stub___shmat)
12031 choke me
12032 #else
12033 char (*f) () = shmat;
12034 #endif
12035 #ifdef __cplusplus
12037 #endif
12040 main ()
12042 return f != shmat;
12044 return 0;
12046 _ACEOF
12047 rm -f conftest.$ac_objext conftest$ac_exeext
12048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12049 (eval $ac_link) 2>conftest.er1
12050 ac_status=$?
12051 grep -v '^ *+' conftest.er1 >conftest.err
12052 rm -f conftest.er1
12053 cat conftest.err >&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); } &&
12056 { ac_try='test -z "$ac_c_werror_flag"
12057 || test ! -s conftest.err'
12058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12059 (eval $ac_try) 2>&5
12060 ac_status=$?
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); }; } &&
12063 { ac_try='test -s conftest$ac_exeext'
12064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12065 (eval $ac_try) 2>&5
12066 ac_status=$?
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); }; }; then
12069 ac_cv_func_shmat=yes
12070 else
12071 echo "$as_me: failed program was:" >&5
12072 sed 's/^/| /' conftest.$ac_ext >&5
12074 ac_cv_func_shmat=no
12076 rm -f conftest.err conftest.$ac_objext \
12077 conftest$ac_exeext conftest.$ac_ext
12079 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
12080 echo "${ECHO_T}$ac_cv_func_shmat" >&6
12082 if test $ac_cv_func_shmat = no; then
12083 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
12084 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
12085 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
12086 echo $ECHO_N "(cached) $ECHO_C" >&6
12087 else
12088 ac_check_lib_save_LIBS=$LIBS
12089 LIBS="-lipc $LIBS"
12090 if test x$gcc_no_link = xyes; then
12091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12093 { (exit 1); exit 1; }; }
12095 cat >conftest.$ac_ext <<_ACEOF
12096 /* confdefs.h. */
12097 _ACEOF
12098 cat confdefs.h >>conftest.$ac_ext
12099 cat >>conftest.$ac_ext <<_ACEOF
12100 /* end confdefs.h. */
12102 /* Override any gcc2 internal prototype to avoid an error. */
12103 #ifdef __cplusplus
12104 extern "C"
12105 #endif
12106 /* We use char because int might match the return type of a gcc2
12107 builtin and then its argument prototype would still apply. */
12108 char shmat ();
12110 main ()
12112 shmat ();
12114 return 0;
12116 _ACEOF
12117 rm -f conftest.$ac_objext conftest$ac_exeext
12118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12119 (eval $ac_link) 2>conftest.er1
12120 ac_status=$?
12121 grep -v '^ *+' conftest.er1 >conftest.err
12122 rm -f conftest.er1
12123 cat conftest.err >&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); } &&
12126 { ac_try='test -z "$ac_c_werror_flag"
12127 || test ! -s conftest.err'
12128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12129 (eval $ac_try) 2>&5
12130 ac_status=$?
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); }; } &&
12133 { ac_try='test -s conftest$ac_exeext'
12134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12135 (eval $ac_try) 2>&5
12136 ac_status=$?
12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); }; }; then
12139 ac_cv_lib_ipc_shmat=yes
12140 else
12141 echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.$ac_ext >&5
12144 ac_cv_lib_ipc_shmat=no
12146 rm -f conftest.err conftest.$ac_objext \
12147 conftest$ac_exeext conftest.$ac_ext
12148 LIBS=$ac_check_lib_save_LIBS
12150 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
12151 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
12152 if test $ac_cv_lib_ipc_shmat = yes; then
12153 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12159 # Check for libraries that X11R6 Xt/Xaw programs need.
12160 ac_save_LDFLAGS=$LDFLAGS
12161 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12162 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12163 # check for ICE first), but we must link in the order -lSM -lICE or
12164 # we get undefined symbols. So assume we have SM if we have ICE.
12165 # These have to be linked with before -lX11, unlike the other
12166 # libraries we check for below, so use a different variable.
12167 # John Interrante, Karl Berry
12168 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
12169 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
12170 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
12171 echo $ECHO_N "(cached) $ECHO_C" >&6
12172 else
12173 ac_check_lib_save_LIBS=$LIBS
12174 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12175 if test x$gcc_no_link = xyes; then
12176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12178 { (exit 1); exit 1; }; }
12180 cat >conftest.$ac_ext <<_ACEOF
12181 /* confdefs.h. */
12182 _ACEOF
12183 cat confdefs.h >>conftest.$ac_ext
12184 cat >>conftest.$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12187 /* Override any gcc2 internal prototype to avoid an error. */
12188 #ifdef __cplusplus
12189 extern "C"
12190 #endif
12191 /* We use char because int might match the return type of a gcc2
12192 builtin and then its argument prototype would still apply. */
12193 char IceConnectionNumber ();
12195 main ()
12197 IceConnectionNumber ();
12199 return 0;
12201 _ACEOF
12202 rm -f conftest.$ac_objext conftest$ac_exeext
12203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12204 (eval $ac_link) 2>conftest.er1
12205 ac_status=$?
12206 grep -v '^ *+' conftest.er1 >conftest.err
12207 rm -f conftest.er1
12208 cat conftest.err >&5
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); } &&
12211 { ac_try='test -z "$ac_c_werror_flag"
12212 || test ! -s conftest.err'
12213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12214 (eval $ac_try) 2>&5
12215 ac_status=$?
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); }; } &&
12218 { ac_try='test -s conftest$ac_exeext'
12219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12220 (eval $ac_try) 2>&5
12221 ac_status=$?
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); }; }; then
12224 ac_cv_lib_ICE_IceConnectionNumber=yes
12225 else
12226 echo "$as_me: failed program was:" >&5
12227 sed 's/^/| /' conftest.$ac_ext >&5
12229 ac_cv_lib_ICE_IceConnectionNumber=no
12231 rm -f conftest.err conftest.$ac_objext \
12232 conftest$ac_exeext conftest.$ac_ext
12233 LIBS=$ac_check_lib_save_LIBS
12235 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12236 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
12237 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12238 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12241 LDFLAGS=$ac_save_LDFLAGS
12245 if test "$no_x" = yes; then
12246 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
12247 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
12248 { (exit 1); exit 1; }; }
12250 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
12251 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
12252 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 else
12255 ac_check_lib_save_LIBS=$LIBS
12256 LIBS="-lXtst ${X_LIBS} $LIBS"
12257 if test x$gcc_no_link = xyes; then
12258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12260 { (exit 1); exit 1; }; }
12262 cat >conftest.$ac_ext <<_ACEOF
12263 /* confdefs.h. */
12264 _ACEOF
12265 cat confdefs.h >>conftest.$ac_ext
12266 cat >>conftest.$ac_ext <<_ACEOF
12267 /* end confdefs.h. */
12269 /* Override any gcc2 internal prototype to avoid an error. */
12270 #ifdef __cplusplus
12271 extern "C"
12272 #endif
12273 /* We use char because int might match the return type of a gcc2
12274 builtin and then its argument prototype would still apply. */
12275 char XTestQueryExtension ();
12277 main ()
12279 XTestQueryExtension ();
12281 return 0;
12283 _ACEOF
12284 rm -f conftest.$ac_objext conftest$ac_exeext
12285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12286 (eval $ac_link) 2>conftest.er1
12287 ac_status=$?
12288 grep -v '^ *+' conftest.er1 >conftest.err
12289 rm -f conftest.er1
12290 cat conftest.err >&5
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); } &&
12293 { ac_try='test -z "$ac_c_werror_flag"
12294 || test ! -s conftest.err'
12295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296 (eval $ac_try) 2>&5
12297 ac_status=$?
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); }; } &&
12300 { ac_try='test -s conftest$ac_exeext'
12301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12302 (eval $ac_try) 2>&5
12303 ac_status=$?
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); }; }; then
12306 ac_cv_lib_Xtst_XTestQueryExtension=yes
12307 else
12308 echo "$as_me: failed program was:" >&5
12309 sed 's/^/| /' conftest.$ac_ext >&5
12311 ac_cv_lib_Xtst_XTestQueryExtension=no
12313 rm -f conftest.err conftest.$ac_objext \
12314 conftest$ac_exeext conftest.$ac_ext
12315 LIBS=$ac_check_lib_save_LIBS
12317 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
12318 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
12319 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
12320 XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst"
12321 else
12322 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
12323 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
12324 { (exit 1); exit 1; }; }
12329 succeeded=no
12331 if test -z "$PKG_CONFIG"; then
12332 # Extract the first word of "pkg-config", so it can be a program name with args.
12333 set dummy pkg-config; ac_word=$2
12334 echo "$as_me:$LINENO: checking for $ac_word" >&5
12335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12336 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12337 echo $ECHO_N "(cached) $ECHO_C" >&6
12338 else
12339 case $PKG_CONFIG in
12340 [\\/]* | ?:[\\/]*)
12341 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12345 for as_dir in $PATH
12347 IFS=$as_save_IFS
12348 test -z "$as_dir" && as_dir=.
12349 for ac_exec_ext in '' $ac_executable_extensions; do
12350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12351 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12353 break 2
12355 done
12356 done
12358 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12360 esac
12362 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12364 if test -n "$PKG_CONFIG"; then
12365 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12366 echo "${ECHO_T}$PKG_CONFIG" >&6
12367 else
12368 echo "$as_me:$LINENO: result: no" >&5
12369 echo "${ECHO_T}no" >&6
12374 if test "$PKG_CONFIG" = "no" ; then
12375 echo "*** The pkg-config script could not be found. Make sure it is"
12376 echo "*** in your path, or set the PKG_CONFIG environment variable"
12377 echo "*** to the full path to pkg-config."
12378 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12379 else
12380 PKG_CONFIG_MIN_VERSION=0.9.0
12381 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12382 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
12383 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
12385 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
12386 echo "$as_me:$LINENO: result: yes" >&5
12387 echo "${ECHO_T}yes" >&6
12388 succeeded=yes
12390 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12391 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12392 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12393 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12394 echo "${ECHO_T}$GTK_CFLAGS" >&6
12396 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12397 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12398 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12399 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12400 echo "${ECHO_T}$GTK_LIBS" >&6
12401 else
12402 GTK_CFLAGS=""
12403 GTK_LIBS=""
12404 ## If we have a custom action on failure, don't print errors, but
12405 ## do set a variable so people can do so.
12406 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12407 echo $GTK_PKG_ERRORS
12412 else
12413 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12414 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12418 if test $succeeded = yes; then
12420 else
12421 { { 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
12422 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;}
12423 { (exit 1); exit 1; }; }
12427 succeeded=no
12429 if test -z "$PKG_CONFIG"; then
12430 # Extract the first word of "pkg-config", so it can be a program name with args.
12431 set dummy pkg-config; ac_word=$2
12432 echo "$as_me:$LINENO: checking for $ac_word" >&5
12433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12434 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12435 echo $ECHO_N "(cached) $ECHO_C" >&6
12436 else
12437 case $PKG_CONFIG in
12438 [\\/]* | ?:[\\/]*)
12439 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12443 for as_dir in $PATH
12445 IFS=$as_save_IFS
12446 test -z "$as_dir" && as_dir=.
12447 for ac_exec_ext in '' $ac_executable_extensions; do
12448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12449 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12451 break 2
12453 done
12454 done
12456 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12458 esac
12460 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12462 if test -n "$PKG_CONFIG"; then
12463 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12464 echo "${ECHO_T}$PKG_CONFIG" >&6
12465 else
12466 echo "$as_me:$LINENO: result: no" >&5
12467 echo "${ECHO_T}no" >&6
12472 if test "$PKG_CONFIG" = "no" ; then
12473 echo "*** The pkg-config script could not be found. Make sure it is"
12474 echo "*** in your path, or set the PKG_CONFIG environment variable"
12475 echo "*** to the full path to pkg-config."
12476 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12477 else
12478 PKG_CONFIG_MIN_VERSION=0.9.0
12479 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12480 echo "$as_me:$LINENO: checking for freetype2" >&5
12481 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
12483 if $PKG_CONFIG --exists "freetype2" ; then
12484 echo "$as_me:$LINENO: result: yes" >&5
12485 echo "${ECHO_T}yes" >&6
12486 succeeded=yes
12488 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
12489 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
12490 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
12491 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
12492 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
12494 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
12495 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
12496 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
12497 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
12498 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
12499 else
12500 FREETYPE2_CFLAGS=""
12501 FREETYPE2_LIBS=""
12502 ## If we have a custom action on failure, don't print errors, but
12503 ## do set a variable so people can do so.
12504 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
12505 echo $FREETYPE2_PKG_ERRORS
12510 else
12511 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12512 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12516 if test $succeeded = yes; then
12518 else
12519 { { 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
12520 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;}
12521 { (exit 1); exit 1; }; }
12525 succeeded=no
12527 if test -z "$PKG_CONFIG"; then
12528 # Extract the first word of "pkg-config", so it can be a program name with args.
12529 set dummy pkg-config; ac_word=$2
12530 echo "$as_me:$LINENO: checking for $ac_word" >&5
12531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12532 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12533 echo $ECHO_N "(cached) $ECHO_C" >&6
12534 else
12535 case $PKG_CONFIG in
12536 [\\/]* | ?:[\\/]*)
12537 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12541 for as_dir in $PATH
12543 IFS=$as_save_IFS
12544 test -z "$as_dir" && as_dir=.
12545 for ac_exec_ext in '' $ac_executable_extensions; do
12546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12547 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12549 break 2
12551 done
12552 done
12554 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12556 esac
12558 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12560 if test -n "$PKG_CONFIG"; then
12561 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12562 echo "${ECHO_T}$PKG_CONFIG" >&6
12563 else
12564 echo "$as_me:$LINENO: result: no" >&5
12565 echo "${ECHO_T}no" >&6
12570 if test "$PKG_CONFIG" = "no" ; then
12571 echo "*** The pkg-config script could not be found. Make sure it is"
12572 echo "*** in your path, or set the PKG_CONFIG environment variable"
12573 echo "*** to the full path to pkg-config."
12574 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12575 else
12576 PKG_CONFIG_MIN_VERSION=0.9.0
12577 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12578 echo "$as_me:$LINENO: checking for pangoft2" >&5
12579 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
12581 if $PKG_CONFIG --exists "pangoft2" ; then
12582 echo "$as_me:$LINENO: result: yes" >&5
12583 echo "${ECHO_T}yes" >&6
12584 succeeded=yes
12586 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
12587 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
12588 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
12589 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
12590 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
12592 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
12593 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
12594 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
12595 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
12596 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
12597 else
12598 PANGOFT2_CFLAGS=""
12599 PANGOFT2_LIBS=""
12600 ## If we have a custom action on failure, don't print errors, but
12601 ## do set a variable so people can do so.
12602 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12603 echo $PANGOFT2_PKG_ERRORS
12608 else
12609 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12610 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12614 if test $succeeded = yes; then
12616 else
12617 { { 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
12618 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;}
12619 { (exit 1); exit 1; }; }
12622 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
12623 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
12624 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
12625 echo $ECHO_N "(cached) $ECHO_C" >&6
12626 else
12627 ac_check_lib_save_LIBS=$LIBS
12628 LIBS="-lXrender ${X_LIBS} $LIBS"
12629 if test x$gcc_no_link = xyes; then
12630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12632 { (exit 1); exit 1; }; }
12634 cat >conftest.$ac_ext <<_ACEOF
12635 /* confdefs.h. */
12636 _ACEOF
12637 cat confdefs.h >>conftest.$ac_ext
12638 cat >>conftest.$ac_ext <<_ACEOF
12639 /* end confdefs.h. */
12641 /* Override any gcc2 internal prototype to avoid an error. */
12642 #ifdef __cplusplus
12643 extern "C"
12644 #endif
12645 /* We use char because int might match the return type of a gcc2
12646 builtin and then its argument prototype would still apply. */
12647 char XRenderQueryExtension ();
12649 main ()
12651 XRenderQueryExtension ();
12653 return 0;
12655 _ACEOF
12656 rm -f conftest.$ac_objext conftest$ac_exeext
12657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12658 (eval $ac_link) 2>conftest.er1
12659 ac_status=$?
12660 grep -v '^ *+' conftest.er1 >conftest.err
12661 rm -f conftest.er1
12662 cat conftest.err >&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); } &&
12665 { ac_try='test -z "$ac_c_werror_flag"
12666 || test ! -s conftest.err'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12669 ac_status=$?
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; } &&
12672 { ac_try='test -s conftest$ac_exeext'
12673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5
12675 ac_status=$?
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; }; then
12678 ac_cv_lib_Xrender_XRenderQueryExtension=yes
12679 else
12680 echo "$as_me: failed program was:" >&5
12681 sed 's/^/| /' conftest.$ac_ext >&5
12683 ac_cv_lib_Xrender_XRenderQueryExtension=no
12685 rm -f conftest.err conftest.$ac_objext \
12686 conftest$ac_exeext conftest.$ac_ext
12687 LIBS=$ac_check_lib_save_LIBS
12689 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
12690 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
12691 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
12693 cat >>confdefs.h <<\_ACEOF
12694 #define HAVE_XRENDER 1
12695 _ACEOF
12696 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
12697 else
12698 true
12702 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
12703 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
12704 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
12705 echo $ECHO_N "(cached) $ECHO_C" >&6
12706 else
12707 ac_check_lib_save_LIBS=$LIBS
12708 LIBS="-lXrandr ${X_LIBS} $LIBS"
12709 if test x$gcc_no_link = xyes; then
12710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12712 { (exit 1); exit 1; }; }
12714 cat >conftest.$ac_ext <<_ACEOF
12715 /* confdefs.h. */
12716 _ACEOF
12717 cat confdefs.h >>conftest.$ac_ext
12718 cat >>conftest.$ac_ext <<_ACEOF
12719 /* end confdefs.h. */
12721 /* Override any gcc2 internal prototype to avoid an error. */
12722 #ifdef __cplusplus
12723 extern "C"
12724 #endif
12725 /* We use char because int might match the return type of a gcc2
12726 builtin and then its argument prototype would still apply. */
12727 char XRRQueryExtension ();
12729 main ()
12731 XRRQueryExtension ();
12733 return 0;
12735 _ACEOF
12736 rm -f conftest.$ac_objext conftest$ac_exeext
12737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12738 (eval $ac_link) 2>conftest.er1
12739 ac_status=$?
12740 grep -v '^ *+' conftest.er1 >conftest.err
12741 rm -f conftest.er1
12742 cat conftest.err >&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); } &&
12745 { ac_try='test -z "$ac_c_werror_flag"
12746 || test ! -s conftest.err'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12749 ac_status=$?
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; } &&
12752 { ac_try='test -s conftest$ac_exeext'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12755 ac_status=$?
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; }; then
12758 ac_cv_lib_Xrandr_XRRQueryExtension=yes
12759 else
12760 echo "$as_me: failed program was:" >&5
12761 sed 's/^/| /' conftest.$ac_ext >&5
12763 ac_cv_lib_Xrandr_XRRQueryExtension=no
12765 rm -f conftest.err conftest.$ac_objext \
12766 conftest$ac_exeext conftest.$ac_ext
12767 LIBS=$ac_check_lib_save_LIBS
12769 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
12770 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
12771 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
12773 cat >>confdefs.h <<\_ACEOF
12774 #define HAVE_XRANDR 1
12775 _ACEOF
12776 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
12777 else
12778 true
12791 if test "x${COMPILE_GCONF_PEER}" = xyes; then
12793 succeeded=no
12795 if test -z "$PKG_CONFIG"; then
12796 # Extract the first word of "pkg-config", so it can be a program name with args.
12797 set dummy pkg-config; ac_word=$2
12798 echo "$as_me:$LINENO: checking for $ac_word" >&5
12799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12800 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12801 echo $ECHO_N "(cached) $ECHO_C" >&6
12802 else
12803 case $PKG_CONFIG in
12804 [\\/]* | ?:[\\/]*)
12805 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12809 for as_dir in $PATH
12811 IFS=$as_save_IFS
12812 test -z "$as_dir" && as_dir=.
12813 for ac_exec_ext in '' $ac_executable_extensions; do
12814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12815 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12817 break 2
12819 done
12820 done
12822 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12824 esac
12826 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12828 if test -n "$PKG_CONFIG"; then
12829 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12830 echo "${ECHO_T}$PKG_CONFIG" >&6
12831 else
12832 echo "$as_me:$LINENO: result: no" >&5
12833 echo "${ECHO_T}no" >&6
12838 if test "$PKG_CONFIG" = "no" ; then
12839 echo "*** The pkg-config script could not be found. Make sure it is"
12840 echo "*** in your path, or set the PKG_CONFIG environment variable"
12841 echo "*** to the full path to pkg-config."
12842 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12843 else
12844 PKG_CONFIG_MIN_VERSION=0.9.0
12845 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12846 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
12847 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
12849 if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
12850 echo "$as_me:$LINENO: result: yes" >&5
12851 echo "${ECHO_T}yes" >&6
12852 succeeded=yes
12854 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
12855 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
12856 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
12857 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
12858 echo "${ECHO_T}$GCONF_CFLAGS" >&6
12860 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
12861 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
12862 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
12863 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
12864 echo "${ECHO_T}$GCONF_LIBS" >&6
12865 else
12866 GCONF_CFLAGS=""
12867 GCONF_LIBS=""
12868 ## If we have a custom action on failure, don't print errors, but
12869 ## do set a variable so people can do so.
12870 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
12871 echo $GCONF_PKG_ERRORS
12876 else
12877 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12878 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12882 if test $succeeded = yes; then
12884 else
12885 { { echo "$as_me:$LINENO: error: Library requirements (gconf-2.0 >= 2.11.2) 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
12886 echo "$as_me: error: Library requirements (gconf-2.0 >= 2.11.2) 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;}
12887 { (exit 1); exit 1; }; }
12893 succeeded=no
12895 if test -z "$PKG_CONFIG"; then
12896 # Extract the first word of "pkg-config", so it can be a program name with args.
12897 set dummy pkg-config; ac_word=$2
12898 echo "$as_me:$LINENO: checking for $ac_word" >&5
12899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12900 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12901 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 else
12903 case $PKG_CONFIG in
12904 [\\/]* | ?:[\\/]*)
12905 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12909 for as_dir in $PATH
12911 IFS=$as_save_IFS
12912 test -z "$as_dir" && as_dir=.
12913 for ac_exec_ext in '' $ac_executable_extensions; do
12914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12915 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12917 break 2
12919 done
12920 done
12922 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12924 esac
12926 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12928 if test -n "$PKG_CONFIG"; then
12929 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12930 echo "${ECHO_T}$PKG_CONFIG" >&6
12931 else
12932 echo "$as_me:$LINENO: result: no" >&5
12933 echo "${ECHO_T}no" >&6
12938 if test "$PKG_CONFIG" = "no" ; then
12939 echo "*** The pkg-config script could not be found. Make sure it is"
12940 echo "*** in your path, or set the PKG_CONFIG environment variable"
12941 echo "*** to the full path to pkg-config."
12942 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12943 else
12944 PKG_CONFIG_MIN_VERSION=0.9.0
12945 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12946 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
12947 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
12949 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
12950 echo "$as_me:$LINENO: result: yes" >&5
12951 echo "${ECHO_T}yes" >&6
12952 succeeded=yes
12954 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
12955 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
12956 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
12957 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
12958 echo "${ECHO_T}$GDK_CFLAGS" >&6
12960 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
12961 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
12962 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
12963 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
12964 echo "${ECHO_T}$GDK_LIBS" >&6
12965 else
12966 GDK_CFLAGS=""
12967 GDK_LIBS=""
12968 ## If we have a custom action on failure, don't print errors, but
12969 ## do set a variable so people can do so.
12970 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
12971 echo $GDK_PKG_ERRORS
12976 else
12977 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12978 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12982 if test $succeeded = yes; then
12984 else
12985 { { 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
12986 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;}
12987 { (exit 1); exit 1; }; }
12992 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
12993 if test "$USE_GCONF_PREFS_PEER" = ""; then
12994 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
12998 if test "x${COMPILE_QT_PEER}" = xyes; then
13000 succeeded=no
13002 if test -z "$PKG_CONFIG"; then
13003 # Extract the first word of "pkg-config", so it can be a program name with args.
13004 set dummy pkg-config; ac_word=$2
13005 echo "$as_me:$LINENO: checking for $ac_word" >&5
13006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13007 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13008 echo $ECHO_N "(cached) $ECHO_C" >&6
13009 else
13010 case $PKG_CONFIG in
13011 [\\/]* | ?:[\\/]*)
13012 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13016 for as_dir in $PATH
13018 IFS=$as_save_IFS
13019 test -z "$as_dir" && as_dir=.
13020 for ac_exec_ext in '' $ac_executable_extensions; do
13021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13022 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13024 break 2
13026 done
13027 done
13029 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13031 esac
13033 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13035 if test -n "$PKG_CONFIG"; then
13036 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13037 echo "${ECHO_T}$PKG_CONFIG" >&6
13038 else
13039 echo "$as_me:$LINENO: result: no" >&5
13040 echo "${ECHO_T}no" >&6
13045 if test "$PKG_CONFIG" = "no" ; then
13046 echo "*** The pkg-config script could not be found. Make sure it is"
13047 echo "*** in your path, or set the PKG_CONFIG environment variable"
13048 echo "*** to the full path to pkg-config."
13049 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13050 else
13051 PKG_CONFIG_MIN_VERSION=0.9.0
13052 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13053 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
13054 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
13056 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
13057 echo "$as_me:$LINENO: result: yes" >&5
13058 echo "${ECHO_T}yes" >&6
13059 succeeded=yes
13061 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
13062 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
13063 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
13064 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
13065 echo "${ECHO_T}$QT_CFLAGS" >&6
13067 echo "$as_me:$LINENO: checking QT_LIBS" >&5
13068 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
13069 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
13070 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
13071 echo "${ECHO_T}$QT_LIBS" >&6
13072 else
13073 QT_CFLAGS=""
13074 QT_LIBS=""
13075 ## If we have a custom action on failure, don't print errors, but
13076 ## do set a variable so people can do so.
13077 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
13083 else
13084 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13085 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13089 if test $succeeded = yes; then
13090 HAVE_QT4="yes"
13091 else
13092 HAVE_QT4="no"
13095 if test "x$HAVE_QT4" = "xyes"; then
13096 QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
13097 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
13098 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
13099 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
13100 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
13101 if eval "test \"\${$as_ac_File+set}\" = set"; then
13102 echo $ECHO_N "(cached) $ECHO_C" >&6
13103 else
13104 test "$cross_compiling" = yes &&
13105 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13106 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13107 { (exit 1); exit 1; }; }
13108 if test -r "$QT_INCLUDE_DIR/QWidget"; then
13109 eval "$as_ac_File=yes"
13110 else
13111 eval "$as_ac_File=no"
13114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13115 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13116 if test `eval echo '${'$as_ac_File'}'` = yes; then
13117 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
13118 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
13119 else
13120 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
13121 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
13122 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
13123 if eval "test \"\${$as_ac_File+set}\" = set"; then
13124 echo $ECHO_N "(cached) $ECHO_C" >&6
13125 else
13126 test "$cross_compiling" = yes &&
13127 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13128 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13129 { (exit 1); exit 1; }; }
13130 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
13131 eval "$as_ac_File=yes"
13132 else
13133 eval "$as_ac_File=no"
13136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13137 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13138 if test `eval echo '${'$as_ac_File'}'` = yes; then
13139 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
13140 else
13141 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
13142 echo "$as_me: WARNING: QWidget not found" >&2;}
13147 # Extract the first word of "moc", so it can be a program name with args.
13148 set dummy moc; ac_word=$2
13149 echo "$as_me:$LINENO: checking for $ac_word" >&5
13150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13151 if test "${ac_cv_prog_MOC+set}" = set; then
13152 echo $ECHO_N "(cached) $ECHO_C" >&6
13153 else
13154 if test -n "$MOC"; then
13155 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13156 else
13157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13158 for as_dir in $PATH
13160 IFS=$as_save_IFS
13161 test -z "$as_dir" && as_dir=.
13162 for ac_exec_ext in '' $ac_executable_extensions; do
13163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13164 ac_cv_prog_MOC="moc"
13165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13166 break 2
13168 done
13169 done
13173 MOC=$ac_cv_prog_MOC
13174 if test -n "$MOC"; then
13175 echo "$as_me:$LINENO: result: $MOC" >&5
13176 echo "${ECHO_T}$MOC" >&6
13177 else
13178 echo "$as_me:$LINENO: result: no" >&5
13179 echo "${ECHO_T}no" >&6
13182 # Extract the first word of "moc-qt4", so it can be a program name with args.
13183 set dummy moc-qt4; ac_word=$2
13184 echo "$as_me:$LINENO: checking for $ac_word" >&5
13185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13186 if test "${ac_cv_prog_MOC+set}" = set; then
13187 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 else
13189 if test -n "$MOC"; then
13190 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13191 else
13192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13193 for as_dir in $PATH
13195 IFS=$as_save_IFS
13196 test -z "$as_dir" && as_dir=.
13197 for ac_exec_ext in '' $ac_executable_extensions; do
13198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13199 ac_cv_prog_MOC="moc-qt4"
13200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13201 break 2
13203 done
13204 done
13208 MOC=$ac_cv_prog_MOC
13209 if test -n "$MOC"; then
13210 echo "$as_me:$LINENO: result: $MOC" >&5
13211 echo "${ECHO_T}$MOC" >&6
13212 else
13213 echo "$as_me:$LINENO: result: no" >&5
13214 echo "${ECHO_T}no" >&6
13218 if test "x$HAVE_QT4" = "xno"; then
13219 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
13220 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
13221 case "$host_os" in
13222 darwin*)
13224 # Check whether --with-qt4dir or --without-qt4dir was given.
13225 if test "${with_qt4dir+set}" = set; then
13226 withval="$with_qt4dir"
13227 QT4DIR=$withval
13230 if test x"$QT4DIR" = x ; then
13231 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
13232 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
13233 { (exit 1); exit 1; }; }
13235 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
13236 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
13237 # Extract the first word of "moc", so it can be a program name with args.
13238 set dummy moc; ac_word=$2
13239 echo "$as_me:$LINENO: checking for $ac_word" >&5
13240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13241 if test "${ac_cv_prog_MOC+set}" = set; then
13242 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 else
13244 if test -n "$MOC"; then
13245 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13246 else
13247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13248 for as_dir in $QT4DIR/bin
13250 IFS=$as_save_IFS
13251 test -z "$as_dir" && as_dir=.
13252 for ac_exec_ext in '' $ac_executable_extensions; do
13253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13254 ac_cv_prog_MOC="$QT4DIR/bin/moc"
13255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13256 break 2
13258 done
13259 done
13263 MOC=$ac_cv_prog_MOC
13264 if test -n "$MOC"; then
13265 echo "$as_me:$LINENO: result: $MOC" >&5
13266 echo "${ECHO_T}$MOC" >&6
13267 else
13268 echo "$as_me:$LINENO: result: no" >&5
13269 echo "${ECHO_T}no" >&6
13272 if test x"$MOC" = x; then
13273 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
13274 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
13275 { (exit 1); exit 1; }; }
13277 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
13278 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
13279 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
13280 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
13283 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
13284 of your installed Qt4 installation." >&5
13285 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
13286 of your installed Qt4 installation." >&2;}
13287 { (exit 1); exit 1; }; }
13289 esac
13291 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
13292 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
13296 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
13297 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
13298 cat >conftest.$ac_ext <<_ACEOF
13299 /* confdefs.h. */
13300 _ACEOF
13301 cat confdefs.h >>conftest.$ac_ext
13302 cat >>conftest.$ac_ext <<_ACEOF
13303 /* end confdefs.h. */
13304 #include <sys/socket.h>
13306 main ()
13308 int f = MSG_NOSIGNAL;
13310 return 0;
13312 _ACEOF
13313 rm -f conftest.$ac_objext
13314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13315 (eval $ac_compile) 2>conftest.er1
13316 ac_status=$?
13317 grep -v '^ *+' conftest.er1 >conftest.err
13318 rm -f conftest.er1
13319 cat conftest.err >&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); } &&
13322 { ac_try='test -z "$ac_c_werror_flag"
13323 || test ! -s conftest.err'
13324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13325 (eval $ac_try) 2>&5
13326 ac_status=$?
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); }; } &&
13329 { ac_try='test -s conftest.$ac_objext'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13332 ac_status=$?
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; }; then
13335 echo "$as_me:$LINENO: result: yes" >&5
13336 echo "${ECHO_T}yes" >&6
13338 cat >>confdefs.h <<\_ACEOF
13339 #define HAVE_MSG_NOSIGNAL 1
13340 _ACEOF
13342 else
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.$ac_ext >&5
13346 echo "$as_me:$LINENO: result: no" >&5
13347 echo "${ECHO_T}no" >&6
13350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13351 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
13352 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
13353 cat >conftest.$ac_ext <<_ACEOF
13354 /* confdefs.h. */
13355 _ACEOF
13356 cat confdefs.h >>conftest.$ac_ext
13357 cat >>conftest.$ac_ext <<_ACEOF
13358 /* end confdefs.h. */
13359 #include <sys/socket.h>
13361 main ()
13363 int f = SO_NOSIGPIPE;
13365 return 0;
13367 _ACEOF
13368 rm -f conftest.$ac_objext
13369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13370 (eval $ac_compile) 2>conftest.er1
13371 ac_status=$?
13372 grep -v '^ *+' conftest.er1 >conftest.err
13373 rm -f conftest.er1
13374 cat conftest.err >&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); } &&
13377 { ac_try='test -z "$ac_c_werror_flag"
13378 || test ! -s conftest.err'
13379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13380 (eval $ac_try) 2>&5
13381 ac_status=$?
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); }; } &&
13384 { ac_try='test -s conftest.$ac_objext'
13385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13386 (eval $ac_try) 2>&5
13387 ac_status=$?
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); }; }; then
13390 echo "$as_me:$LINENO: result: yes" >&5
13391 echo "${ECHO_T}yes" >&6
13393 cat >>confdefs.h <<\_ACEOF
13394 #define HAVE_SO_NOSIGPIPE 1
13395 _ACEOF
13397 else
13398 echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.$ac_ext >&5
13401 echo "$as_me:$LINENO: result: no" >&5
13402 echo "${ECHO_T}no" >&6
13405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13407 if test "x${COMPILE_PLUGIN}" = xyes; then
13409 succeeded=no
13411 if test -z "$PKG_CONFIG"; then
13412 # Extract the first word of "pkg-config", so it can be a program name with args.
13413 set dummy pkg-config; ac_word=$2
13414 echo "$as_me:$LINENO: checking for $ac_word" >&5
13415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13416 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13417 echo $ECHO_N "(cached) $ECHO_C" >&6
13418 else
13419 case $PKG_CONFIG in
13420 [\\/]* | ?:[\\/]*)
13421 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13425 for as_dir in $PATH
13427 IFS=$as_save_IFS
13428 test -z "$as_dir" && as_dir=.
13429 for ac_exec_ext in '' $ac_executable_extensions; do
13430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13431 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13433 break 2
13435 done
13436 done
13438 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13440 esac
13442 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13444 if test -n "$PKG_CONFIG"; then
13445 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13446 echo "${ECHO_T}$PKG_CONFIG" >&6
13447 else
13448 echo "$as_me:$LINENO: result: no" >&5
13449 echo "${ECHO_T}no" >&6
13454 if test "$PKG_CONFIG" = "no" ; then
13455 echo "*** The pkg-config script could not be found. Make sure it is"
13456 echo "*** in your path, or set the PKG_CONFIG environment variable"
13457 echo "*** to the full path to pkg-config."
13458 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13459 else
13460 PKG_CONFIG_MIN_VERSION=0.9.0
13461 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13462 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
13463 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
13465 if $PKG_CONFIG --exists "mozilla-plugin" ; then
13466 echo "$as_me:$LINENO: result: yes" >&5
13467 echo "${ECHO_T}yes" >&6
13468 succeeded=yes
13470 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13471 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13472 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
13473 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13474 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13476 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13477 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13478 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
13479 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13480 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13481 else
13482 MOZILLA_CFLAGS=""
13483 MOZILLA_LIBS=""
13484 ## If we have a custom action on failure, don't print errors, but
13485 ## do set a variable so people can do so.
13486 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
13492 else
13493 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13494 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13498 if test $succeeded = yes; then
13499 MOZILLA_FOUND=yes
13500 else
13501 MOZILLA_FOUND=no
13504 if test "x${MOZILLA_FOUND}" = xno; then
13506 succeeded=no
13508 if test -z "$PKG_CONFIG"; then
13509 # Extract the first word of "pkg-config", so it can be a program name with args.
13510 set dummy pkg-config; ac_word=$2
13511 echo "$as_me:$LINENO: checking for $ac_word" >&5
13512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13513 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13515 else
13516 case $PKG_CONFIG in
13517 [\\/]* | ?:[\\/]*)
13518 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13522 for as_dir in $PATH
13524 IFS=$as_save_IFS
13525 test -z "$as_dir" && as_dir=.
13526 for ac_exec_ext in '' $ac_executable_extensions; do
13527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13528 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13530 break 2
13532 done
13533 done
13535 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13537 esac
13539 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13541 if test -n "$PKG_CONFIG"; then
13542 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13543 echo "${ECHO_T}$PKG_CONFIG" >&6
13544 else
13545 echo "$as_me:$LINENO: result: no" >&5
13546 echo "${ECHO_T}no" >&6
13551 if test "$PKG_CONFIG" = "no" ; then
13552 echo "*** The pkg-config script could not be found. Make sure it is"
13553 echo "*** in your path, or set the PKG_CONFIG environment variable"
13554 echo "*** to the full path to pkg-config."
13555 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13556 else
13557 PKG_CONFIG_MIN_VERSION=0.9.0
13558 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13559 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
13560 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
13562 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
13563 echo "$as_me:$LINENO: result: yes" >&5
13564 echo "${ECHO_T}yes" >&6
13565 succeeded=yes
13567 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13568 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13569 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
13570 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13571 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13573 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13574 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13575 MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
13576 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13577 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13578 else
13579 MOZILLA_CFLAGS=""
13580 MOZILLA_LIBS=""
13581 ## If we have a custom action on failure, don't print errors, but
13582 ## do set a variable so people can do so.
13583 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
13589 else
13590 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13591 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13595 if test $succeeded = yes; then
13596 MOZILLA_FOUND=yes
13597 else
13598 MOZILLA_FOUND=no
13602 if test "x${MOZILLA_FOUND}" = xno; then
13604 succeeded=no
13606 if test -z "$PKG_CONFIG"; then
13607 # Extract the first word of "pkg-config", so it can be a program name with args.
13608 set dummy pkg-config; ac_word=$2
13609 echo "$as_me:$LINENO: checking for $ac_word" >&5
13610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13611 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 else
13614 case $PKG_CONFIG in
13615 [\\/]* | ?:[\\/]*)
13616 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13620 for as_dir in $PATH
13622 IFS=$as_save_IFS
13623 test -z "$as_dir" && as_dir=.
13624 for ac_exec_ext in '' $ac_executable_extensions; do
13625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13626 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13628 break 2
13630 done
13631 done
13633 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13635 esac
13637 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13639 if test -n "$PKG_CONFIG"; then
13640 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13641 echo "${ECHO_T}$PKG_CONFIG" >&6
13642 else
13643 echo "$as_me:$LINENO: result: no" >&5
13644 echo "${ECHO_T}no" >&6
13649 if test "$PKG_CONFIG" = "no" ; then
13650 echo "*** The pkg-config script could not be found. Make sure it is"
13651 echo "*** in your path, or set the PKG_CONFIG environment variable"
13652 echo "*** to the full path to pkg-config."
13653 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13654 else
13655 PKG_CONFIG_MIN_VERSION=0.9.0
13656 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13657 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
13658 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
13660 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
13661 echo "$as_me:$LINENO: result: yes" >&5
13662 echo "${ECHO_T}yes" >&6
13663 succeeded=yes
13665 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13666 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13667 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
13668 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13669 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13671 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13672 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13673 MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
13674 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13675 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13676 else
13677 MOZILLA_CFLAGS=""
13678 MOZILLA_LIBS=""
13679 ## If we have a custom action on failure, don't print errors, but
13680 ## do set a variable so people can do so.
13681 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
13687 else
13688 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13689 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13693 if test $succeeded = yes; then
13694 MOZILLA_FOUND=yes
13695 else
13696 MOZILLA_FOUND=no
13700 if test "x${MOZILLA_FOUND}" = xno; then
13702 succeeded=no
13704 if test -z "$PKG_CONFIG"; then
13705 # Extract the first word of "pkg-config", so it can be a program name with args.
13706 set dummy pkg-config; ac_word=$2
13707 echo "$as_me:$LINENO: checking for $ac_word" >&5
13708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13709 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13710 echo $ECHO_N "(cached) $ECHO_C" >&6
13711 else
13712 case $PKG_CONFIG in
13713 [\\/]* | ?:[\\/]*)
13714 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13718 for as_dir in $PATH
13720 IFS=$as_save_IFS
13721 test -z "$as_dir" && as_dir=.
13722 for ac_exec_ext in '' $ac_executable_extensions; do
13723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13724 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13726 break 2
13728 done
13729 done
13731 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13733 esac
13735 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13737 if test -n "$PKG_CONFIG"; then
13738 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13739 echo "${ECHO_T}$PKG_CONFIG" >&6
13740 else
13741 echo "$as_me:$LINENO: result: no" >&5
13742 echo "${ECHO_T}no" >&6
13747 if test "$PKG_CONFIG" = "no" ; then
13748 echo "*** The pkg-config script could not be found. Make sure it is"
13749 echo "*** in your path, or set the PKG_CONFIG environment variable"
13750 echo "*** to the full path to pkg-config."
13751 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13752 else
13753 PKG_CONFIG_MIN_VERSION=0.9.0
13754 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13755 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
13756 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
13758 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
13759 echo "$as_me:$LINENO: result: yes" >&5
13760 echo "${ECHO_T}yes" >&6
13761 succeeded=yes
13763 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13764 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13765 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13766 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13767 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13769 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13770 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13771 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13772 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13773 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13774 else
13775 MOZILLA_CFLAGS=""
13776 MOZILLA_LIBS=""
13777 ## If we have a custom action on failure, don't print errors, but
13778 ## do set a variable so people can do so.
13779 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13785 else
13786 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13787 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13791 if test $succeeded = yes; then
13792 MOZILLA_FOUND=yes
13793 else
13794 MOZILLA_FOUND=no
13798 if test "x${MOZILLA_FOUND}" = xno; then
13800 succeeded=no
13802 if test -z "$PKG_CONFIG"; then
13803 # Extract the first word of "pkg-config", so it can be a program name with args.
13804 set dummy pkg-config; ac_word=$2
13805 echo "$as_me:$LINENO: checking for $ac_word" >&5
13806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13807 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13808 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 else
13810 case $PKG_CONFIG in
13811 [\\/]* | ?:[\\/]*)
13812 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13816 for as_dir in $PATH
13818 IFS=$as_save_IFS
13819 test -z "$as_dir" && as_dir=.
13820 for ac_exec_ext in '' $ac_executable_extensions; do
13821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13822 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13824 break 2
13826 done
13827 done
13829 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13831 esac
13833 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13835 if test -n "$PKG_CONFIG"; then
13836 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13837 echo "${ECHO_T}$PKG_CONFIG" >&6
13838 else
13839 echo "$as_me:$LINENO: result: no" >&5
13840 echo "${ECHO_T}no" >&6
13845 if test "$PKG_CONFIG" = "no" ; then
13846 echo "*** The pkg-config script could not be found. Make sure it is"
13847 echo "*** in your path, or set the PKG_CONFIG environment variable"
13848 echo "*** to the full path to pkg-config."
13849 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13850 else
13851 PKG_CONFIG_MIN_VERSION=0.9.0
13852 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13853 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
13854 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
13856 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
13857 echo "$as_me:$LINENO: result: yes" >&5
13858 echo "${ECHO_T}yes" >&6
13859 succeeded=yes
13861 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13862 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13863 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
13864 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13865 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13867 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13868 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13869 MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
13870 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13871 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13872 else
13873 MOZILLA_CFLAGS=""
13874 MOZILLA_LIBS=""
13875 ## If we have a custom action on failure, don't print errors, but
13876 ## do set a variable so people can do so.
13877 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
13883 else
13884 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13885 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13889 if test $succeeded = yes; then
13890 MOZILLA_FOUND=yes
13891 else
13892 MOZILLA_FOUND=no
13897 succeeded=no
13899 if test -z "$PKG_CONFIG"; then
13900 # Extract the first word of "pkg-config", so it can be a program name with args.
13901 set dummy pkg-config; ac_word=$2
13902 echo "$as_me:$LINENO: checking for $ac_word" >&5
13903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13904 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13905 echo $ECHO_N "(cached) $ECHO_C" >&6
13906 else
13907 case $PKG_CONFIG in
13908 [\\/]* | ?:[\\/]*)
13909 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13913 for as_dir in $PATH
13915 IFS=$as_save_IFS
13916 test -z "$as_dir" && as_dir=.
13917 for ac_exec_ext in '' $ac_executable_extensions; do
13918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13919 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13921 break 2
13923 done
13924 done
13926 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13928 esac
13930 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13932 if test -n "$PKG_CONFIG"; then
13933 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13934 echo "${ECHO_T}$PKG_CONFIG" >&6
13935 else
13936 echo "$as_me:$LINENO: result: no" >&5
13937 echo "${ECHO_T}no" >&6
13942 if test "$PKG_CONFIG" = "no" ; then
13943 echo "*** The pkg-config script could not be found. Make sure it is"
13944 echo "*** in your path, or set the PKG_CONFIG environment variable"
13945 echo "*** to the full path to pkg-config."
13946 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13947 else
13948 PKG_CONFIG_MIN_VERSION=0.9.0
13949 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13950 echo "$as_me:$LINENO: checking for glib-2.0" >&5
13951 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
13953 if $PKG_CONFIG --exists "glib-2.0" ; then
13954 echo "$as_me:$LINENO: result: yes" >&5
13955 echo "${ECHO_T}yes" >&6
13956 succeeded=yes
13958 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13959 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13960 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
13961 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13962 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13964 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13965 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13966 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
13967 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13968 echo "${ECHO_T}$GLIB_LIBS" >&6
13969 else
13970 GLIB_CFLAGS=""
13971 GLIB_LIBS=""
13972 ## If we have a custom action on failure, don't print errors, but
13973 ## do set a variable so people can do so.
13974 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
13975 echo $GLIB_PKG_ERRORS
13980 else
13981 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13982 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13986 if test $succeeded = yes; then
13988 else
13989 { { 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
13990 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;}
13991 { (exit 1); exit 1; }; }
14000 PLUGIN_DIR=$HOME/.mozilla/plugins/
14007 # Check whether --with-javah or --without-javah was given.
14008 if test "${with_javah+set}" = set; then
14009 withval="$with_javah"
14011 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14013 if test "x${withval}" != x; then
14014 if test -f "${withval}"; then
14015 USER_JAVAH="${withval}"
14016 else
14017 # Extract the first word of ""${withval}"", so it can be a program name with args.
14018 set dummy "${withval}"; ac_word=$2
14019 echo "$as_me:$LINENO: checking for $ac_word" >&5
14020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14021 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14022 echo $ECHO_N "(cached) $ECHO_C" >&6
14023 else
14024 case $USER_JAVAH in
14025 [\\/]* | ?:[\\/]*)
14026 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14030 for as_dir in $PATH
14032 IFS=$as_save_IFS
14033 test -z "$as_dir" && as_dir=.
14034 for ac_exec_ext in '' $ac_executable_extensions; do
14035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14036 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14038 break 2
14040 done
14041 done
14044 esac
14046 USER_JAVAH=$ac_cv_path_USER_JAVAH
14048 if test -n "$USER_JAVAH"; then
14049 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14050 echo "${ECHO_T}$USER_JAVAH" >&6
14051 else
14052 echo "$as_me:$LINENO: result: no" >&5
14053 echo "${ECHO_T}no" >&6
14057 else
14058 for javah_name in gcjh javah; do
14059 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14060 set dummy "$javah_name"; ac_word=$2
14061 echo "$as_me:$LINENO: checking for $ac_word" >&5
14062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14063 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14064 echo $ECHO_N "(cached) $ECHO_C" >&6
14065 else
14066 case $USER_JAVAH in
14067 [\\/]* | ?:[\\/]*)
14068 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14072 for as_dir in $PATH
14074 IFS=$as_save_IFS
14075 test -z "$as_dir" && as_dir=.
14076 for ac_exec_ext in '' $ac_executable_extensions; do
14077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14078 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14080 break 2
14082 done
14083 done
14086 esac
14088 USER_JAVAH=$ac_cv_path_USER_JAVAH
14090 if test -n "$USER_JAVAH"; then
14091 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14092 echo "${ECHO_T}$USER_JAVAH" >&6
14093 else
14094 echo "$as_me:$LINENO: result: no" >&5
14095 echo "${ECHO_T}no" >&6
14098 if test "x${USER_JAVAH}" != x; then
14099 break
14101 done
14104 # if test "x${USER_JAVAH}" = x; then
14105 # echo "configure: cannot find javah" 1>&2
14106 # exit 1
14107 # fi
14109 else
14111 if test "x" != x; then
14112 if test -f ""; then
14113 USER_JAVAH=""
14114 else
14115 # Extract the first word of """", so it can be a program name with args.
14116 set dummy ""; ac_word=$2
14117 echo "$as_me:$LINENO: checking for $ac_word" >&5
14118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14119 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 else
14122 case $USER_JAVAH in
14123 [\\/]* | ?:[\\/]*)
14124 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14128 for as_dir in $PATH
14130 IFS=$as_save_IFS
14131 test -z "$as_dir" && as_dir=.
14132 for ac_exec_ext in '' $ac_executable_extensions; do
14133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14134 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14136 break 2
14138 done
14139 done
14142 esac
14144 USER_JAVAH=$ac_cv_path_USER_JAVAH
14146 if test -n "$USER_JAVAH"; then
14147 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14148 echo "${ECHO_T}$USER_JAVAH" >&6
14149 else
14150 echo "$as_me:$LINENO: result: no" >&5
14151 echo "${ECHO_T}no" >&6
14155 else
14156 for javah_name in gcjh javah; do
14157 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14158 set dummy "$javah_name"; ac_word=$2
14159 echo "$as_me:$LINENO: checking for $ac_word" >&5
14160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14161 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14162 echo $ECHO_N "(cached) $ECHO_C" >&6
14163 else
14164 case $USER_JAVAH in
14165 [\\/]* | ?:[\\/]*)
14166 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14170 for as_dir in $PATH
14172 IFS=$as_save_IFS
14173 test -z "$as_dir" && as_dir=.
14174 for ac_exec_ext in '' $ac_executable_extensions; do
14175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14176 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14178 break 2
14180 done
14181 done
14184 esac
14186 USER_JAVAH=$ac_cv_path_USER_JAVAH
14188 if test -n "$USER_JAVAH"; then
14189 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14190 echo "${ECHO_T}$USER_JAVAH" >&6
14191 else
14192 echo "$as_me:$LINENO: result: no" >&5
14193 echo "${ECHO_T}no" >&6
14196 if test "x${USER_JAVAH}" != x; then
14197 break
14199 done
14202 # if test "x${USER_JAVAH}" = x; then
14203 # echo "configure: cannot find javah" 1>&2
14204 # exit 1
14205 # fi
14209 else
14212 if test "x" != x; then
14213 if test -f ""; then
14214 USER_JAVAH=""
14215 else
14216 # Extract the first word of """", so it can be a program name with args.
14217 set dummy ""; ac_word=$2
14218 echo "$as_me:$LINENO: checking for $ac_word" >&5
14219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14220 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14221 echo $ECHO_N "(cached) $ECHO_C" >&6
14222 else
14223 case $USER_JAVAH in
14224 [\\/]* | ?:[\\/]*)
14225 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14229 for as_dir in $PATH
14231 IFS=$as_save_IFS
14232 test -z "$as_dir" && as_dir=.
14233 for ac_exec_ext in '' $ac_executable_extensions; do
14234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14235 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14237 break 2
14239 done
14240 done
14243 esac
14245 USER_JAVAH=$ac_cv_path_USER_JAVAH
14247 if test -n "$USER_JAVAH"; then
14248 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14249 echo "${ECHO_T}$USER_JAVAH" >&6
14250 else
14251 echo "$as_me:$LINENO: result: no" >&5
14252 echo "${ECHO_T}no" >&6
14256 else
14257 for javah_name in gcjh javah; do
14258 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14259 set dummy "$javah_name"; ac_word=$2
14260 echo "$as_me:$LINENO: checking for $ac_word" >&5
14261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14262 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14263 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 else
14265 case $USER_JAVAH in
14266 [\\/]* | ?:[\\/]*)
14267 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14271 for as_dir in $PATH
14273 IFS=$as_save_IFS
14274 test -z "$as_dir" && as_dir=.
14275 for ac_exec_ext in '' $ac_executable_extensions; do
14276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14277 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14279 break 2
14281 done
14282 done
14285 esac
14287 USER_JAVAH=$ac_cv_path_USER_JAVAH
14289 if test -n "$USER_JAVAH"; then
14290 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14291 echo "${ECHO_T}$USER_JAVAH" >&6
14292 else
14293 echo "$as_me:$LINENO: result: no" >&5
14294 echo "${ECHO_T}no" >&6
14297 if test "x${USER_JAVAH}" != x; then
14298 break
14300 done
14303 # if test "x${USER_JAVAH}" = x; then
14304 # echo "configure: cannot find javah" 1>&2
14305 # exit 1
14306 # fi
14312 if test "x${USER_JAVAH}" != x; then
14313 USER_SPECIFIED_JAVAH_TRUE=
14314 USER_SPECIFIED_JAVAH_FALSE='#'
14315 else
14316 USER_SPECIFIED_JAVAH_TRUE='#'
14317 USER_SPECIFIED_JAVAH_FALSE=
14323 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
14326 if test "x${COMPILE_JNI}" = xyes; then
14327 echo "$as_me:$LINENO: checking jni_md.h support" >&5
14328 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
14329 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
14330 echo "$as_me:$LINENO: result: yes" >&5
14331 echo "${ECHO_T}yes" >&6
14332 else
14333 target_cpu=x86
14334 target_os=linux-gnu
14335 { echo "$as_me:$LINENO: WARNING: no" >&5
14336 echo "$as_me: WARNING: no" >&2;}
14338 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
14339 ac_dests="include/jni_md.h"
14340 while test -n "$ac_sources"; do
14341 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
14342 set $ac_sources; ac_source=$1; shift; ac_sources=$*
14343 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
14344 done
14345 ac_config_links="$ac_config_links $ac_config_links_1"
14350 user_specified_javac=
14354 # Check whether --with-gcj or --without-gcj was given.
14355 if test "${with_gcj+set}" = set; then
14356 withval="$with_gcj"
14358 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14360 if test "x${withval}" != x; then
14361 if test -f "${withval}"; then
14362 GCJ="${withval}"
14363 else
14364 # Extract the first word of ""${withval}"", so it can be a program name with args.
14365 set dummy "${withval}"; ac_word=$2
14366 echo "$as_me:$LINENO: checking for $ac_word" >&5
14367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14368 if test "${ac_cv_path_GCJ+set}" = set; then
14369 echo $ECHO_N "(cached) $ECHO_C" >&6
14370 else
14371 case $GCJ in
14372 [\\/]* | ?:[\\/]*)
14373 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14377 for as_dir in $PATH
14379 IFS=$as_save_IFS
14380 test -z "$as_dir" && as_dir=.
14381 for ac_exec_ext in '' $ac_executable_extensions; do
14382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14383 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14385 break 2
14387 done
14388 done
14391 esac
14393 GCJ=$ac_cv_path_GCJ
14395 if test -n "$GCJ"; then
14396 echo "$as_me:$LINENO: result: $GCJ" >&5
14397 echo "${ECHO_T}$GCJ" >&6
14398 else
14399 echo "$as_me:$LINENO: result: no" >&5
14400 echo "${ECHO_T}no" >&6
14404 else
14405 # Extract the first word of ""gcj"", so it can be a program name with args.
14406 set dummy "gcj"; ac_word=$2
14407 echo "$as_me:$LINENO: checking for $ac_word" >&5
14408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14409 if test "${ac_cv_path_GCJ+set}" = set; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 else
14412 case $GCJ in
14413 [\\/]* | ?:[\\/]*)
14414 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14418 for as_dir in $PATH
14420 IFS=$as_save_IFS
14421 test -z "$as_dir" && as_dir=.
14422 for ac_exec_ext in '' $ac_executable_extensions; do
14423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14424 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14426 break 2
14428 done
14429 done
14432 esac
14434 GCJ=$ac_cv_path_GCJ
14436 if test -n "$GCJ"; then
14437 echo "$as_me:$LINENO: result: $GCJ" >&5
14438 echo "${ECHO_T}$GCJ" >&6
14439 else
14440 echo "$as_me:$LINENO: result: no" >&5
14441 echo "${ECHO_T}no" >&6
14445 if test "x$GCJ" != x; then
14446 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14447 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14448 ac_ext=c
14449 ac_cpp='$CPP $CPPFLAGS'
14450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14454 cat >conftest.$ac_ext <<_ACEOF
14455 #if __GNUC__ <= 3
14456 #error GCJ 4.0.0 or higher is required
14457 #endif
14459 _ACEOF
14460 $GCJ -E conftest.c > /dev/null
14461 gcj_4_result=$?
14462 if test "x$gcj_4_result" = "x0"; then
14463 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14464 echo "${ECHO_T}4.0 or higher found" >&6
14465 else
14466 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14467 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14469 ac_ext=c
14470 ac_cpp='$CPP $CPPFLAGS'
14471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14477 else
14478 if test "x${withval}" != xno; then
14480 if test "x" != x; then
14481 if test -f ""; then
14482 GCJ=""
14483 else
14484 # Extract the first word of """", so it can be a program name with args.
14485 set dummy ""; ac_word=$2
14486 echo "$as_me:$LINENO: checking for $ac_word" >&5
14487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14488 if test "${ac_cv_path_GCJ+set}" = set; then
14489 echo $ECHO_N "(cached) $ECHO_C" >&6
14490 else
14491 case $GCJ in
14492 [\\/]* | ?:[\\/]*)
14493 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14497 for as_dir in $PATH
14499 IFS=$as_save_IFS
14500 test -z "$as_dir" && as_dir=.
14501 for ac_exec_ext in '' $ac_executable_extensions; do
14502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14503 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14505 break 2
14507 done
14508 done
14511 esac
14513 GCJ=$ac_cv_path_GCJ
14515 if test -n "$GCJ"; then
14516 echo "$as_me:$LINENO: result: $GCJ" >&5
14517 echo "${ECHO_T}$GCJ" >&6
14518 else
14519 echo "$as_me:$LINENO: result: no" >&5
14520 echo "${ECHO_T}no" >&6
14524 else
14525 # Extract the first word of ""gcj"", so it can be a program name with args.
14526 set dummy "gcj"; ac_word=$2
14527 echo "$as_me:$LINENO: checking for $ac_word" >&5
14528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14529 if test "${ac_cv_path_GCJ+set}" = set; then
14530 echo $ECHO_N "(cached) $ECHO_C" >&6
14531 else
14532 case $GCJ in
14533 [\\/]* | ?:[\\/]*)
14534 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14538 for as_dir in $PATH
14540 IFS=$as_save_IFS
14541 test -z "$as_dir" && as_dir=.
14542 for ac_exec_ext in '' $ac_executable_extensions; do
14543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14544 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14546 break 2
14548 done
14549 done
14552 esac
14554 GCJ=$ac_cv_path_GCJ
14556 if test -n "$GCJ"; then
14557 echo "$as_me:$LINENO: result: $GCJ" >&5
14558 echo "${ECHO_T}$GCJ" >&6
14559 else
14560 echo "$as_me:$LINENO: result: no" >&5
14561 echo "${ECHO_T}no" >&6
14565 if test "x$GCJ" != x; then
14566 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14567 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14568 ac_ext=c
14569 ac_cpp='$CPP $CPPFLAGS'
14570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14574 cat >conftest.$ac_ext <<_ACEOF
14575 #if __GNUC__ <= 3
14576 #error GCJ 4.0.0 or higher is required
14577 #endif
14579 _ACEOF
14580 $GCJ -E conftest.c > /dev/null
14581 gcj_4_result=$?
14582 if test "x$gcj_4_result" = "x0"; then
14583 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14584 echo "${ECHO_T}4.0 or higher found" >&6
14585 else
14586 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14587 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14589 ac_ext=c
14590 ac_cpp='$CPP $CPPFLAGS'
14591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14599 user_specified_javac=gcj
14601 else
14604 if test "x" != x; then
14605 if test -f ""; then
14606 GCJ=""
14607 else
14608 # Extract the first word of """", so it can be a program name with args.
14609 set dummy ""; ac_word=$2
14610 echo "$as_me:$LINENO: checking for $ac_word" >&5
14611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14612 if test "${ac_cv_path_GCJ+set}" = set; then
14613 echo $ECHO_N "(cached) $ECHO_C" >&6
14614 else
14615 case $GCJ in
14616 [\\/]* | ?:[\\/]*)
14617 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14621 for as_dir in $PATH
14623 IFS=$as_save_IFS
14624 test -z "$as_dir" && as_dir=.
14625 for ac_exec_ext in '' $ac_executable_extensions; do
14626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14627 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14629 break 2
14631 done
14632 done
14635 esac
14637 GCJ=$ac_cv_path_GCJ
14639 if test -n "$GCJ"; then
14640 echo "$as_me:$LINENO: result: $GCJ" >&5
14641 echo "${ECHO_T}$GCJ" >&6
14642 else
14643 echo "$as_me:$LINENO: result: no" >&5
14644 echo "${ECHO_T}no" >&6
14648 else
14649 # Extract the first word of ""gcj"", so it can be a program name with args.
14650 set dummy "gcj"; ac_word=$2
14651 echo "$as_me:$LINENO: checking for $ac_word" >&5
14652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14653 if test "${ac_cv_path_GCJ+set}" = set; then
14654 echo $ECHO_N "(cached) $ECHO_C" >&6
14655 else
14656 case $GCJ in
14657 [\\/]* | ?:[\\/]*)
14658 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14662 for as_dir in $PATH
14664 IFS=$as_save_IFS
14665 test -z "$as_dir" && as_dir=.
14666 for ac_exec_ext in '' $ac_executable_extensions; do
14667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14668 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14670 break 2
14672 done
14673 done
14676 esac
14678 GCJ=$ac_cv_path_GCJ
14680 if test -n "$GCJ"; then
14681 echo "$as_me:$LINENO: result: $GCJ" >&5
14682 echo "${ECHO_T}$GCJ" >&6
14683 else
14684 echo "$as_me:$LINENO: result: no" >&5
14685 echo "${ECHO_T}no" >&6
14689 if test "x$GCJ" != x; then
14690 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14691 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14692 ac_ext=c
14693 ac_cpp='$CPP $CPPFLAGS'
14694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14698 cat >conftest.$ac_ext <<_ACEOF
14699 #if __GNUC__ <= 3
14700 #error GCJ 4.0.0 or higher is required
14701 #endif
14703 _ACEOF
14704 $GCJ -E conftest.c > /dev/null
14705 gcj_4_result=$?
14706 if test "x$gcj_4_result" = "x0"; then
14707 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14708 echo "${ECHO_T}4.0 or higher found" >&6
14709 else
14710 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14711 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14713 ac_ext=c
14714 ac_cpp='$CPP $CPPFLAGS'
14715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14727 # Check whether --with-jikes or --without-jikes was given.
14728 if test "${with_jikes+set}" = set; then
14729 withval="$with_jikes"
14731 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14733 if test "x${withval}" != x; then
14734 if test -f "${withval}"; then
14735 JIKES="${withval}"
14736 else
14737 # Extract the first word of ""${withval}"", so it can be a program name with args.
14738 set dummy "${withval}"; ac_word=$2
14739 echo "$as_me:$LINENO: checking for $ac_word" >&5
14740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14741 if test "${ac_cv_path_JIKES+set}" = set; then
14742 echo $ECHO_N "(cached) $ECHO_C" >&6
14743 else
14744 case $JIKES in
14745 [\\/]* | ?:[\\/]*)
14746 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14750 for as_dir in $PATH
14752 IFS=$as_save_IFS
14753 test -z "$as_dir" && as_dir=.
14754 for ac_exec_ext in '' $ac_executable_extensions; do
14755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14756 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14758 break 2
14760 done
14761 done
14764 esac
14766 JIKES=$ac_cv_path_JIKES
14768 if test -n "$JIKES"; then
14769 echo "$as_me:$LINENO: result: $JIKES" >&5
14770 echo "${ECHO_T}$JIKES" >&6
14771 else
14772 echo "$as_me:$LINENO: result: no" >&5
14773 echo "${ECHO_T}no" >&6
14777 else
14778 # Extract the first word of ""jikes"", so it can be a program name with args.
14779 set dummy "jikes"; ac_word=$2
14780 echo "$as_me:$LINENO: checking for $ac_word" >&5
14781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14782 if test "${ac_cv_path_JIKES+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 else
14785 case $JIKES in
14786 [\\/]* | ?:[\\/]*)
14787 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14791 for as_dir in $PATH
14793 IFS=$as_save_IFS
14794 test -z "$as_dir" && as_dir=.
14795 for ac_exec_ext in '' $ac_executable_extensions; do
14796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14797 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14799 break 2
14801 done
14802 done
14805 esac
14807 JIKES=$ac_cv_path_JIKES
14809 if test -n "$JIKES"; then
14810 echo "$as_me:$LINENO: result: $JIKES" >&5
14811 echo "${ECHO_T}$JIKES" >&6
14812 else
14813 echo "$as_me:$LINENO: result: no" >&5
14814 echo "${ECHO_T}no" >&6
14818 if test "x$JIKES" != "x"; then
14819 echo "$as_me:$LINENO: checking jikes version" >&5
14820 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14821 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14822 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14823 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14824 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14825 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14826 JIKES=""
14829 if test "x$JIKES" != "x"; then
14830 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14831 echo "${ECHO_T}$JIKES_VERSION" >&6
14832 else
14833 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14834 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14837 JIKESENCODING=
14838 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14839 JIKESENCODING='-encoding UTF-8'
14843 JIKESWARNINGS="+Pno-switchcheck"
14844 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14845 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14846 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14853 else
14854 if test "x${withval}" != xno; then
14856 if test "x" != x; then
14857 if test -f ""; then
14858 JIKES=""
14859 else
14860 # Extract the first word of """", so it can be a program name with args.
14861 set dummy ""; ac_word=$2
14862 echo "$as_me:$LINENO: checking for $ac_word" >&5
14863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14864 if test "${ac_cv_path_JIKES+set}" = set; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14866 else
14867 case $JIKES in
14868 [\\/]* | ?:[\\/]*)
14869 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14873 for as_dir in $PATH
14875 IFS=$as_save_IFS
14876 test -z "$as_dir" && as_dir=.
14877 for ac_exec_ext in '' $ac_executable_extensions; do
14878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14879 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14881 break 2
14883 done
14884 done
14887 esac
14889 JIKES=$ac_cv_path_JIKES
14891 if test -n "$JIKES"; then
14892 echo "$as_me:$LINENO: result: $JIKES" >&5
14893 echo "${ECHO_T}$JIKES" >&6
14894 else
14895 echo "$as_me:$LINENO: result: no" >&5
14896 echo "${ECHO_T}no" >&6
14900 else
14901 # Extract the first word of ""jikes"", so it can be a program name with args.
14902 set dummy "jikes"; ac_word=$2
14903 echo "$as_me:$LINENO: checking for $ac_word" >&5
14904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14905 if test "${ac_cv_path_JIKES+set}" = set; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 else
14908 case $JIKES in
14909 [\\/]* | ?:[\\/]*)
14910 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14914 for as_dir in $PATH
14916 IFS=$as_save_IFS
14917 test -z "$as_dir" && as_dir=.
14918 for ac_exec_ext in '' $ac_executable_extensions; do
14919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14920 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14922 break 2
14924 done
14925 done
14928 esac
14930 JIKES=$ac_cv_path_JIKES
14932 if test -n "$JIKES"; then
14933 echo "$as_me:$LINENO: result: $JIKES" >&5
14934 echo "${ECHO_T}$JIKES" >&6
14935 else
14936 echo "$as_me:$LINENO: result: no" >&5
14937 echo "${ECHO_T}no" >&6
14941 if test "x$JIKES" != "x"; then
14942 echo "$as_me:$LINENO: checking jikes version" >&5
14943 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14944 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14945 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14946 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14947 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14948 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14949 JIKES=""
14952 if test "x$JIKES" != "x"; then
14953 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14954 echo "${ECHO_T}$JIKES_VERSION" >&6
14955 else
14956 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14957 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14960 JIKESENCODING=
14961 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14962 JIKESENCODING='-encoding UTF-8'
14966 JIKESWARNINGS="+Pno-switchcheck"
14967 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14968 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14969 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14978 user_specified_javac=jikes
14980 else
14983 if test "x" != x; then
14984 if test -f ""; then
14985 JIKES=""
14986 else
14987 # Extract the first word of """", so it can be a program name with args.
14988 set dummy ""; ac_word=$2
14989 echo "$as_me:$LINENO: checking for $ac_word" >&5
14990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14991 if test "${ac_cv_path_JIKES+set}" = set; then
14992 echo $ECHO_N "(cached) $ECHO_C" >&6
14993 else
14994 case $JIKES in
14995 [\\/]* | ?:[\\/]*)
14996 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15000 for as_dir in $PATH
15002 IFS=$as_save_IFS
15003 test -z "$as_dir" && as_dir=.
15004 for ac_exec_ext in '' $ac_executable_extensions; do
15005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15006 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
15007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15008 break 2
15010 done
15011 done
15014 esac
15016 JIKES=$ac_cv_path_JIKES
15018 if test -n "$JIKES"; then
15019 echo "$as_me:$LINENO: result: $JIKES" >&5
15020 echo "${ECHO_T}$JIKES" >&6
15021 else
15022 echo "$as_me:$LINENO: result: no" >&5
15023 echo "${ECHO_T}no" >&6
15027 else
15028 # Extract the first word of ""jikes"", so it can be a program name with args.
15029 set dummy "jikes"; ac_word=$2
15030 echo "$as_me:$LINENO: checking for $ac_word" >&5
15031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15032 if test "${ac_cv_path_JIKES+set}" = set; then
15033 echo $ECHO_N "(cached) $ECHO_C" >&6
15034 else
15035 case $JIKES in
15036 [\\/]* | ?:[\\/]*)
15037 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
15040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15041 for as_dir in $PATH
15043 IFS=$as_save_IFS
15044 test -z "$as_dir" && as_dir=.
15045 for ac_exec_ext in '' $ac_executable_extensions; do
15046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15047 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
15048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15049 break 2
15051 done
15052 done
15055 esac
15057 JIKES=$ac_cv_path_JIKES
15059 if test -n "$JIKES"; then
15060 echo "$as_me:$LINENO: result: $JIKES" >&5
15061 echo "${ECHO_T}$JIKES" >&6
15062 else
15063 echo "$as_me:$LINENO: result: no" >&5
15064 echo "${ECHO_T}no" >&6
15068 if test "x$JIKES" != "x"; then
15069 echo "$as_me:$LINENO: checking jikes version" >&5
15070 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
15071 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
15072 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
15073 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
15074 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
15075 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
15076 JIKES=""
15079 if test "x$JIKES" != "x"; then
15080 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
15081 echo "${ECHO_T}$JIKES_VERSION" >&6
15082 else
15083 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
15084 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
15087 JIKESENCODING=
15088 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
15089 JIKESENCODING='-encoding UTF-8'
15093 JIKESWARNINGS="+Pno-switchcheck"
15094 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
15095 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
15096 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
15109 # Check whether --with-kjc or --without-kjc was given.
15110 if test "${with_kjc+set}" = set; then
15111 withval="$with_kjc"
15113 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15115 if test "x${withval}" != x; then
15116 if test -f "${withval}"; then
15117 KJC="${withval}"
15118 else
15119 # Extract the first word of ""${withval}"", so it can be a program name with args.
15120 set dummy "${withval}"; ac_word=$2
15121 echo "$as_me:$LINENO: checking for $ac_word" >&5
15122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15123 if test "${ac_cv_path_KJC+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15125 else
15126 case $KJC in
15127 [\\/]* | ?:[\\/]*)
15128 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15132 for as_dir in $PATH
15134 IFS=$as_save_IFS
15135 test -z "$as_dir" && as_dir=.
15136 for ac_exec_ext in '' $ac_executable_extensions; do
15137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15138 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15140 break 2
15142 done
15143 done
15146 esac
15148 KJC=$ac_cv_path_KJC
15150 if test -n "$KJC"; then
15151 echo "$as_me:$LINENO: result: $KJC" >&5
15152 echo "${ECHO_T}$KJC" >&6
15153 else
15154 echo "$as_me:$LINENO: result: no" >&5
15155 echo "${ECHO_T}no" >&6
15159 else
15160 # Extract the first word of ""kJC"", so it can be a program name with args.
15161 set dummy "kJC"; ac_word=$2
15162 echo "$as_me:$LINENO: checking for $ac_word" >&5
15163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15164 if test "${ac_cv_path_KJC+set}" = set; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15166 else
15167 case $KJC in
15168 [\\/]* | ?:[\\/]*)
15169 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15173 for as_dir in $PATH
15175 IFS=$as_save_IFS
15176 test -z "$as_dir" && as_dir=.
15177 for ac_exec_ext in '' $ac_executable_extensions; do
15178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15179 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15181 break 2
15183 done
15184 done
15187 esac
15189 KJC=$ac_cv_path_KJC
15191 if test -n "$KJC"; then
15192 echo "$as_me:$LINENO: result: $KJC" >&5
15193 echo "${ECHO_T}$KJC" >&6
15194 else
15195 echo "$as_me:$LINENO: result: no" >&5
15196 echo "${ECHO_T}no" >&6
15201 else
15202 if test "x${withval}" != xno; then
15204 if test "x" != x; then
15205 if test -f ""; then
15206 KJC=""
15207 else
15208 # Extract the first word of """", so it can be a program name with args.
15209 set dummy ""; ac_word=$2
15210 echo "$as_me:$LINENO: checking for $ac_word" >&5
15211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15212 if test "${ac_cv_path_KJC+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215 case $KJC in
15216 [\\/]* | ?:[\\/]*)
15217 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15221 for as_dir in $PATH
15223 IFS=$as_save_IFS
15224 test -z "$as_dir" && as_dir=.
15225 for ac_exec_ext in '' $ac_executable_extensions; do
15226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15227 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15229 break 2
15231 done
15232 done
15235 esac
15237 KJC=$ac_cv_path_KJC
15239 if test -n "$KJC"; then
15240 echo "$as_me:$LINENO: result: $KJC" >&5
15241 echo "${ECHO_T}$KJC" >&6
15242 else
15243 echo "$as_me:$LINENO: result: no" >&5
15244 echo "${ECHO_T}no" >&6
15248 else
15249 # Extract the first word of ""kJC"", so it can be a program name with args.
15250 set dummy "kJC"; ac_word=$2
15251 echo "$as_me:$LINENO: checking for $ac_word" >&5
15252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15253 if test "${ac_cv_path_KJC+set}" = set; then
15254 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 else
15256 case $KJC in
15257 [\\/]* | ?:[\\/]*)
15258 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15262 for as_dir in $PATH
15264 IFS=$as_save_IFS
15265 test -z "$as_dir" && as_dir=.
15266 for ac_exec_ext in '' $ac_executable_extensions; do
15267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15268 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15270 break 2
15272 done
15273 done
15276 esac
15278 KJC=$ac_cv_path_KJC
15280 if test -n "$KJC"; then
15281 echo "$as_me:$LINENO: result: $KJC" >&5
15282 echo "${ECHO_T}$KJC" >&6
15283 else
15284 echo "$as_me:$LINENO: result: no" >&5
15285 echo "${ECHO_T}no" >&6
15292 user_specified_javac=kjc
15294 else
15297 if test "x" != x; then
15298 if test -f ""; then
15299 KJC=""
15300 else
15301 # Extract the first word of """", so it can be a program name with args.
15302 set dummy ""; ac_word=$2
15303 echo "$as_me:$LINENO: checking for $ac_word" >&5
15304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15305 if test "${ac_cv_path_KJC+set}" = set; then
15306 echo $ECHO_N "(cached) $ECHO_C" >&6
15307 else
15308 case $KJC in
15309 [\\/]* | ?:[\\/]*)
15310 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15314 for as_dir in $PATH
15316 IFS=$as_save_IFS
15317 test -z "$as_dir" && as_dir=.
15318 for ac_exec_ext in '' $ac_executable_extensions; do
15319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15320 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15322 break 2
15324 done
15325 done
15328 esac
15330 KJC=$ac_cv_path_KJC
15332 if test -n "$KJC"; then
15333 echo "$as_me:$LINENO: result: $KJC" >&5
15334 echo "${ECHO_T}$KJC" >&6
15335 else
15336 echo "$as_me:$LINENO: result: no" >&5
15337 echo "${ECHO_T}no" >&6
15341 else
15342 # Extract the first word of ""kJC"", so it can be a program name with args.
15343 set dummy "kJC"; ac_word=$2
15344 echo "$as_me:$LINENO: checking for $ac_word" >&5
15345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15346 if test "${ac_cv_path_KJC+set}" = set; then
15347 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 else
15349 case $KJC in
15350 [\\/]* | ?:[\\/]*)
15351 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15355 for as_dir in $PATH
15357 IFS=$as_save_IFS
15358 test -z "$as_dir" && as_dir=.
15359 for ac_exec_ext in '' $ac_executable_extensions; do
15360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15361 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15363 break 2
15365 done
15366 done
15369 esac
15371 KJC=$ac_cv_path_KJC
15373 if test -n "$KJC"; then
15374 echo "$as_me:$LINENO: result: $KJC" >&5
15375 echo "${ECHO_T}$KJC" >&6
15376 else
15377 echo "$as_me:$LINENO: result: no" >&5
15378 echo "${ECHO_T}no" >&6
15389 # Check whether --with-gcjx or --without-gcjx was given.
15390 if test "${with_gcjx+set}" = set; then
15391 withval="$with_gcjx"
15393 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15395 if test "x${withval}" != x; then
15396 if test -f "${withval}"; then
15397 GCJX="${withval}"
15398 else
15399 # Extract the first word of ""${withval}"", so it can be a program name with args.
15400 set dummy "${withval}"; ac_word=$2
15401 echo "$as_me:$LINENO: checking for $ac_word" >&5
15402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15403 if test "${ac_cv_path_GCJX+set}" = set; then
15404 echo $ECHO_N "(cached) $ECHO_C" >&6
15405 else
15406 case $GCJX in
15407 [\\/]* | ?:[\\/]*)
15408 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15412 for as_dir in $PATH
15414 IFS=$as_save_IFS
15415 test -z "$as_dir" && as_dir=.
15416 for ac_exec_ext in '' $ac_executable_extensions; do
15417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15418 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15420 break 2
15422 done
15423 done
15426 esac
15428 GCJX=$ac_cv_path_GCJX
15430 if test -n "$GCJX"; then
15431 echo "$as_me:$LINENO: result: $GCJX" >&5
15432 echo "${ECHO_T}$GCJX" >&6
15433 else
15434 echo "$as_me:$LINENO: result: no" >&5
15435 echo "${ECHO_T}no" >&6
15439 else
15440 # Extract the first word of ""gcjx"", so it can be a program name with args.
15441 set dummy "gcjx"; ac_word=$2
15442 echo "$as_me:$LINENO: checking for $ac_word" >&5
15443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15444 if test "${ac_cv_path_GCJX+set}" = set; then
15445 echo $ECHO_N "(cached) $ECHO_C" >&6
15446 else
15447 case $GCJX in
15448 [\\/]* | ?:[\\/]*)
15449 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15453 for as_dir in $PATH
15455 IFS=$as_save_IFS
15456 test -z "$as_dir" && as_dir=.
15457 for ac_exec_ext in '' $ac_executable_extensions; do
15458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15459 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15461 break 2
15463 done
15464 done
15467 esac
15469 GCJX=$ac_cv_path_GCJX
15471 if test -n "$GCJX"; then
15472 echo "$as_me:$LINENO: result: $GCJX" >&5
15473 echo "${ECHO_T}$GCJX" >&6
15474 else
15475 echo "$as_me:$LINENO: result: no" >&5
15476 echo "${ECHO_T}no" >&6
15481 else
15482 if test "x${withval}" != xno; then
15484 if test "x" != x; then
15485 if test -f ""; then
15486 GCJX=""
15487 else
15488 # Extract the first word of """", so it can be a program name with args.
15489 set dummy ""; ac_word=$2
15490 echo "$as_me:$LINENO: checking for $ac_word" >&5
15491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15492 if test "${ac_cv_path_GCJX+set}" = set; then
15493 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 else
15495 case $GCJX in
15496 [\\/]* | ?:[\\/]*)
15497 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15501 for as_dir in $PATH
15503 IFS=$as_save_IFS
15504 test -z "$as_dir" && as_dir=.
15505 for ac_exec_ext in '' $ac_executable_extensions; do
15506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15507 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15509 break 2
15511 done
15512 done
15515 esac
15517 GCJX=$ac_cv_path_GCJX
15519 if test -n "$GCJX"; then
15520 echo "$as_me:$LINENO: result: $GCJX" >&5
15521 echo "${ECHO_T}$GCJX" >&6
15522 else
15523 echo "$as_me:$LINENO: result: no" >&5
15524 echo "${ECHO_T}no" >&6
15528 else
15529 # Extract the first word of ""gcjx"", so it can be a program name with args.
15530 set dummy "gcjx"; ac_word=$2
15531 echo "$as_me:$LINENO: checking for $ac_word" >&5
15532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15533 if test "${ac_cv_path_GCJX+set}" = set; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 else
15536 case $GCJX in
15537 [\\/]* | ?:[\\/]*)
15538 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15542 for as_dir in $PATH
15544 IFS=$as_save_IFS
15545 test -z "$as_dir" && as_dir=.
15546 for ac_exec_ext in '' $ac_executable_extensions; do
15547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15548 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15550 break 2
15552 done
15553 done
15556 esac
15558 GCJX=$ac_cv_path_GCJX
15560 if test -n "$GCJX"; then
15561 echo "$as_me:$LINENO: result: $GCJX" >&5
15562 echo "${ECHO_T}$GCJX" >&6
15563 else
15564 echo "$as_me:$LINENO: result: no" >&5
15565 echo "${ECHO_T}no" >&6
15572 user_specified_javac=gcjx
15574 else
15577 if test "x" != x; then
15578 if test -f ""; then
15579 GCJX=""
15580 else
15581 # Extract the first word of """", so it can be a program name with args.
15582 set dummy ""; ac_word=$2
15583 echo "$as_me:$LINENO: checking for $ac_word" >&5
15584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15585 if test "${ac_cv_path_GCJX+set}" = set; then
15586 echo $ECHO_N "(cached) $ECHO_C" >&6
15587 else
15588 case $GCJX in
15589 [\\/]* | ?:[\\/]*)
15590 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15594 for as_dir in $PATH
15596 IFS=$as_save_IFS
15597 test -z "$as_dir" && as_dir=.
15598 for ac_exec_ext in '' $ac_executable_extensions; do
15599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15600 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15602 break 2
15604 done
15605 done
15608 esac
15610 GCJX=$ac_cv_path_GCJX
15612 if test -n "$GCJX"; then
15613 echo "$as_me:$LINENO: result: $GCJX" >&5
15614 echo "${ECHO_T}$GCJX" >&6
15615 else
15616 echo "$as_me:$LINENO: result: no" >&5
15617 echo "${ECHO_T}no" >&6
15621 else
15622 # Extract the first word of ""gcjx"", so it can be a program name with args.
15623 set dummy "gcjx"; ac_word=$2
15624 echo "$as_me:$LINENO: checking for $ac_word" >&5
15625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15626 if test "${ac_cv_path_GCJX+set}" = set; then
15627 echo $ECHO_N "(cached) $ECHO_C" >&6
15628 else
15629 case $GCJX in
15630 [\\/]* | ?:[\\/]*)
15631 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15635 for as_dir in $PATH
15637 IFS=$as_save_IFS
15638 test -z "$as_dir" && as_dir=.
15639 for ac_exec_ext in '' $ac_executable_extensions; do
15640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15641 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15643 break 2
15645 done
15646 done
15649 esac
15651 GCJX=$ac_cv_path_GCJX
15653 if test -n "$GCJX"; then
15654 echo "$as_me:$LINENO: result: $GCJX" >&5
15655 echo "${ECHO_T}$GCJX" >&6
15656 else
15657 echo "$as_me:$LINENO: result: no" >&5
15658 echo "${ECHO_T}no" >&6
15669 # Check whether --with-ecj or --without-ecj was given.
15670 if test "${with_ecj+set}" = set; then
15671 withval="$with_ecj"
15673 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15675 if test "x${withval}" != x; then
15676 if test -f "${withval}"; then
15677 ECJ="${withval}"
15678 else
15679 # Extract the first word of ""${withval}"", so it can be a program name with args.
15680 set dummy "${withval}"; ac_word=$2
15681 echo "$as_me:$LINENO: checking for $ac_word" >&5
15682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15683 if test "${ac_cv_path_ECJ+set}" = set; then
15684 echo $ECHO_N "(cached) $ECHO_C" >&6
15685 else
15686 case $ECJ in
15687 [\\/]* | ?:[\\/]*)
15688 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15692 for as_dir in $PATH
15694 IFS=$as_save_IFS
15695 test -z "$as_dir" && as_dir=.
15696 for ac_exec_ext in '' $ac_executable_extensions; do
15697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15698 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15700 break 2
15702 done
15703 done
15706 esac
15708 ECJ=$ac_cv_path_ECJ
15710 if test -n "$ECJ"; then
15711 echo "$as_me:$LINENO: result: $ECJ" >&5
15712 echo "${ECHO_T}$ECJ" >&6
15713 else
15714 echo "$as_me:$LINENO: result: no" >&5
15715 echo "${ECHO_T}no" >&6
15719 else
15720 # Extract the first word of ""ecj"", so it can be a program name with args.
15721 set dummy "ecj"; ac_word=$2
15722 echo "$as_me:$LINENO: checking for $ac_word" >&5
15723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15724 if test "${ac_cv_path_ECJ+set}" = set; then
15725 echo $ECHO_N "(cached) $ECHO_C" >&6
15726 else
15727 case $ECJ in
15728 [\\/]* | ?:[\\/]*)
15729 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15733 for as_dir in $PATH
15735 IFS=$as_save_IFS
15736 test -z "$as_dir" && as_dir=.
15737 for ac_exec_ext in '' $ac_executable_extensions; do
15738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15739 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15741 break 2
15743 done
15744 done
15747 esac
15749 ECJ=$ac_cv_path_ECJ
15751 if test -n "$ECJ"; then
15752 echo "$as_me:$LINENO: result: $ECJ" >&5
15753 echo "${ECHO_T}$ECJ" >&6
15754 else
15755 echo "$as_me:$LINENO: result: no" >&5
15756 echo "${ECHO_T}no" >&6
15761 else
15762 if test "x${withval}" != xno; then
15764 if test "x" != x; then
15765 if test -f ""; then
15766 ECJ=""
15767 else
15768 # Extract the first word of """", so it can be a program name with args.
15769 set dummy ""; ac_word=$2
15770 echo "$as_me:$LINENO: checking for $ac_word" >&5
15771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15772 if test "${ac_cv_path_ECJ+set}" = set; then
15773 echo $ECHO_N "(cached) $ECHO_C" >&6
15774 else
15775 case $ECJ in
15776 [\\/]* | ?:[\\/]*)
15777 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15781 for as_dir in $PATH
15783 IFS=$as_save_IFS
15784 test -z "$as_dir" && as_dir=.
15785 for ac_exec_ext in '' $ac_executable_extensions; do
15786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15787 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15789 break 2
15791 done
15792 done
15795 esac
15797 ECJ=$ac_cv_path_ECJ
15799 if test -n "$ECJ"; then
15800 echo "$as_me:$LINENO: result: $ECJ" >&5
15801 echo "${ECHO_T}$ECJ" >&6
15802 else
15803 echo "$as_me:$LINENO: result: no" >&5
15804 echo "${ECHO_T}no" >&6
15808 else
15809 # Extract the first word of ""ecj"", so it can be a program name with args.
15810 set dummy "ecj"; ac_word=$2
15811 echo "$as_me:$LINENO: checking for $ac_word" >&5
15812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15813 if test "${ac_cv_path_ECJ+set}" = set; then
15814 echo $ECHO_N "(cached) $ECHO_C" >&6
15815 else
15816 case $ECJ in
15817 [\\/]* | ?:[\\/]*)
15818 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15822 for as_dir in $PATH
15824 IFS=$as_save_IFS
15825 test -z "$as_dir" && as_dir=.
15826 for ac_exec_ext in '' $ac_executable_extensions; do
15827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15828 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15830 break 2
15832 done
15833 done
15836 esac
15838 ECJ=$ac_cv_path_ECJ
15840 if test -n "$ECJ"; then
15841 echo "$as_me:$LINENO: result: $ECJ" >&5
15842 echo "${ECHO_T}$ECJ" >&6
15843 else
15844 echo "$as_me:$LINENO: result: no" >&5
15845 echo "${ECHO_T}no" >&6
15852 user_specified_javac=ecj
15854 else
15857 if test "x" != x; then
15858 if test -f ""; then
15859 ECJ=""
15860 else
15861 # Extract the first word of """", so it can be a program name with args.
15862 set dummy ""; ac_word=$2
15863 echo "$as_me:$LINENO: checking for $ac_word" >&5
15864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15865 if test "${ac_cv_path_ECJ+set}" = set; then
15866 echo $ECHO_N "(cached) $ECHO_C" >&6
15867 else
15868 case $ECJ in
15869 [\\/]* | ?:[\\/]*)
15870 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15874 for as_dir in $PATH
15876 IFS=$as_save_IFS
15877 test -z "$as_dir" && as_dir=.
15878 for ac_exec_ext in '' $ac_executable_extensions; do
15879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15880 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15882 break 2
15884 done
15885 done
15888 esac
15890 ECJ=$ac_cv_path_ECJ
15892 if test -n "$ECJ"; then
15893 echo "$as_me:$LINENO: result: $ECJ" >&5
15894 echo "${ECHO_T}$ECJ" >&6
15895 else
15896 echo "$as_me:$LINENO: result: no" >&5
15897 echo "${ECHO_T}no" >&6
15901 else
15902 # Extract the first word of ""ecj"", so it can be a program name with args.
15903 set dummy "ecj"; ac_word=$2
15904 echo "$as_me:$LINENO: checking for $ac_word" >&5
15905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15906 if test "${ac_cv_path_ECJ+set}" = set; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6
15908 else
15909 case $ECJ in
15910 [\\/]* | ?:[\\/]*)
15911 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15915 for as_dir in $PATH
15917 IFS=$as_save_IFS
15918 test -z "$as_dir" && as_dir=.
15919 for ac_exec_ext in '' $ac_executable_extensions; do
15920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15921 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15923 break 2
15925 done
15926 done
15929 esac
15931 ECJ=$ac_cv_path_ECJ
15933 if test -n "$ECJ"; then
15934 echo "$as_me:$LINENO: result: $ECJ" >&5
15935 echo "${ECHO_T}$ECJ" >&6
15936 else
15937 echo "$as_me:$LINENO: result: no" >&5
15938 echo "${ECHO_T}no" >&6
15948 if test "x${user_specified_javac}" = x; then
15951 if test "x${GCJ}" != x; then
15952 FOUND_GCJ_TRUE=
15953 FOUND_GCJ_FALSE='#'
15954 else
15955 FOUND_GCJ_TRUE='#'
15956 FOUND_GCJ_FALSE=
15961 if test "x${JIKES}" != x; then
15962 FOUND_JIKES_TRUE=
15963 FOUND_JIKES_FALSE='#'
15964 else
15965 FOUND_JIKES_TRUE='#'
15966 FOUND_JIKES_FALSE=
15971 if test "x${ECJ}" != x; then
15972 FOUND_ECJ_TRUE=
15973 FOUND_ECJ_FALSE='#'
15974 else
15975 FOUND_ECJ_TRUE='#'
15976 FOUND_ECJ_FALSE=
15979 else
15982 if test "x${user_specified_javac}" = xgcj; then
15983 FOUND_GCJ_TRUE=
15984 FOUND_GCJ_FALSE='#'
15985 else
15986 FOUND_GCJ_TRUE='#'
15987 FOUND_GCJ_FALSE=
15992 if test "x${user_specified_javac}" = xjikes; then
15993 FOUND_JIKES_TRUE=
15994 FOUND_JIKES_FALSE='#'
15995 else
15996 FOUND_JIKES_TRUE='#'
15997 FOUND_JIKES_FALSE=
16002 if test "x${user_specified_javac}" = xecj; then
16003 FOUND_ECJ_TRUE=
16004 FOUND_ECJ_FALSE='#'
16005 else
16006 FOUND_ECJ_TRUE='#'
16007 FOUND_ECJ_FALSE=
16013 if test "x${user_specified_javac}" = xkjc; then
16014 FOUND_KJC_TRUE=
16015 FOUND_KJC_FALSE='#'
16016 else
16017 FOUND_KJC_TRUE='#'
16018 FOUND_KJC_FALSE=
16023 if test "x${user_specified_javac}" = xgcjx; then
16024 FOUND_GCJX_TRUE=
16025 FOUND_GCJX_FALSE='#'
16026 else
16027 FOUND_GCJX_TRUE='#'
16028 FOUND_GCJX_FALSE=
16032 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx && test "x${user_specified_javac}" != xecj; then
16033 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
16034 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
16035 { (exit 1); exit 1; }; }
16041 # Check whether --with-classpath or --without-classpath was given.
16042 if test "${with_classpath+set}" = set; then
16043 withval="$with_classpath"
16045 if test "x${withval}" = xyes; then
16046 # set user classpath to CLASSPATH from env
16047 echo "$as_me:$LINENO: checking for classlib" >&5
16048 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
16049 USER_CLASSLIB=${CLASSPATH}
16051 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
16052 echo "${ECHO_T}${USER_CLASSLIB}" >&6
16053 conditional_with_classlib=true
16054 elif test "x${withval}" != x && test "x${withval}" != xno; then
16055 # set user classpath to specified value
16056 echo "$as_me:$LINENO: checking for classlib" >&5
16057 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
16058 USER_CLASSLIB=${withval}
16060 echo "$as_me:$LINENO: result: ${withval}" >&5
16061 echo "${ECHO_T}${withval}" >&6
16062 conditional_with_classlib=true
16065 else
16066 conditional_with_classlib=false
16070 if test "x${conditional_with_classlib}" = xtrue; then
16071 USER_SPECIFIED_CLASSLIB_TRUE=
16072 USER_SPECIFIED_CLASSLIB_FALSE='#'
16073 else
16074 USER_SPECIFIED_CLASSLIB_TRUE='#'
16075 USER_SPECIFIED_CLASSLIB_FALSE=
16080 # Check whether --with-vm-classes or --without-vm-classes was given.
16081 if test "${with_vm_classes+set}" = set; then
16082 withval="$with_vm_classes"
16083 vm_classes="$with_vm_classes"
16084 else
16085 vm_classes='${top_srcdir}/vm/reference'
16090 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
16091 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
16092 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
16093 if test "${enable_maintainer_mode+set}" = set; then
16094 enableval="$enable_maintainer_mode"
16095 USE_MAINTAINER_MODE=$enableval
16096 else
16097 USE_MAINTAINER_MODE=no
16099 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
16100 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
16103 if test $USE_MAINTAINER_MODE = yes; then
16104 MAINTAINER_MODE_TRUE=
16105 MAINTAINER_MODE_FALSE='#'
16106 else
16107 MAINTAINER_MODE_TRUE='#'
16108 MAINTAINER_MODE_FALSE=
16111 MAINT=$MAINTAINER_MODE_TRUE
16115 # Check whether --enable-debug or --disable-debug was given.
16116 if test "${enable_debug+set}" = set; then
16117 enableval="$enable_debug"
16118 case "${enableval}" in
16119 yes)
16120 LIBDEBUG="true"
16122 cat >>confdefs.h <<\_ACEOF
16123 #define DEBUG 1
16124 _ACEOF
16127 no) LIBDEBUG="false" ;;
16128 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
16129 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
16130 { (exit 1); exit 1; }; } ;;
16131 esac
16132 else
16133 LIBDEBUG="false"
16137 # Check whether --enable-load-library or --disable-load-library was given.
16138 if test "${enable_load_library+set}" = set; then
16139 enableval="$enable_load_library"
16140 case "${enableval}" in
16141 yes) INIT_LOAD_LIBRARY="true" ;;
16142 no) INIT_LOAD_LIBRARY="false" ;;
16143 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
16144 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
16145 { (exit 1); exit 1; }; } ;;
16146 esac
16147 else
16148 INIT_LOAD_LIBRARY="true"
16154 # Check whether --with-ecj-jar or --without-ecj-jar was given.
16155 if test "${with_ecj_jar+set}" = set; then
16156 withval="$with_ecj_jar"
16157 ECJ_JAR=$withval
16158 else
16159 if test -f $multi_basedir/ecj.jar; then
16160 ECJ_JAR='$(jardir)/ecj.jar'
16165 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
16166 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
16167 enableval="$enable_java_lang_system_explicit_initialization"
16168 case "${enableval}" in
16169 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
16170 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
16171 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
16172 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
16173 { (exit 1); exit 1; }; } ;;
16174 esac
16175 else
16176 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
16181 REMOVE=""
16184 # Extract the first word of "mkdir", so it can be a program name with args.
16185 set dummy mkdir; ac_word=$2
16186 echo "$as_me:$LINENO: checking for $ac_word" >&5
16187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16188 if test "${ac_cv_path_MKDIR+set}" = set; then
16189 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 else
16191 case $MKDIR in
16192 [\\/]* | ?:[\\/]*)
16193 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
16196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16197 for as_dir in $PATH
16199 IFS=$as_save_IFS
16200 test -z "$as_dir" && as_dir=.
16201 for ac_exec_ext in '' $ac_executable_extensions; do
16202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16203 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
16204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16205 break 2
16207 done
16208 done
16211 esac
16213 MKDIR=$ac_cv_path_MKDIR
16215 if test -n "$MKDIR"; then
16216 echo "$as_me:$LINENO: result: $MKDIR" >&5
16217 echo "${ECHO_T}$MKDIR" >&6
16218 else
16219 echo "$as_me:$LINENO: result: no" >&5
16220 echo "${ECHO_T}no" >&6
16223 # Extract the first word of "cp", so it can be a program name with args.
16224 set dummy cp; ac_word=$2
16225 echo "$as_me:$LINENO: checking for $ac_word" >&5
16226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16227 if test "${ac_cv_path_CP+set}" = set; then
16228 echo $ECHO_N "(cached) $ECHO_C" >&6
16229 else
16230 case $CP in
16231 [\\/]* | ?:[\\/]*)
16232 ac_cv_path_CP="$CP" # Let the user override the test with a path.
16235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16236 for as_dir in $PATH
16238 IFS=$as_save_IFS
16239 test -z "$as_dir" && as_dir=.
16240 for ac_exec_ext in '' $ac_executable_extensions; do
16241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16242 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
16243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16244 break 2
16246 done
16247 done
16250 esac
16252 CP=$ac_cv_path_CP
16254 if test -n "$CP"; then
16255 echo "$as_me:$LINENO: result: $CP" >&5
16256 echo "${ECHO_T}$CP" >&6
16257 else
16258 echo "$as_me:$LINENO: result: no" >&5
16259 echo "${ECHO_T}no" >&6
16262 # Extract the first word of "date", so it can be a program name with args.
16263 set dummy date; ac_word=$2
16264 echo "$as_me:$LINENO: checking for $ac_word" >&5
16265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16266 if test "${ac_cv_path_DATE+set}" = set; then
16267 echo $ECHO_N "(cached) $ECHO_C" >&6
16268 else
16269 case $DATE in
16270 [\\/]* | ?:[\\/]*)
16271 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
16274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16275 for as_dir in $PATH
16277 IFS=$as_save_IFS
16278 test -z "$as_dir" && as_dir=.
16279 for ac_exec_ext in '' $ac_executable_extensions; do
16280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16281 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
16282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16283 break 2
16285 done
16286 done
16289 esac
16291 DATE=$ac_cv_path_DATE
16293 if test -n "$DATE"; then
16294 echo "$as_me:$LINENO: result: $DATE" >&5
16295 echo "${ECHO_T}$DATE" >&6
16296 else
16297 echo "$as_me:$LINENO: result: no" >&5
16298 echo "${ECHO_T}no" >&6
16302 # Extract the first word of "find", so it can be a program name with args.
16303 set dummy find; ac_word=$2
16304 echo "$as_me:$LINENO: checking for $ac_word" >&5
16305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16306 if test "${ac_cv_path_FIND+set}" = set; then
16307 echo $ECHO_N "(cached) $ECHO_C" >&6
16308 else
16309 case $FIND in
16310 [\\/]* | ?:[\\/]*)
16311 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
16314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16315 for as_dir in $PATH
16317 IFS=$as_save_IFS
16318 test -z "$as_dir" && as_dir=.
16319 for ac_exec_ext in '' $ac_executable_extensions; do
16320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16321 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
16322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16323 break 2
16325 done
16326 done
16329 esac
16331 FIND=$ac_cv_path_FIND
16333 if test -n "$FIND"; then
16334 echo "$as_me:$LINENO: result: $FIND" >&5
16335 echo "${ECHO_T}$FIND" >&6
16336 else
16337 echo "$as_me:$LINENO: result: no" >&5
16338 echo "${ECHO_T}no" >&6
16343 # Extract the first word of "zip", so it can be a program name with args.
16344 set dummy zip; ac_word=$2
16345 echo "$as_me:$LINENO: checking for $ac_word" >&5
16346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16347 if test "${ac_cv_path_ZIP+set}" = set; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6
16349 else
16350 case $ZIP in
16351 [\\/]* | ?:[\\/]*)
16352 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
16355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16356 for as_dir in $PATH
16358 IFS=$as_save_IFS
16359 test -z "$as_dir" && as_dir=.
16360 for ac_exec_ext in '' $ac_executable_extensions; do
16361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16362 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
16363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16364 break 2
16366 done
16367 done
16370 esac
16372 ZIP=$ac_cv_path_ZIP
16374 if test -n "$ZIP"; then
16375 echo "$as_me:$LINENO: result: $ZIP" >&5
16376 echo "${ECHO_T}$ZIP" >&6
16377 else
16378 echo "$as_me:$LINENO: result: no" >&5
16379 echo "${ECHO_T}no" >&6
16383 # Check whether --with-fastjar or --without-fastjar was given.
16384 if test "${with_fastjar+set}" = set; then
16385 withval="$with_fastjar"
16387 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
16388 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
16389 FASTJAR=${withval}
16390 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
16391 echo "${ECHO_T}${FASTJAR}" >&6
16393 else
16394 # Extract the first word of "fastjar", so it can be a program name with args.
16395 set dummy fastjar; ac_word=$2
16396 echo "$as_me:$LINENO: checking for $ac_word" >&5
16397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16398 if test "${ac_cv_path_FASTJAR+set}" = set; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16400 else
16401 case $FASTJAR in
16402 [\\/]* | ?:[\\/]*)
16403 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
16406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16407 for as_dir in $PATH
16409 IFS=$as_save_IFS
16410 test -z "$as_dir" && as_dir=.
16411 for ac_exec_ext in '' $ac_executable_extensions; do
16412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16413 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
16414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16415 break 2
16417 done
16418 done
16421 esac
16423 FASTJAR=$ac_cv_path_FASTJAR
16425 if test -n "$FASTJAR"; then
16426 echo "$as_me:$LINENO: result: $FASTJAR" >&5
16427 echo "${ECHO_T}$FASTJAR" >&6
16428 else
16429 echo "$as_me:$LINENO: result: no" >&5
16430 echo "${ECHO_T}no" >&6
16434 if test x"${FASTJAR}" != x; then
16435 ZIP=""
16439 # Check whether --with-glibj or --without-glibj was given.
16440 if test "${with_glibj+set}" = set; then
16441 withval="$with_glibj"
16443 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
16444 install_class_files=no
16445 build_class_files=yes
16446 use_zip=yes
16447 elif test "x${withval}" = xboth; then
16448 install_class_files=yes
16449 build_class_files=yes
16450 use_zip=yes
16451 elif test "x${withval}" = xflat; then
16452 install_class_files=yes
16453 build_class_files=yes
16454 use_zip=no
16455 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
16456 install_class_files=no
16457 build_class_files=no
16458 use_zip=no
16459 elif test "x${withval}" = xbuild; then
16460 install_class_files=no
16461 build_class_files=yes
16462 use_zip=no
16463 else
16464 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
16465 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
16466 { (exit 1); exit 1; }; }
16469 else
16471 install_class_files=no
16472 use_zip=yes
16477 if test "x${use_zip}" = xyes; then
16478 INSTALL_GLIBJ_ZIP_TRUE=
16479 INSTALL_GLIBJ_ZIP_FALSE='#'
16480 else
16481 INSTALL_GLIBJ_ZIP_TRUE='#'
16482 INSTALL_GLIBJ_ZIP_FALSE=
16487 if test "x${install_class_files}" = xyes; then
16488 INSTALL_CLASS_FILES_TRUE=
16489 INSTALL_CLASS_FILES_FALSE='#'
16490 else
16491 INSTALL_CLASS_FILES_TRUE='#'
16492 INSTALL_CLASS_FILES_FALSE=
16497 if test "x${build_class_files}" = xyes; then
16498 BUILD_CLASS_FILES_TRUE=
16499 BUILD_CLASS_FILES_FALSE='#'
16500 else
16501 BUILD_CLASS_FILES_TRUE='#'
16502 BUILD_CLASS_FILES_FALSE=
16506 # Check whether --enable-examples or --disable-examples was given.
16507 if test "${enable_examples+set}" = set; then
16508 enableval="$enable_examples"
16509 case "${enableval}" in
16510 yes) EXAMPLESDIR="examples" ;;
16511 no) EXAMPLESDIR="" ;;
16512 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
16513 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
16514 { (exit 1); exit 1; }; } ;;
16515 esac
16516 else
16517 EXAMPLESDIR="examples"
16519 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
16520 EXAMPLESDIR=""
16527 # Check whether --with-gjdoc or --without-gjdoc was given.
16528 if test "${with_gjdoc+set}" = set; then
16529 withval="$with_gjdoc"
16530 if test "x${withval}" = xno; then
16531 WITH_GJDOC=no;
16532 elif test "x${withval}" = xyes -o "x{withval}" = x; then
16533 WITH_GJDOC=yes;
16534 # Extract the first word of "gjdoc", so it can be a program name with args.
16535 set dummy gjdoc; ac_word=$2
16536 echo "$as_me:$LINENO: checking for $ac_word" >&5
16537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16538 if test "${ac_cv_path_GJDOC+set}" = set; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 else
16541 case $GJDOC in
16542 [\\/]* | ?:[\\/]*)
16543 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
16546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16547 for as_dir in $PATH
16549 IFS=$as_save_IFS
16550 test -z "$as_dir" && as_dir=.
16551 for ac_exec_ext in '' $ac_executable_extensions; do
16552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16553 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
16554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16555 break 2
16557 done
16558 done
16560 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
16562 esac
16564 GJDOC=$ac_cv_path_GJDOC
16566 if test -n "$GJDOC"; then
16567 echo "$as_me:$LINENO: result: $GJDOC" >&5
16568 echo "${ECHO_T}$GJDOC" >&6
16569 else
16570 echo "$as_me:$LINENO: result: no" >&5
16571 echo "${ECHO_T}no" >&6
16574 if test "x${GJDOC}" = xno; then
16575 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
16576 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
16577 { (exit 1); exit 1; }; };
16579 else
16580 WITH_GJDOC=yes
16581 GJDOC="${withval}"
16582 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
16583 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
16584 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
16585 if eval "test \"\${$as_ac_File+set}\" = set"; then
16586 echo $ECHO_N "(cached) $ECHO_C" >&6
16587 else
16588 test "$cross_compiling" = yes &&
16589 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16590 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16591 { (exit 1); exit 1; }; }
16592 if test -r "${GJDOC}"; then
16593 eval "$as_ac_File=yes"
16594 else
16595 eval "$as_ac_File=no"
16598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16599 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16600 if test `eval echo '${'$as_ac_File'}'` = yes; then
16602 else
16603 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
16604 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
16605 { (exit 1); exit 1; }; }
16609 else
16610 WITH_GJDOC=no
16615 if test "x${WITH_GJDOC}" = xyes; then
16616 CREATE_API_DOCS_TRUE=
16617 CREATE_API_DOCS_FALSE='#'
16618 else
16619 CREATE_API_DOCS_TRUE='#'
16620 CREATE_API_DOCS_FALSE=
16627 # Check whether --with-jay or --without-jay was given.
16628 if test "${with_jay+set}" = set; then
16629 withval="$with_jay"
16631 if test -d "${withval}"; then
16632 JAY_DIR_PATH="${withval}"
16633 # Extract the first word of "jay", so it can be a program name with args.
16634 set dummy jay; ac_word=$2
16635 echo "$as_me:$LINENO: checking for $ac_word" >&5
16636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16637 if test "${ac_cv_path_JAY+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 else
16640 case $JAY in
16641 [\\/]* | ?:[\\/]*)
16642 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
16645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16646 for as_dir in ${JAY_DIR_PATH}
16648 IFS=$as_save_IFS
16649 test -z "$as_dir" && as_dir=.
16650 for ac_exec_ext in '' $ac_executable_extensions; do
16651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16652 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
16653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16654 break 2
16656 done
16657 done
16659 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
16661 esac
16663 JAY=$ac_cv_path_JAY
16665 if test -n "$JAY"; then
16666 echo "$as_me:$LINENO: result: $JAY" >&5
16667 echo "${ECHO_T}$JAY" >&6
16668 else
16669 echo "$as_me:$LINENO: result: no" >&5
16670 echo "${ECHO_T}no" >&6
16673 if test "x${JAY}" = xno; then
16674 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
16675 echo "$as_me: error: \"jay executable not found\"" >&2;}
16676 { (exit 1); exit 1; }; };
16678 else
16679 JAY_DIR_PATH=`dirname "${withval}"`
16680 JAY="${withval}"
16683 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
16684 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
16685 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
16686 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
16687 if eval "test \"\${$as_ac_File+set}\" = set"; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 else
16690 test "$cross_compiling" = yes &&
16691 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16692 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16693 { (exit 1); exit 1; }; }
16694 if test -r "${JAY_SKELETON}"; then
16695 eval "$as_ac_File=yes"
16696 else
16697 eval "$as_ac_File=no"
16700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16701 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16702 if test `eval echo '${'$as_ac_File'}'` = yes; then
16704 else
16705 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
16706 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
16707 { (exit 1); exit 1; }; }
16710 JAY_FOUND=yes
16712 else
16714 JAY_FOUND=no
16719 if test "x${JAY_FOUND}" = xyes; then
16720 REGEN_PARSERS_TRUE=
16721 REGEN_PARSERS_FALSE='#'
16722 else
16723 REGEN_PARSERS_TRUE='#'
16724 REGEN_PARSERS_FALSE=
16729 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
16730 if test "${enable_portable_native_sync+set}" = set; then
16731 enableval="$enable_portable_native_sync"
16732 case "${enableval}" in
16733 yes)
16735 cat >>confdefs.h <<\_ACEOF
16736 #define PORTABLE_NATIVE_SYNC 1
16737 _ACEOF
16740 no) ;;
16742 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
16743 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
16744 { (exit 1); exit 1; }; }
16746 esac
16749 # ------ AX CREATE STDINT H -------------------------------------
16750 echo "$as_me:$LINENO: checking for stdint types" >&5
16751 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
16752 ac_stdint_h=`echo include/config-int.h`
16753 # try to shortcircuit - if the default include path of the compiler
16754 # can find a "stdint.h" header then we assume that all compilers can.
16755 if test "${ac_cv_header_stdint_t+set}" = set; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 else
16759 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
16760 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
16761 old_CFLAGS="$CFLAGS" ; CFLAGS=""
16762 cat >conftest.$ac_ext <<_ACEOF
16763 /* confdefs.h. */
16764 _ACEOF
16765 cat confdefs.h >>conftest.$ac_ext
16766 cat >>conftest.$ac_ext <<_ACEOF
16767 /* end confdefs.h. */
16768 #include <stdint.h>
16770 main ()
16772 int_least32_t v = 0;
16774 return 0;
16776 _ACEOF
16777 rm -f conftest.$ac_objext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16779 (eval $ac_compile) 2>conftest.er1
16780 ac_status=$?
16781 grep -v '^ *+' conftest.er1 >conftest.err
16782 rm -f conftest.er1
16783 cat conftest.err >&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } &&
16786 { ac_try='test -z "$ac_c_werror_flag"
16787 || test ! -s conftest.err'
16788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16789 (eval $ac_try) 2>&5
16790 ac_status=$?
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }; } &&
16793 { ac_try='test -s conftest.$ac_objext'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16796 ac_status=$?
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; }; then
16799 ac_cv_stdint_result="(assuming C99 compatible system)"
16800 ac_cv_header_stdint_t="stdint.h";
16801 else
16802 echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.$ac_ext >&5
16805 ac_cv_header_stdint_t=""
16807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16808 CXXFLAGS="$old_CXXFLAGS"
16809 CPPFLAGS="$old_CPPFLAGS"
16810 CFLAGS="$old_CFLAGS"
16814 v="... $ac_cv_header_stdint_h"
16815 if test "$ac_stdint_h" = "stdint.h" ; then
16816 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
16817 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
16818 elif test "$ac_stdint_h" = "inttypes.h" ; then
16819 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
16820 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
16821 elif test "_$ac_cv_header_stdint_t" = "_" ; then
16822 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
16823 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
16824 else
16825 ac_cv_header_stdint="$ac_cv_header_stdint_t"
16826 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
16827 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
16830 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
16833 inttype_headers=`echo | sed -e 's/,/ /g'`
16835 ac_cv_stdint_result="(no helpful system typedefs seen)"
16837 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16838 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16839 if test "${ac_cv_header_stdint_x+set}" = set; then
16840 echo $ECHO_N "(cached) $ECHO_C" >&6
16841 else
16843 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
16844 echo "$as_me:$LINENO: result: (..)" >&5
16845 echo "${ECHO_T}(..)" >&6
16846 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
16847 unset ac_cv_type_uintptr_t
16848 unset ac_cv_type_uint64_t
16849 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16850 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16851 if test "${ac_cv_type_uintptr_t+set}" = set; then
16852 echo $ECHO_N "(cached) $ECHO_C" >&6
16853 else
16854 cat >conftest.$ac_ext <<_ACEOF
16855 /* confdefs.h. */
16856 _ACEOF
16857 cat confdefs.h >>conftest.$ac_ext
16858 cat >>conftest.$ac_ext <<_ACEOF
16859 /* end confdefs.h. */
16860 #include <$i>
16863 main ()
16865 if ((uintptr_t *) 0)
16866 return 0;
16867 if (sizeof (uintptr_t))
16868 return 0;
16870 return 0;
16872 _ACEOF
16873 rm -f conftest.$ac_objext
16874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16875 (eval $ac_compile) 2>conftest.er1
16876 ac_status=$?
16877 grep -v '^ *+' conftest.er1 >conftest.err
16878 rm -f conftest.er1
16879 cat conftest.err >&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); } &&
16882 { ac_try='test -z "$ac_c_werror_flag"
16883 || test ! -s conftest.err'
16884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16885 (eval $ac_try) 2>&5
16886 ac_status=$?
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); }; } &&
16889 { ac_try='test -s conftest.$ac_objext'
16890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16891 (eval $ac_try) 2>&5
16892 ac_status=$?
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); }; }; then
16895 ac_cv_type_uintptr_t=yes
16896 else
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.$ac_ext >&5
16900 ac_cv_type_uintptr_t=no
16902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16904 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16905 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16906 if test $ac_cv_type_uintptr_t = yes; then
16907 ac_cv_header_stdint_x=$i
16908 else
16909 continue
16912 echo "$as_me:$LINENO: checking for uint64_t" >&5
16913 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16914 if test "${ac_cv_type_uint64_t+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917 cat >conftest.$ac_ext <<_ACEOF
16918 /* confdefs.h. */
16919 _ACEOF
16920 cat confdefs.h >>conftest.$ac_ext
16921 cat >>conftest.$ac_ext <<_ACEOF
16922 /* end confdefs.h. */
16923 #include<$i>
16926 main ()
16928 if ((uint64_t *) 0)
16929 return 0;
16930 if (sizeof (uint64_t))
16931 return 0;
16933 return 0;
16935 _ACEOF
16936 rm -f conftest.$ac_objext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16938 (eval $ac_compile) 2>conftest.er1
16939 ac_status=$?
16940 grep -v '^ *+' conftest.er1 >conftest.err
16941 rm -f conftest.er1
16942 cat conftest.err >&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } &&
16945 { ac_try='test -z "$ac_c_werror_flag"
16946 || test ! -s conftest.err'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16949 ac_status=$?
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; } &&
16952 { ac_try='test -s conftest.$ac_objext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16955 ac_status=$?
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_cv_type_uint64_t=yes
16959 else
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16963 ac_cv_type_uint64_t=no
16965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16967 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16968 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16969 if test $ac_cv_type_uint64_t = yes; then
16970 and64="/uint64_t"
16971 else
16972 and64=""
16975 stdint.h inttypes.h sys/inttypes.h $inttype_headers
16976 break
16977 done
16978 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16979 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16982 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
16983 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
16986 if test "_$ac_cv_header_stdint_x" = "_" ; then
16988 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16989 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16990 if test "${ac_cv_header_stdint_o+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 else
16994 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
16995 echo "$as_me:$LINENO: result: (..)" >&5
16996 echo "${ECHO_T}(..)" >&6
16997 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
16998 unset ac_cv_type_uint32_t
16999 unset ac_cv_type_uint64_t
17000 echo "$as_me:$LINENO: checking for uint32_t" >&5
17001 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
17002 if test "${ac_cv_type_uint32_t+set}" = set; then
17003 echo $ECHO_N "(cached) $ECHO_C" >&6
17004 else
17005 cat >conftest.$ac_ext <<_ACEOF
17006 /* confdefs.h. */
17007 _ACEOF
17008 cat confdefs.h >>conftest.$ac_ext
17009 cat >>conftest.$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 #include <$i>
17014 main ()
17016 if ((uint32_t *) 0)
17017 return 0;
17018 if (sizeof (uint32_t))
17019 return 0;
17021 return 0;
17023 _ACEOF
17024 rm -f conftest.$ac_objext
17025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17026 (eval $ac_compile) 2>conftest.er1
17027 ac_status=$?
17028 grep -v '^ *+' conftest.er1 >conftest.err
17029 rm -f conftest.er1
17030 cat conftest.err >&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } &&
17033 { ac_try='test -z "$ac_c_werror_flag"
17034 || test ! -s conftest.err'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17037 ac_status=$?
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; } &&
17040 { ac_try='test -s conftest.$ac_objext'
17041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17042 (eval $ac_try) 2>&5
17043 ac_status=$?
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); }; }; then
17046 ac_cv_type_uint32_t=yes
17047 else
17048 echo "$as_me: failed program was:" >&5
17049 sed 's/^/| /' conftest.$ac_ext >&5
17051 ac_cv_type_uint32_t=no
17053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17055 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
17056 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
17057 if test $ac_cv_type_uint32_t = yes; then
17058 ac_cv_header_stdint_o=$i
17059 else
17060 continue
17063 echo "$as_me:$LINENO: checking for uint64_t" >&5
17064 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
17065 if test "${ac_cv_type_uint64_t+set}" = set; then
17066 echo $ECHO_N "(cached) $ECHO_C" >&6
17067 else
17068 cat >conftest.$ac_ext <<_ACEOF
17069 /* confdefs.h. */
17070 _ACEOF
17071 cat confdefs.h >>conftest.$ac_ext
17072 cat >>conftest.$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17074 #include<$i>
17077 main ()
17079 if ((uint64_t *) 0)
17080 return 0;
17081 if (sizeof (uint64_t))
17082 return 0;
17084 return 0;
17086 _ACEOF
17087 rm -f conftest.$ac_objext
17088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17089 (eval $ac_compile) 2>conftest.er1
17090 ac_status=$?
17091 grep -v '^ *+' conftest.er1 >conftest.err
17092 rm -f conftest.er1
17093 cat conftest.err >&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } &&
17096 { ac_try='test -z "$ac_c_werror_flag"
17097 || test ! -s conftest.err'
17098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099 (eval $ac_try) 2>&5
17100 ac_status=$?
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); }; } &&
17103 { ac_try='test -s conftest.$ac_objext'
17104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17105 (eval $ac_try) 2>&5
17106 ac_status=$?
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; }; then
17109 ac_cv_type_uint64_t=yes
17110 else
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17114 ac_cv_type_uint64_t=no
17116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17118 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
17119 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
17120 if test $ac_cv_type_uint64_t = yes; then
17121 and64="/uint64_t"
17122 else
17123 and64=""
17126 inttypes.h sys/inttypes.h stdint.h $inttype_headers
17127 break
17128 break;
17129 done
17130 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
17131 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
17134 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
17135 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
17139 if test "_$ac_cv_header_stdint_x" = "_" ; then
17140 if test "_$ac_cv_header_stdint_o" = "_" ; then
17142 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17143 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17144 if test "${ac_cv_header_stdint_u+set}" = set; then
17145 echo $ECHO_N "(cached) $ECHO_C" >&6
17146 else
17148 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
17149 echo "$as_me:$LINENO: result: (..)" >&5
17150 echo "${ECHO_T}(..)" >&6
17151 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
17152 unset ac_cv_type_u_int32_t
17153 unset ac_cv_type_u_int64_t
17154 echo "$as_me:$LINENO: checking for u_int32_t" >&5
17155 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
17156 if test "${ac_cv_type_u_int32_t+set}" = set; then
17157 echo $ECHO_N "(cached) $ECHO_C" >&6
17158 else
17159 cat >conftest.$ac_ext <<_ACEOF
17160 /* confdefs.h. */
17161 _ACEOF
17162 cat confdefs.h >>conftest.$ac_ext
17163 cat >>conftest.$ac_ext <<_ACEOF
17164 /* end confdefs.h. */
17165 #include <$i>
17168 main ()
17170 if ((u_int32_t *) 0)
17171 return 0;
17172 if (sizeof (u_int32_t))
17173 return 0;
17175 return 0;
17177 _ACEOF
17178 rm -f conftest.$ac_objext
17179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17180 (eval $ac_compile) 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } &&
17187 { ac_try='test -z "$ac_c_werror_flag"
17188 || test ! -s conftest.err'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17191 ac_status=$?
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; } &&
17194 { ac_try='test -s conftest.$ac_objext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 ac_cv_type_u_int32_t=yes
17201 else
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17205 ac_cv_type_u_int32_t=no
17207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17209 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
17210 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
17211 if test $ac_cv_type_u_int32_t = yes; then
17212 ac_cv_header_stdint_u=$i
17213 else
17214 continue
17217 echo "$as_me:$LINENO: checking for u_int64_t" >&5
17218 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
17219 if test "${ac_cv_type_u_int64_t+set}" = set; then
17220 echo $ECHO_N "(cached) $ECHO_C" >&6
17221 else
17222 cat >conftest.$ac_ext <<_ACEOF
17223 /* confdefs.h. */
17224 _ACEOF
17225 cat confdefs.h >>conftest.$ac_ext
17226 cat >>conftest.$ac_ext <<_ACEOF
17227 /* end confdefs.h. */
17228 #include<$i>
17231 main ()
17233 if ((u_int64_t *) 0)
17234 return 0;
17235 if (sizeof (u_int64_t))
17236 return 0;
17238 return 0;
17240 _ACEOF
17241 rm -f conftest.$ac_objext
17242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17243 (eval $ac_compile) 2>conftest.er1
17244 ac_status=$?
17245 grep -v '^ *+' conftest.er1 >conftest.err
17246 rm -f conftest.er1
17247 cat conftest.err >&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } &&
17250 { ac_try='test -z "$ac_c_werror_flag"
17251 || test ! -s conftest.err'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17254 ac_status=$?
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; } &&
17257 { ac_try='test -s conftest.$ac_objext'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17260 ac_status=$?
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; }; then
17263 ac_cv_type_u_int64_t=yes
17264 else
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17268 ac_cv_type_u_int64_t=no
17270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17272 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17273 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
17274 if test $ac_cv_type_u_int64_t = yes; then
17275 and64="/u_int64_t"
17276 else
17277 and64=""
17280 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
17281 break
17282 break;
17283 done
17284 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17285 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17288 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
17289 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
17291 fi fi
17293 if test "_$ac_cv_header_stdint_x" = "_" ; then
17294 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
17295 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
17296 echo "$as_me:$LINENO: result: (..)" >&5
17297 echo "${ECHO_T}(..)" >&6
17299 echo "$as_me:$LINENO: checking for char" >&5
17300 echo $ECHO_N "checking for char... $ECHO_C" >&6
17301 if test "${ac_cv_type_char+set}" = set; then
17302 echo $ECHO_N "(cached) $ECHO_C" >&6
17303 else
17304 cat >conftest.$ac_ext <<_ACEOF
17305 /* confdefs.h. */
17306 _ACEOF
17307 cat confdefs.h >>conftest.$ac_ext
17308 cat >>conftest.$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17310 $ac_includes_default
17312 main ()
17314 if ((char *) 0)
17315 return 0;
17316 if (sizeof (char))
17317 return 0;
17319 return 0;
17321 _ACEOF
17322 rm -f conftest.$ac_objext
17323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17324 (eval $ac_compile) 2>conftest.er1
17325 ac_status=$?
17326 grep -v '^ *+' conftest.er1 >conftest.err
17327 rm -f conftest.er1
17328 cat conftest.err >&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); } &&
17331 { ac_try='test -z "$ac_c_werror_flag"
17332 || test ! -s conftest.err'
17333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17334 (eval $ac_try) 2>&5
17335 ac_status=$?
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); }; } &&
17338 { ac_try='test -s conftest.$ac_objext'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17341 ac_status=$?
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; }; then
17344 ac_cv_type_char=yes
17345 else
17346 echo "$as_me: failed program was:" >&5
17347 sed 's/^/| /' conftest.$ac_ext >&5
17349 ac_cv_type_char=no
17351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17353 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17354 echo "${ECHO_T}$ac_cv_type_char" >&6
17356 echo "$as_me:$LINENO: checking size of char" >&5
17357 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17358 if test "${ac_cv_sizeof_char+set}" = set; then
17359 echo $ECHO_N "(cached) $ECHO_C" >&6
17360 else
17361 if test "$ac_cv_type_char" = yes; then
17362 # The cast to unsigned long works around a bug in the HP C Compiler
17363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17364 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17365 # This bug is HP SR number 8606223364.
17366 if test "$cross_compiling" = yes; then
17367 # Depending upon the size, compute the lo and hi bounds.
17368 cat >conftest.$ac_ext <<_ACEOF
17369 /* confdefs.h. */
17370 _ACEOF
17371 cat confdefs.h >>conftest.$ac_ext
17372 cat >>conftest.$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17374 $ac_includes_default
17376 main ()
17378 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17379 test_array [0] = 0
17382 return 0;
17384 _ACEOF
17385 rm -f conftest.$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387 (eval $ac_compile) 2>conftest.er1
17388 ac_status=$?
17389 grep -v '^ *+' conftest.er1 >conftest.err
17390 rm -f conftest.er1
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try='test -z "$ac_c_werror_flag"
17395 || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17398 ac_status=$?
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17404 ac_status=$?
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17407 ac_lo=0 ac_mid=0
17408 while :; do
17409 cat >conftest.$ac_ext <<_ACEOF
17410 /* confdefs.h. */
17411 _ACEOF
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415 $ac_includes_default
17417 main ()
17419 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17420 test_array [0] = 0
17423 return 0;
17425 _ACEOF
17426 rm -f conftest.$ac_objext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428 (eval $ac_compile) 2>conftest.er1
17429 ac_status=$?
17430 grep -v '^ *+' conftest.er1 >conftest.err
17431 rm -f conftest.er1
17432 cat conftest.err >&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } &&
17435 { ac_try='test -z "$ac_c_werror_flag"
17436 || test ! -s conftest.err'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17439 ac_status=$?
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; } &&
17442 { ac_try='test -s conftest.$ac_objext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17445 ac_status=$?
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17448 ac_hi=$ac_mid; break
17449 else
17450 echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5
17453 ac_lo=`expr $ac_mid + 1`
17454 if test $ac_lo -le $ac_mid; then
17455 ac_lo= ac_hi=
17456 break
17458 ac_mid=`expr 2 '*' $ac_mid + 1`
17460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17461 done
17462 else
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17466 cat >conftest.$ac_ext <<_ACEOF
17467 /* confdefs.h. */
17468 _ACEOF
17469 cat confdefs.h >>conftest.$ac_ext
17470 cat >>conftest.$ac_ext <<_ACEOF
17471 /* end confdefs.h. */
17472 $ac_includes_default
17474 main ()
17476 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17477 test_array [0] = 0
17480 return 0;
17482 _ACEOF
17483 rm -f conftest.$ac_objext
17484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17485 (eval $ac_compile) 2>conftest.er1
17486 ac_status=$?
17487 grep -v '^ *+' conftest.er1 >conftest.err
17488 rm -f conftest.er1
17489 cat conftest.err >&5
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); } &&
17492 { ac_try='test -z "$ac_c_werror_flag"
17493 || test ! -s conftest.err'
17494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17495 (eval $ac_try) 2>&5
17496 ac_status=$?
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; } &&
17499 { ac_try='test -s conftest.$ac_objext'
17500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17501 (eval $ac_try) 2>&5
17502 ac_status=$?
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; }; then
17505 ac_hi=-1 ac_mid=-1
17506 while :; do
17507 cat >conftest.$ac_ext <<_ACEOF
17508 /* confdefs.h. */
17509 _ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 $ac_includes_default
17515 main ()
17517 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17518 test_array [0] = 0
17521 return 0;
17523 _ACEOF
17524 rm -f conftest.$ac_objext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17526 (eval $ac_compile) 2>conftest.er1
17527 ac_status=$?
17528 grep -v '^ *+' conftest.er1 >conftest.err
17529 rm -f conftest.er1
17530 cat conftest.err >&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } &&
17533 { ac_try='test -z "$ac_c_werror_flag"
17534 || test ! -s conftest.err'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17537 ac_status=$?
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; } &&
17540 { ac_try='test -s conftest.$ac_objext'
17541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542 (eval $ac_try) 2>&5
17543 ac_status=$?
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); }; }; then
17546 ac_lo=$ac_mid; break
17547 else
17548 echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.$ac_ext >&5
17551 ac_hi=`expr '(' $ac_mid ')' - 1`
17552 if test $ac_mid -le $ac_hi; then
17553 ac_lo= ac_hi=
17554 break
17556 ac_mid=`expr 2 '*' $ac_mid`
17558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17559 done
17560 else
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.$ac_ext >&5
17564 ac_lo= ac_hi=
17566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17569 # Binary search between lo and hi bounds.
17570 while test "x$ac_lo" != "x$ac_hi"; do
17571 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17572 cat >conftest.$ac_ext <<_ACEOF
17573 /* confdefs.h. */
17574 _ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 $ac_includes_default
17580 main ()
17582 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17583 test_array [0] = 0
17586 return 0;
17588 _ACEOF
17589 rm -f conftest.$ac_objext
17590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17591 (eval $ac_compile) 2>conftest.er1
17592 ac_status=$?
17593 grep -v '^ *+' conftest.er1 >conftest.err
17594 rm -f conftest.er1
17595 cat conftest.err >&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); } &&
17598 { ac_try='test -z "$ac_c_werror_flag"
17599 || test ! -s conftest.err'
17600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17601 (eval $ac_try) 2>&5
17602 ac_status=$?
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); }; } &&
17605 { ac_try='test -s conftest.$ac_objext'
17606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17607 (eval $ac_try) 2>&5
17608 ac_status=$?
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); }; }; then
17611 ac_hi=$ac_mid
17612 else
17613 echo "$as_me: failed program was:" >&5
17614 sed 's/^/| /' conftest.$ac_ext >&5
17616 ac_lo=`expr '(' $ac_mid ')' + 1`
17618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17619 done
17620 case $ac_lo in
17621 ?*) ac_cv_sizeof_char=$ac_lo;;
17622 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17623 See \`config.log' for more details." >&5
17624 echo "$as_me: error: cannot compute sizeof (char), 77
17625 See \`config.log' for more details." >&2;}
17626 { (exit 1); exit 1; }; } ;;
17627 esac
17628 else
17629 if test "$cross_compiling" = yes; then
17630 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17631 See \`config.log' for more details." >&5
17632 echo "$as_me: error: cannot run test program while cross compiling
17633 See \`config.log' for more details." >&2;}
17634 { (exit 1); exit 1; }; }
17635 else
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h. */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 $ac_includes_default
17643 long longval () { return (long) (sizeof (char)); }
17644 unsigned long ulongval () { return (long) (sizeof (char)); }
17645 #include <stdio.h>
17646 #include <stdlib.h>
17648 main ()
17651 FILE *f = fopen ("conftest.val", "w");
17652 if (! f)
17653 exit (1);
17654 if (((long) (sizeof (char))) < 0)
17656 long i = longval ();
17657 if (i != ((long) (sizeof (char))))
17658 exit (1);
17659 fprintf (f, "%ld\n", i);
17661 else
17663 unsigned long i = ulongval ();
17664 if (i != ((long) (sizeof (char))))
17665 exit (1);
17666 fprintf (f, "%lu\n", i);
17668 exit (ferror (f) || fclose (f) != 0);
17671 return 0;
17673 _ACEOF
17674 rm -f conftest$ac_exeext
17675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17676 (eval $ac_link) 2>&5
17677 ac_status=$?
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17681 (eval $ac_try) 2>&5
17682 ac_status=$?
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); }; }; then
17685 ac_cv_sizeof_char=`cat conftest.val`
17686 else
17687 echo "$as_me: program exited with status $ac_status" >&5
17688 echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.$ac_ext >&5
17691 ( exit $ac_status )
17692 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17693 See \`config.log' for more details." >&5
17694 echo "$as_me: error: cannot compute sizeof (char), 77
17695 See \`config.log' for more details." >&2;}
17696 { (exit 1); exit 1; }; }
17698 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17701 rm -f conftest.val
17702 else
17703 ac_cv_sizeof_char=0
17706 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17707 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17708 cat >>confdefs.h <<_ACEOF
17709 #define SIZEOF_CHAR $ac_cv_sizeof_char
17710 _ACEOF
17713 echo "$as_me:$LINENO: checking for short" >&5
17714 echo $ECHO_N "checking for short... $ECHO_C" >&6
17715 if test "${ac_cv_type_short+set}" = set; then
17716 echo $ECHO_N "(cached) $ECHO_C" >&6
17717 else
17718 cat >conftest.$ac_ext <<_ACEOF
17719 /* confdefs.h. */
17720 _ACEOF
17721 cat confdefs.h >>conftest.$ac_ext
17722 cat >>conftest.$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17724 $ac_includes_default
17726 main ()
17728 if ((short *) 0)
17729 return 0;
17730 if (sizeof (short))
17731 return 0;
17733 return 0;
17735 _ACEOF
17736 rm -f conftest.$ac_objext
17737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17738 (eval $ac_compile) 2>conftest.er1
17739 ac_status=$?
17740 grep -v '^ *+' conftest.er1 >conftest.err
17741 rm -f conftest.er1
17742 cat conftest.err >&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } &&
17745 { ac_try='test -z "$ac_c_werror_flag"
17746 || test ! -s conftest.err'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17749 ac_status=$?
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; } &&
17752 { ac_try='test -s conftest.$ac_objext'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17755 ac_status=$?
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17758 ac_cv_type_short=yes
17759 else
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17763 ac_cv_type_short=no
17765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17767 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17768 echo "${ECHO_T}$ac_cv_type_short" >&6
17770 echo "$as_me:$LINENO: checking size of short" >&5
17771 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17772 if test "${ac_cv_sizeof_short+set}" = set; then
17773 echo $ECHO_N "(cached) $ECHO_C" >&6
17774 else
17775 if test "$ac_cv_type_short" = yes; then
17776 # The cast to unsigned long works around a bug in the HP C Compiler
17777 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17778 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17779 # This bug is HP SR number 8606223364.
17780 if test "$cross_compiling" = yes; then
17781 # Depending upon the size, compute the lo and hi bounds.
17782 cat >conftest.$ac_ext <<_ACEOF
17783 /* confdefs.h. */
17784 _ACEOF
17785 cat confdefs.h >>conftest.$ac_ext
17786 cat >>conftest.$ac_ext <<_ACEOF
17787 /* end confdefs.h. */
17788 $ac_includes_default
17790 main ()
17792 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17793 test_array [0] = 0
17796 return 0;
17798 _ACEOF
17799 rm -f conftest.$ac_objext
17800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17801 (eval $ac_compile) 2>conftest.er1
17802 ac_status=$?
17803 grep -v '^ *+' conftest.er1 >conftest.err
17804 rm -f conftest.er1
17805 cat conftest.err >&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); } &&
17808 { ac_try='test -z "$ac_c_werror_flag"
17809 || test ! -s conftest.err'
17810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17811 (eval $ac_try) 2>&5
17812 ac_status=$?
17813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814 (exit $ac_status); }; } &&
17815 { ac_try='test -s conftest.$ac_objext'
17816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817 (eval $ac_try) 2>&5
17818 ac_status=$?
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); }; }; then
17821 ac_lo=0 ac_mid=0
17822 while :; do
17823 cat >conftest.$ac_ext <<_ACEOF
17824 /* confdefs.h. */
17825 _ACEOF
17826 cat confdefs.h >>conftest.$ac_ext
17827 cat >>conftest.$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 $ac_includes_default
17831 main ()
17833 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17834 test_array [0] = 0
17837 return 0;
17839 _ACEOF
17840 rm -f conftest.$ac_objext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17842 (eval $ac_compile) 2>conftest.er1
17843 ac_status=$?
17844 grep -v '^ *+' conftest.er1 >conftest.err
17845 rm -f conftest.er1
17846 cat conftest.err >&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } &&
17849 { ac_try='test -z "$ac_c_werror_flag"
17850 || test ! -s conftest.err'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17853 ac_status=$?
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; } &&
17856 { ac_try='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17862 ac_hi=$ac_mid; break
17863 else
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17867 ac_lo=`expr $ac_mid + 1`
17868 if test $ac_lo -le $ac_mid; then
17869 ac_lo= ac_hi=
17870 break
17872 ac_mid=`expr 2 '*' $ac_mid + 1`
17874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17875 done
17876 else
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.$ac_ext >&5
17880 cat >conftest.$ac_ext <<_ACEOF
17881 /* confdefs.h. */
17882 _ACEOF
17883 cat confdefs.h >>conftest.$ac_ext
17884 cat >>conftest.$ac_ext <<_ACEOF
17885 /* end confdefs.h. */
17886 $ac_includes_default
17888 main ()
17890 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17891 test_array [0] = 0
17894 return 0;
17896 _ACEOF
17897 rm -f conftest.$ac_objext
17898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17899 (eval $ac_compile) 2>conftest.er1
17900 ac_status=$?
17901 grep -v '^ *+' conftest.er1 >conftest.err
17902 rm -f conftest.er1
17903 cat conftest.err >&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } &&
17906 { ac_try='test -z "$ac_c_werror_flag"
17907 || test ! -s conftest.err'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17910 ac_status=$?
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; } &&
17913 { ac_try='test -s conftest.$ac_objext'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17916 ac_status=$?
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; }; then
17919 ac_hi=-1 ac_mid=-1
17920 while :; do
17921 cat >conftest.$ac_ext <<_ACEOF
17922 /* confdefs.h. */
17923 _ACEOF
17924 cat confdefs.h >>conftest.$ac_ext
17925 cat >>conftest.$ac_ext <<_ACEOF
17926 /* end confdefs.h. */
17927 $ac_includes_default
17929 main ()
17931 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17932 test_array [0] = 0
17935 return 0;
17937 _ACEOF
17938 rm -f conftest.$ac_objext
17939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17940 (eval $ac_compile) 2>conftest.er1
17941 ac_status=$?
17942 grep -v '^ *+' conftest.er1 >conftest.err
17943 rm -f conftest.er1
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } &&
17947 { ac_try='test -z "$ac_c_werror_flag"
17948 || test ! -s conftest.err'
17949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17950 (eval $ac_try) 2>&5
17951 ac_status=$?
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); }; } &&
17954 { ac_try='test -s conftest.$ac_objext'
17955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17956 (eval $ac_try) 2>&5
17957 ac_status=$?
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; }; then
17960 ac_lo=$ac_mid; break
17961 else
17962 echo "$as_me: failed program was:" >&5
17963 sed 's/^/| /' conftest.$ac_ext >&5
17965 ac_hi=`expr '(' $ac_mid ')' - 1`
17966 if test $ac_mid -le $ac_hi; then
17967 ac_lo= ac_hi=
17968 break
17970 ac_mid=`expr 2 '*' $ac_mid`
17972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17973 done
17974 else
17975 echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.$ac_ext >&5
17978 ac_lo= ac_hi=
17980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17983 # Binary search between lo and hi bounds.
17984 while test "x$ac_lo" != "x$ac_hi"; do
17985 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17986 cat >conftest.$ac_ext <<_ACEOF
17987 /* confdefs.h. */
17988 _ACEOF
17989 cat confdefs.h >>conftest.$ac_ext
17990 cat >>conftest.$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
17992 $ac_includes_default
17994 main ()
17996 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17997 test_array [0] = 0
18000 return 0;
18002 _ACEOF
18003 rm -f conftest.$ac_objext
18004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18005 (eval $ac_compile) 2>conftest.er1
18006 ac_status=$?
18007 grep -v '^ *+' conftest.er1 >conftest.err
18008 rm -f conftest.er1
18009 cat conftest.err >&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); } &&
18012 { ac_try='test -z "$ac_c_werror_flag"
18013 || test ! -s conftest.err'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18016 ac_status=$?
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; } &&
18019 { ac_try='test -s conftest.$ac_objext'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18022 ac_status=$?
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; }; then
18025 ac_hi=$ac_mid
18026 else
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18030 ac_lo=`expr '(' $ac_mid ')' + 1`
18032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18033 done
18034 case $ac_lo in
18035 ?*) ac_cv_sizeof_short=$ac_lo;;
18036 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18037 See \`config.log' for more details." >&5
18038 echo "$as_me: error: cannot compute sizeof (short), 77
18039 See \`config.log' for more details." >&2;}
18040 { (exit 1); exit 1; }; } ;;
18041 esac
18042 else
18043 if test "$cross_compiling" = yes; then
18044 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18045 See \`config.log' for more details." >&5
18046 echo "$as_me: error: cannot run test program while cross compiling
18047 See \`config.log' for more details." >&2;}
18048 { (exit 1); exit 1; }; }
18049 else
18050 cat >conftest.$ac_ext <<_ACEOF
18051 /* confdefs.h. */
18052 _ACEOF
18053 cat confdefs.h >>conftest.$ac_ext
18054 cat >>conftest.$ac_ext <<_ACEOF
18055 /* end confdefs.h. */
18056 $ac_includes_default
18057 long longval () { return (long) (sizeof (short)); }
18058 unsigned long ulongval () { return (long) (sizeof (short)); }
18059 #include <stdio.h>
18060 #include <stdlib.h>
18062 main ()
18065 FILE *f = fopen ("conftest.val", "w");
18066 if (! f)
18067 exit (1);
18068 if (((long) (sizeof (short))) < 0)
18070 long i = longval ();
18071 if (i != ((long) (sizeof (short))))
18072 exit (1);
18073 fprintf (f, "%ld\n", i);
18075 else
18077 unsigned long i = ulongval ();
18078 if (i != ((long) (sizeof (short))))
18079 exit (1);
18080 fprintf (f, "%lu\n", i);
18082 exit (ferror (f) || fclose (f) != 0);
18085 return 0;
18087 _ACEOF
18088 rm -f conftest$ac_exeext
18089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18090 (eval $ac_link) 2>&5
18091 ac_status=$?
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18095 (eval $ac_try) 2>&5
18096 ac_status=$?
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); }; }; then
18099 ac_cv_sizeof_short=`cat conftest.val`
18100 else
18101 echo "$as_me: program exited with status $ac_status" >&5
18102 echo "$as_me: failed program was:" >&5
18103 sed 's/^/| /' conftest.$ac_ext >&5
18105 ( exit $ac_status )
18106 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18107 See \`config.log' for more details." >&5
18108 echo "$as_me: error: cannot compute sizeof (short), 77
18109 See \`config.log' for more details." >&2;}
18110 { (exit 1); exit 1; }; }
18112 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18115 rm -f conftest.val
18116 else
18117 ac_cv_sizeof_short=0
18120 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18121 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18122 cat >>confdefs.h <<_ACEOF
18123 #define SIZEOF_SHORT $ac_cv_sizeof_short
18124 _ACEOF
18127 echo "$as_me:$LINENO: checking for int" >&5
18128 echo $ECHO_N "checking for int... $ECHO_C" >&6
18129 if test "${ac_cv_type_int+set}" = set; then
18130 echo $ECHO_N "(cached) $ECHO_C" >&6
18131 else
18132 cat >conftest.$ac_ext <<_ACEOF
18133 /* confdefs.h. */
18134 _ACEOF
18135 cat confdefs.h >>conftest.$ac_ext
18136 cat >>conftest.$ac_ext <<_ACEOF
18137 /* end confdefs.h. */
18138 $ac_includes_default
18140 main ()
18142 if ((int *) 0)
18143 return 0;
18144 if (sizeof (int))
18145 return 0;
18147 return 0;
18149 _ACEOF
18150 rm -f conftest.$ac_objext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } &&
18159 { ac_try='test -z "$ac_c_werror_flag"
18160 || test ! -s conftest.err'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18163 ac_status=$?
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; } &&
18166 { ac_try='test -s conftest.$ac_objext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 ac_cv_type_int=yes
18173 else
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18177 ac_cv_type_int=no
18179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18181 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18182 echo "${ECHO_T}$ac_cv_type_int" >&6
18184 echo "$as_me:$LINENO: checking size of int" >&5
18185 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18186 if test "${ac_cv_sizeof_int+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18188 else
18189 if test "$ac_cv_type_int" = yes; then
18190 # The cast to unsigned long works around a bug in the HP C Compiler
18191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18193 # This bug is HP SR number 8606223364.
18194 if test "$cross_compiling" = yes; then
18195 # Depending upon the size, compute the lo and hi bounds.
18196 cat >conftest.$ac_ext <<_ACEOF
18197 /* confdefs.h. */
18198 _ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18204 main ()
18206 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18207 test_array [0] = 0
18210 return 0;
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_c_werror_flag"
18223 || test ! -s conftest.err'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; } &&
18229 { ac_try='test -s conftest.$ac_objext'
18230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18232 ac_status=$?
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); }; }; then
18235 ac_lo=0 ac_mid=0
18236 while :; do
18237 cat >conftest.$ac_ext <<_ACEOF
18238 /* confdefs.h. */
18239 _ACEOF
18240 cat confdefs.h >>conftest.$ac_ext
18241 cat >>conftest.$ac_ext <<_ACEOF
18242 /* end confdefs.h. */
18243 $ac_includes_default
18245 main ()
18247 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18248 test_array [0] = 0
18251 return 0;
18253 _ACEOF
18254 rm -f conftest.$ac_objext
18255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18256 (eval $ac_compile) 2>conftest.er1
18257 ac_status=$?
18258 grep -v '^ *+' conftest.er1 >conftest.err
18259 rm -f conftest.er1
18260 cat conftest.err >&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); } &&
18263 { ac_try='test -z "$ac_c_werror_flag"
18264 || test ! -s conftest.err'
18265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18266 (eval $ac_try) 2>&5
18267 ac_status=$?
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; } &&
18270 { ac_try='test -s conftest.$ac_objext'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18273 ac_status=$?
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; }; then
18276 ac_hi=$ac_mid; break
18277 else
18278 echo "$as_me: failed program was:" >&5
18279 sed 's/^/| /' conftest.$ac_ext >&5
18281 ac_lo=`expr $ac_mid + 1`
18282 if test $ac_lo -le $ac_mid; then
18283 ac_lo= ac_hi=
18284 break
18286 ac_mid=`expr 2 '*' $ac_mid + 1`
18288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18289 done
18290 else
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.$ac_ext >&5
18294 cat >conftest.$ac_ext <<_ACEOF
18295 /* confdefs.h. */
18296 _ACEOF
18297 cat confdefs.h >>conftest.$ac_ext
18298 cat >>conftest.$ac_ext <<_ACEOF
18299 /* end confdefs.h. */
18300 $ac_includes_default
18302 main ()
18304 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18305 test_array [0] = 0
18308 return 0;
18310 _ACEOF
18311 rm -f conftest.$ac_objext
18312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18313 (eval $ac_compile) 2>conftest.er1
18314 ac_status=$?
18315 grep -v '^ *+' conftest.er1 >conftest.err
18316 rm -f conftest.er1
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } &&
18320 { ac_try='test -z "$ac_c_werror_flag"
18321 || test ! -s conftest.err'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; } &&
18327 { ac_try='test -s conftest.$ac_objext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18333 ac_hi=-1 ac_mid=-1
18334 while :; do
18335 cat >conftest.$ac_ext <<_ACEOF
18336 /* confdefs.h. */
18337 _ACEOF
18338 cat confdefs.h >>conftest.$ac_ext
18339 cat >>conftest.$ac_ext <<_ACEOF
18340 /* end confdefs.h. */
18341 $ac_includes_default
18343 main ()
18345 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18346 test_array [0] = 0
18349 return 0;
18351 _ACEOF
18352 rm -f conftest.$ac_objext
18353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18354 (eval $ac_compile) 2>conftest.er1
18355 ac_status=$?
18356 grep -v '^ *+' conftest.er1 >conftest.err
18357 rm -f conftest.er1
18358 cat conftest.err >&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } &&
18361 { ac_try='test -z "$ac_c_werror_flag"
18362 || test ! -s conftest.err'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18365 ac_status=$?
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; } &&
18368 { ac_try='test -s conftest.$ac_objext'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18371 ac_status=$?
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; }; then
18374 ac_lo=$ac_mid; break
18375 else
18376 echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.$ac_ext >&5
18379 ac_hi=`expr '(' $ac_mid ')' - 1`
18380 if test $ac_mid -le $ac_hi; then
18381 ac_lo= ac_hi=
18382 break
18384 ac_mid=`expr 2 '*' $ac_mid`
18386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18387 done
18388 else
18389 echo "$as_me: failed program was:" >&5
18390 sed 's/^/| /' conftest.$ac_ext >&5
18392 ac_lo= ac_hi=
18394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18397 # Binary search between lo and hi bounds.
18398 while test "x$ac_lo" != "x$ac_hi"; do
18399 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18400 cat >conftest.$ac_ext <<_ACEOF
18401 /* confdefs.h. */
18402 _ACEOF
18403 cat confdefs.h >>conftest.$ac_ext
18404 cat >>conftest.$ac_ext <<_ACEOF
18405 /* end confdefs.h. */
18406 $ac_includes_default
18408 main ()
18410 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18411 test_array [0] = 0
18414 return 0;
18416 _ACEOF
18417 rm -f conftest.$ac_objext
18418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18419 (eval $ac_compile) 2>conftest.er1
18420 ac_status=$?
18421 grep -v '^ *+' conftest.er1 >conftest.err
18422 rm -f conftest.er1
18423 cat conftest.err >&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } &&
18426 { ac_try='test -z "$ac_c_werror_flag"
18427 || test ! -s conftest.err'
18428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18429 (eval $ac_try) 2>&5
18430 ac_status=$?
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }; } &&
18433 { ac_try='test -s conftest.$ac_objext'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18436 ac_status=$?
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; }; then
18439 ac_hi=$ac_mid
18440 else
18441 echo "$as_me: failed program was:" >&5
18442 sed 's/^/| /' conftest.$ac_ext >&5
18444 ac_lo=`expr '(' $ac_mid ')' + 1`
18446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18447 done
18448 case $ac_lo in
18449 ?*) ac_cv_sizeof_int=$ac_lo;;
18450 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18451 See \`config.log' for more details." >&5
18452 echo "$as_me: error: cannot compute sizeof (int), 77
18453 See \`config.log' for more details." >&2;}
18454 { (exit 1); exit 1; }; } ;;
18455 esac
18456 else
18457 if test "$cross_compiling" = yes; then
18458 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18459 See \`config.log' for more details." >&5
18460 echo "$as_me: error: cannot run test program while cross compiling
18461 See \`config.log' for more details." >&2;}
18462 { (exit 1); exit 1; }; }
18463 else
18464 cat >conftest.$ac_ext <<_ACEOF
18465 /* confdefs.h. */
18466 _ACEOF
18467 cat confdefs.h >>conftest.$ac_ext
18468 cat >>conftest.$ac_ext <<_ACEOF
18469 /* end confdefs.h. */
18470 $ac_includes_default
18471 long longval () { return (long) (sizeof (int)); }
18472 unsigned long ulongval () { return (long) (sizeof (int)); }
18473 #include <stdio.h>
18474 #include <stdlib.h>
18476 main ()
18479 FILE *f = fopen ("conftest.val", "w");
18480 if (! f)
18481 exit (1);
18482 if (((long) (sizeof (int))) < 0)
18484 long i = longval ();
18485 if (i != ((long) (sizeof (int))))
18486 exit (1);
18487 fprintf (f, "%ld\n", i);
18489 else
18491 unsigned long i = ulongval ();
18492 if (i != ((long) (sizeof (int))))
18493 exit (1);
18494 fprintf (f, "%lu\n", i);
18496 exit (ferror (f) || fclose (f) != 0);
18499 return 0;
18501 _ACEOF
18502 rm -f conftest$ac_exeext
18503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18504 (eval $ac_link) 2>&5
18505 ac_status=$?
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18509 (eval $ac_try) 2>&5
18510 ac_status=$?
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); }; }; then
18513 ac_cv_sizeof_int=`cat conftest.val`
18514 else
18515 echo "$as_me: program exited with status $ac_status" >&5
18516 echo "$as_me: failed program was:" >&5
18517 sed 's/^/| /' conftest.$ac_ext >&5
18519 ( exit $ac_status )
18520 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18521 See \`config.log' for more details." >&5
18522 echo "$as_me: error: cannot compute sizeof (int), 77
18523 See \`config.log' for more details." >&2;}
18524 { (exit 1); exit 1; }; }
18526 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18529 rm -f conftest.val
18530 else
18531 ac_cv_sizeof_int=0
18534 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18535 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18536 cat >>confdefs.h <<_ACEOF
18537 #define SIZEOF_INT $ac_cv_sizeof_int
18538 _ACEOF
18541 echo "$as_me:$LINENO: checking for long" >&5
18542 echo $ECHO_N "checking for long... $ECHO_C" >&6
18543 if test "${ac_cv_type_long+set}" = set; then
18544 echo $ECHO_N "(cached) $ECHO_C" >&6
18545 else
18546 cat >conftest.$ac_ext <<_ACEOF
18547 /* confdefs.h. */
18548 _ACEOF
18549 cat confdefs.h >>conftest.$ac_ext
18550 cat >>conftest.$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 $ac_includes_default
18554 main ()
18556 if ((long *) 0)
18557 return 0;
18558 if (sizeof (long))
18559 return 0;
18561 return 0;
18563 _ACEOF
18564 rm -f conftest.$ac_objext
18565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18566 (eval $ac_compile) 2>conftest.er1
18567 ac_status=$?
18568 grep -v '^ *+' conftest.er1 >conftest.err
18569 rm -f conftest.er1
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } &&
18573 { ac_try='test -z "$ac_c_werror_flag"
18574 || test ! -s conftest.err'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18577 ac_status=$?
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; } &&
18580 { ac_try='test -s conftest.$ac_objext'
18581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18582 (eval $ac_try) 2>&5
18583 ac_status=$?
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); }; }; then
18586 ac_cv_type_long=yes
18587 else
18588 echo "$as_me: failed program was:" >&5
18589 sed 's/^/| /' conftest.$ac_ext >&5
18591 ac_cv_type_long=no
18593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18595 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18596 echo "${ECHO_T}$ac_cv_type_long" >&6
18598 echo "$as_me:$LINENO: checking size of long" >&5
18599 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18600 if test "${ac_cv_sizeof_long+set}" = set; then
18601 echo $ECHO_N "(cached) $ECHO_C" >&6
18602 else
18603 if test "$ac_cv_type_long" = yes; then
18604 # The cast to unsigned long works around a bug in the HP C Compiler
18605 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18606 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18607 # This bug is HP SR number 8606223364.
18608 if test "$cross_compiling" = yes; then
18609 # Depending upon the size, compute the lo and hi bounds.
18610 cat >conftest.$ac_ext <<_ACEOF
18611 /* confdefs.h. */
18612 _ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 $ac_includes_default
18618 main ()
18620 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18621 test_array [0] = 0
18624 return 0;
18626 _ACEOF
18627 rm -f conftest.$ac_objext
18628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18629 (eval $ac_compile) 2>conftest.er1
18630 ac_status=$?
18631 grep -v '^ *+' conftest.er1 >conftest.err
18632 rm -f conftest.er1
18633 cat conftest.err >&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); } &&
18636 { ac_try='test -z "$ac_c_werror_flag"
18637 || test ! -s conftest.err'
18638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18639 (eval $ac_try) 2>&5
18640 ac_status=$?
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); }; } &&
18643 { ac_try='test -s conftest.$ac_objext'
18644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18645 (eval $ac_try) 2>&5
18646 ac_status=$?
18647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18648 (exit $ac_status); }; }; then
18649 ac_lo=0 ac_mid=0
18650 while :; do
18651 cat >conftest.$ac_ext <<_ACEOF
18652 /* confdefs.h. */
18653 _ACEOF
18654 cat confdefs.h >>conftest.$ac_ext
18655 cat >>conftest.$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657 $ac_includes_default
18659 main ()
18661 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18662 test_array [0] = 0
18665 return 0;
18667 _ACEOF
18668 rm -f conftest.$ac_objext
18669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18670 (eval $ac_compile) 2>conftest.er1
18671 ac_status=$?
18672 grep -v '^ *+' conftest.er1 >conftest.err
18673 rm -f conftest.er1
18674 cat conftest.err >&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } &&
18677 { ac_try='test -z "$ac_c_werror_flag"
18678 || test ! -s conftest.err'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18681 ac_status=$?
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; } &&
18684 { ac_try='test -s conftest.$ac_objext'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18687 ac_status=$?
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; }; then
18690 ac_hi=$ac_mid; break
18691 else
18692 echo "$as_me: failed program was:" >&5
18693 sed 's/^/| /' conftest.$ac_ext >&5
18695 ac_lo=`expr $ac_mid + 1`
18696 if test $ac_lo -le $ac_mid; then
18697 ac_lo= ac_hi=
18698 break
18700 ac_mid=`expr 2 '*' $ac_mid + 1`
18702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18703 done
18704 else
18705 echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.$ac_ext >&5
18708 cat >conftest.$ac_ext <<_ACEOF
18709 /* confdefs.h. */
18710 _ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 $ac_includes_default
18716 main ()
18718 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18719 test_array [0] = 0
18722 return 0;
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>conftest.er1
18728 ac_status=$?
18729 grep -v '^ *+' conftest.er1 >conftest.err
18730 rm -f conftest.er1
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try='test -z "$ac_c_werror_flag"
18735 || test ! -s conftest.err'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; } &&
18741 { ac_try='test -s conftest.$ac_objext'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18744 ac_status=$?
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; }; then
18747 ac_hi=-1 ac_mid=-1
18748 while :; do
18749 cat >conftest.$ac_ext <<_ACEOF
18750 /* confdefs.h. */
18751 _ACEOF
18752 cat confdefs.h >>conftest.$ac_ext
18753 cat >>conftest.$ac_ext <<_ACEOF
18754 /* end confdefs.h. */
18755 $ac_includes_default
18757 main ()
18759 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18760 test_array [0] = 0
18763 return 0;
18765 _ACEOF
18766 rm -f conftest.$ac_objext
18767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18768 (eval $ac_compile) 2>conftest.er1
18769 ac_status=$?
18770 grep -v '^ *+' conftest.er1 >conftest.err
18771 rm -f conftest.er1
18772 cat conftest.err >&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); } &&
18775 { ac_try='test -z "$ac_c_werror_flag"
18776 || test ! -s conftest.err'
18777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18778 (eval $ac_try) 2>&5
18779 ac_status=$?
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); }; } &&
18782 { ac_try='test -s conftest.$ac_objext'
18783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18784 (eval $ac_try) 2>&5
18785 ac_status=$?
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); }; }; then
18788 ac_lo=$ac_mid; break
18789 else
18790 echo "$as_me: failed program was:" >&5
18791 sed 's/^/| /' conftest.$ac_ext >&5
18793 ac_hi=`expr '(' $ac_mid ')' - 1`
18794 if test $ac_mid -le $ac_hi; then
18795 ac_lo= ac_hi=
18796 break
18798 ac_mid=`expr 2 '*' $ac_mid`
18800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18801 done
18802 else
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.$ac_ext >&5
18806 ac_lo= ac_hi=
18808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18811 # Binary search between lo and hi bounds.
18812 while test "x$ac_lo" != "x$ac_hi"; do
18813 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18814 cat >conftest.$ac_ext <<_ACEOF
18815 /* confdefs.h. */
18816 _ACEOF
18817 cat confdefs.h >>conftest.$ac_ext
18818 cat >>conftest.$ac_ext <<_ACEOF
18819 /* end confdefs.h. */
18820 $ac_includes_default
18822 main ()
18824 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18825 test_array [0] = 0
18828 return 0;
18830 _ACEOF
18831 rm -f conftest.$ac_objext
18832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18833 (eval $ac_compile) 2>conftest.er1
18834 ac_status=$?
18835 grep -v '^ *+' conftest.er1 >conftest.err
18836 rm -f conftest.er1
18837 cat conftest.err >&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); } &&
18840 { ac_try='test -z "$ac_c_werror_flag"
18841 || test ! -s conftest.err'
18842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18843 (eval $ac_try) 2>&5
18844 ac_status=$?
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); }; } &&
18847 { ac_try='test -s conftest.$ac_objext'
18848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18849 (eval $ac_try) 2>&5
18850 ac_status=$?
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); }; }; then
18853 ac_hi=$ac_mid
18854 else
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18858 ac_lo=`expr '(' $ac_mid ')' + 1`
18860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18861 done
18862 case $ac_lo in
18863 ?*) ac_cv_sizeof_long=$ac_lo;;
18864 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18865 See \`config.log' for more details." >&5
18866 echo "$as_me: error: cannot compute sizeof (long), 77
18867 See \`config.log' for more details." >&2;}
18868 { (exit 1); exit 1; }; } ;;
18869 esac
18870 else
18871 if test "$cross_compiling" = yes; then
18872 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18873 See \`config.log' for more details." >&5
18874 echo "$as_me: error: cannot run test program while cross compiling
18875 See \`config.log' for more details." >&2;}
18876 { (exit 1); exit 1; }; }
18877 else
18878 cat >conftest.$ac_ext <<_ACEOF
18879 /* confdefs.h. */
18880 _ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18884 $ac_includes_default
18885 long longval () { return (long) (sizeof (long)); }
18886 unsigned long ulongval () { return (long) (sizeof (long)); }
18887 #include <stdio.h>
18888 #include <stdlib.h>
18890 main ()
18893 FILE *f = fopen ("conftest.val", "w");
18894 if (! f)
18895 exit (1);
18896 if (((long) (sizeof (long))) < 0)
18898 long i = longval ();
18899 if (i != ((long) (sizeof (long))))
18900 exit (1);
18901 fprintf (f, "%ld\n", i);
18903 else
18905 unsigned long i = ulongval ();
18906 if (i != ((long) (sizeof (long))))
18907 exit (1);
18908 fprintf (f, "%lu\n", i);
18910 exit (ferror (f) || fclose (f) != 0);
18913 return 0;
18915 _ACEOF
18916 rm -f conftest$ac_exeext
18917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18918 (eval $ac_link) 2>&5
18919 ac_status=$?
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18923 (eval $ac_try) 2>&5
18924 ac_status=$?
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); }; }; then
18927 ac_cv_sizeof_long=`cat conftest.val`
18928 else
18929 echo "$as_me: program exited with status $ac_status" >&5
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18933 ( exit $ac_status )
18934 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18935 See \`config.log' for more details." >&5
18936 echo "$as_me: error: cannot compute sizeof (long), 77
18937 See \`config.log' for more details." >&2;}
18938 { (exit 1); exit 1; }; }
18940 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18943 rm -f conftest.val
18944 else
18945 ac_cv_sizeof_long=0
18948 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18949 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18950 cat >>confdefs.h <<_ACEOF
18951 #define SIZEOF_LONG $ac_cv_sizeof_long
18952 _ACEOF
18955 echo "$as_me:$LINENO: checking for void*" >&5
18956 echo $ECHO_N "checking for void*... $ECHO_C" >&6
18957 if test "${ac_cv_type_voidp+set}" = set; then
18958 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 else
18960 cat >conftest.$ac_ext <<_ACEOF
18961 /* confdefs.h. */
18962 _ACEOF
18963 cat confdefs.h >>conftest.$ac_ext
18964 cat >>conftest.$ac_ext <<_ACEOF
18965 /* end confdefs.h. */
18966 $ac_includes_default
18968 main ()
18970 if ((void* *) 0)
18971 return 0;
18972 if (sizeof (void*))
18973 return 0;
18975 return 0;
18977 _ACEOF
18978 rm -f conftest.$ac_objext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18980 (eval $ac_compile) 2>conftest.er1
18981 ac_status=$?
18982 grep -v '^ *+' conftest.er1 >conftest.err
18983 rm -f conftest.er1
18984 cat conftest.err >&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try='test -z "$ac_c_werror_flag"
18988 || test ! -s conftest.err'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18991 ac_status=$?
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; } &&
18994 { ac_try='test -s conftest.$ac_objext'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18997 ac_status=$?
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; }; then
19000 ac_cv_type_voidp=yes
19001 else
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19005 ac_cv_type_voidp=no
19007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19009 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
19010 echo "${ECHO_T}$ac_cv_type_voidp" >&6
19012 echo "$as_me:$LINENO: checking size of void*" >&5
19013 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
19014 if test "${ac_cv_sizeof_voidp+set}" = set; then
19015 echo $ECHO_N "(cached) $ECHO_C" >&6
19016 else
19017 if test "$ac_cv_type_voidp" = yes; then
19018 # The cast to unsigned long works around a bug in the HP C Compiler
19019 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19020 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19021 # This bug is HP SR number 8606223364.
19022 if test "$cross_compiling" = yes; then
19023 # Depending upon the size, compute the lo and hi bounds.
19024 cat >conftest.$ac_ext <<_ACEOF
19025 /* confdefs.h. */
19026 _ACEOF
19027 cat confdefs.h >>conftest.$ac_ext
19028 cat >>conftest.$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19030 $ac_includes_default
19032 main ()
19034 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
19035 test_array [0] = 0
19038 return 0;
19040 _ACEOF
19041 rm -f conftest.$ac_objext
19042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19043 (eval $ac_compile) 2>conftest.er1
19044 ac_status=$?
19045 grep -v '^ *+' conftest.er1 >conftest.err
19046 rm -f conftest.er1
19047 cat conftest.err >&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); } &&
19050 { ac_try='test -z "$ac_c_werror_flag"
19051 || test ! -s conftest.err'
19052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053 (eval $ac_try) 2>&5
19054 ac_status=$?
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); }; } &&
19057 { ac_try='test -s conftest.$ac_objext'
19058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19059 (eval $ac_try) 2>&5
19060 ac_status=$?
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); }; }; then
19063 ac_lo=0 ac_mid=0
19064 while :; do
19065 cat >conftest.$ac_ext <<_ACEOF
19066 /* confdefs.h. */
19067 _ACEOF
19068 cat confdefs.h >>conftest.$ac_ext
19069 cat >>conftest.$ac_ext <<_ACEOF
19070 /* end confdefs.h. */
19071 $ac_includes_default
19073 main ()
19075 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19076 test_array [0] = 0
19079 return 0;
19081 _ACEOF
19082 rm -f conftest.$ac_objext
19083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19084 (eval $ac_compile) 2>conftest.er1
19085 ac_status=$?
19086 grep -v '^ *+' conftest.er1 >conftest.err
19087 rm -f conftest.er1
19088 cat conftest.err >&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); } &&
19091 { ac_try='test -z "$ac_c_werror_flag"
19092 || test ! -s conftest.err'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; } &&
19098 { ac_try='test -s conftest.$ac_objext'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; }; then
19104 ac_hi=$ac_mid; break
19105 else
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.$ac_ext >&5
19109 ac_lo=`expr $ac_mid + 1`
19110 if test $ac_lo -le $ac_mid; then
19111 ac_lo= ac_hi=
19112 break
19114 ac_mid=`expr 2 '*' $ac_mid + 1`
19116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19117 done
19118 else
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19122 cat >conftest.$ac_ext <<_ACEOF
19123 /* confdefs.h. */
19124 _ACEOF
19125 cat confdefs.h >>conftest.$ac_ext
19126 cat >>conftest.$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19128 $ac_includes_default
19130 main ()
19132 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
19133 test_array [0] = 0
19136 return 0;
19138 _ACEOF
19139 rm -f conftest.$ac_objext
19140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19141 (eval $ac_compile) 2>conftest.er1
19142 ac_status=$?
19143 grep -v '^ *+' conftest.er1 >conftest.err
19144 rm -f conftest.er1
19145 cat conftest.err >&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } &&
19148 { ac_try='test -z "$ac_c_werror_flag"
19149 || test ! -s conftest.err'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19152 ac_status=$?
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; } &&
19155 { ac_try='test -s conftest.$ac_objext'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19158 ac_status=$?
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; }; then
19161 ac_hi=-1 ac_mid=-1
19162 while :; do
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h. */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 $ac_includes_default
19171 main ()
19173 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
19174 test_array [0] = 0
19177 return 0;
19179 _ACEOF
19180 rm -f conftest.$ac_objext
19181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19182 (eval $ac_compile) 2>conftest.er1
19183 ac_status=$?
19184 grep -v '^ *+' conftest.er1 >conftest.err
19185 rm -f conftest.er1
19186 cat conftest.err >&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } &&
19189 { ac_try='test -z "$ac_c_werror_flag"
19190 || test ! -s conftest.err'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19193 ac_status=$?
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; } &&
19196 { ac_try='test -s conftest.$ac_objext'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19199 ac_status=$?
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; }; then
19202 ac_lo=$ac_mid; break
19203 else
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19207 ac_hi=`expr '(' $ac_mid ')' - 1`
19208 if test $ac_mid -le $ac_hi; then
19209 ac_lo= ac_hi=
19210 break
19212 ac_mid=`expr 2 '*' $ac_mid`
19214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19215 done
19216 else
19217 echo "$as_me: failed program was:" >&5
19218 sed 's/^/| /' conftest.$ac_ext >&5
19220 ac_lo= ac_hi=
19222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19225 # Binary search between lo and hi bounds.
19226 while test "x$ac_lo" != "x$ac_hi"; do
19227 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19228 cat >conftest.$ac_ext <<_ACEOF
19229 /* confdefs.h. */
19230 _ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 $ac_includes_default
19236 main ()
19238 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19239 test_array [0] = 0
19242 return 0;
19244 _ACEOF
19245 rm -f conftest.$ac_objext
19246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19247 (eval $ac_compile) 2>conftest.er1
19248 ac_status=$?
19249 grep -v '^ *+' conftest.er1 >conftest.err
19250 rm -f conftest.er1
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } &&
19254 { ac_try='test -z "$ac_c_werror_flag"
19255 || test ! -s conftest.err'
19256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19257 (eval $ac_try) 2>&5
19258 ac_status=$?
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); }; } &&
19261 { ac_try='test -s conftest.$ac_objext'
19262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19263 (eval $ac_try) 2>&5
19264 ac_status=$?
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); }; }; then
19267 ac_hi=$ac_mid
19268 else
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.$ac_ext >&5
19272 ac_lo=`expr '(' $ac_mid ')' + 1`
19274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19275 done
19276 case $ac_lo in
19277 ?*) ac_cv_sizeof_voidp=$ac_lo;;
19278 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19279 See \`config.log' for more details." >&5
19280 echo "$as_me: error: cannot compute sizeof (void*), 77
19281 See \`config.log' for more details." >&2;}
19282 { (exit 1); exit 1; }; } ;;
19283 esac
19284 else
19285 if test "$cross_compiling" = yes; then
19286 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19287 See \`config.log' for more details." >&5
19288 echo "$as_me: error: cannot run test program while cross compiling
19289 See \`config.log' for more details." >&2;}
19290 { (exit 1); exit 1; }; }
19291 else
19292 cat >conftest.$ac_ext <<_ACEOF
19293 /* confdefs.h. */
19294 _ACEOF
19295 cat confdefs.h >>conftest.$ac_ext
19296 cat >>conftest.$ac_ext <<_ACEOF
19297 /* end confdefs.h. */
19298 $ac_includes_default
19299 long longval () { return (long) (sizeof (void*)); }
19300 unsigned long ulongval () { return (long) (sizeof (void*)); }
19301 #include <stdio.h>
19302 #include <stdlib.h>
19304 main ()
19307 FILE *f = fopen ("conftest.val", "w");
19308 if (! f)
19309 exit (1);
19310 if (((long) (sizeof (void*))) < 0)
19312 long i = longval ();
19313 if (i != ((long) (sizeof (void*))))
19314 exit (1);
19315 fprintf (f, "%ld\n", i);
19317 else
19319 unsigned long i = ulongval ();
19320 if (i != ((long) (sizeof (void*))))
19321 exit (1);
19322 fprintf (f, "%lu\n", i);
19324 exit (ferror (f) || fclose (f) != 0);
19327 return 0;
19329 _ACEOF
19330 rm -f conftest$ac_exeext
19331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19332 (eval $ac_link) 2>&5
19333 ac_status=$?
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19338 ac_status=$?
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; }; then
19341 ac_cv_sizeof_voidp=`cat conftest.val`
19342 else
19343 echo "$as_me: program exited with status $ac_status" >&5
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.$ac_ext >&5
19347 ( exit $ac_status )
19348 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19349 See \`config.log' for more details." >&5
19350 echo "$as_me: error: cannot compute sizeof (void*), 77
19351 See \`config.log' for more details." >&2;}
19352 { (exit 1); exit 1; }; }
19354 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19357 rm -f conftest.val
19358 else
19359 ac_cv_sizeof_voidp=0
19362 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
19363 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
19364 cat >>confdefs.h <<_ACEOF
19365 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
19366 _ACEOF
19369 ac_cv_char_data_model=""
19370 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
19371 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
19372 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
19373 ac_cv_long_data_model=""
19374 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
19375 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
19376 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
19377 echo "$as_me:$LINENO: checking data model" >&5
19378 echo $ECHO_N "checking data model... $ECHO_C" >&6
19379 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
19380 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
19381 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
19382 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
19383 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
19384 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
19385 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
19386 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
19387 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
19388 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
19389 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
19390 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
19391 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
19392 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
19393 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
19394 222/*|333/*|444/*|666/*|888/*) :
19395 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
19396 *) ac_cv_data_model="none" ; n="very unusual model" ;;
19397 esac
19398 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
19399 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
19403 if test "_$ac_cv_header_stdint_x" != "_" ; then
19404 ac_cv_header_stdint="$ac_cv_header_stdint_x"
19405 elif test "_$ac_cv_header_stdint_o" != "_" ; then
19406 ac_cv_header_stdint="$ac_cv_header_stdint_o"
19407 elif test "_$ac_cv_header_stdint_u" != "_" ; then
19408 ac_cv_header_stdint="$ac_cv_header_stdint_u"
19409 else
19410 ac_cv_header_stdint="stddef.h"
19413 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
19414 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
19415 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
19416 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
19417 unset ac_cv_type_int_least32_t
19418 unset ac_cv_type_int_fast32_t
19419 echo "$as_me:$LINENO: checking for int_least32_t" >&5
19420 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
19421 if test "${ac_cv_type_int_least32_t+set}" = set; then
19422 echo $ECHO_N "(cached) $ECHO_C" >&6
19423 else
19424 cat >conftest.$ac_ext <<_ACEOF
19425 /* confdefs.h. */
19426 _ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 #include <$ac_cv_header_stdint>
19433 main ()
19435 if ((int_least32_t *) 0)
19436 return 0;
19437 if (sizeof (int_least32_t))
19438 return 0;
19440 return 0;
19442 _ACEOF
19443 rm -f conftest.$ac_objext
19444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19445 (eval $ac_compile) 2>conftest.er1
19446 ac_status=$?
19447 grep -v '^ *+' conftest.er1 >conftest.err
19448 rm -f conftest.er1
19449 cat conftest.err >&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); } &&
19452 { ac_try='test -z "$ac_c_werror_flag"
19453 || test ! -s conftest.err'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19456 ac_status=$?
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; } &&
19459 { ac_try='test -s conftest.$ac_objext'
19460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19461 (eval $ac_try) 2>&5
19462 ac_status=$?
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); }; }; then
19465 ac_cv_type_int_least32_t=yes
19466 else
19467 echo "$as_me: failed program was:" >&5
19468 sed 's/^/| /' conftest.$ac_ext >&5
19470 ac_cv_type_int_least32_t=no
19472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19474 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
19475 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
19477 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
19478 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
19479 if test "${ac_cv_type_int_fast32_t+set}" = set; then
19480 echo $ECHO_N "(cached) $ECHO_C" >&6
19481 else
19482 cat >conftest.$ac_ext <<_ACEOF
19483 /* confdefs.h. */
19484 _ACEOF
19485 cat confdefs.h >>conftest.$ac_ext
19486 cat >>conftest.$ac_ext <<_ACEOF
19487 /* end confdefs.h. */
19488 #include<$ac_cv_header_stdint>
19491 main ()
19493 if ((int_fast32_t *) 0)
19494 return 0;
19495 if (sizeof (int_fast32_t))
19496 return 0;
19498 return 0;
19500 _ACEOF
19501 rm -f conftest.$ac_objext
19502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19503 (eval $ac_compile) 2>conftest.er1
19504 ac_status=$?
19505 grep -v '^ *+' conftest.er1 >conftest.err
19506 rm -f conftest.er1
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try='test -z "$ac_c_werror_flag"
19511 || test ! -s conftest.err'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19514 ac_status=$?
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; } &&
19517 { ac_try='test -s conftest.$ac_objext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19520 ac_status=$?
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19523 ac_cv_type_int_fast32_t=yes
19524 else
19525 echo "$as_me: failed program was:" >&5
19526 sed 's/^/| /' conftest.$ac_ext >&5
19528 ac_cv_type_int_fast32_t=no
19530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19532 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
19533 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
19535 echo "$as_me:$LINENO: checking for intmax_t" >&5
19536 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
19537 if test "${ac_cv_type_intmax_t+set}" = set; then
19538 echo $ECHO_N "(cached) $ECHO_C" >&6
19539 else
19540 cat >conftest.$ac_ext <<_ACEOF
19541 /* confdefs.h. */
19542 _ACEOF
19543 cat confdefs.h >>conftest.$ac_ext
19544 cat >>conftest.$ac_ext <<_ACEOF
19545 /* end confdefs.h. */
19546 #include <$ac_cv_header_stdint>
19549 main ()
19551 if ((intmax_t *) 0)
19552 return 0;
19553 if (sizeof (intmax_t))
19554 return 0;
19556 return 0;
19558 _ACEOF
19559 rm -f conftest.$ac_objext
19560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19561 (eval $ac_compile) 2>conftest.er1
19562 ac_status=$?
19563 grep -v '^ *+' conftest.er1 >conftest.err
19564 rm -f conftest.er1
19565 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } &&
19568 { ac_try='test -z "$ac_c_werror_flag"
19569 || test ! -s conftest.err'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19572 ac_status=$?
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; } &&
19575 { ac_try='test -s conftest.$ac_objext'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19578 ac_status=$?
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; }; then
19581 ac_cv_type_intmax_t=yes
19582 else
19583 echo "$as_me: failed program was:" >&5
19584 sed 's/^/| /' conftest.$ac_ext >&5
19586 ac_cv_type_intmax_t=no
19588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19590 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
19591 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
19594 fi # shortcircut to system "stdint.h"
19595 # ------------------ PREPARE VARIABLES ------------------------------
19596 if test "$GCC" = "yes" ; then
19597 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
19598 else
19599 ac_cv_stdint_message="using $CC"
19602 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
19603 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
19605 # ----------------- DONE inttypes.h checks START header -------------
19606 ac_config_commands="$ac_config_commands $ac_stdint_h"
19611 # Check whether --with-glibj_zip or --without-glibj_zip was given.
19612 if test "${with_glibj_zip+set}" = set; then
19613 withval="$with_glibj_zip"
19617 case "$with_glibj_zip" in
19619 use_glibj_zip=false
19621 "no" )
19622 use_glibj_zip=false
19624 "yes")
19625 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
19626 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
19627 { (exit 1); exit 1; }; }
19630 use_glibj_zip=true
19631 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
19633 esac;
19637 if test x$use_glibj_zip = xtrue; then
19638 USE_PREBUILT_GLIBJ_ZIP_TRUE=
19639 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
19640 else
19641 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
19642 USE_PREBUILT_GLIBJ_ZIP_FALSE=
19648 # Check whether --with-escher or --without-escher was given.
19649 if test "${with_escher+set}" = set; then
19650 withval="$with_escher"
19653 case "$with_escher" in
19655 use_escher=false
19657 "no")
19658 use_escher=false
19660 "yes")
19661 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
19662 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
19663 { (exit 1); exit 1; }; }
19666 use_escher=true
19667 PATH_TO_ESCHER=$with_escher
19669 esac
19673 if test x$use_escher = xtrue; then
19674 USE_ESCHER_TRUE=
19675 USE_ESCHER_FALSE='#'
19676 else
19677 USE_ESCHER_TRUE='#'
19678 USE_ESCHER_FALSE=
19683 # Check whether --enable-local-sockets or --disable-local-sockets was given.
19684 if test "${enable_local_sockets+set}" = set; then
19685 enableval="$enable_local_sockets"
19686 case "${enableval}" in
19687 yes)
19688 ENABLE_LOCAL_SOCKETS=yes
19691 ENABLE_LOCAL_SOCKETS=no
19693 esac
19695 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
19696 then
19697 if test "${ac_cv_header_sys_un_h+set}" = set; then
19698 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19699 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19700 if test "${ac_cv_header_sys_un_h+set}" = set; then
19701 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19704 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19705 else
19706 # Is the header compilable?
19707 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
19708 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
19709 cat >conftest.$ac_ext <<_ACEOF
19710 /* confdefs.h. */
19711 _ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19715 $ac_includes_default
19716 #include <sys/un.h>
19717 _ACEOF
19718 rm -f conftest.$ac_objext
19719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19720 (eval $ac_compile) 2>conftest.er1
19721 ac_status=$?
19722 grep -v '^ *+' conftest.er1 >conftest.err
19723 rm -f conftest.er1
19724 cat conftest.err >&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); } &&
19727 { ac_try='test -z "$ac_c_werror_flag"
19728 || test ! -s conftest.err'
19729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19730 (eval $ac_try) 2>&5
19731 ac_status=$?
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); }; } &&
19734 { ac_try='test -s conftest.$ac_objext'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19737 ac_status=$?
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; }; then
19740 ac_header_compiler=yes
19741 else
19742 echo "$as_me: failed program was:" >&5
19743 sed 's/^/| /' conftest.$ac_ext >&5
19745 ac_header_compiler=no
19747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19748 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19749 echo "${ECHO_T}$ac_header_compiler" >&6
19751 # Is the header present?
19752 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
19753 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
19754 cat >conftest.$ac_ext <<_ACEOF
19755 /* confdefs.h. */
19756 _ACEOF
19757 cat confdefs.h >>conftest.$ac_ext
19758 cat >>conftest.$ac_ext <<_ACEOF
19759 /* end confdefs.h. */
19760 #include <sys/un.h>
19761 _ACEOF
19762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19764 ac_status=$?
19765 grep -v '^ *+' conftest.er1 >conftest.err
19766 rm -f conftest.er1
19767 cat conftest.err >&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); } >/dev/null; then
19770 if test -s conftest.err; then
19771 ac_cpp_err=$ac_c_preproc_warn_flag
19772 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19773 else
19774 ac_cpp_err=
19776 else
19777 ac_cpp_err=yes
19779 if test -z "$ac_cpp_err"; then
19780 ac_header_preproc=yes
19781 else
19782 echo "$as_me: failed program was:" >&5
19783 sed 's/^/| /' conftest.$ac_ext >&5
19785 ac_header_preproc=no
19787 rm -f conftest.err conftest.$ac_ext
19788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19789 echo "${ECHO_T}$ac_header_preproc" >&6
19791 # So? What about this header?
19792 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19793 yes:no: )
19794 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
19795 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19796 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
19797 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
19798 ac_header_preproc=yes
19800 no:yes:* )
19801 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
19802 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
19803 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
19804 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
19805 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
19806 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
19807 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
19808 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
19809 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
19810 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
19811 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
19812 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
19814 cat <<\_ASBOX
19815 ## -------------------------------- ##
19816 ## Report this to classpath@gnu.org ##
19817 ## -------------------------------- ##
19818 _ASBOX
19820 sed "s/^/$as_me: WARNING: /" >&2
19822 esac
19823 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19824 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19825 if test "${ac_cv_header_sys_un_h+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19827 else
19828 ac_cv_header_sys_un_h=$ac_header_preproc
19830 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19831 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19842 for ac_func in read write bind listen accept shutdown
19844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19845 echo "$as_me:$LINENO: checking for $ac_func" >&5
19846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19847 if eval "test \"\${$as_ac_var+set}\" = set"; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 else
19850 if test x$gcc_no_link = xyes; then
19851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19853 { (exit 1); exit 1; }; }
19855 cat >conftest.$ac_ext <<_ACEOF
19856 /* confdefs.h. */
19857 _ACEOF
19858 cat confdefs.h >>conftest.$ac_ext
19859 cat >>conftest.$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19863 #define $ac_func innocuous_$ac_func
19865 /* System header to define __stub macros and hopefully few prototypes,
19866 which can conflict with char $ac_func (); below.
19867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19868 <limits.h> exists even on freestanding compilers. */
19870 #ifdef __STDC__
19871 # include <limits.h>
19872 #else
19873 # include <assert.h>
19874 #endif
19876 #undef $ac_func
19878 /* Override any gcc2 internal prototype to avoid an error. */
19879 #ifdef __cplusplus
19880 extern "C"
19882 #endif
19883 /* We use char because int might match the return type of a gcc2
19884 builtin and then its argument prototype would still apply. */
19885 char $ac_func ();
19886 /* The GNU C library defines this for functions which it implements
19887 to always fail with ENOSYS. Some functions are actually named
19888 something starting with __ and the normal name is an alias. */
19889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19890 choke me
19891 #else
19892 char (*f) () = $ac_func;
19893 #endif
19894 #ifdef __cplusplus
19896 #endif
19899 main ()
19901 return f != $ac_func;
19903 return 0;
19905 _ACEOF
19906 rm -f conftest.$ac_objext conftest$ac_exeext
19907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19908 (eval $ac_link) 2>conftest.er1
19909 ac_status=$?
19910 grep -v '^ *+' conftest.er1 >conftest.err
19911 rm -f conftest.er1
19912 cat conftest.err >&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); } &&
19915 { ac_try='test -z "$ac_c_werror_flag"
19916 || test ! -s conftest.err'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19919 ac_status=$?
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; } &&
19922 { ac_try='test -s conftest$ac_exeext'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19925 ac_status=$?
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; }; then
19928 eval "$as_ac_var=yes"
19929 else
19930 echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.$ac_ext >&5
19933 eval "$as_ac_var=no"
19935 rm -f conftest.err conftest.$ac_objext \
19936 conftest$ac_exeext conftest.$ac_ext
19938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19940 if test `eval echo '${'$as_ac_var'}'` = yes; then
19941 cat >>confdefs.h <<_ACEOF
19942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19943 _ACEOF
19945 else
19946 { { echo "$as_me:$LINENO: error: networking support not available" >&5
19947 echo "$as_me: error: networking support not available" >&2;}
19948 { (exit 1); exit 1; }; }
19950 done
19953 cat >>confdefs.h <<\_ACEOF
19954 #define ENABLE_LOCAL_SOCKETS 1
19955 _ACEOF
19960 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
19961 ENABLE_LOCAL_SOCKETS_TRUE=
19962 ENABLE_LOCAL_SOCKETS_FALSE='#'
19963 else
19964 ENABLE_LOCAL_SOCKETS_TRUE='#'
19965 ENABLE_LOCAL_SOCKETS_FALSE=
19971 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/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 scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d"
19974 if test "x${COMPILE_WRAPPERS}" = xno
19975 then
19976 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"
19978 ac_config_commands="$ac_config_commands gappletviewer"
19980 ac_config_commands="$ac_config_commands gjarsigner"
19982 ac_config_commands="$ac_config_commands gkeytool"
19984 ac_config_commands="$ac_config_commands gjar"
19986 ac_config_commands="$ac_config_commands gnative2ascii"
19988 ac_config_commands="$ac_config_commands gserialver"
19990 ac_config_commands="$ac_config_commands grmiregistry"
19992 ac_config_commands="$ac_config_commands gtnameserv"
19994 ac_config_commands="$ac_config_commands gorbd"
19996 ac_config_commands="$ac_config_commands grmid"
19998 ac_config_commands="$ac_config_commands grmic"
20000 ac_config_commands="$ac_config_commands gjavah"
20004 ac_config_commands="$ac_config_commands gen-classlist"
20006 ac_config_commands="$ac_config_commands copy-vmresources"
20008 cat >confcache <<\_ACEOF
20009 # This file is a shell script that caches the results of configure
20010 # tests run on this system so they can be shared between configure
20011 # scripts and configure runs, see configure's option --config-cache.
20012 # It is not useful on other systems. If it contains results you don't
20013 # want to keep, you may remove or edit it.
20015 # config.status only pays attention to the cache file if you give it
20016 # the --recheck option to rerun configure.
20018 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20019 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20020 # following values.
20022 _ACEOF
20024 # The following way of writing the cache mishandles newlines in values,
20025 # but we know of no workaround that is simple, portable, and efficient.
20026 # So, don't put newlines in cache variables' values.
20027 # Ultrix sh set writes to stderr and can't be redirected directly,
20028 # and sets the high bit in the cache file unless we assign to the vars.
20030 (set) 2>&1 |
20031 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20032 *ac_space=\ *)
20033 # `set' does not quote correctly, so add quotes (double-quote
20034 # substitution turns \\\\ into \\, and sed turns \\ into \).
20035 sed -n \
20036 "s/'/'\\\\''/g;
20037 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20040 # `set' quotes correctly as required by POSIX, so do not add quotes.
20041 sed -n \
20042 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20044 esac;
20046 sed '
20047 t clear
20048 : clear
20049 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20050 t end
20051 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20052 : end' >>confcache
20053 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20054 if test -w $cache_file; then
20055 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20056 cat confcache >$cache_file
20057 else
20058 echo "not updating unwritable cache $cache_file"
20061 rm -f confcache
20063 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20064 # Let make expand exec_prefix.
20065 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20067 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20068 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20069 # trailing colons and then remove the whole line if VPATH becomes empty
20070 # (actually we leave an empty line to preserve line numbers).
20071 if test "x$srcdir" = x.; then
20072 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20073 s/:*\$(srcdir):*/:/;
20074 s/:*\${srcdir}:*/:/;
20075 s/:*@srcdir@:*/:/;
20076 s/^\([^=]*=[ ]*\):*/\1/;
20077 s/:*$//;
20078 s/^[^=]*=[ ]*$//;
20082 DEFS=-DHAVE_CONFIG_H
20084 ac_libobjs=
20085 ac_ltlibobjs=
20086 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20087 # 1. Remove the extension, and $U if already installed.
20088 ac_i=`echo "$ac_i" |
20089 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20090 # 2. Add them.
20091 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20092 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20093 done
20094 LIBOBJS=$ac_libobjs
20096 LTLIBOBJS=$ac_ltlibobjs
20099 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
20100 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
20101 Usually this means the macro was only invoked conditionally." >&5
20102 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
20103 Usually this means the macro was only invoked conditionally." >&2;}
20104 { (exit 1); exit 1; }; }
20106 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
20107 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
20108 Usually this means the macro was only invoked conditionally." >&5
20109 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
20110 Usually this means the macro was only invoked conditionally." >&2;}
20111 { (exit 1); exit 1; }; }
20113 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
20114 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
20115 Usually this means the macro was only invoked conditionally." >&5
20116 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
20117 Usually this means the macro was only invoked conditionally." >&2;}
20118 { (exit 1); exit 1; }; }
20120 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
20121 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
20122 Usually this means the macro was only invoked conditionally." >&5
20123 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
20124 Usually this means the macro was only invoked conditionally." >&2;}
20125 { (exit 1); exit 1; }; }
20127 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
20128 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
20129 Usually this means the macro was only invoked conditionally." >&5
20130 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
20131 Usually this means the macro was only invoked conditionally." >&2;}
20132 { (exit 1); exit 1; }; }
20134 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
20135 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
20136 Usually this means the macro was only invoked conditionally." >&5
20137 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
20138 Usually this means the macro was only invoked conditionally." >&2;}
20139 { (exit 1); exit 1; }; }
20141 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
20142 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
20143 Usually this means the macro was only invoked conditionally." >&5
20144 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
20145 Usually this means the macro was only invoked conditionally." >&2;}
20146 { (exit 1); exit 1; }; }
20148 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20149 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20150 Usually this means the macro was only invoked conditionally." >&5
20151 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20152 Usually this means the macro was only invoked conditionally." >&2;}
20153 { (exit 1); exit 1; }; }
20155 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20156 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20157 Usually this means the macro was only invoked conditionally." >&5
20158 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20159 Usually this means the macro was only invoked conditionally." >&2;}
20160 { (exit 1); exit 1; }; }
20162 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
20163 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
20164 Usually this means the macro was only invoked conditionally." >&5
20165 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
20166 Usually this means the macro was only invoked conditionally." >&2;}
20167 { (exit 1); exit 1; }; }
20169 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
20170 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
20171 Usually this means the macro was only invoked conditionally." >&5
20172 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
20173 Usually this means the macro was only invoked conditionally." >&2;}
20174 { (exit 1); exit 1; }; }
20176 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
20177 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
20178 Usually this means the macro was only invoked conditionally." >&5
20179 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
20180 Usually this means the macro was only invoked conditionally." >&2;}
20181 { (exit 1); exit 1; }; }
20183 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
20184 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
20185 Usually this means the macro was only invoked conditionally." >&5
20186 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
20187 Usually this means the macro was only invoked conditionally." >&2;}
20188 { (exit 1); exit 1; }; }
20190 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
20191 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
20192 Usually this means the macro was only invoked conditionally." >&5
20193 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
20194 Usually this means the macro was only invoked conditionally." >&2;}
20195 { (exit 1); exit 1; }; }
20197 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
20198 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
20199 Usually this means the macro was only invoked conditionally." >&5
20200 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
20201 Usually this means the macro was only invoked conditionally." >&2;}
20202 { (exit 1); exit 1; }; }
20204 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
20205 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20206 Usually this means the macro was only invoked conditionally." >&5
20207 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20208 Usually this means the macro was only invoked conditionally." >&2;}
20209 { (exit 1); exit 1; }; }
20211 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
20212 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
20213 Usually this means the macro was only invoked conditionally." >&5
20214 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
20215 Usually this means the macro was only invoked conditionally." >&2;}
20216 { (exit 1); exit 1; }; }
20218 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20219 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20220 Usually this means the macro was only invoked conditionally." >&5
20221 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20222 Usually this means the macro was only invoked conditionally." >&2;}
20223 { (exit 1); exit 1; }; }
20225 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20226 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20227 Usually this means the macro was only invoked conditionally." >&5
20228 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20229 Usually this means the macro was only invoked conditionally." >&2;}
20230 { (exit 1); exit 1; }; }
20232 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
20233 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20234 Usually this means the macro was only invoked conditionally." >&5
20235 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20236 Usually this means the macro was only invoked conditionally." >&2;}
20237 { (exit 1); exit 1; }; }
20239 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20240 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20241 Usually this means the macro was only invoked conditionally." >&5
20242 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20243 Usually this means the macro was only invoked conditionally." >&2;}
20244 { (exit 1); exit 1; }; }
20246 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20247 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20248 Usually this means the macro was only invoked conditionally." >&5
20249 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20250 Usually this means the macro was only invoked conditionally." >&2;}
20251 { (exit 1); exit 1; }; }
20253 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20254 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20255 Usually this means the macro was only invoked conditionally." >&5
20256 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20257 Usually this means the macro was only invoked conditionally." >&2;}
20258 { (exit 1); exit 1; }; }
20260 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20261 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20262 Usually this means the macro was only invoked conditionally." >&5
20263 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20264 Usually this means the macro was only invoked conditionally." >&2;}
20265 { (exit 1); exit 1; }; }
20267 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20268 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20269 Usually this means the macro was only invoked conditionally." >&5
20270 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20271 Usually this means the macro was only invoked conditionally." >&2;}
20272 { (exit 1); exit 1; }; }
20274 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20275 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20276 Usually this means the macro was only invoked conditionally." >&5
20277 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20278 Usually this means the macro was only invoked conditionally." >&2;}
20279 { (exit 1); exit 1; }; }
20281 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
20282 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
20283 Usually this means the macro was only invoked conditionally." >&5
20284 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
20285 Usually this means the macro was only invoked conditionally." >&2;}
20286 { (exit 1); exit 1; }; }
20288 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
20289 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
20290 Usually this means the macro was only invoked conditionally." >&5
20291 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
20292 Usually this means the macro was only invoked conditionally." >&2;}
20293 { (exit 1); exit 1; }; }
20295 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
20296 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20297 Usually this means the macro was only invoked conditionally." >&5
20298 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20299 Usually this means the macro was only invoked conditionally." >&2;}
20300 { (exit 1); exit 1; }; }
20302 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20303 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20304 Usually this means the macro was only invoked conditionally." >&5
20305 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20306 Usually this means the macro was only invoked conditionally." >&2;}
20307 { (exit 1); exit 1; }; }
20309 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
20310 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20311 Usually this means the macro was only invoked conditionally." >&5
20312 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20313 Usually this means the macro was only invoked conditionally." >&2;}
20314 { (exit 1); exit 1; }; }
20316 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
20317 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20318 Usually this means the macro was only invoked conditionally." >&5
20319 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20320 Usually this means the macro was only invoked conditionally." >&2;}
20321 { (exit 1); exit 1; }; }
20323 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
20324 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20325 Usually this means the macro was only invoked conditionally." >&5
20326 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20327 Usually this means the macro was only invoked conditionally." >&2;}
20328 { (exit 1); exit 1; }; }
20330 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
20331 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
20332 Usually this means the macro was only invoked conditionally." >&5
20333 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
20334 Usually this means the macro was only invoked conditionally." >&2;}
20335 { (exit 1); exit 1; }; }
20337 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
20338 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
20339 Usually this means the macro was only invoked conditionally." >&5
20340 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
20341 Usually this means the macro was only invoked conditionally." >&2;}
20342 { (exit 1); exit 1; }; }
20344 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
20345 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20346 Usually this means the macro was only invoked conditionally." >&5
20347 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20348 Usually this means the macro was only invoked conditionally." >&2;}
20349 { (exit 1); exit 1; }; }
20351 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
20352 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
20353 Usually this means the macro was only invoked conditionally." >&5
20354 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
20355 Usually this means the macro was only invoked conditionally." >&2;}
20356 { (exit 1); exit 1; }; }
20358 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
20359 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20360 Usually this means the macro was only invoked conditionally." >&5
20361 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20362 Usually this means the macro was only invoked conditionally." >&2;}
20363 { (exit 1); exit 1; }; }
20366 : ${CONFIG_STATUS=./config.status}
20367 ac_clean_files_save=$ac_clean_files
20368 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20369 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20370 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20371 cat >$CONFIG_STATUS <<_ACEOF
20372 #! $SHELL
20373 # Generated by $as_me.
20374 # Run this file to recreate the current configuration.
20375 # Compiler output produced by configure, useful for debugging
20376 # configure, is in config.log if it exists.
20378 debug=false
20379 ac_cs_recheck=false
20380 ac_cs_silent=false
20381 SHELL=\${CONFIG_SHELL-$SHELL}
20382 _ACEOF
20384 cat >>$CONFIG_STATUS <<\_ACEOF
20385 ## --------------------- ##
20386 ## M4sh Initialization. ##
20387 ## --------------------- ##
20389 # Be Bourne compatible
20390 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20391 emulate sh
20392 NULLCMD=:
20393 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20394 # is contrary to our usage. Disable this feature.
20395 alias -g '${1+"$@"}'='"$@"'
20396 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20397 set -o posix
20399 DUALCASE=1; export DUALCASE # for MKS sh
20401 # Support unset when possible.
20402 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20403 as_unset=unset
20404 else
20405 as_unset=false
20409 # Work around bugs in pre-3.0 UWIN ksh.
20410 $as_unset ENV MAIL MAILPATH
20411 PS1='$ '
20412 PS2='> '
20413 PS4='+ '
20415 # NLS nuisances.
20416 for as_var in \
20417 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20418 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20419 LC_TELEPHONE LC_TIME
20421 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20422 eval $as_var=C; export $as_var
20423 else
20424 $as_unset $as_var
20426 done
20428 # Required to use basename.
20429 if expr a : '\(a\)' >/dev/null 2>&1; then
20430 as_expr=expr
20431 else
20432 as_expr=false
20435 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20436 as_basename=basename
20437 else
20438 as_basename=false
20442 # Name of the executable.
20443 as_me=`$as_basename "$0" ||
20444 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20445 X"$0" : 'X\(//\)$' \| \
20446 X"$0" : 'X\(/\)$' \| \
20447 . : '\(.\)' 2>/dev/null ||
20448 echo X/"$0" |
20449 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20450 /^X\/\(\/\/\)$/{ s//\1/; q; }
20451 /^X\/\(\/\).*/{ s//\1/; q; }
20452 s/.*/./; q'`
20455 # PATH needs CR, and LINENO needs CR and PATH.
20456 # Avoid depending upon Character Ranges.
20457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20460 as_cr_digits='0123456789'
20461 as_cr_alnum=$as_cr_Letters$as_cr_digits
20463 # The user is always right.
20464 if test "${PATH_SEPARATOR+set}" != set; then
20465 echo "#! /bin/sh" >conf$$.sh
20466 echo "exit 0" >>conf$$.sh
20467 chmod +x conf$$.sh
20468 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20469 PATH_SEPARATOR=';'
20470 else
20471 PATH_SEPARATOR=:
20473 rm -f conf$$.sh
20477 as_lineno_1=$LINENO
20478 as_lineno_2=$LINENO
20479 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20480 test "x$as_lineno_1" != "x$as_lineno_2" &&
20481 test "x$as_lineno_3" = "x$as_lineno_2" || {
20482 # Find who we are. Look in the path if we contain no path at all
20483 # relative or not.
20484 case $0 in
20485 *[\\/]* ) as_myself=$0 ;;
20486 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20487 for as_dir in $PATH
20489 IFS=$as_save_IFS
20490 test -z "$as_dir" && as_dir=.
20491 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20492 done
20495 esac
20496 # We did not find ourselves, most probably we were run as `sh COMMAND'
20497 # in which case we are not to be found in the path.
20498 if test "x$as_myself" = x; then
20499 as_myself=$0
20501 if test ! -f "$as_myself"; then
20502 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20503 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20504 { (exit 1); exit 1; }; }
20506 case $CONFIG_SHELL in
20508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20509 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20511 IFS=$as_save_IFS
20512 test -z "$as_dir" && as_dir=.
20513 for as_base in sh bash ksh sh5; do
20514 case $as_dir in
20516 if ("$as_dir/$as_base" -c '
20517 as_lineno_1=$LINENO
20518 as_lineno_2=$LINENO
20519 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20520 test "x$as_lineno_1" != "x$as_lineno_2" &&
20521 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20522 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20523 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20524 CONFIG_SHELL=$as_dir/$as_base
20525 export CONFIG_SHELL
20526 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20527 fi;;
20528 esac
20529 done
20530 done
20532 esac
20534 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20535 # uniformly replaced by the line number. The first 'sed' inserts a
20536 # line-number line before each line; the second 'sed' does the real
20537 # work. The second script uses 'N' to pair each line-number line
20538 # with the numbered line, and appends trailing '-' during
20539 # substitution so that $LINENO is not a special case at line end.
20540 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20541 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20542 sed '=' <$as_myself |
20543 sed '
20545 s,$,-,
20546 : loop
20547 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20548 t loop
20549 s,-$,,
20550 s,^['$as_cr_digits']*\n,,
20551 ' >$as_me.lineno &&
20552 chmod +x $as_me.lineno ||
20553 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20554 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20555 { (exit 1); exit 1; }; }
20557 # Don't try to exec as it changes $[0], causing all sort of problems
20558 # (the dirname of $[0] is not the place where we might find the
20559 # original and so on. Autoconf is especially sensible to this).
20560 . ./$as_me.lineno
20561 # Exit status is that of the last command.
20562 exit
20566 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20567 *c*,-n*) ECHO_N= ECHO_C='
20568 ' ECHO_T=' ' ;;
20569 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20570 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20571 esac
20573 if expr a : '\(a\)' >/dev/null 2>&1; then
20574 as_expr=expr
20575 else
20576 as_expr=false
20579 rm -f conf$$ conf$$.exe conf$$.file
20580 echo >conf$$.file
20581 if ln -s conf$$.file conf$$ 2>/dev/null; then
20582 # We could just check for DJGPP; but this test a) works b) is more generic
20583 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20584 if test -f conf$$.exe; then
20585 # Don't use ln at all; we don't have any links
20586 as_ln_s='cp -p'
20587 else
20588 as_ln_s='ln -s'
20590 elif ln conf$$.file conf$$ 2>/dev/null; then
20591 as_ln_s=ln
20592 else
20593 as_ln_s='cp -p'
20595 rm -f conf$$ conf$$.exe conf$$.file
20597 if mkdir -p . 2>/dev/null; then
20598 as_mkdir_p=:
20599 else
20600 test -d ./-p && rmdir ./-p
20601 as_mkdir_p=false
20604 as_executable_p="test -f"
20606 # Sed expression to map a string onto a valid CPP name.
20607 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20609 # Sed expression to map a string onto a valid variable name.
20610 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20613 # IFS
20614 # We need space, tab and new line, in precisely that order.
20615 as_nl='
20617 IFS=" $as_nl"
20619 # CDPATH.
20620 $as_unset CDPATH
20622 exec 6>&1
20624 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20625 # report actual input values of CONFIG_FILES etc. instead of their
20626 # values after options handling. Logging --version etc. is OK.
20627 exec 5>>config.log
20629 echo
20630 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20631 ## Running $as_me. ##
20632 _ASBOX
20633 } >&5
20634 cat >&5 <<_CSEOF
20636 This file was extended by GNU Classpath $as_me 0.94-pre, which was
20637 generated by GNU Autoconf 2.59. Invocation command line was
20639 CONFIG_FILES = $CONFIG_FILES
20640 CONFIG_HEADERS = $CONFIG_HEADERS
20641 CONFIG_LINKS = $CONFIG_LINKS
20642 CONFIG_COMMANDS = $CONFIG_COMMANDS
20643 $ $0 $@
20645 _CSEOF
20646 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20647 echo >&5
20648 _ACEOF
20650 # Files that config.status was made for.
20651 if test -n "$ac_config_files"; then
20652 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20655 if test -n "$ac_config_headers"; then
20656 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20659 if test -n "$ac_config_links"; then
20660 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20663 if test -n "$ac_config_commands"; then
20664 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20667 cat >>$CONFIG_STATUS <<\_ACEOF
20669 ac_cs_usage="\
20670 \`$as_me' instantiates files from templates according to the
20671 current configuration.
20673 Usage: $0 [OPTIONS] [FILE]...
20675 -h, --help print this help, then exit
20676 -V, --version print version number, then exit
20677 -q, --quiet do not print progress messages
20678 -d, --debug don't remove temporary files
20679 --recheck update $as_me by reconfiguring in the same conditions
20680 --file=FILE[:TEMPLATE]
20681 instantiate the configuration file FILE
20682 --header=FILE[:TEMPLATE]
20683 instantiate the configuration header FILE
20685 Configuration files:
20686 $config_files
20688 Configuration headers:
20689 $config_headers
20691 Configuration links:
20692 $config_links
20694 Configuration commands:
20695 $config_commands
20697 Report bugs to <bug-autoconf@gnu.org>."
20698 _ACEOF
20700 cat >>$CONFIG_STATUS <<_ACEOF
20701 ac_cs_version="\\
20702 GNU Classpath config.status 0.94-pre
20703 configured by $0, generated by GNU Autoconf 2.59,
20704 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20706 Copyright (C) 2003 Free Software Foundation, Inc.
20707 This config.status script is free software; the Free Software Foundation
20708 gives unlimited permission to copy, distribute and modify it."
20709 srcdir=$srcdir
20710 INSTALL="$INSTALL"
20711 _ACEOF
20713 cat >>$CONFIG_STATUS <<\_ACEOF
20714 # If no file are specified by the user, then we need to provide default
20715 # value. By we need to know if files were specified by the user.
20716 ac_need_defaults=:
20717 while test $# != 0
20719 case $1 in
20720 --*=*)
20721 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20722 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20723 ac_shift=:
20726 ac_option=$1
20727 ac_optarg=$2
20728 ac_shift=shift
20730 *) # This is not an option, so the user has probably given explicit
20731 # arguments.
20732 ac_option=$1
20733 ac_need_defaults=false;;
20734 esac
20736 case $ac_option in
20737 # Handling of the options.
20738 _ACEOF
20739 cat >>$CONFIG_STATUS <<\_ACEOF
20740 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20741 ac_cs_recheck=: ;;
20742 --version | --vers* | -V )
20743 echo "$ac_cs_version"; exit 0 ;;
20744 --he | --h)
20745 # Conflict between --help and --header
20746 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20747 Try \`$0 --help' for more information." >&5
20748 echo "$as_me: error: ambiguous option: $1
20749 Try \`$0 --help' for more information." >&2;}
20750 { (exit 1); exit 1; }; };;
20751 --help | --hel | -h )
20752 echo "$ac_cs_usage"; exit 0 ;;
20753 --debug | --d* | -d )
20754 debug=: ;;
20755 --file | --fil | --fi | --f )
20756 $ac_shift
20757 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20758 ac_need_defaults=false;;
20759 --header | --heade | --head | --hea )
20760 $ac_shift
20761 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20762 ac_need_defaults=false;;
20763 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20764 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20765 ac_cs_silent=: ;;
20767 # This is an error.
20768 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20769 Try \`$0 --help' for more information." >&5
20770 echo "$as_me: error: unrecognized option: $1
20771 Try \`$0 --help' for more information." >&2;}
20772 { (exit 1); exit 1; }; } ;;
20774 *) ac_config_targets="$ac_config_targets $1" ;;
20776 esac
20777 shift
20778 done
20780 ac_configure_extra_args=
20782 if $ac_cs_silent; then
20783 exec 6>/dev/null
20784 ac_configure_extra_args="$ac_configure_extra_args --silent"
20787 _ACEOF
20788 cat >>$CONFIG_STATUS <<_ACEOF
20789 if \$ac_cs_recheck; then
20790 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20791 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20794 _ACEOF
20796 cat >>$CONFIG_STATUS <<_ACEOF
20798 # INIT-COMMANDS section.
20802 srcdir="$srcdir"
20803 host="$host"
20804 target="$target"
20805 with_multisubdir="$with_multisubdir"
20806 with_multisrctop="$with_multisrctop"
20807 with_target_subdir="$with_target_subdir"
20808 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20809 multi_basedir="$multi_basedir"
20810 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20811 CC="$CC"
20812 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20813 # variables for create stdint.h replacement
20814 PACKAGE="$PACKAGE"
20815 VERSION="$VERSION"
20816 ac_stdint_h="$ac_stdint_h"
20817 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
20818 ac_cv_stdint_message="$ac_cv_stdint_message"
20819 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
20820 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
20821 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
20822 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
20823 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20824 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20825 ac_cv_char_data_model="$ac_cv_char_data_model"
20826 ac_cv_long_data_model="$ac_cv_long_data_model"
20827 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20828 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20829 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
20832 _ACEOF
20836 cat >>$CONFIG_STATUS <<\_ACEOF
20837 for ac_config_target in $ac_config_targets
20839 case "$ac_config_target" in
20840 # Handling of arguments.
20841 "lib/mkcollections.pl" ) CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
20842 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20843 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20844 "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
20845 "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
20846 "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
20847 "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
20848 "external/relaxngDatatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
20849 "external/jsr166/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
20850 "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
20851 "gnu/java/security/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
20852 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20853 "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
20854 "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
20855 "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
20856 "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
20857 "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
20858 "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
20859 "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
20860 "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
20861 "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
20862 "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
20863 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
20864 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
20865 "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
20866 "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
20867 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
20868 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
20869 "native/jni/native-lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
20870 "native/plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
20871 "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
20872 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
20873 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
20874 "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
20875 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20876 "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
20877 "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
20878 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20879 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20880 "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
20881 "examples/Makefile.java2d" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
20882 "tools/gappletviewer" ) CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
20883 "tools/gjarsigner" ) CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
20884 "tools/gkeytool" ) CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
20885 "tools/gjar" ) CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
20886 "tools/gnative2ascii" ) CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
20887 "tools/gserialver" ) CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
20888 "tools/grmiregistry" ) CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
20889 "tools/gtnameserv" ) CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
20890 "tools/gorbd" ) CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
20891 "tools/grmid" ) CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
20892 "tools/grmic" ) CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
20893 "tools/gjavah" ) CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
20894 "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
20895 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
20896 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20897 "mkcollections.pl" ) CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
20898 "$ac_stdint_h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
20899 "gappletviewer" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
20900 "gjarsigner" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
20901 "gkeytool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
20902 "gjar" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
20903 "gnative2ascii" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
20904 "gserialver" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
20905 "grmiregistry" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
20906 "gtnameserv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
20907 "gorbd" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
20908 "grmid" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
20909 "grmic" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
20910 "gjavah" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
20911 "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
20912 "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
20913 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20914 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20915 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20916 { (exit 1); exit 1; }; };;
20917 esac
20918 done
20920 # If the user did not use the arguments to specify the items to instantiate,
20921 # then the envvar interface is used. Set only those that are not.
20922 # We use the long form for the default assignment because of an extremely
20923 # bizarre bug on SunOS 4.1.3.
20924 if $ac_need_defaults; then
20925 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20926 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20927 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20928 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20931 # Have a temporary directory for convenience. Make it in the build tree
20932 # simply because there is no reason to put it here, and in addition,
20933 # creating and moving files from /tmp can sometimes cause problems.
20934 # Create a temporary directory, and hook for its removal unless debugging.
20935 $debug ||
20937 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20938 trap '{ (exit 1); exit 1; }' 1 2 13 15
20941 # Create a (secure) tmp directory for tmp files.
20944 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20945 test -n "$tmp" && test -d "$tmp"
20946 } ||
20948 tmp=./confstat$$-$RANDOM
20949 (umask 077 && mkdir $tmp)
20950 } ||
20952 echo "$me: cannot create a temporary directory in ." >&2
20953 { (exit 1); exit 1; }
20956 _ACEOF
20958 cat >>$CONFIG_STATUS <<_ACEOF
20961 # CONFIG_FILES section.
20964 # No need to generate the scripts if there are no CONFIG_FILES.
20965 # This happens for instance when ./config.status config.h
20966 if test -n "\$CONFIG_FILES"; then
20967 # Protect against being on the right side of a sed subst in config.status.
20968 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20969 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20970 s,@SHELL@,$SHELL,;t t
20971 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20972 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20973 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20974 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20975 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20976 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20977 s,@exec_prefix@,$exec_prefix,;t t
20978 s,@prefix@,$prefix,;t t
20979 s,@program_transform_name@,$program_transform_name,;t t
20980 s,@bindir@,$bindir,;t t
20981 s,@sbindir@,$sbindir,;t t
20982 s,@libexecdir@,$libexecdir,;t t
20983 s,@datadir@,$datadir,;t t
20984 s,@sysconfdir@,$sysconfdir,;t t
20985 s,@sharedstatedir@,$sharedstatedir,;t t
20986 s,@localstatedir@,$localstatedir,;t t
20987 s,@libdir@,$libdir,;t t
20988 s,@includedir@,$includedir,;t t
20989 s,@oldincludedir@,$oldincludedir,;t t
20990 s,@infodir@,$infodir,;t t
20991 s,@mandir@,$mandir,;t t
20992 s,@build_alias@,$build_alias,;t t
20993 s,@host_alias@,$host_alias,;t t
20994 s,@target_alias@,$target_alias,;t t
20995 s,@DEFS@,$DEFS,;t t
20996 s,@ECHO_C@,$ECHO_C,;t t
20997 s,@ECHO_N@,$ECHO_N,;t t
20998 s,@ECHO_T@,$ECHO_T,;t t
20999 s,@LIBS@,$LIBS,;t t
21000 s,@build@,$build,;t t
21001 s,@build_cpu@,$build_cpu,;t t
21002 s,@build_vendor@,$build_vendor,;t t
21003 s,@build_os@,$build_os,;t t
21004 s,@host@,$host,;t t
21005 s,@host_cpu@,$host_cpu,;t t
21006 s,@host_vendor@,$host_vendor,;t t
21007 s,@host_os@,$host_os,;t t
21008 s,@target@,$target,;t t
21009 s,@target_cpu@,$target_cpu,;t t
21010 s,@target_vendor@,$target_vendor,;t t
21011 s,@target_os@,$target_os,;t t
21012 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
21013 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
21014 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
21015 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
21016 s,@multi_basedir@,$multi_basedir,;t t
21017 s,@LIBVERSION@,$LIBVERSION,;t t
21018 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
21019 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
21020 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21021 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21022 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21023 s,@CYGPATH_W@,$CYGPATH_W,;t t
21024 s,@PACKAGE@,$PACKAGE,;t t
21025 s,@VERSION@,$VERSION,;t t
21026 s,@ACLOCAL@,$ACLOCAL,;t t
21027 s,@AUTOCONF@,$AUTOCONF,;t t
21028 s,@AUTOMAKE@,$AUTOMAKE,;t t
21029 s,@AUTOHEADER@,$AUTOHEADER,;t t
21030 s,@MAKEINFO@,$MAKEINFO,;t t
21031 s,@install_sh@,$install_sh,;t t
21032 s,@STRIP@,$STRIP,;t t
21033 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21034 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21035 s,@mkdir_p@,$mkdir_p,;t t
21036 s,@AWK@,$AWK,;t t
21037 s,@SET_MAKE@,$SET_MAKE,;t t
21038 s,@am__leading_dot@,$am__leading_dot,;t t
21039 s,@AMTAR@,$AMTAR,;t t
21040 s,@am__tar@,$am__tar,;t t
21041 s,@am__untar@,$am__untar,;t t
21042 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
21043 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
21044 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
21045 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
21046 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
21047 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
21048 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
21049 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
21050 s,@default_toolkit@,$default_toolkit,;t t
21051 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
21052 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
21053 s,@CC@,$CC,;t t
21054 s,@CFLAGS@,$CFLAGS,;t t
21055 s,@LDFLAGS@,$LDFLAGS,;t t
21056 s,@CPPFLAGS@,$CPPFLAGS,;t t
21057 s,@ac_ct_CC@,$ac_ct_CC,;t t
21058 s,@EXEEXT@,$EXEEXT,;t t
21059 s,@OBJEXT@,$OBJEXT,;t t
21060 s,@DEPDIR@,$DEPDIR,;t t
21061 s,@am__include@,$am__include,;t t
21062 s,@am__quote@,$am__quote,;t t
21063 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21064 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21065 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21066 s,@CCDEPMODE@,$CCDEPMODE,;t t
21067 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21068 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21069 s,@CPP@,$CPP,;t t
21070 s,@EGREP@,$EGREP,;t t
21071 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
21072 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
21073 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
21074 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
21075 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
21076 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
21077 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
21078 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
21079 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
21080 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
21081 s,@toolexeclibdir@,$toolexeclibdir,;t t
21082 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
21083 s,@glibjdir@,$glibjdir,;t t
21084 s,@VM_BINARY@,$VM_BINARY,;t t
21085 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
21086 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
21087 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
21088 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
21089 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
21090 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
21091 s,@LN_S@,$LN_S,;t t
21092 s,@RANLIB@,$RANLIB,;t t
21093 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21094 s,@LIBTOOL@,$LIBTOOL,;t t
21095 s,@CXX@,$CXX,;t t
21096 s,@CXXFLAGS@,$CXXFLAGS,;t t
21097 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21098 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21099 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21100 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21101 s,@CXXCPP@,$CXXCPP,;t t
21102 s,@PERL@,$PERL,;t t
21103 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
21104 s,@LIBMAGIC@,$LIBMAGIC,;t t
21105 s,@LIBICONV@,$LIBICONV,;t t
21106 s,@LTLIBICONV@,$LTLIBICONV,;t t
21107 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
21108 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
21109 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
21110 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21111 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
21112 s,@XML_LIBS@,$XML_LIBS,;t t
21113 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
21114 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
21115 s,@X_CFLAGS@,$X_CFLAGS,;t t
21116 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21117 s,@X_LIBS@,$X_LIBS,;t t
21118 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21119 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
21120 s,@GTK_LIBS@,$GTK_LIBS,;t t
21121 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
21122 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
21123 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
21124 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
21125 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
21126 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
21127 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
21128 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
21129 s,@GDK_LIBS@,$GDK_LIBS,;t t
21130 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
21131 s,@QT_LIBS@,$QT_LIBS,;t t
21132 s,@MOC@,$MOC,;t t
21133 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
21134 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
21135 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
21136 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
21137 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
21138 s,@USER_JAVAH@,$USER_JAVAH,;t t
21139 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
21140 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
21141 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
21142 s,@GCJ@,$GCJ,;t t
21143 s,@JIKES@,$JIKES,;t t
21144 s,@JIKESENCODING@,$JIKESENCODING,;t t
21145 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
21146 s,@KJC@,$KJC,;t t
21147 s,@GCJX@,$GCJX,;t t
21148 s,@ECJ@,$ECJ,;t t
21149 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
21150 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
21151 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
21152 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
21153 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
21154 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
21155 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
21156 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
21157 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
21158 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
21159 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
21160 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
21161 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
21162 s,@vm_classes@,$vm_classes,;t t
21163 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21164 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21165 s,@MAINT@,$MAINT,;t t
21166 s,@LIBDEBUG@,$LIBDEBUG,;t t
21167 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
21168 s,@ECJ_JAR@,$ECJ_JAR,;t t
21169 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
21170 s,@REMOVE@,$REMOVE,;t t
21171 s,@MKDIR@,$MKDIR,;t t
21172 s,@CP@,$CP,;t t
21173 s,@DATE@,$DATE,;t t
21174 s,@FIND@,$FIND,;t t
21175 s,@ZIP@,$ZIP,;t t
21176 s,@FASTJAR@,$FASTJAR,;t t
21177 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
21178 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
21179 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
21180 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
21181 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
21182 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
21183 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
21184 s,@GJDOC@,$GJDOC,;t t
21185 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
21186 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
21187 s,@JAY@,$JAY,;t t
21188 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
21189 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
21190 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
21191 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
21192 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
21193 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
21194 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
21195 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
21196 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
21197 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
21198 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
21199 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
21200 s,@LIBOBJS@,$LIBOBJS,;t t
21201 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21202 CEOF
21204 _ACEOF
21206 cat >>$CONFIG_STATUS <<\_ACEOF
21207 # Split the substitutions into bite-sized pieces for seds with
21208 # small command number limits, like on Digital OSF/1 and HP-UX.
21209 ac_max_sed_lines=48
21210 ac_sed_frag=1 # Number of current file.
21211 ac_beg=1 # First line for current file.
21212 ac_end=$ac_max_sed_lines # Line after last line for current file.
21213 ac_more_lines=:
21214 ac_sed_cmds=
21215 while $ac_more_lines; do
21216 if test $ac_beg -gt 1; then
21217 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21218 else
21219 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21221 if test ! -s $tmp/subs.frag; then
21222 ac_more_lines=false
21223 else
21224 # The purpose of the label and of the branching condition is to
21225 # speed up the sed processing (if there are no `@' at all, there
21226 # is no need to browse any of the substitutions).
21227 # These are the two extra sed commands mentioned above.
21228 (echo ':t
21229 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21230 if test -z "$ac_sed_cmds"; then
21231 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21232 else
21233 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21235 ac_sed_frag=`expr $ac_sed_frag + 1`
21236 ac_beg=$ac_end
21237 ac_end=`expr $ac_end + $ac_max_sed_lines`
21239 done
21240 if test -z "$ac_sed_cmds"; then
21241 ac_sed_cmds=cat
21243 fi # test -n "$CONFIG_FILES"
21245 _ACEOF
21246 cat >>$CONFIG_STATUS <<\_ACEOF
21247 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21248 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21249 case $ac_file in
21250 - | *:- | *:-:* ) # input from stdin
21251 cat >$tmp/stdin
21252 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21253 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21254 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21255 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21256 * ) ac_file_in=$ac_file.in ;;
21257 esac
21259 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21260 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21261 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21262 X"$ac_file" : 'X\(//\)[^/]' \| \
21263 X"$ac_file" : 'X\(//\)$' \| \
21264 X"$ac_file" : 'X\(/\)' \| \
21265 . : '\(.\)' 2>/dev/null ||
21266 echo X"$ac_file" |
21267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21268 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21269 /^X\(\/\/\)$/{ s//\1/; q; }
21270 /^X\(\/\).*/{ s//\1/; q; }
21271 s/.*/./; q'`
21272 { if $as_mkdir_p; then
21273 mkdir -p "$ac_dir"
21274 else
21275 as_dir="$ac_dir"
21276 as_dirs=
21277 while test ! -d "$as_dir"; do
21278 as_dirs="$as_dir $as_dirs"
21279 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21280 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21281 X"$as_dir" : 'X\(//\)[^/]' \| \
21282 X"$as_dir" : 'X\(//\)$' \| \
21283 X"$as_dir" : 'X\(/\)' \| \
21284 . : '\(.\)' 2>/dev/null ||
21285 echo X"$as_dir" |
21286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21288 /^X\(\/\/\)$/{ s//\1/; q; }
21289 /^X\(\/\).*/{ s//\1/; q; }
21290 s/.*/./; q'`
21291 done
21292 test ! -n "$as_dirs" || mkdir $as_dirs
21293 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21294 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21295 { (exit 1); exit 1; }; }; }
21297 ac_builddir=.
21299 if test "$ac_dir" != .; then
21300 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21301 # A "../" for each directory in $ac_dir_suffix.
21302 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21303 else
21304 ac_dir_suffix= ac_top_builddir=
21307 case $srcdir in
21308 .) # No --srcdir option. We are building in place.
21309 ac_srcdir=.
21310 if test -z "$ac_top_builddir"; then
21311 ac_top_srcdir=.
21312 else
21313 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21314 fi ;;
21315 [\\/]* | ?:[\\/]* ) # Absolute path.
21316 ac_srcdir=$srcdir$ac_dir_suffix;
21317 ac_top_srcdir=$srcdir ;;
21318 *) # Relative path.
21319 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21320 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21321 esac
21323 # Do not use `cd foo && pwd` to compute absolute paths, because
21324 # the directories may not exist.
21325 case `pwd` in
21326 .) ac_abs_builddir="$ac_dir";;
21328 case "$ac_dir" in
21329 .) ac_abs_builddir=`pwd`;;
21330 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21331 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21332 esac;;
21333 esac
21334 case $ac_abs_builddir in
21335 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21337 case ${ac_top_builddir}. in
21338 .) ac_abs_top_builddir=$ac_abs_builddir;;
21339 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21340 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21341 esac;;
21342 esac
21343 case $ac_abs_builddir in
21344 .) ac_abs_srcdir=$ac_srcdir;;
21346 case $ac_srcdir in
21347 .) ac_abs_srcdir=$ac_abs_builddir;;
21348 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21349 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21350 esac;;
21351 esac
21352 case $ac_abs_builddir in
21353 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21355 case $ac_top_srcdir in
21356 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21357 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21358 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21359 esac;;
21360 esac
21363 case $INSTALL in
21364 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21365 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21366 esac
21368 if test x"$ac_file" != x-; then
21369 { echo "$as_me:$LINENO: creating $ac_file" >&5
21370 echo "$as_me: creating $ac_file" >&6;}
21371 rm -f "$ac_file"
21373 # Let's still pretend it is `configure' which instantiates (i.e., don't
21374 # use $as_me), people would be surprised to read:
21375 # /* config.h. Generated by config.status. */
21376 if test x"$ac_file" = x-; then
21377 configure_input=
21378 else
21379 configure_input="$ac_file. "
21381 configure_input=$configure_input"Generated from `echo $ac_file_in |
21382 sed 's,.*/,,'` by configure."
21384 # First look for the input files in the build tree, otherwise in the
21385 # src tree.
21386 ac_file_inputs=`IFS=:
21387 for f in $ac_file_in; do
21388 case $f in
21389 -) echo $tmp/stdin ;;
21390 [\\/$]*)
21391 # Absolute (can't be DOS-style, as IFS=:)
21392 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21393 echo "$as_me: error: cannot find input file: $f" >&2;}
21394 { (exit 1); exit 1; }; }
21395 echo "$f";;
21396 *) # Relative
21397 if test -f "$f"; then
21398 # Build tree
21399 echo "$f"
21400 elif test -f "$srcdir/$f"; then
21401 # Source tree
21402 echo "$srcdir/$f"
21403 else
21404 # /dev/null tree
21405 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21406 echo "$as_me: error: cannot find input file: $f" >&2;}
21407 { (exit 1); exit 1; }; }
21408 fi;;
21409 esac
21410 done` || { (exit 1); exit 1; }
21411 _ACEOF
21412 cat >>$CONFIG_STATUS <<_ACEOF
21413 sed "$ac_vpsub
21414 $extrasub
21415 _ACEOF
21416 cat >>$CONFIG_STATUS <<\_ACEOF
21418 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21419 s,@configure_input@,$configure_input,;t t
21420 s,@srcdir@,$ac_srcdir,;t t
21421 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21422 s,@top_srcdir@,$ac_top_srcdir,;t t
21423 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21424 s,@builddir@,$ac_builddir,;t t
21425 s,@abs_builddir@,$ac_abs_builddir,;t t
21426 s,@top_builddir@,$ac_top_builddir,;t t
21427 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21428 s,@INSTALL@,$ac_INSTALL,;t t
21429 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21430 rm -f $tmp/stdin
21431 if test x"$ac_file" != x-; then
21432 mv $tmp/out $ac_file
21433 else
21434 cat $tmp/out
21435 rm -f $tmp/out
21438 done
21439 _ACEOF
21440 cat >>$CONFIG_STATUS <<\_ACEOF
21443 # CONFIG_HEADER section.
21446 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21447 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21449 # ac_d sets the value in "#define NAME VALUE" lines.
21450 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21451 ac_dB='[ ].*$,\1#\2'
21452 ac_dC=' '
21453 ac_dD=',;t'
21454 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21455 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21456 ac_uB='$,\1#\2define\3'
21457 ac_uC=' '
21458 ac_uD=',;t'
21460 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21461 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21462 case $ac_file in
21463 - | *:- | *:-:* ) # input from stdin
21464 cat >$tmp/stdin
21465 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21466 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21467 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21468 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21469 * ) ac_file_in=$ac_file.in ;;
21470 esac
21472 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21473 echo "$as_me: creating $ac_file" >&6;}
21475 # First look for the input files in the build tree, otherwise in the
21476 # src tree.
21477 ac_file_inputs=`IFS=:
21478 for f in $ac_file_in; do
21479 case $f in
21480 -) echo $tmp/stdin ;;
21481 [\\/$]*)
21482 # Absolute (can't be DOS-style, as IFS=:)
21483 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21484 echo "$as_me: error: cannot find input file: $f" >&2;}
21485 { (exit 1); exit 1; }; }
21486 # Do quote $f, to prevent DOS paths from being IFS'd.
21487 echo "$f";;
21488 *) # Relative
21489 if test -f "$f"; then
21490 # Build tree
21491 echo "$f"
21492 elif test -f "$srcdir/$f"; then
21493 # Source tree
21494 echo "$srcdir/$f"
21495 else
21496 # /dev/null tree
21497 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21498 echo "$as_me: error: cannot find input file: $f" >&2;}
21499 { (exit 1); exit 1; }; }
21500 fi;;
21501 esac
21502 done` || { (exit 1); exit 1; }
21503 # Remove the trailing spaces.
21504 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21506 _ACEOF
21508 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21509 # `conftest.undefs', that substitutes the proper values into
21510 # config.h.in to produce config.h. The first handles `#define'
21511 # templates, and the second `#undef' templates.
21512 # And first: Protect against being on the right side of a sed subst in
21513 # config.status. Protect against being in an unquoted here document
21514 # in config.status.
21515 rm -f conftest.defines conftest.undefs
21516 # Using a here document instead of a string reduces the quoting nightmare.
21517 # Putting comments in sed scripts is not portable.
21519 # `end' is used to avoid that the second main sed command (meant for
21520 # 0-ary CPP macros) applies to n-ary macro definitions.
21521 # See the Autoconf documentation for `clear'.
21522 cat >confdef2sed.sed <<\_ACEOF
21523 s/[\\&,]/\\&/g
21524 s,[\\$`],\\&,g
21525 t clear
21526 : clear
21527 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21528 t end
21529 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21530 : end
21531 _ACEOF
21532 # If some macros were called several times there might be several times
21533 # the same #defines, which is useless. Nevertheless, we may not want to
21534 # sort them, since we want the *last* AC-DEFINE to be honored.
21535 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21536 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21537 rm -f confdef2sed.sed
21539 # This sed command replaces #undef with comments. This is necessary, for
21540 # example, in the case of _POSIX_SOURCE, which is predefined and required
21541 # on some systems where configure will not decide to define it.
21542 cat >>conftest.undefs <<\_ACEOF
21543 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21544 _ACEOF
21546 # Break up conftest.defines because some shells have a limit on the size
21547 # of here documents, and old seds have small limits too (100 cmds).
21548 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21549 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21550 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21551 echo ' :' >>$CONFIG_STATUS
21552 rm -f conftest.tail
21553 while grep . conftest.defines >/dev/null
21555 # Write a limited-size here document to $tmp/defines.sed.
21556 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21557 # Speed up: don't consider the non `#define' lines.
21558 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21559 # Work around the forget-to-reset-the-flag bug.
21560 echo 't clr' >>$CONFIG_STATUS
21561 echo ': clr' >>$CONFIG_STATUS
21562 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21563 echo 'CEOF
21564 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21565 rm -f $tmp/in
21566 mv $tmp/out $tmp/in
21567 ' >>$CONFIG_STATUS
21568 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21569 rm -f conftest.defines
21570 mv conftest.tail conftest.defines
21571 done
21572 rm -f conftest.defines
21573 echo ' fi # grep' >>$CONFIG_STATUS
21574 echo >>$CONFIG_STATUS
21576 # Break up conftest.undefs because some shells have a limit on the size
21577 # of here documents, and old seds have small limits too (100 cmds).
21578 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21579 rm -f conftest.tail
21580 while grep . conftest.undefs >/dev/null
21582 # Write a limited-size here document to $tmp/undefs.sed.
21583 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21584 # Speed up: don't consider the non `#undef'
21585 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21586 # Work around the forget-to-reset-the-flag bug.
21587 echo 't clr' >>$CONFIG_STATUS
21588 echo ': clr' >>$CONFIG_STATUS
21589 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21590 echo 'CEOF
21591 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21592 rm -f $tmp/in
21593 mv $tmp/out $tmp/in
21594 ' >>$CONFIG_STATUS
21595 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21596 rm -f conftest.undefs
21597 mv conftest.tail conftest.undefs
21598 done
21599 rm -f conftest.undefs
21601 cat >>$CONFIG_STATUS <<\_ACEOF
21602 # Let's still pretend it is `configure' which instantiates (i.e., don't
21603 # use $as_me), people would be surprised to read:
21604 # /* config.h. Generated by config.status. */
21605 if test x"$ac_file" = x-; then
21606 echo "/* Generated by configure. */" >$tmp/config.h
21607 else
21608 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21610 cat $tmp/in >>$tmp/config.h
21611 rm -f $tmp/in
21612 if test x"$ac_file" != x-; then
21613 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21614 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21615 echo "$as_me: $ac_file is unchanged" >&6;}
21616 else
21617 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21618 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21619 X"$ac_file" : 'X\(//\)[^/]' \| \
21620 X"$ac_file" : 'X\(//\)$' \| \
21621 X"$ac_file" : 'X\(/\)' \| \
21622 . : '\(.\)' 2>/dev/null ||
21623 echo X"$ac_file" |
21624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21625 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21626 /^X\(\/\/\)$/{ s//\1/; q; }
21627 /^X\(\/\).*/{ s//\1/; q; }
21628 s/.*/./; q'`
21629 { if $as_mkdir_p; then
21630 mkdir -p "$ac_dir"
21631 else
21632 as_dir="$ac_dir"
21633 as_dirs=
21634 while test ! -d "$as_dir"; do
21635 as_dirs="$as_dir $as_dirs"
21636 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21638 X"$as_dir" : 'X\(//\)[^/]' \| \
21639 X"$as_dir" : 'X\(//\)$' \| \
21640 X"$as_dir" : 'X\(/\)' \| \
21641 . : '\(.\)' 2>/dev/null ||
21642 echo X"$as_dir" |
21643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21644 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21645 /^X\(\/\/\)$/{ s//\1/; q; }
21646 /^X\(\/\).*/{ s//\1/; q; }
21647 s/.*/./; q'`
21648 done
21649 test ! -n "$as_dirs" || mkdir $as_dirs
21650 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21651 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21652 { (exit 1); exit 1; }; }; }
21654 rm -f $ac_file
21655 mv $tmp/config.h $ac_file
21657 else
21658 cat $tmp/config.h
21659 rm -f $tmp/config.h
21661 # Compute $ac_file's index in $config_headers.
21662 _am_stamp_count=1
21663 for _am_header in $config_headers :; do
21664 case $_am_header in
21665 $ac_file | $ac_file:* )
21666 break ;;
21668 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21669 esac
21670 done
21671 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21672 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21673 X$ac_file : 'X\(//\)[^/]' \| \
21674 X$ac_file : 'X\(//\)$' \| \
21675 X$ac_file : 'X\(/\)' \| \
21676 . : '\(.\)' 2>/dev/null ||
21677 echo X$ac_file |
21678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21680 /^X\(\/\/\)$/{ s//\1/; q; }
21681 /^X\(\/\).*/{ s//\1/; q; }
21682 s/.*/./; q'`/stamp-h$_am_stamp_count
21683 done
21684 _ACEOF
21685 cat >>$CONFIG_STATUS <<\_ACEOF
21688 # CONFIG_LINKS section.
21691 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
21692 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21693 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21695 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
21696 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
21698 if test ! -r $srcdir/$ac_source; then
21699 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
21700 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
21701 { (exit 1); exit 1; }; }
21703 rm -f $ac_dest
21705 # Make relative symlinks.
21706 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
21707 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21708 X"$ac_dest" : 'X\(//\)[^/]' \| \
21709 X"$ac_dest" : 'X\(//\)$' \| \
21710 X"$ac_dest" : 'X\(/\)' \| \
21711 . : '\(.\)' 2>/dev/null ||
21712 echo X"$ac_dest" |
21713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21714 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21715 /^X\(\/\/\)$/{ s//\1/; q; }
21716 /^X\(\/\).*/{ s//\1/; q; }
21717 s/.*/./; q'`
21718 { if $as_mkdir_p; then
21719 mkdir -p "$ac_dest_dir"
21720 else
21721 as_dir="$ac_dest_dir"
21722 as_dirs=
21723 while test ! -d "$as_dir"; do
21724 as_dirs="$as_dir $as_dirs"
21725 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21726 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21727 X"$as_dir" : 'X\(//\)[^/]' \| \
21728 X"$as_dir" : 'X\(//\)$' \| \
21729 X"$as_dir" : 'X\(/\)' \| \
21730 . : '\(.\)' 2>/dev/null ||
21731 echo X"$as_dir" |
21732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21733 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21734 /^X\(\/\/\)$/{ s//\1/; q; }
21735 /^X\(\/\).*/{ s//\1/; q; }
21736 s/.*/./; q'`
21737 done
21738 test ! -n "$as_dirs" || mkdir $as_dirs
21739 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
21740 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
21741 { (exit 1); exit 1; }; }; }
21743 ac_builddir=.
21745 if test "$ac_dest_dir" != .; then
21746 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
21747 # A "../" for each directory in $ac_dir_suffix.
21748 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21749 else
21750 ac_dir_suffix= ac_top_builddir=
21753 case $srcdir in
21754 .) # No --srcdir option. We are building in place.
21755 ac_srcdir=.
21756 if test -z "$ac_top_builddir"; then
21757 ac_top_srcdir=.
21758 else
21759 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21760 fi ;;
21761 [\\/]* | ?:[\\/]* ) # Absolute path.
21762 ac_srcdir=$srcdir$ac_dir_suffix;
21763 ac_top_srcdir=$srcdir ;;
21764 *) # Relative path.
21765 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21766 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21767 esac
21769 # Do not use `cd foo && pwd` to compute absolute paths, because
21770 # the directories may not exist.
21771 case `pwd` in
21772 .) ac_abs_builddir="$ac_dest_dir";;
21774 case "$ac_dest_dir" in
21775 .) ac_abs_builddir=`pwd`;;
21776 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
21777 *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
21778 esac;;
21779 esac
21780 case $ac_abs_builddir in
21781 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21783 case ${ac_top_builddir}. in
21784 .) ac_abs_top_builddir=$ac_abs_builddir;;
21785 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21786 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21787 esac;;
21788 esac
21789 case $ac_abs_builddir in
21790 .) ac_abs_srcdir=$ac_srcdir;;
21792 case $ac_srcdir in
21793 .) ac_abs_srcdir=$ac_abs_builddir;;
21794 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21795 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21796 esac;;
21797 esac
21798 case $ac_abs_builddir in
21799 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21801 case $ac_top_srcdir in
21802 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21803 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21804 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21805 esac;;
21806 esac
21809 case $srcdir in
21810 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
21811 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
21812 esac
21814 # Try a symlink, then a hard link, then a copy.
21815 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21816 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
21817 cp -p $srcdir/$ac_source $ac_dest ||
21818 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
21819 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
21820 { (exit 1); exit 1; }; }
21821 done
21822 _ACEOF
21823 cat >>$CONFIG_STATUS <<\_ACEOF
21826 # CONFIG_COMMANDS section.
21828 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21829 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21830 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21831 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21832 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21833 X"$ac_dest" : 'X\(//\)[^/]' \| \
21834 X"$ac_dest" : 'X\(//\)$' \| \
21835 X"$ac_dest" : 'X\(/\)' \| \
21836 . : '\(.\)' 2>/dev/null ||
21837 echo X"$ac_dest" |
21838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21839 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21840 /^X\(\/\/\)$/{ s//\1/; q; }
21841 /^X\(\/\).*/{ s//\1/; q; }
21842 s/.*/./; q'`
21843 { if $as_mkdir_p; then
21844 mkdir -p "$ac_dir"
21845 else
21846 as_dir="$ac_dir"
21847 as_dirs=
21848 while test ! -d "$as_dir"; do
21849 as_dirs="$as_dir $as_dirs"
21850 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21851 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21852 X"$as_dir" : 'X\(//\)[^/]' \| \
21853 X"$as_dir" : 'X\(//\)$' \| \
21854 X"$as_dir" : 'X\(/\)' \| \
21855 . : '\(.\)' 2>/dev/null ||
21856 echo X"$as_dir" |
21857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21858 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21859 /^X\(\/\/\)$/{ s//\1/; q; }
21860 /^X\(\/\).*/{ s//\1/; q; }
21861 s/.*/./; q'`
21862 done
21863 test ! -n "$as_dirs" || mkdir $as_dirs
21864 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21865 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21866 { (exit 1); exit 1; }; }; }
21868 ac_builddir=.
21870 if test "$ac_dir" != .; then
21871 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21872 # A "../" for each directory in $ac_dir_suffix.
21873 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21874 else
21875 ac_dir_suffix= ac_top_builddir=
21878 case $srcdir in
21879 .) # No --srcdir option. We are building in place.
21880 ac_srcdir=.
21881 if test -z "$ac_top_builddir"; then
21882 ac_top_srcdir=.
21883 else
21884 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21885 fi ;;
21886 [\\/]* | ?:[\\/]* ) # Absolute path.
21887 ac_srcdir=$srcdir$ac_dir_suffix;
21888 ac_top_srcdir=$srcdir ;;
21889 *) # Relative path.
21890 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21891 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21892 esac
21894 # Do not use `cd foo && pwd` to compute absolute paths, because
21895 # the directories may not exist.
21896 case `pwd` in
21897 .) ac_abs_builddir="$ac_dir";;
21899 case "$ac_dir" in
21900 .) ac_abs_builddir=`pwd`;;
21901 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21902 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21903 esac;;
21904 esac
21905 case $ac_abs_builddir in
21906 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21908 case ${ac_top_builddir}. in
21909 .) ac_abs_top_builddir=$ac_abs_builddir;;
21910 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21911 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21912 esac;;
21913 esac
21914 case $ac_abs_builddir in
21915 .) ac_abs_srcdir=$ac_srcdir;;
21917 case $ac_srcdir in
21918 .) ac_abs_srcdir=$ac_abs_builddir;;
21919 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21920 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21921 esac;;
21922 esac
21923 case $ac_abs_builddir in
21924 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21926 case $ac_top_srcdir in
21927 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21928 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21929 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21930 esac;;
21931 esac
21934 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21935 echo "$as_me: executing $ac_dest commands" >&6;}
21936 case $ac_dest in
21937 default-1 )
21938 # Only add multilib support code if we just rebuilt the top-level
21939 # Makefile.
21940 case " $CONFIG_FILES " in
21941 *" Makefile "*)
21942 ac_file=Makefile . ${multi_basedir}/config-ml.in
21944 esac ;;
21945 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21946 # Strip MF so we end up with the name of the file.
21947 mf=`echo "$mf" | sed -e 's/:.*$//'`
21948 # Check whether this is an Automake generated Makefile or not.
21949 # We used to match only the files named `Makefile.in', but
21950 # some people rename them; so instead we look at the file content.
21951 # Grep'ing the first line is not enough: some people post-process
21952 # each Makefile.in and add a new line on top of each file to say so.
21953 # So let's grep whole file.
21954 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21955 dirpart=`(dirname "$mf") 2>/dev/null ||
21956 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21957 X"$mf" : 'X\(//\)[^/]' \| \
21958 X"$mf" : 'X\(//\)$' \| \
21959 X"$mf" : 'X\(/\)' \| \
21960 . : '\(.\)' 2>/dev/null ||
21961 echo X"$mf" |
21962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21963 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21964 /^X\(\/\/\)$/{ s//\1/; q; }
21965 /^X\(\/\).*/{ s//\1/; q; }
21966 s/.*/./; q'`
21967 else
21968 continue
21970 # Extract the definition of DEPDIR, am__include, and am__quote
21971 # from the Makefile without running `make'.
21972 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21973 test -z "$DEPDIR" && continue
21974 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21975 test -z "am__include" && continue
21976 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21977 # When using ansi2knr, U may be empty or an underscore; expand it
21978 U=`sed -n 's/^U = //p' < "$mf"`
21979 # Find all dependency output files, they are included files with
21980 # $(DEPDIR) in their names. We invoke sed twice because it is the
21981 # simplest approach to changing $(DEPDIR) to its actual value in the
21982 # expansion.
21983 for file in `sed -n "
21984 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21985 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21986 # Make sure the directory exists.
21987 test -f "$dirpart/$file" && continue
21988 fdir=`(dirname "$file") 2>/dev/null ||
21989 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21990 X"$file" : 'X\(//\)[^/]' \| \
21991 X"$file" : 'X\(//\)$' \| \
21992 X"$file" : 'X\(/\)' \| \
21993 . : '\(.\)' 2>/dev/null ||
21994 echo X"$file" |
21995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21996 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21997 /^X\(\/\/\)$/{ s//\1/; q; }
21998 /^X\(\/\).*/{ s//\1/; q; }
21999 s/.*/./; q'`
22000 { if $as_mkdir_p; then
22001 mkdir -p $dirpart/$fdir
22002 else
22003 as_dir=$dirpart/$fdir
22004 as_dirs=
22005 while test ! -d "$as_dir"; do
22006 as_dirs="$as_dir $as_dirs"
22007 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22009 X"$as_dir" : 'X\(//\)[^/]' \| \
22010 X"$as_dir" : 'X\(//\)$' \| \
22011 X"$as_dir" : 'X\(/\)' \| \
22012 . : '\(.\)' 2>/dev/null ||
22013 echo X"$as_dir" |
22014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22015 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22016 /^X\(\/\/\)$/{ s//\1/; q; }
22017 /^X\(\/\).*/{ s//\1/; q; }
22018 s/.*/./; q'`
22019 done
22020 test ! -n "$as_dirs" || mkdir $as_dirs
22021 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22022 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
22023 { (exit 1); exit 1; }; }; }
22025 # echo "creating $dirpart/$file"
22026 echo '# dummy' > "$dirpart/$file"
22027 done
22028 done
22030 mkcollections.pl ) chmod 755 lib/mkcollections.pl ;;
22031 $ac_stdint_h )
22032 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
22033 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
22034 ac_stdint=$tmp/_stdint.h
22036 echo "#ifndef" $_ac_stdint_h >$ac_stdint
22037 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
22038 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
22039 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
22040 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
22041 if test "_$ac_cv_header_stdint_t" != "_" ; then
22042 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
22043 echo "#include <stdint.h>" >>$ac_stdint
22044 echo "#endif" >>$ac_stdint
22045 echo "#endif" >>$ac_stdint
22046 else
22048 cat >>$ac_stdint <<STDINT_EOF
22050 /* ................... shortcircuit part ........................... */
22052 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
22053 #include <stdint.h>
22054 #else
22055 #include <stddef.h>
22057 /* .................... configured part ............................ */
22059 STDINT_EOF
22061 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
22062 if test "_$ac_cv_header_stdint_x" != "_" ; then
22063 ac_header="$ac_cv_header_stdint_x"
22064 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
22065 else
22066 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
22069 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
22070 if test "_$ac_cv_header_stdint_o" != "_" ; then
22071 ac_header="$ac_cv_header_stdint_o"
22072 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
22073 else
22074 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
22077 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
22078 if test "_$ac_cv_header_stdint_u" != "_" ; then
22079 ac_header="$ac_cv_header_stdint_u"
22080 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
22081 else
22082 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
22085 echo "" >>$ac_stdint
22087 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
22088 echo "#include <$ac_header>" >>$ac_stdint
22089 echo "" >>$ac_stdint
22090 fi fi
22092 echo "/* which 64bit typedef has been found */" >>$ac_stdint
22093 if test "$ac_cv_type_uint64_t" = "yes" ; then
22094 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
22095 else
22096 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
22098 if test "$ac_cv_type_u_int64_t" = "yes" ; then
22099 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
22100 else
22101 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
22103 echo "" >>$ac_stdint
22105 echo "/* which type model has been detected */" >>$ac_stdint
22106 if test "_$ac_cv_char_data_model" != "_" ; then
22107 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
22108 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
22109 else
22110 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
22111 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
22113 echo "" >>$ac_stdint
22115 echo "/* whether int_least types were detected */" >>$ac_stdint
22116 if test "$ac_cv_type_int_least32_t" = "yes"; then
22117 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
22118 else
22119 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
22121 echo "/* whether int_fast types were detected */" >>$ac_stdint
22122 if test "$ac_cv_type_int_fast32_t" = "yes"; then
22123 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
22124 else
22125 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
22127 echo "/* whether intmax_t type was detected */" >>$ac_stdint
22128 if test "$ac_cv_type_intmax_t" = "yes"; then
22129 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
22130 else
22131 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
22133 echo "" >>$ac_stdint
22135 cat >>$ac_stdint <<STDINT_EOF
22136 /* .................... detections part ............................ */
22138 /* whether we need to define bitspecific types from compiler base types */
22139 #ifndef _STDINT_HEADER_INTPTR
22140 #ifndef _STDINT_HEADER_UINT32
22141 #ifndef _STDINT_HEADER_U_INT32
22142 #define _STDINT_NEED_INT_MODEL_T
22143 #else
22144 #define _STDINT_HAVE_U_INT_TYPES
22145 #endif
22146 #endif
22147 #endif
22149 #ifdef _STDINT_HAVE_U_INT_TYPES
22150 #undef _STDINT_NEED_INT_MODEL_T
22151 #endif
22153 #ifdef _STDINT_CHAR_MODEL
22154 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
22155 #ifndef _STDINT_BYTE_MODEL
22156 #define _STDINT_BYTE_MODEL 12
22157 #endif
22158 #endif
22159 #endif
22161 #ifndef _STDINT_HAVE_INT_LEAST32_T
22162 #define _STDINT_NEED_INT_LEAST_T
22163 #endif
22165 #ifndef _STDINT_HAVE_INT_FAST32_T
22166 #define _STDINT_NEED_INT_FAST_T
22167 #endif
22169 #ifndef _STDINT_HEADER_INTPTR
22170 #define _STDINT_NEED_INTPTR_T
22171 #ifndef _STDINT_HAVE_INTMAX_T
22172 #define _STDINT_NEED_INTMAX_T
22173 #endif
22174 #endif
22177 /* .................... definition part ............................ */
22179 /* some system headers have good uint64_t */
22180 #ifndef _HAVE_UINT64_T
22181 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
22182 #define _HAVE_UINT64_T
22183 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
22184 #define _HAVE_UINT64_T
22185 typedef u_int64_t uint64_t;
22186 #endif
22187 #endif
22189 #ifndef _HAVE_UINT64_T
22190 /* .. here are some common heuristics using compiler runtime specifics */
22191 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
22192 #define _HAVE_UINT64_T
22193 #define _HAVE_LONGLONG_UINT64_T
22194 typedef long long int64_t;
22195 typedef unsigned long long uint64_t;
22197 #elif !defined __STRICT_ANSI__
22198 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
22199 #define _HAVE_UINT64_T
22200 typedef __int64 int64_t;
22201 typedef unsigned __int64 uint64_t;
22203 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
22204 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
22205 #if !defined _NO_LONGLONG
22206 #define _HAVE_UINT64_T
22207 #define _HAVE_LONGLONG_UINT64_T
22208 typedef long long int64_t;
22209 typedef unsigned long long uint64_t;
22210 #endif
22212 #elif defined __alpha || (defined __mips && defined _ABIN32)
22213 #if !defined _NO_LONGLONG
22214 typedef long int64_t;
22215 typedef unsigned long uint64_t;
22216 #endif
22217 /* compiler/cpu type to define int64_t */
22218 #endif
22219 #endif
22220 #endif
22222 #if defined _STDINT_HAVE_U_INT_TYPES
22223 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
22224 typedef u_int8_t uint8_t;
22225 typedef u_int16_t uint16_t;
22226 typedef u_int32_t uint32_t;
22228 /* glibc compatibility */
22229 #ifndef __int8_t_defined
22230 #define __int8_t_defined
22231 #endif
22232 #endif
22234 #ifdef _STDINT_NEED_INT_MODEL_T
22235 /* we must guess all the basic types. Apart from byte-adressable system, */
22236 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
22237 /* (btw, those nibble-addressable systems are way off, or so we assume) */
22240 #if defined _STDINT_BYTE_MODEL
22241 #if _STDINT_LONG_MODEL+0 == 242
22242 /* 2:4:2 = IP16 = a normal 16-bit system */
22243 typedef unsigned char uint8_t;
22244 typedef unsigned short uint16_t;
22245 typedef unsigned long uint32_t;
22246 #ifndef __int8_t_defined
22247 #define __int8_t_defined
22248 typedef char int8_t;
22249 typedef short int16_t;
22250 typedef long int32_t;
22251 #endif
22252 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
22253 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
22254 /* 4:4:4 = ILP32 = a normal 32-bit system */
22255 typedef unsigned char uint8_t;
22256 typedef unsigned short uint16_t;
22257 typedef unsigned int uint32_t;
22258 #ifndef __int8_t_defined
22259 #define __int8_t_defined
22260 typedef char int8_t;
22261 typedef short int16_t;
22262 typedef int int32_t;
22263 #endif
22264 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
22265 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
22266 /* 4:8:8 = LP64 = a normal 64-bit system */
22267 typedef unsigned char uint8_t;
22268 typedef unsigned short uint16_t;
22269 typedef unsigned int uint32_t;
22270 #ifndef __int8_t_defined
22271 #define __int8_t_defined
22272 typedef char int8_t;
22273 typedef short int16_t;
22274 typedef int int32_t;
22275 #endif
22276 /* this system has a "long" of 64bit */
22277 #ifndef _HAVE_UINT64_T
22278 #define _HAVE_UINT64_T
22279 typedef unsigned long uint64_t;
22280 typedef long int64_t;
22281 #endif
22282 #elif _STDINT_LONG_MODEL+0 == 448
22283 /* LLP64 a 64-bit system derived from a 32-bit system */
22284 typedef unsigned char uint8_t;
22285 typedef unsigned short uint16_t;
22286 typedef unsigned int uint32_t;
22287 #ifndef __int8_t_defined
22288 #define __int8_t_defined
22289 typedef char int8_t;
22290 typedef short int16_t;
22291 typedef int int32_t;
22292 #endif
22293 /* assuming the system has a "long long" */
22294 #ifndef _HAVE_UINT64_T
22295 #define _HAVE_UINT64_T
22296 #define _HAVE_LONGLONG_UINT64_T
22297 typedef unsigned long long uint64_t;
22298 typedef long long int64_t;
22299 #endif
22300 #else
22301 #define _STDINT_NO_INT32_T
22302 #endif
22303 #else
22304 #define _STDINT_NO_INT8_T
22305 #define _STDINT_NO_INT32_T
22306 #endif
22307 #endif
22310 * quote from SunOS-5.8 sys/inttypes.h:
22311 * Use at your own risk. As of February 1996, the committee is squarely
22312 * behind the fixed sized types; the "least" and "fast" types are still being
22313 * discussed. The probability that the "fast" types may be removed before
22314 * the standard is finalized is high enough that they are not currently
22315 * implemented.
22318 #if defined _STDINT_NEED_INT_LEAST_T
22319 typedef int8_t int_least8_t;
22320 typedef int16_t int_least16_t;
22321 typedef int32_t int_least32_t;
22322 #ifdef _HAVE_UINT64_T
22323 typedef int64_t int_least64_t;
22324 #endif
22326 typedef uint8_t uint_least8_t;
22327 typedef uint16_t uint_least16_t;
22328 typedef uint32_t uint_least32_t;
22329 #ifdef _HAVE_UINT64_T
22330 typedef uint64_t uint_least64_t;
22331 #endif
22332 /* least types */
22333 #endif
22335 #if defined _STDINT_NEED_INT_FAST_T
22336 typedef int8_t int_fast8_t;
22337 typedef int int_fast16_t;
22338 typedef int32_t int_fast32_t;
22339 #ifdef _HAVE_UINT64_T
22340 typedef int64_t int_fast64_t;
22341 #endif
22343 typedef uint8_t uint_fast8_t;
22344 typedef unsigned uint_fast16_t;
22345 typedef uint32_t uint_fast32_t;
22346 #ifdef _HAVE_UINT64_T
22347 typedef uint64_t uint_fast64_t;
22348 #endif
22349 /* fast types */
22350 #endif
22352 #ifdef _STDINT_NEED_INTMAX_T
22353 #ifdef _HAVE_UINT64_T
22354 typedef int64_t intmax_t;
22355 typedef uint64_t uintmax_t;
22356 #else
22357 typedef long intmax_t;
22358 typedef unsigned long uintmax_t;
22359 #endif
22360 #endif
22362 #ifdef _STDINT_NEED_INTPTR_T
22363 #ifndef __intptr_t_defined
22364 #define __intptr_t_defined
22365 /* we encourage using "long" to store pointer values, never use "int" ! */
22366 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
22367 typedef unsigned int uintptr_t;
22368 typedef int intptr_t;
22369 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
22370 typedef unsigned long uintptr_t;
22371 typedef long intptr_t;
22372 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
22373 typedef uint64_t uintptr_t;
22374 typedef int64_t intptr_t;
22375 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
22376 typedef unsigned long uintptr_t;
22377 typedef long intptr_t;
22378 #endif
22379 #endif
22380 #endif
22382 /* The ISO C99 standard specifies that in C++ implementations these
22383 should only be defined if explicitly requested. */
22384 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
22385 #ifndef UINT32_C
22387 /* Signed. */
22388 # define INT8_C(c) c
22389 # define INT16_C(c) c
22390 # define INT32_C(c) c
22391 # ifdef _HAVE_LONGLONG_UINT64_T
22392 # define INT64_C(c) c ## L
22393 # else
22394 # define INT64_C(c) c ## LL
22395 # endif
22397 /* Unsigned. */
22398 # define UINT8_C(c) c ## U
22399 # define UINT16_C(c) c ## U
22400 # define UINT32_C(c) c ## U
22401 # ifdef _HAVE_LONGLONG_UINT64_T
22402 # define UINT64_C(c) c ## UL
22403 # else
22404 # define UINT64_C(c) c ## ULL
22405 # endif
22407 /* Maximal type. */
22408 # ifdef _HAVE_LONGLONG_UINT64_T
22409 # define INTMAX_C(c) c ## L
22410 # define UINTMAX_C(c) c ## UL
22411 # else
22412 # define INTMAX_C(c) c ## LL
22413 # define UINTMAX_C(c) c ## ULL
22414 # endif
22416 /* literalnumbers */
22417 #endif
22418 #endif
22420 /* These limits are merily those of a two complement byte-oriented system */
22422 /* Minimum of signed integral types. */
22423 # define INT8_MIN (-128)
22424 # define INT16_MIN (-32767-1)
22425 # define INT32_MIN (-2147483647-1)
22426 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
22427 /* Maximum of signed integral types. */
22428 # define INT8_MAX (127)
22429 # define INT16_MAX (32767)
22430 # define INT32_MAX (2147483647)
22431 # define INT64_MAX (__INT64_C(9223372036854775807))
22433 /* Maximum of unsigned integral types. */
22434 # define UINT8_MAX (255)
22435 # define UINT16_MAX (65535)
22436 # define UINT32_MAX (4294967295U)
22437 # define UINT64_MAX (__UINT64_C(18446744073709551615))
22439 /* Minimum of signed integral types having a minimum size. */
22440 # define INT_LEAST8_MIN INT8_MIN
22441 # define INT_LEAST16_MIN INT16_MIN
22442 # define INT_LEAST32_MIN INT32_MIN
22443 # define INT_LEAST64_MIN INT64_MIN
22444 /* Maximum of signed integral types having a minimum size. */
22445 # define INT_LEAST8_MAX INT8_MAX
22446 # define INT_LEAST16_MAX INT16_MAX
22447 # define INT_LEAST32_MAX INT32_MAX
22448 # define INT_LEAST64_MAX INT64_MAX
22450 /* Maximum of unsigned integral types having a minimum size. */
22451 # define UINT_LEAST8_MAX UINT8_MAX
22452 # define UINT_LEAST16_MAX UINT16_MAX
22453 # define UINT_LEAST32_MAX UINT32_MAX
22454 # define UINT_LEAST64_MAX UINT64_MAX
22456 /* shortcircuit*/
22457 #endif
22458 /* once */
22459 #endif
22460 #endif
22461 STDINT_EOF
22463 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
22464 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
22465 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
22466 else
22467 ac_dir=`(dirname "$ac_stdint_h") 2>/dev/null ||
22468 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22469 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
22470 X"$ac_stdint_h" : 'X\(//\)$' \| \
22471 X"$ac_stdint_h" : 'X\(/\)' \| \
22472 . : '\(.\)' 2>/dev/null ||
22473 echo X"$ac_stdint_h" |
22474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22475 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22476 /^X\(\/\/\)$/{ s//\1/; q; }
22477 /^X\(\/\).*/{ s//\1/; q; }
22478 s/.*/./; q'`
22479 { if $as_mkdir_p; then
22480 mkdir -p "$ac_dir"
22481 else
22482 as_dir="$ac_dir"
22483 as_dirs=
22484 while test ! -d "$as_dir"; do
22485 as_dirs="$as_dir $as_dirs"
22486 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22487 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22488 X"$as_dir" : 'X\(//\)[^/]' \| \
22489 X"$as_dir" : 'X\(//\)$' \| \
22490 X"$as_dir" : 'X\(/\)' \| \
22491 . : '\(.\)' 2>/dev/null ||
22492 echo X"$as_dir" |
22493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22494 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22495 /^X\(\/\/\)$/{ s//\1/; q; }
22496 /^X\(\/\).*/{ s//\1/; q; }
22497 s/.*/./; q'`
22498 done
22499 test ! -n "$as_dirs" || mkdir $as_dirs
22500 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22501 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22502 { (exit 1); exit 1; }; }; }
22504 rm -f $ac_stdint_h
22505 mv $ac_stdint $ac_stdint_h
22508 gappletviewer ) chmod 755 tools/gappletviewer ;;
22509 gjarsigner ) chmod 755 tools/gjarsigner ;;
22510 gkeytool ) chmod 755 tools/gkeytool ;;
22511 gjar ) chmod 755 tools/gjar ;;
22512 gnative2ascii ) chmod 755 tools/gnative2ascii ;;
22513 gserialver ) chmod 755 tools/gserialver ;;
22514 grmiregistry ) chmod 755 tools/grmiregistry ;;
22515 gtnameserv ) chmod 755 tools/gtnameserv ;;
22516 gorbd ) chmod 755 tools/gorbd ;;
22517 grmid ) chmod 755 tools/grmid ;;
22518 grmic ) chmod 755 tools/grmic ;;
22519 gjavah ) chmod 755 tools/gjavah ;;
22520 gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
22521 copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
22522 esac
22523 done
22524 _ACEOF
22526 cat >>$CONFIG_STATUS <<\_ACEOF
22528 { (exit 0); exit 0; }
22529 _ACEOF
22530 chmod +x $CONFIG_STATUS
22531 ac_clean_files=$ac_clean_files_save
22534 # configure is writing to config.log, and then calls config.status.
22535 # config.status does its own redirection, appending to config.log.
22536 # Unfortunately, on DOS this fails, as config.log is still kept open
22537 # by configure, so config.status won't be able to write to it; its
22538 # output is simply discarded. So we exec the FD to /dev/null,
22539 # effectively closing config.log, so it can be properly (re)opened and
22540 # appended to by config.status. When coming back to configure, we
22541 # need to make the FD available again.
22542 if test "$no_create" != yes; then
22543 ac_cs_success=:
22544 ac_config_status_args=
22545 test "$silent" = yes &&
22546 ac_config_status_args="$ac_config_status_args --quiet"
22547 exec 5>/dev/null
22548 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22549 exec 5>>config.log
22550 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22551 # would make configure fail if this is the last instruction.
22552 $ac_cs_success || { (exit 1); exit 1; }
22556 # Create standard.omit based on decisions we just made.
22557 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
22558 if test x$use_escher != xtrue; then
22559 echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit