re PR bootstrap/30635 (--enable-stage1-langauges configure option is not documented.)
[official-gcc.git] / libjava / classpath / configure
blobad9e12005424bafffc7632f02d0ea1e0ca214e84
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 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 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-multilib build many library versions (default)
877 --enable-collections create collections.jar default=no
878 --enable-jni compile JNI source default=yes
879 --enable-core-jni compile JNI sources for core default=yes
880 --enable-default-preferences-peer[=peer type or class name]
881 specify one of: "gconf" [default] for a GConf based
882 backend, "file" for a file based one, "memory" for a
883 transient one, or a fully qualified class name
884 implementing java.util.prefs.PreferencesFactory
885 --disable-gconf-peer compile GConf native peers (disabled by
886 --disable-jni) default=yes
888 --enable-Werror whether to compile C code with -Werror which turns
889 any compiler warning into a compilation failure
890 default=no
891 --enable-default-toolkit
892 fully qualified class name of default AWT toolkit
893 --enable-xmlj compile native libxml/xslt library default=no
894 --disable-alsa compile ALSA providers (enable by --enable-alsa)
895 default=yes
896 --disable-dependency-tracking speeds up one-time build
897 --enable-dependency-tracking do not reject slow dependency extractors
898 --disable-dssi compile DSSI providers (enable by --enable-dssi)
899 default=yes
900 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
901 default=yes
902 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
903 default=no
904 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
905 default=yes
906 --enable-regen-headers automatically regenerate JNI headers default=no
907 --enable-tool-wrappers create tool wrapper binaries default=no
908 --enable-static=PKGS build static libraries default=no
909 --enable-shared=PKGS build shared libraries default=yes
910 --enable-fast-install=PKGS optimize for fast installation default=yes
911 --disable-libtool-lock avoid locking (might break parallel builds)
912 --disable-rpath do not hardcode runtime library paths
913 --enable-maintainer-mode enable make rules and dependencies not useful
914 (and sometimes confusing) to the casual installer
915 --enable-debug enable runtime debugging code
916 --enable-load-library enable to use JNI native methods default=yes
917 --enable-java-lang-system-explicit-initialization
918 will the VM explicitly invoke java.lang.System's
919 static initialization methods default=no
920 --enable-examples enable build of the examples default=yes
921 --enable-portable-native-sync
922 synchronize VM threads portably
923 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
925 Optional Packages:
926 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
927 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
928 --with-native-libdir sets the installation directory for native libraries
929 default='${libdir}/${PACKAGE}'
930 --with-glibj-dir sets the installation directory for glibj.zip
931 default='${libdir}/${PACKAGE}'
932 --with-vm sets the VM binary name
933 default='${prefix}/bin/jamvm'
934 --with-gnu-ld assume the C compiler uses GNU ld default=no
935 --with-pic try to use only PIC/non-PIC objects default=use both
936 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
937 --without-libiconv-prefix don't search for libiconv in includedir and libdir
938 --with-x use the X Window System
939 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
940 systems use pkg-config.
941 --with-javah specify path or name of a javah-like program
942 --with-gcj bytecode compilation with gcj
943 --with-jikes bytecode compilation with jikes
944 --with-kjc bytecode compilation with kjc
945 --with-gcjx bytecode compilation with gcjx
946 --with-ecj bytecode compilation with ecj
947 --with-classpath specify path to a classes.zip like file
948 --with-vm-classes specify path to VM override source files
949 --with-fastjar=PATH define to use a fastjar style tool
950 --with-glibj define what to install (zip|flat|both|none|build)
951 [default=zip]
952 --with-gjdoc generate documentation using gjdoc (default is NO)
953 --with-jay Regenerate the parsers with jay must be given the
954 path to the jay executable
955 --with-glibj-zip=ABS.PATH
956 use prebuilt glibj.zip class library
957 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
959 Some influential environment variables:
960 CC C compiler command
961 CFLAGS C compiler flags
962 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
963 nonstandard directory <lib dir>
964 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
965 headers in a nonstandard directory <include dir>
966 CPP C preprocessor
967 CXX C++ compiler command
968 CXXFLAGS C++ compiler flags
969 CXXCPP C++ preprocessor
971 Use these variables to override the choices made by `configure' or to help
972 it to find libraries and programs with nonstandard names/locations.
974 Report bugs to <classpath@gnu.org>.
975 _ACEOF
978 if test "$ac_init_help" = "recursive"; then
979 # If there are subdirs, report their specific --help.
980 ac_popdir=`pwd`
981 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
982 test -d $ac_dir || continue
983 ac_builddir=.
985 if test "$ac_dir" != .; then
986 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
987 # A "../" for each directory in $ac_dir_suffix.
988 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
989 else
990 ac_dir_suffix= ac_top_builddir=
993 case $srcdir in
994 .) # No --srcdir option. We are building in place.
995 ac_srcdir=.
996 if test -z "$ac_top_builddir"; then
997 ac_top_srcdir=.
998 else
999 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1000 fi ;;
1001 [\\/]* | ?:[\\/]* ) # Absolute path.
1002 ac_srcdir=$srcdir$ac_dir_suffix;
1003 ac_top_srcdir=$srcdir ;;
1004 *) # Relative path.
1005 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1006 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1007 esac
1009 # Do not use `cd foo && pwd` to compute absolute paths, because
1010 # the directories may not exist.
1011 case `pwd` in
1012 .) ac_abs_builddir="$ac_dir";;
1014 case "$ac_dir" in
1015 .) ac_abs_builddir=`pwd`;;
1016 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1017 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1018 esac;;
1019 esac
1020 case $ac_abs_builddir in
1021 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1023 case ${ac_top_builddir}. in
1024 .) ac_abs_top_builddir=$ac_abs_builddir;;
1025 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1026 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1027 esac;;
1028 esac
1029 case $ac_abs_builddir in
1030 .) ac_abs_srcdir=$ac_srcdir;;
1032 case $ac_srcdir in
1033 .) ac_abs_srcdir=$ac_abs_builddir;;
1034 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1035 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1036 esac;;
1037 esac
1038 case $ac_abs_builddir in
1039 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1041 case $ac_top_srcdir in
1042 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1043 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1044 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1045 esac;;
1046 esac
1048 cd $ac_dir
1049 # Check for guested configure; otherwise get Cygnus style configure.
1050 if test -f $ac_srcdir/configure.gnu; then
1051 echo
1052 $SHELL $ac_srcdir/configure.gnu --help=recursive
1053 elif test -f $ac_srcdir/configure; then
1054 echo
1055 $SHELL $ac_srcdir/configure --help=recursive
1056 elif test -f $ac_srcdir/configure.ac ||
1057 test -f $ac_srcdir/configure.in; then
1058 echo
1059 $ac_configure --help
1060 else
1061 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1063 cd $ac_popdir
1064 done
1067 test -n "$ac_init_help" && exit 0
1068 if $ac_init_version; then
1069 cat <<\_ACEOF
1070 GNU Classpath configure 0.94-pre
1071 generated by GNU Autoconf 2.59
1073 Copyright (C) 2003 Free Software Foundation, Inc.
1074 This configure script is free software; the Free Software Foundation
1075 gives unlimited permission to copy, distribute and modify it.
1076 _ACEOF
1077 exit 0
1079 exec 5>config.log
1080 cat >&5 <<_ACEOF
1081 This file contains any messages produced by compilers while
1082 running configure, to aid debugging if configure makes a mistake.
1084 It was created by GNU Classpath $as_me 0.94-pre, which was
1085 generated by GNU Autoconf 2.59. Invocation command line was
1087 $ $0 $@
1089 _ACEOF
1091 cat <<_ASUNAME
1092 ## --------- ##
1093 ## Platform. ##
1094 ## --------- ##
1096 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1097 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1098 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1099 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1100 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1102 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1103 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1105 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1106 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1107 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1108 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1109 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1110 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1111 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1113 _ASUNAME
1115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1116 for as_dir in $PATH
1118 IFS=$as_save_IFS
1119 test -z "$as_dir" && as_dir=.
1120 echo "PATH: $as_dir"
1121 done
1123 } >&5
1125 cat >&5 <<_ACEOF
1128 ## ----------- ##
1129 ## Core tests. ##
1130 ## ----------- ##
1132 _ACEOF
1135 # Keep a trace of the command line.
1136 # Strip out --no-create and --no-recursion so they do not pile up.
1137 # Strip out --silent because we don't want to record it for future runs.
1138 # Also quote any args containing shell meta-characters.
1139 # Make two passes to allow for proper duplicate-argument suppression.
1140 ac_configure_args=
1141 ac_configure_args0=
1142 ac_configure_args1=
1143 ac_sep=
1144 ac_must_keep_next=false
1145 for ac_pass in 1 2
1147 for ac_arg
1149 case $ac_arg in
1150 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1152 | -silent | --silent | --silen | --sile | --sil)
1153 continue ;;
1154 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1155 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1156 esac
1157 case $ac_pass in
1158 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1160 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1161 if test $ac_must_keep_next = true; then
1162 ac_must_keep_next=false # Got value, back to normal.
1163 else
1164 case $ac_arg in
1165 *=* | --config-cache | -C | -disable-* | --disable-* \
1166 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1167 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1168 | -with-* | --with-* | -without-* | --without-* | --x)
1169 case "$ac_configure_args0 " in
1170 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1171 esac
1173 -* ) ac_must_keep_next=true ;;
1174 esac
1176 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1177 # Get rid of the leading space.
1178 ac_sep=" "
1180 esac
1181 done
1182 done
1183 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1184 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1186 # When interrupted or exit'd, cleanup temporary files, and complete
1187 # config.log. We remove comments because anyway the quotes in there
1188 # would cause problems or look ugly.
1189 # WARNING: Be sure not to use single quotes in there, as some shells,
1190 # such as our DU 5.0 friend, will then `close' the trap.
1191 trap 'exit_status=$?
1192 # Save into config.log some information that might help in debugging.
1194 echo
1196 cat <<\_ASBOX
1197 ## ---------------- ##
1198 ## Cache variables. ##
1199 ## ---------------- ##
1200 _ASBOX
1201 echo
1202 # The following way of writing the cache mishandles newlines in values,
1204 (set) 2>&1 |
1205 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1206 *ac_space=\ *)
1207 sed -n \
1208 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1209 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1212 sed -n \
1213 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1215 esac;
1217 echo
1219 cat <<\_ASBOX
1220 ## ----------------- ##
1221 ## Output variables. ##
1222 ## ----------------- ##
1223 _ASBOX
1224 echo
1225 for ac_var in $ac_subst_vars
1227 eval ac_val=$`echo $ac_var`
1228 echo "$ac_var='"'"'$ac_val'"'"'"
1229 done | sort
1230 echo
1232 if test -n "$ac_subst_files"; then
1233 cat <<\_ASBOX
1234 ## ------------- ##
1235 ## Output files. ##
1236 ## ------------- ##
1237 _ASBOX
1238 echo
1239 for ac_var in $ac_subst_files
1241 eval ac_val=$`echo $ac_var`
1242 echo "$ac_var='"'"'$ac_val'"'"'"
1243 done | sort
1244 echo
1247 if test -s confdefs.h; then
1248 cat <<\_ASBOX
1249 ## ----------- ##
1250 ## confdefs.h. ##
1251 ## ----------- ##
1252 _ASBOX
1253 echo
1254 sed "/^$/d" confdefs.h | sort
1255 echo
1257 test "$ac_signal" != 0 &&
1258 echo "$as_me: caught signal $ac_signal"
1259 echo "$as_me: exit $exit_status"
1260 } >&5
1261 rm -f core *.core &&
1262 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1263 exit $exit_status
1265 for ac_signal in 1 2 13 15; do
1266 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1267 done
1268 ac_signal=0
1270 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1271 rm -rf conftest* confdefs.h
1272 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1273 echo >confdefs.h
1275 # Predefined preprocessor variables.
1277 cat >>confdefs.h <<_ACEOF
1278 #define PACKAGE_NAME "$PACKAGE_NAME"
1279 _ACEOF
1282 cat >>confdefs.h <<_ACEOF
1283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1284 _ACEOF
1287 cat >>confdefs.h <<_ACEOF
1288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1289 _ACEOF
1292 cat >>confdefs.h <<_ACEOF
1293 #define PACKAGE_STRING "$PACKAGE_STRING"
1294 _ACEOF
1297 cat >>confdefs.h <<_ACEOF
1298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1299 _ACEOF
1302 # Let the site file select an alternate cache file if it wants to.
1303 # Prefer explicitly selected file to automatically selected ones.
1304 if test -z "$CONFIG_SITE"; then
1305 if test "x$prefix" != xNONE; then
1306 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1307 else
1308 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1311 for ac_site_file in $CONFIG_SITE; do
1312 if test -r "$ac_site_file"; then
1313 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1314 echo "$as_me: loading site script $ac_site_file" >&6;}
1315 sed 's/^/| /' "$ac_site_file" >&5
1316 . "$ac_site_file"
1318 done
1320 if test -r "$cache_file"; then
1321 # Some versions of bash will fail to source /dev/null (special
1322 # files actually), so we avoid doing that.
1323 if test -f "$cache_file"; then
1324 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1325 echo "$as_me: loading cache $cache_file" >&6;}
1326 case $cache_file in
1327 [\\/]* | ?:[\\/]* ) . $cache_file;;
1328 *) . ./$cache_file;;
1329 esac
1331 else
1332 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1333 echo "$as_me: creating cache $cache_file" >&6;}
1334 >$cache_file
1337 # Check that the precious variables saved in the cache have kept the same
1338 # value.
1339 ac_cache_corrupted=false
1340 for ac_var in `(set) 2>&1 |
1341 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1342 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1343 eval ac_new_set=\$ac_env_${ac_var}_set
1344 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1345 eval ac_new_val="\$ac_env_${ac_var}_value"
1346 case $ac_old_set,$ac_new_set in
1347 set,)
1348 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1349 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1350 ac_cache_corrupted=: ;;
1351 ,set)
1352 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1353 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1354 ac_cache_corrupted=: ;;
1355 ,);;
1357 if test "x$ac_old_val" != "x$ac_new_val"; then
1358 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1359 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1360 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1361 echo "$as_me: former value: $ac_old_val" >&2;}
1362 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1363 echo "$as_me: current value: $ac_new_val" >&2;}
1364 ac_cache_corrupted=:
1365 fi;;
1366 esac
1367 # Pass precious variables to config.status.
1368 if test "$ac_new_set" = set; then
1369 case $ac_new_val in
1370 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1371 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1372 *) ac_arg=$ac_var=$ac_new_val ;;
1373 esac
1374 case " $ac_configure_args " in
1375 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1376 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1377 esac
1379 done
1380 if $ac_cache_corrupted; then
1381 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1382 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1383 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1384 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1385 { (exit 1); exit 1; }; }
1388 ac_ext=c
1389 ac_cpp='$CPP $CPPFLAGS'
1390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1422 ac_aux_dir=
1423 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1424 if test -f $ac_dir/install-sh; then
1425 ac_aux_dir=$ac_dir
1426 ac_install_sh="$ac_aux_dir/install-sh -c"
1427 break
1428 elif test -f $ac_dir/install.sh; then
1429 ac_aux_dir=$ac_dir
1430 ac_install_sh="$ac_aux_dir/install.sh -c"
1431 break
1432 elif test -f $ac_dir/shtool; then
1433 ac_aux_dir=$ac_dir
1434 ac_install_sh="$ac_aux_dir/shtool install -c"
1435 break
1437 done
1438 if test -z "$ac_aux_dir"; then
1439 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1440 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1441 { (exit 1); exit 1; }; }
1443 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1444 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1445 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1447 # Make sure we can run config.sub.
1448 $ac_config_sub sun4 >/dev/null 2>&1 ||
1449 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1450 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1451 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: checking build system type" >&5
1454 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1455 if test "${ac_cv_build+set}" = set; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1457 else
1458 ac_cv_build_alias=$build_alias
1459 test -z "$ac_cv_build_alias" &&
1460 ac_cv_build_alias=`$ac_config_guess`
1461 test -z "$ac_cv_build_alias" &&
1462 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1463 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1464 { (exit 1); exit 1; }; }
1465 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1466 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1467 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1468 { (exit 1); exit 1; }; }
1471 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1472 echo "${ECHO_T}$ac_cv_build" >&6
1473 build=$ac_cv_build
1474 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1475 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1476 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1479 echo "$as_me:$LINENO: checking host system type" >&5
1480 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1481 if test "${ac_cv_host+set}" = set; then
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
1483 else
1484 ac_cv_host_alias=$host_alias
1485 test -z "$ac_cv_host_alias" &&
1486 ac_cv_host_alias=$ac_cv_build_alias
1487 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1488 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1489 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1490 { (exit 1); exit 1; }; }
1493 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1494 echo "${ECHO_T}$ac_cv_host" >&6
1495 host=$ac_cv_host
1496 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1497 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1498 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1501 echo "$as_me:$LINENO: checking target system type" >&5
1502 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1503 if test "${ac_cv_target+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1505 else
1506 ac_cv_target_alias=$target_alias
1507 test "x$ac_cv_target_alias" = "x" &&
1508 ac_cv_target_alias=$ac_cv_host_alias
1509 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1510 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1511 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1512 { (exit 1); exit 1; }; }
1515 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1516 echo "${ECHO_T}$ac_cv_target" >&6
1517 target=$ac_cv_target
1518 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1519 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1520 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1523 # The aliases save the names the user supplied, while $host etc.
1524 # will get canonicalized.
1525 test -n "$target_alias" &&
1526 test "$program_prefix$program_suffix$program_transform_name" = \
1527 NONENONEs,x,x, &&
1528 program_prefix=${target_alias}-
1530 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1531 if test "${enable_java_maintainer_mode+set}" = set; then
1532 enableval="$enable_java_maintainer_mode"
1537 if test "$enable_java_maintainer_mode" = yes; then
1538 JAVA_MAINTAINER_MODE_TRUE=
1539 JAVA_MAINTAINER_MODE_FALSE='#'
1540 else
1541 JAVA_MAINTAINER_MODE_TRUE='#'
1542 JAVA_MAINTAINER_MODE_FALSE=
1546 # Find the rest of the source tree framework.
1547 # Default to --enable-multilib
1548 # Check whether --enable-multilib or --disable-multilib was given.
1549 if test "${enable_multilib+set}" = set; then
1550 enableval="$enable_multilib"
1551 case "$enableval" in
1552 yes) multilib=yes ;;
1553 no) multilib=no ;;
1554 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1555 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1556 { (exit 1); exit 1; }; } ;;
1557 esac
1558 else
1559 multilib=yes
1562 # We may get other options which we leave undocumented:
1563 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1564 # See config-ml.in if you want the gory details.
1566 if test "$srcdir" = "."; then
1567 if test "$with_target_subdir" != "."; then
1568 multi_basedir="$srcdir/$with_multisrctop../../.."
1569 else
1570 multi_basedir="$srcdir/$with_multisrctop../.."
1572 else
1573 multi_basedir="$srcdir/../.."
1577 # Even if the default multilib is not a cross compilation,
1578 # it may be that some of the other multilibs are.
1579 if test $cross_compiling = no && test $multilib = yes \
1580 && test "x${with_multisubdir}" != x ; then
1581 cross_compiling=maybe
1584 ac_config_commands="$ac_config_commands default-1"
1587 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1589 LIBVERSION="0:0:0"
1591 case "$host_os" in
1592 darwin*)
1593 cp_module=""
1596 cp_module="-module"
1598 esac
1600 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1603 CLASSPATH_CONVENIENCE="-no-undefined"
1607 am__api_version="1.9"
1608 # Find a good install program. We prefer a C program (faster),
1609 # so one script is as good as another. But avoid the broken or
1610 # incompatible versions:
1611 # SysV /etc/install, /usr/sbin/install
1612 # SunOS /usr/etc/install
1613 # IRIX /sbin/install
1614 # AIX /bin/install
1615 # AmigaOS /C/install, which installs bootblocks on floppy discs
1616 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1617 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1618 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1619 # OS/2's system install, which has a completely different semantic
1620 # ./install, which can be erroneously created by make from ./install.sh.
1621 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1622 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1623 if test -z "$INSTALL"; then
1624 if test "${ac_cv_path_install+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1626 else
1627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1628 for as_dir in $PATH
1630 IFS=$as_save_IFS
1631 test -z "$as_dir" && as_dir=.
1632 # Account for people who put trailing slashes in PATH elements.
1633 case $as_dir/ in
1634 ./ | .// | /cC/* | \
1635 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1636 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1637 /usr/ucb/* ) ;;
1639 # OSF1 and SCO ODT 3.0 have their own names for install.
1640 # Don't use installbsd from OSF since it installs stuff as root
1641 # by default.
1642 for ac_prog in ginstall scoinst install; do
1643 for ac_exec_ext in '' $ac_executable_extensions; do
1644 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1645 if test $ac_prog = install &&
1646 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1647 # AIX install. It has an incompatible calling convention.
1649 elif test $ac_prog = install &&
1650 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1651 # program-specific install script used by HP pwplus--don't use.
1653 else
1654 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1655 break 3
1658 done
1659 done
1661 esac
1662 done
1666 if test "${ac_cv_path_install+set}" = set; then
1667 INSTALL=$ac_cv_path_install
1668 else
1669 # As a last resort, use the slow shell script. We don't cache a
1670 # path for INSTALL within a source directory, because that will
1671 # break other packages using the cache if that directory is
1672 # removed, or if the path is relative.
1673 INSTALL=$ac_install_sh
1676 echo "$as_me:$LINENO: result: $INSTALL" >&5
1677 echo "${ECHO_T}$INSTALL" >&6
1679 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1680 # It thinks the first close brace ends the variable substitution.
1681 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1683 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1685 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1687 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1688 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1689 # Just in case
1690 sleep 1
1691 echo timestamp > conftest.file
1692 # Do `set' in a subshell so we don't clobber the current shell's
1693 # arguments. Must try -L first in case configure is actually a
1694 # symlink; some systems play weird games with the mod time of symlinks
1695 # (eg FreeBSD returns the mod time of the symlink's containing
1696 # directory).
1697 if (
1698 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1699 if test "$*" = "X"; then
1700 # -L didn't work.
1701 set X `ls -t $srcdir/configure conftest.file`
1703 rm -f conftest.file
1704 if test "$*" != "X $srcdir/configure conftest.file" \
1705 && test "$*" != "X conftest.file $srcdir/configure"; then
1707 # If neither matched, then we have a broken ls. This can happen
1708 # if, for instance, CONFIG_SHELL is bash and it inherits a
1709 # broken ls alias from the environment. This has actually
1710 # happened. Such a system could not be considered "sane".
1711 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1712 alias in your environment" >&5
1713 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1714 alias in your environment" >&2;}
1715 { (exit 1); exit 1; }; }
1718 test "$2" = conftest.file
1720 then
1721 # Ok.
1723 else
1724 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1725 Check your system clock" >&5
1726 echo "$as_me: error: newly created file is older than distributed files!
1727 Check your system clock" >&2;}
1728 { (exit 1); exit 1; }; }
1730 echo "$as_me:$LINENO: result: yes" >&5
1731 echo "${ECHO_T}yes" >&6
1732 test "$program_prefix" != NONE &&
1733 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1734 # Use a double $ so make ignores it.
1735 test "$program_suffix" != NONE &&
1736 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1737 # Double any \ or $. echo might interpret backslashes.
1738 # By default was `s,x,x', remove it if useless.
1739 cat <<\_ACEOF >conftest.sed
1740 s/[\\$]/&&/g;s/;s,x,x,$//
1741 _ACEOF
1742 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1743 rm conftest.sed
1745 # expand $ac_aux_dir to an absolute path
1746 am_aux_dir=`cd $ac_aux_dir && pwd`
1748 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1749 # Use eval to expand $SHELL
1750 if eval "$MISSING --run true"; then
1751 am_missing_run="$MISSING --run "
1752 else
1753 am_missing_run=
1754 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1755 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1758 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1759 # We used to keeping the `.' as first argument, in order to
1760 # allow $(mkdir_p) to be used without argument. As in
1761 # $(mkdir_p) $(somedir)
1762 # where $(somedir) is conditionally defined. However this is wrong
1763 # for two reasons:
1764 # 1. if the package is installed by a user who cannot write `.'
1765 # make install will fail,
1766 # 2. the above comment should most certainly read
1767 # $(mkdir_p) $(DESTDIR)$(somedir)
1768 # so it does not work when $(somedir) is undefined and
1769 # $(DESTDIR) is not.
1770 # To support the latter case, we have to write
1771 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1772 # so the `.' trick is pointless.
1773 mkdir_p='mkdir -p --'
1774 else
1775 # On NextStep and OpenStep, the `mkdir' command does not
1776 # recognize any option. It will interpret all options as
1777 # directories to create, and then abort because `.' already
1778 # exists.
1779 for d in ./-p ./--version;
1781 test -d $d && rmdir $d
1782 done
1783 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1784 if test -f "$ac_aux_dir/mkinstalldirs"; then
1785 mkdir_p='$(mkinstalldirs)'
1786 else
1787 mkdir_p='$(install_sh) -d'
1791 for ac_prog in gawk mawk nawk awk
1793 # Extract the first word of "$ac_prog", so it can be a program name with args.
1794 set dummy $ac_prog; ac_word=$2
1795 echo "$as_me:$LINENO: checking for $ac_word" >&5
1796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1797 if test "${ac_cv_prog_AWK+set}" = set; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
1799 else
1800 if test -n "$AWK"; then
1801 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1802 else
1803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1804 for as_dir in $PATH
1806 IFS=$as_save_IFS
1807 test -z "$as_dir" && as_dir=.
1808 for ac_exec_ext in '' $ac_executable_extensions; do
1809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1810 ac_cv_prog_AWK="$ac_prog"
1811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1812 break 2
1814 done
1815 done
1819 AWK=$ac_cv_prog_AWK
1820 if test -n "$AWK"; then
1821 echo "$as_me:$LINENO: result: $AWK" >&5
1822 echo "${ECHO_T}$AWK" >&6
1823 else
1824 echo "$as_me:$LINENO: result: no" >&5
1825 echo "${ECHO_T}no" >&6
1828 test -n "$AWK" && break
1829 done
1831 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1832 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1833 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1834 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1835 echo $ECHO_N "(cached) $ECHO_C" >&6
1836 else
1837 cat >conftest.make <<\_ACEOF
1838 all:
1839 @echo 'ac_maketemp="$(MAKE)"'
1840 _ACEOF
1841 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1842 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1843 if test -n "$ac_maketemp"; then
1844 eval ac_cv_prog_make_${ac_make}_set=yes
1845 else
1846 eval ac_cv_prog_make_${ac_make}_set=no
1848 rm -f conftest.make
1850 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1851 echo "$as_me:$LINENO: result: yes" >&5
1852 echo "${ECHO_T}yes" >&6
1853 SET_MAKE=
1854 else
1855 echo "$as_me:$LINENO: result: no" >&5
1856 echo "${ECHO_T}no" >&6
1857 SET_MAKE="MAKE=${MAKE-make}"
1860 rm -rf .tst 2>/dev/null
1861 mkdir .tst 2>/dev/null
1862 if test -d .tst; then
1863 am__leading_dot=.
1864 else
1865 am__leading_dot=_
1867 rmdir .tst 2>/dev/null
1869 # test to see if srcdir already configured
1870 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1871 test -f $srcdir/config.status; then
1872 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1873 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1874 { (exit 1); exit 1; }; }
1877 # test whether we have cygpath
1878 if test -z "$CYGPATH_W"; then
1879 if (cygpath --version) >/dev/null 2>/dev/null; then
1880 CYGPATH_W='cygpath -w'
1881 else
1882 CYGPATH_W=echo
1887 # Define the identity of the package.
1888 PACKAGE='classpath'
1889 VERSION='0.94-pre'
1892 cat >>confdefs.h <<_ACEOF
1893 #define PACKAGE "$PACKAGE"
1894 _ACEOF
1897 cat >>confdefs.h <<_ACEOF
1898 #define VERSION "$VERSION"
1899 _ACEOF
1901 # Some tools Automake needs.
1903 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1906 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1909 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1912 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1915 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1917 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1919 # Installed binaries are usually stripped using `strip' when the user
1920 # run `make install-strip'. However `strip' might not be the right
1921 # tool to use in cross-compilation environments, therefore Automake
1922 # will honor the `STRIP' environment variable to overrule this program.
1923 if test "$cross_compiling" != no; then
1924 if test -n "$ac_tool_prefix"; then
1925 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1926 set dummy ${ac_tool_prefix}strip; ac_word=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_STRIP+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 else
1932 if test -n "$STRIP"; then
1933 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1934 else
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 for as_dir in $PATH
1938 IFS=$as_save_IFS
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1944 break 2
1946 done
1947 done
1951 STRIP=$ac_cv_prog_STRIP
1952 if test -n "$STRIP"; then
1953 echo "$as_me:$LINENO: result: $STRIP" >&5
1954 echo "${ECHO_T}$STRIP" >&6
1955 else
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1961 if test -z "$ac_cv_prog_STRIP"; then
1962 ac_ct_STRIP=$STRIP
1963 # Extract the first word of "strip", so it can be a program name with args.
1964 set dummy strip; ac_word=$2
1965 echo "$as_me:$LINENO: checking for $ac_word" >&5
1966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1967 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1968 echo $ECHO_N "(cached) $ECHO_C" >&6
1969 else
1970 if test -n "$ac_ct_STRIP"; then
1971 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1972 else
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 for as_dir in $PATH
1976 IFS=$as_save_IFS
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1980 ac_cv_prog_ac_ct_STRIP="strip"
1981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1982 break 2
1984 done
1985 done
1987 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1990 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1991 if test -n "$ac_ct_STRIP"; then
1992 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1993 echo "${ECHO_T}$ac_ct_STRIP" >&6
1994 else
1995 echo "$as_me:$LINENO: result: no" >&5
1996 echo "${ECHO_T}no" >&6
1999 STRIP=$ac_ct_STRIP
2000 else
2001 STRIP="$ac_cv_prog_STRIP"
2005 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2007 # We need awk for the "check" target. The system "awk" is bad on
2008 # some platforms.
2009 # Always define AMTAR for backward compatibility.
2011 AMTAR=${AMTAR-"${am_missing_run}tar"}
2014 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2015 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2016 # Loop over all known methods to create a tar archive until one works.
2017 _am_tools='gnutar plaintar pax cpio none'
2018 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2019 # Do not fold the above two line into one, because Tru64 sh and
2020 # Solaris sh will not grok spaces in the rhs of `-'.
2021 for _am_tool in $_am_tools
2023 case $_am_tool in
2024 gnutar)
2025 for _am_tar in tar gnutar gtar;
2027 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2028 ($_am_tar --version) >&5 2>&5
2029 ac_status=$?
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); } && break
2032 done
2033 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2034 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2035 am__untar="$_am_tar -xf -"
2037 plaintar)
2038 # Must skip GNU tar: if it does not support --format= it doesn't create
2039 # ustar tarball either.
2040 (tar --version) >/dev/null 2>&1 && continue
2041 am__tar='tar chf - "$$tardir"'
2042 am__tar_='tar chf - "$tardir"'
2043 am__untar='tar xf -'
2045 pax)
2046 am__tar='pax -L -x ustar -w "$$tardir"'
2047 am__tar_='pax -L -x ustar -w "$tardir"'
2048 am__untar='pax -r'
2050 cpio)
2051 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2052 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2053 am__untar='cpio -i -H ustar -d'
2055 none)
2056 am__tar=false
2057 am__tar_=false
2058 am__untar=false
2060 esac
2062 # If the value was cached, stop now. We just wanted to have am__tar
2063 # and am__untar set.
2064 test -n "${am_cv_prog_tar_ustar}" && break
2066 # tar/untar a dummy directory, and stop if the command works
2067 rm -rf conftest.dir
2068 mkdir conftest.dir
2069 echo GrepMe > conftest.dir/file
2070 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2071 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2072 ac_status=$?
2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074 (exit $ac_status); }
2075 rm -rf conftest.dir
2076 if test -s conftest.tar; then
2077 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2078 ($am__untar <conftest.tar) >&5 2>&5
2079 ac_status=$?
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); }
2082 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2084 done
2085 rm -rf conftest.dir
2087 if test "${am_cv_prog_tar_ustar+set}" = set; then
2088 echo $ECHO_N "(cached) $ECHO_C" >&6
2089 else
2090 am_cv_prog_tar_ustar=$_am_tool
2093 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2094 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2100 ac_config_headers="$ac_config_headers include/config.h"
2106 # Check whether --enable-collections or --disable-collections was given.
2107 if test "${enable_collections+set}" = set; then
2108 enableval="$enable_collections"
2109 case x"${enableval}" in
2110 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2111 xno) COMPILE_COLLECTIONS=no ;;
2112 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2113 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2114 esac
2115 else
2116 COMPILE_COLLECTIONS=no
2120 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2121 CREATE_COLLECTIONS_TRUE=
2122 CREATE_COLLECTIONS_FALSE='#'
2123 else
2124 CREATE_COLLECTIONS_TRUE='#'
2125 CREATE_COLLECTIONS_FALSE=
2129 # Check whether --enable-jni or --disable-jni was given.
2130 if test "${enable_jni+set}" = set; then
2131 enableval="$enable_jni"
2132 case "${enableval}" in
2133 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2134 no) COMPILE_JNI=no ;;
2135 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2136 esac
2137 else
2138 COMPILE_JNI=yes
2142 if test "x${COMPILE_JNI}" = xyes; then
2143 CREATE_JNI_LIBRARIES_TRUE=
2144 CREATE_JNI_LIBRARIES_FALSE='#'
2145 else
2146 CREATE_JNI_LIBRARIES_TRUE='#'
2147 CREATE_JNI_LIBRARIES_FALSE=
2151 # Check whether --enable-core-jni or --disable-core-jni was given.
2152 if test "${enable_core_jni+set}" = set; then
2153 enableval="$enable_core_jni"
2154 case "${enableval}" in
2155 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2156 no) COMPILE_CORE_JNI=no ;;
2157 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2158 esac
2159 else
2160 COMPILE_CORE_JNI=yes
2164 if test "x${COMPILE_CORE_JNI}" = xyes; then
2165 CREATE_CORE_JNI_LIBRARIES_TRUE=
2166 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2167 else
2168 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2169 CREATE_CORE_JNI_LIBRARIES_FALSE=
2173 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2174 if test "${enable_default_preferences_peer+set}" = set; then
2175 enableval="$enable_default_preferences_peer"
2176 case "${enableval}" in
2177 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
2178 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
2179 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
2180 no|false) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2181 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2182 { (exit 1); exit 1; }; } ;;
2183 *) DEFAULT_PREFS_PEER=${enableval} ;;
2184 esac
2185 else
2186 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
2189 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2190 if test "${enable_gconf_peer+set}" = set; then
2191 enableval="$enable_gconf_peer"
2192 case "${enableval}" in
2193 yes) COMPILE_GCONF_PEER=yes ;;
2194 no) COMPILE_GCONF_PEER=no ;;
2195 *) COMPILE_GCONF_PEER=yes ;;
2196 esac
2197 else
2198 COMPILE_GCONF_PEER=yes
2202 if test "x${COMPILE_GCONF_PEER}" = xyes; then
2203 CREATE_GCONF_PEER_LIBRARIES_TRUE=
2204 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
2205 else
2206 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
2207 CREATE_GCONF_PEER_LIBRARIES_FALSE=
2211 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2212 if test "${enable_gconf_peers+set}" = set; then
2213 enableval="$enable_gconf_peers"
2214 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2215 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2216 { (exit 1); exit 1; }; }
2219 # Check whether --enable-Werror or --disable-Werror was given.
2220 if test "${enable_Werror+set}" = set; then
2221 enableval="$enable_Werror"
2222 case "${enableval}" in
2223 yes) ENABLE_WERROR=yes ;;
2224 no) ENABLE_WERROR=no ;;
2225 *) ENABLE_WERROR=default ;;
2226 esac
2227 else
2228 ENABLE_WERROR=default
2231 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2232 if test "${enable_default_toolkit+set}" = set; then
2233 enableval="$enable_default_toolkit"
2236 default_toolkit=$enable_default_toolkit
2237 if test "$default_toolkit" = ""; then
2238 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2242 # Check whether --enable-xmlj or --disable-xmlj was given.
2243 if test "${enable_xmlj+set}" = set; then
2244 enableval="$enable_xmlj"
2245 case "${enableval}" in
2246 yes) COMPILE_XMLJ=yes ;;
2247 no) COMPILE_XMLJ=no ;;
2248 *) COMPILE_XMLJ=no ;;
2249 esac
2250 else
2251 COMPILE_XMLJ=no
2255 if test "x${COMPILE_XMLJ}" = xyes; then
2256 CREATE_XMLJ_LIBRARY_TRUE=
2257 CREATE_XMLJ_LIBRARY_FALSE='#'
2258 else
2259 CREATE_XMLJ_LIBRARY_TRUE='#'
2260 CREATE_XMLJ_LIBRARY_FALSE=
2264 DEPDIR="${am__leading_dot}deps"
2266 ac_config_commands="$ac_config_commands depfiles"
2269 am_make=${MAKE-make}
2270 cat > confinc << 'END'
2271 am__doit:
2272 @echo done
2273 .PHONY: am__doit
2275 # If we don't find an include directive, just comment out the code.
2276 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2277 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2278 am__include="#"
2279 am__quote=
2280 _am_result=none
2281 # First try GNU make style include.
2282 echo "include confinc" > confmf
2283 # We grep out `Entering directory' and `Leaving directory'
2284 # messages which can occur if `w' ends up in MAKEFLAGS.
2285 # In particular we don't look at `^make:' because GNU make might
2286 # be invoked under some other name (usually "gmake"), in which
2287 # case it prints its new name instead of `make'.
2288 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2289 am__include=include
2290 am__quote=
2291 _am_result=GNU
2293 # Now try BSD make style include.
2294 if test "$am__include" = "#"; then
2295 echo '.include "confinc"' > confmf
2296 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2297 am__include=.include
2298 am__quote="\""
2299 _am_result=BSD
2304 echo "$as_me:$LINENO: result: $_am_result" >&5
2305 echo "${ECHO_T}$_am_result" >&6
2306 rm -f confinc confmf
2308 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2309 if test "${enable_dependency_tracking+set}" = set; then
2310 enableval="$enable_dependency_tracking"
2313 if test "x$enable_dependency_tracking" != xno; then
2314 am_depcomp="$ac_aux_dir/depcomp"
2315 AMDEPBACKSLASH='\'
2319 if test "x$enable_dependency_tracking" != xno; then
2320 AMDEP_TRUE=
2321 AMDEP_FALSE='#'
2322 else
2323 AMDEP_TRUE='#'
2324 AMDEP_FALSE=
2329 ac_ext=c
2330 ac_cpp='$CPP $CPPFLAGS'
2331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2334 if test -n "$ac_tool_prefix"; then
2335 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2336 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2337 echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2339 if test "${ac_cv_prog_CC+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 else
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC="$CC" # Let the user override the test.
2344 else
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 for as_dir in $PATH
2348 IFS=$as_save_IFS
2349 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2352 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 break 2
2356 done
2357 done
2361 CC=$ac_cv_prog_CC
2362 if test -n "$CC"; then
2363 echo "$as_me:$LINENO: result: $CC" >&5
2364 echo "${ECHO_T}$CC" >&6
2365 else
2366 echo "$as_me:$LINENO: result: no" >&5
2367 echo "${ECHO_T}no" >&6
2371 if test -z "$ac_cv_prog_CC"; then
2372 ac_ct_CC=$CC
2373 # Extract the first word of "gcc", so it can be a program name with args.
2374 set dummy gcc; ac_word=$2
2375 echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2377 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 else
2380 if test -n "$ac_ct_CC"; then
2381 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2382 else
2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384 for as_dir in $PATH
2386 IFS=$as_save_IFS
2387 test -z "$as_dir" && as_dir=.
2388 for ac_exec_ext in '' $ac_executable_extensions; do
2389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2390 ac_cv_prog_ac_ct_CC="gcc"
2391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2392 break 2
2394 done
2395 done
2399 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2400 if test -n "$ac_ct_CC"; then
2401 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2402 echo "${ECHO_T}$ac_ct_CC" >&6
2403 else
2404 echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6
2408 CC=$ac_ct_CC
2409 else
2410 CC="$ac_cv_prog_CC"
2413 if test -z "$CC"; then
2414 if test -n "$ac_tool_prefix"; then
2415 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2416 set dummy ${ac_tool_prefix}cc; ac_word=$2
2417 echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2419 if test "${ac_cv_prog_CC+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 else
2422 if test -n "$CC"; then
2423 ac_cv_prog_CC="$CC" # Let the user override the test.
2424 else
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 for as_dir in $PATH
2428 IFS=$as_save_IFS
2429 test -z "$as_dir" && as_dir=.
2430 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432 ac_cv_prog_CC="${ac_tool_prefix}cc"
2433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2434 break 2
2436 done
2437 done
2441 CC=$ac_cv_prog_CC
2442 if test -n "$CC"; then
2443 echo "$as_me:$LINENO: result: $CC" >&5
2444 echo "${ECHO_T}$CC" >&6
2445 else
2446 echo "$as_me:$LINENO: result: no" >&5
2447 echo "${ECHO_T}no" >&6
2451 if test -z "$ac_cv_prog_CC"; then
2452 ac_ct_CC=$CC
2453 # Extract the first word of "cc", so it can be a program name with args.
2454 set dummy cc; ac_word=$2
2455 echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2459 else
2460 if test -n "$ac_ct_CC"; then
2461 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2462 else
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 for as_dir in $PATH
2466 IFS=$as_save_IFS
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2470 ac_cv_prog_ac_ct_CC="cc"
2471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 break 2
2474 done
2475 done
2479 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2480 if test -n "$ac_ct_CC"; then
2481 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2482 echo "${ECHO_T}$ac_ct_CC" >&6
2483 else
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2488 CC=$ac_ct_CC
2489 else
2490 CC="$ac_cv_prog_CC"
2494 if test -z "$CC"; then
2495 # Extract the first word of "cc", so it can be a program name with args.
2496 set dummy cc; ac_word=$2
2497 echo "$as_me:$LINENO: checking for $ac_word" >&5
2498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2499 if test "${ac_cv_prog_CC+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 else
2502 if test -n "$CC"; then
2503 ac_cv_prog_CC="$CC" # Let the user override the test.
2504 else
2505 ac_prog_rejected=no
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 for as_dir in $PATH
2509 IFS=$as_save_IFS
2510 test -z "$as_dir" && as_dir=.
2511 for ac_exec_ext in '' $ac_executable_extensions; do
2512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2513 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2514 ac_prog_rejected=yes
2515 continue
2517 ac_cv_prog_CC="cc"
2518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2519 break 2
2521 done
2522 done
2524 if test $ac_prog_rejected = yes; then
2525 # We found a bogon in the path, so make sure we never use it.
2526 set dummy $ac_cv_prog_CC
2527 shift
2528 if test $# != 0; then
2529 # We chose a different compiler from the bogus one.
2530 # However, it has the same basename, so the bogon will be chosen
2531 # first if we set CC to just the basename; use the full file name.
2532 shift
2533 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2538 CC=$ac_cv_prog_CC
2539 if test -n "$CC"; then
2540 echo "$as_me:$LINENO: result: $CC" >&5
2541 echo "${ECHO_T}$CC" >&6
2542 else
2543 echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6
2548 if test -z "$CC"; then
2549 if test -n "$ac_tool_prefix"; then
2550 for ac_prog in cl
2552 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2553 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2554 echo "$as_me:$LINENO: checking for $ac_word" >&5
2555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2556 if test "${ac_cv_prog_CC+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 else
2559 if test -n "$CC"; then
2560 ac_cv_prog_CC="$CC" # Let the user override the test.
2561 else
2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563 for as_dir in $PATH
2565 IFS=$as_save_IFS
2566 test -z "$as_dir" && as_dir=.
2567 for ac_exec_ext in '' $ac_executable_extensions; do
2568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2569 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 break 2
2573 done
2574 done
2578 CC=$ac_cv_prog_CC
2579 if test -n "$CC"; then
2580 echo "$as_me:$LINENO: result: $CC" >&5
2581 echo "${ECHO_T}$CC" >&6
2582 else
2583 echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6
2587 test -n "$CC" && break
2588 done
2590 if test -z "$CC"; then
2591 ac_ct_CC=$CC
2592 for ac_prog in cl
2594 # Extract the first word of "$ac_prog", so it can be a program name with args.
2595 set dummy $ac_prog; ac_word=$2
2596 echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2598 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2600 else
2601 if test -n "$ac_ct_CC"; then
2602 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2603 else
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 for as_dir in $PATH
2607 IFS=$as_save_IFS
2608 test -z "$as_dir" && as_dir=.
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2611 ac_cv_prog_ac_ct_CC="$ac_prog"
2612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 break 2
2615 done
2616 done
2620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2621 if test -n "$ac_ct_CC"; then
2622 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2623 echo "${ECHO_T}$ac_ct_CC" >&6
2624 else
2625 echo "$as_me:$LINENO: result: no" >&5
2626 echo "${ECHO_T}no" >&6
2629 test -n "$ac_ct_CC" && break
2630 done
2632 CC=$ac_ct_CC
2638 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2639 See \`config.log' for more details." >&5
2640 echo "$as_me: error: no acceptable C compiler found in \$PATH
2641 See \`config.log' for more details." >&2;}
2642 { (exit 1); exit 1; }; }
2644 # Provide some information about the compiler.
2645 echo "$as_me:$LINENO:" \
2646 "checking for C compiler version" >&5
2647 ac_compiler=`set X $ac_compile; echo $2`
2648 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2649 (eval $ac_compiler --version </dev/null >&5) 2>&5
2650 ac_status=$?
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }
2653 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2654 (eval $ac_compiler -v </dev/null >&5) 2>&5
2655 ac_status=$?
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }
2658 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2659 (eval $ac_compiler -V </dev/null >&5) 2>&5
2660 ac_status=$?
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }
2664 cat >conftest.$ac_ext <<_ACEOF
2665 /* confdefs.h. */
2666 _ACEOF
2667 cat confdefs.h >>conftest.$ac_ext
2668 cat >>conftest.$ac_ext <<_ACEOF
2669 /* end confdefs.h. */
2672 main ()
2676 return 0;
2678 _ACEOF
2679 # FIXME: Cleanup?
2680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2681 (eval $ac_link) 2>&5
2682 ac_status=$?
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }; then
2685 gcc_no_link=no
2686 else
2687 gcc_no_link=yes
2690 if test x$gcc_no_link = xyes; then
2691 # Setting cross_compile will disable run tests; it will
2692 # also disable AC_CHECK_FILE but that's generally
2693 # correct if we can't link.
2694 cross_compiling=yes
2695 EXEEXT=
2696 else
2697 cat >conftest.$ac_ext <<_ACEOF
2698 /* confdefs.h. */
2699 _ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2705 main ()
2709 return 0;
2711 _ACEOF
2712 ac_clean_files_save=$ac_clean_files
2713 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2714 # Try to create an executable without -o first, disregard a.out.
2715 # It will help us diagnose broken compilers, and finding out an intuition
2716 # of exeext.
2717 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2718 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2719 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2720 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2721 (eval $ac_link_default) 2>&5
2722 ac_status=$?
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; then
2725 # Find the output, starting from the most likely. This scheme is
2726 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2727 # resort.
2729 # Be careful to initialize this variable, since it used to be cached.
2730 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2731 ac_cv_exeext=
2732 # b.out is created by i960 compilers.
2733 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2735 test -f "$ac_file" || continue
2736 case $ac_file in
2737 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2739 conftest.$ac_ext )
2740 # This is the source file.
2742 [ab].out )
2743 # We found the default executable, but exeext='' is most
2744 # certainly right.
2745 break;;
2746 *.* )
2747 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2748 # FIXME: I believe we export ac_cv_exeext for Libtool,
2749 # but it would be cool to find out if it's true. Does anybody
2750 # maintain Libtool? --akim.
2751 export ac_cv_exeext
2752 break;;
2754 break;;
2755 esac
2756 done
2757 else
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2761 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2762 See \`config.log' for more details." >&5
2763 echo "$as_me: error: C compiler cannot create executables
2764 See \`config.log' for more details." >&2;}
2765 { (exit 77); exit 77; }; }
2768 ac_exeext=$ac_cv_exeext
2769 echo "$as_me:$LINENO: result: $ac_file" >&5
2770 echo "${ECHO_T}$ac_file" >&6
2772 # Check the compiler produces executables we can run. If not, either
2773 # the compiler is broken, or we cross compile.
2774 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2775 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2776 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2777 # If not cross compiling, check that we can run a simple program.
2778 if test "$cross_compiling" != yes; then
2779 if { ac_try='./$ac_file'
2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781 (eval $ac_try) 2>&5
2782 ac_status=$?
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; }; then
2785 cross_compiling=no
2786 else
2787 if test "$cross_compiling" = maybe; then
2788 cross_compiling=yes
2789 else
2790 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2791 If you meant to cross compile, use \`--host'.
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: cannot run C compiled programs.
2794 If you meant to cross compile, use \`--host'.
2795 See \`config.log' for more details." >&2;}
2796 { (exit 1); exit 1; }; }
2800 echo "$as_me:$LINENO: result: yes" >&5
2801 echo "${ECHO_T}yes" >&6
2803 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2804 ac_clean_files=$ac_clean_files_save
2805 # Check the compiler produces executables we can run. If not, either
2806 # the compiler is broken, or we cross compile.
2807 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2808 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2809 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2810 echo "${ECHO_T}$cross_compiling" >&6
2812 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2813 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2815 (eval $ac_link) 2>&5
2816 ac_status=$?
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; then
2819 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2820 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2821 # work properly (i.e., refer to `conftest.exe'), while it won't with
2822 # `rm'.
2823 for ac_file in conftest.exe conftest conftest.*; do
2824 test -f "$ac_file" || continue
2825 case $ac_file in
2826 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2827 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2828 export ac_cv_exeext
2829 break;;
2830 * ) break;;
2831 esac
2832 done
2833 else
2834 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2835 See \`config.log' for more details." >&5
2836 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2837 See \`config.log' for more details." >&2;}
2838 { (exit 1); exit 1; }; }
2841 rm -f conftest$ac_cv_exeext
2842 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2843 echo "${ECHO_T}$ac_cv_exeext" >&6
2845 rm -f conftest.$ac_ext
2846 EXEEXT=$ac_cv_exeext
2847 ac_exeext=$EXEEXT
2849 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2850 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2851 if test "${ac_cv_objext+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2853 else
2854 cat >conftest.$ac_ext <<_ACEOF
2855 /* confdefs.h. */
2856 _ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2862 main ()
2866 return 0;
2868 _ACEOF
2869 rm -f conftest.o conftest.obj
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>&5
2872 ac_status=$?
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; then
2875 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2876 case $ac_file in
2877 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2878 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2879 break;;
2880 esac
2881 done
2882 else
2883 echo "$as_me: failed program was:" >&5
2884 sed 's/^/| /' conftest.$ac_ext >&5
2886 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2887 See \`config.log' for more details." >&5
2888 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2889 See \`config.log' for more details." >&2;}
2890 { (exit 1); exit 1; }; }
2893 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2895 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2896 echo "${ECHO_T}$ac_cv_objext" >&6
2897 OBJEXT=$ac_cv_objext
2898 ac_objext=$OBJEXT
2899 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2900 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2901 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2902 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 else
2904 cat >conftest.$ac_ext <<_ACEOF
2905 /* confdefs.h. */
2906 _ACEOF
2907 cat confdefs.h >>conftest.$ac_ext
2908 cat >>conftest.$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2912 main ()
2914 #ifndef __GNUC__
2915 choke me
2916 #endif
2919 return 0;
2921 _ACEOF
2922 rm -f conftest.$ac_objext
2923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2924 (eval $ac_compile) 2>conftest.er1
2925 ac_status=$?
2926 grep -v '^ *+' conftest.er1 >conftest.err
2927 rm -f conftest.er1
2928 cat conftest.err >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); } &&
2931 { ac_try='test -z "$ac_c_werror_flag"
2932 || test ! -s conftest.err'
2933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 (eval $ac_try) 2>&5
2935 ac_status=$?
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }; } &&
2938 { ac_try='test -s conftest.$ac_objext'
2939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2940 (eval $ac_try) 2>&5
2941 ac_status=$?
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }; }; then
2944 ac_compiler_gnu=yes
2945 else
2946 echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 ac_compiler_gnu=no
2951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2952 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2955 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2956 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2957 GCC=`test $ac_compiler_gnu = yes && echo yes`
2958 ac_test_CFLAGS=${CFLAGS+set}
2959 ac_save_CFLAGS=$CFLAGS
2960 CFLAGS="-g"
2961 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2962 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2963 if test "${ac_cv_prog_cc_g+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2965 else
2966 cat >conftest.$ac_ext <<_ACEOF
2967 /* confdefs.h. */
2968 _ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2974 main ()
2978 return 0;
2980 _ACEOF
2981 rm -f conftest.$ac_objext
2982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2983 (eval $ac_compile) 2>conftest.er1
2984 ac_status=$?
2985 grep -v '^ *+' conftest.er1 >conftest.err
2986 rm -f conftest.er1
2987 cat conftest.err >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); } &&
2990 { ac_try='test -z "$ac_c_werror_flag"
2991 || test ! -s conftest.err'
2992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2993 (eval $ac_try) 2>&5
2994 ac_status=$?
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); }; } &&
2997 { ac_try='test -s conftest.$ac_objext'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999 (eval $ac_try) 2>&5
3000 ac_status=$?
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; }; then
3003 ac_cv_prog_cc_g=yes
3004 else
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3008 ac_cv_prog_cc_g=no
3010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3012 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3013 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3014 if test "$ac_test_CFLAGS" = set; then
3015 CFLAGS=$ac_save_CFLAGS
3016 elif test $ac_cv_prog_cc_g = yes; then
3017 if test "$GCC" = yes; then
3018 CFLAGS="-g -O2"
3019 else
3020 CFLAGS="-g"
3022 else
3023 if test "$GCC" = yes; then
3024 CFLAGS="-O2"
3025 else
3026 CFLAGS=
3029 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3030 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3031 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 else
3034 ac_cv_prog_cc_stdc=no
3035 ac_save_CC=$CC
3036 cat >conftest.$ac_ext <<_ACEOF
3037 /* confdefs.h. */
3038 _ACEOF
3039 cat confdefs.h >>conftest.$ac_ext
3040 cat >>conftest.$ac_ext <<_ACEOF
3041 /* end confdefs.h. */
3042 #include <stdarg.h>
3043 #include <stdio.h>
3044 #include <sys/types.h>
3045 #include <sys/stat.h>
3046 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3047 struct buf { int x; };
3048 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3049 static char *e (p, i)
3050 char **p;
3051 int i;
3053 return p[i];
3055 static char *f (char * (*g) (char **, int), char **p, ...)
3057 char *s;
3058 va_list v;
3059 va_start (v,p);
3060 s = g (p, va_arg (v,int));
3061 va_end (v);
3062 return s;
3065 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3066 function prototypes and stuff, but not '\xHH' hex character constants.
3067 These don't provoke an error unfortunately, instead are silently treated
3068 as 'x'. The following induces an error, until -std1 is added to get
3069 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3070 array size at least. It's necessary to write '\x00'==0 to get something
3071 that's true only with -std1. */
3072 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3074 int test (int i, double x);
3075 struct s1 {int (*f) (int a);};
3076 struct s2 {int (*f) (double a);};
3077 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3078 int argc;
3079 char **argv;
3081 main ()
3083 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3085 return 0;
3087 _ACEOF
3088 # Don't try gcc -ansi; that turns off useful extensions and
3089 # breaks some systems' header files.
3090 # AIX -qlanglvl=ansi
3091 # Ultrix and OSF/1 -std1
3092 # HP-UX 10.20 and later -Ae
3093 # HP-UX older versions -Aa -D_HPUX_SOURCE
3094 # SVR4 -Xc -D__EXTENSIONS__
3095 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3097 CC="$ac_save_CC $ac_arg"
3098 rm -f conftest.$ac_objext
3099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3100 (eval $ac_compile) 2>conftest.er1
3101 ac_status=$?
3102 grep -v '^ *+' conftest.er1 >conftest.err
3103 rm -f conftest.er1
3104 cat conftest.err >&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } &&
3107 { ac_try='test -z "$ac_c_werror_flag"
3108 || test ! -s conftest.err'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3110 (eval $ac_try) 2>&5
3111 ac_status=$?
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; } &&
3114 { ac_try='test -s conftest.$ac_objext'
3115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3116 (eval $ac_try) 2>&5
3117 ac_status=$?
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); }; }; then
3120 ac_cv_prog_cc_stdc=$ac_arg
3121 break
3122 else
3123 echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3127 rm -f conftest.err conftest.$ac_objext
3128 done
3129 rm -f conftest.$ac_ext conftest.$ac_objext
3130 CC=$ac_save_CC
3134 case "x$ac_cv_prog_cc_stdc" in
3135 x|xno)
3136 echo "$as_me:$LINENO: result: none needed" >&5
3137 echo "${ECHO_T}none needed" >&6 ;;
3139 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3140 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3141 CC="$CC $ac_cv_prog_cc_stdc" ;;
3142 esac
3144 # Some people use a C++ compiler to compile C. Since we use `exit',
3145 # in C++ we need to declare it. In case someone uses the same compiler
3146 # for both compiling C and C++ we need to have the C++ compiler decide
3147 # the declaration of exit, since it's the most demanding environment.
3148 cat >conftest.$ac_ext <<_ACEOF
3149 #ifndef __cplusplus
3150 choke me
3151 #endif
3152 _ACEOF
3153 rm -f conftest.$ac_objext
3154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3155 (eval $ac_compile) 2>conftest.er1
3156 ac_status=$?
3157 grep -v '^ *+' conftest.er1 >conftest.err
3158 rm -f conftest.er1
3159 cat conftest.err >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } &&
3162 { ac_try='test -z "$ac_c_werror_flag"
3163 || test ! -s conftest.err'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3165 (eval $ac_try) 2>&5
3166 ac_status=$?
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; } &&
3169 { ac_try='test -s conftest.$ac_objext'
3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3171 (eval $ac_try) 2>&5
3172 ac_status=$?
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; }; then
3175 for ac_declaration in \
3176 '' \
3177 'extern "C" void std::exit (int) throw (); using std::exit;' \
3178 'extern "C" void std::exit (int); using std::exit;' \
3179 'extern "C" void exit (int) throw ();' \
3180 'extern "C" void exit (int);' \
3181 'void exit (int);'
3183 cat >conftest.$ac_ext <<_ACEOF
3184 /* confdefs.h. */
3185 _ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3189 $ac_declaration
3190 #include <stdlib.h>
3192 main ()
3194 exit (42);
3196 return 0;
3198 _ACEOF
3199 rm -f conftest.$ac_objext
3200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3201 (eval $ac_compile) 2>conftest.er1
3202 ac_status=$?
3203 grep -v '^ *+' conftest.er1 >conftest.err
3204 rm -f conftest.er1
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } &&
3208 { ac_try='test -z "$ac_c_werror_flag"
3209 || test ! -s conftest.err'
3210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211 (eval $ac_try) 2>&5
3212 ac_status=$?
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); }; } &&
3215 { ac_try='test -s conftest.$ac_objext'
3216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217 (eval $ac_try) 2>&5
3218 ac_status=$?
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); }; }; then
3222 else
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3226 continue
3228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3229 cat >conftest.$ac_ext <<_ACEOF
3230 /* confdefs.h. */
3231 _ACEOF
3232 cat confdefs.h >>conftest.$ac_ext
3233 cat >>conftest.$ac_ext <<_ACEOF
3234 /* end confdefs.h. */
3235 $ac_declaration
3237 main ()
3239 exit (42);
3241 return 0;
3243 _ACEOF
3244 rm -f conftest.$ac_objext
3245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3246 (eval $ac_compile) 2>conftest.er1
3247 ac_status=$?
3248 grep -v '^ *+' conftest.er1 >conftest.err
3249 rm -f conftest.er1
3250 cat conftest.err >&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); } &&
3253 { ac_try='test -z "$ac_c_werror_flag"
3254 || test ! -s conftest.err'
3255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3256 (eval $ac_try) 2>&5
3257 ac_status=$?
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); }; } &&
3260 { ac_try='test -s conftest.$ac_objext'
3261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3262 (eval $ac_try) 2>&5
3263 ac_status=$?
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }; }; then
3266 break
3267 else
3268 echo "$as_me: failed program was:" >&5
3269 sed 's/^/| /' conftest.$ac_ext >&5
3272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3273 done
3274 rm -f conftest*
3275 if test -n "$ac_declaration"; then
3276 echo '#ifdef __cplusplus' >>confdefs.h
3277 echo $ac_declaration >>confdefs.h
3278 echo '#endif' >>confdefs.h
3281 else
3282 echo "$as_me: failed program was:" >&5
3283 sed 's/^/| /' conftest.$ac_ext >&5
3286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3287 ac_ext=c
3288 ac_cpp='$CPP $CPPFLAGS'
3289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3293 depcc="$CC" am_compiler_list=
3295 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3296 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3297 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3298 echo $ECHO_N "(cached) $ECHO_C" >&6
3299 else
3300 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3301 # We make a subdir and do the tests there. Otherwise we can end up
3302 # making bogus files that we don't know about and never remove. For
3303 # instance it was reported that on HP-UX the gcc test will end up
3304 # making a dummy file named `D' -- because `-MD' means `put the output
3305 # in D'.
3306 mkdir conftest.dir
3307 # Copy depcomp to subdir because otherwise we won't find it if we're
3308 # using a relative directory.
3309 cp "$am_depcomp" conftest.dir
3310 cd conftest.dir
3311 # We will build objects and dependencies in a subdirectory because
3312 # it helps to detect inapplicable dependency modes. For instance
3313 # both Tru64's cc and ICC support -MD to output dependencies as a
3314 # side effect of compilation, but ICC will put the dependencies in
3315 # the current directory while Tru64 will put them in the object
3316 # directory.
3317 mkdir sub
3319 am_cv_CC_dependencies_compiler_type=none
3320 if test "$am_compiler_list" = ""; then
3321 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3323 for depmode in $am_compiler_list; do
3324 # Setup a source with many dependencies, because some compilers
3325 # like to wrap large dependency lists on column 80 (with \), and
3326 # we should not choose a depcomp mode which is confused by this.
3328 # We need to recreate these files for each test, as the compiler may
3329 # overwrite some of them when testing with obscure command lines.
3330 # This happens at least with the AIX C compiler.
3331 : > sub/conftest.c
3332 for i in 1 2 3 4 5 6; do
3333 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3334 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3335 # Solaris 8's {/usr,}/bin/sh.
3336 touch sub/conftst$i.h
3337 done
3338 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3340 case $depmode in
3341 nosideeffect)
3342 # after this tag, mechanisms are not by side-effect, so they'll
3343 # only be used when explicitly requested
3344 if test "x$enable_dependency_tracking" = xyes; then
3345 continue
3346 else
3347 break
3350 none) break ;;
3351 esac
3352 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3353 # mode. It turns out that the SunPro C++ compiler does not properly
3354 # handle `-M -o', and we need to detect this.
3355 if depmode=$depmode \
3356 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3357 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3358 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3359 >/dev/null 2>conftest.err &&
3360 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3361 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3362 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3363 # icc doesn't choke on unknown options, it will just issue warnings
3364 # or remarks (even with -Werror). So we grep stderr for any message
3365 # that says an option was ignored or not supported.
3366 # When given -MP, icc 7.0 and 7.1 complain thusly:
3367 # icc: Command line warning: ignoring option '-M'; no argument required
3368 # The diagnosis changed in icc 8.0:
3369 # icc: Command line remark: option '-MP' not supported
3370 if (grep 'ignoring option' conftest.err ||
3371 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3372 am_cv_CC_dependencies_compiler_type=$depmode
3373 break
3376 done
3378 cd ..
3379 rm -rf conftest.dir
3380 else
3381 am_cv_CC_dependencies_compiler_type=none
3385 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3386 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3387 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3392 test "x$enable_dependency_tracking" != xno \
3393 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3394 am__fastdepCC_TRUE=
3395 am__fastdepCC_FALSE='#'
3396 else
3397 am__fastdepCC_TRUE='#'
3398 am__fastdepCC_FALSE=
3403 ac_ext=c
3404 ac_cpp='$CPP $CPPFLAGS'
3405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3408 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3409 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3410 # On Suns, sometimes $CPP names a directory.
3411 if test -n "$CPP" && test -d "$CPP"; then
3412 CPP=
3414 if test -z "$CPP"; then
3415 if test "${ac_cv_prog_CPP+set}" = set; then
3416 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 else
3418 # Double quotes because CPP needs to be expanded
3419 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3421 ac_preproc_ok=false
3422 for ac_c_preproc_warn_flag in '' yes
3424 # Use a header file that comes with gcc, so configuring glibc
3425 # with a fresh cross-compiler works.
3426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3427 # <limits.h> exists even on freestanding compilers.
3428 # On the NeXT, cc -E runs the code through the compiler's parser,
3429 # not just through cpp. "Syntax error" is here to catch this case.
3430 cat >conftest.$ac_ext <<_ACEOF
3431 /* confdefs.h. */
3432 _ACEOF
3433 cat confdefs.h >>conftest.$ac_ext
3434 cat >>conftest.$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3436 #ifdef __STDC__
3437 # include <limits.h>
3438 #else
3439 # include <assert.h>
3440 #endif
3441 Syntax error
3442 _ACEOF
3443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3445 ac_status=$?
3446 grep -v '^ *+' conftest.er1 >conftest.err
3447 rm -f conftest.er1
3448 cat conftest.err >&5
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); } >/dev/null; then
3451 if test -s conftest.err; then
3452 ac_cpp_err=$ac_c_preproc_warn_flag
3453 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3454 else
3455 ac_cpp_err=
3457 else
3458 ac_cpp_err=yes
3460 if test -z "$ac_cpp_err"; then
3462 else
3463 echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.$ac_ext >&5
3466 # Broken: fails on valid input.
3467 continue
3469 rm -f conftest.err conftest.$ac_ext
3471 # OK, works on sane cases. Now check whether non-existent headers
3472 # can be detected and how.
3473 cat >conftest.$ac_ext <<_ACEOF
3474 /* confdefs.h. */
3475 _ACEOF
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3479 #include <ac_nonexistent.h>
3480 _ACEOF
3481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3483 ac_status=$?
3484 grep -v '^ *+' conftest.er1 >conftest.err
3485 rm -f conftest.er1
3486 cat conftest.err >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } >/dev/null; then
3489 if test -s conftest.err; then
3490 ac_cpp_err=$ac_c_preproc_warn_flag
3491 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3492 else
3493 ac_cpp_err=
3495 else
3496 ac_cpp_err=yes
3498 if test -z "$ac_cpp_err"; then
3499 # Broken: success on invalid input.
3500 continue
3501 else
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3505 # Passes both tests.
3506 ac_preproc_ok=:
3507 break
3509 rm -f conftest.err conftest.$ac_ext
3511 done
3512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3513 rm -f conftest.err conftest.$ac_ext
3514 if $ac_preproc_ok; then
3515 break
3518 done
3519 ac_cv_prog_CPP=$CPP
3522 CPP=$ac_cv_prog_CPP
3523 else
3524 ac_cv_prog_CPP=$CPP
3526 echo "$as_me:$LINENO: result: $CPP" >&5
3527 echo "${ECHO_T}$CPP" >&6
3528 ac_preproc_ok=false
3529 for ac_c_preproc_warn_flag in '' yes
3531 # Use a header file that comes with gcc, so configuring glibc
3532 # with a fresh cross-compiler works.
3533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3534 # <limits.h> exists even on freestanding compilers.
3535 # On the NeXT, cc -E runs the code through the compiler's parser,
3536 # not just through cpp. "Syntax error" is here to catch this case.
3537 cat >conftest.$ac_ext <<_ACEOF
3538 /* confdefs.h. */
3539 _ACEOF
3540 cat confdefs.h >>conftest.$ac_ext
3541 cat >>conftest.$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3543 #ifdef __STDC__
3544 # include <limits.h>
3545 #else
3546 # include <assert.h>
3547 #endif
3548 Syntax error
3549 _ACEOF
3550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3552 ac_status=$?
3553 grep -v '^ *+' conftest.er1 >conftest.err
3554 rm -f conftest.er1
3555 cat conftest.err >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); } >/dev/null; then
3558 if test -s conftest.err; then
3559 ac_cpp_err=$ac_c_preproc_warn_flag
3560 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3561 else
3562 ac_cpp_err=
3564 else
3565 ac_cpp_err=yes
3567 if test -z "$ac_cpp_err"; then
3569 else
3570 echo "$as_me: failed program was:" >&5
3571 sed 's/^/| /' conftest.$ac_ext >&5
3573 # Broken: fails on valid input.
3574 continue
3576 rm -f conftest.err conftest.$ac_ext
3578 # OK, works on sane cases. Now check whether non-existent headers
3579 # can be detected and how.
3580 cat >conftest.$ac_ext <<_ACEOF
3581 /* confdefs.h. */
3582 _ACEOF
3583 cat confdefs.h >>conftest.$ac_ext
3584 cat >>conftest.$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3586 #include <ac_nonexistent.h>
3587 _ACEOF
3588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3590 ac_status=$?
3591 grep -v '^ *+' conftest.er1 >conftest.err
3592 rm -f conftest.er1
3593 cat conftest.err >&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); } >/dev/null; then
3596 if test -s conftest.err; then
3597 ac_cpp_err=$ac_c_preproc_warn_flag
3598 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3599 else
3600 ac_cpp_err=
3602 else
3603 ac_cpp_err=yes
3605 if test -z "$ac_cpp_err"; then
3606 # Broken: success on invalid input.
3607 continue
3608 else
3609 echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3612 # Passes both tests.
3613 ac_preproc_ok=:
3614 break
3616 rm -f conftest.err conftest.$ac_ext
3618 done
3619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3620 rm -f conftest.err conftest.$ac_ext
3621 if $ac_preproc_ok; then
3623 else
3624 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3625 See \`config.log' for more details." >&5
3626 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3627 See \`config.log' for more details." >&2;}
3628 { (exit 1); exit 1; }; }
3631 ac_ext=c
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3638 echo "$as_me:$LINENO: checking for egrep" >&5
3639 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3640 if test "${ac_cv_prog_egrep+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 else
3643 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3644 then ac_cv_prog_egrep='grep -E'
3645 else ac_cv_prog_egrep='egrep'
3648 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3649 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3650 EGREP=$ac_cv_prog_egrep
3653 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3654 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3655 if test "${ac_cv_header_stdc+set}" = set; then
3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 else
3658 cat >conftest.$ac_ext <<_ACEOF
3659 /* confdefs.h. */
3660 _ACEOF
3661 cat confdefs.h >>conftest.$ac_ext
3662 cat >>conftest.$ac_ext <<_ACEOF
3663 /* end confdefs.h. */
3664 #include <stdlib.h>
3665 #include <stdarg.h>
3666 #include <string.h>
3667 #include <float.h>
3670 main ()
3674 return 0;
3676 _ACEOF
3677 rm -f conftest.$ac_objext
3678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3679 (eval $ac_compile) 2>conftest.er1
3680 ac_status=$?
3681 grep -v '^ *+' conftest.er1 >conftest.err
3682 rm -f conftest.er1
3683 cat conftest.err >&5
3684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); } &&
3686 { ac_try='test -z "$ac_c_werror_flag"
3687 || test ! -s conftest.err'
3688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689 (eval $ac_try) 2>&5
3690 ac_status=$?
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }; } &&
3693 { ac_try='test -s conftest.$ac_objext'
3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 (eval $ac_try) 2>&5
3696 ac_status=$?
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; }; then
3699 ac_cv_header_stdc=yes
3700 else
3701 echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.$ac_ext >&5
3704 ac_cv_header_stdc=no
3706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3708 if test $ac_cv_header_stdc = yes; then
3709 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3710 cat >conftest.$ac_ext <<_ACEOF
3711 /* confdefs.h. */
3712 _ACEOF
3713 cat confdefs.h >>conftest.$ac_ext
3714 cat >>conftest.$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3716 #include <string.h>
3718 _ACEOF
3719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3720 $EGREP "memchr" >/dev/null 2>&1; then
3722 else
3723 ac_cv_header_stdc=no
3725 rm -f conftest*
3729 if test $ac_cv_header_stdc = yes; then
3730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3731 cat >conftest.$ac_ext <<_ACEOF
3732 /* confdefs.h. */
3733 _ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3737 #include <stdlib.h>
3739 _ACEOF
3740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3741 $EGREP "free" >/dev/null 2>&1; then
3743 else
3744 ac_cv_header_stdc=no
3746 rm -f conftest*
3750 if test $ac_cv_header_stdc = yes; then
3751 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3752 if test "$cross_compiling" = yes; then
3754 else
3755 cat >conftest.$ac_ext <<_ACEOF
3756 /* confdefs.h. */
3757 _ACEOF
3758 cat confdefs.h >>conftest.$ac_ext
3759 cat >>conftest.$ac_ext <<_ACEOF
3760 /* end confdefs.h. */
3761 #include <ctype.h>
3762 #if ((' ' & 0x0FF) == 0x020)
3763 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3764 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3765 #else
3766 # define ISLOWER(c) \
3767 (('a' <= (c) && (c) <= 'i') \
3768 || ('j' <= (c) && (c) <= 'r') \
3769 || ('s' <= (c) && (c) <= 'z'))
3770 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3771 #endif
3773 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3775 main ()
3777 int i;
3778 for (i = 0; i < 256; i++)
3779 if (XOR (islower (i), ISLOWER (i))
3780 || toupper (i) != TOUPPER (i))
3781 exit(2);
3782 exit (0);
3784 _ACEOF
3785 rm -f conftest$ac_exeext
3786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3787 (eval $ac_link) 2>&5
3788 ac_status=$?
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792 (eval $ac_try) 2>&5
3793 ac_status=$?
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; }; then
3797 else
3798 echo "$as_me: program exited with status $ac_status" >&5
3799 echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.$ac_ext >&5
3802 ( exit $ac_status )
3803 ac_cv_header_stdc=no
3805 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3809 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3810 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3811 if test $ac_cv_header_stdc = yes; then
3813 cat >>confdefs.h <<\_ACEOF
3814 #define STDC_HEADERS 1
3815 _ACEOF
3819 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3829 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3830 inttypes.h stdint.h unistd.h
3832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3833 echo "$as_me:$LINENO: checking for $ac_header" >&5
3834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3837 else
3838 cat >conftest.$ac_ext <<_ACEOF
3839 /* confdefs.h. */
3840 _ACEOF
3841 cat confdefs.h >>conftest.$ac_ext
3842 cat >>conftest.$ac_ext <<_ACEOF
3843 /* end confdefs.h. */
3844 $ac_includes_default
3846 #include <$ac_header>
3847 _ACEOF
3848 rm -f conftest.$ac_objext
3849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3850 (eval $ac_compile) 2>conftest.er1
3851 ac_status=$?
3852 grep -v '^ *+' conftest.er1 >conftest.err
3853 rm -f conftest.er1
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } &&
3857 { ac_try='test -z "$ac_c_werror_flag"
3858 || test ! -s conftest.err'
3859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860 (eval $ac_try) 2>&5
3861 ac_status=$?
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); }; } &&
3864 { ac_try='test -s conftest.$ac_objext'
3865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 (eval $ac_try) 2>&5
3867 ac_status=$?
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }; }; then
3870 eval "$as_ac_Header=yes"
3871 else
3872 echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.$ac_ext >&5
3875 eval "$as_ac_Header=no"
3877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3882 cat >>confdefs.h <<_ACEOF
3883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3884 _ACEOF
3888 done
3891 # Check whether --enable-alsa or --disable-alsa was given.
3892 if test "${enable_alsa+set}" = set; then
3893 enableval="$enable_alsa"
3894 case "${enableval}" in
3895 yes) COMPILE_ALSA=yes ;;
3896 no) COMPILE_ALSA=no ;;
3897 *) COMPILE_ALSA=yes ;;
3898 esac
3899 else
3901 for ac_header in alsa/asoundlib.h
3903 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3905 echo "$as_me:$LINENO: checking for $ac_header" >&5
3906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3912 else
3913 # Is the header compilable?
3914 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3915 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3916 cat >conftest.$ac_ext <<_ACEOF
3917 /* confdefs.h. */
3918 _ACEOF
3919 cat confdefs.h >>conftest.$ac_ext
3920 cat >>conftest.$ac_ext <<_ACEOF
3921 /* end confdefs.h. */
3922 $ac_includes_default
3923 #include <$ac_header>
3924 _ACEOF
3925 rm -f conftest.$ac_objext
3926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3927 (eval $ac_compile) 2>conftest.er1
3928 ac_status=$?
3929 grep -v '^ *+' conftest.er1 >conftest.err
3930 rm -f conftest.er1
3931 cat conftest.err >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); } &&
3934 { ac_try='test -z "$ac_c_werror_flag"
3935 || test ! -s conftest.err'
3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 (eval $ac_try) 2>&5
3938 ac_status=$?
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; } &&
3941 { ac_try='test -s conftest.$ac_objext'
3942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 (eval $ac_try) 2>&5
3944 ac_status=$?
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }; }; then
3947 ac_header_compiler=yes
3948 else
3949 echo "$as_me: failed program was:" >&5
3950 sed 's/^/| /' conftest.$ac_ext >&5
3952 ac_header_compiler=no
3954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3956 echo "${ECHO_T}$ac_header_compiler" >&6
3958 # Is the header present?
3959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3961 cat >conftest.$ac_ext <<_ACEOF
3962 /* confdefs.h. */
3963 _ACEOF
3964 cat confdefs.h >>conftest.$ac_ext
3965 cat >>conftest.$ac_ext <<_ACEOF
3966 /* end confdefs.h. */
3967 #include <$ac_header>
3968 _ACEOF
3969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3971 ac_status=$?
3972 grep -v '^ *+' conftest.er1 >conftest.err
3973 rm -f conftest.er1
3974 cat conftest.err >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } >/dev/null; then
3977 if test -s conftest.err; then
3978 ac_cpp_err=$ac_c_preproc_warn_flag
3979 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3980 else
3981 ac_cpp_err=
3983 else
3984 ac_cpp_err=yes
3986 if test -z "$ac_cpp_err"; then
3987 ac_header_preproc=yes
3988 else
3989 echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3992 ac_header_preproc=no
3994 rm -f conftest.err conftest.$ac_ext
3995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3996 echo "${ECHO_T}$ac_header_preproc" >&6
3998 # So? What about this header?
3999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4000 yes:no: )
4001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4005 ac_header_preproc=yes
4007 no:yes:* )
4008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4011 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4015 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4021 cat <<\_ASBOX
4022 ## -------------------------------- ##
4023 ## Report this to classpath@gnu.org ##
4024 ## -------------------------------- ##
4025 _ASBOX
4027 sed "s/^/$as_me: WARNING: /" >&2
4029 esac
4030 echo "$as_me:$LINENO: checking for $ac_header" >&5
4031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 else
4035 eval "$as_ac_Header=\$ac_header_preproc"
4037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4042 cat >>confdefs.h <<_ACEOF
4043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4044 _ACEOF
4045 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4046 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4047 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4048 echo $ECHO_N "(cached) $ECHO_C" >&6
4049 else
4050 ac_check_lib_save_LIBS=$LIBS
4051 LIBS="-lasound $LIBS"
4052 if test x$gcc_no_link = xyes; then
4053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4055 { (exit 1); exit 1; }; }
4057 cat >conftest.$ac_ext <<_ACEOF
4058 /* confdefs.h. */
4059 _ACEOF
4060 cat confdefs.h >>conftest.$ac_ext
4061 cat >>conftest.$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4064 /* Override any gcc2 internal prototype to avoid an error. */
4065 #ifdef __cplusplus
4066 extern "C"
4067 #endif
4068 /* We use char because int might match the return type of a gcc2
4069 builtin and then its argument prototype would still apply. */
4070 char snd_seq_open ();
4072 main ()
4074 snd_seq_open ();
4076 return 0;
4078 _ACEOF
4079 rm -f conftest.$ac_objext conftest$ac_exeext
4080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4081 (eval $ac_link) 2>conftest.er1
4082 ac_status=$?
4083 grep -v '^ *+' conftest.er1 >conftest.err
4084 rm -f conftest.er1
4085 cat conftest.err >&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } &&
4088 { ac_try='test -z "$ac_c_werror_flag"
4089 || test ! -s conftest.err'
4090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091 (eval $ac_try) 2>&5
4092 ac_status=$?
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; } &&
4095 { ac_try='test -s conftest$ac_exeext'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4097 (eval $ac_try) 2>&5
4098 ac_status=$?
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; }; then
4101 ac_cv_lib_asound_snd_seq_open=yes
4102 else
4103 echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4106 ac_cv_lib_asound_snd_seq_open=no
4108 rm -f conftest.err conftest.$ac_objext \
4109 conftest$ac_exeext conftest.$ac_ext
4110 LIBS=$ac_check_lib_save_LIBS
4112 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4113 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4114 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4115 COMPILE_ALSA=yes
4116 else
4117 COMPILE_ALSA=no
4120 else
4121 COMPILE_ALSA=no
4124 done
4129 if test "x${COMPILE_ALSA}" = xyes; then
4130 CREATE_ALSA_LIBRARIES_TRUE=
4131 CREATE_ALSA_LIBRARIES_FALSE='#'
4132 else
4133 CREATE_ALSA_LIBRARIES_TRUE='#'
4134 CREATE_ALSA_LIBRARIES_FALSE=
4138 # Check whether --enable-dssi or --disable-dssi was given.
4139 if test "${enable_dssi+set}" = set; then
4140 enableval="$enable_dssi"
4141 case "${enableval}" in
4142 yes) COMPILE_DSSI=yes ;;
4143 no) COMPILE_DSSI=no ;;
4144 *) COMPILE_DSSI=yes ;;
4145 esac
4146 else
4147 COMPILE_DSSI=no
4149 for ac_header in dssi.h
4151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4153 echo "$as_me:$LINENO: checking for $ac_header" >&5
4154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4160 else
4161 # Is the header compilable?
4162 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4163 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4164 cat >conftest.$ac_ext <<_ACEOF
4165 /* confdefs.h. */
4166 _ACEOF
4167 cat confdefs.h >>conftest.$ac_ext
4168 cat >>conftest.$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4170 $ac_includes_default
4171 #include <$ac_header>
4172 _ACEOF
4173 rm -f conftest.$ac_objext
4174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4175 (eval $ac_compile) 2>conftest.er1
4176 ac_status=$?
4177 grep -v '^ *+' conftest.er1 >conftest.err
4178 rm -f conftest.er1
4179 cat conftest.err >&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } &&
4182 { ac_try='test -z "$ac_c_werror_flag"
4183 || test ! -s conftest.err'
4184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4185 (eval $ac_try) 2>&5
4186 ac_status=$?
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; } &&
4189 { ac_try='test -s conftest.$ac_objext'
4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 (eval $ac_try) 2>&5
4192 ac_status=$?
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; }; then
4195 ac_header_compiler=yes
4196 else
4197 echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4200 ac_header_compiler=no
4202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4203 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4204 echo "${ECHO_T}$ac_header_compiler" >&6
4206 # Is the header present?
4207 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4208 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4209 cat >conftest.$ac_ext <<_ACEOF
4210 /* confdefs.h. */
4211 _ACEOF
4212 cat confdefs.h >>conftest.$ac_ext
4213 cat >>conftest.$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4215 #include <$ac_header>
4216 _ACEOF
4217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4219 ac_status=$?
4220 grep -v '^ *+' conftest.er1 >conftest.err
4221 rm -f conftest.er1
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } >/dev/null; then
4225 if test -s conftest.err; then
4226 ac_cpp_err=$ac_c_preproc_warn_flag
4227 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4228 else
4229 ac_cpp_err=
4231 else
4232 ac_cpp_err=yes
4234 if test -z "$ac_cpp_err"; then
4235 ac_header_preproc=yes
4236 else
4237 echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.$ac_ext >&5
4240 ac_header_preproc=no
4242 rm -f conftest.err conftest.$ac_ext
4243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4244 echo "${ECHO_T}$ac_header_preproc" >&6
4246 # So? What about this header?
4247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4248 yes:no: )
4249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4253 ac_header_preproc=yes
4255 no:yes:* )
4256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4260 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4262 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4263 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4266 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4269 cat <<\_ASBOX
4270 ## -------------------------------- ##
4271 ## Report this to classpath@gnu.org ##
4272 ## -------------------------------- ##
4273 _ASBOX
4275 sed "s/^/$as_me: WARNING: /" >&2
4277 esac
4278 echo "$as_me:$LINENO: checking for $ac_header" >&5
4279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 else
4283 eval "$as_ac_Header=\$ac_header_preproc"
4285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4290 cat >>confdefs.h <<_ACEOF
4291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4292 _ACEOF
4295 for ac_header in jack/jack.h
4297 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4299 echo "$as_me:$LINENO: checking for $ac_header" >&5
4300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4306 else
4307 # Is the header compilable?
4308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4310 cat >conftest.$ac_ext <<_ACEOF
4311 /* confdefs.h. */
4312 _ACEOF
4313 cat confdefs.h >>conftest.$ac_ext
4314 cat >>conftest.$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4316 $ac_includes_default
4317 #include <$ac_header>
4318 _ACEOF
4319 rm -f conftest.$ac_objext
4320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4321 (eval $ac_compile) 2>conftest.er1
4322 ac_status=$?
4323 grep -v '^ *+' conftest.er1 >conftest.err
4324 rm -f conftest.er1
4325 cat conftest.err >&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } &&
4328 { ac_try='test -z "$ac_c_werror_flag"
4329 || test ! -s conftest.err'
4330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 (eval $ac_try) 2>&5
4332 ac_status=$?
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); }; } &&
4335 { ac_try='test -s conftest.$ac_objext'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 (eval $ac_try) 2>&5
4338 ac_status=$?
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; }; then
4341 ac_header_compiler=yes
4342 else
4343 echo "$as_me: failed program was:" >&5
4344 sed 's/^/| /' conftest.$ac_ext >&5
4346 ac_header_compiler=no
4348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4350 echo "${ECHO_T}$ac_header_compiler" >&6
4352 # Is the header present?
4353 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4354 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4355 cat >conftest.$ac_ext <<_ACEOF
4356 /* confdefs.h. */
4357 _ACEOF
4358 cat confdefs.h >>conftest.$ac_ext
4359 cat >>conftest.$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4361 #include <$ac_header>
4362 _ACEOF
4363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4364 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4365 ac_status=$?
4366 grep -v '^ *+' conftest.er1 >conftest.err
4367 rm -f conftest.er1
4368 cat conftest.err >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } >/dev/null; then
4371 if test -s conftest.err; then
4372 ac_cpp_err=$ac_c_preproc_warn_flag
4373 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4374 else
4375 ac_cpp_err=
4377 else
4378 ac_cpp_err=yes
4380 if test -z "$ac_cpp_err"; then
4381 ac_header_preproc=yes
4382 else
4383 echo "$as_me: failed program was:" >&5
4384 sed 's/^/| /' conftest.$ac_ext >&5
4386 ac_header_preproc=no
4388 rm -f conftest.err conftest.$ac_ext
4389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4390 echo "${ECHO_T}$ac_header_preproc" >&6
4392 # So? What about this header?
4393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4394 yes:no: )
4395 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4396 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4398 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4399 ac_header_preproc=yes
4401 no:yes:* )
4402 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4403 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4404 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4405 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4406 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4407 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4408 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4409 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4411 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4412 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4413 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4415 cat <<\_ASBOX
4416 ## -------------------------------- ##
4417 ## Report this to classpath@gnu.org ##
4418 ## -------------------------------- ##
4419 _ASBOX
4421 sed "s/^/$as_me: WARNING: /" >&2
4423 esac
4424 echo "$as_me:$LINENO: checking for $ac_header" >&5
4425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4428 else
4429 eval "$as_ac_Header=\$ac_header_preproc"
4431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4436 cat >>confdefs.h <<_ACEOF
4437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4438 _ACEOF
4439 COMPILE_DSSI=yes
4442 done
4446 done
4451 if test "x${COMPILE_DSSI}" = xyes; then
4452 CREATE_DSSI_LIBRARIES_TRUE=
4453 CREATE_DSSI_LIBRARIES_FALSE='#'
4454 else
4455 CREATE_DSSI_LIBRARIES_TRUE='#'
4456 CREATE_DSSI_LIBRARIES_FALSE=
4460 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4461 if test "${enable_gtk_peer+set}" = set; then
4462 enableval="$enable_gtk_peer"
4463 case "${enableval}" in
4464 yes) COMPILE_GTK_PEER=yes ;;
4465 no) COMPILE_GTK_PEER=no ;;
4466 *) COMPILE_GTK_PEER=yes ;;
4467 esac
4468 else
4469 COMPILE_GTK_PEER=yes
4473 if test "x${COMPILE_GTK_PEER}" = xyes; then
4474 CREATE_GTK_PEER_LIBRARIES_TRUE=
4475 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4476 else
4477 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4478 CREATE_GTK_PEER_LIBRARIES_FALSE=
4482 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4483 if test "${enable_gtk_peers+set}" = set; then
4484 enableval="$enable_gtk_peers"
4485 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4486 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4487 { (exit 1); exit 1; }; }
4490 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4491 if test "${enable_qt_peer+set}" = set; then
4492 enableval="$enable_qt_peer"
4493 case "${enableval}" in
4494 yes) COMPILE_QT_PEER=yes ;;
4495 no) COMPILE_QT_PEER=no ;;
4496 *) COMPILE_QT_PEER=yes ;;
4497 esac
4498 else
4499 COMPILE_QT_PEER=no
4503 if test "x${COMPILE_QT_PEER}" = xyes; then
4504 CREATE_QT_PEER_LIBRARIES_TRUE=
4505 CREATE_QT_PEER_LIBRARIES_FALSE='#'
4506 else
4507 CREATE_QT_PEER_LIBRARIES_TRUE='#'
4508 CREATE_QT_PEER_LIBRARIES_FALSE=
4512 # Check whether --enable-plugin or --disable-plugin was given.
4513 if test "${enable_plugin+set}" = set; then
4514 enableval="$enable_plugin"
4515 case "${enableval}" in
4516 yes) COMPILE_PLUGIN=yes ;;
4517 no) COMPILE_PLUGIN=no ;;
4518 *) COMPILE_PLUGIN=yes ;;
4519 esac
4520 else
4521 COMPILE_PLUGIN=yes
4525 if test "x${COMPILE_PLUGIN}" = xyes; then
4526 CREATE_PLUGIN_TRUE=
4527 CREATE_PLUGIN_FALSE='#'
4528 else
4529 CREATE_PLUGIN_TRUE='#'
4530 CREATE_PLUGIN_FALSE=
4535 multi_os_directory=`$CC -print-multi-os-directory`
4536 case $multi_os_directory in
4537 .) toolexeclibdir=${libdir} ;; # Avoid trailing /.
4538 *) toolexeclibdir=${libdir}/${multi_os_directory} ;;
4539 esac
4544 # Check whether --with-native-libdir or --without-native-libdir was given.
4545 if test "${with_native_libdir+set}" = set; then
4546 withval="$with_native_libdir"
4548 nativeexeclibdir=${withval}
4550 else
4552 nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4559 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4560 if test "${with_glibj_dir+set}" = set; then
4561 withval="$with_glibj_dir"
4563 glibjdir=${withval}
4565 else
4567 glibjdir='${datadir}/${PACKAGE}'
4574 # Check whether --with-vm or --without-vm was given.
4575 if test "${with_vm+set}" = set; then
4576 withval="$with_vm"
4578 VM_BINARY=${withval}
4580 else
4582 VM_BINARY='${prefix}/bin/jamvm'
4589 if test "x`basename $VM_BINARY`" = xcacao; then
4590 FOUND_CACAO_TRUE=
4591 FOUND_CACAO_FALSE='#'
4592 else
4593 FOUND_CACAO_TRUE='#'
4594 FOUND_CACAO_FALSE=
4598 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4599 if test "${enable_regen_headers+set}" = set; then
4600 enableval="$enable_regen_headers"
4601 case "${enableval}" in
4602 yes) REGENERATE_JNI_HEADERS=yes ;;
4603 no) REGENERATE_JNI_HEADERS=no ;;
4604 *) REGENERATE_JNI_HEADERS=no ;;
4605 esac
4606 else
4607 REGENERATE_JNI_HEADERS=no
4611 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4612 CREATE_JNI_HEADERS_TRUE=
4613 CREATE_JNI_HEADERS_FALSE='#'
4614 else
4615 CREATE_JNI_HEADERS_TRUE='#'
4616 CREATE_JNI_HEADERS_FALSE=
4620 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4621 if test "${enable_tool_wrappers+set}" = set; then
4622 enableval="$enable_tool_wrappers"
4623 case x"${enableval}" in
4624 xyes)
4625 COMPILE_WRAPPERS=yes;
4627 for ac_header in ltdl.h
4629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4631 echo "$as_me:$LINENO: checking for $ac_header" >&5
4632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4638 else
4639 # Is the header compilable?
4640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4642 cat >conftest.$ac_ext <<_ACEOF
4643 /* confdefs.h. */
4644 _ACEOF
4645 cat confdefs.h >>conftest.$ac_ext
4646 cat >>conftest.$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4648 $ac_includes_default
4649 #include <$ac_header>
4650 _ACEOF
4651 rm -f conftest.$ac_objext
4652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4653 (eval $ac_compile) 2>conftest.er1
4654 ac_status=$?
4655 grep -v '^ *+' conftest.er1 >conftest.err
4656 rm -f conftest.er1
4657 cat conftest.err >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } &&
4660 { ac_try='test -z "$ac_c_werror_flag"
4661 || test ! -s conftest.err'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4663 (eval $ac_try) 2>&5
4664 ac_status=$?
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; } &&
4667 { ac_try='test -s conftest.$ac_objext'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669 (eval $ac_try) 2>&5
4670 ac_status=$?
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4673 ac_header_compiler=yes
4674 else
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4678 ac_header_compiler=no
4680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4682 echo "${ECHO_T}$ac_header_compiler" >&6
4684 # Is the header present?
4685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4687 cat >conftest.$ac_ext <<_ACEOF
4688 /* confdefs.h. */
4689 _ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4693 #include <$ac_header>
4694 _ACEOF
4695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4697 ac_status=$?
4698 grep -v '^ *+' conftest.er1 >conftest.err
4699 rm -f conftest.er1
4700 cat conftest.err >&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); } >/dev/null; then
4703 if test -s conftest.err; then
4704 ac_cpp_err=$ac_c_preproc_warn_flag
4705 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4706 else
4707 ac_cpp_err=
4709 else
4710 ac_cpp_err=yes
4712 if test -z "$ac_cpp_err"; then
4713 ac_header_preproc=yes
4714 else
4715 echo "$as_me: failed program was:" >&5
4716 sed 's/^/| /' conftest.$ac_ext >&5
4718 ac_header_preproc=no
4720 rm -f conftest.err conftest.$ac_ext
4721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4722 echo "${ECHO_T}$ac_header_preproc" >&6
4724 # So? What about this header?
4725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4726 yes:no: )
4727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4730 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4731 ac_header_preproc=yes
4733 no:yes:* )
4734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4738 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4739 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4740 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4741 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4744 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4745 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4747 cat <<\_ASBOX
4748 ## -------------------------------- ##
4749 ## Report this to classpath@gnu.org ##
4750 ## -------------------------------- ##
4751 _ASBOX
4753 sed "s/^/$as_me: WARNING: /" >&2
4755 esac
4756 echo "$as_me:$LINENO: checking for $ac_header" >&5
4757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4760 else
4761 eval "$as_ac_Header=\$ac_header_preproc"
4763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4768 cat >>confdefs.h <<_ACEOF
4769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4770 _ACEOF
4772 else
4773 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4774 echo "$as_me: error: cannot find ltdl.h" >&2;}
4775 { (exit 1); exit 1; }; }
4778 done
4781 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4782 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4783 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4784 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 else
4786 ac_check_lib_save_LIBS=$LIBS
4787 LIBS="-lltdl $LIBS"
4788 if test x$gcc_no_link = xyes; then
4789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4791 { (exit 1); exit 1; }; }
4793 cat >conftest.$ac_ext <<_ACEOF
4794 /* confdefs.h. */
4795 _ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4800 /* Override any gcc2 internal prototype to avoid an error. */
4801 #ifdef __cplusplus
4802 extern "C"
4803 #endif
4804 /* We use char because int might match the return type of a gcc2
4805 builtin and then its argument prototype would still apply. */
4806 char lt_dlopen ();
4808 main ()
4810 lt_dlopen ();
4812 return 0;
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4817 (eval $ac_link) 2>conftest.er1
4818 ac_status=$?
4819 grep -v '^ *+' conftest.er1 >conftest.err
4820 rm -f conftest.er1
4821 cat conftest.err >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); } &&
4824 { ac_try='test -z "$ac_c_werror_flag"
4825 || test ! -s conftest.err'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 (eval $ac_try) 2>&5
4828 ac_status=$?
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; } &&
4831 { ac_try='test -s conftest$ac_exeext'
4832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4833 (eval $ac_try) 2>&5
4834 ac_status=$?
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); }; }; then
4837 ac_cv_lib_ltdl_lt_dlopen=yes
4838 else
4839 echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 ac_cv_lib_ltdl_lt_dlopen=no
4844 rm -f conftest.err conftest.$ac_objext \
4845 conftest$ac_exeext conftest.$ac_ext
4846 LIBS=$ac_check_lib_save_LIBS
4848 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
4849 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
4850 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
4851 cat >>confdefs.h <<_ACEOF
4852 #define HAVE_LIBLTDL 1
4853 _ACEOF
4855 LIBS="-lltdl $LIBS"
4857 else
4858 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
4859 echo "$as_me: error: cannot find libltdl" >&2;}
4860 { (exit 1); exit 1; }; }
4864 xno) COMPILE_WRAPPERS=no ;;
4865 x) COMPILE_WRAPPERS=yes ;;
4866 *) COMPILE_WRAPPERS=yes ;;
4867 esac
4868 else
4869 COMPILE_WRAPPERS=no
4873 if test "x${COMPILE_WRAPPERS}" = xyes; then
4874 CREATE_WRAPPERS_TRUE=
4875 CREATE_WRAPPERS_FALSE='#'
4876 else
4877 CREATE_WRAPPERS_TRUE='#'
4878 CREATE_WRAPPERS_FALSE=
4882 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4883 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4884 LN_S=$as_ln_s
4885 if test "$LN_S" = "ln -s"; then
4886 echo "$as_me:$LINENO: result: yes" >&5
4887 echo "${ECHO_T}yes" >&6
4888 else
4889 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4890 echo "${ECHO_T}no, using $LN_S" >&6
4893 # Find a good install program. We prefer a C program (faster),
4894 # so one script is as good as another. But avoid the broken or
4895 # incompatible versions:
4896 # SysV /etc/install, /usr/sbin/install
4897 # SunOS /usr/etc/install
4898 # IRIX /sbin/install
4899 # AIX /bin/install
4900 # AmigaOS /C/install, which installs bootblocks on floppy discs
4901 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4902 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4903 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4904 # OS/2's system install, which has a completely different semantic
4905 # ./install, which can be erroneously created by make from ./install.sh.
4906 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4907 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4908 if test -z "$INSTALL"; then
4909 if test "${ac_cv_path_install+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 else
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 for as_dir in $PATH
4915 IFS=$as_save_IFS
4916 test -z "$as_dir" && as_dir=.
4917 # Account for people who put trailing slashes in PATH elements.
4918 case $as_dir/ in
4919 ./ | .// | /cC/* | \
4920 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4921 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4922 /usr/ucb/* ) ;;
4924 # OSF1 and SCO ODT 3.0 have their own names for install.
4925 # Don't use installbsd from OSF since it installs stuff as root
4926 # by default.
4927 for ac_prog in ginstall scoinst install; do
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4930 if test $ac_prog = install &&
4931 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4932 # AIX install. It has an incompatible calling convention.
4934 elif test $ac_prog = install &&
4935 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4936 # program-specific install script used by HP pwplus--don't use.
4938 else
4939 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4940 break 3
4943 done
4944 done
4946 esac
4947 done
4951 if test "${ac_cv_path_install+set}" = set; then
4952 INSTALL=$ac_cv_path_install
4953 else
4954 # As a last resort, use the slow shell script. We don't cache a
4955 # path for INSTALL within a source directory, because that will
4956 # break other packages using the cache if that directory is
4957 # removed, or if the path is relative.
4958 INSTALL=$ac_install_sh
4961 echo "$as_me:$LINENO: result: $INSTALL" >&5
4962 echo "${ECHO_T}$INSTALL" >&6
4964 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4965 # It thinks the first close brace ends the variable substitution.
4966 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4968 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4970 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4974 # Check whether --enable-static or --disable-static was given.
4975 if test "${enable_static+set}" = set; then
4976 enableval="$enable_static"
4977 p=${PACKAGE-default}
4978 case $enableval in
4979 yes) enable_static=yes ;;
4980 no) enable_static=no ;;
4982 enable_static=no
4983 # Look at the argument we got. We use all the common list separators.
4984 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4985 for pkg in $enableval; do
4986 if test "X$pkg" = "X$p"; then
4987 enable_static=yes
4989 done
4990 IFS="$ac_save_ifs"
4992 esac
4993 else
4994 enable_static=no
4996 # Check whether --enable-shared or --disable-shared was given.
4997 if test "${enable_shared+set}" = set; then
4998 enableval="$enable_shared"
4999 p=${PACKAGE-default}
5000 case $enableval in
5001 yes) enable_shared=yes ;;
5002 no) enable_shared=no ;;
5004 enable_shared=no
5005 # Look at the argument we got. We use all the common list separators.
5006 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5007 for pkg in $enableval; do
5008 if test "X$pkg" = "X$p"; then
5009 enable_shared=yes
5011 done
5012 IFS="$ac_save_ifs"
5014 esac
5015 else
5016 enable_shared=yes
5018 # Check whether --enable-fast-install or --disable-fast-install was given.
5019 if test "${enable_fast_install+set}" = set; then
5020 enableval="$enable_fast_install"
5021 p=${PACKAGE-default}
5022 case $enableval in
5023 yes) enable_fast_install=yes ;;
5024 no) enable_fast_install=no ;;
5026 enable_fast_install=no
5027 # Look at the argument we got. We use all the common list separators.
5028 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5029 for pkg in $enableval; do
5030 if test "X$pkg" = "X$p"; then
5031 enable_fast_install=yes
5033 done
5034 IFS="$ac_save_ifs"
5036 esac
5037 else
5038 enable_fast_install=yes
5041 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5042 if test "${with_gnu_ld+set}" = set; then
5043 withval="$with_gnu_ld"
5044 test "$withval" = no || with_gnu_ld=yes
5045 else
5046 with_gnu_ld=no
5048 ac_prog=ld
5049 if test "$GCC" = yes; then
5050 # Check if gcc -print-prog-name=ld gives a path.
5051 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5052 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5053 case $host in
5054 *-*-mingw*)
5055 # gcc leaves a trailing carriage return which upsets mingw
5056 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5058 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5059 esac
5060 case $ac_prog in
5061 # Accept absolute paths.
5062 [\\/]* | [A-Za-z]:[\\/]*)
5063 re_direlt='/[^/][^/]*/\.\./'
5064 # Canonicalize the path of ld
5065 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5066 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5067 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5068 done
5069 test -z "$LD" && LD="$ac_prog"
5072 # If it fails, then pretend we aren't using GCC.
5073 ac_prog=ld
5076 # If it is relative, then search for the first ld in PATH.
5077 with_gnu_ld=unknown
5079 esac
5080 elif test "$with_gnu_ld" = yes; then
5081 echo "$as_me:$LINENO: checking for GNU ld" >&5
5082 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5083 else
5084 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5085 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5087 if test "${lt_cv_path_LD+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5089 else
5090 if test -z "$LD"; then
5091 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5092 for ac_dir in $PATH; do
5093 test -z "$ac_dir" && ac_dir=.
5094 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5095 lt_cv_path_LD="$ac_dir/$ac_prog"
5096 # Check to see if the program is GNU ld. I'd rather use --version,
5097 # but apparently some GNU ld's only accept -v.
5098 # Break only if it was the GNU/non-GNU ld that we prefer.
5099 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
5100 test "$with_gnu_ld" != no && break
5101 else
5102 test "$with_gnu_ld" != yes && break
5105 done
5106 IFS="$ac_save_ifs"
5107 else
5108 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5112 LD="$lt_cv_path_LD"
5113 if test -n "$LD"; then
5114 echo "$as_me:$LINENO: result: $LD" >&5
5115 echo "${ECHO_T}$LD" >&6
5116 else
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5120 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5121 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5122 { (exit 1); exit 1; }; }
5123 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5124 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5125 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
5127 else
5128 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5129 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5130 lt_cv_prog_gnu_ld=yes
5131 else
5132 lt_cv_prog_gnu_ld=no
5135 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5136 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5137 with_gnu_ld=$lt_cv_prog_gnu_ld
5140 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5141 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5142 if test "${lt_cv_ld_reload_flag+set}" = set; then
5143 echo $ECHO_N "(cached) $ECHO_C" >&6
5144 else
5145 lt_cv_ld_reload_flag='-r'
5147 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5148 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5149 reload_flag=$lt_cv_ld_reload_flag
5150 test -n "$reload_flag" && reload_flag=" $reload_flag"
5152 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5153 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5154 if test "${lt_cv_path_NM+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 else
5157 if test -n "$NM"; then
5158 # Let the user override the test.
5159 lt_cv_path_NM="$NM"
5160 else
5161 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5162 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5163 test -z "$ac_dir" && ac_dir=.
5164 tmp_nm=$ac_dir/${ac_tool_prefix}nm
5165 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
5166 # Check to see if the nm accepts a BSD-compat flag.
5167 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5168 # nm: unknown option "B" ignored
5169 # Tru64's nm complains that /dev/null is an invalid object file
5170 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
5171 lt_cv_path_NM="$tmp_nm -B"
5172 break
5173 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5174 lt_cv_path_NM="$tmp_nm -p"
5175 break
5176 else
5177 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5178 continue # so that we can try to find one that supports BSD flags
5181 done
5182 IFS="$ac_save_ifs"
5183 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5187 NM="$lt_cv_path_NM"
5188 echo "$as_me:$LINENO: result: $NM" >&5
5189 echo "${ECHO_T}$NM" >&6
5191 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5192 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5193 if test "${lt_cv_deplibs_check_method+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 else
5196 lt_cv_file_magic_cmd='$MAGIC_CMD'
5197 lt_cv_file_magic_test_file=
5198 lt_cv_deplibs_check_method='unknown'
5199 # Need to set the preceding variable on all platforms that support
5200 # interlibrary dependencies.
5201 # 'none' -- dependencies not supported.
5202 # `unknown' -- same as none, but documents that we really don't know.
5203 # 'pass_all' -- all dependencies passed with no checks.
5204 # 'test_compile' -- check by making test program.
5205 # 'file_magic [regex]' -- check by looking for files in library path
5206 # which responds to the $file_magic_cmd with a given egrep regex.
5207 # If you have `file' or equivalent on your system and you're not sure
5208 # whether `pass_all' will *always* work, you probably want this one.
5210 case $host_os in
5211 aix*)
5212 lt_cv_deplibs_check_method=pass_all
5215 beos*)
5216 lt_cv_deplibs_check_method=pass_all
5219 bsdi4*)
5220 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5221 lt_cv_file_magic_cmd='/usr/bin/file -L'
5222 lt_cv_file_magic_test_file=/shlib/libc.so
5225 cygwin* | mingw* |pw32*)
5226 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5227 lt_cv_file_magic_cmd='$OBJDUMP -f'
5230 darwin* | rhapsody*)
5231 # this will be overwritten by pass_all, but leave it in just in case
5232 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5233 lt_cv_file_magic_cmd='/usr/bin/file -L'
5234 case "$host_os" in
5235 rhapsody* | darwin1.012)
5236 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
5238 *) # Darwin 1.3 on
5239 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5241 esac
5242 lt_cv_deplibs_check_method=pass_all
5245 freebsd* | kfreebsd*-gnu)
5246 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5247 case $host_cpu in
5248 i*86 )
5249 # Not sure whether the presence of OpenBSD here was a mistake.
5250 # Let's accept both of them until this is cleared up.
5251 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5252 lt_cv_file_magic_cmd=/usr/bin/file
5253 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5255 esac
5256 else
5257 lt_cv_deplibs_check_method=pass_all
5261 gnu*)
5262 lt_cv_deplibs_check_method=pass_all
5265 hpux10.20*|hpux11*)
5266 case $host_cpu in
5267 hppa*)
5268 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5269 lt_cv_file_magic_cmd=/usr/bin/file
5270 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5272 ia64*)
5273 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5274 lt_cv_file_magic_cmd=/usr/bin/file
5275 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5277 esac
5280 irix5* | irix6*)
5281 case $host_os in
5282 irix5*)
5283 # this will be overridden with pass_all, but let us keep it just in case
5284 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5287 case $LD in
5288 *-32|*"-32 ") libmagic=32-bit;;
5289 *-n32|*"-n32 ") libmagic=N32;;
5290 *-64|*"-64 ") libmagic=64-bit;;
5291 *) libmagic=never-match;;
5292 esac
5293 # this will be overridden with pass_all, but let us keep it just in case
5294 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5296 esac
5297 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5298 lt_cv_deplibs_check_method=pass_all
5301 # This must be Linux ELF.
5302 linux-gnu*)
5303 lt_cv_deplibs_check_method=pass_all
5306 netbsd* | knetbsd*-gnu)
5307 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5308 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5309 else
5310 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
5314 newsos6)
5315 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5316 lt_cv_file_magic_cmd=/usr/bin/file
5317 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5320 osf3* | osf4* | osf5*)
5321 # this will be overridden with pass_all, but let us keep it just in case
5322 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5323 lt_cv_file_magic_test_file=/shlib/libc.so
5324 lt_cv_deplibs_check_method=pass_all
5327 sco3.2v5*)
5328 lt_cv_deplibs_check_method=pass_all
5331 solaris*)
5332 lt_cv_deplibs_check_method=pass_all
5333 lt_cv_file_magic_test_file=/lib/libc.so
5336 sysv5uw[78]* | sysv4*uw2*)
5337 lt_cv_deplibs_check_method=pass_all
5340 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5341 case $host_vendor in
5342 ncr)
5343 lt_cv_deplibs_check_method=pass_all
5345 motorola)
5346 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]'
5347 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5349 esac
5351 esac
5354 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5355 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5356 file_magic_cmd=$lt_cv_file_magic_cmd
5357 deplibs_check_method=$lt_cv_deplibs_check_method
5362 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5364 # find the maximum length of command line arguments
5365 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5366 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5367 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5369 else
5371 teststring="ABCD"
5373 case $build_os in
5374 msdosdjgpp*)
5375 # On DJGPP, this test can blow up pretty badly due to problems in libc
5376 # (any single argument exceeding 2000 bytes causes a buffer overrun
5377 # during glob expansion). Even if it were fixed, the result of this
5378 # check would be larger than it should be.
5379 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5382 cygwin* | mingw*)
5383 # On Win9x/ME, this test blows up -- it succeeds, but takes
5384 # about 5 minutes as the teststring grows exponentially.
5385 # Worse, since 9x/ME are not pre-emptively multitasking,
5386 # you end up with a "frozen" computer, even though with patience
5387 # the test eventually succeeds (with a max line length of 256k).
5388 # Instead, let's just punt: use the minimum linelength reported by
5389 # all of the supported platforms: 8192 (on NT/2K/XP).
5390 lt_cv_sys_max_cmd_len=8192;
5393 amigaos*)
5394 # On AmigaOS with pdksh, this test takes hours, literally.
5395 # So we just punt and use a minimum line length of 8192.
5396 lt_cv_sys_max_cmd_len=8192;
5399 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5400 # This has been around since 386BSD, at least. Likely further.
5401 if test -x /sbin/sysctl; then
5402 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5403 elif test -x /usr/sbin/sysctl; then
5404 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5405 else
5406 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
5408 # And add a safety zone
5409 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5410 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5412 esac
5416 if test -n "$lt_cv_sys_max_cmd_len" ; then
5417 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5418 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5419 else
5420 echo "$as_me:$LINENO: result: none" >&5
5421 echo "${ECHO_T}none" >&6
5425 # Only perform the check for file, if the check method requires it
5426 case $deplibs_check_method in
5427 file_magic*)
5428 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5429 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5430 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5431 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 else
5434 case $MAGIC_CMD in
5436 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5438 ?:/*)
5439 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5442 ac_save_MAGIC_CMD="$MAGIC_CMD"
5443 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5444 ac_dummy="/usr/bin:$PATH"
5445 for ac_dir in $ac_dummy; do
5446 test -z "$ac_dir" && ac_dir=.
5447 if test -f $ac_dir/${ac_tool_prefix}file; then
5448 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5449 if test -n "$file_magic_test_file"; then
5450 case $deplibs_check_method in
5451 "file_magic "*)
5452 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5453 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5454 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5455 egrep "$file_magic_regex" > /dev/null; then
5457 else
5458 cat <<EOF 1>&2
5460 *** Warning: the command libtool uses to detect shared libraries,
5461 *** $file_magic_cmd, produces output that libtool cannot recognize.
5462 *** The result is that libtool may fail to recognize shared libraries
5463 *** as such. This will affect the creation of libtool libraries that
5464 *** depend on shared libraries, but programs linked with such libtool
5465 *** libraries will work regardless of this problem. Nevertheless, you
5466 *** may want to report the problem to your system manager and/or to
5467 *** bug-libtool@gnu.org
5470 fi ;;
5471 esac
5473 break
5475 done
5476 IFS="$ac_save_ifs"
5477 MAGIC_CMD="$ac_save_MAGIC_CMD"
5479 esac
5482 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5483 if test -n "$MAGIC_CMD"; then
5484 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5485 echo "${ECHO_T}$MAGIC_CMD" >&6
5486 else
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5491 if test -z "$lt_cv_path_MAGIC_CMD"; then
5492 if test -n "$ac_tool_prefix"; then
5493 echo "$as_me:$LINENO: checking for file" >&5
5494 echo $ECHO_N "checking for file... $ECHO_C" >&6
5495 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 else
5498 case $MAGIC_CMD in
5500 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5502 ?:/*)
5503 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5506 ac_save_MAGIC_CMD="$MAGIC_CMD"
5507 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5508 ac_dummy="/usr/bin:$PATH"
5509 for ac_dir in $ac_dummy; do
5510 test -z "$ac_dir" && ac_dir=.
5511 if test -f $ac_dir/file; then
5512 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5513 if test -n "$file_magic_test_file"; then
5514 case $deplibs_check_method in
5515 "file_magic "*)
5516 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5517 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5518 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5519 egrep "$file_magic_regex" > /dev/null; then
5521 else
5522 cat <<EOF 1>&2
5524 *** Warning: the command libtool uses to detect shared libraries,
5525 *** $file_magic_cmd, produces output that libtool cannot recognize.
5526 *** The result is that libtool may fail to recognize shared libraries
5527 *** as such. This will affect the creation of libtool libraries that
5528 *** depend on shared libraries, but programs linked with such libtool
5529 *** libraries will work regardless of this problem. Nevertheless, you
5530 *** may want to report the problem to your system manager and/or to
5531 *** bug-libtool@gnu.org
5534 fi ;;
5535 esac
5537 break
5539 done
5540 IFS="$ac_save_ifs"
5541 MAGIC_CMD="$ac_save_MAGIC_CMD"
5543 esac
5546 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5547 if test -n "$MAGIC_CMD"; then
5548 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5549 echo "${ECHO_T}$MAGIC_CMD" >&6
5550 else
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5555 else
5556 MAGIC_CMD=:
5562 esac
5564 if test -n "$ac_tool_prefix"; then
5565 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5566 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5567 echo "$as_me:$LINENO: checking for $ac_word" >&5
5568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5569 if test "${ac_cv_prog_RANLIB+set}" = set; then
5570 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 else
5572 if test -n "$RANLIB"; then
5573 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5574 else
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 for as_dir in $PATH
5578 IFS=$as_save_IFS
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 break 2
5586 done
5587 done
5591 RANLIB=$ac_cv_prog_RANLIB
5592 if test -n "$RANLIB"; then
5593 echo "$as_me:$LINENO: result: $RANLIB" >&5
5594 echo "${ECHO_T}$RANLIB" >&6
5595 else
5596 echo "$as_me:$LINENO: result: no" >&5
5597 echo "${ECHO_T}no" >&6
5601 if test -z "$ac_cv_prog_RANLIB"; then
5602 ac_ct_RANLIB=$RANLIB
5603 # Extract the first word of "ranlib", so it can be a program name with args.
5604 set dummy ranlib; ac_word=$2
5605 echo "$as_me:$LINENO: checking for $ac_word" >&5
5606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5607 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5608 echo $ECHO_N "(cached) $ECHO_C" >&6
5609 else
5610 if test -n "$ac_ct_RANLIB"; then
5611 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5612 else
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5616 IFS=$as_save_IFS
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_ac_ct_RANLIB="ranlib"
5621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 break 2
5624 done
5625 done
5627 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5630 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5631 if test -n "$ac_ct_RANLIB"; then
5632 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5633 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5634 else
5635 echo "$as_me:$LINENO: result: no" >&5
5636 echo "${ECHO_T}no" >&6
5639 RANLIB=$ac_ct_RANLIB
5640 else
5641 RANLIB="$ac_cv_prog_RANLIB"
5644 if test -n "$ac_tool_prefix"; then
5645 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5646 set dummy ${ac_tool_prefix}strip; ac_word=$2
5647 echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5649 if test "${ac_cv_prog_STRIP+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 else
5652 if test -n "$STRIP"; then
5653 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5654 else
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 for as_dir in $PATH
5658 IFS=$as_save_IFS
5659 test -z "$as_dir" && as_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5662 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 break 2
5666 done
5667 done
5671 STRIP=$ac_cv_prog_STRIP
5672 if test -n "$STRIP"; then
5673 echo "$as_me:$LINENO: result: $STRIP" >&5
5674 echo "${ECHO_T}$STRIP" >&6
5675 else
5676 echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6
5681 if test -z "$ac_cv_prog_STRIP"; then
5682 ac_ct_STRIP=$STRIP
5683 # Extract the first word of "strip", so it can be a program name with args.
5684 set dummy strip; ac_word=$2
5685 echo "$as_me:$LINENO: checking for $ac_word" >&5
5686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5687 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5688 echo $ECHO_N "(cached) $ECHO_C" >&6
5689 else
5690 if test -n "$ac_ct_STRIP"; then
5691 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5692 else
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH
5696 IFS=$as_save_IFS
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_ac_ct_STRIP="strip"
5701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 break 2
5704 done
5705 done
5707 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5710 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5711 if test -n "$ac_ct_STRIP"; then
5712 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5713 echo "${ECHO_T}$ac_ct_STRIP" >&6
5714 else
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5719 STRIP=$ac_ct_STRIP
5720 else
5721 STRIP="$ac_cv_prog_STRIP"
5725 # Check for any special flags to pass to ltconfig.
5726 libtool_flags="--cache-file=$cache_file"
5727 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5728 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5729 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5730 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5731 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5734 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5735 if test "${enable_libtool_lock+set}" = set; then
5736 enableval="$enable_libtool_lock"
5739 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5740 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5743 # Check whether --with-pic or --without-pic was given.
5744 if test "${with_pic+set}" = set; then
5745 withval="$with_pic"
5746 pic_mode="$withval"
5747 else
5748 pic_mode=default
5750 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5751 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5753 # Some flags need to be propagated to the compiler or linker for good
5754 # libtool support.
5755 case $host in
5756 *-*-irix6*)
5757 # Find out which ABI we are using.
5758 echo '#line 5758 "configure"' > conftest.$ac_ext
5759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5760 (eval $ac_compile) 2>&5
5761 ac_status=$?
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); }; then
5764 if test "$lt_cv_prog_gnu_ld" = yes; then
5765 case `/usr/bin/file conftest.$ac_objext` in
5766 *32-bit*)
5767 LD="${LD-ld} -melf32bsmip"
5769 *N32*)
5770 LD="${LD-ld} -melf32bmipn32"
5772 *64-bit*)
5773 LD="${LD-ld} -melf64bmip"
5775 esac
5776 else
5777 case `/usr/bin/file conftest.$ac_objext` in
5778 *32-bit*)
5779 LD="${LD-ld} -32"
5781 *N32*)
5782 LD="${LD-ld} -n32"
5784 *64-bit*)
5785 LD="${LD-ld} -64"
5787 esac
5790 rm -rf conftest*
5793 ia64-*-hpux*)
5794 # Find out which ABI we are using.
5795 echo 'int i;' > conftest.$ac_ext
5796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5797 (eval $ac_compile) 2>&5
5798 ac_status=$?
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); }; then
5801 case "`/usr/bin/file conftest.o`" in
5802 *ELF-32*)
5803 HPUX_IA64_MODE="32"
5805 *ELF-64*)
5806 HPUX_IA64_MODE="64"
5808 esac
5810 rm -rf conftest*
5813 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5814 # Find out which ABI we are using.
5815 echo 'int i;' > conftest.$ac_ext
5816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5817 (eval $ac_compile) 2>&5
5818 ac_status=$?
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); }; then
5821 case "`/usr/bin/file conftest.o`" in
5822 *32-bit*)
5823 case $host in
5824 x86_64-*linux*)
5825 LD="${LD-ld} -m elf_i386"
5827 ppc64-*linux*|powerpc64-*linux*)
5828 LD="${LD-ld} -m elf32ppclinux"
5830 s390x-*linux*)
5831 LD="${LD-ld} -m elf_s390"
5833 sparc64-*linux*)
5834 LD="${LD-ld} -m elf32_sparc"
5836 esac
5838 *64-bit*)
5839 case $host in
5840 x86_64-*linux*)
5841 LD="${LD-ld} -m elf_x86_64"
5843 ppc*-*linux*|powerpc*-*linux*)
5844 LD="${LD-ld} -m elf64ppc"
5846 s390*-*linux*)
5847 LD="${LD-ld} -m elf64_s390"
5849 sparc*-*linux*)
5850 LD="${LD-ld} -m elf64_sparc"
5852 esac
5854 esac
5856 rm -rf conftest*
5859 *-*-sco3.2v5*)
5860 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5861 SAVE_CFLAGS="$CFLAGS"
5862 CFLAGS="$CFLAGS -belf"
5863 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5864 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5865 if test "${lt_cv_cc_needs_belf+set}" = set; then
5866 echo $ECHO_N "(cached) $ECHO_C" >&6
5867 else
5870 ac_ext=c
5871 ac_cpp='$CPP $CPPFLAGS'
5872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5876 if test x$gcc_no_link = xyes; then
5877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5879 { (exit 1); exit 1; }; }
5881 cat >conftest.$ac_ext <<_ACEOF
5882 /* confdefs.h. */
5883 _ACEOF
5884 cat confdefs.h >>conftest.$ac_ext
5885 cat >>conftest.$ac_ext <<_ACEOF
5886 /* end confdefs.h. */
5889 main ()
5893 return 0;
5895 _ACEOF
5896 rm -f conftest.$ac_objext conftest$ac_exeext
5897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5898 (eval $ac_link) 2>conftest.er1
5899 ac_status=$?
5900 grep -v '^ *+' conftest.er1 >conftest.err
5901 rm -f conftest.er1
5902 cat conftest.err >&5
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); } &&
5905 { ac_try='test -z "$ac_c_werror_flag"
5906 || test ! -s conftest.err'
5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 (eval $ac_try) 2>&5
5909 ac_status=$?
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); }; } &&
5912 { ac_try='test -s conftest$ac_exeext'
5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5914 (eval $ac_try) 2>&5
5915 ac_status=$?
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); }; }; then
5918 lt_cv_cc_needs_belf=yes
5919 else
5920 echo "$as_me: failed program was:" >&5
5921 sed 's/^/| /' conftest.$ac_ext >&5
5923 lt_cv_cc_needs_belf=no
5925 rm -f conftest.err conftest.$ac_objext \
5926 conftest$ac_exeext conftest.$ac_ext
5927 ac_ext=c
5928 ac_cpp='$CPP $CPPFLAGS'
5929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5934 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5935 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5936 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5937 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5938 CFLAGS="$SAVE_CFLAGS"
5943 esac
5946 # Save cache, so that ltconfig can load it
5947 cat >confcache <<\_ACEOF
5948 # This file is a shell script that caches the results of configure
5949 # tests run on this system so they can be shared between configure
5950 # scripts and configure runs, see configure's option --config-cache.
5951 # It is not useful on other systems. If it contains results you don't
5952 # want to keep, you may remove or edit it.
5954 # config.status only pays attention to the cache file if you give it
5955 # the --recheck option to rerun configure.
5957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5959 # following values.
5961 _ACEOF
5963 # The following way of writing the cache mishandles newlines in values,
5964 # but we know of no workaround that is simple, portable, and efficient.
5965 # So, don't put newlines in cache variables' values.
5966 # Ultrix sh set writes to stderr and can't be redirected directly,
5967 # and sets the high bit in the cache file unless we assign to the vars.
5969 (set) 2>&1 |
5970 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5971 *ac_space=\ *)
5972 # `set' does not quote correctly, so add quotes (double-quote
5973 # substitution turns \\\\ into \\, and sed turns \\ into \).
5974 sed -n \
5975 "s/'/'\\\\''/g;
5976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5979 # `set' quotes correctly as required by POSIX, so do not add quotes.
5980 sed -n \
5981 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5983 esac;
5985 sed '
5986 t clear
5987 : clear
5988 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5989 t end
5990 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5991 : end' >>confcache
5992 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5993 if test -w $cache_file; then
5994 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5995 cat confcache >$cache_file
5996 else
5997 echo "not updating unwritable cache $cache_file"
6000 rm -f confcache
6002 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6003 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
6004 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
6005 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
6006 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
6007 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
6008 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
6009 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
6010 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
6011 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6012 echo "$as_me: error: libtool configure failed" >&2;}
6013 { (exit 1); exit 1; }; }
6015 # Reload cache, that may have been modified by ltconfig
6016 if test -r "$cache_file"; then
6017 # Some versions of bash will fail to source /dev/null (special
6018 # files actually), so we avoid doing that.
6019 if test -f "$cache_file"; then
6020 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6021 echo "$as_me: loading cache $cache_file" >&6;}
6022 case $cache_file in
6023 [\\/]* | ?:[\\/]* ) . $cache_file;;
6024 *) . ./$cache_file;;
6025 esac
6027 else
6028 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6029 echo "$as_me: creating cache $cache_file" >&6;}
6030 >$cache_file
6034 # This can be used to rebuild libtool when needed
6035 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6037 # Always use our own libtool.
6038 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6040 # Redirect the config.log output again, so that the ltconfig log is not
6041 # clobbered by the next message.
6042 exec 5>>./config.log
6049 ac_ext=c
6050 ac_cpp='$CPP $CPPFLAGS'
6051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6054 if test -n "$ac_tool_prefix"; then
6055 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6056 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6057 echo "$as_me:$LINENO: checking for $ac_word" >&5
6058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6059 if test "${ac_cv_prog_CC+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6061 else
6062 if test -n "$CC"; then
6063 ac_cv_prog_CC="$CC" # Let the user override the test.
6064 else
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066 for as_dir in $PATH
6068 IFS=$as_save_IFS
6069 test -z "$as_dir" && as_dir=.
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6072 ac_cv_prog_CC="${ac_tool_prefix}gcc"
6073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 break 2
6076 done
6077 done
6081 CC=$ac_cv_prog_CC
6082 if test -n "$CC"; then
6083 echo "$as_me:$LINENO: result: $CC" >&5
6084 echo "${ECHO_T}$CC" >&6
6085 else
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6091 if test -z "$ac_cv_prog_CC"; then
6092 ac_ct_CC=$CC
6093 # Extract the first word of "gcc", so it can be a program name with args.
6094 set dummy gcc; ac_word=$2
6095 echo "$as_me:$LINENO: checking for $ac_word" >&5
6096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6097 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6098 echo $ECHO_N "(cached) $ECHO_C" >&6
6099 else
6100 if test -n "$ac_ct_CC"; then
6101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6106 IFS=$as_save_IFS
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110 ac_cv_prog_ac_ct_CC="gcc"
6111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 break 2
6114 done
6115 done
6119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6120 if test -n "$ac_ct_CC"; then
6121 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6122 echo "${ECHO_T}$ac_ct_CC" >&6
6123 else
6124 echo "$as_me:$LINENO: result: no" >&5
6125 echo "${ECHO_T}no" >&6
6128 CC=$ac_ct_CC
6129 else
6130 CC="$ac_cv_prog_CC"
6133 if test -z "$CC"; then
6134 if test -n "$ac_tool_prefix"; then
6135 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6136 set dummy ${ac_tool_prefix}cc; ac_word=$2
6137 echo "$as_me:$LINENO: checking for $ac_word" >&5
6138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6139 if test "${ac_cv_prog_CC+set}" = set; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 else
6142 if test -n "$CC"; then
6143 ac_cv_prog_CC="$CC" # Let the user override the test.
6144 else
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in $PATH
6148 IFS=$as_save_IFS
6149 test -z "$as_dir" && as_dir=.
6150 for ac_exec_ext in '' $ac_executable_extensions; do
6151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6152 ac_cv_prog_CC="${ac_tool_prefix}cc"
6153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6154 break 2
6156 done
6157 done
6161 CC=$ac_cv_prog_CC
6162 if test -n "$CC"; then
6163 echo "$as_me:$LINENO: result: $CC" >&5
6164 echo "${ECHO_T}$CC" >&6
6165 else
6166 echo "$as_me:$LINENO: result: no" >&5
6167 echo "${ECHO_T}no" >&6
6171 if test -z "$ac_cv_prog_CC"; then
6172 ac_ct_CC=$CC
6173 # Extract the first word of "cc", so it can be a program name with args.
6174 set dummy cc; ac_word=$2
6175 echo "$as_me:$LINENO: checking for $ac_word" >&5
6176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6177 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6179 else
6180 if test -n "$ac_ct_CC"; then
6181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6182 else
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 for as_dir in $PATH
6186 IFS=$as_save_IFS
6187 test -z "$as_dir" && as_dir=.
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_ac_ct_CC="cc"
6191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6192 break 2
6194 done
6195 done
6199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6200 if test -n "$ac_ct_CC"; then
6201 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6202 echo "${ECHO_T}$ac_ct_CC" >&6
6203 else
6204 echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6
6208 CC=$ac_ct_CC
6209 else
6210 CC="$ac_cv_prog_CC"
6214 if test -z "$CC"; then
6215 # Extract the first word of "cc", so it can be a program name with args.
6216 set dummy cc; ac_word=$2
6217 echo "$as_me:$LINENO: checking for $ac_word" >&5
6218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6219 if test "${ac_cv_prog_CC+set}" = set; then
6220 echo $ECHO_N "(cached) $ECHO_C" >&6
6221 else
6222 if test -n "$CC"; then
6223 ac_cv_prog_CC="$CC" # Let the user override the test.
6224 else
6225 ac_prog_rejected=no
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 for as_dir in $PATH
6229 IFS=$as_save_IFS
6230 test -z "$as_dir" && as_dir=.
6231 for ac_exec_ext in '' $ac_executable_extensions; do
6232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6233 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6234 ac_prog_rejected=yes
6235 continue
6237 ac_cv_prog_CC="cc"
6238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6241 done
6242 done
6244 if test $ac_prog_rejected = yes; then
6245 # We found a bogon in the path, so make sure we never use it.
6246 set dummy $ac_cv_prog_CC
6247 shift
6248 if test $# != 0; then
6249 # We chose a different compiler from the bogus one.
6250 # However, it has the same basename, so the bogon will be chosen
6251 # first if we set CC to just the basename; use the full file name.
6252 shift
6253 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6258 CC=$ac_cv_prog_CC
6259 if test -n "$CC"; then
6260 echo "$as_me:$LINENO: result: $CC" >&5
6261 echo "${ECHO_T}$CC" >&6
6262 else
6263 echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6
6268 if test -z "$CC"; then
6269 if test -n "$ac_tool_prefix"; then
6270 for ac_prog in cl
6272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6274 echo "$as_me:$LINENO: checking for $ac_word" >&5
6275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6276 if test "${ac_cv_prog_CC+set}" = set; then
6277 echo $ECHO_N "(cached) $ECHO_C" >&6
6278 else
6279 if test -n "$CC"; then
6280 ac_cv_prog_CC="$CC" # Let the user override the test.
6281 else
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6283 for as_dir in $PATH
6285 IFS=$as_save_IFS
6286 test -z "$as_dir" && as_dir=.
6287 for ac_exec_ext in '' $ac_executable_extensions; do
6288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6289 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6291 break 2
6293 done
6294 done
6298 CC=$ac_cv_prog_CC
6299 if test -n "$CC"; then
6300 echo "$as_me:$LINENO: result: $CC" >&5
6301 echo "${ECHO_T}$CC" >&6
6302 else
6303 echo "$as_me:$LINENO: result: no" >&5
6304 echo "${ECHO_T}no" >&6
6307 test -n "$CC" && break
6308 done
6310 if test -z "$CC"; then
6311 ac_ct_CC=$CC
6312 for ac_prog in cl
6314 # Extract the first word of "$ac_prog", so it can be a program name with args.
6315 set dummy $ac_prog; ac_word=$2
6316 echo "$as_me:$LINENO: checking for $ac_word" >&5
6317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6318 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6
6320 else
6321 if test -n "$ac_ct_CC"; then
6322 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6323 else
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325 for as_dir in $PATH
6327 IFS=$as_save_IFS
6328 test -z "$as_dir" && as_dir=.
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6331 ac_cv_prog_ac_ct_CC="$ac_prog"
6332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6333 break 2
6335 done
6336 done
6340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6341 if test -n "$ac_ct_CC"; then
6342 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6343 echo "${ECHO_T}$ac_ct_CC" >&6
6344 else
6345 echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6
6349 test -n "$ac_ct_CC" && break
6350 done
6352 CC=$ac_ct_CC
6358 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6359 See \`config.log' for more details." >&5
6360 echo "$as_me: error: no acceptable C compiler found in \$PATH
6361 See \`config.log' for more details." >&2;}
6362 { (exit 1); exit 1; }; }
6364 # Provide some information about the compiler.
6365 echo "$as_me:$LINENO:" \
6366 "checking for C compiler version" >&5
6367 ac_compiler=`set X $ac_compile; echo $2`
6368 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6369 (eval $ac_compiler --version </dev/null >&5) 2>&5
6370 ac_status=$?
6371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); }
6373 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6374 (eval $ac_compiler -v </dev/null >&5) 2>&5
6375 ac_status=$?
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); }
6378 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6379 (eval $ac_compiler -V </dev/null >&5) 2>&5
6380 ac_status=$?
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); }
6384 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6385 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6386 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6387 echo $ECHO_N "(cached) $ECHO_C" >&6
6388 else
6389 cat >conftest.$ac_ext <<_ACEOF
6390 /* confdefs.h. */
6391 _ACEOF
6392 cat confdefs.h >>conftest.$ac_ext
6393 cat >>conftest.$ac_ext <<_ACEOF
6394 /* end confdefs.h. */
6397 main ()
6399 #ifndef __GNUC__
6400 choke me
6401 #endif
6404 return 0;
6406 _ACEOF
6407 rm -f conftest.$ac_objext
6408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6409 (eval $ac_compile) 2>conftest.er1
6410 ac_status=$?
6411 grep -v '^ *+' conftest.er1 >conftest.err
6412 rm -f conftest.er1
6413 cat conftest.err >&5
6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); } &&
6416 { ac_try='test -z "$ac_c_werror_flag"
6417 || test ! -s conftest.err'
6418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6419 (eval $ac_try) 2>&5
6420 ac_status=$?
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); }; } &&
6423 { ac_try='test -s conftest.$ac_objext'
6424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6425 (eval $ac_try) 2>&5
6426 ac_status=$?
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); }; }; then
6429 ac_compiler_gnu=yes
6430 else
6431 echo "$as_me: failed program was:" >&5
6432 sed 's/^/| /' conftest.$ac_ext >&5
6434 ac_compiler_gnu=no
6436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6437 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6440 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6441 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6442 GCC=`test $ac_compiler_gnu = yes && echo yes`
6443 ac_test_CFLAGS=${CFLAGS+set}
6444 ac_save_CFLAGS=$CFLAGS
6445 CFLAGS="-g"
6446 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6447 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6448 if test "${ac_cv_prog_cc_g+set}" = set; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6450 else
6451 cat >conftest.$ac_ext <<_ACEOF
6452 /* confdefs.h. */
6453 _ACEOF
6454 cat confdefs.h >>conftest.$ac_ext
6455 cat >>conftest.$ac_ext <<_ACEOF
6456 /* end confdefs.h. */
6459 main ()
6463 return 0;
6465 _ACEOF
6466 rm -f conftest.$ac_objext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468 (eval $ac_compile) 2>conftest.er1
6469 ac_status=$?
6470 grep -v '^ *+' conftest.er1 >conftest.err
6471 rm -f conftest.er1
6472 cat conftest.err >&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); } &&
6475 { ac_try='test -z "$ac_c_werror_flag"
6476 || test ! -s conftest.err'
6477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478 (eval $ac_try) 2>&5
6479 ac_status=$?
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); }; } &&
6482 { ac_try='test -s conftest.$ac_objext'
6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6484 (eval $ac_try) 2>&5
6485 ac_status=$?
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); }; }; then
6488 ac_cv_prog_cc_g=yes
6489 else
6490 echo "$as_me: failed program was:" >&5
6491 sed 's/^/| /' conftest.$ac_ext >&5
6493 ac_cv_prog_cc_g=no
6495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6497 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6498 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6499 if test "$ac_test_CFLAGS" = set; then
6500 CFLAGS=$ac_save_CFLAGS
6501 elif test $ac_cv_prog_cc_g = yes; then
6502 if test "$GCC" = yes; then
6503 CFLAGS="-g -O2"
6504 else
6505 CFLAGS="-g"
6507 else
6508 if test "$GCC" = yes; then
6509 CFLAGS="-O2"
6510 else
6511 CFLAGS=
6514 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6515 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6516 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6517 echo $ECHO_N "(cached) $ECHO_C" >&6
6518 else
6519 ac_cv_prog_cc_stdc=no
6520 ac_save_CC=$CC
6521 cat >conftest.$ac_ext <<_ACEOF
6522 /* confdefs.h. */
6523 _ACEOF
6524 cat confdefs.h >>conftest.$ac_ext
6525 cat >>conftest.$ac_ext <<_ACEOF
6526 /* end confdefs.h. */
6527 #include <stdarg.h>
6528 #include <stdio.h>
6529 #include <sys/types.h>
6530 #include <sys/stat.h>
6531 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6532 struct buf { int x; };
6533 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6534 static char *e (p, i)
6535 char **p;
6536 int i;
6538 return p[i];
6540 static char *f (char * (*g) (char **, int), char **p, ...)
6542 char *s;
6543 va_list v;
6544 va_start (v,p);
6545 s = g (p, va_arg (v,int));
6546 va_end (v);
6547 return s;
6550 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6551 function prototypes and stuff, but not '\xHH' hex character constants.
6552 These don't provoke an error unfortunately, instead are silently treated
6553 as 'x'. The following induces an error, until -std1 is added to get
6554 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6555 array size at least. It's necessary to write '\x00'==0 to get something
6556 that's true only with -std1. */
6557 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6559 int test (int i, double x);
6560 struct s1 {int (*f) (int a);};
6561 struct s2 {int (*f) (double a);};
6562 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6563 int argc;
6564 char **argv;
6566 main ()
6568 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6570 return 0;
6572 _ACEOF
6573 # Don't try gcc -ansi; that turns off useful extensions and
6574 # breaks some systems' header files.
6575 # AIX -qlanglvl=ansi
6576 # Ultrix and OSF/1 -std1
6577 # HP-UX 10.20 and later -Ae
6578 # HP-UX older versions -Aa -D_HPUX_SOURCE
6579 # SVR4 -Xc -D__EXTENSIONS__
6580 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6582 CC="$ac_save_CC $ac_arg"
6583 rm -f conftest.$ac_objext
6584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6585 (eval $ac_compile) 2>conftest.er1
6586 ac_status=$?
6587 grep -v '^ *+' conftest.er1 >conftest.err
6588 rm -f conftest.er1
6589 cat conftest.err >&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); } &&
6592 { ac_try='test -z "$ac_c_werror_flag"
6593 || test ! -s conftest.err'
6594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6595 (eval $ac_try) 2>&5
6596 ac_status=$?
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); }; } &&
6599 { ac_try='test -s conftest.$ac_objext'
6600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6601 (eval $ac_try) 2>&5
6602 ac_status=$?
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); }; }; then
6605 ac_cv_prog_cc_stdc=$ac_arg
6606 break
6607 else
6608 echo "$as_me: failed program was:" >&5
6609 sed 's/^/| /' conftest.$ac_ext >&5
6612 rm -f conftest.err conftest.$ac_objext
6613 done
6614 rm -f conftest.$ac_ext conftest.$ac_objext
6615 CC=$ac_save_CC
6619 case "x$ac_cv_prog_cc_stdc" in
6620 x|xno)
6621 echo "$as_me:$LINENO: result: none needed" >&5
6622 echo "${ECHO_T}none needed" >&6 ;;
6624 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6625 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6626 CC="$CC $ac_cv_prog_cc_stdc" ;;
6627 esac
6629 # Some people use a C++ compiler to compile C. Since we use `exit',
6630 # in C++ we need to declare it. In case someone uses the same compiler
6631 # for both compiling C and C++ we need to have the C++ compiler decide
6632 # the declaration of exit, since it's the most demanding environment.
6633 cat >conftest.$ac_ext <<_ACEOF
6634 #ifndef __cplusplus
6635 choke me
6636 #endif
6637 _ACEOF
6638 rm -f conftest.$ac_objext
6639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6640 (eval $ac_compile) 2>conftest.er1
6641 ac_status=$?
6642 grep -v '^ *+' conftest.er1 >conftest.err
6643 rm -f conftest.er1
6644 cat conftest.err >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } &&
6647 { ac_try='test -z "$ac_c_werror_flag"
6648 || test ! -s conftest.err'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 (eval $ac_try) 2>&5
6651 ac_status=$?
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; } &&
6654 { ac_try='test -s conftest.$ac_objext'
6655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 (eval $ac_try) 2>&5
6657 ac_status=$?
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); }; }; then
6660 for ac_declaration in \
6661 '' \
6662 'extern "C" void std::exit (int) throw (); using std::exit;' \
6663 'extern "C" void std::exit (int); using std::exit;' \
6664 'extern "C" void exit (int) throw ();' \
6665 'extern "C" void exit (int);' \
6666 'void exit (int);'
6668 cat >conftest.$ac_ext <<_ACEOF
6669 /* confdefs.h. */
6670 _ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6674 $ac_declaration
6675 #include <stdlib.h>
6677 main ()
6679 exit (42);
6681 return 0;
6683 _ACEOF
6684 rm -f conftest.$ac_objext
6685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6686 (eval $ac_compile) 2>conftest.er1
6687 ac_status=$?
6688 grep -v '^ *+' conftest.er1 >conftest.err
6689 rm -f conftest.er1
6690 cat conftest.err >&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); } &&
6693 { ac_try='test -z "$ac_c_werror_flag"
6694 || test ! -s conftest.err'
6695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6696 (eval $ac_try) 2>&5
6697 ac_status=$?
6698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); }; } &&
6700 { ac_try='test -s conftest.$ac_objext'
6701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6702 (eval $ac_try) 2>&5
6703 ac_status=$?
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); }; }; then
6707 else
6708 echo "$as_me: failed program was:" >&5
6709 sed 's/^/| /' conftest.$ac_ext >&5
6711 continue
6713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6714 cat >conftest.$ac_ext <<_ACEOF
6715 /* confdefs.h. */
6716 _ACEOF
6717 cat confdefs.h >>conftest.$ac_ext
6718 cat >>conftest.$ac_ext <<_ACEOF
6719 /* end confdefs.h. */
6720 $ac_declaration
6722 main ()
6724 exit (42);
6726 return 0;
6728 _ACEOF
6729 rm -f conftest.$ac_objext
6730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6731 (eval $ac_compile) 2>conftest.er1
6732 ac_status=$?
6733 grep -v '^ *+' conftest.er1 >conftest.err
6734 rm -f conftest.er1
6735 cat conftest.err >&5
6736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 (exit $ac_status); } &&
6738 { ac_try='test -z "$ac_c_werror_flag"
6739 || test ! -s conftest.err'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6741 (eval $ac_try) 2>&5
6742 ac_status=$?
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; } &&
6745 { ac_try='test -s conftest.$ac_objext'
6746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747 (eval $ac_try) 2>&5
6748 ac_status=$?
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); }; }; then
6751 break
6752 else
6753 echo "$as_me: failed program was:" >&5
6754 sed 's/^/| /' conftest.$ac_ext >&5
6757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6758 done
6759 rm -f conftest*
6760 if test -n "$ac_declaration"; then
6761 echo '#ifdef __cplusplus' >>confdefs.h
6762 echo $ac_declaration >>confdefs.h
6763 echo '#endif' >>confdefs.h
6766 else
6767 echo "$as_me: failed program was:" >&5
6768 sed 's/^/| /' conftest.$ac_ext >&5
6771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6772 ac_ext=c
6773 ac_cpp='$CPP $CPPFLAGS'
6774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6778 depcc="$CC" am_compiler_list=
6780 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6781 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6782 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6783 echo $ECHO_N "(cached) $ECHO_C" >&6
6784 else
6785 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6786 # We make a subdir and do the tests there. Otherwise we can end up
6787 # making bogus files that we don't know about and never remove. For
6788 # instance it was reported that on HP-UX the gcc test will end up
6789 # making a dummy file named `D' -- because `-MD' means `put the output
6790 # in D'.
6791 mkdir conftest.dir
6792 # Copy depcomp to subdir because otherwise we won't find it if we're
6793 # using a relative directory.
6794 cp "$am_depcomp" conftest.dir
6795 cd conftest.dir
6796 # We will build objects and dependencies in a subdirectory because
6797 # it helps to detect inapplicable dependency modes. For instance
6798 # both Tru64's cc and ICC support -MD to output dependencies as a
6799 # side effect of compilation, but ICC will put the dependencies in
6800 # the current directory while Tru64 will put them in the object
6801 # directory.
6802 mkdir sub
6804 am_cv_CC_dependencies_compiler_type=none
6805 if test "$am_compiler_list" = ""; then
6806 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6808 for depmode in $am_compiler_list; do
6809 # Setup a source with many dependencies, because some compilers
6810 # like to wrap large dependency lists on column 80 (with \), and
6811 # we should not choose a depcomp mode which is confused by this.
6813 # We need to recreate these files for each test, as the compiler may
6814 # overwrite some of them when testing with obscure command lines.
6815 # This happens at least with the AIX C compiler.
6816 : > sub/conftest.c
6817 for i in 1 2 3 4 5 6; do
6818 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6819 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6820 # Solaris 8's {/usr,}/bin/sh.
6821 touch sub/conftst$i.h
6822 done
6823 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6825 case $depmode in
6826 nosideeffect)
6827 # after this tag, mechanisms are not by side-effect, so they'll
6828 # only be used when explicitly requested
6829 if test "x$enable_dependency_tracking" = xyes; then
6830 continue
6831 else
6832 break
6835 none) break ;;
6836 esac
6837 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6838 # mode. It turns out that the SunPro C++ compiler does not properly
6839 # handle `-M -o', and we need to detect this.
6840 if depmode=$depmode \
6841 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6842 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6843 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6844 >/dev/null 2>conftest.err &&
6845 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6846 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6847 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6848 # icc doesn't choke on unknown options, it will just issue warnings
6849 # or remarks (even with -Werror). So we grep stderr for any message
6850 # that says an option was ignored or not supported.
6851 # When given -MP, icc 7.0 and 7.1 complain thusly:
6852 # icc: Command line warning: ignoring option '-M'; no argument required
6853 # The diagnosis changed in icc 8.0:
6854 # icc: Command line remark: option '-MP' not supported
6855 if (grep 'ignoring option' conftest.err ||
6856 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6857 am_cv_CC_dependencies_compiler_type=$depmode
6858 break
6861 done
6863 cd ..
6864 rm -rf conftest.dir
6865 else
6866 am_cv_CC_dependencies_compiler_type=none
6870 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6871 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6872 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6877 test "x$enable_dependency_tracking" != xno \
6878 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6879 am__fastdepCC_TRUE=
6880 am__fastdepCC_FALSE='#'
6881 else
6882 am__fastdepCC_TRUE='#'
6883 am__fastdepCC_FALSE=
6887 ac_ext=c
6888 ac_cpp='$CPP $CPPFLAGS'
6889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6892 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6893 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6894 # On Suns, sometimes $CPP names a directory.
6895 if test -n "$CPP" && test -d "$CPP"; then
6896 CPP=
6898 if test -z "$CPP"; then
6899 if test "${ac_cv_prog_CPP+set}" = set; then
6900 echo $ECHO_N "(cached) $ECHO_C" >&6
6901 else
6902 # Double quotes because CPP needs to be expanded
6903 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6905 ac_preproc_ok=false
6906 for ac_c_preproc_warn_flag in '' yes
6908 # Use a header file that comes with gcc, so configuring glibc
6909 # with a fresh cross-compiler works.
6910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6911 # <limits.h> exists even on freestanding compilers.
6912 # On the NeXT, cc -E runs the code through the compiler's parser,
6913 # not just through cpp. "Syntax error" is here to catch this case.
6914 cat >conftest.$ac_ext <<_ACEOF
6915 /* confdefs.h. */
6916 _ACEOF
6917 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6920 #ifdef __STDC__
6921 # include <limits.h>
6922 #else
6923 # include <assert.h>
6924 #endif
6925 Syntax error
6926 _ACEOF
6927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6929 ac_status=$?
6930 grep -v '^ *+' conftest.er1 >conftest.err
6931 rm -f conftest.er1
6932 cat conftest.err >&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); } >/dev/null; then
6935 if test -s conftest.err; then
6936 ac_cpp_err=$ac_c_preproc_warn_flag
6937 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6938 else
6939 ac_cpp_err=
6941 else
6942 ac_cpp_err=yes
6944 if test -z "$ac_cpp_err"; then
6946 else
6947 echo "$as_me: failed program was:" >&5
6948 sed 's/^/| /' conftest.$ac_ext >&5
6950 # Broken: fails on valid input.
6951 continue
6953 rm -f conftest.err conftest.$ac_ext
6955 # OK, works on sane cases. Now check whether non-existent headers
6956 # can be detected and how.
6957 cat >conftest.$ac_ext <<_ACEOF
6958 /* confdefs.h. */
6959 _ACEOF
6960 cat confdefs.h >>conftest.$ac_ext
6961 cat >>conftest.$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6963 #include <ac_nonexistent.h>
6964 _ACEOF
6965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6967 ac_status=$?
6968 grep -v '^ *+' conftest.er1 >conftest.err
6969 rm -f conftest.er1
6970 cat conftest.err >&5
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); } >/dev/null; then
6973 if test -s conftest.err; then
6974 ac_cpp_err=$ac_c_preproc_warn_flag
6975 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6976 else
6977 ac_cpp_err=
6979 else
6980 ac_cpp_err=yes
6982 if test -z "$ac_cpp_err"; then
6983 # Broken: success on invalid input.
6984 continue
6985 else
6986 echo "$as_me: failed program was:" >&5
6987 sed 's/^/| /' conftest.$ac_ext >&5
6989 # Passes both tests.
6990 ac_preproc_ok=:
6991 break
6993 rm -f conftest.err conftest.$ac_ext
6995 done
6996 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6997 rm -f conftest.err conftest.$ac_ext
6998 if $ac_preproc_ok; then
6999 break
7002 done
7003 ac_cv_prog_CPP=$CPP
7006 CPP=$ac_cv_prog_CPP
7007 else
7008 ac_cv_prog_CPP=$CPP
7010 echo "$as_me:$LINENO: result: $CPP" >&5
7011 echo "${ECHO_T}$CPP" >&6
7012 ac_preproc_ok=false
7013 for ac_c_preproc_warn_flag in '' yes
7015 # Use a header file that comes with gcc, so configuring glibc
7016 # with a fresh cross-compiler works.
7017 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7018 # <limits.h> exists even on freestanding compilers.
7019 # On the NeXT, cc -E runs the code through the compiler's parser,
7020 # not just through cpp. "Syntax error" is here to catch this case.
7021 cat >conftest.$ac_ext <<_ACEOF
7022 /* confdefs.h. */
7023 _ACEOF
7024 cat confdefs.h >>conftest.$ac_ext
7025 cat >>conftest.$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7027 #ifdef __STDC__
7028 # include <limits.h>
7029 #else
7030 # include <assert.h>
7031 #endif
7032 Syntax error
7033 _ACEOF
7034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7036 ac_status=$?
7037 grep -v '^ *+' conftest.er1 >conftest.err
7038 rm -f conftest.er1
7039 cat conftest.err >&5
7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); } >/dev/null; then
7042 if test -s conftest.err; then
7043 ac_cpp_err=$ac_c_preproc_warn_flag
7044 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7045 else
7046 ac_cpp_err=
7048 else
7049 ac_cpp_err=yes
7051 if test -z "$ac_cpp_err"; then
7053 else
7054 echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.$ac_ext >&5
7057 # Broken: fails on valid input.
7058 continue
7060 rm -f conftest.err conftest.$ac_ext
7062 # OK, works on sane cases. Now check whether non-existent headers
7063 # can be detected and how.
7064 cat >conftest.$ac_ext <<_ACEOF
7065 /* confdefs.h. */
7066 _ACEOF
7067 cat confdefs.h >>conftest.$ac_ext
7068 cat >>conftest.$ac_ext <<_ACEOF
7069 /* end confdefs.h. */
7070 #include <ac_nonexistent.h>
7071 _ACEOF
7072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7074 ac_status=$?
7075 grep -v '^ *+' conftest.er1 >conftest.err
7076 rm -f conftest.er1
7077 cat conftest.err >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); } >/dev/null; then
7080 if test -s conftest.err; then
7081 ac_cpp_err=$ac_c_preproc_warn_flag
7082 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7083 else
7084 ac_cpp_err=
7086 else
7087 ac_cpp_err=yes
7089 if test -z "$ac_cpp_err"; then
7090 # Broken: success on invalid input.
7091 continue
7092 else
7093 echo "$as_me: failed program was:" >&5
7094 sed 's/^/| /' conftest.$ac_ext >&5
7096 # Passes both tests.
7097 ac_preproc_ok=:
7098 break
7100 rm -f conftest.err conftest.$ac_ext
7102 done
7103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7104 rm -f conftest.err conftest.$ac_ext
7105 if $ac_preproc_ok; then
7107 else
7108 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7109 See \`config.log' for more details." >&5
7110 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7111 See \`config.log' for more details." >&2;}
7112 { (exit 1); exit 1; }; }
7115 ac_ext=c
7116 ac_cpp='$CPP $CPPFLAGS'
7117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7121 ac_ext=cc
7122 ac_cpp='$CXXCPP $CPPFLAGS'
7123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7126 if test -n "$ac_tool_prefix"; then
7127 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7131 echo "$as_me:$LINENO: checking for $ac_word" >&5
7132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7133 if test "${ac_cv_prog_CXX+set}" = set; then
7134 echo $ECHO_N "(cached) $ECHO_C" >&6
7135 else
7136 if test -n "$CXX"; then
7137 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7138 else
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 for as_dir in $PATH
7142 IFS=$as_save_IFS
7143 test -z "$as_dir" && as_dir=.
7144 for ac_exec_ext in '' $ac_executable_extensions; do
7145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7146 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7148 break 2
7150 done
7151 done
7155 CXX=$ac_cv_prog_CXX
7156 if test -n "$CXX"; then
7157 echo "$as_me:$LINENO: result: $CXX" >&5
7158 echo "${ECHO_T}$CXX" >&6
7159 else
7160 echo "$as_me:$LINENO: result: no" >&5
7161 echo "${ECHO_T}no" >&6
7164 test -n "$CXX" && break
7165 done
7167 if test -z "$CXX"; then
7168 ac_ct_CXX=$CXX
7169 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7171 # Extract the first word of "$ac_prog", so it can be a program name with args.
7172 set dummy $ac_prog; ac_word=$2
7173 echo "$as_me:$LINENO: checking for $ac_word" >&5
7174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7175 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7176 echo $ECHO_N "(cached) $ECHO_C" >&6
7177 else
7178 if test -n "$ac_ct_CXX"; then
7179 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7180 else
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 for as_dir in $PATH
7184 IFS=$as_save_IFS
7185 test -z "$as_dir" && as_dir=.
7186 for ac_exec_ext in '' $ac_executable_extensions; do
7187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7188 ac_cv_prog_ac_ct_CXX="$ac_prog"
7189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7190 break 2
7192 done
7193 done
7197 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7198 if test -n "$ac_ct_CXX"; then
7199 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7200 echo "${ECHO_T}$ac_ct_CXX" >&6
7201 else
7202 echo "$as_me:$LINENO: result: no" >&5
7203 echo "${ECHO_T}no" >&6
7206 test -n "$ac_ct_CXX" && break
7207 done
7208 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7210 CXX=$ac_ct_CXX
7214 # Provide some information about the compiler.
7215 echo "$as_me:$LINENO:" \
7216 "checking for C++ compiler version" >&5
7217 ac_compiler=`set X $ac_compile; echo $2`
7218 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7219 (eval $ac_compiler --version </dev/null >&5) 2>&5
7220 ac_status=$?
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }
7223 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7224 (eval $ac_compiler -v </dev/null >&5) 2>&5
7225 ac_status=$?
7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); }
7228 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7229 (eval $ac_compiler -V </dev/null >&5) 2>&5
7230 ac_status=$?
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }
7234 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7235 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7236 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7238 else
7239 cat >conftest.$ac_ext <<_ACEOF
7240 /* confdefs.h. */
7241 _ACEOF
7242 cat confdefs.h >>conftest.$ac_ext
7243 cat >>conftest.$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7247 main ()
7249 #ifndef __GNUC__
7250 choke me
7251 #endif
7254 return 0;
7256 _ACEOF
7257 rm -f conftest.$ac_objext
7258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7259 (eval $ac_compile) 2>conftest.er1
7260 ac_status=$?
7261 grep -v '^ *+' conftest.er1 >conftest.err
7262 rm -f conftest.er1
7263 cat conftest.err >&5
7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); } &&
7266 { ac_try='test -z "$ac_cxx_werror_flag"
7267 || test ! -s conftest.err'
7268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7269 (eval $ac_try) 2>&5
7270 ac_status=$?
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); }; } &&
7273 { ac_try='test -s conftest.$ac_objext'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 (eval $ac_try) 2>&5
7276 ac_status=$?
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; }; then
7279 ac_compiler_gnu=yes
7280 else
7281 echo "$as_me: failed program was:" >&5
7282 sed 's/^/| /' conftest.$ac_ext >&5
7284 ac_compiler_gnu=no
7286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7287 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7290 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7291 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7292 GXX=`test $ac_compiler_gnu = yes && echo yes`
7293 ac_test_CXXFLAGS=${CXXFLAGS+set}
7294 ac_save_CXXFLAGS=$CXXFLAGS
7295 CXXFLAGS="-g"
7296 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7297 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7298 if test "${ac_cv_prog_cxx_g+set}" = set; then
7299 echo $ECHO_N "(cached) $ECHO_C" >&6
7300 else
7301 cat >conftest.$ac_ext <<_ACEOF
7302 /* confdefs.h. */
7303 _ACEOF
7304 cat confdefs.h >>conftest.$ac_ext
7305 cat >>conftest.$ac_ext <<_ACEOF
7306 /* end confdefs.h. */
7309 main ()
7313 return 0;
7315 _ACEOF
7316 rm -f conftest.$ac_objext
7317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7318 (eval $ac_compile) 2>conftest.er1
7319 ac_status=$?
7320 grep -v '^ *+' conftest.er1 >conftest.err
7321 rm -f conftest.er1
7322 cat conftest.err >&5
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); } &&
7325 { ac_try='test -z "$ac_cxx_werror_flag"
7326 || test ! -s conftest.err'
7327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7328 (eval $ac_try) 2>&5
7329 ac_status=$?
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); }; } &&
7332 { ac_try='test -s conftest.$ac_objext'
7333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7334 (eval $ac_try) 2>&5
7335 ac_status=$?
7336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337 (exit $ac_status); }; }; then
7338 ac_cv_prog_cxx_g=yes
7339 else
7340 echo "$as_me: failed program was:" >&5
7341 sed 's/^/| /' conftest.$ac_ext >&5
7343 ac_cv_prog_cxx_g=no
7345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7347 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7348 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7349 if test "$ac_test_CXXFLAGS" = set; then
7350 CXXFLAGS=$ac_save_CXXFLAGS
7351 elif test $ac_cv_prog_cxx_g = yes; then
7352 if test "$GXX" = yes; then
7353 CXXFLAGS="-g -O2"
7354 else
7355 CXXFLAGS="-g"
7357 else
7358 if test "$GXX" = yes; then
7359 CXXFLAGS="-O2"
7360 else
7361 CXXFLAGS=
7364 for ac_declaration in \
7365 '' \
7366 'extern "C" void std::exit (int) throw (); using std::exit;' \
7367 'extern "C" void std::exit (int); using std::exit;' \
7368 'extern "C" void exit (int) throw ();' \
7369 'extern "C" void exit (int);' \
7370 'void exit (int);'
7372 cat >conftest.$ac_ext <<_ACEOF
7373 /* confdefs.h. */
7374 _ACEOF
7375 cat confdefs.h >>conftest.$ac_ext
7376 cat >>conftest.$ac_ext <<_ACEOF
7377 /* end confdefs.h. */
7378 $ac_declaration
7379 #include <stdlib.h>
7381 main ()
7383 exit (42);
7385 return 0;
7387 _ACEOF
7388 rm -f conftest.$ac_objext
7389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7390 (eval $ac_compile) 2>conftest.er1
7391 ac_status=$?
7392 grep -v '^ *+' conftest.er1 >conftest.err
7393 rm -f conftest.er1
7394 cat conftest.err >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } &&
7397 { ac_try='test -z "$ac_cxx_werror_flag"
7398 || test ! -s conftest.err'
7399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7400 (eval $ac_try) 2>&5
7401 ac_status=$?
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); }; } &&
7404 { ac_try='test -s conftest.$ac_objext'
7405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7406 (eval $ac_try) 2>&5
7407 ac_status=$?
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); }; }; then
7411 else
7412 echo "$as_me: failed program was:" >&5
7413 sed 's/^/| /' conftest.$ac_ext >&5
7415 continue
7417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7418 cat >conftest.$ac_ext <<_ACEOF
7419 /* confdefs.h. */
7420 _ACEOF
7421 cat confdefs.h >>conftest.$ac_ext
7422 cat >>conftest.$ac_ext <<_ACEOF
7423 /* end confdefs.h. */
7424 $ac_declaration
7426 main ()
7428 exit (42);
7430 return 0;
7432 _ACEOF
7433 rm -f conftest.$ac_objext
7434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7435 (eval $ac_compile) 2>conftest.er1
7436 ac_status=$?
7437 grep -v '^ *+' conftest.er1 >conftest.err
7438 rm -f conftest.er1
7439 cat conftest.err >&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); } &&
7442 { ac_try='test -z "$ac_cxx_werror_flag"
7443 || test ! -s conftest.err'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 (eval $ac_try) 2>&5
7446 ac_status=$?
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; } &&
7449 { ac_try='test -s conftest.$ac_objext'
7450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451 (eval $ac_try) 2>&5
7452 ac_status=$?
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; }; then
7455 break
7456 else
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7462 done
7463 rm -f conftest*
7464 if test -n "$ac_declaration"; then
7465 echo '#ifdef __cplusplus' >>confdefs.h
7466 echo $ac_declaration >>confdefs.h
7467 echo '#endif' >>confdefs.h
7470 ac_ext=c
7471 ac_cpp='$CPP $CPPFLAGS'
7472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7476 depcc="$CXX" am_compiler_list=
7478 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7479 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7480 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 else
7483 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7484 # We make a subdir and do the tests there. Otherwise we can end up
7485 # making bogus files that we don't know about and never remove. For
7486 # instance it was reported that on HP-UX the gcc test will end up
7487 # making a dummy file named `D' -- because `-MD' means `put the output
7488 # in D'.
7489 mkdir conftest.dir
7490 # Copy depcomp to subdir because otherwise we won't find it if we're
7491 # using a relative directory.
7492 cp "$am_depcomp" conftest.dir
7493 cd conftest.dir
7494 # We will build objects and dependencies in a subdirectory because
7495 # it helps to detect inapplicable dependency modes. For instance
7496 # both Tru64's cc and ICC support -MD to output dependencies as a
7497 # side effect of compilation, but ICC will put the dependencies in
7498 # the current directory while Tru64 will put them in the object
7499 # directory.
7500 mkdir sub
7502 am_cv_CXX_dependencies_compiler_type=none
7503 if test "$am_compiler_list" = ""; then
7504 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7506 for depmode in $am_compiler_list; do
7507 # Setup a source with many dependencies, because some compilers
7508 # like to wrap large dependency lists on column 80 (with \), and
7509 # we should not choose a depcomp mode which is confused by this.
7511 # We need to recreate these files for each test, as the compiler may
7512 # overwrite some of them when testing with obscure command lines.
7513 # This happens at least with the AIX C compiler.
7514 : > sub/conftest.c
7515 for i in 1 2 3 4 5 6; do
7516 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7517 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7518 # Solaris 8's {/usr,}/bin/sh.
7519 touch sub/conftst$i.h
7520 done
7521 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7523 case $depmode in
7524 nosideeffect)
7525 # after this tag, mechanisms are not by side-effect, so they'll
7526 # only be used when explicitly requested
7527 if test "x$enable_dependency_tracking" = xyes; then
7528 continue
7529 else
7530 break
7533 none) break ;;
7534 esac
7535 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7536 # mode. It turns out that the SunPro C++ compiler does not properly
7537 # handle `-M -o', and we need to detect this.
7538 if depmode=$depmode \
7539 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7540 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7541 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7542 >/dev/null 2>conftest.err &&
7543 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7544 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7545 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7546 # icc doesn't choke on unknown options, it will just issue warnings
7547 # or remarks (even with -Werror). So we grep stderr for any message
7548 # that says an option was ignored or not supported.
7549 # When given -MP, icc 7.0 and 7.1 complain thusly:
7550 # icc: Command line warning: ignoring option '-M'; no argument required
7551 # The diagnosis changed in icc 8.0:
7552 # icc: Command line remark: option '-MP' not supported
7553 if (grep 'ignoring option' conftest.err ||
7554 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7555 am_cv_CXX_dependencies_compiler_type=$depmode
7556 break
7559 done
7561 cd ..
7562 rm -rf conftest.dir
7563 else
7564 am_cv_CXX_dependencies_compiler_type=none
7568 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7569 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7570 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7575 test "x$enable_dependency_tracking" != xno \
7576 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7577 am__fastdepCXX_TRUE=
7578 am__fastdepCXX_FALSE='#'
7579 else
7580 am__fastdepCXX_TRUE='#'
7581 am__fastdepCXX_FALSE=
7584 ac_ext=cc
7585 ac_cpp='$CXXCPP $CPPFLAGS'
7586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7589 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7590 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7591 if test -z "$CXXCPP"; then
7592 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7593 echo $ECHO_N "(cached) $ECHO_C" >&6
7594 else
7595 # Double quotes because CXXCPP needs to be expanded
7596 for CXXCPP in "$CXX -E" "/lib/cpp"
7598 ac_preproc_ok=false
7599 for ac_cxx_preproc_warn_flag in '' yes
7601 # Use a header file that comes with gcc, so configuring glibc
7602 # with a fresh cross-compiler works.
7603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7604 # <limits.h> exists even on freestanding compilers.
7605 # On the NeXT, cc -E runs the code through the compiler's parser,
7606 # not just through cpp. "Syntax error" is here to catch this case.
7607 cat >conftest.$ac_ext <<_ACEOF
7608 /* confdefs.h. */
7609 _ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7613 #ifdef __STDC__
7614 # include <limits.h>
7615 #else
7616 # include <assert.h>
7617 #endif
7618 Syntax error
7619 _ACEOF
7620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7622 ac_status=$?
7623 grep -v '^ *+' conftest.er1 >conftest.err
7624 rm -f conftest.er1
7625 cat conftest.err >&5
7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627 (exit $ac_status); } >/dev/null; then
7628 if test -s conftest.err; then
7629 ac_cpp_err=$ac_cxx_preproc_warn_flag
7630 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7631 else
7632 ac_cpp_err=
7634 else
7635 ac_cpp_err=yes
7637 if test -z "$ac_cpp_err"; then
7639 else
7640 echo "$as_me: failed program was:" >&5
7641 sed 's/^/| /' conftest.$ac_ext >&5
7643 # Broken: fails on valid input.
7644 continue
7646 rm -f conftest.err conftest.$ac_ext
7648 # OK, works on sane cases. Now check whether non-existent headers
7649 # can be detected and how.
7650 cat >conftest.$ac_ext <<_ACEOF
7651 /* confdefs.h. */
7652 _ACEOF
7653 cat confdefs.h >>conftest.$ac_ext
7654 cat >>conftest.$ac_ext <<_ACEOF
7655 /* end confdefs.h. */
7656 #include <ac_nonexistent.h>
7657 _ACEOF
7658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7660 ac_status=$?
7661 grep -v '^ *+' conftest.er1 >conftest.err
7662 rm -f conftest.er1
7663 cat conftest.err >&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); } >/dev/null; then
7666 if test -s conftest.err; then
7667 ac_cpp_err=$ac_cxx_preproc_warn_flag
7668 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7669 else
7670 ac_cpp_err=
7672 else
7673 ac_cpp_err=yes
7675 if test -z "$ac_cpp_err"; then
7676 # Broken: success on invalid input.
7677 continue
7678 else
7679 echo "$as_me: failed program was:" >&5
7680 sed 's/^/| /' conftest.$ac_ext >&5
7682 # Passes both tests.
7683 ac_preproc_ok=:
7684 break
7686 rm -f conftest.err conftest.$ac_ext
7688 done
7689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7690 rm -f conftest.err conftest.$ac_ext
7691 if $ac_preproc_ok; then
7692 break
7695 done
7696 ac_cv_prog_CXXCPP=$CXXCPP
7699 CXXCPP=$ac_cv_prog_CXXCPP
7700 else
7701 ac_cv_prog_CXXCPP=$CXXCPP
7703 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7704 echo "${ECHO_T}$CXXCPP" >&6
7705 ac_preproc_ok=false
7706 for ac_cxx_preproc_warn_flag in '' yes
7708 # Use a header file that comes with gcc, so configuring glibc
7709 # with a fresh cross-compiler works.
7710 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7711 # <limits.h> exists even on freestanding compilers.
7712 # On the NeXT, cc -E runs the code through the compiler's parser,
7713 # not just through cpp. "Syntax error" is here to catch this case.
7714 cat >conftest.$ac_ext <<_ACEOF
7715 /* confdefs.h. */
7716 _ACEOF
7717 cat confdefs.h >>conftest.$ac_ext
7718 cat >>conftest.$ac_ext <<_ACEOF
7719 /* end confdefs.h. */
7720 #ifdef __STDC__
7721 # include <limits.h>
7722 #else
7723 # include <assert.h>
7724 #endif
7725 Syntax error
7726 _ACEOF
7727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7729 ac_status=$?
7730 grep -v '^ *+' conftest.er1 >conftest.err
7731 rm -f conftest.er1
7732 cat conftest.err >&5
7733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734 (exit $ac_status); } >/dev/null; then
7735 if test -s conftest.err; then
7736 ac_cpp_err=$ac_cxx_preproc_warn_flag
7737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7738 else
7739 ac_cpp_err=
7741 else
7742 ac_cpp_err=yes
7744 if test -z "$ac_cpp_err"; then
7746 else
7747 echo "$as_me: failed program was:" >&5
7748 sed 's/^/| /' conftest.$ac_ext >&5
7750 # Broken: fails on valid input.
7751 continue
7753 rm -f conftest.err conftest.$ac_ext
7755 # OK, works on sane cases. Now check whether non-existent headers
7756 # can be detected and how.
7757 cat >conftest.$ac_ext <<_ACEOF
7758 /* confdefs.h. */
7759 _ACEOF
7760 cat confdefs.h >>conftest.$ac_ext
7761 cat >>conftest.$ac_ext <<_ACEOF
7762 /* end confdefs.h. */
7763 #include <ac_nonexistent.h>
7764 _ACEOF
7765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7766 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7767 ac_status=$?
7768 grep -v '^ *+' conftest.er1 >conftest.err
7769 rm -f conftest.er1
7770 cat conftest.err >&5
7771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7772 (exit $ac_status); } >/dev/null; then
7773 if test -s conftest.err; then
7774 ac_cpp_err=$ac_cxx_preproc_warn_flag
7775 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7776 else
7777 ac_cpp_err=
7779 else
7780 ac_cpp_err=yes
7782 if test -z "$ac_cpp_err"; then
7783 # Broken: success on invalid input.
7784 continue
7785 else
7786 echo "$as_me: failed program was:" >&5
7787 sed 's/^/| /' conftest.$ac_ext >&5
7789 # Passes both tests.
7790 ac_preproc_ok=:
7791 break
7793 rm -f conftest.err conftest.$ac_ext
7795 done
7796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7797 rm -f conftest.err conftest.$ac_ext
7798 if $ac_preproc_ok; then
7800 else
7801 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7802 See \`config.log' for more details." >&5
7803 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7804 See \`config.log' for more details." >&2;}
7805 { (exit 1); exit 1; }; }
7808 ac_ext=c
7809 ac_cpp='$CPP $CPPFLAGS'
7810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7816 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7817 lt_save_CC="$CC"
7818 lt_save_CFLAGS="$CFLAGS"
7819 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7820 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7821 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7822 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7823 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7824 deplibs_check_method="$deplibs_check_method" \
7825 file_magic_cmd="$file_magic_cmd" \
7826 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7827 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7828 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7829 echo "$as_me: error: libtool tag configuration failed" >&2;}
7830 { (exit 1); exit 1; }; }
7831 CC="$lt_save_CC"
7832 CFLAGS="$lt_save_CFLAGS"
7834 # Redirect the config.log output again, so that the ltconfig log is not
7835 # clobbered by the next message.
7836 exec 5>>./config.log
7841 # Handle -Werror default case.
7842 if test "$ENABLE_WERROR" = default; then
7843 case "$host_os" in
7844 *linux*)
7845 if test "$GCC" = yes; then
7846 ENABLE_WERROR=yes
7849 esac
7852 if test "x${COMPILE_COLLECTIONS}" = xyes; then
7853 # Extract the first word of "perl", so it can be a program name with args.
7854 set dummy perl; ac_word=$2
7855 echo "$as_me:$LINENO: checking for $ac_word" >&5
7856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7857 if test "${ac_cv_path_PERL+set}" = set; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 else
7860 case $PERL in
7861 [\\/]* | ?:[\\/]*)
7862 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7866 for as_dir in $PATH
7868 IFS=$as_save_IFS
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7872 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7874 break 2
7876 done
7877 done
7880 esac
7882 PERL=$ac_cv_path_PERL
7884 if test -n "$PERL"; then
7885 echo "$as_me:$LINENO: result: $PERL" >&5
7886 echo "${ECHO_T}$PERL" >&6
7887 else
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7894 ac_config_files="$ac_config_files lib/mkcollections.pl"
7896 ac_config_commands="$ac_config_commands mkcollections.pl"
7900 if test "x${COMPILE_JNI}" = xyes; then
7904 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
7905 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
7906 if test "${cv_c_gcc_attribute_supported+set}" = set; then
7907 echo $ECHO_N "(cached) $ECHO_C" >&6
7908 else
7910 cat >conftest.$ac_ext <<_ACEOF
7911 /* confdefs.h. */
7912 _ACEOF
7913 cat confdefs.h >>conftest.$ac_ext
7914 cat >>conftest.$ac_ext <<_ACEOF
7915 /* end confdefs.h. */
7918 main ()
7920 extern int testfunction(int x) __attribute__((,,))
7922 return 0;
7924 _ACEOF
7925 rm -f conftest.$ac_objext
7926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7927 (eval $ac_compile) 2>conftest.er1
7928 ac_status=$?
7929 grep -v '^ *+' conftest.er1 >conftest.err
7930 rm -f conftest.er1
7931 cat conftest.err >&5
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); } &&
7934 { ac_try='test -z "$ac_c_werror_flag"
7935 || test ! -s conftest.err'
7936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7937 (eval $ac_try) 2>&5
7938 ac_status=$?
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; } &&
7941 { ac_try='test -s conftest.$ac_objext'
7942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7943 (eval $ac_try) 2>&5
7944 ac_status=$?
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); }; }; then
7947 cv_c_gcc_attribute_supported=yes
7948 else
7949 echo "$as_me: failed program was:" >&5
7950 sed 's/^/| /' conftest.$ac_ext >&5
7952 cv_c_gcc_attribute_supported=no
7954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7958 if test "x$cv_c_gcc_attribute_supported" = xyes; then
7959 true
7960 echo "$as_me:$LINENO: result: yes" >&5
7961 echo "${ECHO_T}yes" >&6
7963 cat >>confdefs.h <<\_ACEOF
7964 #define HAVE_GNUC25_ATTRIB
7965 _ACEOF
7968 else
7969 true
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7984 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
7985 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
7986 if test "${cv_c_gcc_attribute_unused+set}" = set; then
7987 echo $ECHO_N "(cached) $ECHO_C" >&6
7988 else
7990 cat >conftest.$ac_ext <<_ACEOF
7991 /* confdefs.h. */
7992 _ACEOF
7993 cat confdefs.h >>conftest.$ac_ext
7994 cat >>conftest.$ac_ext <<_ACEOF
7995 /* end confdefs.h. */
7998 main ()
8000 extern int testfunction(int x) __attribute__((unused))
8002 return 0;
8004 _ACEOF
8005 rm -f conftest.$ac_objext
8006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8007 (eval $ac_compile) 2>conftest.er1
8008 ac_status=$?
8009 grep -v '^ *+' conftest.er1 >conftest.err
8010 rm -f conftest.er1
8011 cat conftest.err >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); } &&
8014 { ac_try='test -z "$ac_c_werror_flag"
8015 || test ! -s conftest.err'
8016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8017 (eval $ac_try) 2>&5
8018 ac_status=$?
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); }; } &&
8021 { ac_try='test -s conftest.$ac_objext'
8022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8023 (eval $ac_try) 2>&5
8024 ac_status=$?
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); }; }; then
8027 cv_c_gcc_attribute_unused=yes
8028 else
8029 echo "$as_me: failed program was:" >&5
8030 sed 's/^/| /' conftest.$ac_ext >&5
8032 cv_c_gcc_attribute_unused=no
8034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8038 if test "x$cv_c_gcc_attribute_unused" = xyes; then
8039 true
8040 echo "$as_me:$LINENO: result: yes" >&5
8041 echo "${ECHO_T}yes" >&6
8043 cat >>confdefs.h <<\_ACEOF
8044 #define HAVE_GNUC25_UNUSED
8045 _ACEOF
8048 else
8049 true
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8060 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8061 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8062 if test "${ac_cv_header_stdc+set}" = set; then
8063 echo $ECHO_N "(cached) $ECHO_C" >&6
8064 else
8065 cat >conftest.$ac_ext <<_ACEOF
8066 /* confdefs.h. */
8067 _ACEOF
8068 cat confdefs.h >>conftest.$ac_ext
8069 cat >>conftest.$ac_ext <<_ACEOF
8070 /* end confdefs.h. */
8071 #include <stdlib.h>
8072 #include <stdarg.h>
8073 #include <string.h>
8074 #include <float.h>
8077 main ()
8081 return 0;
8083 _ACEOF
8084 rm -f conftest.$ac_objext
8085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8086 (eval $ac_compile) 2>conftest.er1
8087 ac_status=$?
8088 grep -v '^ *+' conftest.er1 >conftest.err
8089 rm -f conftest.er1
8090 cat conftest.err >&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } &&
8093 { ac_try='test -z "$ac_c_werror_flag"
8094 || test ! -s conftest.err'
8095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8096 (eval $ac_try) 2>&5
8097 ac_status=$?
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); }; } &&
8100 { ac_try='test -s conftest.$ac_objext'
8101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8102 (eval $ac_try) 2>&5
8103 ac_status=$?
8104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 (exit $ac_status); }; }; then
8106 ac_cv_header_stdc=yes
8107 else
8108 echo "$as_me: failed program was:" >&5
8109 sed 's/^/| /' conftest.$ac_ext >&5
8111 ac_cv_header_stdc=no
8113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8115 if test $ac_cv_header_stdc = yes; then
8116 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8117 cat >conftest.$ac_ext <<_ACEOF
8118 /* confdefs.h. */
8119 _ACEOF
8120 cat confdefs.h >>conftest.$ac_ext
8121 cat >>conftest.$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8123 #include <string.h>
8125 _ACEOF
8126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8127 $EGREP "memchr" >/dev/null 2>&1; then
8129 else
8130 ac_cv_header_stdc=no
8132 rm -f conftest*
8136 if test $ac_cv_header_stdc = yes; then
8137 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8138 cat >conftest.$ac_ext <<_ACEOF
8139 /* confdefs.h. */
8140 _ACEOF
8141 cat confdefs.h >>conftest.$ac_ext
8142 cat >>conftest.$ac_ext <<_ACEOF
8143 /* end confdefs.h. */
8144 #include <stdlib.h>
8146 _ACEOF
8147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8148 $EGREP "free" >/dev/null 2>&1; then
8150 else
8151 ac_cv_header_stdc=no
8153 rm -f conftest*
8157 if test $ac_cv_header_stdc = yes; then
8158 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8159 if test "$cross_compiling" = yes; then
8161 else
8162 cat >conftest.$ac_ext <<_ACEOF
8163 /* confdefs.h. */
8164 _ACEOF
8165 cat confdefs.h >>conftest.$ac_ext
8166 cat >>conftest.$ac_ext <<_ACEOF
8167 /* end confdefs.h. */
8168 #include <ctype.h>
8169 #if ((' ' & 0x0FF) == 0x020)
8170 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8171 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8172 #else
8173 # define ISLOWER(c) \
8174 (('a' <= (c) && (c) <= 'i') \
8175 || ('j' <= (c) && (c) <= 'r') \
8176 || ('s' <= (c) && (c) <= 'z'))
8177 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8178 #endif
8180 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8182 main ()
8184 int i;
8185 for (i = 0; i < 256; i++)
8186 if (XOR (islower (i), ISLOWER (i))
8187 || toupper (i) != TOUPPER (i))
8188 exit(2);
8189 exit (0);
8191 _ACEOF
8192 rm -f conftest$ac_exeext
8193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8194 (eval $ac_link) 2>&5
8195 ac_status=$?
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8199 (eval $ac_try) 2>&5
8200 ac_status=$?
8201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 (exit $ac_status); }; }; then
8204 else
8205 echo "$as_me: program exited with status $ac_status" >&5
8206 echo "$as_me: failed program was:" >&5
8207 sed 's/^/| /' conftest.$ac_ext >&5
8209 ( exit $ac_status )
8210 ac_cv_header_stdc=no
8212 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8216 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8217 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8218 if test $ac_cv_header_stdc = yes; then
8220 cat >>confdefs.h <<\_ACEOF
8221 #define STDC_HEADERS 1
8222 _ACEOF
8227 echo "$as_me:$LINENO: checking size of void *" >&5
8228 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
8229 if test "${ac_cv_sizeof_void_p+set}" = set; then
8230 echo $ECHO_N "(cached) $ECHO_C" >&6
8231 else
8232 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8233 cat >conftest.$ac_ext <<_ACEOF
8234 /* confdefs.h. */
8235 _ACEOF
8236 cat confdefs.h >>conftest.$ac_ext
8237 cat >>conftest.$ac_ext <<_ACEOF
8238 /* end confdefs.h. */
8239 #include "confdefs.h"
8240 #include <sys/types.h>
8244 main ()
8246 switch (0) case 0: case (sizeof (void *) == $ac_size):;
8248 return 0;
8250 _ACEOF
8251 rm -f conftest.$ac_objext
8252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8253 (eval $ac_compile) 2>conftest.er1
8254 ac_status=$?
8255 grep -v '^ *+' conftest.er1 >conftest.err
8256 rm -f conftest.er1
8257 cat conftest.err >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); } &&
8260 { ac_try='test -z "$ac_c_werror_flag"
8261 || test ! -s conftest.err'
8262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8263 (eval $ac_try) 2>&5
8264 ac_status=$?
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); }; } &&
8267 { ac_try='test -s conftest.$ac_objext'
8268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8269 (eval $ac_try) 2>&5
8270 ac_status=$?
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); }; }; then
8273 ac_cv_sizeof_void_p=$ac_size
8274 else
8275 echo "$as_me: failed program was:" >&5
8276 sed 's/^/| /' conftest.$ac_ext >&5
8279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8280 if test x$ac_cv_sizeof_void_p != x ; then break; fi
8281 done
8285 if test x$ac_cv_sizeof_void_p = x ; then
8286 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
8287 echo "$as_me: error: cannot determine a size for void *" >&2;}
8288 { (exit 1); exit 1; }; }
8290 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8291 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8293 cat >>confdefs.h <<_ACEOF
8294 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8295 _ACEOF
8299 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8300 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8301 if test "${ac_cv_c_bigendian+set}" = set; then
8302 echo $ECHO_N "(cached) $ECHO_C" >&6
8303 else
8304 ac_cv_c_bigendian=unknown
8305 # See if sys/param.h defines the BYTE_ORDER macro.
8306 cat >conftest.$ac_ext <<_ACEOF
8307 /* confdefs.h. */
8308 _ACEOF
8309 cat confdefs.h >>conftest.$ac_ext
8310 cat >>conftest.$ac_ext <<_ACEOF
8311 /* end confdefs.h. */
8312 #include <sys/types.h>
8313 #include <sys/param.h>
8315 main ()
8318 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8319 bogus endian macros
8320 #endif
8322 return 0;
8324 _ACEOF
8325 rm -f conftest.$ac_objext
8326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8327 (eval $ac_compile) 2>conftest.er1
8328 ac_status=$?
8329 grep -v '^ *+' conftest.er1 >conftest.err
8330 rm -f conftest.er1
8331 cat conftest.err >&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } &&
8334 { ac_try='test -z "$ac_c_werror_flag"
8335 || test ! -s conftest.err'
8336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8337 (eval $ac_try) 2>&5
8338 ac_status=$?
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); }; } &&
8341 { ac_try='test -s conftest.$ac_objext'
8342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8343 (eval $ac_try) 2>&5
8344 ac_status=$?
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); }; }; then
8347 # It does; now see whether it defined to BIG_ENDIAN or not.
8348 cat >conftest.$ac_ext <<_ACEOF
8349 /* confdefs.h. */
8350 _ACEOF
8351 cat confdefs.h >>conftest.$ac_ext
8352 cat >>conftest.$ac_ext <<_ACEOF
8353 /* end confdefs.h. */
8354 #include <sys/types.h>
8355 #include <sys/param.h>
8357 main ()
8360 #if BYTE_ORDER != BIG_ENDIAN
8361 not big endian
8362 #endif
8364 return 0;
8366 _ACEOF
8367 rm -f conftest.$ac_objext
8368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8369 (eval $ac_compile) 2>conftest.er1
8370 ac_status=$?
8371 grep -v '^ *+' conftest.er1 >conftest.err
8372 rm -f conftest.er1
8373 cat conftest.err >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); } &&
8376 { ac_try='test -z "$ac_c_werror_flag"
8377 || test ! -s conftest.err'
8378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379 (eval $ac_try) 2>&5
8380 ac_status=$?
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; } &&
8383 { ac_try='test -s conftest.$ac_objext'
8384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8385 (eval $ac_try) 2>&5
8386 ac_status=$?
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; }; then
8389 ac_cv_c_bigendian=yes
8390 else
8391 echo "$as_me: failed program was:" >&5
8392 sed 's/^/| /' conftest.$ac_ext >&5
8394 ac_cv_c_bigendian=no
8396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8397 else
8398 echo "$as_me: failed program was:" >&5
8399 sed 's/^/| /' conftest.$ac_ext >&5
8402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8403 if test $ac_cv_c_bigendian = unknown; then
8404 if test "$cross_compiling" = yes; then
8405 echo $ac_n "cross-compiling... " 2>&6
8406 else
8407 cat >conftest.$ac_ext <<_ACEOF
8408 /* confdefs.h. */
8409 _ACEOF
8410 cat confdefs.h >>conftest.$ac_ext
8411 cat >>conftest.$ac_ext <<_ACEOF
8412 /* end confdefs.h. */
8413 main () {
8414 /* Are we little or big endian? From Harbison&Steele. */
8415 union
8417 long l;
8418 char c[sizeof (long)];
8419 } u;
8420 u.l = 1;
8421 exit (u.c[sizeof (long) - 1] == 1);
8423 _ACEOF
8424 rm -f conftest$ac_exeext
8425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8426 (eval $ac_link) 2>&5
8427 ac_status=$?
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8431 (eval $ac_try) 2>&5
8432 ac_status=$?
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; }; then
8435 ac_cv_c_bigendian=no
8436 else
8437 echo "$as_me: program exited with status $ac_status" >&5
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.$ac_ext >&5
8441 ( exit $ac_status )
8442 ac_cv_c_bigendian=yes
8444 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8448 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8449 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8450 if test $ac_cv_c_bigendian = unknown; then
8451 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
8452 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
8454 cat >conftest.c <<EOF
8455 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8456 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8457 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
8458 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8459 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8460 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
8461 int main() { _ascii (); _ebcdic (); return 0; }
8463 if test -f conftest.c ; then
8464 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
8465 if test `grep -l BIGenDianSyS conftest.o` ; then
8466 echo $ac_n ' big endian probe OK, ' 1>&6
8467 ac_cv_c_bigendian=yes
8469 if test `grep -l LiTTleEnDian conftest.o` ; then
8470 echo $ac_n ' little endian probe OK, ' 1>&6
8471 if test $ac_cv_c_bigendian = yes ; then
8472 ac_cv_c_bigendian=unknown;
8473 else
8474 ac_cv_c_bigendian=no
8477 echo $ac_n 'guessing bigendian ... ' >&6
8480 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8481 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8483 if test $ac_cv_c_bigendian = yes; then
8485 cat >>confdefs.h <<\_ACEOF
8486 #define WORDS_BIGENDIAN 1
8487 _ACEOF
8490 cat >>confdefs.h <<\_ACEOF
8491 #define HOST_WORDS_BIG_ENDIAN 1
8492 _ACEOF
8494 BYTEORDER=4321
8495 else
8496 BYTEORDER=1234
8499 cat >>confdefs.h <<_ACEOF
8500 #define BYTEORDER $BYTEORDER
8501 _ACEOF
8503 if test $ac_cv_c_bigendian = unknown; then
8504 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
8505 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
8506 { (exit 1); exit 1; }; }
8529 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
8530 asm/ioctls.h \
8531 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
8532 sys/time.h \
8533 sys/select.h \
8534 crt_externs.h \
8535 fcntl.h \
8536 sys/mman.h \
8537 magic.h \
8538 sys/event.h sys/epoll.h \
8539 ifaddrs.h
8541 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8543 echo "$as_me:$LINENO: checking for $ac_header" >&5
8544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8546 echo $ECHO_N "(cached) $ECHO_C" >&6
8548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8550 else
8551 # Is the header compilable?
8552 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8554 cat >conftest.$ac_ext <<_ACEOF
8555 /* confdefs.h. */
8556 _ACEOF
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8560 $ac_includes_default
8561 #include <$ac_header>
8562 _ACEOF
8563 rm -f conftest.$ac_objext
8564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8565 (eval $ac_compile) 2>conftest.er1
8566 ac_status=$?
8567 grep -v '^ *+' conftest.er1 >conftest.err
8568 rm -f conftest.er1
8569 cat conftest.err >&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); } &&
8572 { ac_try='test -z "$ac_c_werror_flag"
8573 || test ! -s conftest.err'
8574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575 (eval $ac_try) 2>&5
8576 ac_status=$?
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); }; } &&
8579 { ac_try='test -s conftest.$ac_objext'
8580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8581 (eval $ac_try) 2>&5
8582 ac_status=$?
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); }; }; then
8585 ac_header_compiler=yes
8586 else
8587 echo "$as_me: failed program was:" >&5
8588 sed 's/^/| /' conftest.$ac_ext >&5
8590 ac_header_compiler=no
8592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8594 echo "${ECHO_T}$ac_header_compiler" >&6
8596 # Is the header present?
8597 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8598 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8599 cat >conftest.$ac_ext <<_ACEOF
8600 /* confdefs.h. */
8601 _ACEOF
8602 cat confdefs.h >>conftest.$ac_ext
8603 cat >>conftest.$ac_ext <<_ACEOF
8604 /* end confdefs.h. */
8605 #include <$ac_header>
8606 _ACEOF
8607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8609 ac_status=$?
8610 grep -v '^ *+' conftest.er1 >conftest.err
8611 rm -f conftest.er1
8612 cat conftest.err >&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); } >/dev/null; then
8615 if test -s conftest.err; then
8616 ac_cpp_err=$ac_c_preproc_warn_flag
8617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8618 else
8619 ac_cpp_err=
8621 else
8622 ac_cpp_err=yes
8624 if test -z "$ac_cpp_err"; then
8625 ac_header_preproc=yes
8626 else
8627 echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.$ac_ext >&5
8630 ac_header_preproc=no
8632 rm -f conftest.err conftest.$ac_ext
8633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8634 echo "${ECHO_T}$ac_header_preproc" >&6
8636 # So? What about this header?
8637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8638 yes:no: )
8639 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8640 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8642 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8643 ac_header_preproc=yes
8645 no:yes:* )
8646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8650 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8651 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8652 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8653 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8656 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8657 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8659 cat <<\_ASBOX
8660 ## -------------------------------- ##
8661 ## Report this to classpath@gnu.org ##
8662 ## -------------------------------- ##
8663 _ASBOX
8665 sed "s/^/$as_me: WARNING: /" >&2
8667 esac
8668 echo "$as_me:$LINENO: checking for $ac_header" >&5
8669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8671 echo $ECHO_N "(cached) $ECHO_C" >&6
8672 else
8673 eval "$as_ac_Header=\$ac_header_preproc"
8675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8680 cat >>confdefs.h <<_ACEOF
8681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8682 _ACEOF
8686 done
8689 cat >conftest.$ac_ext <<_ACEOF
8690 /* confdefs.h. */
8691 _ACEOF
8692 cat confdefs.h >>conftest.$ac_ext
8693 cat >>conftest.$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8695 #include <stdint.h>
8697 _ACEOF
8698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8699 $EGREP "uint32_t" >/dev/null 2>&1; then
8701 cat >>confdefs.h <<\_ACEOF
8702 #define HAVE_INT32_DEFINED 1
8703 _ACEOF
8706 rm -f conftest*
8708 cat >conftest.$ac_ext <<_ACEOF
8709 /* confdefs.h. */
8710 _ACEOF
8711 cat confdefs.h >>conftest.$ac_ext
8712 cat >>conftest.$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8714 #include <inttypes.h>
8716 _ACEOF
8717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8718 $EGREP "uint32_t" >/dev/null 2>&1; then
8720 cat >>confdefs.h <<\_ACEOF
8721 #define HAVE_INT32_DEFINED 1
8722 _ACEOF
8725 rm -f conftest*
8727 cat >conftest.$ac_ext <<_ACEOF
8728 /* confdefs.h. */
8729 _ACEOF
8730 cat confdefs.h >>conftest.$ac_ext
8731 cat >>conftest.$ac_ext <<_ACEOF
8732 /* end confdefs.h. */
8733 #include <sys/types.h>
8735 _ACEOF
8736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8737 $EGREP "u_int32_t" >/dev/null 2>&1; then
8739 cat >>confdefs.h <<\_ACEOF
8740 #define HAVE_BSD_INT32_DEFINED 1
8741 _ACEOF
8744 rm -f conftest*
8746 cat >conftest.$ac_ext <<_ACEOF
8747 /* confdefs.h. */
8748 _ACEOF
8749 cat confdefs.h >>conftest.$ac_ext
8750 cat >>conftest.$ac_ext <<_ACEOF
8751 /* end confdefs.h. */
8752 #include <sys/config.h>
8754 _ACEOF
8755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8756 $EGREP "u_int32_t" >/dev/null 2>&1; then
8758 cat >>confdefs.h <<\_ACEOF
8759 #define HAVE_BSD_INT32_DEFINED 1
8760 _ACEOF
8763 rm -f conftest*
8820 for ac_func in ftruncate fsync select \
8821 gethostname socket strerror fork pipe execve open close \
8822 lseek fstat read readv write writev htonl memset htons connect \
8823 getsockname getpeername bind listen accept \
8824 recvfrom send sendto setsockopt getsockopt time mktime \
8825 gethostbyname_r localtime_r \
8826 strerror_r \
8827 fcntl \
8828 mmap munmap mincore msync madvise getpagesize sysconf \
8829 lstat readlink \
8830 inet_aton inet_addr inet_pton \
8831 getifaddrs kqueue kevent epoll_create \
8832 readdir_r
8834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8835 echo "$as_me:$LINENO: checking for $ac_func" >&5
8836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8837 if eval "test \"\${$as_ac_var+set}\" = set"; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 else
8840 if test x$gcc_no_link = xyes; then
8841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8843 { (exit 1); exit 1; }; }
8845 cat >conftest.$ac_ext <<_ACEOF
8846 /* confdefs.h. */
8847 _ACEOF
8848 cat confdefs.h >>conftest.$ac_ext
8849 cat >>conftest.$ac_ext <<_ACEOF
8850 /* end confdefs.h. */
8851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8853 #define $ac_func innocuous_$ac_func
8855 /* System header to define __stub macros and hopefully few prototypes,
8856 which can conflict with char $ac_func (); below.
8857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8858 <limits.h> exists even on freestanding compilers. */
8860 #ifdef __STDC__
8861 # include <limits.h>
8862 #else
8863 # include <assert.h>
8864 #endif
8866 #undef $ac_func
8868 /* Override any gcc2 internal prototype to avoid an error. */
8869 #ifdef __cplusplus
8870 extern "C"
8872 #endif
8873 /* We use char because int might match the return type of a gcc2
8874 builtin and then its argument prototype would still apply. */
8875 char $ac_func ();
8876 /* The GNU C library defines this for functions which it implements
8877 to always fail with ENOSYS. Some functions are actually named
8878 something starting with __ and the normal name is an alias. */
8879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8880 choke me
8881 #else
8882 char (*f) () = $ac_func;
8883 #endif
8884 #ifdef __cplusplus
8886 #endif
8889 main ()
8891 return f != $ac_func;
8893 return 0;
8895 _ACEOF
8896 rm -f conftest.$ac_objext conftest$ac_exeext
8897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8898 (eval $ac_link) 2>conftest.er1
8899 ac_status=$?
8900 grep -v '^ *+' conftest.er1 >conftest.err
8901 rm -f conftest.er1
8902 cat conftest.err >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); } &&
8905 { ac_try='test -z "$ac_c_werror_flag"
8906 || test ! -s conftest.err'
8907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908 (eval $ac_try) 2>&5
8909 ac_status=$?
8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); }; } &&
8912 { ac_try='test -s conftest$ac_exeext'
8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 (eval $ac_try) 2>&5
8915 ac_status=$?
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); }; }; then
8918 eval "$as_ac_var=yes"
8919 else
8920 echo "$as_me: failed program was:" >&5
8921 sed 's/^/| /' conftest.$ac_ext >&5
8923 eval "$as_ac_var=no"
8925 rm -f conftest.err conftest.$ac_objext \
8926 conftest$ac_exeext conftest.$ac_ext
8928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8930 if test `eval echo '${'$as_ac_var'}'` = yes; then
8931 cat >>confdefs.h <<_ACEOF
8932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8933 _ACEOF
8936 done
8939 LIBMAGIC=
8940 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8941 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8942 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8943 echo $ECHO_N "(cached) $ECHO_C" >&6
8944 else
8945 ac_check_lib_save_LIBS=$LIBS
8946 LIBS="-lmagic $LIBS"
8947 if test x$gcc_no_link = xyes; then
8948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8950 { (exit 1); exit 1; }; }
8952 cat >conftest.$ac_ext <<_ACEOF
8953 /* confdefs.h. */
8954 _ACEOF
8955 cat confdefs.h >>conftest.$ac_ext
8956 cat >>conftest.$ac_ext <<_ACEOF
8957 /* end confdefs.h. */
8959 /* Override any gcc2 internal prototype to avoid an error. */
8960 #ifdef __cplusplus
8961 extern "C"
8962 #endif
8963 /* We use char because int might match the return type of a gcc2
8964 builtin and then its argument prototype would still apply. */
8965 char magic_open ();
8967 main ()
8969 magic_open ();
8971 return 0;
8973 _ACEOF
8974 rm -f conftest.$ac_objext conftest$ac_exeext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8976 (eval $ac_link) 2>conftest.er1
8977 ac_status=$?
8978 grep -v '^ *+' conftest.er1 >conftest.err
8979 rm -f conftest.er1
8980 cat conftest.err >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); } &&
8983 { ac_try='test -z "$ac_c_werror_flag"
8984 || test ! -s conftest.err'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 (eval $ac_try) 2>&5
8987 ac_status=$?
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; } &&
8990 { ac_try='test -s conftest$ac_exeext'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992 (eval $ac_try) 2>&5
8993 ac_status=$?
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; }; then
8996 ac_cv_lib_magic_magic_open=yes
8997 else
8998 echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.$ac_ext >&5
9001 ac_cv_lib_magic_magic_open=no
9003 rm -f conftest.err conftest.$ac_objext \
9004 conftest$ac_exeext conftest.$ac_ext
9005 LIBS=$ac_check_lib_save_LIBS
9007 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
9008 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
9009 if test $ac_cv_lib_magic_magic_open = yes; then
9010 LIBMAGIC=-lmagic
9015 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
9016 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
9017 cat >conftest.$ac_ext <<_ACEOF
9018 /* confdefs.h. */
9019 _ACEOF
9020 cat confdefs.h >>conftest.$ac_ext
9021 cat >>conftest.$ac_ext <<_ACEOF
9022 /* end confdefs.h. */
9023 #include <netinet/in.h>
9025 main ()
9027 struct sockaddr_in6 addr6;
9029 return 0;
9031 _ACEOF
9032 rm -f conftest.$ac_objext
9033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9034 (eval $ac_compile) 2>conftest.er1
9035 ac_status=$?
9036 grep -v '^ *+' conftest.er1 >conftest.err
9037 rm -f conftest.er1
9038 cat conftest.err >&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } &&
9041 { ac_try='test -z "$ac_c_werror_flag"
9042 || test ! -s conftest.err'
9043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9044 (eval $ac_try) 2>&5
9045 ac_status=$?
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 (exit $ac_status); }; } &&
9048 { ac_try='test -s conftest.$ac_objext'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9050 (eval $ac_try) 2>&5
9051 ac_status=$?
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then
9055 cat >>confdefs.h <<\_ACEOF
9056 #define HAVE_INET6 1
9057 _ACEOF
9059 echo "$as_me:$LINENO: result: yes" >&5
9060 echo "${ECHO_T}yes" >&6
9061 else
9062 echo "$as_me: failed program was:" >&5
9063 sed 's/^/| /' conftest.$ac_ext >&5
9065 echo "$as_me:$LINENO: result: no" >&5
9066 echo "${ECHO_T}no" >&6
9068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9070 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9071 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9072 if test "${ac_cv_header_time+set}" = set; then
9073 echo $ECHO_N "(cached) $ECHO_C" >&6
9074 else
9075 cat >conftest.$ac_ext <<_ACEOF
9076 /* confdefs.h. */
9077 _ACEOF
9078 cat confdefs.h >>conftest.$ac_ext
9079 cat >>conftest.$ac_ext <<_ACEOF
9080 /* end confdefs.h. */
9081 #include <sys/types.h>
9082 #include <sys/time.h>
9083 #include <time.h>
9086 main ()
9088 if ((struct tm *) 0)
9089 return 0;
9091 return 0;
9093 _ACEOF
9094 rm -f conftest.$ac_objext
9095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9096 (eval $ac_compile) 2>conftest.er1
9097 ac_status=$?
9098 grep -v '^ *+' conftest.er1 >conftest.err
9099 rm -f conftest.er1
9100 cat conftest.err >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); } &&
9103 { ac_try='test -z "$ac_c_werror_flag"
9104 || test ! -s conftest.err'
9105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9106 (eval $ac_try) 2>&5
9107 ac_status=$?
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); }; } &&
9110 { ac_try='test -s conftest.$ac_objext'
9111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9112 (eval $ac_try) 2>&5
9113 ac_status=$?
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); }; }; then
9116 ac_cv_header_time=yes
9117 else
9118 echo "$as_me: failed program was:" >&5
9119 sed 's/^/| /' conftest.$ac_ext >&5
9121 ac_cv_header_time=no
9123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9125 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9126 echo "${ECHO_T}$ac_cv_header_time" >&6
9127 if test $ac_cv_header_time = yes; then
9129 cat >>confdefs.h <<\_ACEOF
9130 #define TIME_WITH_SYS_TIME 1
9131 _ACEOF
9135 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
9136 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
9137 if test "${ac_cv_struct_tm+set}" = set; then
9138 echo $ECHO_N "(cached) $ECHO_C" >&6
9139 else
9140 cat >conftest.$ac_ext <<_ACEOF
9141 /* confdefs.h. */
9142 _ACEOF
9143 cat confdefs.h >>conftest.$ac_ext
9144 cat >>conftest.$ac_ext <<_ACEOF
9145 /* end confdefs.h. */
9146 #include <sys/types.h>
9147 #include <time.h>
9150 main ()
9152 struct tm *tp; tp->tm_sec;
9154 return 0;
9156 _ACEOF
9157 rm -f conftest.$ac_objext
9158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9159 (eval $ac_compile) 2>conftest.er1
9160 ac_status=$?
9161 grep -v '^ *+' conftest.er1 >conftest.err
9162 rm -f conftest.er1
9163 cat conftest.err >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); } &&
9166 { ac_try='test -z "$ac_c_werror_flag"
9167 || test ! -s conftest.err'
9168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9169 (eval $ac_try) 2>&5
9170 ac_status=$?
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); }; } &&
9173 { ac_try='test -s conftest.$ac_objext'
9174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9175 (eval $ac_try) 2>&5
9176 ac_status=$?
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; }; then
9179 ac_cv_struct_tm=time.h
9180 else
9181 echo "$as_me: failed program was:" >&5
9182 sed 's/^/| /' conftest.$ac_ext >&5
9184 ac_cv_struct_tm=sys/time.h
9186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9188 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
9189 echo "${ECHO_T}$ac_cv_struct_tm" >&6
9190 if test $ac_cv_struct_tm = sys/time.h; then
9192 cat >>confdefs.h <<\_ACEOF
9193 #define TM_IN_SYS_TIME 1
9194 _ACEOF
9198 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
9199 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9200 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 else
9203 cat >conftest.$ac_ext <<_ACEOF
9204 /* confdefs.h. */
9205 _ACEOF
9206 cat confdefs.h >>conftest.$ac_ext
9207 cat >>conftest.$ac_ext <<_ACEOF
9208 /* end confdefs.h. */
9209 #include <sys/types.h>
9210 #include <$ac_cv_struct_tm>
9214 main ()
9216 static struct tm ac_aggr;
9217 if (ac_aggr.tm_zone)
9218 return 0;
9220 return 0;
9222 _ACEOF
9223 rm -f conftest.$ac_objext
9224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9225 (eval $ac_compile) 2>conftest.er1
9226 ac_status=$?
9227 grep -v '^ *+' conftest.er1 >conftest.err
9228 rm -f conftest.er1
9229 cat conftest.err >&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); } &&
9232 { ac_try='test -z "$ac_c_werror_flag"
9233 || test ! -s conftest.err'
9234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9235 (eval $ac_try) 2>&5
9236 ac_status=$?
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); }; } &&
9239 { ac_try='test -s conftest.$ac_objext'
9240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9241 (eval $ac_try) 2>&5
9242 ac_status=$?
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); }; }; then
9245 ac_cv_member_struct_tm_tm_zone=yes
9246 else
9247 echo "$as_me: failed program was:" >&5
9248 sed 's/^/| /' conftest.$ac_ext >&5
9250 cat >conftest.$ac_ext <<_ACEOF
9251 /* confdefs.h. */
9252 _ACEOF
9253 cat confdefs.h >>conftest.$ac_ext
9254 cat >>conftest.$ac_ext <<_ACEOF
9255 /* end confdefs.h. */
9256 #include <sys/types.h>
9257 #include <$ac_cv_struct_tm>
9261 main ()
9263 static struct tm ac_aggr;
9264 if (sizeof ac_aggr.tm_zone)
9265 return 0;
9267 return 0;
9269 _ACEOF
9270 rm -f conftest.$ac_objext
9271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9272 (eval $ac_compile) 2>conftest.er1
9273 ac_status=$?
9274 grep -v '^ *+' conftest.er1 >conftest.err
9275 rm -f conftest.er1
9276 cat conftest.err >&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); } &&
9279 { ac_try='test -z "$ac_c_werror_flag"
9280 || test ! -s conftest.err'
9281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9282 (eval $ac_try) 2>&5
9283 ac_status=$?
9284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285 (exit $ac_status); }; } &&
9286 { ac_try='test -s conftest.$ac_objext'
9287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9288 (eval $ac_try) 2>&5
9289 ac_status=$?
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); }; }; then
9292 ac_cv_member_struct_tm_tm_zone=yes
9293 else
9294 echo "$as_me: failed program was:" >&5
9295 sed 's/^/| /' conftest.$ac_ext >&5
9297 ac_cv_member_struct_tm_tm_zone=no
9299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9303 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9304 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9305 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9307 cat >>confdefs.h <<_ACEOF
9308 #define HAVE_STRUCT_TM_TM_ZONE 1
9309 _ACEOF
9314 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9316 cat >>confdefs.h <<\_ACEOF
9317 #define HAVE_TM_ZONE 1
9318 _ACEOF
9320 else
9321 echo "$as_me:$LINENO: checking for tzname" >&5
9322 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9323 if test "${ac_cv_var_tzname+set}" = set; then
9324 echo $ECHO_N "(cached) $ECHO_C" >&6
9325 else
9326 if test x$gcc_no_link = xyes; then
9327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9329 { (exit 1); exit 1; }; }
9331 cat >conftest.$ac_ext <<_ACEOF
9332 /* confdefs.h. */
9333 _ACEOF
9334 cat confdefs.h >>conftest.$ac_ext
9335 cat >>conftest.$ac_ext <<_ACEOF
9336 /* end confdefs.h. */
9337 #include <time.h>
9338 #ifndef tzname /* For SGI. */
9339 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
9340 #endif
9343 main ()
9345 atoi(*tzname);
9347 return 0;
9349 _ACEOF
9350 rm -f conftest.$ac_objext conftest$ac_exeext
9351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9352 (eval $ac_link) 2>conftest.er1
9353 ac_status=$?
9354 grep -v '^ *+' conftest.er1 >conftest.err
9355 rm -f conftest.er1
9356 cat conftest.err >&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 (exit $ac_status); } &&
9359 { ac_try='test -z "$ac_c_werror_flag"
9360 || test ! -s conftest.err'
9361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9362 (eval $ac_try) 2>&5
9363 ac_status=$?
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); }; } &&
9366 { ac_try='test -s conftest$ac_exeext'
9367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 (eval $ac_try) 2>&5
9369 ac_status=$?
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); }; }; then
9372 ac_cv_var_tzname=yes
9373 else
9374 echo "$as_me: failed program was:" >&5
9375 sed 's/^/| /' conftest.$ac_ext >&5
9377 ac_cv_var_tzname=no
9379 rm -f conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9382 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9383 echo "${ECHO_T}$ac_cv_var_tzname" >&6
9384 if test $ac_cv_var_tzname = yes; then
9386 cat >>confdefs.h <<\_ACEOF
9387 #define HAVE_TZNAME 1
9388 _ACEOF
9394 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
9395 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
9396 cat >conftest.$ac_ext <<_ACEOF
9397 /* confdefs.h. */
9398 _ACEOF
9399 cat confdefs.h >>conftest.$ac_ext
9400 cat >>conftest.$ac_ext <<_ACEOF
9401 /* end confdefs.h. */
9402 #include <time.h>
9404 main ()
9406 struct tm tim; tim.tm_gmtoff = 0;
9408 return 0;
9410 _ACEOF
9411 rm -f conftest.$ac_objext
9412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9413 (eval $ac_compile) 2>conftest.er1
9414 ac_status=$?
9415 grep -v '^ *+' conftest.er1 >conftest.err
9416 rm -f conftest.er1
9417 cat conftest.err >&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); } &&
9420 { ac_try='test -z "$ac_c_werror_flag"
9421 || test ! -s conftest.err'
9422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9423 (eval $ac_try) 2>&5
9424 ac_status=$?
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); }; } &&
9427 { ac_try='test -s conftest.$ac_objext'
9428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9429 (eval $ac_try) 2>&5
9430 ac_status=$?
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); }; }; then
9434 cat >>confdefs.h <<\_ACEOF
9435 #define STRUCT_TM_HAS_GMTOFF 1
9436 _ACEOF
9438 echo "$as_me:$LINENO: result: yes" >&5
9439 echo "${ECHO_T}yes" >&6
9440 else
9441 echo "$as_me: failed program was:" >&5
9442 sed 's/^/| /' conftest.$ac_ext >&5
9444 echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6
9446 echo "$as_me:$LINENO: checking for global timezone variable" >&5
9447 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
9448 cat >conftest.$ac_ext <<_ACEOF
9449 /* confdefs.h. */
9450 _ACEOF
9451 cat confdefs.h >>conftest.$ac_ext
9452 cat >>conftest.$ac_ext <<_ACEOF
9453 /* end confdefs.h. */
9454 #include <time.h>
9456 main ()
9458 void i(){long z2 = 2*timezone;}
9460 return 0;
9462 _ACEOF
9463 rm -f conftest.$ac_objext
9464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9465 (eval $ac_compile) 2>conftest.er1
9466 ac_status=$?
9467 grep -v '^ *+' conftest.er1 >conftest.err
9468 rm -f conftest.er1
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); } &&
9472 { ac_try='test -z "$ac_c_werror_flag"
9473 || test ! -s conftest.err'
9474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475 (eval $ac_try) 2>&5
9476 ac_status=$?
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); }; } &&
9479 { ac_try='test -s conftest.$ac_objext'
9480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9481 (eval $ac_try) 2>&5
9482 ac_status=$?
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); }; }; then
9486 cat >>confdefs.h <<\_ACEOF
9487 #define HAVE_TIMEZONE 1
9488 _ACEOF
9490 echo "$as_me:$LINENO: result: yes" >&5
9491 echo "${ECHO_T}yes" >&6
9492 else
9493 echo "$as_me: failed program was:" >&5
9494 sed 's/^/| /' conftest.$ac_ext >&5
9496 echo "$as_me:$LINENO: result: no" >&5
9497 echo "${ECHO_T}no" >&6
9498 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
9499 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h. */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9506 #include <time.h>
9508 main ()
9510 long z2 = _timezone;
9512 return 0;
9514 _ACEOF
9515 rm -f conftest.$ac_objext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9517 (eval $ac_compile) 2>conftest.er1
9518 ac_status=$?
9519 grep -v '^ *+' conftest.er1 >conftest.err
9520 rm -f conftest.er1
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } &&
9524 { ac_try='test -z "$ac_c_werror_flag"
9525 || test ! -s conftest.err'
9526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9527 (eval $ac_try) 2>&5
9528 ac_status=$?
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); }; } &&
9531 { ac_try='test -s conftest.$ac_objext'
9532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9533 (eval $ac_try) 2>&5
9534 ac_status=$?
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); }; }; then
9538 cat >>confdefs.h <<\_ACEOF
9539 #define HAVE_UNDERSCORE_TIMEZONE 1
9540 _ACEOF
9542 echo "$as_me:$LINENO: result: yes" >&5
9543 echo "${ECHO_T}yes" >&6
9544 else
9545 echo "$as_me: failed program was:" >&5
9546 sed 's/^/| /' conftest.$ac_ext >&5
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9557 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9558 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9559 if test "${ac_cv_c_const+set}" = set; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6
9561 else
9562 cat >conftest.$ac_ext <<_ACEOF
9563 /* confdefs.h. */
9564 _ACEOF
9565 cat confdefs.h >>conftest.$ac_ext
9566 cat >>conftest.$ac_ext <<_ACEOF
9567 /* end confdefs.h. */
9570 main ()
9572 /* FIXME: Include the comments suggested by Paul. */
9573 #ifndef __cplusplus
9574 /* Ultrix mips cc rejects this. */
9575 typedef int charset[2];
9576 const charset x;
9577 /* SunOS 4.1.1 cc rejects this. */
9578 char const *const *ccp;
9579 char **p;
9580 /* NEC SVR4.0.2 mips cc rejects this. */
9581 struct point {int x, y;};
9582 static struct point const zero = {0,0};
9583 /* AIX XL C 1.02.0.0 rejects this.
9584 It does not let you subtract one const X* pointer from another in
9585 an arm of an if-expression whose if-part is not a constant
9586 expression */
9587 const char *g = "string";
9588 ccp = &g + (g ? g-g : 0);
9589 /* HPUX 7.0 cc rejects these. */
9590 ++ccp;
9591 p = (char**) ccp;
9592 ccp = (char const *const *) p;
9593 { /* SCO 3.2v4 cc rejects this. */
9594 char *t;
9595 char const *s = 0 ? (char *) 0 : (char const *) 0;
9597 *t++ = 0;
9599 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9600 int x[] = {25, 17};
9601 const int *foo = &x[0];
9602 ++foo;
9604 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9605 typedef const int *iptr;
9606 iptr p = 0;
9607 ++p;
9609 { /* AIX XL C 1.02.0.0 rejects this saying
9610 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9611 struct s { int j; const int *ap[3]; };
9612 struct s *b; b->j = 5;
9614 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9615 const int foo = 10;
9617 #endif
9620 return 0;
9622 _ACEOF
9623 rm -f conftest.$ac_objext
9624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9625 (eval $ac_compile) 2>conftest.er1
9626 ac_status=$?
9627 grep -v '^ *+' conftest.er1 >conftest.err
9628 rm -f conftest.er1
9629 cat conftest.err >&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); } &&
9632 { ac_try='test -z "$ac_c_werror_flag"
9633 || test ! -s conftest.err'
9634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9635 (eval $ac_try) 2>&5
9636 ac_status=$?
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); }; } &&
9639 { ac_try='test -s conftest.$ac_objext'
9640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9641 (eval $ac_try) 2>&5
9642 ac_status=$?
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); }; }; then
9645 ac_cv_c_const=yes
9646 else
9647 echo "$as_me: failed program was:" >&5
9648 sed 's/^/| /' conftest.$ac_ext >&5
9650 ac_cv_c_const=no
9652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9654 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9655 echo "${ECHO_T}$ac_cv_c_const" >&6
9656 if test $ac_cv_c_const = no; then
9658 cat >>confdefs.h <<\_ACEOF
9659 #define const
9660 _ACEOF
9664 echo "$as_me:$LINENO: checking for __attribute__" >&5
9665 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
9666 if test "${ac_cv_c_attribute+set}" = set; then
9667 echo $ECHO_N "(cached) $ECHO_C" >&6
9668 else
9670 cat >conftest.$ac_ext <<_ACEOF
9671 /* confdefs.h. */
9672 _ACEOF
9673 cat confdefs.h >>conftest.$ac_ext
9674 cat >>conftest.$ac_ext <<_ACEOF
9675 /* end confdefs.h. */
9676 void foo(void) __attribute__ ((__noreturn__));
9678 _ACEOF
9679 rm -f conftest.$ac_objext
9680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9681 (eval $ac_compile) 2>conftest.er1
9682 ac_status=$?
9683 grep -v '^ *+' conftest.er1 >conftest.err
9684 rm -f conftest.er1
9685 cat conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } &&
9688 { ac_try='test -z "$ac_c_werror_flag"
9689 || test ! -s conftest.err'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 (eval $ac_try) 2>&5
9692 ac_status=$?
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; } &&
9695 { ac_try='test -s conftest.$ac_objext'
9696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 (eval $ac_try) 2>&5
9698 ac_status=$?
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); }; }; then
9701 ac_cv_c_attribute=yes
9702 else
9703 echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.$ac_ext >&5
9706 ac_cv_c_attribute=no
9709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9712 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
9713 echo "${ECHO_T}$ac_cv_c_attribute" >&6
9716 case $ac_cv_c_attribute in
9717 yes) ;;
9719 cat >>confdefs.h <<_ACEOF
9720 #define __attribute__(x) /* nothing */
9721 _ACEOF
9723 esac
9727 if test "X$prefix" = "XNONE"; then
9728 acl_final_prefix="$ac_default_prefix"
9729 else
9730 acl_final_prefix="$prefix"
9732 if test "X$exec_prefix" = "XNONE"; then
9733 acl_final_exec_prefix='${prefix}'
9734 else
9735 acl_final_exec_prefix="$exec_prefix"
9737 acl_save_prefix="$prefix"
9738 prefix="$acl_final_prefix"
9739 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9740 prefix="$acl_save_prefix"
9743 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9744 if test "${with_gnu_ld+set}" = set; then
9745 withval="$with_gnu_ld"
9746 test "$withval" = no || with_gnu_ld=yes
9747 else
9748 with_gnu_ld=no
9750 # Prepare PATH_SEPARATOR.
9751 # The user is always right.
9752 if test "${PATH_SEPARATOR+set}" != set; then
9753 echo "#! /bin/sh" >conf$$.sh
9754 echo "exit 0" >>conf$$.sh
9755 chmod +x conf$$.sh
9756 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9757 PATH_SEPARATOR=';'
9758 else
9759 PATH_SEPARATOR=:
9761 rm -f conf$$.sh
9763 ac_prog=ld
9764 if test "$GCC" = yes; then
9765 # Check if gcc -print-prog-name=ld gives a path.
9766 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9767 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9768 case $host in
9769 *-*-mingw*)
9770 # gcc leaves a trailing carriage return which upsets mingw
9771 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9773 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9774 esac
9775 case $ac_prog in
9776 # Accept absolute paths.
9777 [\\/]* | [A-Za-z]:[\\/]*)
9778 re_direlt='/[^/][^/]*/\.\./'
9779 # Canonicalize the path of ld
9780 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9781 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9782 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9783 done
9784 test -z "$LD" && LD="$ac_prog"
9787 # If it fails, then pretend we aren't using GCC.
9788 ac_prog=ld
9791 # If it is relative, then search for the first ld in PATH.
9792 with_gnu_ld=unknown
9794 esac
9795 elif test "$with_gnu_ld" = yes; then
9796 echo "$as_me:$LINENO: checking for GNU ld" >&5
9797 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9798 else
9799 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9800 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9802 if test "${acl_cv_path_LD+set}" = set; then
9803 echo $ECHO_N "(cached) $ECHO_C" >&6
9804 else
9805 if test -z "$LD"; then
9806 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9807 for ac_dir in $PATH; do
9808 test -z "$ac_dir" && ac_dir=.
9809 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9810 acl_cv_path_LD="$ac_dir/$ac_prog"
9811 # Check to see if the program is GNU ld. I'd rather use --version,
9812 # but apparently some GNU ld's only accept -v.
9813 # Break only if it was the GNU/non-GNU ld that we prefer.
9814 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9815 test "$with_gnu_ld" != no && break
9816 else
9817 test "$with_gnu_ld" != yes && break
9820 done
9821 IFS="$ac_save_ifs"
9822 else
9823 acl_cv_path_LD="$LD" # Let the user override the test with a path.
9827 LD="$acl_cv_path_LD"
9828 if test -n "$LD"; then
9829 echo "$as_me:$LINENO: result: $LD" >&5
9830 echo "${ECHO_T}$LD" >&6
9831 else
9832 echo "$as_me:$LINENO: result: no" >&5
9833 echo "${ECHO_T}no" >&6
9835 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9836 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9837 { (exit 1); exit 1; }; }
9838 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9839 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9840 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9841 echo $ECHO_N "(cached) $ECHO_C" >&6
9842 else
9843 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9844 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9845 acl_cv_prog_gnu_ld=yes
9846 else
9847 acl_cv_prog_gnu_ld=no
9850 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9851 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9852 with_gnu_ld=$acl_cv_prog_gnu_ld
9856 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9857 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9858 if test "${acl_cv_rpath+set}" = set; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 else
9862 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
9863 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9864 . ./conftest.sh
9865 rm -f ./conftest.sh
9866 acl_cv_rpath=done
9869 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9870 echo "${ECHO_T}$acl_cv_rpath" >&6
9871 wl="$acl_cv_wl"
9872 libext="$acl_cv_libext"
9873 shlibext="$acl_cv_shlibext"
9874 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
9875 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
9876 hardcode_direct="$acl_cv_hardcode_direct"
9877 hardcode_minus_L="$acl_cv_hardcode_minus_L"
9878 # Check whether --enable-rpath or --disable-rpath was given.
9879 if test "${enable_rpath+set}" = set; then
9880 enableval="$enable_rpath"
9882 else
9883 enable_rpath=yes
9892 use_additional=yes
9894 acl_save_prefix="$prefix"
9895 prefix="$acl_final_prefix"
9896 acl_save_exec_prefix="$exec_prefix"
9897 exec_prefix="$acl_final_exec_prefix"
9899 eval additional_includedir=\"$includedir\"
9900 eval additional_libdir=\"$libdir\"
9902 exec_prefix="$acl_save_exec_prefix"
9903 prefix="$acl_save_prefix"
9906 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9907 if test "${with_libiconv_prefix+set}" = set; then
9908 withval="$with_libiconv_prefix"
9910 if test "X$withval" = "Xno"; then
9911 use_additional=no
9912 else
9913 if test "X$withval" = "X"; then
9915 acl_save_prefix="$prefix"
9916 prefix="$acl_final_prefix"
9917 acl_save_exec_prefix="$exec_prefix"
9918 exec_prefix="$acl_final_exec_prefix"
9920 eval additional_includedir=\"$includedir\"
9921 eval additional_libdir=\"$libdir\"
9923 exec_prefix="$acl_save_exec_prefix"
9924 prefix="$acl_save_prefix"
9926 else
9927 additional_includedir="$withval/include"
9928 additional_libdir="$withval/lib"
9933 LIBICONV=
9934 LTLIBICONV=
9935 INCICONV=
9936 rpathdirs=
9937 ltrpathdirs=
9938 names_already_handled=
9939 names_next_round='iconv '
9940 while test -n "$names_next_round"; do
9941 names_this_round="$names_next_round"
9942 names_next_round=
9943 for name in $names_this_round; do
9944 already_handled=
9945 for n in $names_already_handled; do
9946 if test "$n" = "$name"; then
9947 already_handled=yes
9948 break
9950 done
9951 if test -z "$already_handled"; then
9952 names_already_handled="$names_already_handled $name"
9953 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9954 eval value=\"\$HAVE_LIB$uppername\"
9955 if test -n "$value"; then
9956 if test "$value" = yes; then
9957 eval value=\"\$LIB$uppername\"
9958 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
9959 eval value=\"\$LTLIB$uppername\"
9960 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
9961 else
9964 else
9965 found_dir=
9966 found_la=
9967 found_so=
9968 found_a=
9969 if test $use_additional = yes; then
9970 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9971 found_dir="$additional_libdir"
9972 found_so="$additional_libdir/lib$name.$shlibext"
9973 if test -f "$additional_libdir/lib$name.la"; then
9974 found_la="$additional_libdir/lib$name.la"
9976 else
9977 if test -f "$additional_libdir/lib$name.$libext"; then
9978 found_dir="$additional_libdir"
9979 found_a="$additional_libdir/lib$name.$libext"
9980 if test -f "$additional_libdir/lib$name.la"; then
9981 found_la="$additional_libdir/lib$name.la"
9986 if test "X$found_dir" = "X"; then
9987 for x in $LDFLAGS $LTLIBICONV; do
9989 acl_save_prefix="$prefix"
9990 prefix="$acl_final_prefix"
9991 acl_save_exec_prefix="$exec_prefix"
9992 exec_prefix="$acl_final_exec_prefix"
9993 eval x=\"$x\"
9994 exec_prefix="$acl_save_exec_prefix"
9995 prefix="$acl_save_prefix"
9997 case "$x" in
9998 -L*)
9999 dir=`echo "X$x" | sed -e 's/^X-L//'`
10000 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10001 found_dir="$dir"
10002 found_so="$dir/lib$name.$shlibext"
10003 if test -f "$dir/lib$name.la"; then
10004 found_la="$dir/lib$name.la"
10006 else
10007 if test -f "$dir/lib$name.$libext"; then
10008 found_dir="$dir"
10009 found_a="$dir/lib$name.$libext"
10010 if test -f "$dir/lib$name.la"; then
10011 found_la="$dir/lib$name.la"
10016 esac
10017 if test "X$found_dir" != "X"; then
10018 break
10020 done
10022 if test "X$found_dir" != "X"; then
10023 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10024 if test "X$found_so" != "X"; then
10025 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
10026 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10027 else
10028 haveit=
10029 for x in $ltrpathdirs; do
10030 if test "X$x" = "X$found_dir"; then
10031 haveit=yes
10032 break
10034 done
10035 if test -z "$haveit"; then
10036 ltrpathdirs="$ltrpathdirs $found_dir"
10038 if test "$hardcode_direct" = yes; then
10039 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10040 else
10041 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
10042 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10043 haveit=
10044 for x in $rpathdirs; do
10045 if test "X$x" = "X$found_dir"; then
10046 haveit=yes
10047 break
10049 done
10050 if test -z "$haveit"; then
10051 rpathdirs="$rpathdirs $found_dir"
10053 else
10054 haveit=
10055 for x in $LDFLAGS $LIBICONV; do
10057 acl_save_prefix="$prefix"
10058 prefix="$acl_final_prefix"
10059 acl_save_exec_prefix="$exec_prefix"
10060 exec_prefix="$acl_final_exec_prefix"
10061 eval x=\"$x\"
10062 exec_prefix="$acl_save_exec_prefix"
10063 prefix="$acl_save_prefix"
10065 if test "X$x" = "X-L$found_dir"; then
10066 haveit=yes
10067 break
10069 done
10070 if test -z "$haveit"; then
10071 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10073 if test "$hardcode_minus_L" != no; then
10074 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10075 else
10076 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10081 else
10082 if test "X$found_a" != "X"; then
10083 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
10084 else
10085 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10088 additional_includedir=
10089 case "$found_dir" in
10090 */lib | */lib/)
10091 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10092 additional_includedir="$basedir/include"
10094 esac
10095 if test "X$additional_includedir" != "X"; then
10096 if test "X$additional_includedir" != "X/usr/include"; then
10097 haveit=
10098 if test "X$additional_includedir" = "X/usr/local/include"; then
10099 if test -n "$GCC"; then
10100 case $host_os in
10101 linux*) haveit=yes;;
10102 esac
10105 if test -z "$haveit"; then
10106 for x in $CPPFLAGS $INCICONV; do
10108 acl_save_prefix="$prefix"
10109 prefix="$acl_final_prefix"
10110 acl_save_exec_prefix="$exec_prefix"
10111 exec_prefix="$acl_final_exec_prefix"
10112 eval x=\"$x\"
10113 exec_prefix="$acl_save_exec_prefix"
10114 prefix="$acl_save_prefix"
10116 if test "X$x" = "X-I$additional_includedir"; then
10117 haveit=yes
10118 break
10120 done
10121 if test -z "$haveit"; then
10122 if test -d "$additional_includedir"; then
10123 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10129 if test -n "$found_la"; then
10130 save_libdir="$libdir"
10131 case "$found_la" in
10132 */* | *\\*) . "$found_la" ;;
10133 *) . "./$found_la" ;;
10134 esac
10135 libdir="$save_libdir"
10136 for dep in $dependency_libs; do
10137 case "$dep" in
10138 -L*)
10139 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
10140 if test "X$additional_libdir" != "X/usr/lib"; then
10141 haveit=
10142 if test "X$additional_libdir" = "X/usr/local/lib"; then
10143 if test -n "$GCC"; then
10144 case $host_os in
10145 linux*) haveit=yes;;
10146 esac
10149 if test -z "$haveit"; then
10150 haveit=
10151 for x in $LDFLAGS $LIBICONV; do
10153 acl_save_prefix="$prefix"
10154 prefix="$acl_final_prefix"
10155 acl_save_exec_prefix="$exec_prefix"
10156 exec_prefix="$acl_final_exec_prefix"
10157 eval x=\"$x\"
10158 exec_prefix="$acl_save_exec_prefix"
10159 prefix="$acl_save_prefix"
10161 if test "X$x" = "X-L$additional_libdir"; then
10162 haveit=yes
10163 break
10165 done
10166 if test -z "$haveit"; then
10167 if test -d "$additional_libdir"; then
10168 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10171 haveit=
10172 for x in $LDFLAGS $LTLIBICONV; do
10174 acl_save_prefix="$prefix"
10175 prefix="$acl_final_prefix"
10176 acl_save_exec_prefix="$exec_prefix"
10177 exec_prefix="$acl_final_exec_prefix"
10178 eval x=\"$x\"
10179 exec_prefix="$acl_save_exec_prefix"
10180 prefix="$acl_save_prefix"
10182 if test "X$x" = "X-L$additional_libdir"; then
10183 haveit=yes
10184 break
10186 done
10187 if test -z "$haveit"; then
10188 if test -d "$additional_libdir"; then
10189 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10195 -R*)
10196 dir=`echo "X$dep" | sed -e 's/^X-R//'`
10197 if test "$enable_rpath" != no; then
10198 haveit=
10199 for x in $rpathdirs; do
10200 if test "X$x" = "X$dir"; then
10201 haveit=yes
10202 break
10204 done
10205 if test -z "$haveit"; then
10206 rpathdirs="$rpathdirs $dir"
10208 haveit=
10209 for x in $ltrpathdirs; do
10210 if test "X$x" = "X$dir"; then
10211 haveit=yes
10212 break
10214 done
10215 if test -z "$haveit"; then
10216 ltrpathdirs="$ltrpathdirs $dir"
10220 -l*)
10221 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10223 *.la)
10224 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10227 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
10228 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10230 esac
10231 done
10233 else
10234 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10235 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10239 done
10240 done
10241 if test "X$rpathdirs" != "X"; then
10242 if test -n "$hardcode_libdir_separator"; then
10243 alldirs=
10244 for found_dir in $rpathdirs; do
10245 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10246 done
10247 acl_save_libdir="$libdir"
10248 libdir="$alldirs"
10249 eval flag=\"$hardcode_libdir_flag_spec\"
10250 libdir="$acl_save_libdir"
10251 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10252 else
10253 for found_dir in $rpathdirs; do
10254 acl_save_libdir="$libdir"
10255 libdir="$found_dir"
10256 eval flag=\"$hardcode_libdir_flag_spec\"
10257 libdir="$acl_save_libdir"
10258 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10259 done
10262 if test "X$ltrpathdirs" != "X"; then
10263 for found_dir in $ltrpathdirs; do
10264 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10265 done
10274 am_save_CPPFLAGS="$CPPFLAGS"
10276 for element in $INCICONV; do
10277 haveit=
10278 for x in $CPPFLAGS; do
10280 acl_save_prefix="$prefix"
10281 prefix="$acl_final_prefix"
10282 acl_save_exec_prefix="$exec_prefix"
10283 exec_prefix="$acl_final_exec_prefix"
10284 eval x=\"$x\"
10285 exec_prefix="$acl_save_exec_prefix"
10286 prefix="$acl_save_prefix"
10288 if test "X$x" = "X$element"; then
10289 haveit=yes
10290 break
10292 done
10293 if test -z "$haveit"; then
10294 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10296 done
10299 echo "$as_me:$LINENO: checking for iconv" >&5
10300 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10301 if test "${am_cv_func_iconv+set}" = set; then
10302 echo $ECHO_N "(cached) $ECHO_C" >&6
10303 else
10305 am_cv_func_iconv="no, consider installing GNU libiconv"
10306 am_cv_lib_iconv=no
10307 if test x$gcc_no_link = xyes; then
10308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10310 { (exit 1); exit 1; }; }
10312 cat >conftest.$ac_ext <<_ACEOF
10313 /* confdefs.h. */
10314 _ACEOF
10315 cat confdefs.h >>conftest.$ac_ext
10316 cat >>conftest.$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10318 #include <stdlib.h>
10319 #include <iconv.h>
10321 main ()
10323 iconv_t cd = iconv_open("","");
10324 iconv(cd,NULL,NULL,NULL,NULL);
10325 iconv_close(cd);
10327 return 0;
10329 _ACEOF
10330 rm -f conftest.$ac_objext conftest$ac_exeext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10332 (eval $ac_link) 2>conftest.er1
10333 ac_status=$?
10334 grep -v '^ *+' conftest.er1 >conftest.err
10335 rm -f conftest.er1
10336 cat conftest.err >&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); } &&
10339 { ac_try='test -z "$ac_c_werror_flag"
10340 || test ! -s conftest.err'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10343 ac_status=$?
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; } &&
10346 { ac_try='test -s conftest$ac_exeext'
10347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10348 (eval $ac_try) 2>&5
10349 ac_status=$?
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); }; }; then
10352 am_cv_func_iconv=yes
10353 else
10354 echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.$ac_ext >&5
10358 rm -f conftest.err conftest.$ac_objext \
10359 conftest$ac_exeext conftest.$ac_ext
10360 if test "$am_cv_func_iconv" != yes; then
10361 am_save_LIBS="$LIBS"
10362 LIBS="$LIBS $LIBICONV"
10363 if test x$gcc_no_link = xyes; then
10364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10366 { (exit 1); exit 1; }; }
10368 cat >conftest.$ac_ext <<_ACEOF
10369 /* confdefs.h. */
10370 _ACEOF
10371 cat confdefs.h >>conftest.$ac_ext
10372 cat >>conftest.$ac_ext <<_ACEOF
10373 /* end confdefs.h. */
10374 #include <stdlib.h>
10375 #include <iconv.h>
10377 main ()
10379 iconv_t cd = iconv_open("","");
10380 iconv(cd,NULL,NULL,NULL,NULL);
10381 iconv_close(cd);
10383 return 0;
10385 _ACEOF
10386 rm -f conftest.$ac_objext conftest$ac_exeext
10387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10388 (eval $ac_link) 2>conftest.er1
10389 ac_status=$?
10390 grep -v '^ *+' conftest.er1 >conftest.err
10391 rm -f conftest.er1
10392 cat conftest.err >&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); } &&
10395 { ac_try='test -z "$ac_c_werror_flag"
10396 || test ! -s conftest.err'
10397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10398 (eval $ac_try) 2>&5
10399 ac_status=$?
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); }; } &&
10402 { ac_try='test -s conftest$ac_exeext'
10403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10404 (eval $ac_try) 2>&5
10405 ac_status=$?
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); }; }; then
10408 am_cv_lib_iconv=yes
10409 am_cv_func_iconv=yes
10410 else
10411 echo "$as_me: failed program was:" >&5
10412 sed 's/^/| /' conftest.$ac_ext >&5
10415 rm -f conftest.err conftest.$ac_objext \
10416 conftest$ac_exeext conftest.$ac_ext
10417 LIBS="$am_save_LIBS"
10421 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10422 echo "${ECHO_T}$am_cv_func_iconv" >&6
10423 if test "$am_cv_func_iconv" = yes; then
10425 cat >>confdefs.h <<\_ACEOF
10426 #define HAVE_ICONV 1
10427 _ACEOF
10430 if test "$am_cv_lib_iconv" = yes; then
10431 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10432 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10433 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10434 echo "${ECHO_T}$LIBICONV" >&6
10435 else
10436 CPPFLAGS="$am_save_CPPFLAGS"
10437 LIBICONV=
10438 LTLIBICONV=
10443 if test "$am_cv_func_iconv" = yes; then
10444 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10445 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10446 if test "${am_cv_proto_iconv+set}" = set; then
10447 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 else
10450 cat >conftest.$ac_ext <<_ACEOF
10451 /* confdefs.h. */
10452 _ACEOF
10453 cat confdefs.h >>conftest.$ac_ext
10454 cat >>conftest.$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10457 #include <stdlib.h>
10458 #include <iconv.h>
10459 extern
10460 #ifdef __cplusplus
10462 #endif
10463 #if defined(__STDC__) || defined(__cplusplus)
10464 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10465 #else
10466 size_t iconv();
10467 #endif
10470 main ()
10474 return 0;
10476 _ACEOF
10477 rm -f conftest.$ac_objext
10478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10479 (eval $ac_compile) 2>conftest.er1
10480 ac_status=$?
10481 grep -v '^ *+' conftest.er1 >conftest.err
10482 rm -f conftest.er1
10483 cat conftest.err >&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } &&
10486 { ac_try='test -z "$ac_c_werror_flag"
10487 || test ! -s conftest.err'
10488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10489 (eval $ac_try) 2>&5
10490 ac_status=$?
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); }; } &&
10493 { ac_try='test -s conftest.$ac_objext'
10494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10495 (eval $ac_try) 2>&5
10496 ac_status=$?
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); }; }; then
10499 am_cv_proto_iconv_arg1=""
10500 else
10501 echo "$as_me: failed program was:" >&5
10502 sed 's/^/| /' conftest.$ac_ext >&5
10504 am_cv_proto_iconv_arg1="const"
10506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10507 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);"
10510 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10511 echo "$as_me:$LINENO: result: ${ac_t:-
10512 }$am_cv_proto_iconv" >&5
10513 echo "${ECHO_T}${ac_t:-
10514 }$am_cv_proto_iconv" >&6
10516 cat >>confdefs.h <<_ACEOF
10517 #define ICONV_CONST $am_cv_proto_iconv_arg1
10518 _ACEOF
10523 if test "x${GCC}" = xyes; then
10525 WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
10528 STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
10531 ERROR_CFLAGS=
10532 if test "x${ENABLE_WERROR}" = xyes; then
10533 ERROR_CFLAGS='-Werror'
10538 if test "x${COMPILE_XMLJ}" = xyes; then
10540 succeeded=no
10542 if test -z "$PKG_CONFIG"; then
10543 # Extract the first word of "pkg-config", so it can be a program name with args.
10544 set dummy pkg-config; ac_word=$2
10545 echo "$as_me:$LINENO: checking for $ac_word" >&5
10546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10547 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10548 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 else
10550 case $PKG_CONFIG in
10551 [\\/]* | ?:[\\/]*)
10552 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10556 for as_dir in $PATH
10558 IFS=$as_save_IFS
10559 test -z "$as_dir" && as_dir=.
10560 for ac_exec_ext in '' $ac_executable_extensions; do
10561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10562 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10564 break 2
10566 done
10567 done
10569 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10571 esac
10573 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10575 if test -n "$PKG_CONFIG"; then
10576 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10577 echo "${ECHO_T}$PKG_CONFIG" >&6
10578 else
10579 echo "$as_me:$LINENO: result: no" >&5
10580 echo "${ECHO_T}no" >&6
10585 if test "$PKG_CONFIG" = "no" ; then
10586 echo "*** The pkg-config script could not be found. Make sure it is"
10587 echo "*** in your path, or set the PKG_CONFIG environment variable"
10588 echo "*** to the full path to pkg-config."
10589 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10590 else
10591 PKG_CONFIG_MIN_VERSION=0.9.0
10592 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10593 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
10594 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
10596 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
10597 echo "$as_me:$LINENO: result: yes" >&5
10598 echo "${ECHO_T}yes" >&6
10599 succeeded=yes
10601 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
10602 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
10603 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
10604 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
10605 echo "${ECHO_T}$XML_CFLAGS" >&6
10607 echo "$as_me:$LINENO: checking XML_LIBS" >&5
10608 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
10609 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
10610 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
10611 echo "${ECHO_T}$XML_LIBS" >&6
10612 else
10613 XML_CFLAGS=""
10614 XML_LIBS=""
10615 ## If we have a custom action on failure, don't print errors, but
10616 ## do set a variable so people can do so.
10617 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
10618 echo $XML_PKG_ERRORS
10623 else
10624 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10625 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10629 if test $succeeded = yes; then
10631 else
10632 { { 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
10633 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;}
10634 { (exit 1); exit 1; }; }
10638 succeeded=no
10640 if test -z "$PKG_CONFIG"; then
10641 # Extract the first word of "pkg-config", so it can be a program name with args.
10642 set dummy pkg-config; ac_word=$2
10643 echo "$as_me:$LINENO: checking for $ac_word" >&5
10644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10645 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10646 echo $ECHO_N "(cached) $ECHO_C" >&6
10647 else
10648 case $PKG_CONFIG in
10649 [\\/]* | ?:[\\/]*)
10650 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10654 for as_dir in $PATH
10656 IFS=$as_save_IFS
10657 test -z "$as_dir" && as_dir=.
10658 for ac_exec_ext in '' $ac_executable_extensions; do
10659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10660 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10662 break 2
10664 done
10665 done
10667 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10669 esac
10671 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10673 if test -n "$PKG_CONFIG"; then
10674 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10675 echo "${ECHO_T}$PKG_CONFIG" >&6
10676 else
10677 echo "$as_me:$LINENO: result: no" >&5
10678 echo "${ECHO_T}no" >&6
10683 if test "$PKG_CONFIG" = "no" ; then
10684 echo "*** The pkg-config script could not be found. Make sure it is"
10685 echo "*** in your path, or set the PKG_CONFIG environment variable"
10686 echo "*** to the full path to pkg-config."
10687 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10688 else
10689 PKG_CONFIG_MIN_VERSION=0.9.0
10690 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10691 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
10692 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
10694 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
10695 echo "$as_me:$LINENO: result: yes" >&5
10696 echo "${ECHO_T}yes" >&6
10697 succeeded=yes
10699 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
10700 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
10701 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
10702 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
10703 echo "${ECHO_T}$XSLT_CFLAGS" >&6
10705 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
10706 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
10707 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
10708 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
10709 echo "${ECHO_T}$XSLT_LIBS" >&6
10710 else
10711 XSLT_CFLAGS=""
10712 XSLT_LIBS=""
10713 ## If we have a custom action on failure, don't print errors, but
10714 ## do set a variable so people can do so.
10715 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
10716 echo $XSLT_PKG_ERRORS
10721 else
10722 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10723 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10727 if test $succeeded = yes; then
10729 else
10730 { { 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
10731 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;}
10732 { (exit 1); exit 1; }; }
10741 if test "x${COMPILE_GTK_PEER}" = xyes; then
10742 echo "$as_me:$LINENO: checking for X" >&5
10743 echo $ECHO_N "checking for X... $ECHO_C" >&6
10746 # Check whether --with-x or --without-x was given.
10747 if test "${with_x+set}" = set; then
10748 withval="$with_x"
10751 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10752 if test "x$with_x" = xno; then
10753 # The user explicitly disabled X.
10754 have_x=disabled
10755 else
10756 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
10757 # Both variables are already set.
10758 have_x=yes
10759 else
10760 if test "${ac_cv_have_x+set}" = set; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10762 else
10763 # One or both of the vars are not set, and there is no cached value.
10764 ac_x_includes=no ac_x_libraries=no
10765 rm -fr conftest.dir
10766 if mkdir conftest.dir; then
10767 cd conftest.dir
10768 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10769 cat >Imakefile <<'_ACEOF'
10770 acfindx:
10771 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10772 _ACEOF
10773 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
10774 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10775 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10776 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10777 for ac_extension in a so sl; do
10778 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
10779 test -f $ac_im_libdir/libX11.$ac_extension; then
10780 ac_im_usrlibdir=$ac_im_libdir; break
10782 done
10783 # Screen out bogus values from the imake configuration. They are
10784 # bogus both because they are the default anyway, and because
10785 # using them would break gcc on systems where it needs fixed includes.
10786 case $ac_im_incroot in
10787 /usr/include) ;;
10788 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10789 esac
10790 case $ac_im_usrlibdir in
10791 /usr/lib | /lib) ;;
10792 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10793 esac
10795 cd ..
10796 rm -fr conftest.dir
10799 # Standard set of common directories for X headers.
10800 # Check X11 before X11Rn because it is often a symlink to the current release.
10801 ac_x_header_dirs='
10802 /usr/X11/include
10803 /usr/X11R6/include
10804 /usr/X11R5/include
10805 /usr/X11R4/include
10807 /usr/include/X11
10808 /usr/include/X11R6
10809 /usr/include/X11R5
10810 /usr/include/X11R4
10812 /usr/local/X11/include
10813 /usr/local/X11R6/include
10814 /usr/local/X11R5/include
10815 /usr/local/X11R4/include
10817 /usr/local/include/X11
10818 /usr/local/include/X11R6
10819 /usr/local/include/X11R5
10820 /usr/local/include/X11R4
10822 /usr/X386/include
10823 /usr/x386/include
10824 /usr/XFree86/include/X11
10826 /usr/include
10827 /usr/local/include
10828 /usr/unsupported/include
10829 /usr/athena/include
10830 /usr/local/x11r5/include
10831 /usr/lpp/Xamples/include
10833 /usr/openwin/include
10834 /usr/openwin/share/include'
10836 if test "$ac_x_includes" = no; then
10837 # Guess where to find include files, by looking for Xlib.h.
10838 # First, try using that file with no special directory specified.
10839 cat >conftest.$ac_ext <<_ACEOF
10840 /* confdefs.h. */
10841 _ACEOF
10842 cat confdefs.h >>conftest.$ac_ext
10843 cat >>conftest.$ac_ext <<_ACEOF
10844 /* end confdefs.h. */
10845 #include <X11/Xlib.h>
10846 _ACEOF
10847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10849 ac_status=$?
10850 grep -v '^ *+' conftest.er1 >conftest.err
10851 rm -f conftest.er1
10852 cat conftest.err >&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); } >/dev/null; then
10855 if test -s conftest.err; then
10856 ac_cpp_err=$ac_c_preproc_warn_flag
10857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10858 else
10859 ac_cpp_err=
10861 else
10862 ac_cpp_err=yes
10864 if test -z "$ac_cpp_err"; then
10865 # We can compile using X headers with no special include directory.
10866 ac_x_includes=
10867 else
10868 echo "$as_me: failed program was:" >&5
10869 sed 's/^/| /' conftest.$ac_ext >&5
10871 for ac_dir in $ac_x_header_dirs; do
10872 if test -r "$ac_dir/X11/Xlib.h"; then
10873 ac_x_includes=$ac_dir
10874 break
10876 done
10878 rm -f conftest.err conftest.$ac_ext
10879 fi # $ac_x_includes = no
10881 if test "$ac_x_libraries" = no; then
10882 # Check for the libraries.
10883 # See if we find them without any special options.
10884 # Don't add to $LIBS permanently.
10885 ac_save_LIBS=$LIBS
10886 LIBS="-lX11 $LIBS"
10887 if test x$gcc_no_link = xyes; then
10888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10890 { (exit 1); exit 1; }; }
10892 cat >conftest.$ac_ext <<_ACEOF
10893 /* confdefs.h. */
10894 _ACEOF
10895 cat confdefs.h >>conftest.$ac_ext
10896 cat >>conftest.$ac_ext <<_ACEOF
10897 /* end confdefs.h. */
10898 #include <X11/Xlib.h>
10900 main ()
10902 XrmInitialize ()
10904 return 0;
10906 _ACEOF
10907 rm -f conftest.$ac_objext conftest$ac_exeext
10908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10909 (eval $ac_link) 2>conftest.er1
10910 ac_status=$?
10911 grep -v '^ *+' conftest.er1 >conftest.err
10912 rm -f conftest.er1
10913 cat conftest.err >&5
10914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10915 (exit $ac_status); } &&
10916 { ac_try='test -z "$ac_c_werror_flag"
10917 || test ! -s conftest.err'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10920 ac_status=$?
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; } &&
10923 { ac_try='test -s conftest$ac_exeext'
10924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10925 (eval $ac_try) 2>&5
10926 ac_status=$?
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }; }; then
10929 LIBS=$ac_save_LIBS
10930 # We can link X programs with no special library path.
10931 ac_x_libraries=
10932 else
10933 echo "$as_me: failed program was:" >&5
10934 sed 's/^/| /' conftest.$ac_ext >&5
10936 LIBS=$ac_save_LIBS
10937 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10939 # Don't even attempt the hair of trying to link an X program!
10940 for ac_extension in a so sl; do
10941 if test -r $ac_dir/libXt.$ac_extension; then
10942 ac_x_libraries=$ac_dir
10943 break 2
10945 done
10946 done
10948 rm -f conftest.err conftest.$ac_objext \
10949 conftest$ac_exeext conftest.$ac_ext
10950 fi # $ac_x_libraries = no
10952 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
10953 # Didn't find X anywhere. Cache the known absence of X.
10954 ac_cv_have_x="have_x=no"
10955 else
10956 # Record where we found X for the cache.
10957 ac_cv_have_x="have_x=yes \
10958 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10963 eval "$ac_cv_have_x"
10964 fi # $with_x != no
10966 if test "$have_x" != yes; then
10967 echo "$as_me:$LINENO: result: $have_x" >&5
10968 echo "${ECHO_T}$have_x" >&6
10969 no_x=yes
10970 else
10971 # If each of the values was on the command line, it overrides each guess.
10972 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10973 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10974 # Update the cache value to reflect the command line values.
10975 ac_cv_have_x="have_x=yes \
10976 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10977 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10978 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10981 if test "$no_x" = yes; then
10982 # Not all programs may use this symbol, but it does not hurt to define it.
10984 cat >>confdefs.h <<\_ACEOF
10985 #define X_DISPLAY_MISSING 1
10986 _ACEOF
10988 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10989 else
10990 if test -n "$x_includes"; then
10991 X_CFLAGS="$X_CFLAGS -I$x_includes"
10994 # It would also be nice to do this for all -L options, not just this one.
10995 if test -n "$x_libraries"; then
10996 X_LIBS="$X_LIBS -L$x_libraries"
10997 # For Solaris; some versions of Sun CC require a space after -R and
10998 # others require no space. Words are not sufficient . . . .
10999 case `(uname -sr) 2>/dev/null` in
11000 "SunOS 5"*)
11001 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
11002 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
11003 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11004 if test x$gcc_no_link = xyes; then
11005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11007 { (exit 1); exit 1; }; }
11009 cat >conftest.$ac_ext <<_ACEOF
11010 /* confdefs.h. */
11011 _ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11017 main ()
11021 return 0;
11023 _ACEOF
11024 rm -f conftest.$ac_objext conftest$ac_exeext
11025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11026 (eval $ac_link) 2>conftest.er1
11027 ac_status=$?
11028 grep -v '^ *+' conftest.er1 >conftest.err
11029 rm -f conftest.er1
11030 cat conftest.err >&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } &&
11033 { ac_try='test -z "$ac_c_werror_flag"
11034 || test ! -s conftest.err'
11035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11036 (eval $ac_try) 2>&5
11037 ac_status=$?
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); }; } &&
11040 { ac_try='test -s conftest$ac_exeext'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11043 ac_status=$?
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; }; then
11046 ac_R_nospace=yes
11047 else
11048 echo "$as_me: failed program was:" >&5
11049 sed 's/^/| /' conftest.$ac_ext >&5
11051 ac_R_nospace=no
11053 rm -f conftest.err conftest.$ac_objext \
11054 conftest$ac_exeext conftest.$ac_ext
11055 if test $ac_R_nospace = yes; then
11056 echo "$as_me:$LINENO: result: no" >&5
11057 echo "${ECHO_T}no" >&6
11058 X_LIBS="$X_LIBS -R$x_libraries"
11059 else
11060 LIBS="$ac_xsave_LIBS -R $x_libraries"
11061 if test x$gcc_no_link = xyes; then
11062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11064 { (exit 1); exit 1; }; }
11066 cat >conftest.$ac_ext <<_ACEOF
11067 /* confdefs.h. */
11068 _ACEOF
11069 cat confdefs.h >>conftest.$ac_ext
11070 cat >>conftest.$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11074 main ()
11078 return 0;
11080 _ACEOF
11081 rm -f conftest.$ac_objext conftest$ac_exeext
11082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11083 (eval $ac_link) 2>conftest.er1
11084 ac_status=$?
11085 grep -v '^ *+' conftest.er1 >conftest.err
11086 rm -f conftest.er1
11087 cat conftest.err >&5
11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); } &&
11090 { ac_try='test -z "$ac_c_werror_flag"
11091 || test ! -s conftest.err'
11092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11093 (eval $ac_try) 2>&5
11094 ac_status=$?
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); }; } &&
11097 { ac_try='test -s conftest$ac_exeext'
11098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11099 (eval $ac_try) 2>&5
11100 ac_status=$?
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); }; }; then
11103 ac_R_space=yes
11104 else
11105 echo "$as_me: failed program was:" >&5
11106 sed 's/^/| /' conftest.$ac_ext >&5
11108 ac_R_space=no
11110 rm -f conftest.err conftest.$ac_objext \
11111 conftest$ac_exeext conftest.$ac_ext
11112 if test $ac_R_space = yes; then
11113 echo "$as_me:$LINENO: result: yes" >&5
11114 echo "${ECHO_T}yes" >&6
11115 X_LIBS="$X_LIBS -R $x_libraries"
11116 else
11117 echo "$as_me:$LINENO: result: neither works" >&5
11118 echo "${ECHO_T}neither works" >&6
11121 LIBS=$ac_xsave_LIBS
11122 esac
11125 # Check for system-dependent libraries X programs must link with.
11126 # Do this before checking for the system-independent R6 libraries
11127 # (-lICE), since we may need -lsocket or whatever for X linking.
11129 if test "$ISC" = yes; then
11130 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11131 else
11132 # Martyn Johnson says this is needed for Ultrix, if the X
11133 # libraries were built with DECnet support. And Karl Berry says
11134 # the Alpha needs dnet_stub (dnet does not exist).
11135 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11136 if test x$gcc_no_link = xyes; then
11137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11139 { (exit 1); exit 1; }; }
11141 cat >conftest.$ac_ext <<_ACEOF
11142 /* confdefs.h. */
11143 _ACEOF
11144 cat confdefs.h >>conftest.$ac_ext
11145 cat >>conftest.$ac_ext <<_ACEOF
11146 /* end confdefs.h. */
11148 /* Override any gcc2 internal prototype to avoid an error. */
11149 #ifdef __cplusplus
11150 extern "C"
11151 #endif
11152 /* We use char because int might match the return type of a gcc2
11153 builtin and then its argument prototype would still apply. */
11154 char XOpenDisplay ();
11156 main ()
11158 XOpenDisplay ();
11160 return 0;
11162 _ACEOF
11163 rm -f conftest.$ac_objext conftest$ac_exeext
11164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11165 (eval $ac_link) 2>conftest.er1
11166 ac_status=$?
11167 grep -v '^ *+' conftest.er1 >conftest.err
11168 rm -f conftest.er1
11169 cat conftest.err >&5
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); } &&
11172 { ac_try='test -z "$ac_c_werror_flag"
11173 || test ! -s conftest.err'
11174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11175 (eval $ac_try) 2>&5
11176 ac_status=$?
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); }; } &&
11179 { ac_try='test -s conftest$ac_exeext'
11180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11181 (eval $ac_try) 2>&5
11182 ac_status=$?
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); }; }; then
11186 else
11187 echo "$as_me: failed program was:" >&5
11188 sed 's/^/| /' conftest.$ac_ext >&5
11190 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11191 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
11192 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-ldnet $LIBS"
11197 if test x$gcc_no_link = xyes; then
11198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11200 { (exit 1); exit 1; }; }
11202 cat >conftest.$ac_ext <<_ACEOF
11203 /* confdefs.h. */
11204 _ACEOF
11205 cat confdefs.h >>conftest.$ac_ext
11206 cat >>conftest.$ac_ext <<_ACEOF
11207 /* end confdefs.h. */
11209 /* Override any gcc2 internal prototype to avoid an error. */
11210 #ifdef __cplusplus
11211 extern "C"
11212 #endif
11213 /* We use char because int might match the return type of a gcc2
11214 builtin and then its argument prototype would still apply. */
11215 char dnet_ntoa ();
11217 main ()
11219 dnet_ntoa ();
11221 return 0;
11223 _ACEOF
11224 rm -f conftest.$ac_objext conftest$ac_exeext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11226 (eval $ac_link) 2>conftest.er1
11227 ac_status=$?
11228 grep -v '^ *+' conftest.er1 >conftest.err
11229 rm -f conftest.er1
11230 cat conftest.err >&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } &&
11233 { ac_try='test -z "$ac_c_werror_flag"
11234 || test ! -s conftest.err'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11237 ac_status=$?
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; } &&
11240 { ac_try='test -s conftest$ac_exeext'
11241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242 (eval $ac_try) 2>&5
11243 ac_status=$?
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); }; }; then
11246 ac_cv_lib_dnet_dnet_ntoa=yes
11247 else
11248 echo "$as_me: failed program was:" >&5
11249 sed 's/^/| /' conftest.$ac_ext >&5
11251 ac_cv_lib_dnet_dnet_ntoa=no
11253 rm -f conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_lib_save_LIBS
11257 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11258 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
11259 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11260 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11263 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11264 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11265 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
11266 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11267 echo $ECHO_N "(cached) $ECHO_C" >&6
11268 else
11269 ac_check_lib_save_LIBS=$LIBS
11270 LIBS="-ldnet_stub $LIBS"
11271 if test x$gcc_no_link = xyes; then
11272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11274 { (exit 1); exit 1; }; }
11276 cat >conftest.$ac_ext <<_ACEOF
11277 /* confdefs.h. */
11278 _ACEOF
11279 cat confdefs.h >>conftest.$ac_ext
11280 cat >>conftest.$ac_ext <<_ACEOF
11281 /* end confdefs.h. */
11283 /* Override any gcc2 internal prototype to avoid an error. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 /* We use char because int might match the return type of a gcc2
11288 builtin and then its argument prototype would still apply. */
11289 char dnet_ntoa ();
11291 main ()
11293 dnet_ntoa ();
11295 return 0;
11297 _ACEOF
11298 rm -f conftest.$ac_objext conftest$ac_exeext
11299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11300 (eval $ac_link) 2>conftest.er1
11301 ac_status=$?
11302 grep -v '^ *+' conftest.er1 >conftest.err
11303 rm -f conftest.er1
11304 cat conftest.err >&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } &&
11307 { ac_try='test -z "$ac_c_werror_flag"
11308 || test ! -s conftest.err'
11309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11310 (eval $ac_try) 2>&5
11311 ac_status=$?
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); }; } &&
11314 { ac_try='test -s conftest$ac_exeext'
11315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11316 (eval $ac_try) 2>&5
11317 ac_status=$?
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); }; }; then
11320 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11321 else
11322 echo "$as_me: failed program was:" >&5
11323 sed 's/^/| /' conftest.$ac_ext >&5
11325 ac_cv_lib_dnet_stub_dnet_ntoa=no
11327 rm -f conftest.err conftest.$ac_objext \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_lib_save_LIBS
11331 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11332 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
11333 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11334 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11339 rm -f conftest.err conftest.$ac_objext \
11340 conftest$ac_exeext conftest.$ac_ext
11341 LIBS="$ac_xsave_LIBS"
11343 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11344 # to get the SysV transport functions.
11345 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11346 # needs -lnsl.
11347 # The nsl library prevents programs from opening the X display
11348 # on Irix 5.2, according to T.E. Dickey.
11349 # The functions gethostbyname, getservbyname, and inet_addr are
11350 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11351 echo "$as_me:$LINENO: checking for gethostbyname" >&5
11352 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
11353 if test "${ac_cv_func_gethostbyname+set}" = set; then
11354 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 else
11356 if test x$gcc_no_link = xyes; then
11357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11359 { (exit 1); exit 1; }; }
11361 cat >conftest.$ac_ext <<_ACEOF
11362 /* confdefs.h. */
11363 _ACEOF
11364 cat confdefs.h >>conftest.$ac_ext
11365 cat >>conftest.$ac_ext <<_ACEOF
11366 /* end confdefs.h. */
11367 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11369 #define gethostbyname innocuous_gethostbyname
11371 /* System header to define __stub macros and hopefully few prototypes,
11372 which can conflict with char gethostbyname (); below.
11373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11374 <limits.h> exists even on freestanding compilers. */
11376 #ifdef __STDC__
11377 # include <limits.h>
11378 #else
11379 # include <assert.h>
11380 #endif
11382 #undef gethostbyname
11384 /* Override any gcc2 internal prototype to avoid an error. */
11385 #ifdef __cplusplus
11386 extern "C"
11388 #endif
11389 /* We use char because int might match the return type of a gcc2
11390 builtin and then its argument prototype would still apply. */
11391 char gethostbyname ();
11392 /* The GNU C library defines this for functions which it implements
11393 to always fail with ENOSYS. Some functions are actually named
11394 something starting with __ and the normal name is an alias. */
11395 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11396 choke me
11397 #else
11398 char (*f) () = gethostbyname;
11399 #endif
11400 #ifdef __cplusplus
11402 #endif
11405 main ()
11407 return f != gethostbyname;
11409 return 0;
11411 _ACEOF
11412 rm -f conftest.$ac_objext conftest$ac_exeext
11413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11414 (eval $ac_link) 2>conftest.er1
11415 ac_status=$?
11416 grep -v '^ *+' conftest.er1 >conftest.err
11417 rm -f conftest.er1
11418 cat conftest.err >&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); } &&
11421 { ac_try='test -z "$ac_c_werror_flag"
11422 || test ! -s conftest.err'
11423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11424 (eval $ac_try) 2>&5
11425 ac_status=$?
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }; } &&
11428 { ac_try='test -s conftest$ac_exeext'
11429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11430 (eval $ac_try) 2>&5
11431 ac_status=$?
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); }; }; then
11434 ac_cv_func_gethostbyname=yes
11435 else
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.$ac_ext >&5
11439 ac_cv_func_gethostbyname=no
11441 rm -f conftest.err conftest.$ac_objext \
11442 conftest$ac_exeext conftest.$ac_ext
11444 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11445 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
11447 if test $ac_cv_func_gethostbyname = no; then
11448 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11449 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
11450 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11452 else
11453 ac_check_lib_save_LIBS=$LIBS
11454 LIBS="-lnsl $LIBS"
11455 if test x$gcc_no_link = xyes; then
11456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11458 { (exit 1); exit 1; }; }
11460 cat >conftest.$ac_ext <<_ACEOF
11461 /* confdefs.h. */
11462 _ACEOF
11463 cat confdefs.h >>conftest.$ac_ext
11464 cat >>conftest.$ac_ext <<_ACEOF
11465 /* end confdefs.h. */
11467 /* Override any gcc2 internal prototype to avoid an error. */
11468 #ifdef __cplusplus
11469 extern "C"
11470 #endif
11471 /* We use char because int might match the return type of a gcc2
11472 builtin and then its argument prototype would still apply. */
11473 char gethostbyname ();
11475 main ()
11477 gethostbyname ();
11479 return 0;
11481 _ACEOF
11482 rm -f conftest.$ac_objext conftest$ac_exeext
11483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11484 (eval $ac_link) 2>conftest.er1
11485 ac_status=$?
11486 grep -v '^ *+' conftest.er1 >conftest.err
11487 rm -f conftest.er1
11488 cat conftest.err >&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); } &&
11491 { ac_try='test -z "$ac_c_werror_flag"
11492 || test ! -s conftest.err'
11493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11494 (eval $ac_try) 2>&5
11495 ac_status=$?
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); }; } &&
11498 { ac_try='test -s conftest$ac_exeext'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11501 ac_status=$?
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; }; then
11504 ac_cv_lib_nsl_gethostbyname=yes
11505 else
11506 echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.$ac_ext >&5
11509 ac_cv_lib_nsl_gethostbyname=no
11511 rm -f conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_lib_save_LIBS
11515 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11516 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
11517 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11518 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11521 if test $ac_cv_lib_nsl_gethostbyname = no; then
11522 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11523 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
11524 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11525 echo $ECHO_N "(cached) $ECHO_C" >&6
11526 else
11527 ac_check_lib_save_LIBS=$LIBS
11528 LIBS="-lbsd $LIBS"
11529 if test x$gcc_no_link = xyes; then
11530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11532 { (exit 1); exit 1; }; }
11534 cat >conftest.$ac_ext <<_ACEOF
11535 /* confdefs.h. */
11536 _ACEOF
11537 cat confdefs.h >>conftest.$ac_ext
11538 cat >>conftest.$ac_ext <<_ACEOF
11539 /* end confdefs.h. */
11541 /* Override any gcc2 internal prototype to avoid an error. */
11542 #ifdef __cplusplus
11543 extern "C"
11544 #endif
11545 /* We use char because int might match the return type of a gcc2
11546 builtin and then its argument prototype would still apply. */
11547 char gethostbyname ();
11549 main ()
11551 gethostbyname ();
11553 return 0;
11555 _ACEOF
11556 rm -f conftest.$ac_objext conftest$ac_exeext
11557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11558 (eval $ac_link) 2>conftest.er1
11559 ac_status=$?
11560 grep -v '^ *+' conftest.er1 >conftest.err
11561 rm -f conftest.er1
11562 cat conftest.err >&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } &&
11565 { ac_try='test -z "$ac_c_werror_flag"
11566 || test ! -s conftest.err'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11569 ac_status=$?
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; } &&
11572 { ac_try='test -s conftest$ac_exeext'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11575 ac_status=$?
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; }; then
11578 ac_cv_lib_bsd_gethostbyname=yes
11579 else
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.$ac_ext >&5
11583 ac_cv_lib_bsd_gethostbyname=no
11585 rm -f conftest.err conftest.$ac_objext \
11586 conftest$ac_exeext conftest.$ac_ext
11587 LIBS=$ac_check_lib_save_LIBS
11589 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11590 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
11591 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11592 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11598 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11599 # socket/setsockopt and other routines are undefined under SCO ODT
11600 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11601 # on later versions), says Simon Leinen: it contains gethostby*
11602 # variants that don't use the name server (or something). -lsocket
11603 # must be given before -lnsl if both are needed. We assume that
11604 # if connect needs -lnsl, so does gethostbyname.
11605 echo "$as_me:$LINENO: checking for connect" >&5
11606 echo $ECHO_N "checking for connect... $ECHO_C" >&6
11607 if test "${ac_cv_func_connect+set}" = set; then
11608 echo $ECHO_N "(cached) $ECHO_C" >&6
11609 else
11610 if test x$gcc_no_link = xyes; then
11611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11613 { (exit 1); exit 1; }; }
11615 cat >conftest.$ac_ext <<_ACEOF
11616 /* confdefs.h. */
11617 _ACEOF
11618 cat confdefs.h >>conftest.$ac_ext
11619 cat >>conftest.$ac_ext <<_ACEOF
11620 /* end confdefs.h. */
11621 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11623 #define connect innocuous_connect
11625 /* System header to define __stub macros and hopefully few prototypes,
11626 which can conflict with char connect (); below.
11627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11628 <limits.h> exists even on freestanding compilers. */
11630 #ifdef __STDC__
11631 # include <limits.h>
11632 #else
11633 # include <assert.h>
11634 #endif
11636 #undef connect
11638 /* Override any gcc2 internal prototype to avoid an error. */
11639 #ifdef __cplusplus
11640 extern "C"
11642 #endif
11643 /* We use char because int might match the return type of a gcc2
11644 builtin and then its argument prototype would still apply. */
11645 char connect ();
11646 /* The GNU C library defines this for functions which it implements
11647 to always fail with ENOSYS. Some functions are actually named
11648 something starting with __ and the normal name is an alias. */
11649 #if defined (__stub_connect) || defined (__stub___connect)
11650 choke me
11651 #else
11652 char (*f) () = connect;
11653 #endif
11654 #ifdef __cplusplus
11656 #endif
11659 main ()
11661 return f != connect;
11663 return 0;
11665 _ACEOF
11666 rm -f conftest.$ac_objext conftest$ac_exeext
11667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11668 (eval $ac_link) 2>conftest.er1
11669 ac_status=$?
11670 grep -v '^ *+' conftest.er1 >conftest.err
11671 rm -f conftest.er1
11672 cat conftest.err >&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } &&
11675 { ac_try='test -z "$ac_c_werror_flag"
11676 || test ! -s conftest.err'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5
11679 ac_status=$?
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; } &&
11682 { ac_try='test -s conftest$ac_exeext'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11685 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then
11688 ac_cv_func_connect=yes
11689 else
11690 echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.$ac_ext >&5
11693 ac_cv_func_connect=no
11695 rm -f conftest.err conftest.$ac_objext \
11696 conftest$ac_exeext conftest.$ac_ext
11698 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11699 echo "${ECHO_T}$ac_cv_func_connect" >&6
11701 if test $ac_cv_func_connect = no; then
11702 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
11703 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
11704 if test "${ac_cv_lib_socket_connect+set}" = set; then
11705 echo $ECHO_N "(cached) $ECHO_C" >&6
11706 else
11707 ac_check_lib_save_LIBS=$LIBS
11708 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11709 if test x$gcc_no_link = xyes; then
11710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11712 { (exit 1); exit 1; }; }
11714 cat >conftest.$ac_ext <<_ACEOF
11715 /* confdefs.h. */
11716 _ACEOF
11717 cat confdefs.h >>conftest.$ac_ext
11718 cat >>conftest.$ac_ext <<_ACEOF
11719 /* end confdefs.h. */
11721 /* Override any gcc2 internal prototype to avoid an error. */
11722 #ifdef __cplusplus
11723 extern "C"
11724 #endif
11725 /* We use char because int might match the return type of a gcc2
11726 builtin and then its argument prototype would still apply. */
11727 char connect ();
11729 main ()
11731 connect ();
11733 return 0;
11735 _ACEOF
11736 rm -f conftest.$ac_objext conftest$ac_exeext
11737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11738 (eval $ac_link) 2>conftest.er1
11739 ac_status=$?
11740 grep -v '^ *+' conftest.er1 >conftest.err
11741 rm -f conftest.er1
11742 cat conftest.err >&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } &&
11745 { ac_try='test -z "$ac_c_werror_flag"
11746 || test ! -s conftest.err'
11747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748 (eval $ac_try) 2>&5
11749 ac_status=$?
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); }; } &&
11752 { ac_try='test -s conftest$ac_exeext'
11753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754 (eval $ac_try) 2>&5
11755 ac_status=$?
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }; }; then
11758 ac_cv_lib_socket_connect=yes
11759 else
11760 echo "$as_me: failed program was:" >&5
11761 sed 's/^/| /' conftest.$ac_ext >&5
11763 ac_cv_lib_socket_connect=no
11765 rm -f conftest.err conftest.$ac_objext \
11766 conftest$ac_exeext conftest.$ac_ext
11767 LIBS=$ac_check_lib_save_LIBS
11769 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11770 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
11771 if test $ac_cv_lib_socket_connect = yes; then
11772 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11777 # Guillermo Gomez says -lposix is necessary on A/UX.
11778 echo "$as_me:$LINENO: checking for remove" >&5
11779 echo $ECHO_N "checking for remove... $ECHO_C" >&6
11780 if test "${ac_cv_func_remove+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 else
11783 if test x$gcc_no_link = xyes; then
11784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11786 { (exit 1); exit 1; }; }
11788 cat >conftest.$ac_ext <<_ACEOF
11789 /* confdefs.h. */
11790 _ACEOF
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11794 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
11795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11796 #define remove innocuous_remove
11798 /* System header to define __stub macros and hopefully few prototypes,
11799 which can conflict with char remove (); below.
11800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11801 <limits.h> exists even on freestanding compilers. */
11803 #ifdef __STDC__
11804 # include <limits.h>
11805 #else
11806 # include <assert.h>
11807 #endif
11809 #undef remove
11811 /* Override any gcc2 internal prototype to avoid an error. */
11812 #ifdef __cplusplus
11813 extern "C"
11815 #endif
11816 /* We use char because int might match the return type of a gcc2
11817 builtin and then its argument prototype would still apply. */
11818 char remove ();
11819 /* The GNU C library defines this for functions which it implements
11820 to always fail with ENOSYS. Some functions are actually named
11821 something starting with __ and the normal name is an alias. */
11822 #if defined (__stub_remove) || defined (__stub___remove)
11823 choke me
11824 #else
11825 char (*f) () = remove;
11826 #endif
11827 #ifdef __cplusplus
11829 #endif
11832 main ()
11834 return f != remove;
11836 return 0;
11838 _ACEOF
11839 rm -f conftest.$ac_objext conftest$ac_exeext
11840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11841 (eval $ac_link) 2>conftest.er1
11842 ac_status=$?
11843 grep -v '^ *+' conftest.er1 >conftest.err
11844 rm -f conftest.er1
11845 cat conftest.err >&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); } &&
11848 { ac_try='test -z "$ac_c_werror_flag"
11849 || test ! -s conftest.err'
11850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11851 (eval $ac_try) 2>&5
11852 ac_status=$?
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); }; } &&
11855 { ac_try='test -s conftest$ac_exeext'
11856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5
11858 ac_status=$?
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); }; }; then
11861 ac_cv_func_remove=yes
11862 else
11863 echo "$as_me: failed program was:" >&5
11864 sed 's/^/| /' conftest.$ac_ext >&5
11866 ac_cv_func_remove=no
11868 rm -f conftest.err conftest.$ac_objext \
11869 conftest$ac_exeext conftest.$ac_ext
11871 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11872 echo "${ECHO_T}$ac_cv_func_remove" >&6
11874 if test $ac_cv_func_remove = no; then
11875 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11876 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
11877 if test "${ac_cv_lib_posix_remove+set}" = set; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 else
11880 ac_check_lib_save_LIBS=$LIBS
11881 LIBS="-lposix $LIBS"
11882 if test x$gcc_no_link = xyes; then
11883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11885 { (exit 1); exit 1; }; }
11887 cat >conftest.$ac_ext <<_ACEOF
11888 /* confdefs.h. */
11889 _ACEOF
11890 cat confdefs.h >>conftest.$ac_ext
11891 cat >>conftest.$ac_ext <<_ACEOF
11892 /* end confdefs.h. */
11894 /* Override any gcc2 internal prototype to avoid an error. */
11895 #ifdef __cplusplus
11896 extern "C"
11897 #endif
11898 /* We use char because int might match the return type of a gcc2
11899 builtin and then its argument prototype would still apply. */
11900 char remove ();
11902 main ()
11904 remove ();
11906 return 0;
11908 _ACEOF
11909 rm -f conftest.$ac_objext conftest$ac_exeext
11910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11911 (eval $ac_link) 2>conftest.er1
11912 ac_status=$?
11913 grep -v '^ *+' conftest.er1 >conftest.err
11914 rm -f conftest.er1
11915 cat conftest.err >&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try='test -z "$ac_c_werror_flag"
11919 || test ! -s conftest.err'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11922 ac_status=$?
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; } &&
11925 { ac_try='test -s conftest$ac_exeext'
11926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11928 ac_status=$?
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }; }; then
11931 ac_cv_lib_posix_remove=yes
11932 else
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.$ac_ext >&5
11936 ac_cv_lib_posix_remove=no
11938 rm -f conftest.err conftest.$ac_objext \
11939 conftest$ac_exeext conftest.$ac_ext
11940 LIBS=$ac_check_lib_save_LIBS
11942 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11943 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11944 if test $ac_cv_lib_posix_remove = yes; then
11945 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11950 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11951 echo "$as_me:$LINENO: checking for shmat" >&5
11952 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11953 if test "${ac_cv_func_shmat+set}" = set; then
11954 echo $ECHO_N "(cached) $ECHO_C" >&6
11955 else
11956 if test x$gcc_no_link = xyes; then
11957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11959 { (exit 1); exit 1; }; }
11961 cat >conftest.$ac_ext <<_ACEOF
11962 /* confdefs.h. */
11963 _ACEOF
11964 cat confdefs.h >>conftest.$ac_ext
11965 cat >>conftest.$ac_ext <<_ACEOF
11966 /* end confdefs.h. */
11967 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11969 #define shmat innocuous_shmat
11971 /* System header to define __stub macros and hopefully few prototypes,
11972 which can conflict with char shmat (); below.
11973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11974 <limits.h> exists even on freestanding compilers. */
11976 #ifdef __STDC__
11977 # include <limits.h>
11978 #else
11979 # include <assert.h>
11980 #endif
11982 #undef shmat
11984 /* Override any gcc2 internal prototype to avoid an error. */
11985 #ifdef __cplusplus
11986 extern "C"
11988 #endif
11989 /* We use char because int might match the return type of a gcc2
11990 builtin and then its argument prototype would still apply. */
11991 char shmat ();
11992 /* The GNU C library defines this for functions which it implements
11993 to always fail with ENOSYS. Some functions are actually named
11994 something starting with __ and the normal name is an alias. */
11995 #if defined (__stub_shmat) || defined (__stub___shmat)
11996 choke me
11997 #else
11998 char (*f) () = shmat;
11999 #endif
12000 #ifdef __cplusplus
12002 #endif
12005 main ()
12007 return f != shmat;
12009 return 0;
12011 _ACEOF
12012 rm -f conftest.$ac_objext conftest$ac_exeext
12013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12014 (eval $ac_link) 2>conftest.er1
12015 ac_status=$?
12016 grep -v '^ *+' conftest.er1 >conftest.err
12017 rm -f conftest.er1
12018 cat conftest.err >&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } &&
12021 { ac_try='test -z "$ac_c_werror_flag"
12022 || test ! -s conftest.err'
12023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12024 (eval $ac_try) 2>&5
12025 ac_status=$?
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); }; } &&
12028 { ac_try='test -s conftest$ac_exeext'
12029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12030 (eval $ac_try) 2>&5
12031 ac_status=$?
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); }; }; then
12034 ac_cv_func_shmat=yes
12035 else
12036 echo "$as_me: failed program was:" >&5
12037 sed 's/^/| /' conftest.$ac_ext >&5
12039 ac_cv_func_shmat=no
12041 rm -f conftest.err conftest.$ac_objext \
12042 conftest$ac_exeext conftest.$ac_ext
12044 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
12045 echo "${ECHO_T}$ac_cv_func_shmat" >&6
12047 if test $ac_cv_func_shmat = no; then
12048 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
12049 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
12050 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
12051 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 else
12053 ac_check_lib_save_LIBS=$LIBS
12054 LIBS="-lipc $LIBS"
12055 if test x$gcc_no_link = xyes; then
12056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12058 { (exit 1); exit 1; }; }
12060 cat >conftest.$ac_ext <<_ACEOF
12061 /* confdefs.h. */
12062 _ACEOF
12063 cat confdefs.h >>conftest.$ac_ext
12064 cat >>conftest.$ac_ext <<_ACEOF
12065 /* end confdefs.h. */
12067 /* Override any gcc2 internal prototype to avoid an error. */
12068 #ifdef __cplusplus
12069 extern "C"
12070 #endif
12071 /* We use char because int might match the return type of a gcc2
12072 builtin and then its argument prototype would still apply. */
12073 char shmat ();
12075 main ()
12077 shmat ();
12079 return 0;
12081 _ACEOF
12082 rm -f conftest.$ac_objext conftest$ac_exeext
12083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12084 (eval $ac_link) 2>conftest.er1
12085 ac_status=$?
12086 grep -v '^ *+' conftest.er1 >conftest.err
12087 rm -f conftest.er1
12088 cat conftest.err >&5
12089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090 (exit $ac_status); } &&
12091 { ac_try='test -z "$ac_c_werror_flag"
12092 || test ! -s conftest.err'
12093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12094 (eval $ac_try) 2>&5
12095 ac_status=$?
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); }; } &&
12098 { ac_try='test -s conftest$ac_exeext'
12099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12100 (eval $ac_try) 2>&5
12101 ac_status=$?
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); }; }; then
12104 ac_cv_lib_ipc_shmat=yes
12105 else
12106 echo "$as_me: failed program was:" >&5
12107 sed 's/^/| /' conftest.$ac_ext >&5
12109 ac_cv_lib_ipc_shmat=no
12111 rm -f conftest.err conftest.$ac_objext \
12112 conftest$ac_exeext conftest.$ac_ext
12113 LIBS=$ac_check_lib_save_LIBS
12115 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
12116 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
12117 if test $ac_cv_lib_ipc_shmat = yes; then
12118 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12124 # Check for libraries that X11R6 Xt/Xaw programs need.
12125 ac_save_LDFLAGS=$LDFLAGS
12126 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12127 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12128 # check for ICE first), but we must link in the order -lSM -lICE or
12129 # we get undefined symbols. So assume we have SM if we have ICE.
12130 # These have to be linked with before -lX11, unlike the other
12131 # libraries we check for below, so use a different variable.
12132 # John Interrante, Karl Berry
12133 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
12134 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
12135 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12137 else
12138 ac_check_lib_save_LIBS=$LIBS
12139 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12140 if test x$gcc_no_link = xyes; then
12141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12143 { (exit 1); exit 1; }; }
12145 cat >conftest.$ac_ext <<_ACEOF
12146 /* confdefs.h. */
12147 _ACEOF
12148 cat confdefs.h >>conftest.$ac_ext
12149 cat >>conftest.$ac_ext <<_ACEOF
12150 /* end confdefs.h. */
12152 /* Override any gcc2 internal prototype to avoid an error. */
12153 #ifdef __cplusplus
12154 extern "C"
12155 #endif
12156 /* We use char because int might match the return type of a gcc2
12157 builtin and then its argument prototype would still apply. */
12158 char IceConnectionNumber ();
12160 main ()
12162 IceConnectionNumber ();
12164 return 0;
12166 _ACEOF
12167 rm -f conftest.$ac_objext conftest$ac_exeext
12168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12169 (eval $ac_link) 2>conftest.er1
12170 ac_status=$?
12171 grep -v '^ *+' conftest.er1 >conftest.err
12172 rm -f conftest.er1
12173 cat conftest.err >&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); } &&
12176 { ac_try='test -z "$ac_c_werror_flag"
12177 || test ! -s conftest.err'
12178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179 (eval $ac_try) 2>&5
12180 ac_status=$?
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); }; } &&
12183 { ac_try='test -s conftest$ac_exeext'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5
12186 ac_status=$?
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; }; then
12189 ac_cv_lib_ICE_IceConnectionNumber=yes
12190 else
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.$ac_ext >&5
12194 ac_cv_lib_ICE_IceConnectionNumber=no
12196 rm -f conftest.err conftest.$ac_objext \
12197 conftest$ac_exeext conftest.$ac_ext
12198 LIBS=$ac_check_lib_save_LIBS
12200 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12201 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
12202 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12203 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12206 LDFLAGS=$ac_save_LDFLAGS
12210 if test "$no_x" = yes; then
12211 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
12212 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
12213 { (exit 1); exit 1; }; }
12215 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
12216 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
12217 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
12218 echo $ECHO_N "(cached) $ECHO_C" >&6
12219 else
12220 ac_check_lib_save_LIBS=$LIBS
12221 LIBS="-lXtst ${X_LIBS} $LIBS"
12222 if test x$gcc_no_link = xyes; then
12223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12225 { (exit 1); exit 1; }; }
12227 cat >conftest.$ac_ext <<_ACEOF
12228 /* confdefs.h. */
12229 _ACEOF
12230 cat confdefs.h >>conftest.$ac_ext
12231 cat >>conftest.$ac_ext <<_ACEOF
12232 /* end confdefs.h. */
12234 /* Override any gcc2 internal prototype to avoid an error. */
12235 #ifdef __cplusplus
12236 extern "C"
12237 #endif
12238 /* We use char because int might match the return type of a gcc2
12239 builtin and then its argument prototype would still apply. */
12240 char XTestQueryExtension ();
12242 main ()
12244 XTestQueryExtension ();
12246 return 0;
12248 _ACEOF
12249 rm -f conftest.$ac_objext conftest$ac_exeext
12250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12251 (eval $ac_link) 2>conftest.er1
12252 ac_status=$?
12253 grep -v '^ *+' conftest.er1 >conftest.err
12254 rm -f conftest.er1
12255 cat conftest.err >&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } &&
12258 { ac_try='test -z "$ac_c_werror_flag"
12259 || test ! -s conftest.err'
12260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261 (eval $ac_try) 2>&5
12262 ac_status=$?
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; } &&
12265 { ac_try='test -s conftest$ac_exeext'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12268 ac_status=$?
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; }; then
12271 ac_cv_lib_Xtst_XTestQueryExtension=yes
12272 else
12273 echo "$as_me: failed program was:" >&5
12274 sed 's/^/| /' conftest.$ac_ext >&5
12276 ac_cv_lib_Xtst_XTestQueryExtension=no
12278 rm -f conftest.err conftest.$ac_objext \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_lib_save_LIBS
12282 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
12283 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
12284 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
12285 XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst"
12286 else
12287 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
12288 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
12289 { (exit 1); exit 1; }; }
12294 succeeded=no
12296 if test -z "$PKG_CONFIG"; then
12297 # Extract the first word of "pkg-config", so it can be a program name with args.
12298 set dummy pkg-config; ac_word=$2
12299 echo "$as_me:$LINENO: checking for $ac_word" >&5
12300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12301 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12303 else
12304 case $PKG_CONFIG in
12305 [\\/]* | ?:[\\/]*)
12306 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12310 for as_dir in $PATH
12312 IFS=$as_save_IFS
12313 test -z "$as_dir" && as_dir=.
12314 for ac_exec_ext in '' $ac_executable_extensions; do
12315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12316 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12318 break 2
12320 done
12321 done
12323 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12325 esac
12327 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12329 if test -n "$PKG_CONFIG"; then
12330 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12331 echo "${ECHO_T}$PKG_CONFIG" >&6
12332 else
12333 echo "$as_me:$LINENO: result: no" >&5
12334 echo "${ECHO_T}no" >&6
12339 if test "$PKG_CONFIG" = "no" ; then
12340 echo "*** The pkg-config script could not be found. Make sure it is"
12341 echo "*** in your path, or set the PKG_CONFIG environment variable"
12342 echo "*** to the full path to pkg-config."
12343 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12344 else
12345 PKG_CONFIG_MIN_VERSION=0.9.0
12346 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12347 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
12348 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
12350 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
12351 echo "$as_me:$LINENO: result: yes" >&5
12352 echo "${ECHO_T}yes" >&6
12353 succeeded=yes
12355 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12356 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12357 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12358 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12359 echo "${ECHO_T}$GTK_CFLAGS" >&6
12361 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12362 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12363 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12364 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12365 echo "${ECHO_T}$GTK_LIBS" >&6
12366 else
12367 GTK_CFLAGS=""
12368 GTK_LIBS=""
12369 ## If we have a custom action on failure, don't print errors, but
12370 ## do set a variable so people can do so.
12371 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12372 echo $GTK_PKG_ERRORS
12377 else
12378 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12379 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12383 if test $succeeded = yes; then
12385 else
12386 { { 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
12387 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;}
12388 { (exit 1); exit 1; }; }
12392 succeeded=no
12394 if test -z "$PKG_CONFIG"; then
12395 # Extract the first word of "pkg-config", so it can be a program name with args.
12396 set dummy pkg-config; ac_word=$2
12397 echo "$as_me:$LINENO: checking for $ac_word" >&5
12398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12399 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12400 echo $ECHO_N "(cached) $ECHO_C" >&6
12401 else
12402 case $PKG_CONFIG in
12403 [\\/]* | ?:[\\/]*)
12404 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12408 for as_dir in $PATH
12410 IFS=$as_save_IFS
12411 test -z "$as_dir" && as_dir=.
12412 for ac_exec_ext in '' $ac_executable_extensions; do
12413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12414 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12416 break 2
12418 done
12419 done
12421 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12423 esac
12425 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12427 if test -n "$PKG_CONFIG"; then
12428 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12429 echo "${ECHO_T}$PKG_CONFIG" >&6
12430 else
12431 echo "$as_me:$LINENO: result: no" >&5
12432 echo "${ECHO_T}no" >&6
12437 if test "$PKG_CONFIG" = "no" ; then
12438 echo "*** The pkg-config script could not be found. Make sure it is"
12439 echo "*** in your path, or set the PKG_CONFIG environment variable"
12440 echo "*** to the full path to pkg-config."
12441 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12442 else
12443 PKG_CONFIG_MIN_VERSION=0.9.0
12444 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12445 echo "$as_me:$LINENO: checking for freetype2" >&5
12446 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
12448 if $PKG_CONFIG --exists "freetype2" ; then
12449 echo "$as_me:$LINENO: result: yes" >&5
12450 echo "${ECHO_T}yes" >&6
12451 succeeded=yes
12453 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
12454 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
12455 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
12456 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
12457 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
12459 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
12460 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
12461 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
12462 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
12463 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
12464 else
12465 FREETYPE2_CFLAGS=""
12466 FREETYPE2_LIBS=""
12467 ## If we have a custom action on failure, don't print errors, but
12468 ## do set a variable so people can do so.
12469 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
12470 echo $FREETYPE2_PKG_ERRORS
12475 else
12476 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12477 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12481 if test $succeeded = yes; then
12483 else
12484 { { 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
12485 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;}
12486 { (exit 1); exit 1; }; }
12490 succeeded=no
12492 if test -z "$PKG_CONFIG"; then
12493 # Extract the first word of "pkg-config", so it can be a program name with args.
12494 set dummy pkg-config; ac_word=$2
12495 echo "$as_me:$LINENO: checking for $ac_word" >&5
12496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12497 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12499 else
12500 case $PKG_CONFIG in
12501 [\\/]* | ?:[\\/]*)
12502 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12506 for as_dir in $PATH
12508 IFS=$as_save_IFS
12509 test -z "$as_dir" && as_dir=.
12510 for ac_exec_ext in '' $ac_executable_extensions; do
12511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12512 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12514 break 2
12516 done
12517 done
12519 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12521 esac
12523 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12525 if test -n "$PKG_CONFIG"; then
12526 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12527 echo "${ECHO_T}$PKG_CONFIG" >&6
12528 else
12529 echo "$as_me:$LINENO: result: no" >&5
12530 echo "${ECHO_T}no" >&6
12535 if test "$PKG_CONFIG" = "no" ; then
12536 echo "*** The pkg-config script could not be found. Make sure it is"
12537 echo "*** in your path, or set the PKG_CONFIG environment variable"
12538 echo "*** to the full path to pkg-config."
12539 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12540 else
12541 PKG_CONFIG_MIN_VERSION=0.9.0
12542 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12543 echo "$as_me:$LINENO: checking for pangoft2" >&5
12544 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
12546 if $PKG_CONFIG --exists "pangoft2" ; then
12547 echo "$as_me:$LINENO: result: yes" >&5
12548 echo "${ECHO_T}yes" >&6
12549 succeeded=yes
12551 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
12552 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
12553 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
12554 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
12555 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
12557 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
12558 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
12559 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
12560 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
12561 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
12562 else
12563 PANGOFT2_CFLAGS=""
12564 PANGOFT2_LIBS=""
12565 ## If we have a custom action on failure, don't print errors, but
12566 ## do set a variable so people can do so.
12567 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12568 echo $PANGOFT2_PKG_ERRORS
12573 else
12574 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12575 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12579 if test $succeeded = yes; then
12581 else
12582 { { 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
12583 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;}
12584 { (exit 1); exit 1; }; }
12587 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
12588 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
12589 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
12590 echo $ECHO_N "(cached) $ECHO_C" >&6
12591 else
12592 ac_check_lib_save_LIBS=$LIBS
12593 LIBS="-lXrender ${X_LIBS} $LIBS"
12594 if test x$gcc_no_link = xyes; then
12595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12597 { (exit 1); exit 1; }; }
12599 cat >conftest.$ac_ext <<_ACEOF
12600 /* confdefs.h. */
12601 _ACEOF
12602 cat confdefs.h >>conftest.$ac_ext
12603 cat >>conftest.$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12606 /* Override any gcc2 internal prototype to avoid an error. */
12607 #ifdef __cplusplus
12608 extern "C"
12609 #endif
12610 /* We use char because int might match the return type of a gcc2
12611 builtin and then its argument prototype would still apply. */
12612 char XRenderQueryExtension ();
12614 main ()
12616 XRenderQueryExtension ();
12618 return 0;
12620 _ACEOF
12621 rm -f conftest.$ac_objext conftest$ac_exeext
12622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12623 (eval $ac_link) 2>conftest.er1
12624 ac_status=$?
12625 grep -v '^ *+' conftest.er1 >conftest.err
12626 rm -f conftest.er1
12627 cat conftest.err >&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); } &&
12630 { ac_try='test -z "$ac_c_werror_flag"
12631 || test ! -s conftest.err'
12632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12633 (eval $ac_try) 2>&5
12634 ac_status=$?
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); }; } &&
12637 { ac_try='test -s conftest$ac_exeext'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12640 ac_status=$?
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12643 ac_cv_lib_Xrender_XRenderQueryExtension=yes
12644 else
12645 echo "$as_me: failed program was:" >&5
12646 sed 's/^/| /' conftest.$ac_ext >&5
12648 ac_cv_lib_Xrender_XRenderQueryExtension=no
12650 rm -f conftest.err conftest.$ac_objext \
12651 conftest$ac_exeext conftest.$ac_ext
12652 LIBS=$ac_check_lib_save_LIBS
12654 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
12655 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
12656 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
12658 cat >>confdefs.h <<\_ACEOF
12659 #define HAVE_XRENDER 1
12660 _ACEOF
12661 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
12662 else
12663 true
12667 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
12668 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
12669 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12671 else
12672 ac_check_lib_save_LIBS=$LIBS
12673 LIBS="-lXrandr ${X_LIBS} $LIBS"
12674 if test x$gcc_no_link = xyes; then
12675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12677 { (exit 1); exit 1; }; }
12679 cat >conftest.$ac_ext <<_ACEOF
12680 /* confdefs.h. */
12681 _ACEOF
12682 cat confdefs.h >>conftest.$ac_ext
12683 cat >>conftest.$ac_ext <<_ACEOF
12684 /* end confdefs.h. */
12686 /* Override any gcc2 internal prototype to avoid an error. */
12687 #ifdef __cplusplus
12688 extern "C"
12689 #endif
12690 /* We use char because int might match the return type of a gcc2
12691 builtin and then its argument prototype would still apply. */
12692 char XRRQueryExtension ();
12694 main ()
12696 XRRQueryExtension ();
12698 return 0;
12700 _ACEOF
12701 rm -f conftest.$ac_objext conftest$ac_exeext
12702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12703 (eval $ac_link) 2>conftest.er1
12704 ac_status=$?
12705 grep -v '^ *+' conftest.er1 >conftest.err
12706 rm -f conftest.er1
12707 cat conftest.err >&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } &&
12710 { ac_try='test -z "$ac_c_werror_flag"
12711 || test ! -s conftest.err'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12714 ac_status=$?
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; } &&
12717 { ac_try='test -s conftest$ac_exeext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12720 ac_status=$?
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 ac_cv_lib_Xrandr_XRRQueryExtension=yes
12724 else
12725 echo "$as_me: failed program was:" >&5
12726 sed 's/^/| /' conftest.$ac_ext >&5
12728 ac_cv_lib_Xrandr_XRRQueryExtension=no
12730 rm -f conftest.err conftest.$ac_objext \
12731 conftest$ac_exeext conftest.$ac_ext
12732 LIBS=$ac_check_lib_save_LIBS
12734 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
12735 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
12736 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
12738 cat >>confdefs.h <<\_ACEOF
12739 #define HAVE_XRANDR 1
12740 _ACEOF
12741 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
12742 else
12743 true
12756 if test "x${COMPILE_GCONF_PEER}" = xyes; then
12758 succeeded=no
12760 if test -z "$PKG_CONFIG"; then
12761 # Extract the first word of "pkg-config", so it can be a program name with args.
12762 set dummy pkg-config; ac_word=$2
12763 echo "$as_me:$LINENO: checking for $ac_word" >&5
12764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12765 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12767 else
12768 case $PKG_CONFIG in
12769 [\\/]* | ?:[\\/]*)
12770 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12774 for as_dir in $PATH
12776 IFS=$as_save_IFS
12777 test -z "$as_dir" && as_dir=.
12778 for ac_exec_ext in '' $ac_executable_extensions; do
12779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12780 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12782 break 2
12784 done
12785 done
12787 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12789 esac
12791 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12793 if test -n "$PKG_CONFIG"; then
12794 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12795 echo "${ECHO_T}$PKG_CONFIG" >&6
12796 else
12797 echo "$as_me:$LINENO: result: no" >&5
12798 echo "${ECHO_T}no" >&6
12803 if test "$PKG_CONFIG" = "no" ; then
12804 echo "*** The pkg-config script could not be found. Make sure it is"
12805 echo "*** in your path, or set the PKG_CONFIG environment variable"
12806 echo "*** to the full path to pkg-config."
12807 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12808 else
12809 PKG_CONFIG_MIN_VERSION=0.9.0
12810 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12811 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
12812 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
12814 if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
12815 echo "$as_me:$LINENO: result: yes" >&5
12816 echo "${ECHO_T}yes" >&6
12817 succeeded=yes
12819 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
12820 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
12821 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
12822 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
12823 echo "${ECHO_T}$GCONF_CFLAGS" >&6
12825 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
12826 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
12827 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
12828 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
12829 echo "${ECHO_T}$GCONF_LIBS" >&6
12830 else
12831 GCONF_CFLAGS=""
12832 GCONF_LIBS=""
12833 ## If we have a custom action on failure, don't print errors, but
12834 ## do set a variable so people can do so.
12835 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
12836 echo $GCONF_PKG_ERRORS
12841 else
12842 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12843 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12847 if test $succeeded = yes; then
12849 else
12850 { { 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
12851 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;}
12852 { (exit 1); exit 1; }; }
12858 succeeded=no
12860 if test -z "$PKG_CONFIG"; then
12861 # Extract the first word of "pkg-config", so it can be a program name with args.
12862 set dummy pkg-config; ac_word=$2
12863 echo "$as_me:$LINENO: checking for $ac_word" >&5
12864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12865 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12867 else
12868 case $PKG_CONFIG in
12869 [\\/]* | ?:[\\/]*)
12870 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12874 for as_dir in $PATH
12876 IFS=$as_save_IFS
12877 test -z "$as_dir" && as_dir=.
12878 for ac_exec_ext in '' $ac_executable_extensions; do
12879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12880 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12882 break 2
12884 done
12885 done
12887 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12889 esac
12891 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12893 if test -n "$PKG_CONFIG"; then
12894 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12895 echo "${ECHO_T}$PKG_CONFIG" >&6
12896 else
12897 echo "$as_me:$LINENO: result: no" >&5
12898 echo "${ECHO_T}no" >&6
12903 if test "$PKG_CONFIG" = "no" ; then
12904 echo "*** The pkg-config script could not be found. Make sure it is"
12905 echo "*** in your path, or set the PKG_CONFIG environment variable"
12906 echo "*** to the full path to pkg-config."
12907 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12908 else
12909 PKG_CONFIG_MIN_VERSION=0.9.0
12910 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12911 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
12912 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
12914 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
12915 echo "$as_me:$LINENO: result: yes" >&5
12916 echo "${ECHO_T}yes" >&6
12917 succeeded=yes
12919 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
12920 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
12921 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
12922 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
12923 echo "${ECHO_T}$GDK_CFLAGS" >&6
12925 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
12926 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
12927 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
12928 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
12929 echo "${ECHO_T}$GDK_LIBS" >&6
12930 else
12931 GDK_CFLAGS=""
12932 GDK_LIBS=""
12933 ## If we have a custom action on failure, don't print errors, but
12934 ## do set a variable so people can do so.
12935 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
12936 echo $GDK_PKG_ERRORS
12941 else
12942 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12943 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12947 if test $succeeded = yes; then
12949 else
12950 { { 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
12951 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;}
12952 { (exit 1); exit 1; }; }
12957 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
12958 if test "$USE_GCONF_PREFS_PEER" = ""; then
12959 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
12963 if test "x${COMPILE_QT_PEER}" = xyes; then
12965 succeeded=no
12967 if test -z "$PKG_CONFIG"; then
12968 # Extract the first word of "pkg-config", so it can be a program name with args.
12969 set dummy pkg-config; ac_word=$2
12970 echo "$as_me:$LINENO: checking for $ac_word" >&5
12971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12972 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12973 echo $ECHO_N "(cached) $ECHO_C" >&6
12974 else
12975 case $PKG_CONFIG in
12976 [\\/]* | ?:[\\/]*)
12977 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12981 for as_dir in $PATH
12983 IFS=$as_save_IFS
12984 test -z "$as_dir" && as_dir=.
12985 for ac_exec_ext in '' $ac_executable_extensions; do
12986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12987 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12989 break 2
12991 done
12992 done
12994 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12996 esac
12998 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13000 if test -n "$PKG_CONFIG"; then
13001 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13002 echo "${ECHO_T}$PKG_CONFIG" >&6
13003 else
13004 echo "$as_me:$LINENO: result: no" >&5
13005 echo "${ECHO_T}no" >&6
13010 if test "$PKG_CONFIG" = "no" ; then
13011 echo "*** The pkg-config script could not be found. Make sure it is"
13012 echo "*** in your path, or set the PKG_CONFIG environment variable"
13013 echo "*** to the full path to pkg-config."
13014 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13015 else
13016 PKG_CONFIG_MIN_VERSION=0.9.0
13017 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13018 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
13019 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
13021 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
13022 echo "$as_me:$LINENO: result: yes" >&5
13023 echo "${ECHO_T}yes" >&6
13024 succeeded=yes
13026 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
13027 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
13028 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
13029 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
13030 echo "${ECHO_T}$QT_CFLAGS" >&6
13032 echo "$as_me:$LINENO: checking QT_LIBS" >&5
13033 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
13034 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
13035 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
13036 echo "${ECHO_T}$QT_LIBS" >&6
13037 else
13038 QT_CFLAGS=""
13039 QT_LIBS=""
13040 ## If we have a custom action on failure, don't print errors, but
13041 ## do set a variable so people can do so.
13042 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
13048 else
13049 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13050 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13054 if test $succeeded = yes; then
13055 HAVE_QT4="yes"
13056 else
13057 HAVE_QT4="no"
13060 if test "x$HAVE_QT4" = "xyes"; then
13061 QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
13062 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
13063 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
13064 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
13065 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
13066 if eval "test \"\${$as_ac_File+set}\" = set"; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13068 else
13069 test "$cross_compiling" = yes &&
13070 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13071 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13072 { (exit 1); exit 1; }; }
13073 if test -r "$QT_INCLUDE_DIR/QWidget"; then
13074 eval "$as_ac_File=yes"
13075 else
13076 eval "$as_ac_File=no"
13079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13080 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13081 if test `eval echo '${'$as_ac_File'}'` = yes; then
13082 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
13083 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
13084 else
13085 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
13086 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
13087 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
13088 if eval "test \"\${$as_ac_File+set}\" = set"; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13090 else
13091 test "$cross_compiling" = yes &&
13092 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13093 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13094 { (exit 1); exit 1; }; }
13095 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
13096 eval "$as_ac_File=yes"
13097 else
13098 eval "$as_ac_File=no"
13101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13102 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13103 if test `eval echo '${'$as_ac_File'}'` = yes; then
13104 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
13105 else
13106 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
13107 echo "$as_me: WARNING: QWidget not found" >&2;}
13112 # Extract the first word of "moc", so it can be a program name with args.
13113 set dummy moc; ac_word=$2
13114 echo "$as_me:$LINENO: checking for $ac_word" >&5
13115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13116 if test "${ac_cv_prog_MOC+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 else
13119 if test -n "$MOC"; then
13120 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13121 else
13122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13123 for as_dir in $PATH
13125 IFS=$as_save_IFS
13126 test -z "$as_dir" && as_dir=.
13127 for ac_exec_ext in '' $ac_executable_extensions; do
13128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13129 ac_cv_prog_MOC="moc"
13130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13131 break 2
13133 done
13134 done
13138 MOC=$ac_cv_prog_MOC
13139 if test -n "$MOC"; then
13140 echo "$as_me:$LINENO: result: $MOC" >&5
13141 echo "${ECHO_T}$MOC" >&6
13142 else
13143 echo "$as_me:$LINENO: result: no" >&5
13144 echo "${ECHO_T}no" >&6
13147 # Extract the first word of "moc-qt4", so it can be a program name with args.
13148 set dummy moc-qt4; 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-qt4"
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
13183 if test "x$HAVE_QT4" = "xno"; then
13184 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
13185 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
13186 case "$host_os" in
13187 darwin*)
13189 # Check whether --with-qt4dir or --without-qt4dir was given.
13190 if test "${with_qt4dir+set}" = set; then
13191 withval="$with_qt4dir"
13192 QT4DIR=$withval
13195 if test x"$QT4DIR" = x ; then
13196 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
13197 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
13198 { (exit 1); exit 1; }; }
13200 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
13201 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
13202 # Extract the first word of "moc", so it can be a program name with args.
13203 set dummy moc; ac_word=$2
13204 echo "$as_me:$LINENO: checking for $ac_word" >&5
13205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13206 if test "${ac_cv_prog_MOC+set}" = set; then
13207 echo $ECHO_N "(cached) $ECHO_C" >&6
13208 else
13209 if test -n "$MOC"; then
13210 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13211 else
13212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13213 for as_dir in $QT4DIR/bin
13215 IFS=$as_save_IFS
13216 test -z "$as_dir" && as_dir=.
13217 for ac_exec_ext in '' $ac_executable_extensions; do
13218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13219 ac_cv_prog_MOC="$QT4DIR/bin/moc"
13220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13221 break 2
13223 done
13224 done
13228 MOC=$ac_cv_prog_MOC
13229 if test -n "$MOC"; then
13230 echo "$as_me:$LINENO: result: $MOC" >&5
13231 echo "${ECHO_T}$MOC" >&6
13232 else
13233 echo "$as_me:$LINENO: result: no" >&5
13234 echo "${ECHO_T}no" >&6
13237 if test x"$MOC" = x; then
13238 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
13239 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
13240 { (exit 1); exit 1; }; }
13242 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
13243 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
13244 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
13245 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
13248 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
13249 of your installed Qt4 installation." >&5
13250 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
13251 of your installed Qt4 installation." >&2;}
13252 { (exit 1); exit 1; }; }
13254 esac
13256 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
13257 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
13261 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
13262 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
13263 cat >conftest.$ac_ext <<_ACEOF
13264 /* confdefs.h. */
13265 _ACEOF
13266 cat confdefs.h >>conftest.$ac_ext
13267 cat >>conftest.$ac_ext <<_ACEOF
13268 /* end confdefs.h. */
13269 #include <sys/socket.h>
13271 main ()
13273 int f = MSG_NOSIGNAL;
13275 return 0;
13277 _ACEOF
13278 rm -f conftest.$ac_objext
13279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13280 (eval $ac_compile) 2>conftest.er1
13281 ac_status=$?
13282 grep -v '^ *+' conftest.er1 >conftest.err
13283 rm -f conftest.er1
13284 cat conftest.err >&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); } &&
13287 { ac_try='test -z "$ac_c_werror_flag"
13288 || test ! -s conftest.err'
13289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5
13291 ac_status=$?
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; } &&
13294 { ac_try='test -s conftest.$ac_objext'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13297 ac_status=$?
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; }; then
13300 echo "$as_me:$LINENO: result: yes" >&5
13301 echo "${ECHO_T}yes" >&6
13303 cat >>confdefs.h <<\_ACEOF
13304 #define HAVE_MSG_NOSIGNAL 1
13305 _ACEOF
13307 else
13308 echo "$as_me: failed program was:" >&5
13309 sed 's/^/| /' conftest.$ac_ext >&5
13311 echo "$as_me:$LINENO: result: no" >&5
13312 echo "${ECHO_T}no" >&6
13315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13316 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
13317 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
13318 cat >conftest.$ac_ext <<_ACEOF
13319 /* confdefs.h. */
13320 _ACEOF
13321 cat confdefs.h >>conftest.$ac_ext
13322 cat >>conftest.$ac_ext <<_ACEOF
13323 /* end confdefs.h. */
13324 #include <sys/socket.h>
13326 main ()
13328 int f = SO_NOSIGPIPE;
13330 return 0;
13332 _ACEOF
13333 rm -f conftest.$ac_objext
13334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13335 (eval $ac_compile) 2>conftest.er1
13336 ac_status=$?
13337 grep -v '^ *+' conftest.er1 >conftest.err
13338 rm -f conftest.er1
13339 cat conftest.err >&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); } &&
13342 { ac_try='test -z "$ac_c_werror_flag"
13343 || test ! -s conftest.err'
13344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 (eval $ac_try) 2>&5
13346 ac_status=$?
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }; } &&
13349 { ac_try='test -s conftest.$ac_objext'
13350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13351 (eval $ac_try) 2>&5
13352 ac_status=$?
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; }; then
13355 echo "$as_me:$LINENO: result: yes" >&5
13356 echo "${ECHO_T}yes" >&6
13358 cat >>confdefs.h <<\_ACEOF
13359 #define HAVE_SO_NOSIGPIPE 1
13360 _ACEOF
13362 else
13363 echo "$as_me: failed program was:" >&5
13364 sed 's/^/| /' conftest.$ac_ext >&5
13366 echo "$as_me:$LINENO: result: no" >&5
13367 echo "${ECHO_T}no" >&6
13370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13372 if test "x${COMPILE_PLUGIN}" = xyes; then
13374 succeeded=no
13376 if test -z "$PKG_CONFIG"; then
13377 # Extract the first word of "pkg-config", so it can be a program name with args.
13378 set dummy pkg-config; ac_word=$2
13379 echo "$as_me:$LINENO: checking for $ac_word" >&5
13380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13381 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13382 echo $ECHO_N "(cached) $ECHO_C" >&6
13383 else
13384 case $PKG_CONFIG in
13385 [\\/]* | ?:[\\/]*)
13386 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13390 for as_dir in $PATH
13392 IFS=$as_save_IFS
13393 test -z "$as_dir" && as_dir=.
13394 for ac_exec_ext in '' $ac_executable_extensions; do
13395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13396 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13398 break 2
13400 done
13401 done
13403 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13405 esac
13407 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13409 if test -n "$PKG_CONFIG"; then
13410 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13411 echo "${ECHO_T}$PKG_CONFIG" >&6
13412 else
13413 echo "$as_me:$LINENO: result: no" >&5
13414 echo "${ECHO_T}no" >&6
13419 if test "$PKG_CONFIG" = "no" ; then
13420 echo "*** The pkg-config script could not be found. Make sure it is"
13421 echo "*** in your path, or set the PKG_CONFIG environment variable"
13422 echo "*** to the full path to pkg-config."
13423 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13424 else
13425 PKG_CONFIG_MIN_VERSION=0.9.0
13426 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13427 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
13428 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
13430 if $PKG_CONFIG --exists "mozilla-plugin" ; then
13431 echo "$as_me:$LINENO: result: yes" >&5
13432 echo "${ECHO_T}yes" >&6
13433 succeeded=yes
13435 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13436 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13437 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
13438 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13439 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13441 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13442 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13443 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
13444 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13445 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13446 else
13447 MOZILLA_CFLAGS=""
13448 MOZILLA_LIBS=""
13449 ## If we have a custom action on failure, don't print errors, but
13450 ## do set a variable so people can do so.
13451 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
13457 else
13458 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13459 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13463 if test $succeeded = yes; then
13464 MOZILLA_FOUND=yes
13465 else
13466 MOZILLA_FOUND=no
13469 if test "x${MOZILLA_FOUND}" = xno; then
13471 succeeded=no
13473 if test -z "$PKG_CONFIG"; then
13474 # Extract the first word of "pkg-config", so it can be a program name with args.
13475 set dummy pkg-config; ac_word=$2
13476 echo "$as_me:$LINENO: checking for $ac_word" >&5
13477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13478 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13480 else
13481 case $PKG_CONFIG in
13482 [\\/]* | ?:[\\/]*)
13483 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13487 for as_dir in $PATH
13489 IFS=$as_save_IFS
13490 test -z "$as_dir" && as_dir=.
13491 for ac_exec_ext in '' $ac_executable_extensions; do
13492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13493 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13495 break 2
13497 done
13498 done
13500 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13502 esac
13504 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13506 if test -n "$PKG_CONFIG"; then
13507 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13508 echo "${ECHO_T}$PKG_CONFIG" >&6
13509 else
13510 echo "$as_me:$LINENO: result: no" >&5
13511 echo "${ECHO_T}no" >&6
13516 if test "$PKG_CONFIG" = "no" ; then
13517 echo "*** The pkg-config script could not be found. Make sure it is"
13518 echo "*** in your path, or set the PKG_CONFIG environment variable"
13519 echo "*** to the full path to pkg-config."
13520 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13521 else
13522 PKG_CONFIG_MIN_VERSION=0.9.0
13523 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13524 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
13525 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
13527 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
13528 echo "$as_me:$LINENO: result: yes" >&5
13529 echo "${ECHO_T}yes" >&6
13530 succeeded=yes
13532 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13533 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13534 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
13535 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13536 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13538 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13539 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13540 MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
13541 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13542 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13543 else
13544 MOZILLA_CFLAGS=""
13545 MOZILLA_LIBS=""
13546 ## If we have a custom action on failure, don't print errors, but
13547 ## do set a variable so people can do so.
13548 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
13554 else
13555 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13556 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13560 if test $succeeded = yes; then
13561 MOZILLA_FOUND=yes
13562 else
13563 MOZILLA_FOUND=no
13567 if test "x${MOZILLA_FOUND}" = xno; then
13569 succeeded=no
13571 if test -z "$PKG_CONFIG"; then
13572 # Extract the first word of "pkg-config", so it can be a program name with args.
13573 set dummy pkg-config; ac_word=$2
13574 echo "$as_me:$LINENO: checking for $ac_word" >&5
13575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13576 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13578 else
13579 case $PKG_CONFIG in
13580 [\\/]* | ?:[\\/]*)
13581 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13585 for as_dir in $PATH
13587 IFS=$as_save_IFS
13588 test -z "$as_dir" && as_dir=.
13589 for ac_exec_ext in '' $ac_executable_extensions; do
13590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13591 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13593 break 2
13595 done
13596 done
13598 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13600 esac
13602 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13604 if test -n "$PKG_CONFIG"; then
13605 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13606 echo "${ECHO_T}$PKG_CONFIG" >&6
13607 else
13608 echo "$as_me:$LINENO: result: no" >&5
13609 echo "${ECHO_T}no" >&6
13614 if test "$PKG_CONFIG" = "no" ; then
13615 echo "*** The pkg-config script could not be found. Make sure it is"
13616 echo "*** in your path, or set the PKG_CONFIG environment variable"
13617 echo "*** to the full path to pkg-config."
13618 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13619 else
13620 PKG_CONFIG_MIN_VERSION=0.9.0
13621 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13622 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
13623 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
13625 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
13626 echo "$as_me:$LINENO: result: yes" >&5
13627 echo "${ECHO_T}yes" >&6
13628 succeeded=yes
13630 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13631 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13632 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
13633 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13634 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13636 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13637 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13638 MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
13639 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13640 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13641 else
13642 MOZILLA_CFLAGS=""
13643 MOZILLA_LIBS=""
13644 ## If we have a custom action on failure, don't print errors, but
13645 ## do set a variable so people can do so.
13646 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
13652 else
13653 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13654 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13658 if test $succeeded = yes; then
13659 MOZILLA_FOUND=yes
13660 else
13661 MOZILLA_FOUND=no
13665 if test "x${MOZILLA_FOUND}" = xno; then
13667 succeeded=no
13669 if test -z "$PKG_CONFIG"; then
13670 # Extract the first word of "pkg-config", so it can be a program name with args.
13671 set dummy pkg-config; ac_word=$2
13672 echo "$as_me:$LINENO: checking for $ac_word" >&5
13673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13674 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13675 echo $ECHO_N "(cached) $ECHO_C" >&6
13676 else
13677 case $PKG_CONFIG in
13678 [\\/]* | ?:[\\/]*)
13679 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13683 for as_dir in $PATH
13685 IFS=$as_save_IFS
13686 test -z "$as_dir" && as_dir=.
13687 for ac_exec_ext in '' $ac_executable_extensions; do
13688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13689 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13691 break 2
13693 done
13694 done
13696 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13698 esac
13700 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13702 if test -n "$PKG_CONFIG"; then
13703 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13704 echo "${ECHO_T}$PKG_CONFIG" >&6
13705 else
13706 echo "$as_me:$LINENO: result: no" >&5
13707 echo "${ECHO_T}no" >&6
13712 if test "$PKG_CONFIG" = "no" ; then
13713 echo "*** The pkg-config script could not be found. Make sure it is"
13714 echo "*** in your path, or set the PKG_CONFIG environment variable"
13715 echo "*** to the full path to pkg-config."
13716 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13717 else
13718 PKG_CONFIG_MIN_VERSION=0.9.0
13719 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13720 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
13721 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
13723 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
13724 echo "$as_me:$LINENO: result: yes" >&5
13725 echo "${ECHO_T}yes" >&6
13726 succeeded=yes
13728 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13729 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13730 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13731 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13732 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13734 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13735 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13736 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13737 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13738 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13739 else
13740 MOZILLA_CFLAGS=""
13741 MOZILLA_LIBS=""
13742 ## If we have a custom action on failure, don't print errors, but
13743 ## do set a variable so people can do so.
13744 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13750 else
13751 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13752 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13756 if test $succeeded = yes; then
13757 MOZILLA_FOUND=yes
13758 else
13759 MOZILLA_FOUND=no
13763 if test "x${MOZILLA_FOUND}" = xno; then
13765 succeeded=no
13767 if test -z "$PKG_CONFIG"; then
13768 # Extract the first word of "pkg-config", so it can be a program name with args.
13769 set dummy pkg-config; ac_word=$2
13770 echo "$as_me:$LINENO: checking for $ac_word" >&5
13771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13772 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13773 echo $ECHO_N "(cached) $ECHO_C" >&6
13774 else
13775 case $PKG_CONFIG in
13776 [\\/]* | ?:[\\/]*)
13777 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13781 for as_dir in $PATH
13783 IFS=$as_save_IFS
13784 test -z "$as_dir" && as_dir=.
13785 for ac_exec_ext in '' $ac_executable_extensions; do
13786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13787 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13789 break 2
13791 done
13792 done
13794 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13796 esac
13798 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13800 if test -n "$PKG_CONFIG"; then
13801 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13802 echo "${ECHO_T}$PKG_CONFIG" >&6
13803 else
13804 echo "$as_me:$LINENO: result: no" >&5
13805 echo "${ECHO_T}no" >&6
13810 if test "$PKG_CONFIG" = "no" ; then
13811 echo "*** The pkg-config script could not be found. Make sure it is"
13812 echo "*** in your path, or set the PKG_CONFIG environment variable"
13813 echo "*** to the full path to pkg-config."
13814 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13815 else
13816 PKG_CONFIG_MIN_VERSION=0.9.0
13817 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13818 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
13819 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
13821 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
13822 echo "$as_me:$LINENO: result: yes" >&5
13823 echo "${ECHO_T}yes" >&6
13824 succeeded=yes
13826 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13827 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13828 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
13829 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13830 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13832 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13833 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13834 MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
13835 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13836 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13837 else
13838 MOZILLA_CFLAGS=""
13839 MOZILLA_LIBS=""
13840 ## If we have a custom action on failure, don't print errors, but
13841 ## do set a variable so people can do so.
13842 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
13848 else
13849 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13850 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13854 if test $succeeded = yes; then
13855 MOZILLA_FOUND=yes
13856 else
13857 MOZILLA_FOUND=no
13862 succeeded=no
13864 if test -z "$PKG_CONFIG"; then
13865 # Extract the first word of "pkg-config", so it can be a program name with args.
13866 set dummy pkg-config; ac_word=$2
13867 echo "$as_me:$LINENO: checking for $ac_word" >&5
13868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13869 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13870 echo $ECHO_N "(cached) $ECHO_C" >&6
13871 else
13872 case $PKG_CONFIG in
13873 [\\/]* | ?:[\\/]*)
13874 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13878 for as_dir in $PATH
13880 IFS=$as_save_IFS
13881 test -z "$as_dir" && as_dir=.
13882 for ac_exec_ext in '' $ac_executable_extensions; do
13883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13884 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13886 break 2
13888 done
13889 done
13891 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13893 esac
13895 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13897 if test -n "$PKG_CONFIG"; then
13898 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13899 echo "${ECHO_T}$PKG_CONFIG" >&6
13900 else
13901 echo "$as_me:$LINENO: result: no" >&5
13902 echo "${ECHO_T}no" >&6
13907 if test "$PKG_CONFIG" = "no" ; then
13908 echo "*** The pkg-config script could not be found. Make sure it is"
13909 echo "*** in your path, or set the PKG_CONFIG environment variable"
13910 echo "*** to the full path to pkg-config."
13911 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13912 else
13913 PKG_CONFIG_MIN_VERSION=0.9.0
13914 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13915 echo "$as_me:$LINENO: checking for glib-2.0" >&5
13916 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
13918 if $PKG_CONFIG --exists "glib-2.0" ; then
13919 echo "$as_me:$LINENO: result: yes" >&5
13920 echo "${ECHO_T}yes" >&6
13921 succeeded=yes
13923 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13924 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13925 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
13926 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13927 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13929 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13930 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13931 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
13932 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13933 echo "${ECHO_T}$GLIB_LIBS" >&6
13934 else
13935 GLIB_CFLAGS=""
13936 GLIB_LIBS=""
13937 ## If we have a custom action on failure, don't print errors, but
13938 ## do set a variable so people can do so.
13939 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
13940 echo $GLIB_PKG_ERRORS
13945 else
13946 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13947 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13951 if test $succeeded = yes; then
13953 else
13954 { { 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
13955 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;}
13956 { (exit 1); exit 1; }; }
13965 PLUGIN_DIR=$HOME/.mozilla/plugins/
13972 # Check whether --with-javah or --without-javah was given.
13973 if test "${with_javah+set}" = set; then
13974 withval="$with_javah"
13976 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13978 if test "x${withval}" != x; then
13979 if test -f "${withval}"; then
13980 USER_JAVAH="${withval}"
13981 else
13982 # Extract the first word of ""${withval}"", so it can be a program name with args.
13983 set dummy "${withval}"; ac_word=$2
13984 echo "$as_me:$LINENO: checking for $ac_word" >&5
13985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13986 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 else
13989 case $USER_JAVAH in
13990 [\\/]* | ?:[\\/]*)
13991 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13995 for as_dir in $PATH
13997 IFS=$as_save_IFS
13998 test -z "$as_dir" && as_dir=.
13999 for ac_exec_ext in '' $ac_executable_extensions; do
14000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14001 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14003 break 2
14005 done
14006 done
14009 esac
14011 USER_JAVAH=$ac_cv_path_USER_JAVAH
14013 if test -n "$USER_JAVAH"; then
14014 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14015 echo "${ECHO_T}$USER_JAVAH" >&6
14016 else
14017 echo "$as_me:$LINENO: result: no" >&5
14018 echo "${ECHO_T}no" >&6
14022 else
14023 for javah_name in gcjh javah; do
14024 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14025 set dummy "$javah_name"; ac_word=$2
14026 echo "$as_me:$LINENO: checking for $ac_word" >&5
14027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14028 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 else
14031 case $USER_JAVAH in
14032 [\\/]* | ?:[\\/]*)
14033 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14037 for as_dir in $PATH
14039 IFS=$as_save_IFS
14040 test -z "$as_dir" && as_dir=.
14041 for ac_exec_ext in '' $ac_executable_extensions; do
14042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14043 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14045 break 2
14047 done
14048 done
14051 esac
14053 USER_JAVAH=$ac_cv_path_USER_JAVAH
14055 if test -n "$USER_JAVAH"; then
14056 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14057 echo "${ECHO_T}$USER_JAVAH" >&6
14058 else
14059 echo "$as_me:$LINENO: result: no" >&5
14060 echo "${ECHO_T}no" >&6
14063 if test "x${USER_JAVAH}" != x; then
14064 break
14066 done
14069 # if test "x${USER_JAVAH}" = x; then
14070 # echo "configure: cannot find javah" 1>&2
14071 # exit 1
14072 # fi
14074 else
14076 if test "x" != x; then
14077 if test -f ""; then
14078 USER_JAVAH=""
14079 else
14080 # Extract the first word of """", so it can be a program name with args.
14081 set dummy ""; ac_word=$2
14082 echo "$as_me:$LINENO: checking for $ac_word" >&5
14083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14084 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 else
14087 case $USER_JAVAH in
14088 [\\/]* | ?:[\\/]*)
14089 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14093 for as_dir in $PATH
14095 IFS=$as_save_IFS
14096 test -z "$as_dir" && as_dir=.
14097 for ac_exec_ext in '' $ac_executable_extensions; do
14098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14099 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14101 break 2
14103 done
14104 done
14107 esac
14109 USER_JAVAH=$ac_cv_path_USER_JAVAH
14111 if test -n "$USER_JAVAH"; then
14112 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14113 echo "${ECHO_T}$USER_JAVAH" >&6
14114 else
14115 echo "$as_me:$LINENO: result: no" >&5
14116 echo "${ECHO_T}no" >&6
14120 else
14121 for javah_name in gcjh javah; do
14122 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14123 set dummy "$javah_name"; ac_word=$2
14124 echo "$as_me:$LINENO: checking for $ac_word" >&5
14125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14126 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14127 echo $ECHO_N "(cached) $ECHO_C" >&6
14128 else
14129 case $USER_JAVAH in
14130 [\\/]* | ?:[\\/]*)
14131 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14135 for as_dir in $PATH
14137 IFS=$as_save_IFS
14138 test -z "$as_dir" && as_dir=.
14139 for ac_exec_ext in '' $ac_executable_extensions; do
14140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14141 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14143 break 2
14145 done
14146 done
14149 esac
14151 USER_JAVAH=$ac_cv_path_USER_JAVAH
14153 if test -n "$USER_JAVAH"; then
14154 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14155 echo "${ECHO_T}$USER_JAVAH" >&6
14156 else
14157 echo "$as_me:$LINENO: result: no" >&5
14158 echo "${ECHO_T}no" >&6
14161 if test "x${USER_JAVAH}" != x; then
14162 break
14164 done
14167 # if test "x${USER_JAVAH}" = x; then
14168 # echo "configure: cannot find javah" 1>&2
14169 # exit 1
14170 # fi
14174 else
14177 if test "x" != x; then
14178 if test -f ""; then
14179 USER_JAVAH=""
14180 else
14181 # Extract the first word of """", so it can be a program name with args.
14182 set dummy ""; ac_word=$2
14183 echo "$as_me:$LINENO: checking for $ac_word" >&5
14184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14185 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14187 else
14188 case $USER_JAVAH in
14189 [\\/]* | ?:[\\/]*)
14190 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14194 for as_dir in $PATH
14196 IFS=$as_save_IFS
14197 test -z "$as_dir" && as_dir=.
14198 for ac_exec_ext in '' $ac_executable_extensions; do
14199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14200 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14202 break 2
14204 done
14205 done
14208 esac
14210 USER_JAVAH=$ac_cv_path_USER_JAVAH
14212 if test -n "$USER_JAVAH"; then
14213 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14214 echo "${ECHO_T}$USER_JAVAH" >&6
14215 else
14216 echo "$as_me:$LINENO: result: no" >&5
14217 echo "${ECHO_T}no" >&6
14221 else
14222 for javah_name in gcjh javah; do
14223 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14224 set dummy "$javah_name"; ac_word=$2
14225 echo "$as_me:$LINENO: checking for $ac_word" >&5
14226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14227 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 else
14230 case $USER_JAVAH in
14231 [\\/]* | ?:[\\/]*)
14232 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14236 for as_dir in $PATH
14238 IFS=$as_save_IFS
14239 test -z "$as_dir" && as_dir=.
14240 for ac_exec_ext in '' $ac_executable_extensions; do
14241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14242 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14244 break 2
14246 done
14247 done
14250 esac
14252 USER_JAVAH=$ac_cv_path_USER_JAVAH
14254 if test -n "$USER_JAVAH"; then
14255 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14256 echo "${ECHO_T}$USER_JAVAH" >&6
14257 else
14258 echo "$as_me:$LINENO: result: no" >&5
14259 echo "${ECHO_T}no" >&6
14262 if test "x${USER_JAVAH}" != x; then
14263 break
14265 done
14268 # if test "x${USER_JAVAH}" = x; then
14269 # echo "configure: cannot find javah" 1>&2
14270 # exit 1
14271 # fi
14277 if test "x${USER_JAVAH}" != x; then
14278 USER_SPECIFIED_JAVAH_TRUE=
14279 USER_SPECIFIED_JAVAH_FALSE='#'
14280 else
14281 USER_SPECIFIED_JAVAH_TRUE='#'
14282 USER_SPECIFIED_JAVAH_FALSE=
14288 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
14291 if test "x${COMPILE_JNI}" = xyes; then
14292 echo "$as_me:$LINENO: checking jni_md.h support" >&5
14293 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
14294 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
14295 echo "$as_me:$LINENO: result: yes" >&5
14296 echo "${ECHO_T}yes" >&6
14297 else
14298 target_cpu=x86
14299 target_os=linux-gnu
14300 { echo "$as_me:$LINENO: WARNING: no" >&5
14301 echo "$as_me: WARNING: no" >&2;}
14303 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
14304 ac_dests="include/jni_md.h"
14305 while test -n "$ac_sources"; do
14306 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
14307 set $ac_sources; ac_source=$1; shift; ac_sources=$*
14308 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
14309 done
14310 ac_config_links="$ac_config_links $ac_config_links_1"
14315 user_specified_javac=
14319 # Check whether --with-gcj or --without-gcj was given.
14320 if test "${with_gcj+set}" = set; then
14321 withval="$with_gcj"
14323 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14325 if test "x${withval}" != x; then
14326 if test -f "${withval}"; then
14327 GCJ="${withval}"
14328 else
14329 # Extract the first word of ""${withval}"", so it can be a program name with args.
14330 set dummy "${withval}"; ac_word=$2
14331 echo "$as_me:$LINENO: checking for $ac_word" >&5
14332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14333 if test "${ac_cv_path_GCJ+set}" = set; then
14334 echo $ECHO_N "(cached) $ECHO_C" >&6
14335 else
14336 case $GCJ in
14337 [\\/]* | ?:[\\/]*)
14338 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14342 for as_dir in $PATH
14344 IFS=$as_save_IFS
14345 test -z "$as_dir" && as_dir=.
14346 for ac_exec_ext in '' $ac_executable_extensions; do
14347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14348 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14350 break 2
14352 done
14353 done
14356 esac
14358 GCJ=$ac_cv_path_GCJ
14360 if test -n "$GCJ"; then
14361 echo "$as_me:$LINENO: result: $GCJ" >&5
14362 echo "${ECHO_T}$GCJ" >&6
14363 else
14364 echo "$as_me:$LINENO: result: no" >&5
14365 echo "${ECHO_T}no" >&6
14369 else
14370 # Extract the first word of ""gcj"", so it can be a program name with args.
14371 set dummy "gcj"; ac_word=$2
14372 echo "$as_me:$LINENO: checking for $ac_word" >&5
14373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14374 if test "${ac_cv_path_GCJ+set}" = set; then
14375 echo $ECHO_N "(cached) $ECHO_C" >&6
14376 else
14377 case $GCJ in
14378 [\\/]* | ?:[\\/]*)
14379 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14383 for as_dir in $PATH
14385 IFS=$as_save_IFS
14386 test -z "$as_dir" && as_dir=.
14387 for ac_exec_ext in '' $ac_executable_extensions; do
14388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14389 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14391 break 2
14393 done
14394 done
14397 esac
14399 GCJ=$ac_cv_path_GCJ
14401 if test -n "$GCJ"; then
14402 echo "$as_me:$LINENO: result: $GCJ" >&5
14403 echo "${ECHO_T}$GCJ" >&6
14404 else
14405 echo "$as_me:$LINENO: result: no" >&5
14406 echo "${ECHO_T}no" >&6
14410 if test "x$GCJ" != x; then
14411 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14412 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14413 ac_ext=c
14414 ac_cpp='$CPP $CPPFLAGS'
14415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14419 cat >conftest.$ac_ext <<_ACEOF
14420 #if __GNUC__ <= 3
14421 #error GCJ 4.0.0 or higher is required
14422 #endif
14424 _ACEOF
14425 $GCJ -E conftest.c > /dev/null
14426 gcj_4_result=$?
14427 if test "x$gcj_4_result" = "x0"; then
14428 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14429 echo "${ECHO_T}4.0 or higher found" >&6
14430 else
14431 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14432 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14434 ac_ext=c
14435 ac_cpp='$CPP $CPPFLAGS'
14436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14442 else
14443 if test "x${withval}" != xno; then
14445 if test "x" != x; then
14446 if test -f ""; then
14447 GCJ=""
14448 else
14449 # Extract the first word of """", so it can be a program name with args.
14450 set dummy ""; ac_word=$2
14451 echo "$as_me:$LINENO: checking for $ac_word" >&5
14452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14453 if test "${ac_cv_path_GCJ+set}" = set; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 else
14456 case $GCJ in
14457 [\\/]* | ?:[\\/]*)
14458 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14462 for as_dir in $PATH
14464 IFS=$as_save_IFS
14465 test -z "$as_dir" && as_dir=.
14466 for ac_exec_ext in '' $ac_executable_extensions; do
14467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14468 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14470 break 2
14472 done
14473 done
14476 esac
14478 GCJ=$ac_cv_path_GCJ
14480 if test -n "$GCJ"; then
14481 echo "$as_me:$LINENO: result: $GCJ" >&5
14482 echo "${ECHO_T}$GCJ" >&6
14483 else
14484 echo "$as_me:$LINENO: result: no" >&5
14485 echo "${ECHO_T}no" >&6
14489 else
14490 # Extract the first word of ""gcj"", so it can be a program name with args.
14491 set dummy "gcj"; ac_word=$2
14492 echo "$as_me:$LINENO: checking for $ac_word" >&5
14493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14494 if test "${ac_cv_path_GCJ+set}" = set; then
14495 echo $ECHO_N "(cached) $ECHO_C" >&6
14496 else
14497 case $GCJ in
14498 [\\/]* | ?:[\\/]*)
14499 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14503 for as_dir in $PATH
14505 IFS=$as_save_IFS
14506 test -z "$as_dir" && as_dir=.
14507 for ac_exec_ext in '' $ac_executable_extensions; do
14508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14509 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14511 break 2
14513 done
14514 done
14517 esac
14519 GCJ=$ac_cv_path_GCJ
14521 if test -n "$GCJ"; then
14522 echo "$as_me:$LINENO: result: $GCJ" >&5
14523 echo "${ECHO_T}$GCJ" >&6
14524 else
14525 echo "$as_me:$LINENO: result: no" >&5
14526 echo "${ECHO_T}no" >&6
14530 if test "x$GCJ" != x; then
14531 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14532 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14533 ac_ext=c
14534 ac_cpp='$CPP $CPPFLAGS'
14535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14539 cat >conftest.$ac_ext <<_ACEOF
14540 #if __GNUC__ <= 3
14541 #error GCJ 4.0.0 or higher is required
14542 #endif
14544 _ACEOF
14545 $GCJ -E conftest.c > /dev/null
14546 gcj_4_result=$?
14547 if test "x$gcj_4_result" = "x0"; then
14548 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14549 echo "${ECHO_T}4.0 or higher found" >&6
14550 else
14551 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14552 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14554 ac_ext=c
14555 ac_cpp='$CPP $CPPFLAGS'
14556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14564 user_specified_javac=gcj
14566 else
14569 if test "x" != x; then
14570 if test -f ""; then
14571 GCJ=""
14572 else
14573 # Extract the first word of """", so it can be a program name with args.
14574 set dummy ""; ac_word=$2
14575 echo "$as_me:$LINENO: checking for $ac_word" >&5
14576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14577 if test "${ac_cv_path_GCJ+set}" = set; then
14578 echo $ECHO_N "(cached) $ECHO_C" >&6
14579 else
14580 case $GCJ in
14581 [\\/]* | ?:[\\/]*)
14582 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14586 for as_dir in $PATH
14588 IFS=$as_save_IFS
14589 test -z "$as_dir" && as_dir=.
14590 for ac_exec_ext in '' $ac_executable_extensions; do
14591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14592 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14594 break 2
14596 done
14597 done
14600 esac
14602 GCJ=$ac_cv_path_GCJ
14604 if test -n "$GCJ"; then
14605 echo "$as_me:$LINENO: result: $GCJ" >&5
14606 echo "${ECHO_T}$GCJ" >&6
14607 else
14608 echo "$as_me:$LINENO: result: no" >&5
14609 echo "${ECHO_T}no" >&6
14613 else
14614 # Extract the first word of ""gcj"", so it can be a program name with args.
14615 set dummy "gcj"; ac_word=$2
14616 echo "$as_me:$LINENO: checking for $ac_word" >&5
14617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14618 if test "${ac_cv_path_GCJ+set}" = set; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14620 else
14621 case $GCJ in
14622 [\\/]* | ?:[\\/]*)
14623 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14627 for as_dir in $PATH
14629 IFS=$as_save_IFS
14630 test -z "$as_dir" && as_dir=.
14631 for ac_exec_ext in '' $ac_executable_extensions; do
14632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14633 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14635 break 2
14637 done
14638 done
14641 esac
14643 GCJ=$ac_cv_path_GCJ
14645 if test -n "$GCJ"; then
14646 echo "$as_me:$LINENO: result: $GCJ" >&5
14647 echo "${ECHO_T}$GCJ" >&6
14648 else
14649 echo "$as_me:$LINENO: result: no" >&5
14650 echo "${ECHO_T}no" >&6
14654 if test "x$GCJ" != x; then
14655 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14656 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14657 ac_ext=c
14658 ac_cpp='$CPP $CPPFLAGS'
14659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14663 cat >conftest.$ac_ext <<_ACEOF
14664 #if __GNUC__ <= 3
14665 #error GCJ 4.0.0 or higher is required
14666 #endif
14668 _ACEOF
14669 $GCJ -E conftest.c > /dev/null
14670 gcj_4_result=$?
14671 if test "x$gcj_4_result" = "x0"; then
14672 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14673 echo "${ECHO_T}4.0 or higher found" >&6
14674 else
14675 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14676 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14678 ac_ext=c
14679 ac_cpp='$CPP $CPPFLAGS'
14680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14692 # Check whether --with-jikes or --without-jikes was given.
14693 if test "${with_jikes+set}" = set; then
14694 withval="$with_jikes"
14696 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14698 if test "x${withval}" != x; then
14699 if test -f "${withval}"; then
14700 JIKES="${withval}"
14701 else
14702 # Extract the first word of ""${withval}"", so it can be a program name with args.
14703 set dummy "${withval}"; ac_word=$2
14704 echo "$as_me:$LINENO: checking for $ac_word" >&5
14705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14706 if test "${ac_cv_path_JIKES+set}" = set; then
14707 echo $ECHO_N "(cached) $ECHO_C" >&6
14708 else
14709 case $JIKES in
14710 [\\/]* | ?:[\\/]*)
14711 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14715 for as_dir in $PATH
14717 IFS=$as_save_IFS
14718 test -z "$as_dir" && as_dir=.
14719 for ac_exec_ext in '' $ac_executable_extensions; do
14720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14721 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14723 break 2
14725 done
14726 done
14729 esac
14731 JIKES=$ac_cv_path_JIKES
14733 if test -n "$JIKES"; then
14734 echo "$as_me:$LINENO: result: $JIKES" >&5
14735 echo "${ECHO_T}$JIKES" >&6
14736 else
14737 echo "$as_me:$LINENO: result: no" >&5
14738 echo "${ECHO_T}no" >&6
14742 else
14743 # Extract the first word of ""jikes"", so it can be a program name with args.
14744 set dummy "jikes"; ac_word=$2
14745 echo "$as_me:$LINENO: checking for $ac_word" >&5
14746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14747 if test "${ac_cv_path_JIKES+set}" = set; then
14748 echo $ECHO_N "(cached) $ECHO_C" >&6
14749 else
14750 case $JIKES in
14751 [\\/]* | ?:[\\/]*)
14752 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14756 for as_dir in $PATH
14758 IFS=$as_save_IFS
14759 test -z "$as_dir" && as_dir=.
14760 for ac_exec_ext in '' $ac_executable_extensions; do
14761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14762 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14764 break 2
14766 done
14767 done
14770 esac
14772 JIKES=$ac_cv_path_JIKES
14774 if test -n "$JIKES"; then
14775 echo "$as_me:$LINENO: result: $JIKES" >&5
14776 echo "${ECHO_T}$JIKES" >&6
14777 else
14778 echo "$as_me:$LINENO: result: no" >&5
14779 echo "${ECHO_T}no" >&6
14783 if test "x$JIKES" != "x"; then
14784 echo "$as_me:$LINENO: checking jikes version" >&5
14785 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14786 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14787 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14788 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14789 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14790 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14791 JIKES=""
14794 if test "x$JIKES" != "x"; then
14795 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14796 echo "${ECHO_T}$JIKES_VERSION" >&6
14797 else
14798 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14799 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14802 JIKESENCODING=
14803 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14804 JIKESENCODING='-encoding UTF-8'
14808 JIKESWARNINGS="+Pno-switchcheck"
14809 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14810 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14811 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14818 else
14819 if test "x${withval}" != xno; then
14821 if test "x" != x; then
14822 if test -f ""; then
14823 JIKES=""
14824 else
14825 # Extract the first word of """", so it can be a program name with args.
14826 set dummy ""; ac_word=$2
14827 echo "$as_me:$LINENO: checking for $ac_word" >&5
14828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14829 if test "${ac_cv_path_JIKES+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14831 else
14832 case $JIKES in
14833 [\\/]* | ?:[\\/]*)
14834 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14838 for as_dir in $PATH
14840 IFS=$as_save_IFS
14841 test -z "$as_dir" && as_dir=.
14842 for ac_exec_ext in '' $ac_executable_extensions; do
14843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14844 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14846 break 2
14848 done
14849 done
14852 esac
14854 JIKES=$ac_cv_path_JIKES
14856 if test -n "$JIKES"; then
14857 echo "$as_me:$LINENO: result: $JIKES" >&5
14858 echo "${ECHO_T}$JIKES" >&6
14859 else
14860 echo "$as_me:$LINENO: result: no" >&5
14861 echo "${ECHO_T}no" >&6
14865 else
14866 # Extract the first word of ""jikes"", so it can be a program name with args.
14867 set dummy "jikes"; ac_word=$2
14868 echo "$as_me:$LINENO: checking for $ac_word" >&5
14869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14870 if test "${ac_cv_path_JIKES+set}" = set; then
14871 echo $ECHO_N "(cached) $ECHO_C" >&6
14872 else
14873 case $JIKES in
14874 [\\/]* | ?:[\\/]*)
14875 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14879 for as_dir in $PATH
14881 IFS=$as_save_IFS
14882 test -z "$as_dir" && as_dir=.
14883 for ac_exec_ext in '' $ac_executable_extensions; do
14884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14885 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14887 break 2
14889 done
14890 done
14893 esac
14895 JIKES=$ac_cv_path_JIKES
14897 if test -n "$JIKES"; then
14898 echo "$as_me:$LINENO: result: $JIKES" >&5
14899 echo "${ECHO_T}$JIKES" >&6
14900 else
14901 echo "$as_me:$LINENO: result: no" >&5
14902 echo "${ECHO_T}no" >&6
14906 if test "x$JIKES" != "x"; then
14907 echo "$as_me:$LINENO: checking jikes version" >&5
14908 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14909 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14910 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14911 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14912 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14913 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14914 JIKES=""
14917 if test "x$JIKES" != "x"; then
14918 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14919 echo "${ECHO_T}$JIKES_VERSION" >&6
14920 else
14921 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14922 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14925 JIKESENCODING=
14926 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14927 JIKESENCODING='-encoding UTF-8'
14931 JIKESWARNINGS="+Pno-switchcheck"
14932 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14933 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14934 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14943 user_specified_javac=jikes
14945 else
14948 if test "x" != x; then
14949 if test -f ""; then
14950 JIKES=""
14951 else
14952 # Extract the first word of """", so it can be a program name with args.
14953 set dummy ""; ac_word=$2
14954 echo "$as_me:$LINENO: checking for $ac_word" >&5
14955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14956 if test "${ac_cv_path_JIKES+set}" = set; then
14957 echo $ECHO_N "(cached) $ECHO_C" >&6
14958 else
14959 case $JIKES in
14960 [\\/]* | ?:[\\/]*)
14961 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14965 for as_dir in $PATH
14967 IFS=$as_save_IFS
14968 test -z "$as_dir" && as_dir=.
14969 for ac_exec_ext in '' $ac_executable_extensions; do
14970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14971 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14973 break 2
14975 done
14976 done
14979 esac
14981 JIKES=$ac_cv_path_JIKES
14983 if test -n "$JIKES"; then
14984 echo "$as_me:$LINENO: result: $JIKES" >&5
14985 echo "${ECHO_T}$JIKES" >&6
14986 else
14987 echo "$as_me:$LINENO: result: no" >&5
14988 echo "${ECHO_T}no" >&6
14992 else
14993 # Extract the first word of ""jikes"", so it can be a program name with args.
14994 set dummy "jikes"; ac_word=$2
14995 echo "$as_me:$LINENO: checking for $ac_word" >&5
14996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14997 if test "${ac_cv_path_JIKES+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 else
15000 case $JIKES in
15001 [\\/]* | ?:[\\/]*)
15002 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
15005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15006 for as_dir in $PATH
15008 IFS=$as_save_IFS
15009 test -z "$as_dir" && as_dir=.
15010 for ac_exec_ext in '' $ac_executable_extensions; do
15011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15012 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
15013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15014 break 2
15016 done
15017 done
15020 esac
15022 JIKES=$ac_cv_path_JIKES
15024 if test -n "$JIKES"; then
15025 echo "$as_me:$LINENO: result: $JIKES" >&5
15026 echo "${ECHO_T}$JIKES" >&6
15027 else
15028 echo "$as_me:$LINENO: result: no" >&5
15029 echo "${ECHO_T}no" >&6
15033 if test "x$JIKES" != "x"; then
15034 echo "$as_me:$LINENO: checking jikes version" >&5
15035 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
15036 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
15037 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
15038 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
15039 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
15040 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
15041 JIKES=""
15044 if test "x$JIKES" != "x"; then
15045 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
15046 echo "${ECHO_T}$JIKES_VERSION" >&6
15047 else
15048 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
15049 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
15052 JIKESENCODING=
15053 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
15054 JIKESENCODING='-encoding UTF-8'
15058 JIKESWARNINGS="+Pno-switchcheck"
15059 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
15060 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
15061 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
15074 # Check whether --with-kjc or --without-kjc was given.
15075 if test "${with_kjc+set}" = set; then
15076 withval="$with_kjc"
15078 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15080 if test "x${withval}" != x; then
15081 if test -f "${withval}"; then
15082 KJC="${withval}"
15083 else
15084 # Extract the first word of ""${withval}"", so it can be a program name with args.
15085 set dummy "${withval}"; ac_word=$2
15086 echo "$as_me:$LINENO: checking for $ac_word" >&5
15087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15088 if test "${ac_cv_path_KJC+set}" = set; then
15089 echo $ECHO_N "(cached) $ECHO_C" >&6
15090 else
15091 case $KJC in
15092 [\\/]* | ?:[\\/]*)
15093 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15097 for as_dir in $PATH
15099 IFS=$as_save_IFS
15100 test -z "$as_dir" && as_dir=.
15101 for ac_exec_ext in '' $ac_executable_extensions; do
15102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15103 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15105 break 2
15107 done
15108 done
15111 esac
15113 KJC=$ac_cv_path_KJC
15115 if test -n "$KJC"; then
15116 echo "$as_me:$LINENO: result: $KJC" >&5
15117 echo "${ECHO_T}$KJC" >&6
15118 else
15119 echo "$as_me:$LINENO: result: no" >&5
15120 echo "${ECHO_T}no" >&6
15124 else
15125 # Extract the first word of ""kJC"", so it can be a program name with args.
15126 set dummy "kJC"; ac_word=$2
15127 echo "$as_me:$LINENO: checking for $ac_word" >&5
15128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15129 if test "${ac_cv_path_KJC+set}" = set; then
15130 echo $ECHO_N "(cached) $ECHO_C" >&6
15131 else
15132 case $KJC in
15133 [\\/]* | ?:[\\/]*)
15134 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15138 for as_dir in $PATH
15140 IFS=$as_save_IFS
15141 test -z "$as_dir" && as_dir=.
15142 for ac_exec_ext in '' $ac_executable_extensions; do
15143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15144 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15146 break 2
15148 done
15149 done
15152 esac
15154 KJC=$ac_cv_path_KJC
15156 if test -n "$KJC"; then
15157 echo "$as_me:$LINENO: result: $KJC" >&5
15158 echo "${ECHO_T}$KJC" >&6
15159 else
15160 echo "$as_me:$LINENO: result: no" >&5
15161 echo "${ECHO_T}no" >&6
15166 else
15167 if test "x${withval}" != xno; then
15169 if test "x" != x; then
15170 if test -f ""; then
15171 KJC=""
15172 else
15173 # Extract the first word of """", so it can be a program name with args.
15174 set dummy ""; ac_word=$2
15175 echo "$as_me:$LINENO: checking for $ac_word" >&5
15176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15177 if test "${ac_cv_path_KJC+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15179 else
15180 case $KJC in
15181 [\\/]* | ?:[\\/]*)
15182 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15186 for as_dir in $PATH
15188 IFS=$as_save_IFS
15189 test -z "$as_dir" && as_dir=.
15190 for ac_exec_ext in '' $ac_executable_extensions; do
15191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15192 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15194 break 2
15196 done
15197 done
15200 esac
15202 KJC=$ac_cv_path_KJC
15204 if test -n "$KJC"; then
15205 echo "$as_me:$LINENO: result: $KJC" >&5
15206 echo "${ECHO_T}$KJC" >&6
15207 else
15208 echo "$as_me:$LINENO: result: no" >&5
15209 echo "${ECHO_T}no" >&6
15213 else
15214 # Extract the first word of ""kJC"", so it can be a program name with args.
15215 set dummy "kJC"; ac_word=$2
15216 echo "$as_me:$LINENO: checking for $ac_word" >&5
15217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15218 if test "${ac_cv_path_KJC+set}" = set; then
15219 echo $ECHO_N "(cached) $ECHO_C" >&6
15220 else
15221 case $KJC in
15222 [\\/]* | ?:[\\/]*)
15223 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15227 for as_dir in $PATH
15229 IFS=$as_save_IFS
15230 test -z "$as_dir" && as_dir=.
15231 for ac_exec_ext in '' $ac_executable_extensions; do
15232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15233 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15235 break 2
15237 done
15238 done
15241 esac
15243 KJC=$ac_cv_path_KJC
15245 if test -n "$KJC"; then
15246 echo "$as_me:$LINENO: result: $KJC" >&5
15247 echo "${ECHO_T}$KJC" >&6
15248 else
15249 echo "$as_me:$LINENO: result: no" >&5
15250 echo "${ECHO_T}no" >&6
15257 user_specified_javac=kjc
15259 else
15262 if test "x" != x; then
15263 if test -f ""; then
15264 KJC=""
15265 else
15266 # Extract the first word of """", so it can be a program name with args.
15267 set dummy ""; ac_word=$2
15268 echo "$as_me:$LINENO: checking for $ac_word" >&5
15269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15270 if test "${ac_cv_path_KJC+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 else
15273 case $KJC in
15274 [\\/]* | ?:[\\/]*)
15275 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15279 for as_dir in $PATH
15281 IFS=$as_save_IFS
15282 test -z "$as_dir" && as_dir=.
15283 for ac_exec_ext in '' $ac_executable_extensions; do
15284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15285 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15287 break 2
15289 done
15290 done
15293 esac
15295 KJC=$ac_cv_path_KJC
15297 if test -n "$KJC"; then
15298 echo "$as_me:$LINENO: result: $KJC" >&5
15299 echo "${ECHO_T}$KJC" >&6
15300 else
15301 echo "$as_me:$LINENO: result: no" >&5
15302 echo "${ECHO_T}no" >&6
15306 else
15307 # Extract the first word of ""kJC"", so it can be a program name with args.
15308 set dummy "kJC"; ac_word=$2
15309 echo "$as_me:$LINENO: checking for $ac_word" >&5
15310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15311 if test "${ac_cv_path_KJC+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 else
15314 case $KJC in
15315 [\\/]* | ?:[\\/]*)
15316 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15320 for as_dir in $PATH
15322 IFS=$as_save_IFS
15323 test -z "$as_dir" && as_dir=.
15324 for ac_exec_ext in '' $ac_executable_extensions; do
15325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15326 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15328 break 2
15330 done
15331 done
15334 esac
15336 KJC=$ac_cv_path_KJC
15338 if test -n "$KJC"; then
15339 echo "$as_me:$LINENO: result: $KJC" >&5
15340 echo "${ECHO_T}$KJC" >&6
15341 else
15342 echo "$as_me:$LINENO: result: no" >&5
15343 echo "${ECHO_T}no" >&6
15354 # Check whether --with-gcjx or --without-gcjx was given.
15355 if test "${with_gcjx+set}" = set; then
15356 withval="$with_gcjx"
15358 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15360 if test "x${withval}" != x; then
15361 if test -f "${withval}"; then
15362 GCJX="${withval}"
15363 else
15364 # Extract the first word of ""${withval}"", so it can be a program name with args.
15365 set dummy "${withval}"; ac_word=$2
15366 echo "$as_me:$LINENO: checking for $ac_word" >&5
15367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15368 if test "${ac_cv_path_GCJX+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 else
15371 case $GCJX in
15372 [\\/]* | ?:[\\/]*)
15373 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15377 for as_dir in $PATH
15379 IFS=$as_save_IFS
15380 test -z "$as_dir" && as_dir=.
15381 for ac_exec_ext in '' $ac_executable_extensions; do
15382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15383 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15385 break 2
15387 done
15388 done
15391 esac
15393 GCJX=$ac_cv_path_GCJX
15395 if test -n "$GCJX"; then
15396 echo "$as_me:$LINENO: result: $GCJX" >&5
15397 echo "${ECHO_T}$GCJX" >&6
15398 else
15399 echo "$as_me:$LINENO: result: no" >&5
15400 echo "${ECHO_T}no" >&6
15404 else
15405 # Extract the first word of ""gcjx"", so it can be a program name with args.
15406 set dummy "gcjx"; ac_word=$2
15407 echo "$as_me:$LINENO: checking for $ac_word" >&5
15408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15409 if test "${ac_cv_path_GCJX+set}" = set; then
15410 echo $ECHO_N "(cached) $ECHO_C" >&6
15411 else
15412 case $GCJX in
15413 [\\/]* | ?:[\\/]*)
15414 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15418 for as_dir in $PATH
15420 IFS=$as_save_IFS
15421 test -z "$as_dir" && as_dir=.
15422 for ac_exec_ext in '' $ac_executable_extensions; do
15423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15424 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15426 break 2
15428 done
15429 done
15432 esac
15434 GCJX=$ac_cv_path_GCJX
15436 if test -n "$GCJX"; then
15437 echo "$as_me:$LINENO: result: $GCJX" >&5
15438 echo "${ECHO_T}$GCJX" >&6
15439 else
15440 echo "$as_me:$LINENO: result: no" >&5
15441 echo "${ECHO_T}no" >&6
15446 else
15447 if test "x${withval}" != xno; then
15449 if test "x" != x; then
15450 if test -f ""; then
15451 GCJX=""
15452 else
15453 # Extract the first word of """", so it can be a program name with args.
15454 set dummy ""; ac_word=$2
15455 echo "$as_me:$LINENO: checking for $ac_word" >&5
15456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15457 if test "${ac_cv_path_GCJX+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460 case $GCJX in
15461 [\\/]* | ?:[\\/]*)
15462 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15466 for as_dir in $PATH
15468 IFS=$as_save_IFS
15469 test -z "$as_dir" && as_dir=.
15470 for ac_exec_ext in '' $ac_executable_extensions; do
15471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15472 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15474 break 2
15476 done
15477 done
15480 esac
15482 GCJX=$ac_cv_path_GCJX
15484 if test -n "$GCJX"; then
15485 echo "$as_me:$LINENO: result: $GCJX" >&5
15486 echo "${ECHO_T}$GCJX" >&6
15487 else
15488 echo "$as_me:$LINENO: result: no" >&5
15489 echo "${ECHO_T}no" >&6
15493 else
15494 # Extract the first word of ""gcjx"", so it can be a program name with args.
15495 set dummy "gcjx"; ac_word=$2
15496 echo "$as_me:$LINENO: checking for $ac_word" >&5
15497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15498 if test "${ac_cv_path_GCJX+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15500 else
15501 case $GCJX in
15502 [\\/]* | ?:[\\/]*)
15503 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15507 for as_dir in $PATH
15509 IFS=$as_save_IFS
15510 test -z "$as_dir" && as_dir=.
15511 for ac_exec_ext in '' $ac_executable_extensions; do
15512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15513 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15515 break 2
15517 done
15518 done
15521 esac
15523 GCJX=$ac_cv_path_GCJX
15525 if test -n "$GCJX"; then
15526 echo "$as_me:$LINENO: result: $GCJX" >&5
15527 echo "${ECHO_T}$GCJX" >&6
15528 else
15529 echo "$as_me:$LINENO: result: no" >&5
15530 echo "${ECHO_T}no" >&6
15537 user_specified_javac=gcjx
15539 else
15542 if test "x" != x; then
15543 if test -f ""; then
15544 GCJX=""
15545 else
15546 # Extract the first word of """", so it can be a program name with args.
15547 set dummy ""; ac_word=$2
15548 echo "$as_me:$LINENO: checking for $ac_word" >&5
15549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15550 if test "${ac_cv_path_GCJX+set}" = set; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15552 else
15553 case $GCJX in
15554 [\\/]* | ?:[\\/]*)
15555 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15559 for as_dir in $PATH
15561 IFS=$as_save_IFS
15562 test -z "$as_dir" && as_dir=.
15563 for ac_exec_ext in '' $ac_executable_extensions; do
15564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15565 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15567 break 2
15569 done
15570 done
15573 esac
15575 GCJX=$ac_cv_path_GCJX
15577 if test -n "$GCJX"; then
15578 echo "$as_me:$LINENO: result: $GCJX" >&5
15579 echo "${ECHO_T}$GCJX" >&6
15580 else
15581 echo "$as_me:$LINENO: result: no" >&5
15582 echo "${ECHO_T}no" >&6
15586 else
15587 # Extract the first word of ""gcjx"", so it can be a program name with args.
15588 set dummy "gcjx"; ac_word=$2
15589 echo "$as_me:$LINENO: checking for $ac_word" >&5
15590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15591 if test "${ac_cv_path_GCJX+set}" = set; then
15592 echo $ECHO_N "(cached) $ECHO_C" >&6
15593 else
15594 case $GCJX in
15595 [\\/]* | ?:[\\/]*)
15596 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15600 for as_dir in $PATH
15602 IFS=$as_save_IFS
15603 test -z "$as_dir" && as_dir=.
15604 for ac_exec_ext in '' $ac_executable_extensions; do
15605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15606 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15608 break 2
15610 done
15611 done
15614 esac
15616 GCJX=$ac_cv_path_GCJX
15618 if test -n "$GCJX"; then
15619 echo "$as_me:$LINENO: result: $GCJX" >&5
15620 echo "${ECHO_T}$GCJX" >&6
15621 else
15622 echo "$as_me:$LINENO: result: no" >&5
15623 echo "${ECHO_T}no" >&6
15634 # Check whether --with-ecj or --without-ecj was given.
15635 if test "${with_ecj+set}" = set; then
15636 withval="$with_ecj"
15638 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15640 if test "x${withval}" != x; then
15641 if test -f "${withval}"; then
15642 ECJ="${withval}"
15643 else
15644 # Extract the first word of ""${withval}"", so it can be a program name with args.
15645 set dummy "${withval}"; ac_word=$2
15646 echo "$as_me:$LINENO: checking for $ac_word" >&5
15647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15648 if test "${ac_cv_path_ECJ+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15650 else
15651 case $ECJ in
15652 [\\/]* | ?:[\\/]*)
15653 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15657 for as_dir in $PATH
15659 IFS=$as_save_IFS
15660 test -z "$as_dir" && as_dir=.
15661 for ac_exec_ext in '' $ac_executable_extensions; do
15662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15663 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15665 break 2
15667 done
15668 done
15671 esac
15673 ECJ=$ac_cv_path_ECJ
15675 if test -n "$ECJ"; then
15676 echo "$as_me:$LINENO: result: $ECJ" >&5
15677 echo "${ECHO_T}$ECJ" >&6
15678 else
15679 echo "$as_me:$LINENO: result: no" >&5
15680 echo "${ECHO_T}no" >&6
15684 else
15685 # Extract the first word of ""ecj"", so it can be a program name with args.
15686 set dummy "ecj"; ac_word=$2
15687 echo "$as_me:$LINENO: checking for $ac_word" >&5
15688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15689 if test "${ac_cv_path_ECJ+set}" = set; then
15690 echo $ECHO_N "(cached) $ECHO_C" >&6
15691 else
15692 case $ECJ in
15693 [\\/]* | ?:[\\/]*)
15694 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15698 for as_dir in $PATH
15700 IFS=$as_save_IFS
15701 test -z "$as_dir" && as_dir=.
15702 for ac_exec_ext in '' $ac_executable_extensions; do
15703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15704 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15706 break 2
15708 done
15709 done
15712 esac
15714 ECJ=$ac_cv_path_ECJ
15716 if test -n "$ECJ"; then
15717 echo "$as_me:$LINENO: result: $ECJ" >&5
15718 echo "${ECHO_T}$ECJ" >&6
15719 else
15720 echo "$as_me:$LINENO: result: no" >&5
15721 echo "${ECHO_T}no" >&6
15726 else
15727 if test "x${withval}" != xno; then
15729 if test "x" != x; then
15730 if test -f ""; then
15731 ECJ=""
15732 else
15733 # Extract the first word of """", so it can be a program name with args.
15734 set dummy ""; ac_word=$2
15735 echo "$as_me:$LINENO: checking for $ac_word" >&5
15736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15737 if test "${ac_cv_path_ECJ+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15739 else
15740 case $ECJ in
15741 [\\/]* | ?:[\\/]*)
15742 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15746 for as_dir in $PATH
15748 IFS=$as_save_IFS
15749 test -z "$as_dir" && as_dir=.
15750 for ac_exec_ext in '' $ac_executable_extensions; do
15751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15752 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15754 break 2
15756 done
15757 done
15760 esac
15762 ECJ=$ac_cv_path_ECJ
15764 if test -n "$ECJ"; then
15765 echo "$as_me:$LINENO: result: $ECJ" >&5
15766 echo "${ECHO_T}$ECJ" >&6
15767 else
15768 echo "$as_me:$LINENO: result: no" >&5
15769 echo "${ECHO_T}no" >&6
15773 else
15774 # Extract the first word of ""ecj"", so it can be a program name with args.
15775 set dummy "ecj"; ac_word=$2
15776 echo "$as_me:$LINENO: checking for $ac_word" >&5
15777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15778 if test "${ac_cv_path_ECJ+set}" = set; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15780 else
15781 case $ECJ in
15782 [\\/]* | ?:[\\/]*)
15783 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15787 for as_dir in $PATH
15789 IFS=$as_save_IFS
15790 test -z "$as_dir" && as_dir=.
15791 for ac_exec_ext in '' $ac_executable_extensions; do
15792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15793 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15795 break 2
15797 done
15798 done
15801 esac
15803 ECJ=$ac_cv_path_ECJ
15805 if test -n "$ECJ"; then
15806 echo "$as_me:$LINENO: result: $ECJ" >&5
15807 echo "${ECHO_T}$ECJ" >&6
15808 else
15809 echo "$as_me:$LINENO: result: no" >&5
15810 echo "${ECHO_T}no" >&6
15817 user_specified_javac=ecj
15819 else
15822 if test "x" != x; then
15823 if test -f ""; then
15824 ECJ=""
15825 else
15826 # Extract the first word of """", so it can be a program name with args.
15827 set dummy ""; ac_word=$2
15828 echo "$as_me:$LINENO: checking for $ac_word" >&5
15829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15830 if test "${ac_cv_path_ECJ+set}" = set; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15832 else
15833 case $ECJ in
15834 [\\/]* | ?:[\\/]*)
15835 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15839 for as_dir in $PATH
15841 IFS=$as_save_IFS
15842 test -z "$as_dir" && as_dir=.
15843 for ac_exec_ext in '' $ac_executable_extensions; do
15844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15845 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15847 break 2
15849 done
15850 done
15853 esac
15855 ECJ=$ac_cv_path_ECJ
15857 if test -n "$ECJ"; then
15858 echo "$as_me:$LINENO: result: $ECJ" >&5
15859 echo "${ECHO_T}$ECJ" >&6
15860 else
15861 echo "$as_me:$LINENO: result: no" >&5
15862 echo "${ECHO_T}no" >&6
15866 else
15867 # Extract the first word of ""ecj"", so it can be a program name with args.
15868 set dummy "ecj"; ac_word=$2
15869 echo "$as_me:$LINENO: checking for $ac_word" >&5
15870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15871 if test "${ac_cv_path_ECJ+set}" = set; then
15872 echo $ECHO_N "(cached) $ECHO_C" >&6
15873 else
15874 case $ECJ in
15875 [\\/]* | ?:[\\/]*)
15876 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15880 for as_dir in $PATH
15882 IFS=$as_save_IFS
15883 test -z "$as_dir" && as_dir=.
15884 for ac_exec_ext in '' $ac_executable_extensions; do
15885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15886 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15888 break 2
15890 done
15891 done
15894 esac
15896 ECJ=$ac_cv_path_ECJ
15898 if test -n "$ECJ"; then
15899 echo "$as_me:$LINENO: result: $ECJ" >&5
15900 echo "${ECHO_T}$ECJ" >&6
15901 else
15902 echo "$as_me:$LINENO: result: no" >&5
15903 echo "${ECHO_T}no" >&6
15913 if test "x${user_specified_javac}" = x; then
15916 if test "x${GCJ}" != x; then
15917 FOUND_GCJ_TRUE=
15918 FOUND_GCJ_FALSE='#'
15919 else
15920 FOUND_GCJ_TRUE='#'
15921 FOUND_GCJ_FALSE=
15926 if test "x${JIKES}" != x; then
15927 FOUND_JIKES_TRUE=
15928 FOUND_JIKES_FALSE='#'
15929 else
15930 FOUND_JIKES_TRUE='#'
15931 FOUND_JIKES_FALSE=
15936 if test "x${ECJ}" != x; then
15937 FOUND_ECJ_TRUE=
15938 FOUND_ECJ_FALSE='#'
15939 else
15940 FOUND_ECJ_TRUE='#'
15941 FOUND_ECJ_FALSE=
15944 else
15947 if test "x${user_specified_javac}" = xgcj; then
15948 FOUND_GCJ_TRUE=
15949 FOUND_GCJ_FALSE='#'
15950 else
15951 FOUND_GCJ_TRUE='#'
15952 FOUND_GCJ_FALSE=
15957 if test "x${user_specified_javac}" = xjikes; then
15958 FOUND_JIKES_TRUE=
15959 FOUND_JIKES_FALSE='#'
15960 else
15961 FOUND_JIKES_TRUE='#'
15962 FOUND_JIKES_FALSE=
15967 if test "x${user_specified_javac}" = xecj; then
15968 FOUND_ECJ_TRUE=
15969 FOUND_ECJ_FALSE='#'
15970 else
15971 FOUND_ECJ_TRUE='#'
15972 FOUND_ECJ_FALSE=
15978 if test "x${user_specified_javac}" = xkjc; then
15979 FOUND_KJC_TRUE=
15980 FOUND_KJC_FALSE='#'
15981 else
15982 FOUND_KJC_TRUE='#'
15983 FOUND_KJC_FALSE=
15988 if test "x${user_specified_javac}" = xgcjx; then
15989 FOUND_GCJX_TRUE=
15990 FOUND_GCJX_FALSE='#'
15991 else
15992 FOUND_GCJX_TRUE='#'
15993 FOUND_GCJX_FALSE=
15997 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
15998 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
15999 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
16000 { (exit 1); exit 1; }; }
16006 # Check whether --with-classpath or --without-classpath was given.
16007 if test "${with_classpath+set}" = set; then
16008 withval="$with_classpath"
16010 if test "x${withval}" = xyes; then
16011 # set user classpath to CLASSPATH from env
16012 echo "$as_me:$LINENO: checking for classlib" >&5
16013 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
16014 USER_CLASSLIB=${CLASSPATH}
16016 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
16017 echo "${ECHO_T}${USER_CLASSLIB}" >&6
16018 conditional_with_classlib=true
16019 elif test "x${withval}" != x && test "x${withval}" != xno; then
16020 # set user classpath to specified value
16021 echo "$as_me:$LINENO: checking for classlib" >&5
16022 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
16023 USER_CLASSLIB=${withval}
16025 echo "$as_me:$LINENO: result: ${withval}" >&5
16026 echo "${ECHO_T}${withval}" >&6
16027 conditional_with_classlib=true
16030 else
16031 conditional_with_classlib=false
16035 if test "x${conditional_with_classlib}" = xtrue; then
16036 USER_SPECIFIED_CLASSLIB_TRUE=
16037 USER_SPECIFIED_CLASSLIB_FALSE='#'
16038 else
16039 USER_SPECIFIED_CLASSLIB_TRUE='#'
16040 USER_SPECIFIED_CLASSLIB_FALSE=
16045 # Check whether --with-vm-classes or --without-vm-classes was given.
16046 if test "${with_vm_classes+set}" = set; then
16047 withval="$with_vm_classes"
16048 vm_classes="$with_vm_classes"
16049 else
16050 vm_classes='${top_srcdir}/vm/reference'
16055 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
16056 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
16057 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
16058 if test "${enable_maintainer_mode+set}" = set; then
16059 enableval="$enable_maintainer_mode"
16060 USE_MAINTAINER_MODE=$enableval
16061 else
16062 USE_MAINTAINER_MODE=no
16064 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
16065 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
16068 if test $USE_MAINTAINER_MODE = yes; then
16069 MAINTAINER_MODE_TRUE=
16070 MAINTAINER_MODE_FALSE='#'
16071 else
16072 MAINTAINER_MODE_TRUE='#'
16073 MAINTAINER_MODE_FALSE=
16076 MAINT=$MAINTAINER_MODE_TRUE
16080 # Check whether --enable-debug or --disable-debug was given.
16081 if test "${enable_debug+set}" = set; then
16082 enableval="$enable_debug"
16083 case "${enableval}" in
16084 yes)
16085 LIBDEBUG="true"
16087 cat >>confdefs.h <<\_ACEOF
16088 #define DEBUG 1
16089 _ACEOF
16092 no) LIBDEBUG="false" ;;
16093 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
16094 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
16095 { (exit 1); exit 1; }; } ;;
16096 esac
16097 else
16098 LIBDEBUG="false"
16102 # Check whether --enable-load-library or --disable-load-library was given.
16103 if test "${enable_load_library+set}" = set; then
16104 enableval="$enable_load_library"
16105 case "${enableval}" in
16106 yes) INIT_LOAD_LIBRARY="true" ;;
16107 no) INIT_LOAD_LIBRARY="false" ;;
16108 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
16109 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
16110 { (exit 1); exit 1; }; } ;;
16111 esac
16112 else
16113 INIT_LOAD_LIBRARY="true"
16118 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
16119 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
16120 enableval="$enable_java_lang_system_explicit_initialization"
16121 case "${enableval}" in
16122 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
16123 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
16124 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
16125 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
16126 { (exit 1); exit 1; }; } ;;
16127 esac
16128 else
16129 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
16134 REMOVE=""
16137 # Extract the first word of "mkdir", so it can be a program name with args.
16138 set dummy mkdir; ac_word=$2
16139 echo "$as_me:$LINENO: checking for $ac_word" >&5
16140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16141 if test "${ac_cv_path_MKDIR+set}" = set; then
16142 echo $ECHO_N "(cached) $ECHO_C" >&6
16143 else
16144 case $MKDIR in
16145 [\\/]* | ?:[\\/]*)
16146 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
16149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16150 for as_dir in $PATH
16152 IFS=$as_save_IFS
16153 test -z "$as_dir" && as_dir=.
16154 for ac_exec_ext in '' $ac_executable_extensions; do
16155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16156 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
16157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16158 break 2
16160 done
16161 done
16164 esac
16166 MKDIR=$ac_cv_path_MKDIR
16168 if test -n "$MKDIR"; then
16169 echo "$as_me:$LINENO: result: $MKDIR" >&5
16170 echo "${ECHO_T}$MKDIR" >&6
16171 else
16172 echo "$as_me:$LINENO: result: no" >&5
16173 echo "${ECHO_T}no" >&6
16176 # Extract the first word of "cp", so it can be a program name with args.
16177 set dummy cp; ac_word=$2
16178 echo "$as_me:$LINENO: checking for $ac_word" >&5
16179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16180 if test "${ac_cv_path_CP+set}" = set; then
16181 echo $ECHO_N "(cached) $ECHO_C" >&6
16182 else
16183 case $CP in
16184 [\\/]* | ?:[\\/]*)
16185 ac_cv_path_CP="$CP" # Let the user override the test with a path.
16188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16189 for as_dir in $PATH
16191 IFS=$as_save_IFS
16192 test -z "$as_dir" && as_dir=.
16193 for ac_exec_ext in '' $ac_executable_extensions; do
16194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16195 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
16196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16197 break 2
16199 done
16200 done
16203 esac
16205 CP=$ac_cv_path_CP
16207 if test -n "$CP"; then
16208 echo "$as_me:$LINENO: result: $CP" >&5
16209 echo "${ECHO_T}$CP" >&6
16210 else
16211 echo "$as_me:$LINENO: result: no" >&5
16212 echo "${ECHO_T}no" >&6
16215 # Extract the first word of "date", so it can be a program name with args.
16216 set dummy date; ac_word=$2
16217 echo "$as_me:$LINENO: checking for $ac_word" >&5
16218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16219 if test "${ac_cv_path_DATE+set}" = set; then
16220 echo $ECHO_N "(cached) $ECHO_C" >&6
16221 else
16222 case $DATE in
16223 [\\/]* | ?:[\\/]*)
16224 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
16227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16228 for as_dir in $PATH
16230 IFS=$as_save_IFS
16231 test -z "$as_dir" && as_dir=.
16232 for ac_exec_ext in '' $ac_executable_extensions; do
16233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16234 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
16235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16236 break 2
16238 done
16239 done
16242 esac
16244 DATE=$ac_cv_path_DATE
16246 if test -n "$DATE"; then
16247 echo "$as_me:$LINENO: result: $DATE" >&5
16248 echo "${ECHO_T}$DATE" >&6
16249 else
16250 echo "$as_me:$LINENO: result: no" >&5
16251 echo "${ECHO_T}no" >&6
16255 # Extract the first word of "find", so it can be a program name with args.
16256 set dummy find; ac_word=$2
16257 echo "$as_me:$LINENO: checking for $ac_word" >&5
16258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16259 if test "${ac_cv_path_FIND+set}" = set; then
16260 echo $ECHO_N "(cached) $ECHO_C" >&6
16261 else
16262 case $FIND in
16263 [\\/]* | ?:[\\/]*)
16264 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
16267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16268 for as_dir in $PATH
16270 IFS=$as_save_IFS
16271 test -z "$as_dir" && as_dir=.
16272 for ac_exec_ext in '' $ac_executable_extensions; do
16273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16274 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
16275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16276 break 2
16278 done
16279 done
16282 esac
16284 FIND=$ac_cv_path_FIND
16286 if test -n "$FIND"; then
16287 echo "$as_me:$LINENO: result: $FIND" >&5
16288 echo "${ECHO_T}$FIND" >&6
16289 else
16290 echo "$as_me:$LINENO: result: no" >&5
16291 echo "${ECHO_T}no" >&6
16296 # Extract the first word of "zip", so it can be a program name with args.
16297 set dummy zip; ac_word=$2
16298 echo "$as_me:$LINENO: checking for $ac_word" >&5
16299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16300 if test "${ac_cv_path_ZIP+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 case $ZIP in
16304 [\\/]* | ?:[\\/]*)
16305 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
16308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16309 for as_dir in $PATH
16311 IFS=$as_save_IFS
16312 test -z "$as_dir" && as_dir=.
16313 for ac_exec_ext in '' $ac_executable_extensions; do
16314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16315 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
16316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16317 break 2
16319 done
16320 done
16323 esac
16325 ZIP=$ac_cv_path_ZIP
16327 if test -n "$ZIP"; then
16328 echo "$as_me:$LINENO: result: $ZIP" >&5
16329 echo "${ECHO_T}$ZIP" >&6
16330 else
16331 echo "$as_me:$LINENO: result: no" >&5
16332 echo "${ECHO_T}no" >&6
16336 # Check whether --with-fastjar or --without-fastjar was given.
16337 if test "${with_fastjar+set}" = set; then
16338 withval="$with_fastjar"
16340 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
16341 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
16342 FASTJAR=${withval}
16343 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
16344 echo "${ECHO_T}${FASTJAR}" >&6
16346 else
16347 # Extract the first word of "fastjar", so it can be a program name with args.
16348 set dummy fastjar; ac_word=$2
16349 echo "$as_me:$LINENO: checking for $ac_word" >&5
16350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16351 if test "${ac_cv_path_FASTJAR+set}" = set; then
16352 echo $ECHO_N "(cached) $ECHO_C" >&6
16353 else
16354 case $FASTJAR in
16355 [\\/]* | ?:[\\/]*)
16356 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
16359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16360 for as_dir in $PATH
16362 IFS=$as_save_IFS
16363 test -z "$as_dir" && as_dir=.
16364 for ac_exec_ext in '' $ac_executable_extensions; do
16365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16366 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
16367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16368 break 2
16370 done
16371 done
16374 esac
16376 FASTJAR=$ac_cv_path_FASTJAR
16378 if test -n "$FASTJAR"; then
16379 echo "$as_me:$LINENO: result: $FASTJAR" >&5
16380 echo "${ECHO_T}$FASTJAR" >&6
16381 else
16382 echo "$as_me:$LINENO: result: no" >&5
16383 echo "${ECHO_T}no" >&6
16387 if test x"${FASTJAR}" != x; then
16388 ZIP=""
16392 # Check whether --with-glibj or --without-glibj was given.
16393 if test "${with_glibj+set}" = set; then
16394 withval="$with_glibj"
16396 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
16397 install_class_files=no
16398 build_class_files=yes
16399 use_zip=yes
16400 elif test "x${withval}" = xboth; then
16401 install_class_files=yes
16402 build_class_files=yes
16403 use_zip=yes
16404 elif test "x${withval}" = xflat; then
16405 install_class_files=yes
16406 build_class_files=yes
16407 use_zip=no
16408 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
16409 install_class_files=no
16410 build_class_files=no
16411 use_zip=no
16412 elif test "x${withval}" = xbuild; then
16413 install_class_files=no
16414 build_class_files=yes
16415 use_zip=no
16416 else
16417 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
16418 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
16419 { (exit 1); exit 1; }; }
16422 else
16424 install_class_files=no
16425 use_zip=yes
16430 if test "x${use_zip}" = xyes; then
16431 INSTALL_GLIBJ_ZIP_TRUE=
16432 INSTALL_GLIBJ_ZIP_FALSE='#'
16433 else
16434 INSTALL_GLIBJ_ZIP_TRUE='#'
16435 INSTALL_GLIBJ_ZIP_FALSE=
16440 if test "x${install_class_files}" = xyes; then
16441 INSTALL_CLASS_FILES_TRUE=
16442 INSTALL_CLASS_FILES_FALSE='#'
16443 else
16444 INSTALL_CLASS_FILES_TRUE='#'
16445 INSTALL_CLASS_FILES_FALSE=
16450 if test "x${build_class_files}" = xyes; then
16451 BUILD_CLASS_FILES_TRUE=
16452 BUILD_CLASS_FILES_FALSE='#'
16453 else
16454 BUILD_CLASS_FILES_TRUE='#'
16455 BUILD_CLASS_FILES_FALSE=
16459 # Check whether --enable-examples or --disable-examples was given.
16460 if test "${enable_examples+set}" = set; then
16461 enableval="$enable_examples"
16462 case "${enableval}" in
16463 yes) EXAMPLESDIR="examples" ;;
16464 no) EXAMPLESDIR="" ;;
16465 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
16466 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
16467 { (exit 1); exit 1; }; } ;;
16468 esac
16469 else
16470 EXAMPLESDIR="examples"
16472 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
16473 EXAMPLESDIR=""
16480 # Check whether --with-gjdoc or --without-gjdoc was given.
16481 if test "${with_gjdoc+set}" = set; then
16482 withval="$with_gjdoc"
16483 if test "x${withval}" = xno; then
16484 WITH_GJDOC=no;
16485 elif test "x${withval}" = xyes -o "x{withval}" = x; then
16486 WITH_GJDOC=yes;
16487 # Extract the first word of "gjdoc", so it can be a program name with args.
16488 set dummy gjdoc; ac_word=$2
16489 echo "$as_me:$LINENO: checking for $ac_word" >&5
16490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16491 if test "${ac_cv_path_GJDOC+set}" = set; then
16492 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 else
16494 case $GJDOC in
16495 [\\/]* | ?:[\\/]*)
16496 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
16499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16500 for as_dir in $PATH
16502 IFS=$as_save_IFS
16503 test -z "$as_dir" && as_dir=.
16504 for ac_exec_ext in '' $ac_executable_extensions; do
16505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16506 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
16507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16508 break 2
16510 done
16511 done
16513 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
16515 esac
16517 GJDOC=$ac_cv_path_GJDOC
16519 if test -n "$GJDOC"; then
16520 echo "$as_me:$LINENO: result: $GJDOC" >&5
16521 echo "${ECHO_T}$GJDOC" >&6
16522 else
16523 echo "$as_me:$LINENO: result: no" >&5
16524 echo "${ECHO_T}no" >&6
16527 if test "x${GJDOC}" = xno; then
16528 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
16529 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
16530 { (exit 1); exit 1; }; };
16532 else
16533 WITH_GJDOC=yes
16534 GJDOC="${withval}"
16535 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
16536 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
16537 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
16538 if eval "test \"\${$as_ac_File+set}\" = set"; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 else
16541 test "$cross_compiling" = yes &&
16542 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16543 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16544 { (exit 1); exit 1; }; }
16545 if test -r "${GJDOC}"; then
16546 eval "$as_ac_File=yes"
16547 else
16548 eval "$as_ac_File=no"
16551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16552 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16553 if test `eval echo '${'$as_ac_File'}'` = yes; then
16555 else
16556 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
16557 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
16558 { (exit 1); exit 1; }; }
16562 else
16563 WITH_GJDOC=no
16568 if test "x${WITH_GJDOC}" = xyes; then
16569 CREATE_API_DOCS_TRUE=
16570 CREATE_API_DOCS_FALSE='#'
16571 else
16572 CREATE_API_DOCS_TRUE='#'
16573 CREATE_API_DOCS_FALSE=
16580 # Check whether --with-jay or --without-jay was given.
16581 if test "${with_jay+set}" = set; then
16582 withval="$with_jay"
16584 if test -d "${withval}"; then
16585 JAY_DIR_PATH="${withval}"
16586 # Extract the first word of "jay", so it can be a program name with args.
16587 set dummy jay; ac_word=$2
16588 echo "$as_me:$LINENO: checking for $ac_word" >&5
16589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16590 if test "${ac_cv_path_JAY+set}" = set; then
16591 echo $ECHO_N "(cached) $ECHO_C" >&6
16592 else
16593 case $JAY in
16594 [\\/]* | ?:[\\/]*)
16595 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
16598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16599 for as_dir in ${JAY_DIR_PATH}
16601 IFS=$as_save_IFS
16602 test -z "$as_dir" && as_dir=.
16603 for ac_exec_ext in '' $ac_executable_extensions; do
16604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16605 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
16606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16607 break 2
16609 done
16610 done
16612 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
16614 esac
16616 JAY=$ac_cv_path_JAY
16618 if test -n "$JAY"; then
16619 echo "$as_me:$LINENO: result: $JAY" >&5
16620 echo "${ECHO_T}$JAY" >&6
16621 else
16622 echo "$as_me:$LINENO: result: no" >&5
16623 echo "${ECHO_T}no" >&6
16626 if test "x${JAY}" = xno; then
16627 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
16628 echo "$as_me: error: \"jay executable not found\"" >&2;}
16629 { (exit 1); exit 1; }; };
16631 else
16632 JAY_DIR_PATH=`dirname "${withval}"`
16633 JAY="${withval}"
16636 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
16637 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
16638 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
16639 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
16640 if eval "test \"\${$as_ac_File+set}\" = set"; then
16641 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 else
16643 test "$cross_compiling" = yes &&
16644 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16645 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16646 { (exit 1); exit 1; }; }
16647 if test -r "${JAY_SKELETON}"; then
16648 eval "$as_ac_File=yes"
16649 else
16650 eval "$as_ac_File=no"
16653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16654 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16655 if test `eval echo '${'$as_ac_File'}'` = yes; then
16657 else
16658 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
16659 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
16660 { (exit 1); exit 1; }; }
16663 JAY_FOUND=yes
16665 else
16667 JAY_FOUND=no
16672 if test "x${JAY_FOUND}" = xyes; then
16673 REGEN_PARSERS_TRUE=
16674 REGEN_PARSERS_FALSE='#'
16675 else
16676 REGEN_PARSERS_TRUE='#'
16677 REGEN_PARSERS_FALSE=
16682 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
16683 if test "${enable_portable_native_sync+set}" = set; then
16684 enableval="$enable_portable_native_sync"
16685 case "${enableval}" in
16686 yes)
16688 cat >>confdefs.h <<\_ACEOF
16689 #define PORTABLE_NATIVE_SYNC 1
16690 _ACEOF
16693 no) ;;
16695 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
16696 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
16697 { (exit 1); exit 1; }; }
16699 esac
16702 # ------ AX CREATE STDINT H -------------------------------------
16703 echo "$as_me:$LINENO: checking for stdint types" >&5
16704 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
16705 ac_stdint_h=`echo include/config-int.h`
16706 # try to shortcircuit - if the default include path of the compiler
16707 # can find a "stdint.h" header then we assume that all compilers can.
16708 if test "${ac_cv_header_stdint_t+set}" = set; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16710 else
16712 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
16713 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
16714 old_CFLAGS="$CFLAGS" ; CFLAGS=""
16715 cat >conftest.$ac_ext <<_ACEOF
16716 /* confdefs.h. */
16717 _ACEOF
16718 cat confdefs.h >>conftest.$ac_ext
16719 cat >>conftest.$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 #include <stdint.h>
16723 main ()
16725 int_least32_t v = 0;
16727 return 0;
16729 _ACEOF
16730 rm -f conftest.$ac_objext
16731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16732 (eval $ac_compile) 2>conftest.er1
16733 ac_status=$?
16734 grep -v '^ *+' conftest.er1 >conftest.err
16735 rm -f conftest.er1
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } &&
16739 { ac_try='test -z "$ac_c_werror_flag"
16740 || test ! -s conftest.err'
16741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16742 (eval $ac_try) 2>&5
16743 ac_status=$?
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); }; } &&
16746 { ac_try='test -s conftest.$ac_objext'
16747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16748 (eval $ac_try) 2>&5
16749 ac_status=$?
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); }; }; then
16752 ac_cv_stdint_result="(assuming C99 compatible system)"
16753 ac_cv_header_stdint_t="stdint.h";
16754 else
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.$ac_ext >&5
16758 ac_cv_header_stdint_t=""
16760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16761 CXXFLAGS="$old_CXXFLAGS"
16762 CPPFLAGS="$old_CPPFLAGS"
16763 CFLAGS="$old_CFLAGS"
16767 v="... $ac_cv_header_stdint_h"
16768 if test "$ac_stdint_h" = "stdint.h" ; then
16769 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
16770 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
16771 elif test "$ac_stdint_h" = "inttypes.h" ; then
16772 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
16773 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
16774 elif test "_$ac_cv_header_stdint_t" = "_" ; then
16775 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
16776 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
16777 else
16778 ac_cv_header_stdint="$ac_cv_header_stdint_t"
16779 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
16780 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
16783 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
16786 inttype_headers=`echo | sed -e 's/,/ /g'`
16788 ac_cv_stdint_result="(no helpful system typedefs seen)"
16790 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16791 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16792 if test "${ac_cv_header_stdint_x+set}" = set; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 else
16796 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
16797 echo "$as_me:$LINENO: result: (..)" >&5
16798 echo "${ECHO_T}(..)" >&6
16799 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
16800 unset ac_cv_type_uintptr_t
16801 unset ac_cv_type_uint64_t
16802 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16803 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16804 if test "${ac_cv_type_uintptr_t+set}" = set; then
16805 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 else
16807 cat >conftest.$ac_ext <<_ACEOF
16808 /* confdefs.h. */
16809 _ACEOF
16810 cat confdefs.h >>conftest.$ac_ext
16811 cat >>conftest.$ac_ext <<_ACEOF
16812 /* end confdefs.h. */
16813 #include <$i>
16816 main ()
16818 if ((uintptr_t *) 0)
16819 return 0;
16820 if (sizeof (uintptr_t))
16821 return 0;
16823 return 0;
16825 _ACEOF
16826 rm -f conftest.$ac_objext
16827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16828 (eval $ac_compile) 2>conftest.er1
16829 ac_status=$?
16830 grep -v '^ *+' conftest.er1 >conftest.err
16831 rm -f conftest.er1
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } &&
16835 { ac_try='test -z "$ac_c_werror_flag"
16836 || test ! -s conftest.err'
16837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16838 (eval $ac_try) 2>&5
16839 ac_status=$?
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }; } &&
16842 { ac_try='test -s conftest.$ac_objext'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16845 ac_status=$?
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; }; then
16848 ac_cv_type_uintptr_t=yes
16849 else
16850 echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.$ac_ext >&5
16853 ac_cv_type_uintptr_t=no
16855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16857 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16858 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16859 if test $ac_cv_type_uintptr_t = yes; then
16860 ac_cv_header_stdint_x=$i
16861 else
16862 continue
16865 echo "$as_me:$LINENO: checking for uint64_t" >&5
16866 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16867 if test "${ac_cv_type_uint64_t+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 else
16870 cat >conftest.$ac_ext <<_ACEOF
16871 /* confdefs.h. */
16872 _ACEOF
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16876 #include<$i>
16879 main ()
16881 if ((uint64_t *) 0)
16882 return 0;
16883 if (sizeof (uint64_t))
16884 return 0;
16886 return 0;
16888 _ACEOF
16889 rm -f conftest.$ac_objext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16891 (eval $ac_compile) 2>conftest.er1
16892 ac_status=$?
16893 grep -v '^ *+' conftest.er1 >conftest.err
16894 rm -f conftest.er1
16895 cat conftest.err >&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } &&
16898 { ac_try='test -z "$ac_c_werror_flag"
16899 || test ! -s conftest.err'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16902 ac_status=$?
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; } &&
16905 { ac_try='test -s conftest.$ac_objext'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; }; then
16911 ac_cv_type_uint64_t=yes
16912 else
16913 echo "$as_me: failed program was:" >&5
16914 sed 's/^/| /' conftest.$ac_ext >&5
16916 ac_cv_type_uint64_t=no
16918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16920 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16921 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16922 if test $ac_cv_type_uint64_t = yes; then
16923 and64="/uint64_t"
16924 else
16925 and64=""
16928 stdint.h inttypes.h sys/inttypes.h $inttype_headers
16929 break
16930 done
16931 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16932 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16935 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
16936 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
16939 if test "_$ac_cv_header_stdint_x" = "_" ; then
16941 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16942 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16943 if test "${ac_cv_header_stdint_o+set}" = set; then
16944 echo $ECHO_N "(cached) $ECHO_C" >&6
16945 else
16947 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
16948 echo "$as_me:$LINENO: result: (..)" >&5
16949 echo "${ECHO_T}(..)" >&6
16950 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
16951 unset ac_cv_type_uint32_t
16952 unset ac_cv_type_uint64_t
16953 echo "$as_me:$LINENO: checking for uint32_t" >&5
16954 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16955 if test "${ac_cv_type_uint32_t+set}" = set; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 else
16958 cat >conftest.$ac_ext <<_ACEOF
16959 /* confdefs.h. */
16960 _ACEOF
16961 cat confdefs.h >>conftest.$ac_ext
16962 cat >>conftest.$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964 #include <$i>
16967 main ()
16969 if ((uint32_t *) 0)
16970 return 0;
16971 if (sizeof (uint32_t))
16972 return 0;
16974 return 0;
16976 _ACEOF
16977 rm -f conftest.$ac_objext
16978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16979 (eval $ac_compile) 2>conftest.er1
16980 ac_status=$?
16981 grep -v '^ *+' conftest.er1 >conftest.err
16982 rm -f conftest.er1
16983 cat conftest.err >&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); } &&
16986 { ac_try='test -z "$ac_c_werror_flag"
16987 || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16990 ac_status=$?
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try='test -s conftest.$ac_objext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16996 ac_status=$?
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 ac_cv_type_uint32_t=yes
17000 else
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17004 ac_cv_type_uint32_t=no
17006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17008 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
17009 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
17010 if test $ac_cv_type_uint32_t = yes; then
17011 ac_cv_header_stdint_o=$i
17012 else
17013 continue
17016 echo "$as_me:$LINENO: checking for uint64_t" >&5
17017 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
17018 if test "${ac_cv_type_uint64_t+set}" = set; then
17019 echo $ECHO_N "(cached) $ECHO_C" >&6
17020 else
17021 cat >conftest.$ac_ext <<_ACEOF
17022 /* confdefs.h. */
17023 _ACEOF
17024 cat confdefs.h >>conftest.$ac_ext
17025 cat >>conftest.$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17027 #include<$i>
17030 main ()
17032 if ((uint64_t *) 0)
17033 return 0;
17034 if (sizeof (uint64_t))
17035 return 0;
17037 return 0;
17039 _ACEOF
17040 rm -f conftest.$ac_objext
17041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17042 (eval $ac_compile) 2>conftest.er1
17043 ac_status=$?
17044 grep -v '^ *+' conftest.er1 >conftest.err
17045 rm -f conftest.er1
17046 cat conftest.err >&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } &&
17049 { ac_try='test -z "$ac_c_werror_flag"
17050 || test ! -s conftest.err'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17053 ac_status=$?
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; } &&
17056 { ac_try='test -s conftest.$ac_objext'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17059 ac_status=$?
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; }; then
17062 ac_cv_type_uint64_t=yes
17063 else
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.$ac_ext >&5
17067 ac_cv_type_uint64_t=no
17069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17071 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
17072 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
17073 if test $ac_cv_type_uint64_t = yes; then
17074 and64="/uint64_t"
17075 else
17076 and64=""
17079 inttypes.h sys/inttypes.h stdint.h $inttype_headers
17080 break
17081 break;
17082 done
17083 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
17084 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
17087 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
17088 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
17092 if test "_$ac_cv_header_stdint_x" = "_" ; then
17093 if test "_$ac_cv_header_stdint_o" = "_" ; then
17095 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17096 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17097 if test "${ac_cv_header_stdint_u+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 else
17101 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
17102 echo "$as_me:$LINENO: result: (..)" >&5
17103 echo "${ECHO_T}(..)" >&6
17104 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
17105 unset ac_cv_type_u_int32_t
17106 unset ac_cv_type_u_int64_t
17107 echo "$as_me:$LINENO: checking for u_int32_t" >&5
17108 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
17109 if test "${ac_cv_type_u_int32_t+set}" = set; then
17110 echo $ECHO_N "(cached) $ECHO_C" >&6
17111 else
17112 cat >conftest.$ac_ext <<_ACEOF
17113 /* confdefs.h. */
17114 _ACEOF
17115 cat confdefs.h >>conftest.$ac_ext
17116 cat >>conftest.$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17118 #include <$i>
17121 main ()
17123 if ((u_int32_t *) 0)
17124 return 0;
17125 if (sizeof (u_int32_t))
17126 return 0;
17128 return 0;
17130 _ACEOF
17131 rm -f conftest.$ac_objext
17132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17133 (eval $ac_compile) 2>conftest.er1
17134 ac_status=$?
17135 grep -v '^ *+' conftest.er1 >conftest.err
17136 rm -f conftest.er1
17137 cat conftest.err >&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); } &&
17140 { ac_try='test -z "$ac_c_werror_flag"
17141 || test ! -s conftest.err'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17144 ac_status=$?
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; } &&
17147 { ac_try='test -s conftest.$ac_objext'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17150 ac_status=$?
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; }; then
17153 ac_cv_type_u_int32_t=yes
17154 else
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.$ac_ext >&5
17158 ac_cv_type_u_int32_t=no
17160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17162 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
17163 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
17164 if test $ac_cv_type_u_int32_t = yes; then
17165 ac_cv_header_stdint_u=$i
17166 else
17167 continue
17170 echo "$as_me:$LINENO: checking for u_int64_t" >&5
17171 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
17172 if test "${ac_cv_type_u_int64_t+set}" = set; then
17173 echo $ECHO_N "(cached) $ECHO_C" >&6
17174 else
17175 cat >conftest.$ac_ext <<_ACEOF
17176 /* confdefs.h. */
17177 _ACEOF
17178 cat confdefs.h >>conftest.$ac_ext
17179 cat >>conftest.$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17181 #include<$i>
17184 main ()
17186 if ((u_int64_t *) 0)
17187 return 0;
17188 if (sizeof (u_int64_t))
17189 return 0;
17191 return 0;
17193 _ACEOF
17194 rm -f conftest.$ac_objext
17195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17196 (eval $ac_compile) 2>conftest.er1
17197 ac_status=$?
17198 grep -v '^ *+' conftest.er1 >conftest.err
17199 rm -f conftest.er1
17200 cat conftest.err >&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } &&
17203 { ac_try='test -z "$ac_c_werror_flag"
17204 || test ! -s conftest.err'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17207 ac_status=$?
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; } &&
17210 { ac_try='test -s conftest.$ac_objext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17213 ac_status=$?
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 ac_cv_type_u_int64_t=yes
17217 else
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.$ac_ext >&5
17221 ac_cv_type_u_int64_t=no
17223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17225 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17226 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
17227 if test $ac_cv_type_u_int64_t = yes; then
17228 and64="/u_int64_t"
17229 else
17230 and64=""
17233 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
17234 break
17235 break;
17236 done
17237 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17238 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17241 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
17242 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
17244 fi fi
17246 if test "_$ac_cv_header_stdint_x" = "_" ; then
17247 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
17248 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
17249 echo "$as_me:$LINENO: result: (..)" >&5
17250 echo "${ECHO_T}(..)" >&6
17252 echo "$as_me:$LINENO: checking for char" >&5
17253 echo $ECHO_N "checking for char... $ECHO_C" >&6
17254 if test "${ac_cv_type_char+set}" = set; then
17255 echo $ECHO_N "(cached) $ECHO_C" >&6
17256 else
17257 cat >conftest.$ac_ext <<_ACEOF
17258 /* confdefs.h. */
17259 _ACEOF
17260 cat confdefs.h >>conftest.$ac_ext
17261 cat >>conftest.$ac_ext <<_ACEOF
17262 /* end confdefs.h. */
17263 $ac_includes_default
17265 main ()
17267 if ((char *) 0)
17268 return 0;
17269 if (sizeof (char))
17270 return 0;
17272 return 0;
17274 _ACEOF
17275 rm -f conftest.$ac_objext
17276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17277 (eval $ac_compile) 2>conftest.er1
17278 ac_status=$?
17279 grep -v '^ *+' conftest.er1 >conftest.err
17280 rm -f conftest.er1
17281 cat conftest.err >&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); } &&
17284 { ac_try='test -z "$ac_c_werror_flag"
17285 || test ! -s conftest.err'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17288 ac_status=$?
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; } &&
17291 { ac_try='test -s conftest.$ac_objext'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17294 ac_status=$?
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; }; then
17297 ac_cv_type_char=yes
17298 else
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17302 ac_cv_type_char=no
17304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17306 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17307 echo "${ECHO_T}$ac_cv_type_char" >&6
17309 echo "$as_me:$LINENO: checking size of char" >&5
17310 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17311 if test "${ac_cv_sizeof_char+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17313 else
17314 if test "$ac_cv_type_char" = yes; then
17315 # The cast to unsigned long works around a bug in the HP C Compiler
17316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17318 # This bug is HP SR number 8606223364.
17319 if test "$cross_compiling" = yes; then
17320 # Depending upon the size, compute the lo and hi bounds.
17321 cat >conftest.$ac_ext <<_ACEOF
17322 /* confdefs.h. */
17323 _ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 $ac_includes_default
17329 main ()
17331 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17332 test_array [0] = 0
17335 return 0;
17337 _ACEOF
17338 rm -f conftest.$ac_objext
17339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17340 (eval $ac_compile) 2>conftest.er1
17341 ac_status=$?
17342 grep -v '^ *+' conftest.er1 >conftest.err
17343 rm -f conftest.er1
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } &&
17347 { ac_try='test -z "$ac_c_werror_flag"
17348 || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17351 ac_status=$?
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 ac_lo=0 ac_mid=0
17361 while :; do
17362 cat >conftest.$ac_ext <<_ACEOF
17363 /* confdefs.h. */
17364 _ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368 $ac_includes_default
17370 main ()
17372 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17373 test_array [0] = 0
17376 return 0;
17378 _ACEOF
17379 rm -f conftest.$ac_objext
17380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17381 (eval $ac_compile) 2>conftest.er1
17382 ac_status=$?
17383 grep -v '^ *+' conftest.er1 >conftest.err
17384 rm -f conftest.er1
17385 cat conftest.err >&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } &&
17388 { ac_try='test -z "$ac_c_werror_flag"
17389 || test ! -s conftest.err'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; } &&
17395 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17401 ac_hi=$ac_mid; break
17402 else
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17406 ac_lo=`expr $ac_mid + 1`
17407 if test $ac_lo -le $ac_mid; then
17408 ac_lo= ac_hi=
17409 break
17411 ac_mid=`expr 2 '*' $ac_mid + 1`
17413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17414 done
17415 else
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17419 cat >conftest.$ac_ext <<_ACEOF
17420 /* confdefs.h. */
17421 _ACEOF
17422 cat confdefs.h >>conftest.$ac_ext
17423 cat >>conftest.$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425 $ac_includes_default
17427 main ()
17429 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17430 test_array [0] = 0
17433 return 0;
17435 _ACEOF
17436 rm -f conftest.$ac_objext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17438 (eval $ac_compile) 2>conftest.er1
17439 ac_status=$?
17440 grep -v '^ *+' conftest.er1 >conftest.err
17441 rm -f conftest.er1
17442 cat conftest.err >&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); } &&
17445 { ac_try='test -z "$ac_c_werror_flag"
17446 || test ! -s conftest.err'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17449 ac_status=$?
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; } &&
17452 { ac_try='test -s conftest.$ac_objext'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17455 ac_status=$?
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; }; then
17458 ac_hi=-1 ac_mid=-1
17459 while :; do
17460 cat >conftest.$ac_ext <<_ACEOF
17461 /* confdefs.h. */
17462 _ACEOF
17463 cat confdefs.h >>conftest.$ac_ext
17464 cat >>conftest.$ac_ext <<_ACEOF
17465 /* end confdefs.h. */
17466 $ac_includes_default
17468 main ()
17470 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17471 test_array [0] = 0
17474 return 0;
17476 _ACEOF
17477 rm -f conftest.$ac_objext
17478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17479 (eval $ac_compile) 2>conftest.er1
17480 ac_status=$?
17481 grep -v '^ *+' conftest.er1 >conftest.err
17482 rm -f conftest.er1
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } &&
17486 { ac_try='test -z "$ac_c_werror_flag"
17487 || test ! -s conftest.err'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; } &&
17493 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17499 ac_lo=$ac_mid; break
17500 else
17501 echo "$as_me: failed program was:" >&5
17502 sed 's/^/| /' conftest.$ac_ext >&5
17504 ac_hi=`expr '(' $ac_mid ')' - 1`
17505 if test $ac_mid -le $ac_hi; then
17506 ac_lo= ac_hi=
17507 break
17509 ac_mid=`expr 2 '*' $ac_mid`
17511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17512 done
17513 else
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17517 ac_lo= ac_hi=
17519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17522 # Binary search between lo and hi bounds.
17523 while test "x$ac_lo" != "x$ac_hi"; do
17524 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17525 cat >conftest.$ac_ext <<_ACEOF
17526 /* confdefs.h. */
17527 _ACEOF
17528 cat confdefs.h >>conftest.$ac_ext
17529 cat >>conftest.$ac_ext <<_ACEOF
17530 /* end confdefs.h. */
17531 $ac_includes_default
17533 main ()
17535 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17536 test_array [0] = 0
17539 return 0;
17541 _ACEOF
17542 rm -f conftest.$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544 (eval $ac_compile) 2>conftest.er1
17545 ac_status=$?
17546 grep -v '^ *+' conftest.er1 >conftest.err
17547 rm -f conftest.er1
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try='test -z "$ac_c_werror_flag"
17552 || test ! -s conftest.err'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17555 ac_status=$?
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; } &&
17558 { ac_try='test -s conftest.$ac_objext'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17561 ac_status=$?
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; }; then
17564 ac_hi=$ac_mid
17565 else
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17569 ac_lo=`expr '(' $ac_mid ')' + 1`
17571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17572 done
17573 case $ac_lo in
17574 ?*) ac_cv_sizeof_char=$ac_lo;;
17575 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17576 See \`config.log' for more details." >&5
17577 echo "$as_me: error: cannot compute sizeof (char), 77
17578 See \`config.log' for more details." >&2;}
17579 { (exit 1); exit 1; }; } ;;
17580 esac
17581 else
17582 if test "$cross_compiling" = yes; then
17583 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17584 See \`config.log' for more details." >&5
17585 echo "$as_me: error: cannot run test program while cross compiling
17586 See \`config.log' for more details." >&2;}
17587 { (exit 1); exit 1; }; }
17588 else
17589 cat >conftest.$ac_ext <<_ACEOF
17590 /* confdefs.h. */
17591 _ACEOF
17592 cat confdefs.h >>conftest.$ac_ext
17593 cat >>conftest.$ac_ext <<_ACEOF
17594 /* end confdefs.h. */
17595 $ac_includes_default
17596 long longval () { return (long) (sizeof (char)); }
17597 unsigned long ulongval () { return (long) (sizeof (char)); }
17598 #include <stdio.h>
17599 #include <stdlib.h>
17601 main ()
17604 FILE *f = fopen ("conftest.val", "w");
17605 if (! f)
17606 exit (1);
17607 if (((long) (sizeof (char))) < 0)
17609 long i = longval ();
17610 if (i != ((long) (sizeof (char))))
17611 exit (1);
17612 fprintf (f, "%ld\n", i);
17614 else
17616 unsigned long i = ulongval ();
17617 if (i != ((long) (sizeof (char))))
17618 exit (1);
17619 fprintf (f, "%lu\n", i);
17621 exit (ferror (f) || fclose (f) != 0);
17624 return 0;
17626 _ACEOF
17627 rm -f conftest$ac_exeext
17628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17629 (eval $ac_link) 2>&5
17630 ac_status=$?
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17635 ac_status=$?
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; }; then
17638 ac_cv_sizeof_char=`cat conftest.val`
17639 else
17640 echo "$as_me: program exited with status $ac_status" >&5
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17644 ( exit $ac_status )
17645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17646 See \`config.log' for more details." >&5
17647 echo "$as_me: error: cannot compute sizeof (char), 77
17648 See \`config.log' for more details." >&2;}
17649 { (exit 1); exit 1; }; }
17651 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17654 rm -f conftest.val
17655 else
17656 ac_cv_sizeof_char=0
17659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17660 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17661 cat >>confdefs.h <<_ACEOF
17662 #define SIZEOF_CHAR $ac_cv_sizeof_char
17663 _ACEOF
17666 echo "$as_me:$LINENO: checking for short" >&5
17667 echo $ECHO_N "checking for short... $ECHO_C" >&6
17668 if test "${ac_cv_type_short+set}" = set; then
17669 echo $ECHO_N "(cached) $ECHO_C" >&6
17670 else
17671 cat >conftest.$ac_ext <<_ACEOF
17672 /* confdefs.h. */
17673 _ACEOF
17674 cat confdefs.h >>conftest.$ac_ext
17675 cat >>conftest.$ac_ext <<_ACEOF
17676 /* end confdefs.h. */
17677 $ac_includes_default
17679 main ()
17681 if ((short *) 0)
17682 return 0;
17683 if (sizeof (short))
17684 return 0;
17686 return 0;
17688 _ACEOF
17689 rm -f conftest.$ac_objext
17690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17691 (eval $ac_compile) 2>conftest.er1
17692 ac_status=$?
17693 grep -v '^ *+' conftest.er1 >conftest.err
17694 rm -f conftest.er1
17695 cat conftest.err >&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); } &&
17698 { ac_try='test -z "$ac_c_werror_flag"
17699 || test ! -s conftest.err'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17702 ac_status=$?
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; } &&
17705 { ac_try='test -s conftest.$ac_objext'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17708 ac_status=$?
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; }; then
17711 ac_cv_type_short=yes
17712 else
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.$ac_ext >&5
17716 ac_cv_type_short=no
17718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17720 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17721 echo "${ECHO_T}$ac_cv_type_short" >&6
17723 echo "$as_me:$LINENO: checking size of short" >&5
17724 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17725 if test "${ac_cv_sizeof_short+set}" = set; then
17726 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 else
17728 if test "$ac_cv_type_short" = yes; then
17729 # The cast to unsigned long works around a bug in the HP C Compiler
17730 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17731 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17732 # This bug is HP SR number 8606223364.
17733 if test "$cross_compiling" = yes; then
17734 # Depending upon the size, compute the lo and hi bounds.
17735 cat >conftest.$ac_ext <<_ACEOF
17736 /* confdefs.h. */
17737 _ACEOF
17738 cat confdefs.h >>conftest.$ac_ext
17739 cat >>conftest.$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17741 $ac_includes_default
17743 main ()
17745 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17746 test_array [0] = 0
17749 return 0;
17751 _ACEOF
17752 rm -f conftest.$ac_objext
17753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17754 (eval $ac_compile) 2>conftest.er1
17755 ac_status=$?
17756 grep -v '^ *+' conftest.er1 >conftest.err
17757 rm -f conftest.er1
17758 cat conftest.err >&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } &&
17761 { ac_try='test -z "$ac_c_werror_flag"
17762 || test ! -s conftest.err'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17765 ac_status=$?
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; } &&
17768 { ac_try='test -s conftest.$ac_objext'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17771 ac_status=$?
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; }; then
17774 ac_lo=0 ac_mid=0
17775 while :; do
17776 cat >conftest.$ac_ext <<_ACEOF
17777 /* confdefs.h. */
17778 _ACEOF
17779 cat confdefs.h >>conftest.$ac_ext
17780 cat >>conftest.$ac_ext <<_ACEOF
17781 /* end confdefs.h. */
17782 $ac_includes_default
17784 main ()
17786 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17787 test_array [0] = 0
17790 return 0;
17792 _ACEOF
17793 rm -f conftest.$ac_objext
17794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17795 (eval $ac_compile) 2>conftest.er1
17796 ac_status=$?
17797 grep -v '^ *+' conftest.er1 >conftest.err
17798 rm -f conftest.er1
17799 cat conftest.err >&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } &&
17802 { ac_try='test -z "$ac_c_werror_flag"
17803 || test ! -s conftest.err'
17804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17805 (eval $ac_try) 2>&5
17806 ac_status=$?
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); }; } &&
17809 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17815 ac_hi=$ac_mid; break
17816 else
17817 echo "$as_me: failed program was:" >&5
17818 sed 's/^/| /' conftest.$ac_ext >&5
17820 ac_lo=`expr $ac_mid + 1`
17821 if test $ac_lo -le $ac_mid; then
17822 ac_lo= ac_hi=
17823 break
17825 ac_mid=`expr 2 '*' $ac_mid + 1`
17827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17828 done
17829 else
17830 echo "$as_me: failed program was:" >&5
17831 sed 's/^/| /' conftest.$ac_ext >&5
17833 cat >conftest.$ac_ext <<_ACEOF
17834 /* confdefs.h. */
17835 _ACEOF
17836 cat confdefs.h >>conftest.$ac_ext
17837 cat >>conftest.$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17839 $ac_includes_default
17841 main ()
17843 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17844 test_array [0] = 0
17847 return 0;
17849 _ACEOF
17850 rm -f conftest.$ac_objext
17851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17852 (eval $ac_compile) 2>conftest.er1
17853 ac_status=$?
17854 grep -v '^ *+' conftest.er1 >conftest.err
17855 rm -f conftest.er1
17856 cat conftest.err >&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } &&
17859 { ac_try='test -z "$ac_c_werror_flag"
17860 || test ! -s conftest.err'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17863 ac_status=$?
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; } &&
17866 { ac_try='test -s conftest.$ac_objext'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17869 ac_status=$?
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; }; then
17872 ac_hi=-1 ac_mid=-1
17873 while :; do
17874 cat >conftest.$ac_ext <<_ACEOF
17875 /* confdefs.h. */
17876 _ACEOF
17877 cat confdefs.h >>conftest.$ac_ext
17878 cat >>conftest.$ac_ext <<_ACEOF
17879 /* end confdefs.h. */
17880 $ac_includes_default
17882 main ()
17884 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17885 test_array [0] = 0
17888 return 0;
17890 _ACEOF
17891 rm -f conftest.$ac_objext
17892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17893 (eval $ac_compile) 2>conftest.er1
17894 ac_status=$?
17895 grep -v '^ *+' conftest.er1 >conftest.err
17896 rm -f conftest.er1
17897 cat conftest.err >&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } &&
17900 { ac_try='test -z "$ac_c_werror_flag"
17901 || test ! -s conftest.err'
17902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903 (eval $ac_try) 2>&5
17904 ac_status=$?
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); }; } &&
17907 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17913 ac_lo=$ac_mid; break
17914 else
17915 echo "$as_me: failed program was:" >&5
17916 sed 's/^/| /' conftest.$ac_ext >&5
17918 ac_hi=`expr '(' $ac_mid ')' - 1`
17919 if test $ac_mid -le $ac_hi; then
17920 ac_lo= ac_hi=
17921 break
17923 ac_mid=`expr 2 '*' $ac_mid`
17925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17926 done
17927 else
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.$ac_ext >&5
17931 ac_lo= ac_hi=
17933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17936 # Binary search between lo and hi bounds.
17937 while test "x$ac_lo" != "x$ac_hi"; do
17938 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17939 cat >conftest.$ac_ext <<_ACEOF
17940 /* confdefs.h. */
17941 _ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17945 $ac_includes_default
17947 main ()
17949 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17950 test_array [0] = 0
17953 return 0;
17955 _ACEOF
17956 rm -f conftest.$ac_objext
17957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17958 (eval $ac_compile) 2>conftest.er1
17959 ac_status=$?
17960 grep -v '^ *+' conftest.er1 >conftest.err
17961 rm -f conftest.er1
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } &&
17965 { ac_try='test -z "$ac_c_werror_flag"
17966 || test ! -s conftest.err'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17969 ac_status=$?
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; } &&
17972 { ac_try='test -s conftest.$ac_objext'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17975 ac_status=$?
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; }; then
17978 ac_hi=$ac_mid
17979 else
17980 echo "$as_me: failed program was:" >&5
17981 sed 's/^/| /' conftest.$ac_ext >&5
17983 ac_lo=`expr '(' $ac_mid ')' + 1`
17985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17986 done
17987 case $ac_lo in
17988 ?*) ac_cv_sizeof_short=$ac_lo;;
17989 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17990 See \`config.log' for more details." >&5
17991 echo "$as_me: error: cannot compute sizeof (short), 77
17992 See \`config.log' for more details." >&2;}
17993 { (exit 1); exit 1; }; } ;;
17994 esac
17995 else
17996 if test "$cross_compiling" = yes; then
17997 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17998 See \`config.log' for more details." >&5
17999 echo "$as_me: error: cannot run test program while cross compiling
18000 See \`config.log' for more details." >&2;}
18001 { (exit 1); exit 1; }; }
18002 else
18003 cat >conftest.$ac_ext <<_ACEOF
18004 /* confdefs.h. */
18005 _ACEOF
18006 cat confdefs.h >>conftest.$ac_ext
18007 cat >>conftest.$ac_ext <<_ACEOF
18008 /* end confdefs.h. */
18009 $ac_includes_default
18010 long longval () { return (long) (sizeof (short)); }
18011 unsigned long ulongval () { return (long) (sizeof (short)); }
18012 #include <stdio.h>
18013 #include <stdlib.h>
18015 main ()
18018 FILE *f = fopen ("conftest.val", "w");
18019 if (! f)
18020 exit (1);
18021 if (((long) (sizeof (short))) < 0)
18023 long i = longval ();
18024 if (i != ((long) (sizeof (short))))
18025 exit (1);
18026 fprintf (f, "%ld\n", i);
18028 else
18030 unsigned long i = ulongval ();
18031 if (i != ((long) (sizeof (short))))
18032 exit (1);
18033 fprintf (f, "%lu\n", i);
18035 exit (ferror (f) || fclose (f) != 0);
18038 return 0;
18040 _ACEOF
18041 rm -f conftest$ac_exeext
18042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18043 (eval $ac_link) 2>&5
18044 ac_status=$?
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18049 ac_status=$?
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; }; then
18052 ac_cv_sizeof_short=`cat conftest.val`
18053 else
18054 echo "$as_me: program exited with status $ac_status" >&5
18055 echo "$as_me: failed program was:" >&5
18056 sed 's/^/| /' conftest.$ac_ext >&5
18058 ( exit $ac_status )
18059 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18060 See \`config.log' for more details." >&5
18061 echo "$as_me: error: cannot compute sizeof (short), 77
18062 See \`config.log' for more details." >&2;}
18063 { (exit 1); exit 1; }; }
18065 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18068 rm -f conftest.val
18069 else
18070 ac_cv_sizeof_short=0
18073 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18074 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18075 cat >>confdefs.h <<_ACEOF
18076 #define SIZEOF_SHORT $ac_cv_sizeof_short
18077 _ACEOF
18080 echo "$as_me:$LINENO: checking for int" >&5
18081 echo $ECHO_N "checking for int... $ECHO_C" >&6
18082 if test "${ac_cv_type_int+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 else
18085 cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h. */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091 $ac_includes_default
18093 main ()
18095 if ((int *) 0)
18096 return 0;
18097 if (sizeof (int))
18098 return 0;
18100 return 0;
18102 _ACEOF
18103 rm -f conftest.$ac_objext
18104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18105 (eval $ac_compile) 2>conftest.er1
18106 ac_status=$?
18107 grep -v '^ *+' conftest.er1 >conftest.err
18108 rm -f conftest.er1
18109 cat conftest.err >&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); } &&
18112 { ac_try='test -z "$ac_c_werror_flag"
18113 || test ! -s conftest.err'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18116 ac_status=$?
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; } &&
18119 { ac_try='test -s conftest.$ac_objext'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18122 ac_status=$?
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; }; then
18125 ac_cv_type_int=yes
18126 else
18127 echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.$ac_ext >&5
18130 ac_cv_type_int=no
18132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18134 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18135 echo "${ECHO_T}$ac_cv_type_int" >&6
18137 echo "$as_me:$LINENO: checking size of int" >&5
18138 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18139 if test "${ac_cv_sizeof_int+set}" = set; then
18140 echo $ECHO_N "(cached) $ECHO_C" >&6
18141 else
18142 if test "$ac_cv_type_int" = yes; then
18143 # The cast to unsigned long works around a bug in the HP C Compiler
18144 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18145 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18146 # This bug is HP SR number 8606223364.
18147 if test "$cross_compiling" = yes; then
18148 # Depending upon the size, compute the lo and hi bounds.
18149 cat >conftest.$ac_ext <<_ACEOF
18150 /* confdefs.h. */
18151 _ACEOF
18152 cat confdefs.h >>conftest.$ac_ext
18153 cat >>conftest.$ac_ext <<_ACEOF
18154 /* end confdefs.h. */
18155 $ac_includes_default
18157 main ()
18159 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18160 test_array [0] = 0
18163 return 0;
18165 _ACEOF
18166 rm -f conftest.$ac_objext
18167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18168 (eval $ac_compile) 2>conftest.er1
18169 ac_status=$?
18170 grep -v '^ *+' conftest.er1 >conftest.err
18171 rm -f conftest.er1
18172 cat conftest.err >&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); } &&
18175 { ac_try='test -z "$ac_c_werror_flag"
18176 || test ! -s conftest.err'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18179 ac_status=$?
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; } &&
18182 { ac_try='test -s conftest.$ac_objext'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18185 ac_status=$?
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; }; then
18188 ac_lo=0 ac_mid=0
18189 while :; do
18190 cat >conftest.$ac_ext <<_ACEOF
18191 /* confdefs.h. */
18192 _ACEOF
18193 cat confdefs.h >>conftest.$ac_ext
18194 cat >>conftest.$ac_ext <<_ACEOF
18195 /* end confdefs.h. */
18196 $ac_includes_default
18198 main ()
18200 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18201 test_array [0] = 0
18204 return 0;
18206 _ACEOF
18207 rm -f conftest.$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209 (eval $ac_compile) 2>conftest.er1
18210 ac_status=$?
18211 grep -v '^ *+' conftest.er1 >conftest.err
18212 rm -f conftest.er1
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } &&
18216 { ac_try='test -z "$ac_c_werror_flag"
18217 || test ! -s conftest.err'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18220 ac_status=$?
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; } &&
18223 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18229 ac_hi=$ac_mid; break
18230 else
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18234 ac_lo=`expr $ac_mid + 1`
18235 if test $ac_lo -le $ac_mid; then
18236 ac_lo= ac_hi=
18237 break
18239 ac_mid=`expr 2 '*' $ac_mid + 1`
18241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18242 done
18243 else
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18247 cat >conftest.$ac_ext <<_ACEOF
18248 /* confdefs.h. */
18249 _ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18253 $ac_includes_default
18255 main ()
18257 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18258 test_array [0] = 0
18261 return 0;
18263 _ACEOF
18264 rm -f conftest.$ac_objext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18266 (eval $ac_compile) 2>conftest.er1
18267 ac_status=$?
18268 grep -v '^ *+' conftest.er1 >conftest.err
18269 rm -f conftest.er1
18270 cat conftest.err >&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); } &&
18273 { ac_try='test -z "$ac_c_werror_flag"
18274 || test ! -s conftest.err'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18277 ac_status=$?
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; } &&
18280 { ac_try='test -s conftest.$ac_objext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18283 ac_status=$?
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18286 ac_hi=-1 ac_mid=-1
18287 while :; do
18288 cat >conftest.$ac_ext <<_ACEOF
18289 /* confdefs.h. */
18290 _ACEOF
18291 cat confdefs.h >>conftest.$ac_ext
18292 cat >>conftest.$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18294 $ac_includes_default
18296 main ()
18298 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18299 test_array [0] = 0
18302 return 0;
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18307 (eval $ac_compile) 2>conftest.er1
18308 ac_status=$?
18309 grep -v '^ *+' conftest.er1 >conftest.err
18310 rm -f conftest.er1
18311 cat conftest.err >&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } &&
18314 { ac_try='test -z "$ac_c_werror_flag"
18315 || test ! -s conftest.err'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18318 ac_status=$?
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; } &&
18321 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18327 ac_lo=$ac_mid; break
18328 else
18329 echo "$as_me: failed program was:" >&5
18330 sed 's/^/| /' conftest.$ac_ext >&5
18332 ac_hi=`expr '(' $ac_mid ')' - 1`
18333 if test $ac_mid -le $ac_hi; then
18334 ac_lo= ac_hi=
18335 break
18337 ac_mid=`expr 2 '*' $ac_mid`
18339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18340 done
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18345 ac_lo= ac_hi=
18347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18350 # Binary search between lo and hi bounds.
18351 while test "x$ac_lo" != "x$ac_hi"; do
18352 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18361 main ()
18363 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18364 test_array [0] = 0
18367 return 0;
18369 _ACEOF
18370 rm -f conftest.$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18373 ac_status=$?
18374 grep -v '^ *+' conftest.er1 >conftest.err
18375 rm -f conftest.er1
18376 cat conftest.err >&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try='test -z "$ac_c_werror_flag"
18380 || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18383 ac_status=$?
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try='test -s conftest.$ac_objext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18392 ac_hi=$ac_mid
18393 else
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18397 ac_lo=`expr '(' $ac_mid ')' + 1`
18399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18400 done
18401 case $ac_lo in
18402 ?*) ac_cv_sizeof_int=$ac_lo;;
18403 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18404 See \`config.log' for more details." >&5
18405 echo "$as_me: error: cannot compute sizeof (int), 77
18406 See \`config.log' for more details." >&2;}
18407 { (exit 1); exit 1; }; } ;;
18408 esac
18409 else
18410 if test "$cross_compiling" = yes; then
18411 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18412 See \`config.log' for more details." >&5
18413 echo "$as_me: error: cannot run test program while cross compiling
18414 See \`config.log' for more details." >&2;}
18415 { (exit 1); exit 1; }; }
18416 else
18417 cat >conftest.$ac_ext <<_ACEOF
18418 /* confdefs.h. */
18419 _ACEOF
18420 cat confdefs.h >>conftest.$ac_ext
18421 cat >>conftest.$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18423 $ac_includes_default
18424 long longval () { return (long) (sizeof (int)); }
18425 unsigned long ulongval () { return (long) (sizeof (int)); }
18426 #include <stdio.h>
18427 #include <stdlib.h>
18429 main ()
18432 FILE *f = fopen ("conftest.val", "w");
18433 if (! f)
18434 exit (1);
18435 if (((long) (sizeof (int))) < 0)
18437 long i = longval ();
18438 if (i != ((long) (sizeof (int))))
18439 exit (1);
18440 fprintf (f, "%ld\n", i);
18442 else
18444 unsigned long i = ulongval ();
18445 if (i != ((long) (sizeof (int))))
18446 exit (1);
18447 fprintf (f, "%lu\n", i);
18449 exit (ferror (f) || fclose (f) != 0);
18452 return 0;
18454 _ACEOF
18455 rm -f conftest$ac_exeext
18456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18457 (eval $ac_link) 2>&5
18458 ac_status=$?
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18463 ac_status=$?
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; }; then
18466 ac_cv_sizeof_int=`cat conftest.val`
18467 else
18468 echo "$as_me: program exited with status $ac_status" >&5
18469 echo "$as_me: failed program was:" >&5
18470 sed 's/^/| /' conftest.$ac_ext >&5
18472 ( exit $ac_status )
18473 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18474 See \`config.log' for more details." >&5
18475 echo "$as_me: error: cannot compute sizeof (int), 77
18476 See \`config.log' for more details." >&2;}
18477 { (exit 1); exit 1; }; }
18479 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18482 rm -f conftest.val
18483 else
18484 ac_cv_sizeof_int=0
18487 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18488 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18489 cat >>confdefs.h <<_ACEOF
18490 #define SIZEOF_INT $ac_cv_sizeof_int
18491 _ACEOF
18494 echo "$as_me:$LINENO: checking for long" >&5
18495 echo $ECHO_N "checking for long... $ECHO_C" >&6
18496 if test "${ac_cv_type_long+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 else
18499 cat >conftest.$ac_ext <<_ACEOF
18500 /* confdefs.h. */
18501 _ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 $ac_includes_default
18507 main ()
18509 if ((long *) 0)
18510 return 0;
18511 if (sizeof (long))
18512 return 0;
18514 return 0;
18516 _ACEOF
18517 rm -f conftest.$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519 (eval $ac_compile) 2>conftest.er1
18520 ac_status=$?
18521 grep -v '^ *+' conftest.er1 >conftest.err
18522 rm -f conftest.er1
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try='test -z "$ac_c_werror_flag"
18527 || test ! -s conftest.err'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18530 ac_status=$?
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; } &&
18533 { ac_try='test -s conftest.$ac_objext'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18536 ac_status=$?
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 ac_cv_type_long=yes
18540 else
18541 echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.$ac_ext >&5
18544 ac_cv_type_long=no
18546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18548 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18549 echo "${ECHO_T}$ac_cv_type_long" >&6
18551 echo "$as_me:$LINENO: checking size of long" >&5
18552 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18553 if test "${ac_cv_sizeof_long+set}" = set; then
18554 echo $ECHO_N "(cached) $ECHO_C" >&6
18555 else
18556 if test "$ac_cv_type_long" = yes; then
18557 # The cast to unsigned long works around a bug in the HP C Compiler
18558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18560 # This bug is HP SR number 8606223364.
18561 if test "$cross_compiling" = yes; then
18562 # Depending upon the size, compute the lo and hi bounds.
18563 cat >conftest.$ac_ext <<_ACEOF
18564 /* confdefs.h. */
18565 _ACEOF
18566 cat confdefs.h >>conftest.$ac_ext
18567 cat >>conftest.$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18569 $ac_includes_default
18571 main ()
18573 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18574 test_array [0] = 0
18577 return 0;
18579 _ACEOF
18580 rm -f conftest.$ac_objext
18581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18582 (eval $ac_compile) 2>conftest.er1
18583 ac_status=$?
18584 grep -v '^ *+' conftest.er1 >conftest.err
18585 rm -f conftest.er1
18586 cat conftest.err >&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); } &&
18589 { ac_try='test -z "$ac_c_werror_flag"
18590 || test ! -s conftest.err'
18591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18592 (eval $ac_try) 2>&5
18593 ac_status=$?
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); }; } &&
18596 { ac_try='test -s conftest.$ac_objext'
18597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18598 (eval $ac_try) 2>&5
18599 ac_status=$?
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); }; }; then
18602 ac_lo=0 ac_mid=0
18603 while :; do
18604 cat >conftest.$ac_ext <<_ACEOF
18605 /* confdefs.h. */
18606 _ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610 $ac_includes_default
18612 main ()
18614 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18615 test_array [0] = 0
18618 return 0;
18620 _ACEOF
18621 rm -f conftest.$ac_objext
18622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18623 (eval $ac_compile) 2>conftest.er1
18624 ac_status=$?
18625 grep -v '^ *+' conftest.er1 >conftest.err
18626 rm -f conftest.er1
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } &&
18630 { ac_try='test -z "$ac_c_werror_flag"
18631 || test ! -s conftest.err'
18632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18633 (eval $ac_try) 2>&5
18634 ac_status=$?
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); }; } &&
18637 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18643 ac_hi=$ac_mid; break
18644 else
18645 echo "$as_me: failed program was:" >&5
18646 sed 's/^/| /' conftest.$ac_ext >&5
18648 ac_lo=`expr $ac_mid + 1`
18649 if test $ac_lo -le $ac_mid; then
18650 ac_lo= ac_hi=
18651 break
18653 ac_mid=`expr 2 '*' $ac_mid + 1`
18655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18656 done
18657 else
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.$ac_ext >&5
18661 cat >conftest.$ac_ext <<_ACEOF
18662 /* confdefs.h. */
18663 _ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 $ac_includes_default
18669 main ()
18671 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18672 test_array [0] = 0
18675 return 0;
18677 _ACEOF
18678 rm -f conftest.$ac_objext
18679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18680 (eval $ac_compile) 2>conftest.er1
18681 ac_status=$?
18682 grep -v '^ *+' conftest.er1 >conftest.err
18683 rm -f conftest.er1
18684 cat conftest.err >&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); } &&
18687 { ac_try='test -z "$ac_c_werror_flag"
18688 || test ! -s conftest.err'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18691 ac_status=$?
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; } &&
18694 { ac_try='test -s conftest.$ac_objext'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18697 ac_status=$?
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; }; then
18700 ac_hi=-1 ac_mid=-1
18701 while :; do
18702 cat >conftest.$ac_ext <<_ACEOF
18703 /* confdefs.h. */
18704 _ACEOF
18705 cat confdefs.h >>conftest.$ac_ext
18706 cat >>conftest.$ac_ext <<_ACEOF
18707 /* end confdefs.h. */
18708 $ac_includes_default
18710 main ()
18712 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18713 test_array [0] = 0
18716 return 0;
18718 _ACEOF
18719 rm -f conftest.$ac_objext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721 (eval $ac_compile) 2>conftest.er1
18722 ac_status=$?
18723 grep -v '^ *+' conftest.er1 >conftest.err
18724 rm -f conftest.er1
18725 cat conftest.err >&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); } &&
18728 { ac_try='test -z "$ac_c_werror_flag"
18729 || test ! -s conftest.err'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; } &&
18735 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18741 ac_lo=$ac_mid; break
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18746 ac_hi=`expr '(' $ac_mid ')' - 1`
18747 if test $ac_mid -le $ac_hi; then
18748 ac_lo= ac_hi=
18749 break
18751 ac_mid=`expr 2 '*' $ac_mid`
18753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18754 done
18755 else
18756 echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.$ac_ext >&5
18759 ac_lo= ac_hi=
18761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18764 # Binary search between lo and hi bounds.
18765 while test "x$ac_lo" != "x$ac_hi"; do
18766 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18767 cat >conftest.$ac_ext <<_ACEOF
18768 /* confdefs.h. */
18769 _ACEOF
18770 cat confdefs.h >>conftest.$ac_ext
18771 cat >>conftest.$ac_ext <<_ACEOF
18772 /* end confdefs.h. */
18773 $ac_includes_default
18775 main ()
18777 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18778 test_array [0] = 0
18781 return 0;
18783 _ACEOF
18784 rm -f conftest.$ac_objext
18785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18786 (eval $ac_compile) 2>conftest.er1
18787 ac_status=$?
18788 grep -v '^ *+' conftest.er1 >conftest.err
18789 rm -f conftest.er1
18790 cat conftest.err >&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } &&
18793 { ac_try='test -z "$ac_c_werror_flag"
18794 || test ! -s conftest.err'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18797 ac_status=$?
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; } &&
18800 { ac_try='test -s conftest.$ac_objext'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18803 ac_status=$?
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18806 ac_hi=$ac_mid
18807 else
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18811 ac_lo=`expr '(' $ac_mid ')' + 1`
18813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18814 done
18815 case $ac_lo in
18816 ?*) ac_cv_sizeof_long=$ac_lo;;
18817 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18818 See \`config.log' for more details." >&5
18819 echo "$as_me: error: cannot compute sizeof (long), 77
18820 See \`config.log' for more details." >&2;}
18821 { (exit 1); exit 1; }; } ;;
18822 esac
18823 else
18824 if test "$cross_compiling" = yes; then
18825 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18826 See \`config.log' for more details." >&5
18827 echo "$as_me: error: cannot run test program while cross compiling
18828 See \`config.log' for more details." >&2;}
18829 { (exit 1); exit 1; }; }
18830 else
18831 cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h. */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837 $ac_includes_default
18838 long longval () { return (long) (sizeof (long)); }
18839 unsigned long ulongval () { return (long) (sizeof (long)); }
18840 #include <stdio.h>
18841 #include <stdlib.h>
18843 main ()
18846 FILE *f = fopen ("conftest.val", "w");
18847 if (! f)
18848 exit (1);
18849 if (((long) (sizeof (long))) < 0)
18851 long i = longval ();
18852 if (i != ((long) (sizeof (long))))
18853 exit (1);
18854 fprintf (f, "%ld\n", i);
18856 else
18858 unsigned long i = ulongval ();
18859 if (i != ((long) (sizeof (long))))
18860 exit (1);
18861 fprintf (f, "%lu\n", i);
18863 exit (ferror (f) || fclose (f) != 0);
18866 return 0;
18868 _ACEOF
18869 rm -f conftest$ac_exeext
18870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18871 (eval $ac_link) 2>&5
18872 ac_status=$?
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18876 (eval $ac_try) 2>&5
18877 ac_status=$?
18878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18879 (exit $ac_status); }; }; then
18880 ac_cv_sizeof_long=`cat conftest.val`
18881 else
18882 echo "$as_me: program exited with status $ac_status" >&5
18883 echo "$as_me: failed program was:" >&5
18884 sed 's/^/| /' conftest.$ac_ext >&5
18886 ( exit $ac_status )
18887 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18888 See \`config.log' for more details." >&5
18889 echo "$as_me: error: cannot compute sizeof (long), 77
18890 See \`config.log' for more details." >&2;}
18891 { (exit 1); exit 1; }; }
18893 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18896 rm -f conftest.val
18897 else
18898 ac_cv_sizeof_long=0
18901 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18902 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18903 cat >>confdefs.h <<_ACEOF
18904 #define SIZEOF_LONG $ac_cv_sizeof_long
18905 _ACEOF
18908 echo "$as_me:$LINENO: checking for void*" >&5
18909 echo $ECHO_N "checking for void*... $ECHO_C" >&6
18910 if test "${ac_cv_type_voidp+set}" = set; then
18911 echo $ECHO_N "(cached) $ECHO_C" >&6
18912 else
18913 cat >conftest.$ac_ext <<_ACEOF
18914 /* confdefs.h. */
18915 _ACEOF
18916 cat confdefs.h >>conftest.$ac_ext
18917 cat >>conftest.$ac_ext <<_ACEOF
18918 /* end confdefs.h. */
18919 $ac_includes_default
18921 main ()
18923 if ((void* *) 0)
18924 return 0;
18925 if (sizeof (void*))
18926 return 0;
18928 return 0;
18930 _ACEOF
18931 rm -f conftest.$ac_objext
18932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18933 (eval $ac_compile) 2>conftest.er1
18934 ac_status=$?
18935 grep -v '^ *+' conftest.er1 >conftest.err
18936 rm -f conftest.er1
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } &&
18940 { ac_try='test -z "$ac_c_werror_flag"
18941 || test ! -s conftest.err'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18944 ac_status=$?
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; } &&
18947 { ac_try='test -s conftest.$ac_objext'
18948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18949 (eval $ac_try) 2>&5
18950 ac_status=$?
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); }; }; then
18953 ac_cv_type_voidp=yes
18954 else
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18958 ac_cv_type_voidp=no
18960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18962 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
18963 echo "${ECHO_T}$ac_cv_type_voidp" >&6
18965 echo "$as_me:$LINENO: checking size of void*" >&5
18966 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
18967 if test "${ac_cv_sizeof_voidp+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18969 else
18970 if test "$ac_cv_type_voidp" = yes; then
18971 # The cast to unsigned long works around a bug in the HP C Compiler
18972 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18973 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18974 # This bug is HP SR number 8606223364.
18975 if test "$cross_compiling" = yes; then
18976 # Depending upon the size, compute the lo and hi bounds.
18977 cat >conftest.$ac_ext <<_ACEOF
18978 /* confdefs.h. */
18979 _ACEOF
18980 cat confdefs.h >>conftest.$ac_ext
18981 cat >>conftest.$ac_ext <<_ACEOF
18982 /* end confdefs.h. */
18983 $ac_includes_default
18985 main ()
18987 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
18988 test_array [0] = 0
18991 return 0;
18993 _ACEOF
18994 rm -f conftest.$ac_objext
18995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18996 (eval $ac_compile) 2>conftest.er1
18997 ac_status=$?
18998 grep -v '^ *+' conftest.er1 >conftest.err
18999 rm -f conftest.er1
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } &&
19003 { ac_try='test -z "$ac_c_werror_flag"
19004 || test ! -s conftest.err'
19005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19006 (eval $ac_try) 2>&5
19007 ac_status=$?
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); }; } &&
19010 { ac_try='test -s conftest.$ac_objext'
19011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19012 (eval $ac_try) 2>&5
19013 ac_status=$?
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); }; }; then
19016 ac_lo=0 ac_mid=0
19017 while :; do
19018 cat >conftest.$ac_ext <<_ACEOF
19019 /* confdefs.h. */
19020 _ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 $ac_includes_default
19026 main ()
19028 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19029 test_array [0] = 0
19032 return 0;
19034 _ACEOF
19035 rm -f conftest.$ac_objext
19036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19037 (eval $ac_compile) 2>conftest.er1
19038 ac_status=$?
19039 grep -v '^ *+' conftest.er1 >conftest.err
19040 rm -f conftest.er1
19041 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } &&
19044 { ac_try='test -z "$ac_c_werror_flag"
19045 || test ! -s conftest.err'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19048 ac_status=$?
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; } &&
19051 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19057 ac_hi=$ac_mid; break
19058 else
19059 echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.$ac_ext >&5
19062 ac_lo=`expr $ac_mid + 1`
19063 if test $ac_lo -le $ac_mid; then
19064 ac_lo= ac_hi=
19065 break
19067 ac_mid=`expr 2 '*' $ac_mid + 1`
19069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19070 done
19071 else
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19075 cat >conftest.$ac_ext <<_ACEOF
19076 /* confdefs.h. */
19077 _ACEOF
19078 cat confdefs.h >>conftest.$ac_ext
19079 cat >>conftest.$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19081 $ac_includes_default
19083 main ()
19085 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
19086 test_array [0] = 0
19089 return 0;
19091 _ACEOF
19092 rm -f conftest.$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>conftest.er1
19095 ac_status=$?
19096 grep -v '^ *+' conftest.er1 >conftest.err
19097 rm -f conftest.er1
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -z "$ac_c_werror_flag"
19102 || test ! -s conftest.err'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19105 ac_status=$?
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; } &&
19108 { ac_try='test -s conftest.$ac_objext'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19111 ac_status=$?
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; }; then
19114 ac_hi=-1 ac_mid=-1
19115 while :; do
19116 cat >conftest.$ac_ext <<_ACEOF
19117 /* confdefs.h. */
19118 _ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 $ac_includes_default
19124 main ()
19126 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
19127 test_array [0] = 0
19130 return 0;
19132 _ACEOF
19133 rm -f conftest.$ac_objext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19135 (eval $ac_compile) 2>conftest.er1
19136 ac_status=$?
19137 grep -v '^ *+' conftest.er1 >conftest.err
19138 rm -f conftest.er1
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } &&
19142 { ac_try='test -z "$ac_c_werror_flag"
19143 || test ! -s conftest.err'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19146 ac_status=$?
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; } &&
19149 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19155 ac_lo=$ac_mid; break
19156 else
19157 echo "$as_me: failed program was:" >&5
19158 sed 's/^/| /' conftest.$ac_ext >&5
19160 ac_hi=`expr '(' $ac_mid ')' - 1`
19161 if test $ac_mid -le $ac_hi; then
19162 ac_lo= ac_hi=
19163 break
19165 ac_mid=`expr 2 '*' $ac_mid`
19167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19168 done
19169 else
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.$ac_ext >&5
19173 ac_lo= ac_hi=
19175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19178 # Binary search between lo and hi bounds.
19179 while test "x$ac_lo" != "x$ac_hi"; do
19180 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19181 cat >conftest.$ac_ext <<_ACEOF
19182 /* confdefs.h. */
19183 _ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19189 main ()
19191 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19192 test_array [0] = 0
19195 return 0;
19197 _ACEOF
19198 rm -f conftest.$ac_objext
19199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19200 (eval $ac_compile) 2>conftest.er1
19201 ac_status=$?
19202 grep -v '^ *+' conftest.er1 >conftest.err
19203 rm -f conftest.er1
19204 cat conftest.err >&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); } &&
19207 { ac_try='test -z "$ac_c_werror_flag"
19208 || test ! -s conftest.err'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19211 ac_status=$?
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; } &&
19214 { ac_try='test -s conftest.$ac_objext'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19217 ac_status=$?
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; }; then
19220 ac_hi=$ac_mid
19221 else
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19225 ac_lo=`expr '(' $ac_mid ')' + 1`
19227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19228 done
19229 case $ac_lo in
19230 ?*) ac_cv_sizeof_voidp=$ac_lo;;
19231 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19232 See \`config.log' for more details." >&5
19233 echo "$as_me: error: cannot compute sizeof (void*), 77
19234 See \`config.log' for more details." >&2;}
19235 { (exit 1); exit 1; }; } ;;
19236 esac
19237 else
19238 if test "$cross_compiling" = yes; then
19239 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19240 See \`config.log' for more details." >&5
19241 echo "$as_me: error: cannot run test program while cross compiling
19242 See \`config.log' for more details." >&2;}
19243 { (exit 1); exit 1; }; }
19244 else
19245 cat >conftest.$ac_ext <<_ACEOF
19246 /* confdefs.h. */
19247 _ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 $ac_includes_default
19252 long longval () { return (long) (sizeof (void*)); }
19253 unsigned long ulongval () { return (long) (sizeof (void*)); }
19254 #include <stdio.h>
19255 #include <stdlib.h>
19257 main ()
19260 FILE *f = fopen ("conftest.val", "w");
19261 if (! f)
19262 exit (1);
19263 if (((long) (sizeof (void*))) < 0)
19265 long i = longval ();
19266 if (i != ((long) (sizeof (void*))))
19267 exit (1);
19268 fprintf (f, "%ld\n", i);
19270 else
19272 unsigned long i = ulongval ();
19273 if (i != ((long) (sizeof (void*))))
19274 exit (1);
19275 fprintf (f, "%lu\n", i);
19277 exit (ferror (f) || fclose (f) != 0);
19280 return 0;
19282 _ACEOF
19283 rm -f conftest$ac_exeext
19284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19285 (eval $ac_link) 2>&5
19286 ac_status=$?
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290 (eval $ac_try) 2>&5
19291 ac_status=$?
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); }; }; then
19294 ac_cv_sizeof_voidp=`cat conftest.val`
19295 else
19296 echo "$as_me: program exited with status $ac_status" >&5
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.$ac_ext >&5
19300 ( exit $ac_status )
19301 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19302 See \`config.log' for more details." >&5
19303 echo "$as_me: error: cannot compute sizeof (void*), 77
19304 See \`config.log' for more details." >&2;}
19305 { (exit 1); exit 1; }; }
19307 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19310 rm -f conftest.val
19311 else
19312 ac_cv_sizeof_voidp=0
19315 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
19316 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
19317 cat >>confdefs.h <<_ACEOF
19318 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
19319 _ACEOF
19322 ac_cv_char_data_model=""
19323 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
19324 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
19325 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
19326 ac_cv_long_data_model=""
19327 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
19328 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
19329 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
19330 echo "$as_me:$LINENO: checking data model" >&5
19331 echo $ECHO_N "checking data model... $ECHO_C" >&6
19332 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
19333 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
19334 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
19335 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
19336 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
19337 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
19338 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
19339 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
19340 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
19341 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
19342 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
19343 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
19344 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
19345 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
19346 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
19347 222/*|333/*|444/*|666/*|888/*) :
19348 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
19349 *) ac_cv_data_model="none" ; n="very unusual model" ;;
19350 esac
19351 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
19352 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
19356 if test "_$ac_cv_header_stdint_x" != "_" ; then
19357 ac_cv_header_stdint="$ac_cv_header_stdint_x"
19358 elif test "_$ac_cv_header_stdint_o" != "_" ; then
19359 ac_cv_header_stdint="$ac_cv_header_stdint_o"
19360 elif test "_$ac_cv_header_stdint_u" != "_" ; then
19361 ac_cv_header_stdint="$ac_cv_header_stdint_u"
19362 else
19363 ac_cv_header_stdint="stddef.h"
19366 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
19367 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
19368 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
19369 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
19370 unset ac_cv_type_int_least32_t
19371 unset ac_cv_type_int_fast32_t
19372 echo "$as_me:$LINENO: checking for int_least32_t" >&5
19373 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
19374 if test "${ac_cv_type_int_least32_t+set}" = set; then
19375 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 else
19377 cat >conftest.$ac_ext <<_ACEOF
19378 /* confdefs.h. */
19379 _ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 #include <$ac_cv_header_stdint>
19386 main ()
19388 if ((int_least32_t *) 0)
19389 return 0;
19390 if (sizeof (int_least32_t))
19391 return 0;
19393 return 0;
19395 _ACEOF
19396 rm -f conftest.$ac_objext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19398 (eval $ac_compile) 2>conftest.er1
19399 ac_status=$?
19400 grep -v '^ *+' conftest.er1 >conftest.err
19401 rm -f conftest.er1
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } &&
19405 { ac_try='test -z "$ac_c_werror_flag"
19406 || test ! -s conftest.err'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19409 ac_status=$?
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; } &&
19412 { ac_try='test -s conftest.$ac_objext'
19413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19415 ac_status=$?
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); }; }; then
19418 ac_cv_type_int_least32_t=yes
19419 else
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19423 ac_cv_type_int_least32_t=no
19425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19427 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
19428 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
19430 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
19431 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
19432 if test "${ac_cv_type_int_fast32_t+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 else
19435 cat >conftest.$ac_ext <<_ACEOF
19436 /* confdefs.h. */
19437 _ACEOF
19438 cat confdefs.h >>conftest.$ac_ext
19439 cat >>conftest.$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441 #include<$ac_cv_header_stdint>
19444 main ()
19446 if ((int_fast32_t *) 0)
19447 return 0;
19448 if (sizeof (int_fast32_t))
19449 return 0;
19451 return 0;
19453 _ACEOF
19454 rm -f conftest.$ac_objext
19455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19456 (eval $ac_compile) 2>conftest.er1
19457 ac_status=$?
19458 grep -v '^ *+' conftest.er1 >conftest.err
19459 rm -f conftest.er1
19460 cat conftest.err >&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); } &&
19463 { ac_try='test -z "$ac_c_werror_flag"
19464 || test ! -s conftest.err'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19467 ac_status=$?
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; } &&
19470 { ac_try='test -s conftest.$ac_objext'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; }; then
19476 ac_cv_type_int_fast32_t=yes
19477 else
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.$ac_ext >&5
19481 ac_cv_type_int_fast32_t=no
19483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19485 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
19486 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
19488 echo "$as_me:$LINENO: checking for intmax_t" >&5
19489 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
19490 if test "${ac_cv_type_intmax_t+set}" = set; then
19491 echo $ECHO_N "(cached) $ECHO_C" >&6
19492 else
19493 cat >conftest.$ac_ext <<_ACEOF
19494 /* confdefs.h. */
19495 _ACEOF
19496 cat confdefs.h >>conftest.$ac_ext
19497 cat >>conftest.$ac_ext <<_ACEOF
19498 /* end confdefs.h. */
19499 #include <$ac_cv_header_stdint>
19502 main ()
19504 if ((intmax_t *) 0)
19505 return 0;
19506 if (sizeof (intmax_t))
19507 return 0;
19509 return 0;
19511 _ACEOF
19512 rm -f conftest.$ac_objext
19513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19514 (eval $ac_compile) 2>conftest.er1
19515 ac_status=$?
19516 grep -v '^ *+' conftest.er1 >conftest.err
19517 rm -f conftest.er1
19518 cat conftest.err >&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } &&
19521 { ac_try='test -z "$ac_c_werror_flag"
19522 || test ! -s conftest.err'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19525 ac_status=$?
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; } &&
19528 { ac_try='test -s conftest.$ac_objext'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19531 ac_status=$?
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; }; then
19534 ac_cv_type_intmax_t=yes
19535 else
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19539 ac_cv_type_intmax_t=no
19541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19543 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
19544 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
19547 fi # shortcircut to system "stdint.h"
19548 # ------------------ PREPARE VARIABLES ------------------------------
19549 if test "$GCC" = "yes" ; then
19550 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
19551 else
19552 ac_cv_stdint_message="using $CC"
19555 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
19556 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
19558 # ----------------- DONE inttypes.h checks START header -------------
19559 ac_config_commands="$ac_config_commands $ac_stdint_h"
19564 # Check whether --with-glibj_zip or --without-glibj_zip was given.
19565 if test "${with_glibj_zip+set}" = set; then
19566 withval="$with_glibj_zip"
19570 case "$with_glibj_zip" in
19572 use_glibj_zip=false
19574 "no" )
19575 use_glibj_zip=false
19577 "yes")
19578 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
19579 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
19580 { (exit 1); exit 1; }; }
19583 use_glibj_zip=true
19584 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
19586 esac;
19590 if test x$use_glibj_zip = xtrue; then
19591 USE_PREBUILT_GLIBJ_ZIP_TRUE=
19592 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
19593 else
19594 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
19595 USE_PREBUILT_GLIBJ_ZIP_FALSE=
19601 # Check whether --with-escher or --without-escher was given.
19602 if test "${with_escher+set}" = set; then
19603 withval="$with_escher"
19606 case "$with_escher" in
19608 use_escher=false
19610 "no")
19611 use_escher=false
19613 "yes")
19614 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
19615 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
19616 { (exit 1); exit 1; }; }
19619 use_escher=true
19620 PATH_TO_ESCHER=$with_escher
19622 esac
19626 if test x$use_escher = xtrue; then
19627 USE_ESCHER_TRUE=
19628 USE_ESCHER_FALSE='#'
19629 else
19630 USE_ESCHER_TRUE='#'
19631 USE_ESCHER_FALSE=
19636 # Check whether --enable-local-sockets or --disable-local-sockets was given.
19637 if test "${enable_local_sockets+set}" = set; then
19638 enableval="$enable_local_sockets"
19639 case "${enableval}" in
19640 yes)
19641 ENABLE_LOCAL_SOCKETS=yes
19644 ENABLE_LOCAL_SOCKETS=no
19646 esac
19648 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
19649 then
19650 if test "${ac_cv_header_sys_un_h+set}" = set; then
19651 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19652 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19653 if test "${ac_cv_header_sys_un_h+set}" = set; then
19654 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19657 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19658 else
19659 # Is the header compilable?
19660 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
19661 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
19662 cat >conftest.$ac_ext <<_ACEOF
19663 /* confdefs.h. */
19664 _ACEOF
19665 cat confdefs.h >>conftest.$ac_ext
19666 cat >>conftest.$ac_ext <<_ACEOF
19667 /* end confdefs.h. */
19668 $ac_includes_default
19669 #include <sys/un.h>
19670 _ACEOF
19671 rm -f conftest.$ac_objext
19672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19673 (eval $ac_compile) 2>conftest.er1
19674 ac_status=$?
19675 grep -v '^ *+' conftest.er1 >conftest.err
19676 rm -f conftest.er1
19677 cat conftest.err >&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); } &&
19680 { ac_try='test -z "$ac_c_werror_flag"
19681 || test ! -s conftest.err'
19682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683 (eval $ac_try) 2>&5
19684 ac_status=$?
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); }; } &&
19687 { ac_try='test -s conftest.$ac_objext'
19688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19689 (eval $ac_try) 2>&5
19690 ac_status=$?
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); }; }; then
19693 ac_header_compiler=yes
19694 else
19695 echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.$ac_ext >&5
19698 ac_header_compiler=no
19700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19702 echo "${ECHO_T}$ac_header_compiler" >&6
19704 # Is the header present?
19705 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
19706 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
19707 cat >conftest.$ac_ext <<_ACEOF
19708 /* confdefs.h. */
19709 _ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 #include <sys/un.h>
19714 _ACEOF
19715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19717 ac_status=$?
19718 grep -v '^ *+' conftest.er1 >conftest.err
19719 rm -f conftest.er1
19720 cat conftest.err >&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } >/dev/null; then
19723 if test -s conftest.err; then
19724 ac_cpp_err=$ac_c_preproc_warn_flag
19725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19726 else
19727 ac_cpp_err=
19729 else
19730 ac_cpp_err=yes
19732 if test -z "$ac_cpp_err"; then
19733 ac_header_preproc=yes
19734 else
19735 echo "$as_me: failed program was:" >&5
19736 sed 's/^/| /' conftest.$ac_ext >&5
19738 ac_header_preproc=no
19740 rm -f conftest.err conftest.$ac_ext
19741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19742 echo "${ECHO_T}$ac_header_preproc" >&6
19744 # So? What about this header?
19745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19746 yes:no: )
19747 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
19748 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19749 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
19750 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
19751 ac_header_preproc=yes
19753 no:yes:* )
19754 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
19755 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
19756 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
19757 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
19758 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
19759 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
19760 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
19761 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
19762 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
19763 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
19764 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
19765 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
19767 cat <<\_ASBOX
19768 ## -------------------------------- ##
19769 ## Report this to classpath@gnu.org ##
19770 ## -------------------------------- ##
19771 _ASBOX
19773 sed "s/^/$as_me: WARNING: /" >&2
19775 esac
19776 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19777 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19778 if test "${ac_cv_header_sys_un_h+set}" = set; then
19779 echo $ECHO_N "(cached) $ECHO_C" >&6
19780 else
19781 ac_cv_header_sys_un_h=$ac_header_preproc
19783 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19784 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19795 for ac_func in read write bind listen accept shutdown
19797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19798 echo "$as_me:$LINENO: checking for $ac_func" >&5
19799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19800 if eval "test \"\${$as_ac_var+set}\" = set"; then
19801 echo $ECHO_N "(cached) $ECHO_C" >&6
19802 else
19803 if test x$gcc_no_link = xyes; then
19804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19806 { (exit 1); exit 1; }; }
19808 cat >conftest.$ac_ext <<_ACEOF
19809 /* confdefs.h. */
19810 _ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19816 #define $ac_func innocuous_$ac_func
19818 /* System header to define __stub macros and hopefully few prototypes,
19819 which can conflict with char $ac_func (); below.
19820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19821 <limits.h> exists even on freestanding compilers. */
19823 #ifdef __STDC__
19824 # include <limits.h>
19825 #else
19826 # include <assert.h>
19827 #endif
19829 #undef $ac_func
19831 /* Override any gcc2 internal prototype to avoid an error. */
19832 #ifdef __cplusplus
19833 extern "C"
19835 #endif
19836 /* We use char because int might match the return type of a gcc2
19837 builtin and then its argument prototype would still apply. */
19838 char $ac_func ();
19839 /* The GNU C library defines this for functions which it implements
19840 to always fail with ENOSYS. Some functions are actually named
19841 something starting with __ and the normal name is an alias. */
19842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19843 choke me
19844 #else
19845 char (*f) () = $ac_func;
19846 #endif
19847 #ifdef __cplusplus
19849 #endif
19852 main ()
19854 return f != $ac_func;
19856 return 0;
19858 _ACEOF
19859 rm -f conftest.$ac_objext conftest$ac_exeext
19860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19861 (eval $ac_link) 2>conftest.er1
19862 ac_status=$?
19863 grep -v '^ *+' conftest.er1 >conftest.err
19864 rm -f conftest.er1
19865 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } &&
19868 { ac_try='test -z "$ac_c_werror_flag"
19869 || test ! -s conftest.err'
19870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19871 (eval $ac_try) 2>&5
19872 ac_status=$?
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); }; } &&
19875 { ac_try='test -s conftest$ac_exeext'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19878 ac_status=$?
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; }; then
19881 eval "$as_ac_var=yes"
19882 else
19883 echo "$as_me: failed program was:" >&5
19884 sed 's/^/| /' conftest.$ac_ext >&5
19886 eval "$as_ac_var=no"
19888 rm -f conftest.err conftest.$ac_objext \
19889 conftest$ac_exeext conftest.$ac_ext
19891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19893 if test `eval echo '${'$as_ac_var'}'` = yes; then
19894 cat >>confdefs.h <<_ACEOF
19895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19896 _ACEOF
19898 else
19899 { { echo "$as_me:$LINENO: error: networking support not available" >&5
19900 echo "$as_me: error: networking support not available" >&2;}
19901 { (exit 1); exit 1; }; }
19903 done
19906 cat >>confdefs.h <<\_ACEOF
19907 #define ENABLE_LOCAL_SOCKETS 1
19908 _ACEOF
19913 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
19914 ENABLE_LOCAL_SOCKETS_TRUE=
19915 ENABLE_LOCAL_SOCKETS_FALSE='#'
19916 else
19917 ENABLE_LOCAL_SOCKETS_TRUE='#'
19918 ENABLE_LOCAL_SOCKETS_FALSE=
19924 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"
19927 if test "x${COMPILE_WRAPPERS}" = xno
19928 then
19929 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"
19931 ac_config_commands="$ac_config_commands gappletviewer"
19933 ac_config_commands="$ac_config_commands gjarsigner"
19935 ac_config_commands="$ac_config_commands gkeytool"
19937 ac_config_commands="$ac_config_commands gjar"
19939 ac_config_commands="$ac_config_commands gnative2ascii"
19941 ac_config_commands="$ac_config_commands gserialver"
19943 ac_config_commands="$ac_config_commands grmiregistry"
19945 ac_config_commands="$ac_config_commands gtnameserv"
19947 ac_config_commands="$ac_config_commands gorbd"
19949 ac_config_commands="$ac_config_commands grmid"
19951 ac_config_commands="$ac_config_commands grmic"
19953 ac_config_commands="$ac_config_commands gjavah"
19957 ac_config_commands="$ac_config_commands gen-classlist"
19959 ac_config_commands="$ac_config_commands copy-vmresources"
19961 cat >confcache <<\_ACEOF
19962 # This file is a shell script that caches the results of configure
19963 # tests run on this system so they can be shared between configure
19964 # scripts and configure runs, see configure's option --config-cache.
19965 # It is not useful on other systems. If it contains results you don't
19966 # want to keep, you may remove or edit it.
19968 # config.status only pays attention to the cache file if you give it
19969 # the --recheck option to rerun configure.
19971 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19972 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19973 # following values.
19975 _ACEOF
19977 # The following way of writing the cache mishandles newlines in values,
19978 # but we know of no workaround that is simple, portable, and efficient.
19979 # So, don't put newlines in cache variables' values.
19980 # Ultrix sh set writes to stderr and can't be redirected directly,
19981 # and sets the high bit in the cache file unless we assign to the vars.
19983 (set) 2>&1 |
19984 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19985 *ac_space=\ *)
19986 # `set' does not quote correctly, so add quotes (double-quote
19987 # substitution turns \\\\ into \\, and sed turns \\ into \).
19988 sed -n \
19989 "s/'/'\\\\''/g;
19990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19993 # `set' quotes correctly as required by POSIX, so do not add quotes.
19994 sed -n \
19995 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19997 esac;
19999 sed '
20000 t clear
20001 : clear
20002 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20003 t end
20004 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20005 : end' >>confcache
20006 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20007 if test -w $cache_file; then
20008 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20009 cat confcache >$cache_file
20010 else
20011 echo "not updating unwritable cache $cache_file"
20014 rm -f confcache
20016 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20017 # Let make expand exec_prefix.
20018 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20020 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20021 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20022 # trailing colons and then remove the whole line if VPATH becomes empty
20023 # (actually we leave an empty line to preserve line numbers).
20024 if test "x$srcdir" = x.; then
20025 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20026 s/:*\$(srcdir):*/:/;
20027 s/:*\${srcdir}:*/:/;
20028 s/:*@srcdir@:*/:/;
20029 s/^\([^=]*=[ ]*\):*/\1/;
20030 s/:*$//;
20031 s/^[^=]*=[ ]*$//;
20035 DEFS=-DHAVE_CONFIG_H
20037 ac_libobjs=
20038 ac_ltlibobjs=
20039 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20040 # 1. Remove the extension, and $U if already installed.
20041 ac_i=`echo "$ac_i" |
20042 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20043 # 2. Add them.
20044 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20045 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20046 done
20047 LIBOBJS=$ac_libobjs
20049 LTLIBOBJS=$ac_ltlibobjs
20052 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
20053 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
20054 Usually this means the macro was only invoked conditionally." >&5
20055 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
20056 Usually this means the macro was only invoked conditionally." >&2;}
20057 { (exit 1); exit 1; }; }
20059 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
20060 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
20061 Usually this means the macro was only invoked conditionally." >&5
20062 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
20063 Usually this means the macro was only invoked conditionally." >&2;}
20064 { (exit 1); exit 1; }; }
20066 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
20067 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
20068 Usually this means the macro was only invoked conditionally." >&5
20069 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
20070 Usually this means the macro was only invoked conditionally." >&2;}
20071 { (exit 1); exit 1; }; }
20073 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
20074 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
20075 Usually this means the macro was only invoked conditionally." >&5
20076 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
20077 Usually this means the macro was only invoked conditionally." >&2;}
20078 { (exit 1); exit 1; }; }
20080 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
20081 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
20082 Usually this means the macro was only invoked conditionally." >&5
20083 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
20084 Usually this means the macro was only invoked conditionally." >&2;}
20085 { (exit 1); exit 1; }; }
20087 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
20088 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
20089 Usually this means the macro was only invoked conditionally." >&5
20090 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
20091 Usually this means the macro was only invoked conditionally." >&2;}
20092 { (exit 1); exit 1; }; }
20094 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20095 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20096 Usually this means the macro was only invoked conditionally." >&5
20097 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20098 Usually this means the macro was only invoked conditionally." >&2;}
20099 { (exit 1); exit 1; }; }
20101 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20102 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20103 Usually this means the macro was only invoked conditionally." >&5
20104 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20105 Usually this means the macro was only invoked conditionally." >&2;}
20106 { (exit 1); exit 1; }; }
20108 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
20109 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
20110 Usually this means the macro was only invoked conditionally." >&5
20111 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
20112 Usually this means the macro was only invoked conditionally." >&2;}
20113 { (exit 1); exit 1; }; }
20115 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
20116 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
20117 Usually this means the macro was only invoked conditionally." >&5
20118 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
20119 Usually this means the macro was only invoked conditionally." >&2;}
20120 { (exit 1); exit 1; }; }
20122 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
20123 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
20124 Usually this means the macro was only invoked conditionally." >&5
20125 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
20126 Usually this means the macro was only invoked conditionally." >&2;}
20127 { (exit 1); exit 1; }; }
20129 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
20130 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
20131 Usually this means the macro was only invoked conditionally." >&5
20132 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
20133 Usually this means the macro was only invoked conditionally." >&2;}
20134 { (exit 1); exit 1; }; }
20136 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
20137 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
20138 Usually this means the macro was only invoked conditionally." >&5
20139 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
20140 Usually this means the macro was only invoked conditionally." >&2;}
20141 { (exit 1); exit 1; }; }
20143 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
20144 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
20145 Usually this means the macro was only invoked conditionally." >&5
20146 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
20147 Usually this means the macro was only invoked conditionally." >&2;}
20148 { (exit 1); exit 1; }; }
20150 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
20151 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20152 Usually this means the macro was only invoked conditionally." >&5
20153 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20154 Usually this means the macro was only invoked conditionally." >&2;}
20155 { (exit 1); exit 1; }; }
20157 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
20158 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
20159 Usually this means the macro was only invoked conditionally." >&5
20160 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
20161 Usually this means the macro was only invoked conditionally." >&2;}
20162 { (exit 1); exit 1; }; }
20164 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20165 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20166 Usually this means the macro was only invoked conditionally." >&5
20167 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20168 Usually this means the macro was only invoked conditionally." >&2;}
20169 { (exit 1); exit 1; }; }
20171 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20172 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20173 Usually this means the macro was only invoked conditionally." >&5
20174 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20175 Usually this means the macro was only invoked conditionally." >&2;}
20176 { (exit 1); exit 1; }; }
20178 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
20179 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20180 Usually this means the macro was only invoked conditionally." >&5
20181 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20182 Usually this means the macro was only invoked conditionally." >&2;}
20183 { (exit 1); exit 1; }; }
20185 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20186 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20187 Usually this means the macro was only invoked conditionally." >&5
20188 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20189 Usually this means the macro was only invoked conditionally." >&2;}
20190 { (exit 1); exit 1; }; }
20192 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20193 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20194 Usually this means the macro was only invoked conditionally." >&5
20195 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20196 Usually this means the macro was only invoked conditionally." >&2;}
20197 { (exit 1); exit 1; }; }
20199 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20200 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20201 Usually this means the macro was only invoked conditionally." >&5
20202 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20203 Usually this means the macro was only invoked conditionally." >&2;}
20204 { (exit 1); exit 1; }; }
20206 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20207 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20208 Usually this means the macro was only invoked conditionally." >&5
20209 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20210 Usually this means the macro was only invoked conditionally." >&2;}
20211 { (exit 1); exit 1; }; }
20213 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20214 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20215 Usually this means the macro was only invoked conditionally." >&5
20216 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20217 Usually this means the macro was only invoked conditionally." >&2;}
20218 { (exit 1); exit 1; }; }
20220 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20221 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20222 Usually this means the macro was only invoked conditionally." >&5
20223 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20224 Usually this means the macro was only invoked conditionally." >&2;}
20225 { (exit 1); exit 1; }; }
20227 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
20228 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
20229 Usually this means the macro was only invoked conditionally." >&5
20230 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
20231 Usually this means the macro was only invoked conditionally." >&2;}
20232 { (exit 1); exit 1; }; }
20234 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
20235 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
20236 Usually this means the macro was only invoked conditionally." >&5
20237 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
20238 Usually this means the macro was only invoked conditionally." >&2;}
20239 { (exit 1); exit 1; }; }
20241 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
20242 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20243 Usually this means the macro was only invoked conditionally." >&5
20244 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20245 Usually this means the macro was only invoked conditionally." >&2;}
20246 { (exit 1); exit 1; }; }
20248 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20249 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20250 Usually this means the macro was only invoked conditionally." >&5
20251 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20252 Usually this means the macro was only invoked conditionally." >&2;}
20253 { (exit 1); exit 1; }; }
20255 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
20256 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20257 Usually this means the macro was only invoked conditionally." >&5
20258 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20259 Usually this means the macro was only invoked conditionally." >&2;}
20260 { (exit 1); exit 1; }; }
20262 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
20263 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20264 Usually this means the macro was only invoked conditionally." >&5
20265 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20266 Usually this means the macro was only invoked conditionally." >&2;}
20267 { (exit 1); exit 1; }; }
20269 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
20270 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20271 Usually this means the macro was only invoked conditionally." >&5
20272 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20273 Usually this means the macro was only invoked conditionally." >&2;}
20274 { (exit 1); exit 1; }; }
20276 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
20277 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
20278 Usually this means the macro was only invoked conditionally." >&5
20279 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
20280 Usually this means the macro was only invoked conditionally." >&2;}
20281 { (exit 1); exit 1; }; }
20283 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
20284 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
20285 Usually this means the macro was only invoked conditionally." >&5
20286 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
20287 Usually this means the macro was only invoked conditionally." >&2;}
20288 { (exit 1); exit 1; }; }
20290 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
20291 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20292 Usually this means the macro was only invoked conditionally." >&5
20293 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20294 Usually this means the macro was only invoked conditionally." >&2;}
20295 { (exit 1); exit 1; }; }
20297 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
20298 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
20299 Usually this means the macro was only invoked conditionally." >&5
20300 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
20301 Usually this means the macro was only invoked conditionally." >&2;}
20302 { (exit 1); exit 1; }; }
20304 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
20305 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20306 Usually this means the macro was only invoked conditionally." >&5
20307 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20308 Usually this means the macro was only invoked conditionally." >&2;}
20309 { (exit 1); exit 1; }; }
20312 : ${CONFIG_STATUS=./config.status}
20313 ac_clean_files_save=$ac_clean_files
20314 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20315 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20316 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20317 cat >$CONFIG_STATUS <<_ACEOF
20318 #! $SHELL
20319 # Generated by $as_me.
20320 # Run this file to recreate the current configuration.
20321 # Compiler output produced by configure, useful for debugging
20322 # configure, is in config.log if it exists.
20324 debug=false
20325 ac_cs_recheck=false
20326 ac_cs_silent=false
20327 SHELL=\${CONFIG_SHELL-$SHELL}
20328 _ACEOF
20330 cat >>$CONFIG_STATUS <<\_ACEOF
20331 ## --------------------- ##
20332 ## M4sh Initialization. ##
20333 ## --------------------- ##
20335 # Be Bourne compatible
20336 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20337 emulate sh
20338 NULLCMD=:
20339 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20340 # is contrary to our usage. Disable this feature.
20341 alias -g '${1+"$@"}'='"$@"'
20342 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20343 set -o posix
20345 DUALCASE=1; export DUALCASE # for MKS sh
20347 # Support unset when possible.
20348 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20349 as_unset=unset
20350 else
20351 as_unset=false
20355 # Work around bugs in pre-3.0 UWIN ksh.
20356 $as_unset ENV MAIL MAILPATH
20357 PS1='$ '
20358 PS2='> '
20359 PS4='+ '
20361 # NLS nuisances.
20362 for as_var in \
20363 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20364 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20365 LC_TELEPHONE LC_TIME
20367 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20368 eval $as_var=C; export $as_var
20369 else
20370 $as_unset $as_var
20372 done
20374 # Required to use basename.
20375 if expr a : '\(a\)' >/dev/null 2>&1; then
20376 as_expr=expr
20377 else
20378 as_expr=false
20381 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20382 as_basename=basename
20383 else
20384 as_basename=false
20388 # Name of the executable.
20389 as_me=`$as_basename "$0" ||
20390 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20391 X"$0" : 'X\(//\)$' \| \
20392 X"$0" : 'X\(/\)$' \| \
20393 . : '\(.\)' 2>/dev/null ||
20394 echo X/"$0" |
20395 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20396 /^X\/\(\/\/\)$/{ s//\1/; q; }
20397 /^X\/\(\/\).*/{ s//\1/; q; }
20398 s/.*/./; q'`
20401 # PATH needs CR, and LINENO needs CR and PATH.
20402 # Avoid depending upon Character Ranges.
20403 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20404 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20405 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20406 as_cr_digits='0123456789'
20407 as_cr_alnum=$as_cr_Letters$as_cr_digits
20409 # The user is always right.
20410 if test "${PATH_SEPARATOR+set}" != set; then
20411 echo "#! /bin/sh" >conf$$.sh
20412 echo "exit 0" >>conf$$.sh
20413 chmod +x conf$$.sh
20414 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20415 PATH_SEPARATOR=';'
20416 else
20417 PATH_SEPARATOR=:
20419 rm -f conf$$.sh
20423 as_lineno_1=$LINENO
20424 as_lineno_2=$LINENO
20425 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20426 test "x$as_lineno_1" != "x$as_lineno_2" &&
20427 test "x$as_lineno_3" = "x$as_lineno_2" || {
20428 # Find who we are. Look in the path if we contain no path at all
20429 # relative or not.
20430 case $0 in
20431 *[\\/]* ) as_myself=$0 ;;
20432 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20433 for as_dir in $PATH
20435 IFS=$as_save_IFS
20436 test -z "$as_dir" && as_dir=.
20437 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20438 done
20441 esac
20442 # We did not find ourselves, most probably we were run as `sh COMMAND'
20443 # in which case we are not to be found in the path.
20444 if test "x$as_myself" = x; then
20445 as_myself=$0
20447 if test ! -f "$as_myself"; then
20448 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20449 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20450 { (exit 1); exit 1; }; }
20452 case $CONFIG_SHELL in
20454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20455 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20457 IFS=$as_save_IFS
20458 test -z "$as_dir" && as_dir=.
20459 for as_base in sh bash ksh sh5; do
20460 case $as_dir in
20462 if ("$as_dir/$as_base" -c '
20463 as_lineno_1=$LINENO
20464 as_lineno_2=$LINENO
20465 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20466 test "x$as_lineno_1" != "x$as_lineno_2" &&
20467 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20468 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20469 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20470 CONFIG_SHELL=$as_dir/$as_base
20471 export CONFIG_SHELL
20472 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20473 fi;;
20474 esac
20475 done
20476 done
20478 esac
20480 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20481 # uniformly replaced by the line number. The first 'sed' inserts a
20482 # line-number line before each line; the second 'sed' does the real
20483 # work. The second script uses 'N' to pair each line-number line
20484 # with the numbered line, and appends trailing '-' during
20485 # substitution so that $LINENO is not a special case at line end.
20486 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20487 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20488 sed '=' <$as_myself |
20489 sed '
20491 s,$,-,
20492 : loop
20493 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20494 t loop
20495 s,-$,,
20496 s,^['$as_cr_digits']*\n,,
20497 ' >$as_me.lineno &&
20498 chmod +x $as_me.lineno ||
20499 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20500 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20501 { (exit 1); exit 1; }; }
20503 # Don't try to exec as it changes $[0], causing all sort of problems
20504 # (the dirname of $[0] is not the place where we might find the
20505 # original and so on. Autoconf is especially sensible to this).
20506 . ./$as_me.lineno
20507 # Exit status is that of the last command.
20508 exit
20512 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20513 *c*,-n*) ECHO_N= ECHO_C='
20514 ' ECHO_T=' ' ;;
20515 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20516 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20517 esac
20519 if expr a : '\(a\)' >/dev/null 2>&1; then
20520 as_expr=expr
20521 else
20522 as_expr=false
20525 rm -f conf$$ conf$$.exe conf$$.file
20526 echo >conf$$.file
20527 if ln -s conf$$.file conf$$ 2>/dev/null; then
20528 # We could just check for DJGPP; but this test a) works b) is more generic
20529 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20530 if test -f conf$$.exe; then
20531 # Don't use ln at all; we don't have any links
20532 as_ln_s='cp -p'
20533 else
20534 as_ln_s='ln -s'
20536 elif ln conf$$.file conf$$ 2>/dev/null; then
20537 as_ln_s=ln
20538 else
20539 as_ln_s='cp -p'
20541 rm -f conf$$ conf$$.exe conf$$.file
20543 if mkdir -p . 2>/dev/null; then
20544 as_mkdir_p=:
20545 else
20546 test -d ./-p && rmdir ./-p
20547 as_mkdir_p=false
20550 as_executable_p="test -f"
20552 # Sed expression to map a string onto a valid CPP name.
20553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20555 # Sed expression to map a string onto a valid variable name.
20556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20559 # IFS
20560 # We need space, tab and new line, in precisely that order.
20561 as_nl='
20563 IFS=" $as_nl"
20565 # CDPATH.
20566 $as_unset CDPATH
20568 exec 6>&1
20570 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20571 # report actual input values of CONFIG_FILES etc. instead of their
20572 # values after options handling. Logging --version etc. is OK.
20573 exec 5>>config.log
20575 echo
20576 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20577 ## Running $as_me. ##
20578 _ASBOX
20579 } >&5
20580 cat >&5 <<_CSEOF
20582 This file was extended by GNU Classpath $as_me 0.94-pre, which was
20583 generated by GNU Autoconf 2.59. Invocation command line was
20585 CONFIG_FILES = $CONFIG_FILES
20586 CONFIG_HEADERS = $CONFIG_HEADERS
20587 CONFIG_LINKS = $CONFIG_LINKS
20588 CONFIG_COMMANDS = $CONFIG_COMMANDS
20589 $ $0 $@
20591 _CSEOF
20592 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20593 echo >&5
20594 _ACEOF
20596 # Files that config.status was made for.
20597 if test -n "$ac_config_files"; then
20598 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20601 if test -n "$ac_config_headers"; then
20602 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20605 if test -n "$ac_config_links"; then
20606 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20609 if test -n "$ac_config_commands"; then
20610 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20613 cat >>$CONFIG_STATUS <<\_ACEOF
20615 ac_cs_usage="\
20616 \`$as_me' instantiates files from templates according to the
20617 current configuration.
20619 Usage: $0 [OPTIONS] [FILE]...
20621 -h, --help print this help, then exit
20622 -V, --version print version number, then exit
20623 -q, --quiet do not print progress messages
20624 -d, --debug don't remove temporary files
20625 --recheck update $as_me by reconfiguring in the same conditions
20626 --file=FILE[:TEMPLATE]
20627 instantiate the configuration file FILE
20628 --header=FILE[:TEMPLATE]
20629 instantiate the configuration header FILE
20631 Configuration files:
20632 $config_files
20634 Configuration headers:
20635 $config_headers
20637 Configuration links:
20638 $config_links
20640 Configuration commands:
20641 $config_commands
20643 Report bugs to <bug-autoconf@gnu.org>."
20644 _ACEOF
20646 cat >>$CONFIG_STATUS <<_ACEOF
20647 ac_cs_version="\\
20648 GNU Classpath config.status 0.94-pre
20649 configured by $0, generated by GNU Autoconf 2.59,
20650 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20652 Copyright (C) 2003 Free Software Foundation, Inc.
20653 This config.status script is free software; the Free Software Foundation
20654 gives unlimited permission to copy, distribute and modify it."
20655 srcdir=$srcdir
20656 INSTALL="$INSTALL"
20657 _ACEOF
20659 cat >>$CONFIG_STATUS <<\_ACEOF
20660 # If no file are specified by the user, then we need to provide default
20661 # value. By we need to know if files were specified by the user.
20662 ac_need_defaults=:
20663 while test $# != 0
20665 case $1 in
20666 --*=*)
20667 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20668 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20669 ac_shift=:
20672 ac_option=$1
20673 ac_optarg=$2
20674 ac_shift=shift
20676 *) # This is not an option, so the user has probably given explicit
20677 # arguments.
20678 ac_option=$1
20679 ac_need_defaults=false;;
20680 esac
20682 case $ac_option in
20683 # Handling of the options.
20684 _ACEOF
20685 cat >>$CONFIG_STATUS <<\_ACEOF
20686 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20687 ac_cs_recheck=: ;;
20688 --version | --vers* | -V )
20689 echo "$ac_cs_version"; exit 0 ;;
20690 --he | --h)
20691 # Conflict between --help and --header
20692 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20693 Try \`$0 --help' for more information." >&5
20694 echo "$as_me: error: ambiguous option: $1
20695 Try \`$0 --help' for more information." >&2;}
20696 { (exit 1); exit 1; }; };;
20697 --help | --hel | -h )
20698 echo "$ac_cs_usage"; exit 0 ;;
20699 --debug | --d* | -d )
20700 debug=: ;;
20701 --file | --fil | --fi | --f )
20702 $ac_shift
20703 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20704 ac_need_defaults=false;;
20705 --header | --heade | --head | --hea )
20706 $ac_shift
20707 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20708 ac_need_defaults=false;;
20709 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20710 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20711 ac_cs_silent=: ;;
20713 # This is an error.
20714 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20715 Try \`$0 --help' for more information." >&5
20716 echo "$as_me: error: unrecognized option: $1
20717 Try \`$0 --help' for more information." >&2;}
20718 { (exit 1); exit 1; }; } ;;
20720 *) ac_config_targets="$ac_config_targets $1" ;;
20722 esac
20723 shift
20724 done
20726 ac_configure_extra_args=
20728 if $ac_cs_silent; then
20729 exec 6>/dev/null
20730 ac_configure_extra_args="$ac_configure_extra_args --silent"
20733 _ACEOF
20734 cat >>$CONFIG_STATUS <<_ACEOF
20735 if \$ac_cs_recheck; then
20736 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20737 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20740 _ACEOF
20742 cat >>$CONFIG_STATUS <<_ACEOF
20744 # INIT-COMMANDS section.
20748 srcdir="$srcdir"
20749 host="$host"
20750 target="$target"
20751 with_multisubdir="$with_multisubdir"
20752 with_multisrctop="$with_multisrctop"
20753 with_target_subdir="$with_target_subdir"
20754 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20755 multi_basedir="$multi_basedir"
20756 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20757 CC="$CC"
20758 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20759 # variables for create stdint.h replacement
20760 PACKAGE="$PACKAGE"
20761 VERSION="$VERSION"
20762 ac_stdint_h="$ac_stdint_h"
20763 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
20764 ac_cv_stdint_message="$ac_cv_stdint_message"
20765 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
20766 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
20767 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
20768 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
20769 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20770 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20771 ac_cv_char_data_model="$ac_cv_char_data_model"
20772 ac_cv_long_data_model="$ac_cv_long_data_model"
20773 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20774 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20775 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
20778 _ACEOF
20782 cat >>$CONFIG_STATUS <<\_ACEOF
20783 for ac_config_target in $ac_config_targets
20785 case "$ac_config_target" in
20786 # Handling of arguments.
20787 "lib/mkcollections.pl" ) CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
20788 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20789 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20790 "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
20791 "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
20792 "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
20793 "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
20794 "external/relaxngDatatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
20795 "external/jsr166/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
20796 "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
20797 "gnu/java/security/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
20798 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20799 "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
20800 "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
20801 "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
20802 "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
20803 "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
20804 "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
20805 "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
20806 "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
20807 "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
20808 "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
20809 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
20810 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
20811 "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
20812 "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
20813 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
20814 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
20815 "native/jni/native-lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
20816 "native/plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
20817 "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
20818 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
20819 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
20820 "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
20821 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20822 "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
20823 "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
20824 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20825 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20826 "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
20827 "examples/Makefile.java2d" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
20828 "tools/gappletviewer" ) CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
20829 "tools/gjarsigner" ) CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
20830 "tools/gkeytool" ) CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
20831 "tools/gjar" ) CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
20832 "tools/gnative2ascii" ) CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
20833 "tools/gserialver" ) CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
20834 "tools/grmiregistry" ) CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
20835 "tools/gtnameserv" ) CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
20836 "tools/gorbd" ) CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
20837 "tools/grmid" ) CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
20838 "tools/grmic" ) CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
20839 "tools/gjavah" ) CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
20840 "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
20841 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
20842 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20843 "mkcollections.pl" ) CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
20844 "$ac_stdint_h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
20845 "gappletviewer" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
20846 "gjarsigner" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
20847 "gkeytool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
20848 "gjar" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
20849 "gnative2ascii" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
20850 "gserialver" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
20851 "grmiregistry" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
20852 "gtnameserv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
20853 "gorbd" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
20854 "grmid" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
20855 "grmic" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
20856 "gjavah" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
20857 "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
20858 "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
20859 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20860 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20861 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20862 { (exit 1); exit 1; }; };;
20863 esac
20864 done
20866 # If the user did not use the arguments to specify the items to instantiate,
20867 # then the envvar interface is used. Set only those that are not.
20868 # We use the long form for the default assignment because of an extremely
20869 # bizarre bug on SunOS 4.1.3.
20870 if $ac_need_defaults; then
20871 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20872 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20873 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20874 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20877 # Have a temporary directory for convenience. Make it in the build tree
20878 # simply because there is no reason to put it here, and in addition,
20879 # creating and moving files from /tmp can sometimes cause problems.
20880 # Create a temporary directory, and hook for its removal unless debugging.
20881 $debug ||
20883 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20884 trap '{ (exit 1); exit 1; }' 1 2 13 15
20887 # Create a (secure) tmp directory for tmp files.
20890 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20891 test -n "$tmp" && test -d "$tmp"
20892 } ||
20894 tmp=./confstat$$-$RANDOM
20895 (umask 077 && mkdir $tmp)
20896 } ||
20898 echo "$me: cannot create a temporary directory in ." >&2
20899 { (exit 1); exit 1; }
20902 _ACEOF
20904 cat >>$CONFIG_STATUS <<_ACEOF
20907 # CONFIG_FILES section.
20910 # No need to generate the scripts if there are no CONFIG_FILES.
20911 # This happens for instance when ./config.status config.h
20912 if test -n "\$CONFIG_FILES"; then
20913 # Protect against being on the right side of a sed subst in config.status.
20914 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20915 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20916 s,@SHELL@,$SHELL,;t t
20917 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20918 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20919 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20920 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20921 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20922 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20923 s,@exec_prefix@,$exec_prefix,;t t
20924 s,@prefix@,$prefix,;t t
20925 s,@program_transform_name@,$program_transform_name,;t t
20926 s,@bindir@,$bindir,;t t
20927 s,@sbindir@,$sbindir,;t t
20928 s,@libexecdir@,$libexecdir,;t t
20929 s,@datadir@,$datadir,;t t
20930 s,@sysconfdir@,$sysconfdir,;t t
20931 s,@sharedstatedir@,$sharedstatedir,;t t
20932 s,@localstatedir@,$localstatedir,;t t
20933 s,@libdir@,$libdir,;t t
20934 s,@includedir@,$includedir,;t t
20935 s,@oldincludedir@,$oldincludedir,;t t
20936 s,@infodir@,$infodir,;t t
20937 s,@mandir@,$mandir,;t t
20938 s,@build_alias@,$build_alias,;t t
20939 s,@host_alias@,$host_alias,;t t
20940 s,@target_alias@,$target_alias,;t t
20941 s,@DEFS@,$DEFS,;t t
20942 s,@ECHO_C@,$ECHO_C,;t t
20943 s,@ECHO_N@,$ECHO_N,;t t
20944 s,@ECHO_T@,$ECHO_T,;t t
20945 s,@LIBS@,$LIBS,;t t
20946 s,@build@,$build,;t t
20947 s,@build_cpu@,$build_cpu,;t t
20948 s,@build_vendor@,$build_vendor,;t t
20949 s,@build_os@,$build_os,;t t
20950 s,@host@,$host,;t t
20951 s,@host_cpu@,$host_cpu,;t t
20952 s,@host_vendor@,$host_vendor,;t t
20953 s,@host_os@,$host_os,;t t
20954 s,@target@,$target,;t t
20955 s,@target_cpu@,$target_cpu,;t t
20956 s,@target_vendor@,$target_vendor,;t t
20957 s,@target_os@,$target_os,;t t
20958 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
20959 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
20960 s,@multi_basedir@,$multi_basedir,;t t
20961 s,@LIBVERSION@,$LIBVERSION,;t t
20962 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
20963 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
20964 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20965 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20966 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20967 s,@CYGPATH_W@,$CYGPATH_W,;t t
20968 s,@PACKAGE@,$PACKAGE,;t t
20969 s,@VERSION@,$VERSION,;t t
20970 s,@ACLOCAL@,$ACLOCAL,;t t
20971 s,@AUTOCONF@,$AUTOCONF,;t t
20972 s,@AUTOMAKE@,$AUTOMAKE,;t t
20973 s,@AUTOHEADER@,$AUTOHEADER,;t t
20974 s,@MAKEINFO@,$MAKEINFO,;t t
20975 s,@install_sh@,$install_sh,;t t
20976 s,@STRIP@,$STRIP,;t t
20977 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20978 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20979 s,@mkdir_p@,$mkdir_p,;t t
20980 s,@AWK@,$AWK,;t t
20981 s,@SET_MAKE@,$SET_MAKE,;t t
20982 s,@am__leading_dot@,$am__leading_dot,;t t
20983 s,@AMTAR@,$AMTAR,;t t
20984 s,@am__tar@,$am__tar,;t t
20985 s,@am__untar@,$am__untar,;t t
20986 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
20987 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
20988 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
20989 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
20990 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
20991 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
20992 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
20993 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
20994 s,@default_toolkit@,$default_toolkit,;t t
20995 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
20996 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
20997 s,@CC@,$CC,;t t
20998 s,@CFLAGS@,$CFLAGS,;t t
20999 s,@LDFLAGS@,$LDFLAGS,;t t
21000 s,@CPPFLAGS@,$CPPFLAGS,;t t
21001 s,@ac_ct_CC@,$ac_ct_CC,;t t
21002 s,@EXEEXT@,$EXEEXT,;t t
21003 s,@OBJEXT@,$OBJEXT,;t t
21004 s,@DEPDIR@,$DEPDIR,;t t
21005 s,@am__include@,$am__include,;t t
21006 s,@am__quote@,$am__quote,;t t
21007 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21008 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21009 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21010 s,@CCDEPMODE@,$CCDEPMODE,;t t
21011 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21012 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21013 s,@CPP@,$CPP,;t t
21014 s,@EGREP@,$EGREP,;t t
21015 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
21016 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
21017 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
21018 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
21019 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
21020 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
21021 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
21022 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
21023 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
21024 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
21025 s,@toolexeclibdir@,$toolexeclibdir,;t t
21026 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
21027 s,@glibjdir@,$glibjdir,;t t
21028 s,@VM_BINARY@,$VM_BINARY,;t t
21029 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
21030 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
21031 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
21032 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
21033 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
21034 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
21035 s,@LN_S@,$LN_S,;t t
21036 s,@RANLIB@,$RANLIB,;t t
21037 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21038 s,@LIBTOOL@,$LIBTOOL,;t t
21039 s,@CXX@,$CXX,;t t
21040 s,@CXXFLAGS@,$CXXFLAGS,;t t
21041 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21042 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21043 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21044 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21045 s,@CXXCPP@,$CXXCPP,;t t
21046 s,@PERL@,$PERL,;t t
21047 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
21048 s,@LIBMAGIC@,$LIBMAGIC,;t t
21049 s,@LIBICONV@,$LIBICONV,;t t
21050 s,@LTLIBICONV@,$LTLIBICONV,;t t
21051 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
21052 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
21053 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
21054 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21055 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
21056 s,@XML_LIBS@,$XML_LIBS,;t t
21057 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
21058 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
21059 s,@X_CFLAGS@,$X_CFLAGS,;t t
21060 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21061 s,@X_LIBS@,$X_LIBS,;t t
21062 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21063 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
21064 s,@GTK_LIBS@,$GTK_LIBS,;t t
21065 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
21066 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
21067 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
21068 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
21069 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
21070 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
21071 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
21072 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
21073 s,@GDK_LIBS@,$GDK_LIBS,;t t
21074 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
21075 s,@QT_LIBS@,$QT_LIBS,;t t
21076 s,@MOC@,$MOC,;t t
21077 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
21078 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
21079 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
21080 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
21081 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
21082 s,@USER_JAVAH@,$USER_JAVAH,;t t
21083 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
21084 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
21085 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
21086 s,@GCJ@,$GCJ,;t t
21087 s,@JIKES@,$JIKES,;t t
21088 s,@JIKESENCODING@,$JIKESENCODING,;t t
21089 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
21090 s,@KJC@,$KJC,;t t
21091 s,@GCJX@,$GCJX,;t t
21092 s,@ECJ@,$ECJ,;t t
21093 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
21094 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
21095 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
21096 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
21097 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
21098 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
21099 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
21100 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
21101 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
21102 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
21103 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
21104 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
21105 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
21106 s,@vm_classes@,$vm_classes,;t t
21107 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21108 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21109 s,@MAINT@,$MAINT,;t t
21110 s,@LIBDEBUG@,$LIBDEBUG,;t t
21111 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
21112 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
21113 s,@REMOVE@,$REMOVE,;t t
21114 s,@MKDIR@,$MKDIR,;t t
21115 s,@CP@,$CP,;t t
21116 s,@DATE@,$DATE,;t t
21117 s,@FIND@,$FIND,;t t
21118 s,@ZIP@,$ZIP,;t t
21119 s,@FASTJAR@,$FASTJAR,;t t
21120 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
21121 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
21122 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
21123 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
21124 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
21125 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
21126 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
21127 s,@GJDOC@,$GJDOC,;t t
21128 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
21129 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
21130 s,@JAY@,$JAY,;t t
21131 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
21132 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
21133 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
21134 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
21135 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
21136 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
21137 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
21138 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
21139 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
21140 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
21141 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
21142 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
21143 s,@LIBOBJS@,$LIBOBJS,;t t
21144 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21145 CEOF
21147 _ACEOF
21149 cat >>$CONFIG_STATUS <<\_ACEOF
21150 # Split the substitutions into bite-sized pieces for seds with
21151 # small command number limits, like on Digital OSF/1 and HP-UX.
21152 ac_max_sed_lines=48
21153 ac_sed_frag=1 # Number of current file.
21154 ac_beg=1 # First line for current file.
21155 ac_end=$ac_max_sed_lines # Line after last line for current file.
21156 ac_more_lines=:
21157 ac_sed_cmds=
21158 while $ac_more_lines; do
21159 if test $ac_beg -gt 1; then
21160 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21161 else
21162 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21164 if test ! -s $tmp/subs.frag; then
21165 ac_more_lines=false
21166 else
21167 # The purpose of the label and of the branching condition is to
21168 # speed up the sed processing (if there are no `@' at all, there
21169 # is no need to browse any of the substitutions).
21170 # These are the two extra sed commands mentioned above.
21171 (echo ':t
21172 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21173 if test -z "$ac_sed_cmds"; then
21174 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21175 else
21176 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21178 ac_sed_frag=`expr $ac_sed_frag + 1`
21179 ac_beg=$ac_end
21180 ac_end=`expr $ac_end + $ac_max_sed_lines`
21182 done
21183 if test -z "$ac_sed_cmds"; then
21184 ac_sed_cmds=cat
21186 fi # test -n "$CONFIG_FILES"
21188 _ACEOF
21189 cat >>$CONFIG_STATUS <<\_ACEOF
21190 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21191 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21192 case $ac_file in
21193 - | *:- | *:-:* ) # input from stdin
21194 cat >$tmp/stdin
21195 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21196 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21197 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21198 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21199 * ) ac_file_in=$ac_file.in ;;
21200 esac
21202 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21203 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21204 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21205 X"$ac_file" : 'X\(//\)[^/]' \| \
21206 X"$ac_file" : 'X\(//\)$' \| \
21207 X"$ac_file" : 'X\(/\)' \| \
21208 . : '\(.\)' 2>/dev/null ||
21209 echo X"$ac_file" |
21210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21211 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21212 /^X\(\/\/\)$/{ s//\1/; q; }
21213 /^X\(\/\).*/{ s//\1/; q; }
21214 s/.*/./; q'`
21215 { if $as_mkdir_p; then
21216 mkdir -p "$ac_dir"
21217 else
21218 as_dir="$ac_dir"
21219 as_dirs=
21220 while test ! -d "$as_dir"; do
21221 as_dirs="$as_dir $as_dirs"
21222 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21223 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21224 X"$as_dir" : 'X\(//\)[^/]' \| \
21225 X"$as_dir" : 'X\(//\)$' \| \
21226 X"$as_dir" : 'X\(/\)' \| \
21227 . : '\(.\)' 2>/dev/null ||
21228 echo X"$as_dir" |
21229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21230 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21231 /^X\(\/\/\)$/{ s//\1/; q; }
21232 /^X\(\/\).*/{ s//\1/; q; }
21233 s/.*/./; q'`
21234 done
21235 test ! -n "$as_dirs" || mkdir $as_dirs
21236 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21237 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21238 { (exit 1); exit 1; }; }; }
21240 ac_builddir=.
21242 if test "$ac_dir" != .; then
21243 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21244 # A "../" for each directory in $ac_dir_suffix.
21245 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21246 else
21247 ac_dir_suffix= ac_top_builddir=
21250 case $srcdir in
21251 .) # No --srcdir option. We are building in place.
21252 ac_srcdir=.
21253 if test -z "$ac_top_builddir"; then
21254 ac_top_srcdir=.
21255 else
21256 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21257 fi ;;
21258 [\\/]* | ?:[\\/]* ) # Absolute path.
21259 ac_srcdir=$srcdir$ac_dir_suffix;
21260 ac_top_srcdir=$srcdir ;;
21261 *) # Relative path.
21262 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21263 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21264 esac
21266 # Do not use `cd foo && pwd` to compute absolute paths, because
21267 # the directories may not exist.
21268 case `pwd` in
21269 .) ac_abs_builddir="$ac_dir";;
21271 case "$ac_dir" in
21272 .) ac_abs_builddir=`pwd`;;
21273 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21274 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21275 esac;;
21276 esac
21277 case $ac_abs_builddir in
21278 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21280 case ${ac_top_builddir}. in
21281 .) ac_abs_top_builddir=$ac_abs_builddir;;
21282 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21283 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21284 esac;;
21285 esac
21286 case $ac_abs_builddir in
21287 .) ac_abs_srcdir=$ac_srcdir;;
21289 case $ac_srcdir in
21290 .) ac_abs_srcdir=$ac_abs_builddir;;
21291 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21292 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21293 esac;;
21294 esac
21295 case $ac_abs_builddir in
21296 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21298 case $ac_top_srcdir in
21299 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21300 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21301 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21302 esac;;
21303 esac
21306 case $INSTALL in
21307 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21308 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21309 esac
21311 if test x"$ac_file" != x-; then
21312 { echo "$as_me:$LINENO: creating $ac_file" >&5
21313 echo "$as_me: creating $ac_file" >&6;}
21314 rm -f "$ac_file"
21316 # Let's still pretend it is `configure' which instantiates (i.e., don't
21317 # use $as_me), people would be surprised to read:
21318 # /* config.h. Generated by config.status. */
21319 if test x"$ac_file" = x-; then
21320 configure_input=
21321 else
21322 configure_input="$ac_file. "
21324 configure_input=$configure_input"Generated from `echo $ac_file_in |
21325 sed 's,.*/,,'` by configure."
21327 # First look for the input files in the build tree, otherwise in the
21328 # src tree.
21329 ac_file_inputs=`IFS=:
21330 for f in $ac_file_in; do
21331 case $f in
21332 -) echo $tmp/stdin ;;
21333 [\\/$]*)
21334 # Absolute (can't be DOS-style, as IFS=:)
21335 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21336 echo "$as_me: error: cannot find input file: $f" >&2;}
21337 { (exit 1); exit 1; }; }
21338 echo "$f";;
21339 *) # Relative
21340 if test -f "$f"; then
21341 # Build tree
21342 echo "$f"
21343 elif test -f "$srcdir/$f"; then
21344 # Source tree
21345 echo "$srcdir/$f"
21346 else
21347 # /dev/null tree
21348 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21349 echo "$as_me: error: cannot find input file: $f" >&2;}
21350 { (exit 1); exit 1; }; }
21351 fi;;
21352 esac
21353 done` || { (exit 1); exit 1; }
21354 _ACEOF
21355 cat >>$CONFIG_STATUS <<_ACEOF
21356 sed "$ac_vpsub
21357 $extrasub
21358 _ACEOF
21359 cat >>$CONFIG_STATUS <<\_ACEOF
21361 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21362 s,@configure_input@,$configure_input,;t t
21363 s,@srcdir@,$ac_srcdir,;t t
21364 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21365 s,@top_srcdir@,$ac_top_srcdir,;t t
21366 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21367 s,@builddir@,$ac_builddir,;t t
21368 s,@abs_builddir@,$ac_abs_builddir,;t t
21369 s,@top_builddir@,$ac_top_builddir,;t t
21370 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21371 s,@INSTALL@,$ac_INSTALL,;t t
21372 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21373 rm -f $tmp/stdin
21374 if test x"$ac_file" != x-; then
21375 mv $tmp/out $ac_file
21376 else
21377 cat $tmp/out
21378 rm -f $tmp/out
21381 done
21382 _ACEOF
21383 cat >>$CONFIG_STATUS <<\_ACEOF
21386 # CONFIG_HEADER section.
21389 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21390 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21392 # ac_d sets the value in "#define NAME VALUE" lines.
21393 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21394 ac_dB='[ ].*$,\1#\2'
21395 ac_dC=' '
21396 ac_dD=',;t'
21397 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21398 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21399 ac_uB='$,\1#\2define\3'
21400 ac_uC=' '
21401 ac_uD=',;t'
21403 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21404 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21405 case $ac_file in
21406 - | *:- | *:-:* ) # input from stdin
21407 cat >$tmp/stdin
21408 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21409 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21410 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21411 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21412 * ) ac_file_in=$ac_file.in ;;
21413 esac
21415 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21416 echo "$as_me: creating $ac_file" >&6;}
21418 # First look for the input files in the build tree, otherwise in the
21419 # src tree.
21420 ac_file_inputs=`IFS=:
21421 for f in $ac_file_in; do
21422 case $f in
21423 -) echo $tmp/stdin ;;
21424 [\\/$]*)
21425 # Absolute (can't be DOS-style, as IFS=:)
21426 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21427 echo "$as_me: error: cannot find input file: $f" >&2;}
21428 { (exit 1); exit 1; }; }
21429 # Do quote $f, to prevent DOS paths from being IFS'd.
21430 echo "$f";;
21431 *) # Relative
21432 if test -f "$f"; then
21433 # Build tree
21434 echo "$f"
21435 elif test -f "$srcdir/$f"; then
21436 # Source tree
21437 echo "$srcdir/$f"
21438 else
21439 # /dev/null tree
21440 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21441 echo "$as_me: error: cannot find input file: $f" >&2;}
21442 { (exit 1); exit 1; }; }
21443 fi;;
21444 esac
21445 done` || { (exit 1); exit 1; }
21446 # Remove the trailing spaces.
21447 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21449 _ACEOF
21451 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21452 # `conftest.undefs', that substitutes the proper values into
21453 # config.h.in to produce config.h. The first handles `#define'
21454 # templates, and the second `#undef' templates.
21455 # And first: Protect against being on the right side of a sed subst in
21456 # config.status. Protect against being in an unquoted here document
21457 # in config.status.
21458 rm -f conftest.defines conftest.undefs
21459 # Using a here document instead of a string reduces the quoting nightmare.
21460 # Putting comments in sed scripts is not portable.
21462 # `end' is used to avoid that the second main sed command (meant for
21463 # 0-ary CPP macros) applies to n-ary macro definitions.
21464 # See the Autoconf documentation for `clear'.
21465 cat >confdef2sed.sed <<\_ACEOF
21466 s/[\\&,]/\\&/g
21467 s,[\\$`],\\&,g
21468 t clear
21469 : clear
21470 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21471 t end
21472 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21473 : end
21474 _ACEOF
21475 # If some macros were called several times there might be several times
21476 # the same #defines, which is useless. Nevertheless, we may not want to
21477 # sort them, since we want the *last* AC-DEFINE to be honored.
21478 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21479 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21480 rm -f confdef2sed.sed
21482 # This sed command replaces #undef with comments. This is necessary, for
21483 # example, in the case of _POSIX_SOURCE, which is predefined and required
21484 # on some systems where configure will not decide to define it.
21485 cat >>conftest.undefs <<\_ACEOF
21486 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21487 _ACEOF
21489 # Break up conftest.defines because some shells have a limit on the size
21490 # of here documents, and old seds have small limits too (100 cmds).
21491 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21492 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21493 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21494 echo ' :' >>$CONFIG_STATUS
21495 rm -f conftest.tail
21496 while grep . conftest.defines >/dev/null
21498 # Write a limited-size here document to $tmp/defines.sed.
21499 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21500 # Speed up: don't consider the non `#define' lines.
21501 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21502 # Work around the forget-to-reset-the-flag bug.
21503 echo 't clr' >>$CONFIG_STATUS
21504 echo ': clr' >>$CONFIG_STATUS
21505 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21506 echo 'CEOF
21507 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21508 rm -f $tmp/in
21509 mv $tmp/out $tmp/in
21510 ' >>$CONFIG_STATUS
21511 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21512 rm -f conftest.defines
21513 mv conftest.tail conftest.defines
21514 done
21515 rm -f conftest.defines
21516 echo ' fi # grep' >>$CONFIG_STATUS
21517 echo >>$CONFIG_STATUS
21519 # Break up conftest.undefs because some shells have a limit on the size
21520 # of here documents, and old seds have small limits too (100 cmds).
21521 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21522 rm -f conftest.tail
21523 while grep . conftest.undefs >/dev/null
21525 # Write a limited-size here document to $tmp/undefs.sed.
21526 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21527 # Speed up: don't consider the non `#undef'
21528 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21529 # Work around the forget-to-reset-the-flag bug.
21530 echo 't clr' >>$CONFIG_STATUS
21531 echo ': clr' >>$CONFIG_STATUS
21532 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21533 echo 'CEOF
21534 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21535 rm -f $tmp/in
21536 mv $tmp/out $tmp/in
21537 ' >>$CONFIG_STATUS
21538 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21539 rm -f conftest.undefs
21540 mv conftest.tail conftest.undefs
21541 done
21542 rm -f conftest.undefs
21544 cat >>$CONFIG_STATUS <<\_ACEOF
21545 # Let's still pretend it is `configure' which instantiates (i.e., don't
21546 # use $as_me), people would be surprised to read:
21547 # /* config.h. Generated by config.status. */
21548 if test x"$ac_file" = x-; then
21549 echo "/* Generated by configure. */" >$tmp/config.h
21550 else
21551 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21553 cat $tmp/in >>$tmp/config.h
21554 rm -f $tmp/in
21555 if test x"$ac_file" != x-; then
21556 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21557 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21558 echo "$as_me: $ac_file is unchanged" >&6;}
21559 else
21560 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21561 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21562 X"$ac_file" : 'X\(//\)[^/]' \| \
21563 X"$ac_file" : 'X\(//\)$' \| \
21564 X"$ac_file" : 'X\(/\)' \| \
21565 . : '\(.\)' 2>/dev/null ||
21566 echo X"$ac_file" |
21567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21568 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21569 /^X\(\/\/\)$/{ s//\1/; q; }
21570 /^X\(\/\).*/{ s//\1/; q; }
21571 s/.*/./; q'`
21572 { if $as_mkdir_p; then
21573 mkdir -p "$ac_dir"
21574 else
21575 as_dir="$ac_dir"
21576 as_dirs=
21577 while test ! -d "$as_dir"; do
21578 as_dirs="$as_dir $as_dirs"
21579 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21580 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21581 X"$as_dir" : 'X\(//\)[^/]' \| \
21582 X"$as_dir" : 'X\(//\)$' \| \
21583 X"$as_dir" : 'X\(/\)' \| \
21584 . : '\(.\)' 2>/dev/null ||
21585 echo X"$as_dir" |
21586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21587 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21588 /^X\(\/\/\)$/{ s//\1/; q; }
21589 /^X\(\/\).*/{ s//\1/; q; }
21590 s/.*/./; q'`
21591 done
21592 test ! -n "$as_dirs" || mkdir $as_dirs
21593 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21594 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21595 { (exit 1); exit 1; }; }; }
21597 rm -f $ac_file
21598 mv $tmp/config.h $ac_file
21600 else
21601 cat $tmp/config.h
21602 rm -f $tmp/config.h
21604 # Compute $ac_file's index in $config_headers.
21605 _am_stamp_count=1
21606 for _am_header in $config_headers :; do
21607 case $_am_header in
21608 $ac_file | $ac_file:* )
21609 break ;;
21611 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21612 esac
21613 done
21614 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21615 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21616 X$ac_file : 'X\(//\)[^/]' \| \
21617 X$ac_file : 'X\(//\)$' \| \
21618 X$ac_file : 'X\(/\)' \| \
21619 . : '\(.\)' 2>/dev/null ||
21620 echo X$ac_file |
21621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21622 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21623 /^X\(\/\/\)$/{ s//\1/; q; }
21624 /^X\(\/\).*/{ s//\1/; q; }
21625 s/.*/./; q'`/stamp-h$_am_stamp_count
21626 done
21627 _ACEOF
21628 cat >>$CONFIG_STATUS <<\_ACEOF
21631 # CONFIG_LINKS section.
21634 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
21635 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21636 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21638 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
21639 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
21641 if test ! -r $srcdir/$ac_source; then
21642 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
21643 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
21644 { (exit 1); exit 1; }; }
21646 rm -f $ac_dest
21648 # Make relative symlinks.
21649 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
21650 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21651 X"$ac_dest" : 'X\(//\)[^/]' \| \
21652 X"$ac_dest" : 'X\(//\)$' \| \
21653 X"$ac_dest" : 'X\(/\)' \| \
21654 . : '\(.\)' 2>/dev/null ||
21655 echo X"$ac_dest" |
21656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21658 /^X\(\/\/\)$/{ s//\1/; q; }
21659 /^X\(\/\).*/{ s//\1/; q; }
21660 s/.*/./; q'`
21661 { if $as_mkdir_p; then
21662 mkdir -p "$ac_dest_dir"
21663 else
21664 as_dir="$ac_dest_dir"
21665 as_dirs=
21666 while test ! -d "$as_dir"; do
21667 as_dirs="$as_dir $as_dirs"
21668 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21669 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21670 X"$as_dir" : 'X\(//\)[^/]' \| \
21671 X"$as_dir" : 'X\(//\)$' \| \
21672 X"$as_dir" : 'X\(/\)' \| \
21673 . : '\(.\)' 2>/dev/null ||
21674 echo X"$as_dir" |
21675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21677 /^X\(\/\/\)$/{ s//\1/; q; }
21678 /^X\(\/\).*/{ s//\1/; q; }
21679 s/.*/./; q'`
21680 done
21681 test ! -n "$as_dirs" || mkdir $as_dirs
21682 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
21683 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
21684 { (exit 1); exit 1; }; }; }
21686 ac_builddir=.
21688 if test "$ac_dest_dir" != .; then
21689 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
21690 # A "../" for each directory in $ac_dir_suffix.
21691 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21692 else
21693 ac_dir_suffix= ac_top_builddir=
21696 case $srcdir in
21697 .) # No --srcdir option. We are building in place.
21698 ac_srcdir=.
21699 if test -z "$ac_top_builddir"; then
21700 ac_top_srcdir=.
21701 else
21702 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21703 fi ;;
21704 [\\/]* | ?:[\\/]* ) # Absolute path.
21705 ac_srcdir=$srcdir$ac_dir_suffix;
21706 ac_top_srcdir=$srcdir ;;
21707 *) # Relative path.
21708 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21709 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21710 esac
21712 # Do not use `cd foo && pwd` to compute absolute paths, because
21713 # the directories may not exist.
21714 case `pwd` in
21715 .) ac_abs_builddir="$ac_dest_dir";;
21717 case "$ac_dest_dir" in
21718 .) ac_abs_builddir=`pwd`;;
21719 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
21720 *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
21721 esac;;
21722 esac
21723 case $ac_abs_builddir in
21724 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21726 case ${ac_top_builddir}. in
21727 .) ac_abs_top_builddir=$ac_abs_builddir;;
21728 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21729 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21730 esac;;
21731 esac
21732 case $ac_abs_builddir in
21733 .) ac_abs_srcdir=$ac_srcdir;;
21735 case $ac_srcdir in
21736 .) ac_abs_srcdir=$ac_abs_builddir;;
21737 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21738 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21739 esac;;
21740 esac
21741 case $ac_abs_builddir in
21742 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21744 case $ac_top_srcdir in
21745 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21746 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21747 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21748 esac;;
21749 esac
21752 case $srcdir in
21753 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
21754 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
21755 esac
21757 # Try a symlink, then a hard link, then a copy.
21758 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21759 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
21760 cp -p $srcdir/$ac_source $ac_dest ||
21761 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
21762 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
21763 { (exit 1); exit 1; }; }
21764 done
21765 _ACEOF
21766 cat >>$CONFIG_STATUS <<\_ACEOF
21769 # CONFIG_COMMANDS section.
21771 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21772 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21773 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21774 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21775 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21776 X"$ac_dest" : 'X\(//\)[^/]' \| \
21777 X"$ac_dest" : 'X\(//\)$' \| \
21778 X"$ac_dest" : 'X\(/\)' \| \
21779 . : '\(.\)' 2>/dev/null ||
21780 echo X"$ac_dest" |
21781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21783 /^X\(\/\/\)$/{ s//\1/; q; }
21784 /^X\(\/\).*/{ s//\1/; q; }
21785 s/.*/./; q'`
21786 { if $as_mkdir_p; then
21787 mkdir -p "$ac_dir"
21788 else
21789 as_dir="$ac_dir"
21790 as_dirs=
21791 while test ! -d "$as_dir"; do
21792 as_dirs="$as_dir $as_dirs"
21793 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21794 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21795 X"$as_dir" : 'X\(//\)[^/]' \| \
21796 X"$as_dir" : 'X\(//\)$' \| \
21797 X"$as_dir" : 'X\(/\)' \| \
21798 . : '\(.\)' 2>/dev/null ||
21799 echo X"$as_dir" |
21800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21801 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21802 /^X\(\/\/\)$/{ s//\1/; q; }
21803 /^X\(\/\).*/{ s//\1/; q; }
21804 s/.*/./; q'`
21805 done
21806 test ! -n "$as_dirs" || mkdir $as_dirs
21807 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21808 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21809 { (exit 1); exit 1; }; }; }
21811 ac_builddir=.
21813 if test "$ac_dir" != .; then
21814 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21815 # A "../" for each directory in $ac_dir_suffix.
21816 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21817 else
21818 ac_dir_suffix= ac_top_builddir=
21821 case $srcdir in
21822 .) # No --srcdir option. We are building in place.
21823 ac_srcdir=.
21824 if test -z "$ac_top_builddir"; then
21825 ac_top_srcdir=.
21826 else
21827 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21828 fi ;;
21829 [\\/]* | ?:[\\/]* ) # Absolute path.
21830 ac_srcdir=$srcdir$ac_dir_suffix;
21831 ac_top_srcdir=$srcdir ;;
21832 *) # Relative path.
21833 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21834 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21835 esac
21837 # Do not use `cd foo && pwd` to compute absolute paths, because
21838 # the directories may not exist.
21839 case `pwd` in
21840 .) ac_abs_builddir="$ac_dir";;
21842 case "$ac_dir" in
21843 .) ac_abs_builddir=`pwd`;;
21844 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21845 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21846 esac;;
21847 esac
21848 case $ac_abs_builddir in
21849 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21851 case ${ac_top_builddir}. in
21852 .) ac_abs_top_builddir=$ac_abs_builddir;;
21853 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21854 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21855 esac;;
21856 esac
21857 case $ac_abs_builddir in
21858 .) ac_abs_srcdir=$ac_srcdir;;
21860 case $ac_srcdir in
21861 .) ac_abs_srcdir=$ac_abs_builddir;;
21862 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21863 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21864 esac;;
21865 esac
21866 case $ac_abs_builddir in
21867 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21869 case $ac_top_srcdir in
21870 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21871 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21872 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21873 esac;;
21874 esac
21877 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21878 echo "$as_me: executing $ac_dest commands" >&6;}
21879 case $ac_dest in
21880 default-1 )
21881 # Only add multilib support code if we just rebuilt the top-level
21882 # Makefile.
21883 case " $CONFIG_FILES " in
21884 *" Makefile "*)
21885 ac_file=Makefile . ${multi_basedir}/config-ml.in
21887 esac ;;
21888 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21889 # Strip MF so we end up with the name of the file.
21890 mf=`echo "$mf" | sed -e 's/:.*$//'`
21891 # Check whether this is an Automake generated Makefile or not.
21892 # We used to match only the files named `Makefile.in', but
21893 # some people rename them; so instead we look at the file content.
21894 # Grep'ing the first line is not enough: some people post-process
21895 # each Makefile.in and add a new line on top of each file to say so.
21896 # So let's grep whole file.
21897 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21898 dirpart=`(dirname "$mf") 2>/dev/null ||
21899 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21900 X"$mf" : 'X\(//\)[^/]' \| \
21901 X"$mf" : 'X\(//\)$' \| \
21902 X"$mf" : 'X\(/\)' \| \
21903 . : '\(.\)' 2>/dev/null ||
21904 echo X"$mf" |
21905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21906 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21907 /^X\(\/\/\)$/{ s//\1/; q; }
21908 /^X\(\/\).*/{ s//\1/; q; }
21909 s/.*/./; q'`
21910 else
21911 continue
21913 # Extract the definition of DEPDIR, am__include, and am__quote
21914 # from the Makefile without running `make'.
21915 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21916 test -z "$DEPDIR" && continue
21917 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21918 test -z "am__include" && continue
21919 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21920 # When using ansi2knr, U may be empty or an underscore; expand it
21921 U=`sed -n 's/^U = //p' < "$mf"`
21922 # Find all dependency output files, they are included files with
21923 # $(DEPDIR) in their names. We invoke sed twice because it is the
21924 # simplest approach to changing $(DEPDIR) to its actual value in the
21925 # expansion.
21926 for file in `sed -n "
21927 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21928 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21929 # Make sure the directory exists.
21930 test -f "$dirpart/$file" && continue
21931 fdir=`(dirname "$file") 2>/dev/null ||
21932 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21933 X"$file" : 'X\(//\)[^/]' \| \
21934 X"$file" : 'X\(//\)$' \| \
21935 X"$file" : 'X\(/\)' \| \
21936 . : '\(.\)' 2>/dev/null ||
21937 echo X"$file" |
21938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21939 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21940 /^X\(\/\/\)$/{ s//\1/; q; }
21941 /^X\(\/\).*/{ s//\1/; q; }
21942 s/.*/./; q'`
21943 { if $as_mkdir_p; then
21944 mkdir -p $dirpart/$fdir
21945 else
21946 as_dir=$dirpart/$fdir
21947 as_dirs=
21948 while test ! -d "$as_dir"; do
21949 as_dirs="$as_dir $as_dirs"
21950 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21951 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21952 X"$as_dir" : 'X\(//\)[^/]' \| \
21953 X"$as_dir" : 'X\(//\)$' \| \
21954 X"$as_dir" : 'X\(/\)' \| \
21955 . : '\(.\)' 2>/dev/null ||
21956 echo X"$as_dir" |
21957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21958 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21959 /^X\(\/\/\)$/{ s//\1/; q; }
21960 /^X\(\/\).*/{ s//\1/; q; }
21961 s/.*/./; q'`
21962 done
21963 test ! -n "$as_dirs" || mkdir $as_dirs
21964 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21965 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21966 { (exit 1); exit 1; }; }; }
21968 # echo "creating $dirpart/$file"
21969 echo '# dummy' > "$dirpart/$file"
21970 done
21971 done
21973 mkcollections.pl ) chmod 755 lib/mkcollections.pl ;;
21974 $ac_stdint_h )
21975 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
21976 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
21977 ac_stdint=$tmp/_stdint.h
21979 echo "#ifndef" $_ac_stdint_h >$ac_stdint
21980 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
21981 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
21982 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
21983 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
21984 if test "_$ac_cv_header_stdint_t" != "_" ; then
21985 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
21986 echo "#include <stdint.h>" >>$ac_stdint
21987 echo "#endif" >>$ac_stdint
21988 echo "#endif" >>$ac_stdint
21989 else
21991 cat >>$ac_stdint <<STDINT_EOF
21993 /* ................... shortcircuit part ........................... */
21995 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
21996 #include <stdint.h>
21997 #else
21998 #include <stddef.h>
22000 /* .................... configured part ............................ */
22002 STDINT_EOF
22004 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
22005 if test "_$ac_cv_header_stdint_x" != "_" ; then
22006 ac_header="$ac_cv_header_stdint_x"
22007 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
22008 else
22009 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
22012 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
22013 if test "_$ac_cv_header_stdint_o" != "_" ; then
22014 ac_header="$ac_cv_header_stdint_o"
22015 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
22016 else
22017 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
22020 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
22021 if test "_$ac_cv_header_stdint_u" != "_" ; then
22022 ac_header="$ac_cv_header_stdint_u"
22023 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
22024 else
22025 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
22028 echo "" >>$ac_stdint
22030 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
22031 echo "#include <$ac_header>" >>$ac_stdint
22032 echo "" >>$ac_stdint
22033 fi fi
22035 echo "/* which 64bit typedef has been found */" >>$ac_stdint
22036 if test "$ac_cv_type_uint64_t" = "yes" ; then
22037 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
22038 else
22039 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
22041 if test "$ac_cv_type_u_int64_t" = "yes" ; then
22042 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
22043 else
22044 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
22046 echo "" >>$ac_stdint
22048 echo "/* which type model has been detected */" >>$ac_stdint
22049 if test "_$ac_cv_char_data_model" != "_" ; then
22050 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
22051 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
22052 else
22053 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
22054 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
22056 echo "" >>$ac_stdint
22058 echo "/* whether int_least types were detected */" >>$ac_stdint
22059 if test "$ac_cv_type_int_least32_t" = "yes"; then
22060 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
22061 else
22062 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
22064 echo "/* whether int_fast types were detected */" >>$ac_stdint
22065 if test "$ac_cv_type_int_fast32_t" = "yes"; then
22066 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
22067 else
22068 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
22070 echo "/* whether intmax_t type was detected */" >>$ac_stdint
22071 if test "$ac_cv_type_intmax_t" = "yes"; then
22072 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
22073 else
22074 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
22076 echo "" >>$ac_stdint
22078 cat >>$ac_stdint <<STDINT_EOF
22079 /* .................... detections part ............................ */
22081 /* whether we need to define bitspecific types from compiler base types */
22082 #ifndef _STDINT_HEADER_INTPTR
22083 #ifndef _STDINT_HEADER_UINT32
22084 #ifndef _STDINT_HEADER_U_INT32
22085 #define _STDINT_NEED_INT_MODEL_T
22086 #else
22087 #define _STDINT_HAVE_U_INT_TYPES
22088 #endif
22089 #endif
22090 #endif
22092 #ifdef _STDINT_HAVE_U_INT_TYPES
22093 #undef _STDINT_NEED_INT_MODEL_T
22094 #endif
22096 #ifdef _STDINT_CHAR_MODEL
22097 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
22098 #ifndef _STDINT_BYTE_MODEL
22099 #define _STDINT_BYTE_MODEL 12
22100 #endif
22101 #endif
22102 #endif
22104 #ifndef _STDINT_HAVE_INT_LEAST32_T
22105 #define _STDINT_NEED_INT_LEAST_T
22106 #endif
22108 #ifndef _STDINT_HAVE_INT_FAST32_T
22109 #define _STDINT_NEED_INT_FAST_T
22110 #endif
22112 #ifndef _STDINT_HEADER_INTPTR
22113 #define _STDINT_NEED_INTPTR_T
22114 #ifndef _STDINT_HAVE_INTMAX_T
22115 #define _STDINT_NEED_INTMAX_T
22116 #endif
22117 #endif
22120 /* .................... definition part ............................ */
22122 /* some system headers have good uint64_t */
22123 #ifndef _HAVE_UINT64_T
22124 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
22125 #define _HAVE_UINT64_T
22126 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
22127 #define _HAVE_UINT64_T
22128 typedef u_int64_t uint64_t;
22129 #endif
22130 #endif
22132 #ifndef _HAVE_UINT64_T
22133 /* .. here are some common heuristics using compiler runtime specifics */
22134 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
22135 #define _HAVE_UINT64_T
22136 #define _HAVE_LONGLONG_UINT64_T
22137 typedef long long int64_t;
22138 typedef unsigned long long uint64_t;
22140 #elif !defined __STRICT_ANSI__
22141 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
22142 #define _HAVE_UINT64_T
22143 typedef __int64 int64_t;
22144 typedef unsigned __int64 uint64_t;
22146 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
22147 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
22148 #if !defined _NO_LONGLONG
22149 #define _HAVE_UINT64_T
22150 #define _HAVE_LONGLONG_UINT64_T
22151 typedef long long int64_t;
22152 typedef unsigned long long uint64_t;
22153 #endif
22155 #elif defined __alpha || (defined __mips && defined _ABIN32)
22156 #if !defined _NO_LONGLONG
22157 typedef long int64_t;
22158 typedef unsigned long uint64_t;
22159 #endif
22160 /* compiler/cpu type to define int64_t */
22161 #endif
22162 #endif
22163 #endif
22165 #if defined _STDINT_HAVE_U_INT_TYPES
22166 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
22167 typedef u_int8_t uint8_t;
22168 typedef u_int16_t uint16_t;
22169 typedef u_int32_t uint32_t;
22171 /* glibc compatibility */
22172 #ifndef __int8_t_defined
22173 #define __int8_t_defined
22174 #endif
22175 #endif
22177 #ifdef _STDINT_NEED_INT_MODEL_T
22178 /* we must guess all the basic types. Apart from byte-adressable system, */
22179 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
22180 /* (btw, those nibble-addressable systems are way off, or so we assume) */
22183 #if defined _STDINT_BYTE_MODEL
22184 #if _STDINT_LONG_MODEL+0 == 242
22185 /* 2:4:2 = IP16 = a normal 16-bit system */
22186 typedef unsigned char uint8_t;
22187 typedef unsigned short uint16_t;
22188 typedef unsigned long uint32_t;
22189 #ifndef __int8_t_defined
22190 #define __int8_t_defined
22191 typedef char int8_t;
22192 typedef short int16_t;
22193 typedef long int32_t;
22194 #endif
22195 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
22196 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
22197 /* 4:4:4 = ILP32 = a normal 32-bit system */
22198 typedef unsigned char uint8_t;
22199 typedef unsigned short uint16_t;
22200 typedef unsigned int uint32_t;
22201 #ifndef __int8_t_defined
22202 #define __int8_t_defined
22203 typedef char int8_t;
22204 typedef short int16_t;
22205 typedef int int32_t;
22206 #endif
22207 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
22208 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
22209 /* 4:8:8 = LP64 = a normal 64-bit system */
22210 typedef unsigned char uint8_t;
22211 typedef unsigned short uint16_t;
22212 typedef unsigned int uint32_t;
22213 #ifndef __int8_t_defined
22214 #define __int8_t_defined
22215 typedef char int8_t;
22216 typedef short int16_t;
22217 typedef int int32_t;
22218 #endif
22219 /* this system has a "long" of 64bit */
22220 #ifndef _HAVE_UINT64_T
22221 #define _HAVE_UINT64_T
22222 typedef unsigned long uint64_t;
22223 typedef long int64_t;
22224 #endif
22225 #elif _STDINT_LONG_MODEL+0 == 448
22226 /* LLP64 a 64-bit system derived from a 32-bit system */
22227 typedef unsigned char uint8_t;
22228 typedef unsigned short uint16_t;
22229 typedef unsigned int uint32_t;
22230 #ifndef __int8_t_defined
22231 #define __int8_t_defined
22232 typedef char int8_t;
22233 typedef short int16_t;
22234 typedef int int32_t;
22235 #endif
22236 /* assuming the system has a "long long" */
22237 #ifndef _HAVE_UINT64_T
22238 #define _HAVE_UINT64_T
22239 #define _HAVE_LONGLONG_UINT64_T
22240 typedef unsigned long long uint64_t;
22241 typedef long long int64_t;
22242 #endif
22243 #else
22244 #define _STDINT_NO_INT32_T
22245 #endif
22246 #else
22247 #define _STDINT_NO_INT8_T
22248 #define _STDINT_NO_INT32_T
22249 #endif
22250 #endif
22253 * quote from SunOS-5.8 sys/inttypes.h:
22254 * Use at your own risk. As of February 1996, the committee is squarely
22255 * behind the fixed sized types; the "least" and "fast" types are still being
22256 * discussed. The probability that the "fast" types may be removed before
22257 * the standard is finalized is high enough that they are not currently
22258 * implemented.
22261 #if defined _STDINT_NEED_INT_LEAST_T
22262 typedef int8_t int_least8_t;
22263 typedef int16_t int_least16_t;
22264 typedef int32_t int_least32_t;
22265 #ifdef _HAVE_UINT64_T
22266 typedef int64_t int_least64_t;
22267 #endif
22269 typedef uint8_t uint_least8_t;
22270 typedef uint16_t uint_least16_t;
22271 typedef uint32_t uint_least32_t;
22272 #ifdef _HAVE_UINT64_T
22273 typedef uint64_t uint_least64_t;
22274 #endif
22275 /* least types */
22276 #endif
22278 #if defined _STDINT_NEED_INT_FAST_T
22279 typedef int8_t int_fast8_t;
22280 typedef int int_fast16_t;
22281 typedef int32_t int_fast32_t;
22282 #ifdef _HAVE_UINT64_T
22283 typedef int64_t int_fast64_t;
22284 #endif
22286 typedef uint8_t uint_fast8_t;
22287 typedef unsigned uint_fast16_t;
22288 typedef uint32_t uint_fast32_t;
22289 #ifdef _HAVE_UINT64_T
22290 typedef uint64_t uint_fast64_t;
22291 #endif
22292 /* fast types */
22293 #endif
22295 #ifdef _STDINT_NEED_INTMAX_T
22296 #ifdef _HAVE_UINT64_T
22297 typedef int64_t intmax_t;
22298 typedef uint64_t uintmax_t;
22299 #else
22300 typedef long intmax_t;
22301 typedef unsigned long uintmax_t;
22302 #endif
22303 #endif
22305 #ifdef _STDINT_NEED_INTPTR_T
22306 #ifndef __intptr_t_defined
22307 #define __intptr_t_defined
22308 /* we encourage using "long" to store pointer values, never use "int" ! */
22309 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
22310 typedef unsigned int uintptr_t;
22311 typedef int intptr_t;
22312 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
22313 typedef unsigned long uintptr_t;
22314 typedef long intptr_t;
22315 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
22316 typedef uint64_t uintptr_t;
22317 typedef int64_t intptr_t;
22318 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
22319 typedef unsigned long uintptr_t;
22320 typedef long intptr_t;
22321 #endif
22322 #endif
22323 #endif
22325 /* The ISO C99 standard specifies that in C++ implementations these
22326 should only be defined if explicitly requested. */
22327 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
22328 #ifndef UINT32_C
22330 /* Signed. */
22331 # define INT8_C(c) c
22332 # define INT16_C(c) c
22333 # define INT32_C(c) c
22334 # ifdef _HAVE_LONGLONG_UINT64_T
22335 # define INT64_C(c) c ## L
22336 # else
22337 # define INT64_C(c) c ## LL
22338 # endif
22340 /* Unsigned. */
22341 # define UINT8_C(c) c ## U
22342 # define UINT16_C(c) c ## U
22343 # define UINT32_C(c) c ## U
22344 # ifdef _HAVE_LONGLONG_UINT64_T
22345 # define UINT64_C(c) c ## UL
22346 # else
22347 # define UINT64_C(c) c ## ULL
22348 # endif
22350 /* Maximal type. */
22351 # ifdef _HAVE_LONGLONG_UINT64_T
22352 # define INTMAX_C(c) c ## L
22353 # define UINTMAX_C(c) c ## UL
22354 # else
22355 # define INTMAX_C(c) c ## LL
22356 # define UINTMAX_C(c) c ## ULL
22357 # endif
22359 /* literalnumbers */
22360 #endif
22361 #endif
22363 /* These limits are merily those of a two complement byte-oriented system */
22365 /* Minimum of signed integral types. */
22366 # define INT8_MIN (-128)
22367 # define INT16_MIN (-32767-1)
22368 # define INT32_MIN (-2147483647-1)
22369 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
22370 /* Maximum of signed integral types. */
22371 # define INT8_MAX (127)
22372 # define INT16_MAX (32767)
22373 # define INT32_MAX (2147483647)
22374 # define INT64_MAX (__INT64_C(9223372036854775807))
22376 /* Maximum of unsigned integral types. */
22377 # define UINT8_MAX (255)
22378 # define UINT16_MAX (65535)
22379 # define UINT32_MAX (4294967295U)
22380 # define UINT64_MAX (__UINT64_C(18446744073709551615))
22382 /* Minimum of signed integral types having a minimum size. */
22383 # define INT_LEAST8_MIN INT8_MIN
22384 # define INT_LEAST16_MIN INT16_MIN
22385 # define INT_LEAST32_MIN INT32_MIN
22386 # define INT_LEAST64_MIN INT64_MIN
22387 /* Maximum of signed integral types having a minimum size. */
22388 # define INT_LEAST8_MAX INT8_MAX
22389 # define INT_LEAST16_MAX INT16_MAX
22390 # define INT_LEAST32_MAX INT32_MAX
22391 # define INT_LEAST64_MAX INT64_MAX
22393 /* Maximum of unsigned integral types having a minimum size. */
22394 # define UINT_LEAST8_MAX UINT8_MAX
22395 # define UINT_LEAST16_MAX UINT16_MAX
22396 # define UINT_LEAST32_MAX UINT32_MAX
22397 # define UINT_LEAST64_MAX UINT64_MAX
22399 /* shortcircuit*/
22400 #endif
22401 /* once */
22402 #endif
22403 #endif
22404 STDINT_EOF
22406 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
22407 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
22408 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
22409 else
22410 ac_dir=`(dirname "$ac_stdint_h") 2>/dev/null ||
22411 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22412 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
22413 X"$ac_stdint_h" : 'X\(//\)$' \| \
22414 X"$ac_stdint_h" : 'X\(/\)' \| \
22415 . : '\(.\)' 2>/dev/null ||
22416 echo X"$ac_stdint_h" |
22417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22419 /^X\(\/\/\)$/{ s//\1/; q; }
22420 /^X\(\/\).*/{ s//\1/; q; }
22421 s/.*/./; q'`
22422 { if $as_mkdir_p; then
22423 mkdir -p "$ac_dir"
22424 else
22425 as_dir="$ac_dir"
22426 as_dirs=
22427 while test ! -d "$as_dir"; do
22428 as_dirs="$as_dir $as_dirs"
22429 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22431 X"$as_dir" : 'X\(//\)[^/]' \| \
22432 X"$as_dir" : 'X\(//\)$' \| \
22433 X"$as_dir" : 'X\(/\)' \| \
22434 . : '\(.\)' 2>/dev/null ||
22435 echo X"$as_dir" |
22436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22438 /^X\(\/\/\)$/{ s//\1/; q; }
22439 /^X\(\/\).*/{ s//\1/; q; }
22440 s/.*/./; q'`
22441 done
22442 test ! -n "$as_dirs" || mkdir $as_dirs
22443 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22444 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22445 { (exit 1); exit 1; }; }; }
22447 rm -f $ac_stdint_h
22448 mv $ac_stdint $ac_stdint_h
22451 gappletviewer ) chmod 755 tools/gappletviewer ;;
22452 gjarsigner ) chmod 755 tools/gjarsigner ;;
22453 gkeytool ) chmod 755 tools/gkeytool ;;
22454 gjar ) chmod 755 tools/gjar ;;
22455 gnative2ascii ) chmod 755 tools/gnative2ascii ;;
22456 gserialver ) chmod 755 tools/gserialver ;;
22457 grmiregistry ) chmod 755 tools/grmiregistry ;;
22458 gtnameserv ) chmod 755 tools/gtnameserv ;;
22459 gorbd ) chmod 755 tools/gorbd ;;
22460 grmid ) chmod 755 tools/grmid ;;
22461 grmic ) chmod 755 tools/grmic ;;
22462 gjavah ) chmod 755 tools/gjavah ;;
22463 gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
22464 copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
22465 esac
22466 done
22467 _ACEOF
22469 cat >>$CONFIG_STATUS <<\_ACEOF
22471 { (exit 0); exit 0; }
22472 _ACEOF
22473 chmod +x $CONFIG_STATUS
22474 ac_clean_files=$ac_clean_files_save
22477 # configure is writing to config.log, and then calls config.status.
22478 # config.status does its own redirection, appending to config.log.
22479 # Unfortunately, on DOS this fails, as config.log is still kept open
22480 # by configure, so config.status won't be able to write to it; its
22481 # output is simply discarded. So we exec the FD to /dev/null,
22482 # effectively closing config.log, so it can be properly (re)opened and
22483 # appended to by config.status. When coming back to configure, we
22484 # need to make the FD available again.
22485 if test "$no_create" != yes; then
22486 ac_cs_success=:
22487 ac_config_status_args=
22488 test "$silent" = yes &&
22489 ac_config_status_args="$ac_config_status_args --quiet"
22490 exec 5>/dev/null
22491 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22492 exec 5>>config.log
22493 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22494 # would make configure fail if this is the last instruction.
22495 $ac_cs_success || { (exit 1); exit 1; }
22499 # Create standard.omit based on decisions we just made.
22500 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
22501 if test x$use_escher != xtrue; then
22502 echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit