makemake.tcl (emit_bc_rule): Do not skip gnu-java-awt-peer-gtk.lo.
[gcc.git] / libjava / classpath / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.91.
4 #
5 # Report bugs to <classpath@gnu.org>.
6 #
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 ## --------------------- ##
13
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
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
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
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
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
45 do
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
50 fi
51 done
52
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
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
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'`
78
79
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
87
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=:
97 fi
98 rm -f conf$$.sh
99 fi
100
101
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
113 do
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
118
119 ;;
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
125 fi
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; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
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
139 /*)
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
155 ;;
156 esac
157
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 '
168 N
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; }; }
179
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
186 }
187
188
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
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
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'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
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
225 fi
226
227 as_executable_p="test -f"
228
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'"
231
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'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
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`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
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}
263
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}
268
269 # Identity of this package.
270 PACKAGE_NAME='GNU Classpath'
271 PACKAGE_TARNAME='classpath'
272 PACKAGE_VERSION='0.91'
273 PACKAGE_STRING='GNU Classpath 0.91'
274 PACKAGE_BUGREPORT='classpath@gnu.org'
275
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"
314
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 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 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 GTK_CAIRO_ENABLED GTK_CAIRO_TRUE GTK_CAIRO_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE nativeexeclibdir glibjdir CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX 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 CAIRO_CFLAGS CAIRO_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS QT_CFLAGS QT_LIBS MOC 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 ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
317
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
337
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'
355
356 ac_prev=
357 for ac_option
358 do
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
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
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 ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
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 ;;
397
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" ;;
406
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'" ;;
419
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 ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
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 ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
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 ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
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 ;;
468
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 ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
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 ;;
494
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 ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
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 ;;
515
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 ;;
522
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 ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
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 ;;
549
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 ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
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 ;;
577
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 ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
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'" ;;
601
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" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
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 ;;
621
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 ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
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 ;;
643
644 *)
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}
650 ;;
651
652 esac
653 done
654
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; }; }
659 fi
660
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
663 do
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
671
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
675 do
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
683
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
690
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
699 fi
700 fi
701
702 ac_tool_prefix=
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705 test "$silent" = yes && exec 6>/dev/null
706
707
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=..
727 fi
728 else
729 ac_srcdir_defaulted=no
730 fi
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; }; }
738 fi
739 fi
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
788
789 #
790 # Report the --help message.
791 #
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.91 to adapt to many kinds of systems.
797
798 Usage: $0 [OPTION]... [VAR=VALUE]...
799
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.
802
803 Defaults for the options are specified in brackets.
804
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 \`..']
815
816 _ACEOF
817
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]
824
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'.
829
830 For better control, use the options below.
831
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
846
847 cat <<\_ACEOF
848
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
853
854 X features:
855 --x-includes=DIR X include files are in DIR
856 --x-libraries=DIR X library files are in DIR
857
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
863 fi
864
865 if test -n "$ac_init_help"; then
866 case $ac_init_help in
867 short | recursive ) echo "Configuration of GNU Classpath 0.91:";;
868 esac
869 cat <<\_ACEOF
870
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-collections create collections.jar default=no
875 --enable-jni compile JNI source default=yes
876 --enable-core-jni compile JNI sources for core default=yes
877 --enable-Werror whether to compile C code with -Werror which turns
878 any compiler warning into a compilation failure
879 default=no
880 --enable-default-toolkit
881 fully qualified class name of default AWT toolkit
882 --enable-xmlj compile native libxml/xslt library default=no
883 --disable-alsa compile ALSA providers (enable by --enable-alsa)
884 default=yes
885 --disable-dependency-tracking speeds up one-time build
886 --enable-dependency-tracking do not reject slow dependency extractors
887 --disable-dssi compile DSSI providers (enable by --enable-dssi)
888 default=yes
889 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
890 default=yes
891
892 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
893 default=no
894 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
895 default=no
896 --enable-regen-headers automatically regenerate JNI headers default=no
897 --enable-static=PKGS build static libraries default=no
898 --enable-shared=PKGS build shared libraries default=yes
899 --enable-fast-install=PKGS optimize for fast installation default=yes
900 --disable-libtool-lock avoid locking (might break parallel builds)
901 --disable-rpath do not hardcode runtime library paths
902 --enable-maintainer-mode enable make rules and dependencies not useful
903 (and sometimes confusing) to the casual installer
904 --enable-debug enable runtime debugging code
905 --enable-load-library enable to use JNI native methods default=yes
906 --enable-java-lang-system-explicit-initialization
907 will the VM explicitly invoke java.lang.System's
908 static initialization methods default=no
909 --enable-examples enable build of the examples default=yes
910 --enable-portable-native-sync
911 synchronize VM threads portably
912 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
913
914 Optional Packages:
915 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
916 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
917 --with-native-libdir sets the installation directore for native libraries
918 default='${libdir}/${PACKAGE}'
919 --with-glibj-dir sets the installation directory for glibj.zip
920 default='${libdir}/${PACKAGE}'
921 --with-gnu-ld assume the C compiler uses GNU ld default=no
922 --with-pic try to use only PIC/non-PIC objects default=use both
923 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
924 --without-libiconv-prefix don't search for libiconv in includedir and libdir
925 --with-x use the X Window System
926 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
927 systems use pkg-config.
928 --with-javah specify path or name of a javah-like program
929 --with-gcj bytecode compilation with gcj
930 --with-jikes bytecode compilation with jikes
931 --with-kjc bytecode compilation with kjc
932 --with-gcjx bytecode compilation with gcjx
933 --with-ecj bytecode compilation with ecj
934 --with-classpath specify path to a classes.zip like file
935 --with-vm-classes specify path to VM override source files
936 --with-fastjar=PATH define to use a fastjar style tool
937 --with-glibj define what to install (zip|flat|both|none|build)
938 [default=zip]
939 --with-gjdoc generate documentation using gjdoc (default is NO)
940 --with-jay Regenerate the parsers with jay must be given the
941 path to the jay executable
942 --with-glibj-zip=ABS.PATH
943 use prebuilt glibj.zip class library
944
945 Some influential environment variables:
946 CC C compiler command
947 CFLAGS C compiler flags
948 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
949 nonstandard directory <lib dir>
950 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
951 headers in a nonstandard directory <include dir>
952 CPP C preprocessor
953 CXX C++ compiler command
954 CXXFLAGS C++ compiler flags
955 CXXCPP C++ preprocessor
956
957 Use these variables to override the choices made by `configure' or to help
958 it to find libraries and programs with nonstandard names/locations.
959
960 Report bugs to <classpath@gnu.org>.
961 _ACEOF
962 fi
963
964 if test "$ac_init_help" = "recursive"; then
965 # If there are subdirs, report their specific --help.
966 ac_popdir=`pwd`
967 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
968 test -d $ac_dir || continue
969 ac_builddir=.
970
971 if test "$ac_dir" != .; then
972 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
973 # A "../" for each directory in $ac_dir_suffix.
974 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
975 else
976 ac_dir_suffix= ac_top_builddir=
977 fi
978
979 case $srcdir in
980 .) # No --srcdir option. We are building in place.
981 ac_srcdir=.
982 if test -z "$ac_top_builddir"; then
983 ac_top_srcdir=.
984 else
985 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
986 fi ;;
987 [\\/]* | ?:[\\/]* ) # Absolute path.
988 ac_srcdir=$srcdir$ac_dir_suffix;
989 ac_top_srcdir=$srcdir ;;
990 *) # Relative path.
991 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
992 ac_top_srcdir=$ac_top_builddir$srcdir ;;
993 esac
994
995 # Do not use `cd foo && pwd` to compute absolute paths, because
996 # the directories may not exist.
997 case `pwd` in
998 .) ac_abs_builddir="$ac_dir";;
999 *)
1000 case "$ac_dir" in
1001 .) ac_abs_builddir=`pwd`;;
1002 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1003 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1004 esac;;
1005 esac
1006 case $ac_abs_builddir in
1007 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1008 *)
1009 case ${ac_top_builddir}. in
1010 .) ac_abs_top_builddir=$ac_abs_builddir;;
1011 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1012 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1013 esac;;
1014 esac
1015 case $ac_abs_builddir in
1016 .) ac_abs_srcdir=$ac_srcdir;;
1017 *)
1018 case $ac_srcdir in
1019 .) ac_abs_srcdir=$ac_abs_builddir;;
1020 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1021 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1022 esac;;
1023 esac
1024 case $ac_abs_builddir in
1025 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1026 *)
1027 case $ac_top_srcdir in
1028 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1029 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1030 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1031 esac;;
1032 esac
1033
1034 cd $ac_dir
1035 # Check for guested configure; otherwise get Cygnus style configure.
1036 if test -f $ac_srcdir/configure.gnu; then
1037 echo
1038 $SHELL $ac_srcdir/configure.gnu --help=recursive
1039 elif test -f $ac_srcdir/configure; then
1040 echo
1041 $SHELL $ac_srcdir/configure --help=recursive
1042 elif test -f $ac_srcdir/configure.ac ||
1043 test -f $ac_srcdir/configure.in; then
1044 echo
1045 $ac_configure --help
1046 else
1047 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1048 fi
1049 cd $ac_popdir
1050 done
1051 fi
1052
1053 test -n "$ac_init_help" && exit 0
1054 if $ac_init_version; then
1055 cat <<\_ACEOF
1056 GNU Classpath configure 0.91
1057 generated by GNU Autoconf 2.59
1058
1059 Copyright (C) 2003 Free Software Foundation, Inc.
1060 This configure script is free software; the Free Software Foundation
1061 gives unlimited permission to copy, distribute and modify it.
1062 _ACEOF
1063 exit 0
1064 fi
1065 exec 5>config.log
1066 cat >&5 <<_ACEOF
1067 This file contains any messages produced by compilers while
1068 running configure, to aid debugging if configure makes a mistake.
1069
1070 It was created by GNU Classpath $as_me 0.91, which was
1071 generated by GNU Autoconf 2.59. Invocation command line was
1072
1073 $ $0 $@
1074
1075 _ACEOF
1076 {
1077 cat <<_ASUNAME
1078 ## --------- ##
1079 ## Platform. ##
1080 ## --------- ##
1081
1082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1087
1088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1090
1091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1094 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1098
1099 _ASUNAME
1100
1101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1102 for as_dir in $PATH
1103 do
1104 IFS=$as_save_IFS
1105 test -z "$as_dir" && as_dir=.
1106 echo "PATH: $as_dir"
1107 done
1108
1109 } >&5
1110
1111 cat >&5 <<_ACEOF
1112
1113
1114 ## ----------- ##
1115 ## Core tests. ##
1116 ## ----------- ##
1117
1118 _ACEOF
1119
1120
1121 # Keep a trace of the command line.
1122 # Strip out --no-create and --no-recursion so they do not pile up.
1123 # Strip out --silent because we don't want to record it for future runs.
1124 # Also quote any args containing shell meta-characters.
1125 # Make two passes to allow for proper duplicate-argument suppression.
1126 ac_configure_args=
1127 ac_configure_args0=
1128 ac_configure_args1=
1129 ac_sep=
1130 ac_must_keep_next=false
1131 for ac_pass in 1 2
1132 do
1133 for ac_arg
1134 do
1135 case $ac_arg in
1136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138 | -silent | --silent | --silen | --sile | --sil)
1139 continue ;;
1140 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1141 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1142 esac
1143 case $ac_pass in
1144 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1145 2)
1146 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1147 if test $ac_must_keep_next = true; then
1148 ac_must_keep_next=false # Got value, back to normal.
1149 else
1150 case $ac_arg in
1151 *=* | --config-cache | -C | -disable-* | --disable-* \
1152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1154 | -with-* | --with-* | -without-* | --without-* | --x)
1155 case "$ac_configure_args0 " in
1156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1157 esac
1158 ;;
1159 -* ) ac_must_keep_next=true ;;
1160 esac
1161 fi
1162 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1163 # Get rid of the leading space.
1164 ac_sep=" "
1165 ;;
1166 esac
1167 done
1168 done
1169 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1170 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1171
1172 # When interrupted or exit'd, cleanup temporary files, and complete
1173 # config.log. We remove comments because anyway the quotes in there
1174 # would cause problems or look ugly.
1175 # WARNING: Be sure not to use single quotes in there, as some shells,
1176 # such as our DU 5.0 friend, will then `close' the trap.
1177 trap 'exit_status=$?
1178 # Save into config.log some information that might help in debugging.
1179 {
1180 echo
1181
1182 cat <<\_ASBOX
1183 ## ---------------- ##
1184 ## Cache variables. ##
1185 ## ---------------- ##
1186 _ASBOX
1187 echo
1188 # The following way of writing the cache mishandles newlines in values,
1189 {
1190 (set) 2>&1 |
1191 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1192 *ac_space=\ *)
1193 sed -n \
1194 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1196 ;;
1197 *)
1198 sed -n \
1199 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1200 ;;
1201 esac;
1202 }
1203 echo
1204
1205 cat <<\_ASBOX
1206 ## ----------------- ##
1207 ## Output variables. ##
1208 ## ----------------- ##
1209 _ASBOX
1210 echo
1211 for ac_var in $ac_subst_vars
1212 do
1213 eval ac_val=$`echo $ac_var`
1214 echo "$ac_var='"'"'$ac_val'"'"'"
1215 done | sort
1216 echo
1217
1218 if test -n "$ac_subst_files"; then
1219 cat <<\_ASBOX
1220 ## ------------- ##
1221 ## Output files. ##
1222 ## ------------- ##
1223 _ASBOX
1224 echo
1225 for ac_var in $ac_subst_files
1226 do
1227 eval ac_val=$`echo $ac_var`
1228 echo "$ac_var='"'"'$ac_val'"'"'"
1229 done | sort
1230 echo
1231 fi
1232
1233 if test -s confdefs.h; then
1234 cat <<\_ASBOX
1235 ## ----------- ##
1236 ## confdefs.h. ##
1237 ## ----------- ##
1238 _ASBOX
1239 echo
1240 sed "/^$/d" confdefs.h | sort
1241 echo
1242 fi
1243 test "$ac_signal" != 0 &&
1244 echo "$as_me: caught signal $ac_signal"
1245 echo "$as_me: exit $exit_status"
1246 } >&5
1247 rm -f core *.core &&
1248 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1249 exit $exit_status
1250 ' 0
1251 for ac_signal in 1 2 13 15; do
1252 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1253 done
1254 ac_signal=0
1255
1256 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1257 rm -rf conftest* confdefs.h
1258 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1259 echo >confdefs.h
1260
1261 # Predefined preprocessor variables.
1262
1263 cat >>confdefs.h <<_ACEOF
1264 #define PACKAGE_NAME "$PACKAGE_NAME"
1265 _ACEOF
1266
1267
1268 cat >>confdefs.h <<_ACEOF
1269 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1270 _ACEOF
1271
1272
1273 cat >>confdefs.h <<_ACEOF
1274 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1275 _ACEOF
1276
1277
1278 cat >>confdefs.h <<_ACEOF
1279 #define PACKAGE_STRING "$PACKAGE_STRING"
1280 _ACEOF
1281
1282
1283 cat >>confdefs.h <<_ACEOF
1284 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1285 _ACEOF
1286
1287
1288 # Let the site file select an alternate cache file if it wants to.
1289 # Prefer explicitly selected file to automatically selected ones.
1290 if test -z "$CONFIG_SITE"; then
1291 if test "x$prefix" != xNONE; then
1292 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1293 else
1294 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1295 fi
1296 fi
1297 for ac_site_file in $CONFIG_SITE; do
1298 if test -r "$ac_site_file"; then
1299 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1300 echo "$as_me: loading site script $ac_site_file" >&6;}
1301 sed 's/^/| /' "$ac_site_file" >&5
1302 . "$ac_site_file"
1303 fi
1304 done
1305
1306 if test -r "$cache_file"; then
1307 # Some versions of bash will fail to source /dev/null (special
1308 # files actually), so we avoid doing that.
1309 if test -f "$cache_file"; then
1310 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1311 echo "$as_me: loading cache $cache_file" >&6;}
1312 case $cache_file in
1313 [\\/]* | ?:[\\/]* ) . $cache_file;;
1314 *) . ./$cache_file;;
1315 esac
1316 fi
1317 else
1318 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1319 echo "$as_me: creating cache $cache_file" >&6;}
1320 >$cache_file
1321 fi
1322
1323 # Check that the precious variables saved in the cache have kept the same
1324 # value.
1325 ac_cache_corrupted=false
1326 for ac_var in `(set) 2>&1 |
1327 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1328 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1329 eval ac_new_set=\$ac_env_${ac_var}_set
1330 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1331 eval ac_new_val="\$ac_env_${ac_var}_value"
1332 case $ac_old_set,$ac_new_set in
1333 set,)
1334 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1335 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1336 ac_cache_corrupted=: ;;
1337 ,set)
1338 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1339 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1340 ac_cache_corrupted=: ;;
1341 ,);;
1342 *)
1343 if test "x$ac_old_val" != "x$ac_new_val"; then
1344 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1345 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1346 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1347 echo "$as_me: former value: $ac_old_val" >&2;}
1348 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1349 echo "$as_me: current value: $ac_new_val" >&2;}
1350 ac_cache_corrupted=:
1351 fi;;
1352 esac
1353 # Pass precious variables to config.status.
1354 if test "$ac_new_set" = set; then
1355 case $ac_new_val in
1356 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1357 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1358 *) ac_arg=$ac_var=$ac_new_val ;;
1359 esac
1360 case " $ac_configure_args " in
1361 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1362 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1363 esac
1364 fi
1365 done
1366 if $ac_cache_corrupted; then
1367 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1368 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1369 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1370 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1371 { (exit 1); exit 1; }; }
1372 fi
1373
1374 ac_ext=c
1375 ac_cpp='$CPP $CPPFLAGS'
1376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408 ac_aux_dir=
1409 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1410 if test -f $ac_dir/install-sh; then
1411 ac_aux_dir=$ac_dir
1412 ac_install_sh="$ac_aux_dir/install-sh -c"
1413 break
1414 elif test -f $ac_dir/install.sh; then
1415 ac_aux_dir=$ac_dir
1416 ac_install_sh="$ac_aux_dir/install.sh -c"
1417 break
1418 elif test -f $ac_dir/shtool; then
1419 ac_aux_dir=$ac_dir
1420 ac_install_sh="$ac_aux_dir/shtool install -c"
1421 break
1422 fi
1423 done
1424 if test -z "$ac_aux_dir"; then
1425 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1426 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1427 { (exit 1); exit 1; }; }
1428 fi
1429 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1430 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1431 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1432
1433 # Make sure we can run config.sub.
1434 $ac_config_sub sun4 >/dev/null 2>&1 ||
1435 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1436 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1437 { (exit 1); exit 1; }; }
1438
1439 echo "$as_me:$LINENO: checking build system type" >&5
1440 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1441 if test "${ac_cv_build+set}" = set; then
1442 echo $ECHO_N "(cached) $ECHO_C" >&6
1443 else
1444 ac_cv_build_alias=$build_alias
1445 test -z "$ac_cv_build_alias" &&
1446 ac_cv_build_alias=`$ac_config_guess`
1447 test -z "$ac_cv_build_alias" &&
1448 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1449 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1450 { (exit 1); exit 1; }; }
1451 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1452 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1453 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1454 { (exit 1); exit 1; }; }
1455
1456 fi
1457 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1458 echo "${ECHO_T}$ac_cv_build" >&6
1459 build=$ac_cv_build
1460 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1461 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1462 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1463
1464
1465 echo "$as_me:$LINENO: checking host system type" >&5
1466 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1467 if test "${ac_cv_host+set}" = set; then
1468 echo $ECHO_N "(cached) $ECHO_C" >&6
1469 else
1470 ac_cv_host_alias=$host_alias
1471 test -z "$ac_cv_host_alias" &&
1472 ac_cv_host_alias=$ac_cv_build_alias
1473 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1477
1478 fi
1479 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1480 echo "${ECHO_T}$ac_cv_host" >&6
1481 host=$ac_cv_host
1482 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485
1486
1487 echo "$as_me:$LINENO: checking target system type" >&5
1488 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1489 if test "${ac_cv_target+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492 ac_cv_target_alias=$target_alias
1493 test "x$ac_cv_target_alias" = "x" &&
1494 ac_cv_target_alias=$ac_cv_host_alias
1495 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1499
1500 fi
1501 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1502 echo "${ECHO_T}$ac_cv_target" >&6
1503 target=$ac_cv_target
1504 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1507
1508
1509 # The aliases save the names the user supplied, while $host etc.
1510 # will get canonicalized.
1511 test -n "$target_alias" &&
1512 test "$program_prefix$program_suffix$program_transform_name" = \
1513 NONENONEs,x,x, &&
1514 program_prefix=${target_alias}-
1515
1516 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1517
1518 LIBVERSION="0:0:0"
1519
1520 case "$host_os" in
1521 darwin*)
1522 cp_module=""
1523 ;;
1524 *)
1525 cp_module="-module"
1526 ;;
1527 esac
1528
1529 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1530
1531
1532 CLASSPATH_CONVENIENCE="-no-undefined"
1533
1534
1535
1536 am__api_version="1.9"
1537 # Find a good install program. We prefer a C program (faster),
1538 # so one script is as good as another. But avoid the broken or
1539 # incompatible versions:
1540 # SysV /etc/install, /usr/sbin/install
1541 # SunOS /usr/etc/install
1542 # IRIX /sbin/install
1543 # AIX /bin/install
1544 # AmigaOS /C/install, which installs bootblocks on floppy discs
1545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1548 # OS/2's system install, which has a completely different semantic
1549 # ./install, which can be erroneously created by make from ./install.sh.
1550 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1551 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1552 if test -z "$INSTALL"; then
1553 if test "${ac_cv_path_install+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 else
1556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 for as_dir in $PATH
1558 do
1559 IFS=$as_save_IFS
1560 test -z "$as_dir" && as_dir=.
1561 # Account for people who put trailing slashes in PATH elements.
1562 case $as_dir/ in
1563 ./ | .// | /cC/* | \
1564 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1565 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1566 /usr/ucb/* ) ;;
1567 *)
1568 # OSF1 and SCO ODT 3.0 have their own names for install.
1569 # Don't use installbsd from OSF since it installs stuff as root
1570 # by default.
1571 for ac_prog in ginstall scoinst install; do
1572 for ac_exec_ext in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1574 if test $ac_prog = install &&
1575 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1576 # AIX install. It has an incompatible calling convention.
1577 :
1578 elif test $ac_prog = install &&
1579 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1580 # program-specific install script used by HP pwplus--don't use.
1581 :
1582 else
1583 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1584 break 3
1585 fi
1586 fi
1587 done
1588 done
1589 ;;
1590 esac
1591 done
1592
1593
1594 fi
1595 if test "${ac_cv_path_install+set}" = set; then
1596 INSTALL=$ac_cv_path_install
1597 else
1598 # As a last resort, use the slow shell script. We don't cache a
1599 # path for INSTALL within a source directory, because that will
1600 # break other packages using the cache if that directory is
1601 # removed, or if the path is relative.
1602 INSTALL=$ac_install_sh
1603 fi
1604 fi
1605 echo "$as_me:$LINENO: result: $INSTALL" >&5
1606 echo "${ECHO_T}$INSTALL" >&6
1607
1608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1609 # It thinks the first close brace ends the variable substitution.
1610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1611
1612 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1613
1614 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1615
1616 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1617 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1618 # Just in case
1619 sleep 1
1620 echo timestamp > conftest.file
1621 # Do `set' in a subshell so we don't clobber the current shell's
1622 # arguments. Must try -L first in case configure is actually a
1623 # symlink; some systems play weird games with the mod time of symlinks
1624 # (eg FreeBSD returns the mod time of the symlink's containing
1625 # directory).
1626 if (
1627 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1628 if test "$*" = "X"; then
1629 # -L didn't work.
1630 set X `ls -t $srcdir/configure conftest.file`
1631 fi
1632 rm -f conftest.file
1633 if test "$*" != "X $srcdir/configure conftest.file" \
1634 && test "$*" != "X conftest.file $srcdir/configure"; then
1635
1636 # If neither matched, then we have a broken ls. This can happen
1637 # if, for instance, CONFIG_SHELL is bash and it inherits a
1638 # broken ls alias from the environment. This has actually
1639 # happened. Such a system could not be considered "sane".
1640 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1641 alias in your environment" >&5
1642 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1643 alias in your environment" >&2;}
1644 { (exit 1); exit 1; }; }
1645 fi
1646
1647 test "$2" = conftest.file
1648 )
1649 then
1650 # Ok.
1651 :
1652 else
1653 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1654 Check your system clock" >&5
1655 echo "$as_me: error: newly created file is older than distributed files!
1656 Check your system clock" >&2;}
1657 { (exit 1); exit 1; }; }
1658 fi
1659 echo "$as_me:$LINENO: result: yes" >&5
1660 echo "${ECHO_T}yes" >&6
1661 test "$program_prefix" != NONE &&
1662 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1663 # Use a double $ so make ignores it.
1664 test "$program_suffix" != NONE &&
1665 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1666 # Double any \ or $. echo might interpret backslashes.
1667 # By default was `s,x,x', remove it if useless.
1668 cat <<\_ACEOF >conftest.sed
1669 s/[\\$]/&&/g;s/;s,x,x,$//
1670 _ACEOF
1671 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1672 rm conftest.sed
1673
1674 # expand $ac_aux_dir to an absolute path
1675 am_aux_dir=`cd $ac_aux_dir && pwd`
1676
1677 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1678 # Use eval to expand $SHELL
1679 if eval "$MISSING --run true"; then
1680 am_missing_run="$MISSING --run "
1681 else
1682 am_missing_run=
1683 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1684 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1685 fi
1686
1687 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1688 # We used to keeping the `.' as first argument, in order to
1689 # allow $(mkdir_p) to be used without argument. As in
1690 # $(mkdir_p) $(somedir)
1691 # where $(somedir) is conditionally defined. However this is wrong
1692 # for two reasons:
1693 # 1. if the package is installed by a user who cannot write `.'
1694 # make install will fail,
1695 # 2. the above comment should most certainly read
1696 # $(mkdir_p) $(DESTDIR)$(somedir)
1697 # so it does not work when $(somedir) is undefined and
1698 # $(DESTDIR) is not.
1699 # To support the latter case, we have to write
1700 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1701 # so the `.' trick is pointless.
1702 mkdir_p='mkdir -p --'
1703 else
1704 # On NextStep and OpenStep, the `mkdir' command does not
1705 # recognize any option. It will interpret all options as
1706 # directories to create, and then abort because `.' already
1707 # exists.
1708 for d in ./-p ./--version;
1709 do
1710 test -d $d && rmdir $d
1711 done
1712 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1713 if test -f "$ac_aux_dir/mkinstalldirs"; then
1714 mkdir_p='$(mkinstalldirs)'
1715 else
1716 mkdir_p='$(install_sh) -d'
1717 fi
1718 fi
1719
1720 for ac_prog in gawk mawk nawk awk
1721 do
1722 # Extract the first word of "$ac_prog", so it can be a program name with args.
1723 set dummy $ac_prog; ac_word=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_AWK+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 if test -n "$AWK"; then
1730 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1731 else
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733 for as_dir in $PATH
1734 do
1735 IFS=$as_save_IFS
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_AWK="$ac_prog"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741 break 2
1742 fi
1743 done
1744 done
1745
1746 fi
1747 fi
1748 AWK=$ac_cv_prog_AWK
1749 if test -n "$AWK"; then
1750 echo "$as_me:$LINENO: result: $AWK" >&5
1751 echo "${ECHO_T}$AWK" >&6
1752 else
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1755 fi
1756
1757 test -n "$AWK" && break
1758 done
1759
1760 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1762 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1763 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1765 else
1766 cat >conftest.make <<\_ACEOF
1767 all:
1768 @echo 'ac_maketemp="$(MAKE)"'
1769 _ACEOF
1770 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1771 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1772 if test -n "$ac_maketemp"; then
1773 eval ac_cv_prog_make_${ac_make}_set=yes
1774 else
1775 eval ac_cv_prog_make_${ac_make}_set=no
1776 fi
1777 rm -f conftest.make
1778 fi
1779 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1780 echo "$as_me:$LINENO: result: yes" >&5
1781 echo "${ECHO_T}yes" >&6
1782 SET_MAKE=
1783 else
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1786 SET_MAKE="MAKE=${MAKE-make}"
1787 fi
1788
1789 rm -rf .tst 2>/dev/null
1790 mkdir .tst 2>/dev/null
1791 if test -d .tst; then
1792 am__leading_dot=.
1793 else
1794 am__leading_dot=_
1795 fi
1796 rmdir .tst 2>/dev/null
1797
1798 # test to see if srcdir already configured
1799 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1800 test -f $srcdir/config.status; then
1801 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1802 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1803 { (exit 1); exit 1; }; }
1804 fi
1805
1806 # test whether we have cygpath
1807 if test -z "$CYGPATH_W"; then
1808 if (cygpath --version) >/dev/null 2>/dev/null; then
1809 CYGPATH_W='cygpath -w'
1810 else
1811 CYGPATH_W=echo
1812 fi
1813 fi
1814
1815
1816 # Define the identity of the package.
1817 PACKAGE='classpath'
1818 VERSION='0.91'
1819
1820
1821 cat >>confdefs.h <<_ACEOF
1822 #define PACKAGE "$PACKAGE"
1823 _ACEOF
1824
1825
1826 cat >>confdefs.h <<_ACEOF
1827 #define VERSION "$VERSION"
1828 _ACEOF
1829
1830 # Some tools Automake needs.
1831
1832 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1833
1834
1835 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1836
1837
1838 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1839
1840
1841 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1842
1843
1844 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1845
1846 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1847
1848 # Installed binaries are usually stripped using `strip' when the user
1849 # run `make install-strip'. However `strip' might not be the right
1850 # tool to use in cross-compilation environments, therefore Automake
1851 # will honor the `STRIP' environment variable to overrule this program.
1852 if test "$cross_compiling" != no; then
1853 if test -n "$ac_tool_prefix"; then
1854 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1855 set dummy ${ac_tool_prefix}strip; ac_word=$2
1856 echo "$as_me:$LINENO: checking for $ac_word" >&5
1857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1858 if test "${ac_cv_prog_STRIP+set}" = set; then
1859 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 else
1861 if test -n "$STRIP"; then
1862 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1863 else
1864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1865 for as_dir in $PATH
1866 do
1867 IFS=$as_save_IFS
1868 test -z "$as_dir" && as_dir=.
1869 for ac_exec_ext in '' $ac_executable_extensions; do
1870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1871 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1873 break 2
1874 fi
1875 done
1876 done
1877
1878 fi
1879 fi
1880 STRIP=$ac_cv_prog_STRIP
1881 if test -n "$STRIP"; then
1882 echo "$as_me:$LINENO: result: $STRIP" >&5
1883 echo "${ECHO_T}$STRIP" >&6
1884 else
1885 echo "$as_me:$LINENO: result: no" >&5
1886 echo "${ECHO_T}no" >&6
1887 fi
1888
1889 fi
1890 if test -z "$ac_cv_prog_STRIP"; then
1891 ac_ct_STRIP=$STRIP
1892 # Extract the first word of "strip", so it can be a program name with args.
1893 set dummy strip; ac_word=$2
1894 echo "$as_me:$LINENO: checking for $ac_word" >&5
1895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1896 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 else
1899 if test -n "$ac_ct_STRIP"; then
1900 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1901 else
1902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 for as_dir in $PATH
1904 do
1905 IFS=$as_save_IFS
1906 test -z "$as_dir" && as_dir=.
1907 for ac_exec_ext in '' $ac_executable_extensions; do
1908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1909 ac_cv_prog_ac_ct_STRIP="strip"
1910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911 break 2
1912 fi
1913 done
1914 done
1915
1916 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1917 fi
1918 fi
1919 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1920 if test -n "$ac_ct_STRIP"; then
1921 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1922 echo "${ECHO_T}$ac_ct_STRIP" >&6
1923 else
1924 echo "$as_me:$LINENO: result: no" >&5
1925 echo "${ECHO_T}no" >&6
1926 fi
1927
1928 STRIP=$ac_ct_STRIP
1929 else
1930 STRIP="$ac_cv_prog_STRIP"
1931 fi
1932
1933 fi
1934 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1935
1936 # We need awk for the "check" target. The system "awk" is bad on
1937 # some platforms.
1938 # Always define AMTAR for backward compatibility.
1939
1940 AMTAR=${AMTAR-"${am_missing_run}tar"}
1941
1942
1943 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1944 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1945 # Loop over all known methods to create a tar archive until one works.
1946 _am_tools='gnutar plaintar pax cpio none'
1947 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
1948 # Do not fold the above two line into one, because Tru64 sh and
1949 # Solaris sh will not grok spaces in the rhs of `-'.
1950 for _am_tool in $_am_tools
1951 do
1952 case $_am_tool in
1953 gnutar)
1954 for _am_tar in tar gnutar gtar;
1955 do
1956 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1957 ($_am_tar --version) >&5 2>&5
1958 ac_status=$?
1959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1960 (exit $ac_status); } && break
1961 done
1962 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
1963 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
1964 am__untar="$_am_tar -xf -"
1965 ;;
1966 plaintar)
1967 # Must skip GNU tar: if it does not support --format= it doesn't create
1968 # ustar tarball either.
1969 (tar --version) >/dev/null 2>&1 && continue
1970 am__tar='tar chf - "$$tardir"'
1971 am__tar_='tar chf - "$tardir"'
1972 am__untar='tar xf -'
1973 ;;
1974 pax)
1975 am__tar='pax -L -x ustar -w "$$tardir"'
1976 am__tar_='pax -L -x ustar -w "$tardir"'
1977 am__untar='pax -r'
1978 ;;
1979 cpio)
1980 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
1981 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
1982 am__untar='cpio -i -H ustar -d'
1983 ;;
1984 none)
1985 am__tar=false
1986 am__tar_=false
1987 am__untar=false
1988 ;;
1989 esac
1990
1991 # If the value was cached, stop now. We just wanted to have am__tar
1992 # and am__untar set.
1993 test -n "${am_cv_prog_tar_ustar}" && break
1994
1995 # tar/untar a dummy directory, and stop if the command works
1996 rm -rf conftest.dir
1997 mkdir conftest.dir
1998 echo GrepMe > conftest.dir/file
1999 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2000 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2001 ac_status=$?
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }
2004 rm -rf conftest.dir
2005 if test -s conftest.tar; then
2006 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2007 ($am__untar <conftest.tar) >&5 2>&5
2008 ac_status=$?
2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); }
2011 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2012 fi
2013 done
2014 rm -rf conftest.dir
2015
2016 if test "${am_cv_prog_tar_ustar+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 else
2019 am_cv_prog_tar_ustar=$_am_tool
2020 fi
2021
2022 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2023 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2024
2025
2026
2027
2028
2029 ac_config_headers="$ac_config_headers include/config.h"
2030
2031
2032
2033 GCC_NO_EXECUTABLES
2034
2035 # Check whether --enable-collections or --disable-collections was given.
2036 if test "${enable_collections+set}" = set; then
2037 enableval="$enable_collections"
2038 case x"${enableval}" in
2039 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2040 xno) COMPILE_COLLECTIONS=no ;;
2041 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2042 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2043 esac
2044 else
2045 COMPILE_COLLECTIONS=no
2046 fi;
2047
2048
2049 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2050 CREATE_COLLECTIONS_TRUE=
2051 CREATE_COLLECTIONS_FALSE='#'
2052 else
2053 CREATE_COLLECTIONS_TRUE='#'
2054 CREATE_COLLECTIONS_FALSE=
2055 fi
2056
2057
2058 # Check whether --enable-jni or --disable-jni was given.
2059 if test "${enable_jni+set}" = set; then
2060 enableval="$enable_jni"
2061 case "${enableval}" in
2062 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2063 no) COMPILE_JNI=no ;;
2064 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2065 esac
2066 else
2067 COMPILE_JNI=yes
2068 fi;
2069
2070
2071 if test "x${COMPILE_JNI}" = xyes; then
2072 CREATE_JNI_LIBRARIES_TRUE=
2073 CREATE_JNI_LIBRARIES_FALSE='#'
2074 else
2075 CREATE_JNI_LIBRARIES_TRUE='#'
2076 CREATE_JNI_LIBRARIES_FALSE=
2077 fi
2078
2079
2080 # Check whether --enable-core-jni or --disable-core-jni was given.
2081 if test "${enable_core_jni+set}" = set; then
2082 enableval="$enable_core_jni"
2083 case "${enableval}" in
2084 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2085 no) COMPILE_CORE_JNI=no ;;
2086 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2087 esac
2088 else
2089 COMPILE_CORE_JNI=yes
2090 fi;
2091
2092
2093 if test "x${COMPILE_CORE_JNI}" = xyes; then
2094 CREATE_CORE_JNI_LIBRARIES_TRUE=
2095 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2096 else
2097 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2098 CREATE_CORE_JNI_LIBRARIES_FALSE=
2099 fi
2100
2101
2102 # Check whether --enable-Werror or --disable-Werror was given.
2103 if test "${enable_Werror+set}" = set; then
2104 enableval="$enable_Werror"
2105 case "${enableval}" in
2106 yes) ENABLE_WERROR=yes ;;
2107 no) ENABLE_WERROR=no ;;
2108 *) ENABLE_WERROR=no ;;
2109 esac
2110 else
2111 ENABLE_WERROR=no
2112 fi;
2113
2114 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2115 if test "${enable_default_toolkit+set}" = set; then
2116 enableval="$enable_default_toolkit"
2117
2118 fi;
2119 default_toolkit=$enable_default_toolkit
2120 if test "$default_toolkit" = ""; then
2121 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2122 fi
2123
2124
2125 # Check whether --enable-xmlj or --disable-xmlj was given.
2126 if test "${enable_xmlj+set}" = set; then
2127 enableval="$enable_xmlj"
2128 case "${enableval}" in
2129 yes) COMPILE_XMLJ=yes ;;
2130 no) COMPILE_XMLJ=no ;;
2131 *) COMPILE_XMLJ=no ;;
2132 esac
2133 else
2134 COMPILE_XMLJ=no
2135 fi;
2136
2137
2138 if test "x${COMPILE_XMLJ}" = xyes; then
2139 CREATE_XMLJ_LIBRARY_TRUE=
2140 CREATE_XMLJ_LIBRARY_FALSE='#'
2141 else
2142 CREATE_XMLJ_LIBRARY_TRUE='#'
2143 CREATE_XMLJ_LIBRARY_FALSE=
2144 fi
2145
2146
2147 DEPDIR="${am__leading_dot}deps"
2148
2149 ac_config_commands="$ac_config_commands depfiles"
2150
2151
2152 am_make=${MAKE-make}
2153 cat > confinc << 'END'
2154 am__doit:
2155 @echo done
2156 .PHONY: am__doit
2157 END
2158 # If we don't find an include directive, just comment out the code.
2159 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2160 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2161 am__include="#"
2162 am__quote=
2163 _am_result=none
2164 # First try GNU make style include.
2165 echo "include confinc" > confmf
2166 # We grep out `Entering directory' and `Leaving directory'
2167 # messages which can occur if `w' ends up in MAKEFLAGS.
2168 # In particular we don't look at `^make:' because GNU make might
2169 # be invoked under some other name (usually "gmake"), in which
2170 # case it prints its new name instead of `make'.
2171 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2172 am__include=include
2173 am__quote=
2174 _am_result=GNU
2175 fi
2176 # Now try BSD make style include.
2177 if test "$am__include" = "#"; then
2178 echo '.include "confinc"' > confmf
2179 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2180 am__include=.include
2181 am__quote="\""
2182 _am_result=BSD
2183 fi
2184 fi
2185
2186
2187 echo "$as_me:$LINENO: result: $_am_result" >&5
2188 echo "${ECHO_T}$_am_result" >&6
2189 rm -f confinc confmf
2190
2191 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2192 if test "${enable_dependency_tracking+set}" = set; then
2193 enableval="$enable_dependency_tracking"
2194
2195 fi;
2196 if test "x$enable_dependency_tracking" != xno; then
2197 am_depcomp="$ac_aux_dir/depcomp"
2198 AMDEPBACKSLASH='\'
2199 fi
2200
2201
2202 if test "x$enable_dependency_tracking" != xno; then
2203 AMDEP_TRUE=
2204 AMDEP_FALSE='#'
2205 else
2206 AMDEP_TRUE='#'
2207 AMDEP_FALSE=
2208 fi
2209
2210
2211
2212 ac_ext=c
2213 ac_cpp='$CPP $CPPFLAGS'
2214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2217 if test -n "$ac_tool_prefix"; then
2218 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2219 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2220 echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2222 if test "${ac_cv_prog_CC+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 else
2225 if test -n "$CC"; then
2226 ac_cv_prog_CC="$CC" # Let the user override the test.
2227 else
2228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229 for as_dir in $PATH
2230 do
2231 IFS=$as_save_IFS
2232 test -z "$as_dir" && as_dir=.
2233 for ac_exec_ext in '' $ac_executable_extensions; do
2234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2235 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 break 2
2238 fi
2239 done
2240 done
2241
2242 fi
2243 fi
2244 CC=$ac_cv_prog_CC
2245 if test -n "$CC"; then
2246 echo "$as_me:$LINENO: result: $CC" >&5
2247 echo "${ECHO_T}$CC" >&6
2248 else
2249 echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6
2251 fi
2252
2253 fi
2254 if test -z "$ac_cv_prog_CC"; then
2255 ac_ct_CC=$CC
2256 # Extract the first word of "gcc", so it can be a program name with args.
2257 set dummy gcc; ac_word=$2
2258 echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2260 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 else
2263 if test -n "$ac_ct_CC"; then
2264 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2265 else
2266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 for as_dir in $PATH
2268 do
2269 IFS=$as_save_IFS
2270 test -z "$as_dir" && as_dir=.
2271 for ac_exec_ext in '' $ac_executable_extensions; do
2272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2273 ac_cv_prog_ac_ct_CC="gcc"
2274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 break 2
2276 fi
2277 done
2278 done
2279
2280 fi
2281 fi
2282 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2283 if test -n "$ac_ct_CC"; then
2284 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2285 echo "${ECHO_T}$ac_ct_CC" >&6
2286 else
2287 echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6
2289 fi
2290
2291 CC=$ac_ct_CC
2292 else
2293 CC="$ac_cv_prog_CC"
2294 fi
2295
2296 if test -z "$CC"; then
2297 if test -n "$ac_tool_prefix"; then
2298 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2299 set dummy ${ac_tool_prefix}cc; ac_word=$2
2300 echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2302 if test "${ac_cv_prog_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 else
2305 if test -n "$CC"; then
2306 ac_cv_prog_CC="$CC" # Let the user override the test.
2307 else
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 for as_dir in $PATH
2310 do
2311 IFS=$as_save_IFS
2312 test -z "$as_dir" && as_dir=.
2313 for ac_exec_ext in '' $ac_executable_extensions; do
2314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2315 ac_cv_prog_CC="${ac_tool_prefix}cc"
2316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 break 2
2318 fi
2319 done
2320 done
2321
2322 fi
2323 fi
2324 CC=$ac_cv_prog_CC
2325 if test -n "$CC"; then
2326 echo "$as_me:$LINENO: result: $CC" >&5
2327 echo "${ECHO_T}$CC" >&6
2328 else
2329 echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6
2331 fi
2332
2333 fi
2334 if test -z "$ac_cv_prog_CC"; then
2335 ac_ct_CC=$CC
2336 # Extract the first word of "cc", so it can be a program name with args.
2337 set dummy cc; ac_word=$2
2338 echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2340 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 else
2343 if test -n "$ac_ct_CC"; then
2344 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2345 else
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347 for as_dir in $PATH
2348 do
2349 IFS=$as_save_IFS
2350 test -z "$as_dir" && as_dir=.
2351 for ac_exec_ext in '' $ac_executable_extensions; do
2352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2353 ac_cv_prog_ac_ct_CC="cc"
2354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 break 2
2356 fi
2357 done
2358 done
2359
2360 fi
2361 fi
2362 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2363 if test -n "$ac_ct_CC"; then
2364 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2365 echo "${ECHO_T}$ac_ct_CC" >&6
2366 else
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2369 fi
2370
2371 CC=$ac_ct_CC
2372 else
2373 CC="$ac_cv_prog_CC"
2374 fi
2375
2376 fi
2377 if test -z "$CC"; then
2378 # Extract the first word of "cc", so it can be a program name with args.
2379 set dummy cc; ac_word=$2
2380 echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2382 if test "${ac_cv_prog_CC+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 else
2385 if test -n "$CC"; then
2386 ac_cv_prog_CC="$CC" # Let the user override the test.
2387 else
2388 ac_prog_rejected=no
2389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 for as_dir in $PATH
2391 do
2392 IFS=$as_save_IFS
2393 test -z "$as_dir" && as_dir=.
2394 for ac_exec_ext in '' $ac_executable_extensions; do
2395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2396 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2397 ac_prog_rejected=yes
2398 continue
2399 fi
2400 ac_cv_prog_CC="cc"
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 break 2
2403 fi
2404 done
2405 done
2406
2407 if test $ac_prog_rejected = yes; then
2408 # We found a bogon in the path, so make sure we never use it.
2409 set dummy $ac_cv_prog_CC
2410 shift
2411 if test $# != 0; then
2412 # We chose a different compiler from the bogus one.
2413 # However, it has the same basename, so the bogon will be chosen
2414 # first if we set CC to just the basename; use the full file name.
2415 shift
2416 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2417 fi
2418 fi
2419 fi
2420 fi
2421 CC=$ac_cv_prog_CC
2422 if test -n "$CC"; then
2423 echo "$as_me:$LINENO: result: $CC" >&5
2424 echo "${ECHO_T}$CC" >&6
2425 else
2426 echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6
2428 fi
2429
2430 fi
2431 if test -z "$CC"; then
2432 if test -n "$ac_tool_prefix"; then
2433 for ac_prog in cl
2434 do
2435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2436 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2437 echo "$as_me:$LINENO: checking for $ac_word" >&5
2438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2439 if test "${ac_cv_prog_CC+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 else
2442 if test -n "$CC"; then
2443 ac_cv_prog_CC="$CC" # Let the user override the test.
2444 else
2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 for as_dir in $PATH
2447 do
2448 IFS=$as_save_IFS
2449 test -z "$as_dir" && as_dir=.
2450 for ac_exec_ext in '' $ac_executable_extensions; do
2451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2452 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 break 2
2455 fi
2456 done
2457 done
2458
2459 fi
2460 fi
2461 CC=$ac_cv_prog_CC
2462 if test -n "$CC"; then
2463 echo "$as_me:$LINENO: result: $CC" >&5
2464 echo "${ECHO_T}$CC" >&6
2465 else
2466 echo "$as_me:$LINENO: result: no" >&5
2467 echo "${ECHO_T}no" >&6
2468 fi
2469
2470 test -n "$CC" && break
2471 done
2472 fi
2473 if test -z "$CC"; then
2474 ac_ct_CC=$CC
2475 for ac_prog in cl
2476 do
2477 # Extract the first word of "$ac_prog", so it can be a program name with args.
2478 set dummy $ac_prog; ac_word=$2
2479 echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2481 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 else
2484 if test -n "$ac_ct_CC"; then
2485 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2486 else
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 for as_dir in $PATH
2489 do
2490 IFS=$as_save_IFS
2491 test -z "$as_dir" && as_dir=.
2492 for ac_exec_ext in '' $ac_executable_extensions; do
2493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2494 ac_cv_prog_ac_ct_CC="$ac_prog"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 break 2
2497 fi
2498 done
2499 done
2500
2501 fi
2502 fi
2503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2504 if test -n "$ac_ct_CC"; then
2505 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2506 echo "${ECHO_T}$ac_ct_CC" >&6
2507 else
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2510 fi
2511
2512 test -n "$ac_ct_CC" && break
2513 done
2514
2515 CC=$ac_ct_CC
2516 fi
2517
2518 fi
2519
2520
2521 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2522 See \`config.log' for more details." >&5
2523 echo "$as_me: error: no acceptable C compiler found in \$PATH
2524 See \`config.log' for more details." >&2;}
2525 { (exit 1); exit 1; }; }
2526
2527 # Provide some information about the compiler.
2528 echo "$as_me:$LINENO:" \
2529 "checking for C compiler version" >&5
2530 ac_compiler=`set X $ac_compile; echo $2`
2531 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2532 (eval $ac_compiler --version </dev/null >&5) 2>&5
2533 ac_status=$?
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2537 (eval $ac_compiler -v </dev/null >&5) 2>&5
2538 ac_status=$?
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }
2541 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2542 (eval $ac_compiler -V </dev/null >&5) 2>&5
2543 ac_status=$?
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }
2546
2547 cat >conftest.$ac_ext <<_ACEOF
2548 /* confdefs.h. */
2549 _ACEOF
2550 cat confdefs.h >>conftest.$ac_ext
2551 cat >>conftest.$ac_ext <<_ACEOF
2552 /* end confdefs.h. */
2553
2554 int
2555 main ()
2556 {
2557
2558 ;
2559 return 0;
2560 }
2561 _ACEOF
2562 ac_clean_files_save=$ac_clean_files
2563 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2564 # Try to create an executable without -o first, disregard a.out.
2565 # It will help us diagnose broken compilers, and finding out an intuition
2566 # of exeext.
2567 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2568 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2569 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2570 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2571 (eval $ac_link_default) 2>&5
2572 ac_status=$?
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; then
2575 # Find the output, starting from the most likely. This scheme is
2576 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2577 # resort.
2578
2579 # Be careful to initialize this variable, since it used to be cached.
2580 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2581 ac_cv_exeext=
2582 # b.out is created by i960 compilers.
2583 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2584 do
2585 test -f "$ac_file" || continue
2586 case $ac_file in
2587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2588 ;;
2589 conftest.$ac_ext )
2590 # This is the source file.
2591 ;;
2592 [ab].out )
2593 # We found the default executable, but exeext='' is most
2594 # certainly right.
2595 break;;
2596 *.* )
2597 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2598 # FIXME: I believe we export ac_cv_exeext for Libtool,
2599 # but it would be cool to find out if it's true. Does anybody
2600 # maintain Libtool? --akim.
2601 export ac_cv_exeext
2602 break;;
2603 * )
2604 break;;
2605 esac
2606 done
2607 else
2608 echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2610
2611 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2612 See \`config.log' for more details." >&5
2613 echo "$as_me: error: C compiler cannot create executables
2614 See \`config.log' for more details." >&2;}
2615 { (exit 77); exit 77; }; }
2616 fi
2617
2618 ac_exeext=$ac_cv_exeext
2619 echo "$as_me:$LINENO: result: $ac_file" >&5
2620 echo "${ECHO_T}$ac_file" >&6
2621
2622 # Check the compiler produces executables we can run. If not, either
2623 # the compiler is broken, or we cross compile.
2624 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2625 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2626 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2627 # If not cross compiling, check that we can run a simple program.
2628 if test "$cross_compiling" != yes; then
2629 if { ac_try='./$ac_file'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 (eval $ac_try) 2>&5
2632 ac_status=$?
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; }; then
2635 cross_compiling=no
2636 else
2637 if test "$cross_compiling" = maybe; then
2638 cross_compiling=yes
2639 else
2640 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2641 If you meant to cross compile, use \`--host'.
2642 See \`config.log' for more details." >&5
2643 echo "$as_me: error: cannot run C compiled programs.
2644 If you meant to cross compile, use \`--host'.
2645 See \`config.log' for more details." >&2;}
2646 { (exit 1); exit 1; }; }
2647 fi
2648 fi
2649 fi
2650 echo "$as_me:$LINENO: result: yes" >&5
2651 echo "${ECHO_T}yes" >&6
2652
2653 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2654 ac_clean_files=$ac_clean_files_save
2655 # Check the compiler produces executables we can run. If not, either
2656 # the compiler is broken, or we cross compile.
2657 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2658 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2659 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2660 echo "${ECHO_T}$cross_compiling" >&6
2661
2662 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2663 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2665 (eval $ac_link) 2>&5
2666 ac_status=$?
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; then
2669 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2670 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2671 # work properly (i.e., refer to `conftest.exe'), while it won't with
2672 # `rm'.
2673 for ac_file in conftest.exe conftest conftest.*; do
2674 test -f "$ac_file" || continue
2675 case $ac_file in
2676 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2677 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2678 export ac_cv_exeext
2679 break;;
2680 * ) break;;
2681 esac
2682 done
2683 else
2684 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2685 See \`config.log' for more details." >&5
2686 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2687 See \`config.log' for more details." >&2;}
2688 { (exit 1); exit 1; }; }
2689 fi
2690
2691 rm -f conftest$ac_cv_exeext
2692 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2693 echo "${ECHO_T}$ac_cv_exeext" >&6
2694
2695 rm -f conftest.$ac_ext
2696 EXEEXT=$ac_cv_exeext
2697 ac_exeext=$EXEEXT
2698 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2699 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2700 if test "${ac_cv_objext+set}" = set; then
2701 echo $ECHO_N "(cached) $ECHO_C" >&6
2702 else
2703 cat >conftest.$ac_ext <<_ACEOF
2704 /* confdefs.h. */
2705 _ACEOF
2706 cat confdefs.h >>conftest.$ac_ext
2707 cat >>conftest.$ac_ext <<_ACEOF
2708 /* end confdefs.h. */
2709
2710 int
2711 main ()
2712 {
2713
2714 ;
2715 return 0;
2716 }
2717 _ACEOF
2718 rm -f conftest.o conftest.obj
2719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2720 (eval $ac_compile) 2>&5
2721 ac_status=$?
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); }; then
2724 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2725 case $ac_file in
2726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2727 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2728 break;;
2729 esac
2730 done
2731 else
2732 echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2734
2735 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2736 See \`config.log' for more details." >&5
2737 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2738 See \`config.log' for more details." >&2;}
2739 { (exit 1); exit 1; }; }
2740 fi
2741
2742 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2743 fi
2744 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2745 echo "${ECHO_T}$ac_cv_objext" >&6
2746 OBJEXT=$ac_cv_objext
2747 ac_objext=$OBJEXT
2748 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2749 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2750 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2752 else
2753 cat >conftest.$ac_ext <<_ACEOF
2754 /* confdefs.h. */
2755 _ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2759
2760 int
2761 main ()
2762 {
2763 #ifndef __GNUC__
2764 choke me
2765 #endif
2766
2767 ;
2768 return 0;
2769 }
2770 _ACEOF
2771 rm -f conftest.$ac_objext
2772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773 (eval $ac_compile) 2>conftest.er1
2774 ac_status=$?
2775 grep -v '^ *+' conftest.er1 >conftest.err
2776 rm -f conftest.er1
2777 cat conftest.err >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try='test -z "$ac_c_werror_flag"
2781 || test ! -s conftest.err'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 (eval $ac_try) 2>&5
2784 ac_status=$?
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; } &&
2787 { ac_try='test -s conftest.$ac_objext'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 (eval $ac_try) 2>&5
2790 ac_status=$?
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2793 ac_compiler_gnu=yes
2794 else
2795 echo "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.$ac_ext >&5
2797
2798 ac_compiler_gnu=no
2799 fi
2800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2801 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2802
2803 fi
2804 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2805 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2806 GCC=`test $ac_compiler_gnu = yes && echo yes`
2807 ac_test_CFLAGS=${CFLAGS+set}
2808 ac_save_CFLAGS=$CFLAGS
2809 CFLAGS="-g"
2810 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2811 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2812 if test "${ac_cv_prog_cc_g+set}" = set; then
2813 echo $ECHO_N "(cached) $ECHO_C" >&6
2814 else
2815 cat >conftest.$ac_ext <<_ACEOF
2816 /* confdefs.h. */
2817 _ACEOF
2818 cat confdefs.h >>conftest.$ac_ext
2819 cat >>conftest.$ac_ext <<_ACEOF
2820 /* end confdefs.h. */
2821
2822 int
2823 main ()
2824 {
2825
2826 ;
2827 return 0;
2828 }
2829 _ACEOF
2830 rm -f conftest.$ac_objext
2831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2832 (eval $ac_compile) 2>conftest.er1
2833 ac_status=$?
2834 grep -v '^ *+' conftest.er1 >conftest.err
2835 rm -f conftest.er1
2836 cat conftest.err >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); } &&
2839 { ac_try='test -z "$ac_c_werror_flag"
2840 || test ! -s conftest.err'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 (eval $ac_try) 2>&5
2843 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; } &&
2846 { ac_try='test -s conftest.$ac_objext'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 (eval $ac_try) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; }; then
2852 ac_cv_prog_cc_g=yes
2853 else
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2856
2857 ac_cv_prog_cc_g=no
2858 fi
2859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2860 fi
2861 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2862 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2863 if test "$ac_test_CFLAGS" = set; then
2864 CFLAGS=$ac_save_CFLAGS
2865 elif test $ac_cv_prog_cc_g = yes; then
2866 if test "$GCC" = yes; then
2867 CFLAGS="-g -O2"
2868 else
2869 CFLAGS="-g"
2870 fi
2871 else
2872 if test "$GCC" = yes; then
2873 CFLAGS="-O2"
2874 else
2875 CFLAGS=
2876 fi
2877 fi
2878 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2879 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2880 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2881 echo $ECHO_N "(cached) $ECHO_C" >&6
2882 else
2883 ac_cv_prog_cc_stdc=no
2884 ac_save_CC=$CC
2885 cat >conftest.$ac_ext <<_ACEOF
2886 /* confdefs.h. */
2887 _ACEOF
2888 cat confdefs.h >>conftest.$ac_ext
2889 cat >>conftest.$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2891 #include <stdarg.h>
2892 #include <stdio.h>
2893 #include <sys/types.h>
2894 #include <sys/stat.h>
2895 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2896 struct buf { int x; };
2897 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2898 static char *e (p, i)
2899 char **p;
2900 int i;
2901 {
2902 return p[i];
2903 }
2904 static char *f (char * (*g) (char **, int), char **p, ...)
2905 {
2906 char *s;
2907 va_list v;
2908 va_start (v,p);
2909 s = g (p, va_arg (v,int));
2910 va_end (v);
2911 return s;
2912 }
2913
2914 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2915 function prototypes and stuff, but not '\xHH' hex character constants.
2916 These don't provoke an error unfortunately, instead are silently treated
2917 as 'x'. The following induces an error, until -std1 is added to get
2918 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2919 array size at least. It's necessary to write '\x00'==0 to get something
2920 that's true only with -std1. */
2921 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2922
2923 int test (int i, double x);
2924 struct s1 {int (*f) (int a);};
2925 struct s2 {int (*f) (double a);};
2926 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2927 int argc;
2928 char **argv;
2929 int
2930 main ()
2931 {
2932 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2933 ;
2934 return 0;
2935 }
2936 _ACEOF
2937 # Don't try gcc -ansi; that turns off useful extensions and
2938 # breaks some systems' header files.
2939 # AIX -qlanglvl=ansi
2940 # Ultrix and OSF/1 -std1
2941 # HP-UX 10.20 and later -Ae
2942 # HP-UX older versions -Aa -D_HPUX_SOURCE
2943 # SVR4 -Xc -D__EXTENSIONS__
2944 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2945 do
2946 CC="$ac_save_CC $ac_arg"
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>conftest.er1
2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_c_werror_flag"
2957 || test ! -s conftest.err'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 (eval $ac_try) 2>&5
2960 ac_status=$?
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; } &&
2963 { ac_try='test -s conftest.$ac_objext'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965 (eval $ac_try) 2>&5
2966 ac_status=$?
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; }; then
2969 ac_cv_prog_cc_stdc=$ac_arg
2970 break
2971 else
2972 echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2974
2975 fi
2976 rm -f conftest.err conftest.$ac_objext
2977 done
2978 rm -f conftest.$ac_ext conftest.$ac_objext
2979 CC=$ac_save_CC
2980
2981 fi
2982
2983 case "x$ac_cv_prog_cc_stdc" in
2984 x|xno)
2985 echo "$as_me:$LINENO: result: none needed" >&5
2986 echo "${ECHO_T}none needed" >&6 ;;
2987 *)
2988 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2989 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2990 CC="$CC $ac_cv_prog_cc_stdc" ;;
2991 esac
2992
2993 # Some people use a C++ compiler to compile C. Since we use `exit',
2994 # in C++ we need to declare it. In case someone uses the same compiler
2995 # for both compiling C and C++ we need to have the C++ compiler decide
2996 # the declaration of exit, since it's the most demanding environment.
2997 cat >conftest.$ac_ext <<_ACEOF
2998 #ifndef __cplusplus
2999 choke me
3000 #endif
3001 _ACEOF
3002 rm -f conftest.$ac_objext
3003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3004 (eval $ac_compile) 2>conftest.er1
3005 ac_status=$?
3006 grep -v '^ *+' conftest.er1 >conftest.err
3007 rm -f conftest.er1
3008 cat conftest.err >&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); } &&
3011 { ac_try='test -z "$ac_c_werror_flag"
3012 || test ! -s conftest.err'
3013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3014 (eval $ac_try) 2>&5
3015 ac_status=$?
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }; } &&
3018 { ac_try='test -s conftest.$ac_objext'
3019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 (eval $ac_try) 2>&5
3021 ac_status=$?
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); }; }; then
3024 for ac_declaration in \
3025 '' \
3026 'extern "C" void std::exit (int) throw (); using std::exit;' \
3027 'extern "C" void std::exit (int); using std::exit;' \
3028 'extern "C" void exit (int) throw ();' \
3029 'extern "C" void exit (int);' \
3030 'void exit (int);'
3031 do
3032 cat >conftest.$ac_ext <<_ACEOF
3033 /* confdefs.h. */
3034 _ACEOF
3035 cat confdefs.h >>conftest.$ac_ext
3036 cat >>conftest.$ac_ext <<_ACEOF
3037 /* end confdefs.h. */
3038 $ac_declaration
3039 #include <stdlib.h>
3040 int
3041 main ()
3042 {
3043 exit (42);
3044 ;
3045 return 0;
3046 }
3047 _ACEOF
3048 rm -f conftest.$ac_objext
3049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3050 (eval $ac_compile) 2>conftest.er1
3051 ac_status=$?
3052 grep -v '^ *+' conftest.er1 >conftest.err
3053 rm -f conftest.er1
3054 cat conftest.err >&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); } &&
3057 { ac_try='test -z "$ac_c_werror_flag"
3058 || test ! -s conftest.err'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060 (eval $ac_try) 2>&5
3061 ac_status=$?
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; } &&
3064 { ac_try='test -s conftest.$ac_objext'
3065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3066 (eval $ac_try) 2>&5
3067 ac_status=$?
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; }; then
3070 :
3071 else
3072 echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.$ac_ext >&5
3074
3075 continue
3076 fi
3077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3078 cat >conftest.$ac_ext <<_ACEOF
3079 /* confdefs.h. */
3080 _ACEOF
3081 cat confdefs.h >>conftest.$ac_ext
3082 cat >>conftest.$ac_ext <<_ACEOF
3083 /* end confdefs.h. */
3084 $ac_declaration
3085 int
3086 main ()
3087 {
3088 exit (42);
3089 ;
3090 return 0;
3091 }
3092 _ACEOF
3093 rm -f conftest.$ac_objext
3094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3095 (eval $ac_compile) 2>conftest.er1
3096 ac_status=$?
3097 grep -v '^ *+' conftest.er1 >conftest.err
3098 rm -f conftest.er1
3099 cat conftest.err >&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } &&
3102 { ac_try='test -z "$ac_c_werror_flag"
3103 || test ! -s conftest.err'
3104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3105 (eval $ac_try) 2>&5
3106 ac_status=$?
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); }; } &&
3109 { ac_try='test -s conftest.$ac_objext'
3110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111 (eval $ac_try) 2>&5
3112 ac_status=$?
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; }; then
3115 break
3116 else
3117 echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3119
3120 fi
3121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3122 done
3123 rm -f conftest*
3124 if test -n "$ac_declaration"; then
3125 echo '#ifdef __cplusplus' >>confdefs.h
3126 echo $ac_declaration >>confdefs.h
3127 echo '#endif' >>confdefs.h
3128 fi
3129
3130 else
3131 echo "$as_me: failed program was:" >&5
3132 sed 's/^/| /' conftest.$ac_ext >&5
3133
3134 fi
3135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3136 ac_ext=c
3137 ac_cpp='$CPP $CPPFLAGS'
3138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3141
3142 depcc="$CC" am_compiler_list=
3143
3144 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3145 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3146 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3148 else
3149 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3150 # We make a subdir and do the tests there. Otherwise we can end up
3151 # making bogus files that we don't know about and never remove. For
3152 # instance it was reported that on HP-UX the gcc test will end up
3153 # making a dummy file named `D' -- because `-MD' means `put the output
3154 # in D'.
3155 mkdir conftest.dir
3156 # Copy depcomp to subdir because otherwise we won't find it if we're
3157 # using a relative directory.
3158 cp "$am_depcomp" conftest.dir
3159 cd conftest.dir
3160 # We will build objects and dependencies in a subdirectory because
3161 # it helps to detect inapplicable dependency modes. For instance
3162 # both Tru64's cc and ICC support -MD to output dependencies as a
3163 # side effect of compilation, but ICC will put the dependencies in
3164 # the current directory while Tru64 will put them in the object
3165 # directory.
3166 mkdir sub
3167
3168 am_cv_CC_dependencies_compiler_type=none
3169 if test "$am_compiler_list" = ""; then
3170 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3171 fi
3172 for depmode in $am_compiler_list; do
3173 # Setup a source with many dependencies, because some compilers
3174 # like to wrap large dependency lists on column 80 (with \), and
3175 # we should not choose a depcomp mode which is confused by this.
3176 #
3177 # We need to recreate these files for each test, as the compiler may
3178 # overwrite some of them when testing with obscure command lines.
3179 # This happens at least with the AIX C compiler.
3180 : > sub/conftest.c
3181 for i in 1 2 3 4 5 6; do
3182 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3183 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3184 # Solaris 8's {/usr,}/bin/sh.
3185 touch sub/conftst$i.h
3186 done
3187 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3188
3189 case $depmode in
3190 nosideeffect)
3191 # after this tag, mechanisms are not by side-effect, so they'll
3192 # only be used when explicitly requested
3193 if test "x$enable_dependency_tracking" = xyes; then
3194 continue
3195 else
3196 break
3197 fi
3198 ;;
3199 none) break ;;
3200 esac
3201 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3202 # mode. It turns out that the SunPro C++ compiler does not properly
3203 # handle `-M -o', and we need to detect this.
3204 if depmode=$depmode \
3205 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3206 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3207 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3208 >/dev/null 2>conftest.err &&
3209 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3210 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3211 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3212 # icc doesn't choke on unknown options, it will just issue warnings
3213 # or remarks (even with -Werror). So we grep stderr for any message
3214 # that says an option was ignored or not supported.
3215 # When given -MP, icc 7.0 and 7.1 complain thusly:
3216 # icc: Command line warning: ignoring option '-M'; no argument required
3217 # The diagnosis changed in icc 8.0:
3218 # icc: Command line remark: option '-MP' not supported
3219 if (grep 'ignoring option' conftest.err ||
3220 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3221 am_cv_CC_dependencies_compiler_type=$depmode
3222 break
3223 fi
3224 fi
3225 done
3226
3227 cd ..
3228 rm -rf conftest.dir
3229 else
3230 am_cv_CC_dependencies_compiler_type=none
3231 fi
3232
3233 fi
3234 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3235 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3236 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3237
3238
3239
3240 if
3241 test "x$enable_dependency_tracking" != xno \
3242 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3243 am__fastdepCC_TRUE=
3244 am__fastdepCC_FALSE='#'
3245 else
3246 am__fastdepCC_TRUE='#'
3247 am__fastdepCC_FALSE=
3248 fi
3249
3250
3251
3252 ac_ext=c
3253 ac_cpp='$CPP $CPPFLAGS'
3254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3257 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3258 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3259 # On Suns, sometimes $CPP names a directory.
3260 if test -n "$CPP" && test -d "$CPP"; then
3261 CPP=
3262 fi
3263 if test -z "$CPP"; then
3264 if test "${ac_cv_prog_CPP+set}" = set; then
3265 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 else
3267 # Double quotes because CPP needs to be expanded
3268 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3269 do
3270 ac_preproc_ok=false
3271 for ac_c_preproc_warn_flag in '' yes
3272 do
3273 # Use a header file that comes with gcc, so configuring glibc
3274 # with a fresh cross-compiler works.
3275 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3276 # <limits.h> exists even on freestanding compilers.
3277 # On the NeXT, cc -E runs the code through the compiler's parser,
3278 # not just through cpp. "Syntax error" is here to catch this case.
3279 cat >conftest.$ac_ext <<_ACEOF
3280 /* confdefs.h. */
3281 _ACEOF
3282 cat confdefs.h >>conftest.$ac_ext
3283 cat >>conftest.$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3285 #ifdef __STDC__
3286 # include <limits.h>
3287 #else
3288 # include <assert.h>
3289 #endif
3290 Syntax error
3291 _ACEOF
3292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3294 ac_status=$?
3295 grep -v '^ *+' conftest.er1 >conftest.err
3296 rm -f conftest.er1
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } >/dev/null; then
3300 if test -s conftest.err; then
3301 ac_cpp_err=$ac_c_preproc_warn_flag
3302 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3303 else
3304 ac_cpp_err=
3305 fi
3306 else
3307 ac_cpp_err=yes
3308 fi
3309 if test -z "$ac_cpp_err"; then
3310 :
3311 else
3312 echo "$as_me: failed program was:" >&5
3313 sed 's/^/| /' conftest.$ac_ext >&5
3314
3315 # Broken: fails on valid input.
3316 continue
3317 fi
3318 rm -f conftest.err conftest.$ac_ext
3319
3320 # OK, works on sane cases. Now check whether non-existent headers
3321 # can be detected and how.
3322 cat >conftest.$ac_ext <<_ACEOF
3323 /* confdefs.h. */
3324 _ACEOF
3325 cat confdefs.h >>conftest.$ac_ext
3326 cat >>conftest.$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3328 #include <ac_nonexistent.h>
3329 _ACEOF
3330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3331 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3332 ac_status=$?
3333 grep -v '^ *+' conftest.er1 >conftest.err
3334 rm -f conftest.er1
3335 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } >/dev/null; then
3338 if test -s conftest.err; then
3339 ac_cpp_err=$ac_c_preproc_warn_flag
3340 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3341 else
3342 ac_cpp_err=
3343 fi
3344 else
3345 ac_cpp_err=yes
3346 fi
3347 if test -z "$ac_cpp_err"; then
3348 # Broken: success on invalid input.
3349 continue
3350 else
3351 echo "$as_me: failed program was:" >&5
3352 sed 's/^/| /' conftest.$ac_ext >&5
3353
3354 # Passes both tests.
3355 ac_preproc_ok=:
3356 break
3357 fi
3358 rm -f conftest.err conftest.$ac_ext
3359
3360 done
3361 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3362 rm -f conftest.err conftest.$ac_ext
3363 if $ac_preproc_ok; then
3364 break
3365 fi
3366
3367 done
3368 ac_cv_prog_CPP=$CPP
3369
3370 fi
3371 CPP=$ac_cv_prog_CPP
3372 else
3373 ac_cv_prog_CPP=$CPP
3374 fi
3375 echo "$as_me:$LINENO: result: $CPP" >&5
3376 echo "${ECHO_T}$CPP" >&6
3377 ac_preproc_ok=false
3378 for ac_c_preproc_warn_flag in '' yes
3379 do
3380 # Use a header file that comes with gcc, so configuring glibc
3381 # with a fresh cross-compiler works.
3382 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3383 # <limits.h> exists even on freestanding compilers.
3384 # On the NeXT, cc -E runs the code through the compiler's parser,
3385 # not just through cpp. "Syntax error" is here to catch this case.
3386 cat >conftest.$ac_ext <<_ACEOF
3387 /* confdefs.h. */
3388 _ACEOF
3389 cat confdefs.h >>conftest.$ac_ext
3390 cat >>conftest.$ac_ext <<_ACEOF
3391 /* end confdefs.h. */
3392 #ifdef __STDC__
3393 # include <limits.h>
3394 #else
3395 # include <assert.h>
3396 #endif
3397 Syntax error
3398 _ACEOF
3399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3401 ac_status=$?
3402 grep -v '^ *+' conftest.er1 >conftest.err
3403 rm -f conftest.er1
3404 cat conftest.err >&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } >/dev/null; then
3407 if test -s conftest.err; then
3408 ac_cpp_err=$ac_c_preproc_warn_flag
3409 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3410 else
3411 ac_cpp_err=
3412 fi
3413 else
3414 ac_cpp_err=yes
3415 fi
3416 if test -z "$ac_cpp_err"; then
3417 :
3418 else
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.$ac_ext >&5
3421
3422 # Broken: fails on valid input.
3423 continue
3424 fi
3425 rm -f conftest.err conftest.$ac_ext
3426
3427 # OK, works on sane cases. Now check whether non-existent headers
3428 # can be detected and how.
3429 cat >conftest.$ac_ext <<_ACEOF
3430 /* confdefs.h. */
3431 _ACEOF
3432 cat confdefs.h >>conftest.$ac_ext
3433 cat >>conftest.$ac_ext <<_ACEOF
3434 /* end confdefs.h. */
3435 #include <ac_nonexistent.h>
3436 _ACEOF
3437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3439 ac_status=$?
3440 grep -v '^ *+' conftest.er1 >conftest.err
3441 rm -f conftest.er1
3442 cat conftest.err >&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); } >/dev/null; then
3445 if test -s conftest.err; then
3446 ac_cpp_err=$ac_c_preproc_warn_flag
3447 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3448 else
3449 ac_cpp_err=
3450 fi
3451 else
3452 ac_cpp_err=yes
3453 fi
3454 if test -z "$ac_cpp_err"; then
3455 # Broken: success on invalid input.
3456 continue
3457 else
3458 echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3460
3461 # Passes both tests.
3462 ac_preproc_ok=:
3463 break
3464 fi
3465 rm -f conftest.err conftest.$ac_ext
3466
3467 done
3468 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3469 rm -f conftest.err conftest.$ac_ext
3470 if $ac_preproc_ok; then
3471 :
3472 else
3473 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3474 See \`config.log' for more details." >&5
3475 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3476 See \`config.log' for more details." >&2;}
3477 { (exit 1); exit 1; }; }
3478 fi
3479
3480 ac_ext=c
3481 ac_cpp='$CPP $CPPFLAGS'
3482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3485
3486
3487 echo "$as_me:$LINENO: checking for egrep" >&5
3488 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3489 if test "${ac_cv_prog_egrep+set}" = set; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3491 else
3492 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3493 then ac_cv_prog_egrep='grep -E'
3494 else ac_cv_prog_egrep='egrep'
3495 fi
3496 fi
3497 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3498 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3499 EGREP=$ac_cv_prog_egrep
3500
3501
3502 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3503 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3504 if test "${ac_cv_header_stdc+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 else
3507 cat >conftest.$ac_ext <<_ACEOF
3508 /* confdefs.h. */
3509 _ACEOF
3510 cat confdefs.h >>conftest.$ac_ext
3511 cat >>conftest.$ac_ext <<_ACEOF
3512 /* end confdefs.h. */
3513 #include <stdlib.h>
3514 #include <stdarg.h>
3515 #include <string.h>
3516 #include <float.h>
3517
3518 int
3519 main ()
3520 {
3521
3522 ;
3523 return 0;
3524 }
3525 _ACEOF
3526 rm -f conftest.$ac_objext
3527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3528 (eval $ac_compile) 2>conftest.er1
3529 ac_status=$?
3530 grep -v '^ *+' conftest.er1 >conftest.err
3531 rm -f conftest.er1
3532 cat conftest.err >&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); } &&
3535 { ac_try='test -z "$ac_c_werror_flag"
3536 || test ! -s conftest.err'
3537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3538 (eval $ac_try) 2>&5
3539 ac_status=$?
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); }; } &&
3542 { ac_try='test -s conftest.$ac_objext'
3543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3544 (eval $ac_try) 2>&5
3545 ac_status=$?
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }; }; then
3548 ac_cv_header_stdc=yes
3549 else
3550 echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.$ac_ext >&5
3552
3553 ac_cv_header_stdc=no
3554 fi
3555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3556
3557 if test $ac_cv_header_stdc = yes; then
3558 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3559 cat >conftest.$ac_ext <<_ACEOF
3560 /* confdefs.h. */
3561 _ACEOF
3562 cat confdefs.h >>conftest.$ac_ext
3563 cat >>conftest.$ac_ext <<_ACEOF
3564 /* end confdefs.h. */
3565 #include <string.h>
3566
3567 _ACEOF
3568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3569 $EGREP "memchr" >/dev/null 2>&1; then
3570 :
3571 else
3572 ac_cv_header_stdc=no
3573 fi
3574 rm -f conftest*
3575
3576 fi
3577
3578 if test $ac_cv_header_stdc = yes; then
3579 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
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 <stdlib.h>
3587
3588 _ACEOF
3589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3590 $EGREP "free" >/dev/null 2>&1; then
3591 :
3592 else
3593 ac_cv_header_stdc=no
3594 fi
3595 rm -f conftest*
3596
3597 fi
3598
3599 if test $ac_cv_header_stdc = yes; then
3600 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3601 if test "$cross_compiling" = yes; then
3602 :
3603 else
3604 cat >conftest.$ac_ext <<_ACEOF
3605 /* confdefs.h. */
3606 _ACEOF
3607 cat confdefs.h >>conftest.$ac_ext
3608 cat >>conftest.$ac_ext <<_ACEOF
3609 /* end confdefs.h. */
3610 #include <ctype.h>
3611 #if ((' ' & 0x0FF) == 0x020)
3612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3614 #else
3615 # define ISLOWER(c) \
3616 (('a' <= (c) && (c) <= 'i') \
3617 || ('j' <= (c) && (c) <= 'r') \
3618 || ('s' <= (c) && (c) <= 'z'))
3619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3620 #endif
3621
3622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3623 int
3624 main ()
3625 {
3626 int i;
3627 for (i = 0; i < 256; i++)
3628 if (XOR (islower (i), ISLOWER (i))
3629 || toupper (i) != TOUPPER (i))
3630 exit(2);
3631 exit (0);
3632 }
3633 _ACEOF
3634 rm -f conftest$ac_exeext
3635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3636 (eval $ac_link) 2>&5
3637 ac_status=$?
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641 (eval $ac_try) 2>&5
3642 ac_status=$?
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; }; then
3645 :
3646 else
3647 echo "$as_me: program exited with status $ac_status" >&5
3648 echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.$ac_ext >&5
3650
3651 ( exit $ac_status )
3652 ac_cv_header_stdc=no
3653 fi
3654 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3655 fi
3656 fi
3657 fi
3658 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3659 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3660 if test $ac_cv_header_stdc = yes; then
3661
3662 cat >>confdefs.h <<\_ACEOF
3663 #define STDC_HEADERS 1
3664 _ACEOF
3665
3666 fi
3667
3668 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3679 inttypes.h stdint.h unistd.h
3680 do
3681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3682 echo "$as_me:$LINENO: checking for $ac_header" >&5
3683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3685 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 else
3687 cat >conftest.$ac_ext <<_ACEOF
3688 /* confdefs.h. */
3689 _ACEOF
3690 cat confdefs.h >>conftest.$ac_ext
3691 cat >>conftest.$ac_ext <<_ACEOF
3692 /* end confdefs.h. */
3693 $ac_includes_default
3694
3695 #include <$ac_header>
3696 _ACEOF
3697 rm -f conftest.$ac_objext
3698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3699 (eval $ac_compile) 2>conftest.er1
3700 ac_status=$?
3701 grep -v '^ *+' conftest.er1 >conftest.err
3702 rm -f conftest.er1
3703 cat conftest.err >&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); } &&
3706 { ac_try='test -z "$ac_c_werror_flag"
3707 || test ! -s conftest.err'
3708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3709 (eval $ac_try) 2>&5
3710 ac_status=$?
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); }; } &&
3713 { ac_try='test -s conftest.$ac_objext'
3714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3715 (eval $ac_try) 2>&5
3716 ac_status=$?
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); }; }; then
3719 eval "$as_ac_Header=yes"
3720 else
3721 echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.$ac_ext >&5
3723
3724 eval "$as_ac_Header=no"
3725 fi
3726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3727 fi
3728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3731 cat >>confdefs.h <<_ACEOF
3732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3733 _ACEOF
3734
3735 fi
3736
3737 done
3738
3739
3740 # Check whether --enable-alsa or --disable-alsa was given.
3741 if test "${enable_alsa+set}" = set; then
3742 enableval="$enable_alsa"
3743 case "${enableval}" in
3744 yes) COMPILE_ALSA=yes ;;
3745 no) COMPILE_ALSA=no ;;
3746 *) COMPILE_ALSA=yes ;;
3747 esac
3748 else
3749
3750 for ac_header in alsa/asoundlib.h
3751 do
3752 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3754 echo "$as_me:$LINENO: checking for $ac_header" >&5
3755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3758 fi
3759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3761 else
3762 # Is the header compilable?
3763 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3764 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3765 cat >conftest.$ac_ext <<_ACEOF
3766 /* confdefs.h. */
3767 _ACEOF
3768 cat confdefs.h >>conftest.$ac_ext
3769 cat >>conftest.$ac_ext <<_ACEOF
3770 /* end confdefs.h. */
3771 $ac_includes_default
3772 #include <$ac_header>
3773 _ACEOF
3774 rm -f conftest.$ac_objext
3775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3776 (eval $ac_compile) 2>conftest.er1
3777 ac_status=$?
3778 grep -v '^ *+' conftest.er1 >conftest.err
3779 rm -f conftest.er1
3780 cat conftest.err >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); } &&
3783 { ac_try='test -z "$ac_c_werror_flag"
3784 || test ! -s conftest.err'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3786 (eval $ac_try) 2>&5
3787 ac_status=$?
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; } &&
3790 { ac_try='test -s conftest.$ac_objext'
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
3796 ac_header_compiler=yes
3797 else
3798 echo "$as_me: failed program was:" >&5
3799 sed 's/^/| /' conftest.$ac_ext >&5
3800
3801 ac_header_compiler=no
3802 fi
3803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3805 echo "${ECHO_T}$ac_header_compiler" >&6
3806
3807 # Is the header present?
3808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3810 cat >conftest.$ac_ext <<_ACEOF
3811 /* confdefs.h. */
3812 _ACEOF
3813 cat confdefs.h >>conftest.$ac_ext
3814 cat >>conftest.$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3816 #include <$ac_header>
3817 _ACEOF
3818 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3819 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3820 ac_status=$?
3821 grep -v '^ *+' conftest.er1 >conftest.err
3822 rm -f conftest.er1
3823 cat conftest.err >&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } >/dev/null; then
3826 if test -s conftest.err; then
3827 ac_cpp_err=$ac_c_preproc_warn_flag
3828 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3829 else
3830 ac_cpp_err=
3831 fi
3832 else
3833 ac_cpp_err=yes
3834 fi
3835 if test -z "$ac_cpp_err"; then
3836 ac_header_preproc=yes
3837 else
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.$ac_ext >&5
3840
3841 ac_header_preproc=no
3842 fi
3843 rm -f conftest.err conftest.$ac_ext
3844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3845 echo "${ECHO_T}$ac_header_preproc" >&6
3846
3847 # So? What about this header?
3848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3849 yes:no: )
3850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3853 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3854 ac_header_preproc=yes
3855 ;;
3856 no:yes:* )
3857 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3858 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3859 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3860 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3861 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3862 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3863 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3864 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3866 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3867 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3868 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3869 (
3870 cat <<\_ASBOX
3871 ## -------------------------------- ##
3872 ## Report this to classpath@gnu.org ##
3873 ## -------------------------------- ##
3874 _ASBOX
3875 ) |
3876 sed "s/^/$as_me: WARNING: /" >&2
3877 ;;
3878 esac
3879 echo "$as_me:$LINENO: checking for $ac_header" >&5
3880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3883 else
3884 eval "$as_ac_Header=\$ac_header_preproc"
3885 fi
3886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3888
3889 fi
3890 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3891 cat >>confdefs.h <<_ACEOF
3892 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3893 _ACEOF
3894 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
3895 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
3896 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3898 else
3899 ac_check_lib_save_LIBS=$LIBS
3900 LIBS="-lasound $LIBS"
3901 cat >conftest.$ac_ext <<_ACEOF
3902 /* confdefs.h. */
3903 _ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3907
3908 /* Override any gcc2 internal prototype to avoid an error. */
3909 #ifdef __cplusplus
3910 extern "C"
3911 #endif
3912 /* We use char because int might match the return type of a gcc2
3913 builtin and then its argument prototype would still apply. */
3914 char snd_seq_open ();
3915 int
3916 main ()
3917 {
3918 snd_seq_open ();
3919 ;
3920 return 0;
3921 }
3922 _ACEOF
3923 rm -f conftest.$ac_objext conftest$ac_exeext
3924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3925 (eval $ac_link) 2>conftest.er1
3926 ac_status=$?
3927 grep -v '^ *+' conftest.er1 >conftest.err
3928 rm -f conftest.er1
3929 cat conftest.err >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } &&
3932 { ac_try='test -z "$ac_c_werror_flag"
3933 || test ! -s conftest.err'
3934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3935 (eval $ac_try) 2>&5
3936 ac_status=$?
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); }; } &&
3939 { ac_try='test -s conftest$ac_exeext'
3940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3941 (eval $ac_try) 2>&5
3942 ac_status=$?
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); }; }; then
3945 ac_cv_lib_asound_snd_seq_open=yes
3946 else
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.$ac_ext >&5
3949
3950 ac_cv_lib_asound_snd_seq_open=no
3951 fi
3952 rm -f conftest.err conftest.$ac_objext \
3953 conftest$ac_exeext conftest.$ac_ext
3954 LIBS=$ac_check_lib_save_LIBS
3955 fi
3956 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
3957 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
3958 if test $ac_cv_lib_asound_snd_seq_open = yes; then
3959 COMPILE_ALSA=yes
3960 else
3961 COMPILE_ALSA=no
3962 fi
3963
3964 else
3965 COMPILE_ALSA=no
3966 fi
3967
3968 done
3969
3970 fi;
3971
3972
3973 if test "x${COMPILE_ALSA}" = xyes; then
3974 CREATE_ALSA_LIBRARIES_TRUE=
3975 CREATE_ALSA_LIBRARIES_FALSE='#'
3976 else
3977 CREATE_ALSA_LIBRARIES_TRUE='#'
3978 CREATE_ALSA_LIBRARIES_FALSE=
3979 fi
3980
3981
3982 # Check whether --enable-dssi or --disable-dssi was given.
3983 if test "${enable_dssi+set}" = set; then
3984 enableval="$enable_dssi"
3985 case "${enableval}" in
3986 yes) COMPILE_DSSI=yes ;;
3987 no) COMPILE_DSSI=no ;;
3988 *) COMPILE_DSSI=yes ;;
3989 esac
3990 else
3991
3992 for ac_header in dssi.h
3993 do
3994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3996 echo "$as_me:$LINENO: checking for $ac_header" >&5
3997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4000 fi
4001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4003 else
4004 # Is the header compilable?
4005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4007 cat >conftest.$ac_ext <<_ACEOF
4008 /* confdefs.h. */
4009 _ACEOF
4010 cat confdefs.h >>conftest.$ac_ext
4011 cat >>conftest.$ac_ext <<_ACEOF
4012 /* end confdefs.h. */
4013 $ac_includes_default
4014 #include <$ac_header>
4015 _ACEOF
4016 rm -f conftest.$ac_objext
4017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4018 (eval $ac_compile) 2>conftest.er1
4019 ac_status=$?
4020 grep -v '^ *+' conftest.er1 >conftest.err
4021 rm -f conftest.er1
4022 cat conftest.err >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } &&
4025 { ac_try='test -z "$ac_c_werror_flag"
4026 || test ! -s conftest.err'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4028 (eval $ac_try) 2>&5
4029 ac_status=$?
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try='test -s conftest.$ac_objext'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034 (eval $ac_try) 2>&5
4035 ac_status=$?
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4038 ac_header_compiler=yes
4039 else
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4042
4043 ac_header_compiler=no
4044 fi
4045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4047 echo "${ECHO_T}$ac_header_compiler" >&6
4048
4049 # Is the header present?
4050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4052 cat >conftest.$ac_ext <<_ACEOF
4053 /* confdefs.h. */
4054 _ACEOF
4055 cat confdefs.h >>conftest.$ac_ext
4056 cat >>conftest.$ac_ext <<_ACEOF
4057 /* end confdefs.h. */
4058 #include <$ac_header>
4059 _ACEOF
4060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4062 ac_status=$?
4063 grep -v '^ *+' conftest.er1 >conftest.err
4064 rm -f conftest.er1
4065 cat conftest.err >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); } >/dev/null; then
4068 if test -s conftest.err; then
4069 ac_cpp_err=$ac_c_preproc_warn_flag
4070 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4071 else
4072 ac_cpp_err=
4073 fi
4074 else
4075 ac_cpp_err=yes
4076 fi
4077 if test -z "$ac_cpp_err"; then
4078 ac_header_preproc=yes
4079 else
4080 echo "$as_me: failed program was:" >&5
4081 sed 's/^/| /' conftest.$ac_ext >&5
4082
4083 ac_header_preproc=no
4084 fi
4085 rm -f conftest.err conftest.$ac_ext
4086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4087 echo "${ECHO_T}$ac_header_preproc" >&6
4088
4089 # So? What about this header?
4090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4091 yes:no: )
4092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4096 ac_header_preproc=yes
4097 ;;
4098 no:yes:* )
4099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4102 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4103 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4105 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4106 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4109 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4111 (
4112 cat <<\_ASBOX
4113 ## -------------------------------- ##
4114 ## Report this to classpath@gnu.org ##
4115 ## -------------------------------- ##
4116 _ASBOX
4117 ) |
4118 sed "s/^/$as_me: WARNING: /" >&2
4119 ;;
4120 esac
4121 echo "$as_me:$LINENO: checking for $ac_header" >&5
4122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 else
4126 eval "$as_ac_Header=\$ac_header_preproc"
4127 fi
4128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4130
4131 fi
4132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4133 cat >>confdefs.h <<_ACEOF
4134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4135 _ACEOF
4136 COMPILE_DSSI=yes
4137 else
4138 COMPILE_DSSI=no
4139 fi
4140
4141 done
4142
4143 fi;
4144
4145
4146 if test "x${COMPILE_DSSI}" = xyes; then
4147 CREATE_DSSI_LIBRARIES_TRUE=
4148 CREATE_DSSI_LIBRARIES_FALSE='#'
4149 else
4150 CREATE_DSSI_LIBRARIES_TRUE='#'
4151 CREATE_DSSI_LIBRARIES_FALSE=
4152 fi
4153
4154
4155 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4156 if test "${enable_gtk_peer+set}" = set; then
4157 enableval="$enable_gtk_peer"
4158 case "${enableval}" in
4159 yes) COMPILE_GTK_PEER=yes ;;
4160 no) COMPILE_GTK_PEER=no ;;
4161 *) COMPILE_GTK_PEER=yes ;;
4162 esac
4163 else
4164 COMPILE_GTK_PEER=yes
4165 fi;
4166
4167
4168 if test "x${COMPILE_GTK_PEER}" = xyes; then
4169 CREATE_GTK_PEER_LIBRARIES_TRUE=
4170 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4171 else
4172 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4173 CREATE_GTK_PEER_LIBRARIES_FALSE=
4174 fi
4175
4176
4177 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4178 if test "${enable_gtk_peers+set}" = set; then
4179 enableval="$enable_gtk_peers"
4180 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4181 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4182 { (exit 1); exit 1; }; }
4183 fi;
4184
4185 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
4186 if test "${enable_gtk_cairo+set}" = set; then
4187 enableval="$enable_gtk_cairo"
4188 case "${enableval}" in
4189 yes) GTK_CAIRO_ENABLED=true ;;
4190 no) GTK_CAIRO_ENABLED=false ;;
4191 *) GTK_CAIRO_ENABLED=true ;;
4192 esac
4193 else
4194 GTK_CAIRO_ENABLED=false
4195 fi;
4196
4197 if test "x${GTK_CAIRO_ENABLED}" = xtrue; then
4198
4199 cat >>confdefs.h <<\_ACEOF
4200 #define GTK_CAIRO 1
4201 _ACEOF
4202
4203 fi
4204
4205
4206 if test "x${GTK_CAIRO_ENABLED}" = xtrue; then
4207 GTK_CAIRO_TRUE=
4208 GTK_CAIRO_FALSE='#'
4209 else
4210 GTK_CAIRO_TRUE='#'
4211 GTK_CAIRO_FALSE=
4212 fi
4213
4214
4215 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4216 if test "${enable_qt_peer+set}" = set; then
4217 enableval="$enable_qt_peer"
4218 case "${enableval}" in
4219 yes) COMPILE_QT_PEER=yes ;;
4220 no) COMPILE_QT_PEER=no ;;
4221 *) COMPILE_QT_PEER=yes ;;
4222 esac
4223 else
4224 COMPILE_QT_PEER=no
4225 fi;
4226
4227
4228 if test "x${COMPILE_QT_PEER}" = xyes; then
4229 CREATE_QT_PEER_LIBRARIES_TRUE=
4230 CREATE_QT_PEER_LIBRARIES_FALSE='#'
4231 else
4232 CREATE_QT_PEER_LIBRARIES_TRUE='#'
4233 CREATE_QT_PEER_LIBRARIES_FALSE=
4234 fi
4235
4236
4237
4238
4239 # Check whether --with-native-libdir or --without-native-libdir was given.
4240 if test "${with_native_libdir+set}" = set; then
4241 withval="$with_native_libdir"
4242
4243 nativeexeclibdir=${withval}
4244
4245 else
4246
4247 nativeexeclibdir='${libdir}/${PACKAGE}'
4248
4249 fi;
4250
4251
4252
4253
4254 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4255 if test "${with_glibj_dir+set}" = set; then
4256 withval="$with_glibj_dir"
4257
4258 glibjdir=${withval}
4259
4260 else
4261
4262 glibjdir='${datadir}/${PACKAGE}'
4263
4264 fi;
4265
4266
4267
4268 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4269 if test "${enable_regen_headers+set}" = set; then
4270 enableval="$enable_regen_headers"
4271 case "${enableval}" in
4272 yes) REGENERATE_JNI_HEADERS=yes ;;
4273 no) REGENERATE_JNI_HEADERS=no ;;
4274 *) REGENERATE_JNI_HEADERS=no ;;
4275 esac
4276 else
4277 REGENERATE_JNI_HEADERS=no
4278 fi;
4279
4280
4281 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4282 CREATE_JNI_HEADERS_TRUE=
4283 CREATE_JNI_HEADERS_FALSE='#'
4284 else
4285 CREATE_JNI_HEADERS_TRUE='#'
4286 CREATE_JNI_HEADERS_FALSE=
4287 fi
4288
4289
4290 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4291 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4292 LN_S=$as_ln_s
4293 if test "$LN_S" = "ln -s"; then
4294 echo "$as_me:$LINENO: result: yes" >&5
4295 echo "${ECHO_T}yes" >&6
4296 else
4297 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4298 echo "${ECHO_T}no, using $LN_S" >&6
4299 fi
4300
4301 # Find a good install program. We prefer a C program (faster),
4302 # so one script is as good as another. But avoid the broken or
4303 # incompatible versions:
4304 # SysV /etc/install, /usr/sbin/install
4305 # SunOS /usr/etc/install
4306 # IRIX /sbin/install
4307 # AIX /bin/install
4308 # AmigaOS /C/install, which installs bootblocks on floppy discs
4309 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4310 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4311 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4312 # OS/2's system install, which has a completely different semantic
4313 # ./install, which can be erroneously created by make from ./install.sh.
4314 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4315 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4316 if test -z "$INSTALL"; then
4317 if test "${ac_cv_path_install+set}" = set; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 else
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 for as_dir in $PATH
4322 do
4323 IFS=$as_save_IFS
4324 test -z "$as_dir" && as_dir=.
4325 # Account for people who put trailing slashes in PATH elements.
4326 case $as_dir/ in
4327 ./ | .// | /cC/* | \
4328 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4329 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4330 /usr/ucb/* ) ;;
4331 *)
4332 # OSF1 and SCO ODT 3.0 have their own names for install.
4333 # Don't use installbsd from OSF since it installs stuff as root
4334 # by default.
4335 for ac_prog in ginstall scoinst install; do
4336 for ac_exec_ext in '' $ac_executable_extensions; do
4337 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4338 if test $ac_prog = install &&
4339 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4340 # AIX install. It has an incompatible calling convention.
4341 :
4342 elif test $ac_prog = install &&
4343 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4344 # program-specific install script used by HP pwplus--don't use.
4345 :
4346 else
4347 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4348 break 3
4349 fi
4350 fi
4351 done
4352 done
4353 ;;
4354 esac
4355 done
4356
4357
4358 fi
4359 if test "${ac_cv_path_install+set}" = set; then
4360 INSTALL=$ac_cv_path_install
4361 else
4362 # As a last resort, use the slow shell script. We don't cache a
4363 # path for INSTALL within a source directory, because that will
4364 # break other packages using the cache if that directory is
4365 # removed, or if the path is relative.
4366 INSTALL=$ac_install_sh
4367 fi
4368 fi
4369 echo "$as_me:$LINENO: result: $INSTALL" >&5
4370 echo "${ECHO_T}$INSTALL" >&6
4371
4372 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4373 # It thinks the first close brace ends the variable substitution.
4374 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4375
4376 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4377
4378 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4379
4380
4381
4382 # Check whether --enable-static or --disable-static was given.
4383 if test "${enable_static+set}" = set; then
4384 enableval="$enable_static"
4385 p=${PACKAGE-default}
4386 case $enableval in
4387 yes) enable_static=yes ;;
4388 no) enable_static=no ;;
4389 *)
4390 enable_static=no
4391 # Look at the argument we got. We use all the common list separators.
4392 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4393 for pkg in $enableval; do
4394 if test "X$pkg" = "X$p"; then
4395 enable_static=yes
4396 fi
4397 done
4398 IFS="$ac_save_ifs"
4399 ;;
4400 esac
4401 else
4402 enable_static=no
4403 fi;
4404 # Check whether --enable-shared or --disable-shared was given.
4405 if test "${enable_shared+set}" = set; then
4406 enableval="$enable_shared"
4407 p=${PACKAGE-default}
4408 case $enableval in
4409 yes) enable_shared=yes ;;
4410 no) enable_shared=no ;;
4411 *)
4412 enable_shared=no
4413 # Look at the argument we got. We use all the common list separators.
4414 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4415 for pkg in $enableval; do
4416 if test "X$pkg" = "X$p"; then
4417 enable_shared=yes
4418 fi
4419 done
4420 IFS="$ac_save_ifs"
4421 ;;
4422 esac
4423 else
4424 enable_shared=yes
4425 fi;
4426 # Check whether --enable-fast-install or --disable-fast-install was given.
4427 if test "${enable_fast_install+set}" = set; then
4428 enableval="$enable_fast_install"
4429 p=${PACKAGE-default}
4430 case $enableval in
4431 yes) enable_fast_install=yes ;;
4432 no) enable_fast_install=no ;;
4433 *)
4434 enable_fast_install=no
4435 # Look at the argument we got. We use all the common list separators.
4436 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4437 for pkg in $enableval; do
4438 if test "X$pkg" = "X$p"; then
4439 enable_fast_install=yes
4440 fi
4441 done
4442 IFS="$ac_save_ifs"
4443 ;;
4444 esac
4445 else
4446 enable_fast_install=yes
4447 fi;
4448
4449 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4450 if test "${with_gnu_ld+set}" = set; then
4451 withval="$with_gnu_ld"
4452 test "$withval" = no || with_gnu_ld=yes
4453 else
4454 with_gnu_ld=no
4455 fi;
4456 ac_prog=ld
4457 if test "$GCC" = yes; then
4458 # Check if gcc -print-prog-name=ld gives a path.
4459 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4460 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4461 case $host in
4462 *-*-mingw*)
4463 # gcc leaves a trailing carriage return which upsets mingw
4464 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4465 *)
4466 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4467 esac
4468 case $ac_prog in
4469 # Accept absolute paths.
4470 [\\/]* | [A-Za-z]:[\\/]*)
4471 re_direlt='/[^/][^/]*/\.\./'
4472 # Canonicalize the path of ld
4473 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4474 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4475 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4476 done
4477 test -z "$LD" && LD="$ac_prog"
4478 ;;
4479 "")
4480 # If it fails, then pretend we aren't using GCC.
4481 ac_prog=ld
4482 ;;
4483 *)
4484 # If it is relative, then search for the first ld in PATH.
4485 with_gnu_ld=unknown
4486 ;;
4487 esac
4488 elif test "$with_gnu_ld" = yes; then
4489 echo "$as_me:$LINENO: checking for GNU ld" >&5
4490 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4491 else
4492 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4493 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4494 fi
4495 if test "${lt_cv_path_LD+set}" = set; then
4496 echo $ECHO_N "(cached) $ECHO_C" >&6
4497 else
4498 if test -z "$LD"; then
4499 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4500 for ac_dir in $PATH; do
4501 test -z "$ac_dir" && ac_dir=.
4502 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4503 lt_cv_path_LD="$ac_dir/$ac_prog"
4504 # Check to see if the program is GNU ld. I'd rather use --version,
4505 # but apparently some GNU ld's only accept -v.
4506 # Break only if it was the GNU/non-GNU ld that we prefer.
4507 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4508 test "$with_gnu_ld" != no && break
4509 else
4510 test "$with_gnu_ld" != yes && break
4511 fi
4512 fi
4513 done
4514 IFS="$ac_save_ifs"
4515 else
4516 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4517 fi
4518 fi
4519
4520 LD="$lt_cv_path_LD"
4521 if test -n "$LD"; then
4522 echo "$as_me:$LINENO: result: $LD" >&5
4523 echo "${ECHO_T}$LD" >&6
4524 else
4525 echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6
4527 fi
4528 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4529 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4530 { (exit 1); exit 1; }; }
4531 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4532 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4533 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4534 echo $ECHO_N "(cached) $ECHO_C" >&6
4535 else
4536 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4537 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4538 lt_cv_prog_gnu_ld=yes
4539 else
4540 lt_cv_prog_gnu_ld=no
4541 fi
4542 fi
4543 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4544 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4545 with_gnu_ld=$lt_cv_prog_gnu_ld
4546
4547
4548 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4549 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4550 if test "${lt_cv_ld_reload_flag+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 else
4553 lt_cv_ld_reload_flag='-r'
4554 fi
4555 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4556 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4557 reload_flag=$lt_cv_ld_reload_flag
4558 test -n "$reload_flag" && reload_flag=" $reload_flag"
4559
4560 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4561 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4562 if test "${lt_cv_path_NM+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4564 else
4565 if test -n "$NM"; then
4566 # Let the user override the test.
4567 lt_cv_path_NM="$NM"
4568 else
4569 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4570 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4571 test -z "$ac_dir" && ac_dir=.
4572 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4573 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4574 # Check to see if the nm accepts a BSD-compat flag.
4575 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4576 # nm: unknown option "B" ignored
4577 # Tru64's nm complains that /dev/null is an invalid object file
4578 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4579 lt_cv_path_NM="$tmp_nm -B"
4580 break
4581 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4582 lt_cv_path_NM="$tmp_nm -p"
4583 break
4584 else
4585 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4586 continue # so that we can try to find one that supports BSD flags
4587 fi
4588 fi
4589 done
4590 IFS="$ac_save_ifs"
4591 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4592 fi
4593 fi
4594
4595 NM="$lt_cv_path_NM"
4596 echo "$as_me:$LINENO: result: $NM" >&5
4597 echo "${ECHO_T}$NM" >&6
4598
4599 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4600 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4601 if test "${lt_cv_deplibs_check_method+set}" = set; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 else
4604 lt_cv_file_magic_cmd='$MAGIC_CMD'
4605 lt_cv_file_magic_test_file=
4606 lt_cv_deplibs_check_method='unknown'
4607 # Need to set the preceding variable on all platforms that support
4608 # interlibrary dependencies.
4609 # 'none' -- dependencies not supported.
4610 # `unknown' -- same as none, but documents that we really don't know.
4611 # 'pass_all' -- all dependencies passed with no checks.
4612 # 'test_compile' -- check by making test program.
4613 # 'file_magic [regex]' -- check by looking for files in library path
4614 # which responds to the $file_magic_cmd with a given egrep regex.
4615 # If you have `file' or equivalent on your system and you're not sure
4616 # whether `pass_all' will *always* work, you probably want this one.
4617
4618 case $host_os in
4619 aix*)
4620 lt_cv_deplibs_check_method=pass_all
4621 ;;
4622
4623 beos*)
4624 lt_cv_deplibs_check_method=pass_all
4625 ;;
4626
4627 bsdi4*)
4628 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4629 lt_cv_file_magic_cmd='/usr/bin/file -L'
4630 lt_cv_file_magic_test_file=/shlib/libc.so
4631 ;;
4632
4633 cygwin* | mingw* |pw32*)
4634 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4635 lt_cv_file_magic_cmd='$OBJDUMP -f'
4636 ;;
4637
4638 darwin* | rhapsody*)
4639 # this will be overwritten by pass_all, but leave it in just in case
4640 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4641 lt_cv_file_magic_cmd='/usr/bin/file -L'
4642 case "$host_os" in
4643 rhapsody* | darwin1.012)
4644 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4645 ;;
4646 *) # Darwin 1.3 on
4647 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4648 ;;
4649 esac
4650 lt_cv_deplibs_check_method=pass_all
4651 ;;
4652
4653 freebsd* | kfreebsd*-gnu)
4654 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4655 case $host_cpu in
4656 i*86 )
4657 # Not sure whether the presence of OpenBSD here was a mistake.
4658 # Let's accept both of them until this is cleared up.
4659 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4660 lt_cv_file_magic_cmd=/usr/bin/file
4661 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4662 ;;
4663 esac
4664 else
4665 lt_cv_deplibs_check_method=pass_all
4666 fi
4667 ;;
4668
4669 gnu*)
4670 lt_cv_deplibs_check_method=pass_all
4671 ;;
4672
4673 hpux10.20*|hpux11*)
4674 case $host_cpu in
4675 hppa*)
4676 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4677 lt_cv_file_magic_cmd=/usr/bin/file
4678 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4679 ;;
4680 ia64*)
4681 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4682 lt_cv_file_magic_cmd=/usr/bin/file
4683 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4684 ;;
4685 esac
4686 ;;
4687
4688 irix5* | irix6*)
4689 case $host_os in
4690 irix5*)
4691 # this will be overridden with pass_all, but let us keep it just in case
4692 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4693 ;;
4694 *)
4695 case $LD in
4696 *-32|*"-32 ") libmagic=32-bit;;
4697 *-n32|*"-n32 ") libmagic=N32;;
4698 *-64|*"-64 ") libmagic=64-bit;;
4699 *) libmagic=never-match;;
4700 esac
4701 # this will be overridden with pass_all, but let us keep it just in case
4702 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4703 ;;
4704 esac
4705 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4706 lt_cv_deplibs_check_method=pass_all
4707 ;;
4708
4709 # This must be Linux ELF.
4710 linux-gnu*)
4711 lt_cv_deplibs_check_method=pass_all
4712 ;;
4713
4714 netbsd* | knetbsd*-gnu)
4715 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4716 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4717 else
4718 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4719 fi
4720 ;;
4721
4722 newsos6)
4723 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4724 lt_cv_file_magic_cmd=/usr/bin/file
4725 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4726 ;;
4727
4728 osf3* | osf4* | osf5*)
4729 # this will be overridden with pass_all, but let us keep it just in case
4730 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4731 lt_cv_file_magic_test_file=/shlib/libc.so
4732 lt_cv_deplibs_check_method=pass_all
4733 ;;
4734
4735 sco3.2v5*)
4736 lt_cv_deplibs_check_method=pass_all
4737 ;;
4738
4739 solaris*)
4740 lt_cv_deplibs_check_method=pass_all
4741 lt_cv_file_magic_test_file=/lib/libc.so
4742 ;;
4743
4744 sysv5uw[78]* | sysv4*uw2*)
4745 lt_cv_deplibs_check_method=pass_all
4746 ;;
4747
4748 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4749 case $host_vendor in
4750 ncr)
4751 lt_cv_deplibs_check_method=pass_all
4752 ;;
4753 motorola)
4754 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]'
4755 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4756 ;;
4757 esac
4758 ;;
4759 esac
4760
4761 fi
4762 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4763 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4764 file_magic_cmd=$lt_cv_file_magic_cmd
4765 deplibs_check_method=$lt_cv_deplibs_check_method
4766
4767
4768
4769
4770 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4771
4772 # find the maximum length of command line arguments
4773 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4774 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4775 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4776 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 else
4778 i=0
4779 teststring="ABCD"
4780
4781 case $build_os in
4782 msdosdjgpp*)
4783 # On DJGPP, this test can blow up pretty badly due to problems in libc
4784 # (any single argument exceeding 2000 bytes causes a buffer overrun
4785 # during glob expansion). Even if it were fixed, the result of this
4786 # check would be larger than it should be.
4787 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4788 ;;
4789
4790 cygwin* | mingw*)
4791 # On Win9x/ME, this test blows up -- it succeeds, but takes
4792 # about 5 minutes as the teststring grows exponentially.
4793 # Worse, since 9x/ME are not pre-emptively multitasking,
4794 # you end up with a "frozen" computer, even though with patience
4795 # the test eventually succeeds (with a max line length of 256k).
4796 # Instead, let's just punt: use the minimum linelength reported by
4797 # all of the supported platforms: 8192 (on NT/2K/XP).
4798 lt_cv_sys_max_cmd_len=8192;
4799 ;;
4800
4801 amigaos*)
4802 # On AmigaOS with pdksh, this test takes hours, literally.
4803 # So we just punt and use a minimum line length of 8192.
4804 lt_cv_sys_max_cmd_len=8192;
4805 ;;
4806
4807 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4808 # This has been around since 386BSD, at least. Likely further.
4809 if test -x /sbin/sysctl; then
4810 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4811 elif test -x /usr/sbin/sysctl; then
4812 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4813 else
4814 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4815 fi
4816 # And add a safety zone
4817 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4818 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4819 ;;
4820 esac
4821
4822 fi
4823
4824 if test -n "$lt_cv_sys_max_cmd_len" ; then
4825 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4826 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4827 else
4828 echo "$as_me:$LINENO: result: none" >&5
4829 echo "${ECHO_T}none" >&6
4830 fi
4831
4832
4833 # Only perform the check for file, if the check method requires it
4834 case $deplibs_check_method in
4835 file_magic*)
4836 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4837 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4838 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4839 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4841 else
4842 case $MAGIC_CMD in
4843 /*)
4844 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4845 ;;
4846 ?:/*)
4847 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4848 ;;
4849 *)
4850 ac_save_MAGIC_CMD="$MAGIC_CMD"
4851 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4852 ac_dummy="/usr/bin:$PATH"
4853 for ac_dir in $ac_dummy; do
4854 test -z "$ac_dir" && ac_dir=.
4855 if test -f $ac_dir/${ac_tool_prefix}file; then
4856 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4857 if test -n "$file_magic_test_file"; then
4858 case $deplibs_check_method in
4859 "file_magic "*)
4860 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4861 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4862 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4863 egrep "$file_magic_regex" > /dev/null; then
4864 :
4865 else
4866 cat <<EOF 1>&2
4867
4868 *** Warning: the command libtool uses to detect shared libraries,
4869 *** $file_magic_cmd, produces output that libtool cannot recognize.
4870 *** The result is that libtool may fail to recognize shared libraries
4871 *** as such. This will affect the creation of libtool libraries that
4872 *** depend on shared libraries, but programs linked with such libtool
4873 *** libraries will work regardless of this problem. Nevertheless, you
4874 *** may want to report the problem to your system manager and/or to
4875 *** bug-libtool@gnu.org
4876
4877 EOF
4878 fi ;;
4879 esac
4880 fi
4881 break
4882 fi
4883 done
4884 IFS="$ac_save_ifs"
4885 MAGIC_CMD="$ac_save_MAGIC_CMD"
4886 ;;
4887 esac
4888 fi
4889
4890 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4891 if test -n "$MAGIC_CMD"; then
4892 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4893 echo "${ECHO_T}$MAGIC_CMD" >&6
4894 else
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4897 fi
4898
4899 if test -z "$lt_cv_path_MAGIC_CMD"; then
4900 if test -n "$ac_tool_prefix"; then
4901 echo "$as_me:$LINENO: checking for file" >&5
4902 echo $ECHO_N "checking for file... $ECHO_C" >&6
4903 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4904 echo $ECHO_N "(cached) $ECHO_C" >&6
4905 else
4906 case $MAGIC_CMD in
4907 /*)
4908 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4909 ;;
4910 ?:/*)
4911 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4912 ;;
4913 *)
4914 ac_save_MAGIC_CMD="$MAGIC_CMD"
4915 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4916 ac_dummy="/usr/bin:$PATH"
4917 for ac_dir in $ac_dummy; do
4918 test -z "$ac_dir" && ac_dir=.
4919 if test -f $ac_dir/file; then
4920 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4921 if test -n "$file_magic_test_file"; then
4922 case $deplibs_check_method in
4923 "file_magic "*)
4924 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4925 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4926 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4927 egrep "$file_magic_regex" > /dev/null; then
4928 :
4929 else
4930 cat <<EOF 1>&2
4931
4932 *** Warning: the command libtool uses to detect shared libraries,
4933 *** $file_magic_cmd, produces output that libtool cannot recognize.
4934 *** The result is that libtool may fail to recognize shared libraries
4935 *** as such. This will affect the creation of libtool libraries that
4936 *** depend on shared libraries, but programs linked with such libtool
4937 *** libraries will work regardless of this problem. Nevertheless, you
4938 *** may want to report the problem to your system manager and/or to
4939 *** bug-libtool@gnu.org
4940
4941 EOF
4942 fi ;;
4943 esac
4944 fi
4945 break
4946 fi
4947 done
4948 IFS="$ac_save_ifs"
4949 MAGIC_CMD="$ac_save_MAGIC_CMD"
4950 ;;
4951 esac
4952 fi
4953
4954 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4955 if test -n "$MAGIC_CMD"; then
4956 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4957 echo "${ECHO_T}$MAGIC_CMD" >&6
4958 else
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4961 fi
4962
4963 else
4964 MAGIC_CMD=:
4965 fi
4966 fi
4967
4968 fi
4969 ;;
4970 esac
4971
4972 if test -n "$ac_tool_prefix"; then
4973 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4974 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4975 echo "$as_me:$LINENO: checking for $ac_word" >&5
4976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4977 if test "${ac_cv_prog_RANLIB+set}" = set; then
4978 echo $ECHO_N "(cached) $ECHO_C" >&6
4979 else
4980 if test -n "$RANLIB"; then
4981 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4982 else
4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 for as_dir in $PATH
4985 do
4986 IFS=$as_save_IFS
4987 test -z "$as_dir" && as_dir=.
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 break 2
4993 fi
4994 done
4995 done
4996
4997 fi
4998 fi
4999 RANLIB=$ac_cv_prog_RANLIB
5000 if test -n "$RANLIB"; then
5001 echo "$as_me:$LINENO: result: $RANLIB" >&5
5002 echo "${ECHO_T}$RANLIB" >&6
5003 else
5004 echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6
5006 fi
5007
5008 fi
5009 if test -z "$ac_cv_prog_RANLIB"; then
5010 ac_ct_RANLIB=$RANLIB
5011 # Extract the first word of "ranlib", so it can be a program name with args.
5012 set dummy ranlib; ac_word=$2
5013 echo "$as_me:$LINENO: checking for $ac_word" >&5
5014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5015 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5016 echo $ECHO_N "(cached) $ECHO_C" >&6
5017 else
5018 if test -n "$ac_ct_RANLIB"; then
5019 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5023 do
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_ac_ct_RANLIB="ranlib"
5029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5031 fi
5032 done
5033 done
5034
5035 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5036 fi
5037 fi
5038 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5039 if test -n "$ac_ct_RANLIB"; then
5040 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5041 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5042 else
5043 echo "$as_me:$LINENO: result: no" >&5
5044 echo "${ECHO_T}no" >&6
5045 fi
5046
5047 RANLIB=$ac_ct_RANLIB
5048 else
5049 RANLIB="$ac_cv_prog_RANLIB"
5050 fi
5051
5052 if test -n "$ac_tool_prefix"; then
5053 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5054 set dummy ${ac_tool_prefix}strip; ac_word=$2
5055 echo "$as_me:$LINENO: checking for $ac_word" >&5
5056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5057 if test "${ac_cv_prog_STRIP+set}" = set; then
5058 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 else
5060 if test -n "$STRIP"; then
5061 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5065 do
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5070 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 break 2
5073 fi
5074 done
5075 done
5076
5077 fi
5078 fi
5079 STRIP=$ac_cv_prog_STRIP
5080 if test -n "$STRIP"; then
5081 echo "$as_me:$LINENO: result: $STRIP" >&5
5082 echo "${ECHO_T}$STRIP" >&6
5083 else
5084 echo "$as_me:$LINENO: result: no" >&5
5085 echo "${ECHO_T}no" >&6
5086 fi
5087
5088 fi
5089 if test -z "$ac_cv_prog_STRIP"; then
5090 ac_ct_STRIP=$STRIP
5091 # Extract the first word of "strip", so it can be a program name with args.
5092 set dummy strip; ac_word=$2
5093 echo "$as_me:$LINENO: checking for $ac_word" >&5
5094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5097 else
5098 if test -n "$ac_ct_STRIP"; then
5099 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5100 else
5101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102 for as_dir in $PATH
5103 do
5104 IFS=$as_save_IFS
5105 test -z "$as_dir" && as_dir=.
5106 for ac_exec_ext in '' $ac_executable_extensions; do
5107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5108 ac_cv_prog_ac_ct_STRIP="strip"
5109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 break 2
5111 fi
5112 done
5113 done
5114
5115 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5116 fi
5117 fi
5118 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5119 if test -n "$ac_ct_STRIP"; then
5120 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5121 echo "${ECHO_T}$ac_ct_STRIP" >&6
5122 else
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5125 fi
5126
5127 STRIP=$ac_ct_STRIP
5128 else
5129 STRIP="$ac_cv_prog_STRIP"
5130 fi
5131
5132
5133 # Check for any special flags to pass to ltconfig.
5134 libtool_flags="--cache-file=$cache_file"
5135 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5136 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5137 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5138 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5139 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5140
5141
5142 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5143 if test "${enable_libtool_lock+set}" = set; then
5144 enableval="$enable_libtool_lock"
5145
5146 fi;
5147 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5148 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5149
5150
5151 # Check whether --with-pic or --without-pic was given.
5152 if test "${with_pic+set}" = set; then
5153 withval="$with_pic"
5154 pic_mode="$withval"
5155 else
5156 pic_mode=default
5157 fi;
5158 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5159 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5160
5161 # Some flags need to be propagated to the compiler or linker for good
5162 # libtool support.
5163 case $host in
5164 *-*-irix6*)
5165 # Find out which ABI we are using.
5166 echo '#line 5166 "configure"' > conftest.$ac_ext
5167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5168 (eval $ac_compile) 2>&5
5169 ac_status=$?
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); }; then
5172 if test "$lt_cv_prog_gnu_ld" = yes; then
5173 case `/usr/bin/file conftest.$ac_objext` in
5174 *32-bit*)
5175 LD="${LD-ld} -melf32bsmip"
5176 ;;
5177 *N32*)
5178 LD="${LD-ld} -melf32bmipn32"
5179 ;;
5180 *64-bit*)
5181 LD="${LD-ld} -melf64bmip"
5182 ;;
5183 esac
5184 else
5185 case `/usr/bin/file conftest.$ac_objext` in
5186 *32-bit*)
5187 LD="${LD-ld} -32"
5188 ;;
5189 *N32*)
5190 LD="${LD-ld} -n32"
5191 ;;
5192 *64-bit*)
5193 LD="${LD-ld} -64"
5194 ;;
5195 esac
5196 fi
5197 fi
5198 rm -rf conftest*
5199 ;;
5200
5201 ia64-*-hpux*)
5202 # Find out which ABI we are using.
5203 echo 'int i;' > conftest.$ac_ext
5204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5205 (eval $ac_compile) 2>&5
5206 ac_status=$?
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); }; then
5209 case "`/usr/bin/file conftest.o`" in
5210 *ELF-32*)
5211 HPUX_IA64_MODE="32"
5212 ;;
5213 *ELF-64*)
5214 HPUX_IA64_MODE="64"
5215 ;;
5216 esac
5217 fi
5218 rm -rf conftest*
5219 ;;
5220
5221 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5222 # Find out which ABI we are using.
5223 echo 'int i;' > conftest.$ac_ext
5224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5225 (eval $ac_compile) 2>&5
5226 ac_status=$?
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }; then
5229 case "`/usr/bin/file conftest.o`" in
5230 *32-bit*)
5231 case $host in
5232 x86_64-*linux*)
5233 LD="${LD-ld} -m elf_i386"
5234 ;;
5235 ppc64-*linux*|powerpc64-*linux*)
5236 LD="${LD-ld} -m elf32ppclinux"
5237 ;;
5238 s390x-*linux*)
5239 LD="${LD-ld} -m elf_s390"
5240 ;;
5241 sparc64-*linux*)
5242 LD="${LD-ld} -m elf32_sparc"
5243 ;;
5244 esac
5245 ;;
5246 *64-bit*)
5247 case $host in
5248 x86_64-*linux*)
5249 LD="${LD-ld} -m elf_x86_64"
5250 ;;
5251 ppc*-*linux*|powerpc*-*linux*)
5252 LD="${LD-ld} -m elf64ppc"
5253 ;;
5254 s390*-*linux*)
5255 LD="${LD-ld} -m elf64_s390"
5256 ;;
5257 sparc*-*linux*)
5258 LD="${LD-ld} -m elf64_sparc"
5259 ;;
5260 esac
5261 ;;
5262 esac
5263 fi
5264 rm -rf conftest*
5265 ;;
5266
5267 *-*-sco3.2v5*)
5268 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5269 SAVE_CFLAGS="$CFLAGS"
5270 CFLAGS="$CFLAGS -belf"
5271 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5272 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5273 if test "${lt_cv_cc_needs_belf+set}" = set; then
5274 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 else
5276
5277
5278 ac_ext=c
5279 ac_cpp='$CPP $CPPFLAGS'
5280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5283
5284 cat >conftest.$ac_ext <<_ACEOF
5285 /* confdefs.h. */
5286 _ACEOF
5287 cat confdefs.h >>conftest.$ac_ext
5288 cat >>conftest.$ac_ext <<_ACEOF
5289 /* end confdefs.h. */
5290
5291 int
5292 main ()
5293 {
5294
5295 ;
5296 return 0;
5297 }
5298 _ACEOF
5299 rm -f conftest.$ac_objext conftest$ac_exeext
5300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5301 (eval $ac_link) 2>conftest.er1
5302 ac_status=$?
5303 grep -v '^ *+' conftest.er1 >conftest.err
5304 rm -f conftest.er1
5305 cat conftest.err >&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); } &&
5308 { ac_try='test -z "$ac_c_werror_flag"
5309 || test ! -s conftest.err'
5310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5311 (eval $ac_try) 2>&5
5312 ac_status=$?
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }; } &&
5315 { ac_try='test -s conftest$ac_exeext'
5316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5317 (eval $ac_try) 2>&5
5318 ac_status=$?
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; }; then
5321 lt_cv_cc_needs_belf=yes
5322 else
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.$ac_ext >&5
5325
5326 lt_cv_cc_needs_belf=no
5327 fi
5328 rm -f conftest.err conftest.$ac_objext \
5329 conftest$ac_exeext conftest.$ac_ext
5330 ac_ext=c
5331 ac_cpp='$CPP $CPPFLAGS'
5332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5335
5336 fi
5337 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5338 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5339 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5340 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5341 CFLAGS="$SAVE_CFLAGS"
5342 fi
5343 ;;
5344
5345
5346 esac
5347
5348
5349 # Save cache, so that ltconfig can load it
5350 cat >confcache <<\_ACEOF
5351 # This file is a shell script that caches the results of configure
5352 # tests run on this system so they can be shared between configure
5353 # scripts and configure runs, see configure's option --config-cache.
5354 # It is not useful on other systems. If it contains results you don't
5355 # want to keep, you may remove or edit it.
5356 #
5357 # config.status only pays attention to the cache file if you give it
5358 # the --recheck option to rerun configure.
5359 #
5360 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5361 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5362 # following values.
5363
5364 _ACEOF
5365
5366 # The following way of writing the cache mishandles newlines in values,
5367 # but we know of no workaround that is simple, portable, and efficient.
5368 # So, don't put newlines in cache variables' values.
5369 # Ultrix sh set writes to stderr and can't be redirected directly,
5370 # and sets the high bit in the cache file unless we assign to the vars.
5371 {
5372 (set) 2>&1 |
5373 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5374 *ac_space=\ *)
5375 # `set' does not quote correctly, so add quotes (double-quote
5376 # substitution turns \\\\ into \\, and sed turns \\ into \).
5377 sed -n \
5378 "s/'/'\\\\''/g;
5379 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5380 ;;
5381 *)
5382 # `set' quotes correctly as required by POSIX, so do not add quotes.
5383 sed -n \
5384 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5385 ;;
5386 esac;
5387 } |
5388 sed '
5389 t clear
5390 : clear
5391 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5392 t end
5393 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5394 : end' >>confcache
5395 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5396 if test -w $cache_file; then
5397 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5398 cat confcache >$cache_file
5399 else
5400 echo "not updating unwritable cache $cache_file"
5401 fi
5402 fi
5403 rm -f confcache
5404
5405 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5406 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
5407 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5408 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5409 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5410 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5411 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
5412 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
5413 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
5414 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5415 echo "$as_me: error: libtool configure failed" >&2;}
5416 { (exit 1); exit 1; }; }
5417
5418 # Reload cache, that may have been modified by ltconfig
5419 if test -r "$cache_file"; then
5420 # Some versions of bash will fail to source /dev/null (special
5421 # files actually), so we avoid doing that.
5422 if test -f "$cache_file"; then
5423 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5424 echo "$as_me: loading cache $cache_file" >&6;}
5425 case $cache_file in
5426 [\\/]* | ?:[\\/]* ) . $cache_file;;
5427 *) . ./$cache_file;;
5428 esac
5429 fi
5430 else
5431 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5432 echo "$as_me: creating cache $cache_file" >&6;}
5433 >$cache_file
5434 fi
5435
5436
5437 # This can be used to rebuild libtool when needed
5438 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5439
5440 # Always use our own libtool.
5441 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5442
5443 # Redirect the config.log output again, so that the ltconfig log is not
5444 # clobbered by the next message.
5445 exec 5>>./config.log
5446
5447
5448
5449
5450
5451
5452 ac_ext=c
5453 ac_cpp='$CPP $CPPFLAGS'
5454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5457 if test -n "$ac_tool_prefix"; then
5458 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5459 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5460 echo "$as_me:$LINENO: checking for $ac_word" >&5
5461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5462 if test "${ac_cv_prog_CC+set}" = set; then
5463 echo $ECHO_N "(cached) $ECHO_C" >&6
5464 else
5465 if test -n "$CC"; then
5466 ac_cv_prog_CC="$CC" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5470 do
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5478 fi
5479 done
5480 done
5481
5482 fi
5483 fi
5484 CC=$ac_cv_prog_CC
5485 if test -n "$CC"; then
5486 echo "$as_me:$LINENO: result: $CC" >&5
5487 echo "${ECHO_T}$CC" >&6
5488 else
5489 echo "$as_me:$LINENO: result: no" >&5
5490 echo "${ECHO_T}no" >&6
5491 fi
5492
5493 fi
5494 if test -z "$ac_cv_prog_CC"; then
5495 ac_ct_CC=$CC
5496 # Extract the first word of "gcc", so it can be a program name with args.
5497 set dummy gcc; ac_word=$2
5498 echo "$as_me:$LINENO: checking for $ac_word" >&5
5499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5500 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5501 echo $ECHO_N "(cached) $ECHO_C" >&6
5502 else
5503 if test -n "$ac_ct_CC"; then
5504 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5505 else
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5508 do
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_ac_ct_CC="gcc"
5514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 break 2
5516 fi
5517 done
5518 done
5519
5520 fi
5521 fi
5522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5523 if test -n "$ac_ct_CC"; then
5524 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5525 echo "${ECHO_T}$ac_ct_CC" >&6
5526 else
5527 echo "$as_me:$LINENO: result: no" >&5
5528 echo "${ECHO_T}no" >&6
5529 fi
5530
5531 CC=$ac_ct_CC
5532 else
5533 CC="$ac_cv_prog_CC"
5534 fi
5535
5536 if test -z "$CC"; then
5537 if test -n "$ac_tool_prefix"; then
5538 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5539 set dummy ${ac_tool_prefix}cc; ac_word=$2
5540 echo "$as_me:$LINENO: checking for $ac_word" >&5
5541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5542 if test "${ac_cv_prog_CC+set}" = set; then
5543 echo $ECHO_N "(cached) $ECHO_C" >&6
5544 else
5545 if test -n "$CC"; then
5546 ac_cv_prog_CC="$CC" # Let the user override the test.
5547 else
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 for as_dir in $PATH
5550 do
5551 IFS=$as_save_IFS
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_CC="${ac_tool_prefix}cc"
5556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 break 2
5558 fi
5559 done
5560 done
5561
5562 fi
5563 fi
5564 CC=$ac_cv_prog_CC
5565 if test -n "$CC"; then
5566 echo "$as_me:$LINENO: result: $CC" >&5
5567 echo "${ECHO_T}$CC" >&6
5568 else
5569 echo "$as_me:$LINENO: result: no" >&5
5570 echo "${ECHO_T}no" >&6
5571 fi
5572
5573 fi
5574 if test -z "$ac_cv_prog_CC"; then
5575 ac_ct_CC=$CC
5576 # Extract the first word of "cc", so it can be a program name with args.
5577 set dummy cc; ac_word=$2
5578 echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5580 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5581 echo $ECHO_N "(cached) $ECHO_C" >&6
5582 else
5583 if test -n "$ac_ct_CC"; then
5584 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5585 else
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 for as_dir in $PATH
5588 do
5589 IFS=$as_save_IFS
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5593 ac_cv_prog_ac_ct_CC="cc"
5594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 break 2
5596 fi
5597 done
5598 done
5599
5600 fi
5601 fi
5602 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5603 if test -n "$ac_ct_CC"; then
5604 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5605 echo "${ECHO_T}$ac_ct_CC" >&6
5606 else
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5609 fi
5610
5611 CC=$ac_ct_CC
5612 else
5613 CC="$ac_cv_prog_CC"
5614 fi
5615
5616 fi
5617 if test -z "$CC"; then
5618 # Extract the first word of "cc", so it can be a program name with args.
5619 set dummy cc; ac_word=$2
5620 echo "$as_me:$LINENO: checking for $ac_word" >&5
5621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5622 if test "${ac_cv_prog_CC+set}" = set; then
5623 echo $ECHO_N "(cached) $ECHO_C" >&6
5624 else
5625 if test -n "$CC"; then
5626 ac_cv_prog_CC="$CC" # Let the user override the test.
5627 else
5628 ac_prog_rejected=no
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630 for as_dir in $PATH
5631 do
5632 IFS=$as_save_IFS
5633 test -z "$as_dir" && as_dir=.
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5636 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5637 ac_prog_rejected=yes
5638 continue
5639 fi
5640 ac_cv_prog_CC="cc"
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5643 fi
5644 done
5645 done
5646
5647 if test $ac_prog_rejected = yes; then
5648 # We found a bogon in the path, so make sure we never use it.
5649 set dummy $ac_cv_prog_CC
5650 shift
5651 if test $# != 0; then
5652 # We chose a different compiler from the bogus one.
5653 # However, it has the same basename, so the bogon will be chosen
5654 # first if we set CC to just the basename; use the full file name.
5655 shift
5656 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5657 fi
5658 fi
5659 fi
5660 fi
5661 CC=$ac_cv_prog_CC
5662 if test -n "$CC"; then
5663 echo "$as_me:$LINENO: result: $CC" >&5
5664 echo "${ECHO_T}$CC" >&6
5665 else
5666 echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6
5668 fi
5669
5670 fi
5671 if test -z "$CC"; then
5672 if test -n "$ac_tool_prefix"; then
5673 for ac_prog in cl
5674 do
5675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5676 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5677 echo "$as_me:$LINENO: checking for $ac_word" >&5
5678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5679 if test "${ac_cv_prog_CC+set}" = set; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 else
5682 if test -n "$CC"; then
5683 ac_cv_prog_CC="$CC" # Let the user override the test.
5684 else
5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 for as_dir in $PATH
5687 do
5688 IFS=$as_save_IFS
5689 test -z "$as_dir" && as_dir=.
5690 for ac_exec_ext in '' $ac_executable_extensions; do
5691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 break 2
5695 fi
5696 done
5697 done
5698
5699 fi
5700 fi
5701 CC=$ac_cv_prog_CC
5702 if test -n "$CC"; then
5703 echo "$as_me:$LINENO: result: $CC" >&5
5704 echo "${ECHO_T}$CC" >&6
5705 else
5706 echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6
5708 fi
5709
5710 test -n "$CC" && break
5711 done
5712 fi
5713 if test -z "$CC"; then
5714 ac_ct_CC=$CC
5715 for ac_prog in cl
5716 do
5717 # Extract the first word of "$ac_prog", so it can be a program name with args.
5718 set dummy $ac_prog; ac_word=$2
5719 echo "$as_me:$LINENO: checking for $ac_word" >&5
5720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5723 else
5724 if test -n "$ac_ct_CC"; then
5725 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5726 else
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH
5729 do
5730 IFS=$as_save_IFS
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_ac_ct_CC="$ac_prog"
5735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 break 2
5737 fi
5738 done
5739 done
5740
5741 fi
5742 fi
5743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5744 if test -n "$ac_ct_CC"; then
5745 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5746 echo "${ECHO_T}$ac_ct_CC" >&6
5747 else
5748 echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6
5750 fi
5751
5752 test -n "$ac_ct_CC" && break
5753 done
5754
5755 CC=$ac_ct_CC
5756 fi
5757
5758 fi
5759
5760
5761 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5762 See \`config.log' for more details." >&5
5763 echo "$as_me: error: no acceptable C compiler found in \$PATH
5764 See \`config.log' for more details." >&2;}
5765 { (exit 1); exit 1; }; }
5766
5767 # Provide some information about the compiler.
5768 echo "$as_me:$LINENO:" \
5769 "checking for C compiler version" >&5
5770 ac_compiler=`set X $ac_compile; echo $2`
5771 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5772 (eval $ac_compiler --version </dev/null >&5) 2>&5
5773 ac_status=$?
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); }
5776 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5777 (eval $ac_compiler -v </dev/null >&5) 2>&5
5778 ac_status=$?
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }
5781 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5782 (eval $ac_compiler -V </dev/null >&5) 2>&5
5783 ac_status=$?
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); }
5786
5787 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5788 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5789 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 else
5792 cat >conftest.$ac_ext <<_ACEOF
5793 /* confdefs.h. */
5794 _ACEOF
5795 cat confdefs.h >>conftest.$ac_ext
5796 cat >>conftest.$ac_ext <<_ACEOF
5797 /* end confdefs.h. */
5798
5799 int
5800 main ()
5801 {
5802 #ifndef __GNUC__
5803 choke me
5804 #endif
5805
5806 ;
5807 return 0;
5808 }
5809 _ACEOF
5810 rm -f conftest.$ac_objext
5811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5812 (eval $ac_compile) 2>conftest.er1
5813 ac_status=$?
5814 grep -v '^ *+' conftest.er1 >conftest.err
5815 rm -f conftest.er1
5816 cat conftest.err >&5
5817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818 (exit $ac_status); } &&
5819 { ac_try='test -z "$ac_c_werror_flag"
5820 || test ! -s conftest.err'
5821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5822 (eval $ac_try) 2>&5
5823 ac_status=$?
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); }; } &&
5826 { ac_try='test -s conftest.$ac_objext'
5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5828 (eval $ac_try) 2>&5
5829 ac_status=$?
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; }; then
5832 ac_compiler_gnu=yes
5833 else
5834 echo "$as_me: failed program was:" >&5
5835 sed 's/^/| /' conftest.$ac_ext >&5
5836
5837 ac_compiler_gnu=no
5838 fi
5839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5840 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5841
5842 fi
5843 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5844 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5845 GCC=`test $ac_compiler_gnu = yes && echo yes`
5846 ac_test_CFLAGS=${CFLAGS+set}
5847 ac_save_CFLAGS=$CFLAGS
5848 CFLAGS="-g"
5849 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5850 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5851 if test "${ac_cv_prog_cc_g+set}" = set; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5853 else
5854 cat >conftest.$ac_ext <<_ACEOF
5855 /* confdefs.h. */
5856 _ACEOF
5857 cat confdefs.h >>conftest.$ac_ext
5858 cat >>conftest.$ac_ext <<_ACEOF
5859 /* end confdefs.h. */
5860
5861 int
5862 main ()
5863 {
5864
5865 ;
5866 return 0;
5867 }
5868 _ACEOF
5869 rm -f conftest.$ac_objext
5870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5871 (eval $ac_compile) 2>conftest.er1
5872 ac_status=$?
5873 grep -v '^ *+' conftest.er1 >conftest.err
5874 rm -f conftest.er1
5875 cat conftest.err >&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); } &&
5878 { ac_try='test -z "$ac_c_werror_flag"
5879 || test ! -s conftest.err'
5880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 (eval $ac_try) 2>&5
5882 ac_status=$?
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; } &&
5885 { ac_try='test -s conftest.$ac_objext'
5886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5887 (eval $ac_try) 2>&5
5888 ac_status=$?
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); }; }; then
5891 ac_cv_prog_cc_g=yes
5892 else
5893 echo "$as_me: failed program was:" >&5
5894 sed 's/^/| /' conftest.$ac_ext >&5
5895
5896 ac_cv_prog_cc_g=no
5897 fi
5898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5899 fi
5900 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5901 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5902 if test "$ac_test_CFLAGS" = set; then
5903 CFLAGS=$ac_save_CFLAGS
5904 elif test $ac_cv_prog_cc_g = yes; then
5905 if test "$GCC" = yes; then
5906 CFLAGS="-g -O2"
5907 else
5908 CFLAGS="-g"
5909 fi
5910 else
5911 if test "$GCC" = yes; then
5912 CFLAGS="-O2"
5913 else
5914 CFLAGS=
5915 fi
5916 fi
5917 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5918 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5919 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5920 echo $ECHO_N "(cached) $ECHO_C" >&6
5921 else
5922 ac_cv_prog_cc_stdc=no
5923 ac_save_CC=$CC
5924 cat >conftest.$ac_ext <<_ACEOF
5925 /* confdefs.h. */
5926 _ACEOF
5927 cat confdefs.h >>conftest.$ac_ext
5928 cat >>conftest.$ac_ext <<_ACEOF
5929 /* end confdefs.h. */
5930 #include <stdarg.h>
5931 #include <stdio.h>
5932 #include <sys/types.h>
5933 #include <sys/stat.h>
5934 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5935 struct buf { int x; };
5936 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5937 static char *e (p, i)
5938 char **p;
5939 int i;
5940 {
5941 return p[i];
5942 }
5943 static char *f (char * (*g) (char **, int), char **p, ...)
5944 {
5945 char *s;
5946 va_list v;
5947 va_start (v,p);
5948 s = g (p, va_arg (v,int));
5949 va_end (v);
5950 return s;
5951 }
5952
5953 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5954 function prototypes and stuff, but not '\xHH' hex character constants.
5955 These don't provoke an error unfortunately, instead are silently treated
5956 as 'x'. The following induces an error, until -std1 is added to get
5957 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5958 array size at least. It's necessary to write '\x00'==0 to get something
5959 that's true only with -std1. */
5960 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5961
5962 int test (int i, double x);
5963 struct s1 {int (*f) (int a);};
5964 struct s2 {int (*f) (double a);};
5965 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5966 int argc;
5967 char **argv;
5968 int
5969 main ()
5970 {
5971 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5972 ;
5973 return 0;
5974 }
5975 _ACEOF
5976 # Don't try gcc -ansi; that turns off useful extensions and
5977 # breaks some systems' header files.
5978 # AIX -qlanglvl=ansi
5979 # Ultrix and OSF/1 -std1
5980 # HP-UX 10.20 and later -Ae
5981 # HP-UX older versions -Aa -D_HPUX_SOURCE
5982 # SVR4 -Xc -D__EXTENSIONS__
5983 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5984 do
5985 CC="$ac_save_CC $ac_arg"
5986 rm -f conftest.$ac_objext
5987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5988 (eval $ac_compile) 2>conftest.er1
5989 ac_status=$?
5990 grep -v '^ *+' conftest.er1 >conftest.err
5991 rm -f conftest.er1
5992 cat conftest.err >&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } &&
5995 { ac_try='test -z "$ac_c_werror_flag"
5996 || test ! -s conftest.err'
5997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5998 (eval $ac_try) 2>&5
5999 ac_status=$?
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); }; } &&
6002 { ac_try='test -s conftest.$ac_objext'
6003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004 (eval $ac_try) 2>&5
6005 ac_status=$?
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); }; }; then
6008 ac_cv_prog_cc_stdc=$ac_arg
6009 break
6010 else
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.$ac_ext >&5
6013
6014 fi
6015 rm -f conftest.err conftest.$ac_objext
6016 done
6017 rm -f conftest.$ac_ext conftest.$ac_objext
6018 CC=$ac_save_CC
6019
6020 fi
6021
6022 case "x$ac_cv_prog_cc_stdc" in
6023 x|xno)
6024 echo "$as_me:$LINENO: result: none needed" >&5
6025 echo "${ECHO_T}none needed" >&6 ;;
6026 *)
6027 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6028 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6029 CC="$CC $ac_cv_prog_cc_stdc" ;;
6030 esac
6031
6032 # Some people use a C++ compiler to compile C. Since we use `exit',
6033 # in C++ we need to declare it. In case someone uses the same compiler
6034 # for both compiling C and C++ we need to have the C++ compiler decide
6035 # the declaration of exit, since it's the most demanding environment.
6036 cat >conftest.$ac_ext <<_ACEOF
6037 #ifndef __cplusplus
6038 choke me
6039 #endif
6040 _ACEOF
6041 rm -f conftest.$ac_objext
6042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6043 (eval $ac_compile) 2>conftest.er1
6044 ac_status=$?
6045 grep -v '^ *+' conftest.er1 >conftest.err
6046 rm -f conftest.er1
6047 cat conftest.err >&5
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); } &&
6050 { ac_try='test -z "$ac_c_werror_flag"
6051 || test ! -s conftest.err'
6052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6053 (eval $ac_try) 2>&5
6054 ac_status=$?
6055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6056 (exit $ac_status); }; } &&
6057 { ac_try='test -s conftest.$ac_objext'
6058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6059 (eval $ac_try) 2>&5
6060 ac_status=$?
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); }; }; then
6063 for ac_declaration in \
6064 '' \
6065 'extern "C" void std::exit (int) throw (); using std::exit;' \
6066 'extern "C" void std::exit (int); using std::exit;' \
6067 'extern "C" void exit (int) throw ();' \
6068 'extern "C" void exit (int);' \
6069 'void exit (int);'
6070 do
6071 cat >conftest.$ac_ext <<_ACEOF
6072 /* confdefs.h. */
6073 _ACEOF
6074 cat confdefs.h >>conftest.$ac_ext
6075 cat >>conftest.$ac_ext <<_ACEOF
6076 /* end confdefs.h. */
6077 $ac_declaration
6078 #include <stdlib.h>
6079 int
6080 main ()
6081 {
6082 exit (42);
6083 ;
6084 return 0;
6085 }
6086 _ACEOF
6087 rm -f conftest.$ac_objext
6088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6089 (eval $ac_compile) 2>conftest.er1
6090 ac_status=$?
6091 grep -v '^ *+' conftest.er1 >conftest.err
6092 rm -f conftest.er1
6093 cat conftest.err >&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } &&
6096 { ac_try='test -z "$ac_c_werror_flag"
6097 || test ! -s conftest.err'
6098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6099 (eval $ac_try) 2>&5
6100 ac_status=$?
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); }; } &&
6103 { ac_try='test -s conftest.$ac_objext'
6104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6105 (eval $ac_try) 2>&5
6106 ac_status=$?
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); }; }; then
6109 :
6110 else
6111 echo "$as_me: failed program was:" >&5
6112 sed 's/^/| /' conftest.$ac_ext >&5
6113
6114 continue
6115 fi
6116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6117 cat >conftest.$ac_ext <<_ACEOF
6118 /* confdefs.h. */
6119 _ACEOF
6120 cat confdefs.h >>conftest.$ac_ext
6121 cat >>conftest.$ac_ext <<_ACEOF
6122 /* end confdefs.h. */
6123 $ac_declaration
6124 int
6125 main ()
6126 {
6127 exit (42);
6128 ;
6129 return 0;
6130 }
6131 _ACEOF
6132 rm -f conftest.$ac_objext
6133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6134 (eval $ac_compile) 2>conftest.er1
6135 ac_status=$?
6136 grep -v '^ *+' conftest.er1 >conftest.err
6137 rm -f conftest.er1
6138 cat conftest.err >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } &&
6141 { ac_try='test -z "$ac_c_werror_flag"
6142 || test ! -s conftest.err'
6143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6144 (eval $ac_try) 2>&5
6145 ac_status=$?
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); }; } &&
6148 { ac_try='test -s conftest.$ac_objext'
6149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6150 (eval $ac_try) 2>&5
6151 ac_status=$?
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; }; then
6154 break
6155 else
6156 echo "$as_me: failed program was:" >&5
6157 sed 's/^/| /' conftest.$ac_ext >&5
6158
6159 fi
6160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6161 done
6162 rm -f conftest*
6163 if test -n "$ac_declaration"; then
6164 echo '#ifdef __cplusplus' >>confdefs.h
6165 echo $ac_declaration >>confdefs.h
6166 echo '#endif' >>confdefs.h
6167 fi
6168
6169 else
6170 echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.$ac_ext >&5
6172
6173 fi
6174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6175 ac_ext=c
6176 ac_cpp='$CPP $CPPFLAGS'
6177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6180
6181 depcc="$CC" am_compiler_list=
6182
6183 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6184 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6185 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6187 else
6188 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6189 # We make a subdir and do the tests there. Otherwise we can end up
6190 # making bogus files that we don't know about and never remove. For
6191 # instance it was reported that on HP-UX the gcc test will end up
6192 # making a dummy file named `D' -- because `-MD' means `put the output
6193 # in D'.
6194 mkdir conftest.dir
6195 # Copy depcomp to subdir because otherwise we won't find it if we're
6196 # using a relative directory.
6197 cp "$am_depcomp" conftest.dir
6198 cd conftest.dir
6199 # We will build objects and dependencies in a subdirectory because
6200 # it helps to detect inapplicable dependency modes. For instance
6201 # both Tru64's cc and ICC support -MD to output dependencies as a
6202 # side effect of compilation, but ICC will put the dependencies in
6203 # the current directory while Tru64 will put them in the object
6204 # directory.
6205 mkdir sub
6206
6207 am_cv_CC_dependencies_compiler_type=none
6208 if test "$am_compiler_list" = ""; then
6209 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6210 fi
6211 for depmode in $am_compiler_list; do
6212 # Setup a source with many dependencies, because some compilers
6213 # like to wrap large dependency lists on column 80 (with \), and
6214 # we should not choose a depcomp mode which is confused by this.
6215 #
6216 # We need to recreate these files for each test, as the compiler may
6217 # overwrite some of them when testing with obscure command lines.
6218 # This happens at least with the AIX C compiler.
6219 : > sub/conftest.c
6220 for i in 1 2 3 4 5 6; do
6221 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6222 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6223 # Solaris 8's {/usr,}/bin/sh.
6224 touch sub/conftst$i.h
6225 done
6226 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6227
6228 case $depmode in
6229 nosideeffect)
6230 # after this tag, mechanisms are not by side-effect, so they'll
6231 # only be used when explicitly requested
6232 if test "x$enable_dependency_tracking" = xyes; then
6233 continue
6234 else
6235 break
6236 fi
6237 ;;
6238 none) break ;;
6239 esac
6240 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6241 # mode. It turns out that the SunPro C++ compiler does not properly
6242 # handle `-M -o', and we need to detect this.
6243 if depmode=$depmode \
6244 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6245 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6246 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6247 >/dev/null 2>conftest.err &&
6248 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6249 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6250 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6251 # icc doesn't choke on unknown options, it will just issue warnings
6252 # or remarks (even with -Werror). So we grep stderr for any message
6253 # that says an option was ignored or not supported.
6254 # When given -MP, icc 7.0 and 7.1 complain thusly:
6255 # icc: Command line warning: ignoring option '-M'; no argument required
6256 # The diagnosis changed in icc 8.0:
6257 # icc: Command line remark: option '-MP' not supported
6258 if (grep 'ignoring option' conftest.err ||
6259 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6260 am_cv_CC_dependencies_compiler_type=$depmode
6261 break
6262 fi
6263 fi
6264 done
6265
6266 cd ..
6267 rm -rf conftest.dir
6268 else
6269 am_cv_CC_dependencies_compiler_type=none
6270 fi
6271
6272 fi
6273 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6274 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6275 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6276
6277
6278
6279 if
6280 test "x$enable_dependency_tracking" != xno \
6281 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6282 am__fastdepCC_TRUE=
6283 am__fastdepCC_FALSE='#'
6284 else
6285 am__fastdepCC_TRUE='#'
6286 am__fastdepCC_FALSE=
6287 fi
6288
6289
6290 ac_ext=c
6291 ac_cpp='$CPP $CPPFLAGS'
6292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6295 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6296 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6297 # On Suns, sometimes $CPP names a directory.
6298 if test -n "$CPP" && test -d "$CPP"; then
6299 CPP=
6300 fi
6301 if test -z "$CPP"; then
6302 if test "${ac_cv_prog_CPP+set}" = set; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 else
6305 # Double quotes because CPP needs to be expanded
6306 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6307 do
6308 ac_preproc_ok=false
6309 for ac_c_preproc_warn_flag in '' yes
6310 do
6311 # Use a header file that comes with gcc, so configuring glibc
6312 # with a fresh cross-compiler works.
6313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6314 # <limits.h> exists even on freestanding compilers.
6315 # On the NeXT, cc -E runs the code through the compiler's parser,
6316 # not just through cpp. "Syntax error" is here to catch this case.
6317 cat >conftest.$ac_ext <<_ACEOF
6318 /* confdefs.h. */
6319 _ACEOF
6320 cat confdefs.h >>conftest.$ac_ext
6321 cat >>conftest.$ac_ext <<_ACEOF
6322 /* end confdefs.h. */
6323 #ifdef __STDC__
6324 # include <limits.h>
6325 #else
6326 # include <assert.h>
6327 #endif
6328 Syntax error
6329 _ACEOF
6330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6331 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6332 ac_status=$?
6333 grep -v '^ *+' conftest.er1 >conftest.err
6334 rm -f conftest.er1
6335 cat conftest.err >&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } >/dev/null; then
6338 if test -s conftest.err; then
6339 ac_cpp_err=$ac_c_preproc_warn_flag
6340 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6341 else
6342 ac_cpp_err=
6343 fi
6344 else
6345 ac_cpp_err=yes
6346 fi
6347 if test -z "$ac_cpp_err"; then
6348 :
6349 else
6350 echo "$as_me: failed program was:" >&5
6351 sed 's/^/| /' conftest.$ac_ext >&5
6352
6353 # Broken: fails on valid input.
6354 continue
6355 fi
6356 rm -f conftest.err conftest.$ac_ext
6357
6358 # OK, works on sane cases. Now check whether non-existent headers
6359 # can be detected and how.
6360 cat >conftest.$ac_ext <<_ACEOF
6361 /* confdefs.h. */
6362 _ACEOF
6363 cat confdefs.h >>conftest.$ac_ext
6364 cat >>conftest.$ac_ext <<_ACEOF
6365 /* end confdefs.h. */
6366 #include <ac_nonexistent.h>
6367 _ACEOF
6368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6370 ac_status=$?
6371 grep -v '^ *+' conftest.er1 >conftest.err
6372 rm -f conftest.er1
6373 cat conftest.err >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } >/dev/null; then
6376 if test -s conftest.err; then
6377 ac_cpp_err=$ac_c_preproc_warn_flag
6378 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6379 else
6380 ac_cpp_err=
6381 fi
6382 else
6383 ac_cpp_err=yes
6384 fi
6385 if test -z "$ac_cpp_err"; then
6386 # Broken: success on invalid input.
6387 continue
6388 else
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.$ac_ext >&5
6391
6392 # Passes both tests.
6393 ac_preproc_ok=:
6394 break
6395 fi
6396 rm -f conftest.err conftest.$ac_ext
6397
6398 done
6399 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6400 rm -f conftest.err conftest.$ac_ext
6401 if $ac_preproc_ok; then
6402 break
6403 fi
6404
6405 done
6406 ac_cv_prog_CPP=$CPP
6407
6408 fi
6409 CPP=$ac_cv_prog_CPP
6410 else
6411 ac_cv_prog_CPP=$CPP
6412 fi
6413 echo "$as_me:$LINENO: result: $CPP" >&5
6414 echo "${ECHO_T}$CPP" >&6
6415 ac_preproc_ok=false
6416 for ac_c_preproc_warn_flag in '' yes
6417 do
6418 # Use a header file that comes with gcc, so configuring glibc
6419 # with a fresh cross-compiler works.
6420 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6421 # <limits.h> exists even on freestanding compilers.
6422 # On the NeXT, cc -E runs the code through the compiler's parser,
6423 # not just through cpp. "Syntax error" is here to catch this case.
6424 cat >conftest.$ac_ext <<_ACEOF
6425 /* confdefs.h. */
6426 _ACEOF
6427 cat confdefs.h >>conftest.$ac_ext
6428 cat >>conftest.$ac_ext <<_ACEOF
6429 /* end confdefs.h. */
6430 #ifdef __STDC__
6431 # include <limits.h>
6432 #else
6433 # include <assert.h>
6434 #endif
6435 Syntax error
6436 _ACEOF
6437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6439 ac_status=$?
6440 grep -v '^ *+' conftest.er1 >conftest.err
6441 rm -f conftest.er1
6442 cat conftest.err >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); } >/dev/null; then
6445 if test -s conftest.err; then
6446 ac_cpp_err=$ac_c_preproc_warn_flag
6447 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6448 else
6449 ac_cpp_err=
6450 fi
6451 else
6452 ac_cpp_err=yes
6453 fi
6454 if test -z "$ac_cpp_err"; then
6455 :
6456 else
6457 echo "$as_me: failed program was:" >&5
6458 sed 's/^/| /' conftest.$ac_ext >&5
6459
6460 # Broken: fails on valid input.
6461 continue
6462 fi
6463 rm -f conftest.err conftest.$ac_ext
6464
6465 # OK, works on sane cases. Now check whether non-existent headers
6466 # can be detected and how.
6467 cat >conftest.$ac_ext <<_ACEOF
6468 /* confdefs.h. */
6469 _ACEOF
6470 cat confdefs.h >>conftest.$ac_ext
6471 cat >>conftest.$ac_ext <<_ACEOF
6472 /* end confdefs.h. */
6473 #include <ac_nonexistent.h>
6474 _ACEOF
6475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6476 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6477 ac_status=$?
6478 grep -v '^ *+' conftest.er1 >conftest.err
6479 rm -f conftest.er1
6480 cat conftest.err >&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); } >/dev/null; then
6483 if test -s conftest.err; then
6484 ac_cpp_err=$ac_c_preproc_warn_flag
6485 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6486 else
6487 ac_cpp_err=
6488 fi
6489 else
6490 ac_cpp_err=yes
6491 fi
6492 if test -z "$ac_cpp_err"; then
6493 # Broken: success on invalid input.
6494 continue
6495 else
6496 echo "$as_me: failed program was:" >&5
6497 sed 's/^/| /' conftest.$ac_ext >&5
6498
6499 # Passes both tests.
6500 ac_preproc_ok=:
6501 break
6502 fi
6503 rm -f conftest.err conftest.$ac_ext
6504
6505 done
6506 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6507 rm -f conftest.err conftest.$ac_ext
6508 if $ac_preproc_ok; then
6509 :
6510 else
6511 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6512 See \`config.log' for more details." >&5
6513 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6514 See \`config.log' for more details." >&2;}
6515 { (exit 1); exit 1; }; }
6516 fi
6517
6518 ac_ext=c
6519 ac_cpp='$CPP $CPPFLAGS'
6520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6523
6524 ac_ext=cc
6525 ac_cpp='$CXXCPP $CPPFLAGS'
6526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6529 if test -n "$ac_tool_prefix"; then
6530 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6531 do
6532 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6533 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6534 echo "$as_me:$LINENO: checking for $ac_word" >&5
6535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6536 if test "${ac_cv_prog_CXX+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6538 else
6539 if test -n "$CXX"; then
6540 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6541 else
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 for as_dir in $PATH
6544 do
6545 IFS=$as_save_IFS
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6551 break 2
6552 fi
6553 done
6554 done
6555
6556 fi
6557 fi
6558 CXX=$ac_cv_prog_CXX
6559 if test -n "$CXX"; then
6560 echo "$as_me:$LINENO: result: $CXX" >&5
6561 echo "${ECHO_T}$CXX" >&6
6562 else
6563 echo "$as_me:$LINENO: result: no" >&5
6564 echo "${ECHO_T}no" >&6
6565 fi
6566
6567 test -n "$CXX" && break
6568 done
6569 fi
6570 if test -z "$CXX"; then
6571 ac_ct_CXX=$CXX
6572 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6573 do
6574 # Extract the first word of "$ac_prog", so it can be a program name with args.
6575 set dummy $ac_prog; ac_word=$2
6576 echo "$as_me:$LINENO: checking for $ac_word" >&5
6577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6578 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6580 else
6581 if test -n "$ac_ct_CXX"; then
6582 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6583 else
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 for as_dir in $PATH
6586 do
6587 IFS=$as_save_IFS
6588 test -z "$as_dir" && as_dir=.
6589 for ac_exec_ext in '' $ac_executable_extensions; do
6590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_ac_ct_CXX="$ac_prog"
6592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6593 break 2
6594 fi
6595 done
6596 done
6597
6598 fi
6599 fi
6600 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6601 if test -n "$ac_ct_CXX"; then
6602 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6603 echo "${ECHO_T}$ac_ct_CXX" >&6
6604 else
6605 echo "$as_me:$LINENO: result: no" >&5
6606 echo "${ECHO_T}no" >&6
6607 fi
6608
6609 test -n "$ac_ct_CXX" && break
6610 done
6611 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6612
6613 CXX=$ac_ct_CXX
6614 fi
6615
6616
6617 # Provide some information about the compiler.
6618 echo "$as_me:$LINENO:" \
6619 "checking for C++ compiler version" >&5
6620 ac_compiler=`set X $ac_compile; echo $2`
6621 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6622 (eval $ac_compiler --version </dev/null >&5) 2>&5
6623 ac_status=$?
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }
6626 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6627 (eval $ac_compiler -v </dev/null >&5) 2>&5
6628 ac_status=$?
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); }
6631 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6632 (eval $ac_compiler -V </dev/null >&5) 2>&5
6633 ac_status=$?
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); }
6636
6637 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6638 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6639 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6641 else
6642 cat >conftest.$ac_ext <<_ACEOF
6643 /* confdefs.h. */
6644 _ACEOF
6645 cat confdefs.h >>conftest.$ac_ext
6646 cat >>conftest.$ac_ext <<_ACEOF
6647 /* end confdefs.h. */
6648
6649 int
6650 main ()
6651 {
6652 #ifndef __GNUC__
6653 choke me
6654 #endif
6655
6656 ;
6657 return 0;
6658 }
6659 _ACEOF
6660 rm -f conftest.$ac_objext
6661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6662 (eval $ac_compile) 2>conftest.er1
6663 ac_status=$?
6664 grep -v '^ *+' conftest.er1 >conftest.err
6665 rm -f conftest.er1
6666 cat conftest.err >&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } &&
6669 { ac_try='test -z "$ac_cxx_werror_flag"
6670 || test ! -s conftest.err'
6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6672 (eval $ac_try) 2>&5
6673 ac_status=$?
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); }; } &&
6676 { ac_try='test -s conftest.$ac_objext'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6678 (eval $ac_try) 2>&5
6679 ac_status=$?
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; }; then
6682 ac_compiler_gnu=yes
6683 else
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.$ac_ext >&5
6686
6687 ac_compiler_gnu=no
6688 fi
6689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6690 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6691
6692 fi
6693 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6694 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6695 GXX=`test $ac_compiler_gnu = yes && echo yes`
6696 ac_test_CXXFLAGS=${CXXFLAGS+set}
6697 ac_save_CXXFLAGS=$CXXFLAGS
6698 CXXFLAGS="-g"
6699 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6700 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6701 if test "${ac_cv_prog_cxx_g+set}" = set; then
6702 echo $ECHO_N "(cached) $ECHO_C" >&6
6703 else
6704 cat >conftest.$ac_ext <<_ACEOF
6705 /* confdefs.h. */
6706 _ACEOF
6707 cat confdefs.h >>conftest.$ac_ext
6708 cat >>conftest.$ac_ext <<_ACEOF
6709 /* end confdefs.h. */
6710
6711 int
6712 main ()
6713 {
6714
6715 ;
6716 return 0;
6717 }
6718 _ACEOF
6719 rm -f conftest.$ac_objext
6720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6721 (eval $ac_compile) 2>conftest.er1
6722 ac_status=$?
6723 grep -v '^ *+' conftest.er1 >conftest.err
6724 rm -f conftest.er1
6725 cat conftest.err >&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); } &&
6728 { ac_try='test -z "$ac_cxx_werror_flag"
6729 || test ! -s conftest.err'
6730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6731 (eval $ac_try) 2>&5
6732 ac_status=$?
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); }; } &&
6735 { ac_try='test -s conftest.$ac_objext'
6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6737 (eval $ac_try) 2>&5
6738 ac_status=$?
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); }; }; then
6741 ac_cv_prog_cxx_g=yes
6742 else
6743 echo "$as_me: failed program was:" >&5
6744 sed 's/^/| /' conftest.$ac_ext >&5
6745
6746 ac_cv_prog_cxx_g=no
6747 fi
6748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6749 fi
6750 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6751 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6752 if test "$ac_test_CXXFLAGS" = set; then
6753 CXXFLAGS=$ac_save_CXXFLAGS
6754 elif test $ac_cv_prog_cxx_g = yes; then
6755 if test "$GXX" = yes; then
6756 CXXFLAGS="-g -O2"
6757 else
6758 CXXFLAGS="-g"
6759 fi
6760 else
6761 if test "$GXX" = yes; then
6762 CXXFLAGS="-O2"
6763 else
6764 CXXFLAGS=
6765 fi
6766 fi
6767 for ac_declaration in \
6768 '' \
6769 'extern "C" void std::exit (int) throw (); using std::exit;' \
6770 'extern "C" void std::exit (int); using std::exit;' \
6771 'extern "C" void exit (int) throw ();' \
6772 'extern "C" void exit (int);' \
6773 'void exit (int);'
6774 do
6775 cat >conftest.$ac_ext <<_ACEOF
6776 /* confdefs.h. */
6777 _ACEOF
6778 cat confdefs.h >>conftest.$ac_ext
6779 cat >>conftest.$ac_ext <<_ACEOF
6780 /* end confdefs.h. */
6781 $ac_declaration
6782 #include <stdlib.h>
6783 int
6784 main ()
6785 {
6786 exit (42);
6787 ;
6788 return 0;
6789 }
6790 _ACEOF
6791 rm -f conftest.$ac_objext
6792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6793 (eval $ac_compile) 2>conftest.er1
6794 ac_status=$?
6795 grep -v '^ *+' conftest.er1 >conftest.err
6796 rm -f conftest.er1
6797 cat conftest.err >&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); } &&
6800 { ac_try='test -z "$ac_cxx_werror_flag"
6801 || test ! -s conftest.err'
6802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 (eval $ac_try) 2>&5
6804 ac_status=$?
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); }; } &&
6807 { ac_try='test -s conftest.$ac_objext'
6808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6809 (eval $ac_try) 2>&5
6810 ac_status=$?
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); }; }; then
6813 :
6814 else
6815 echo "$as_me: failed program was:" >&5
6816 sed 's/^/| /' conftest.$ac_ext >&5
6817
6818 continue
6819 fi
6820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6821 cat >conftest.$ac_ext <<_ACEOF
6822 /* confdefs.h. */
6823 _ACEOF
6824 cat confdefs.h >>conftest.$ac_ext
6825 cat >>conftest.$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6827 $ac_declaration
6828 int
6829 main ()
6830 {
6831 exit (42);
6832 ;
6833 return 0;
6834 }
6835 _ACEOF
6836 rm -f conftest.$ac_objext
6837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6838 (eval $ac_compile) 2>conftest.er1
6839 ac_status=$?
6840 grep -v '^ *+' conftest.er1 >conftest.err
6841 rm -f conftest.er1
6842 cat conftest.err >&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); } &&
6845 { ac_try='test -z "$ac_cxx_werror_flag"
6846 || test ! -s conftest.err'
6847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6848 (eval $ac_try) 2>&5
6849 ac_status=$?
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; } &&
6852 { ac_try='test -s conftest.$ac_objext'
6853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6854 (eval $ac_try) 2>&5
6855 ac_status=$?
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); }; }; then
6858 break
6859 else
6860 echo "$as_me: failed program was:" >&5
6861 sed 's/^/| /' conftest.$ac_ext >&5
6862
6863 fi
6864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6865 done
6866 rm -f conftest*
6867 if test -n "$ac_declaration"; then
6868 echo '#ifdef __cplusplus' >>confdefs.h
6869 echo $ac_declaration >>confdefs.h
6870 echo '#endif' >>confdefs.h
6871 fi
6872
6873 ac_ext=c
6874 ac_cpp='$CPP $CPPFLAGS'
6875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6878
6879 depcc="$CXX" am_compiler_list=
6880
6881 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6882 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6883 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6884 echo $ECHO_N "(cached) $ECHO_C" >&6
6885 else
6886 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6887 # We make a subdir and do the tests there. Otherwise we can end up
6888 # making bogus files that we don't know about and never remove. For
6889 # instance it was reported that on HP-UX the gcc test will end up
6890 # making a dummy file named `D' -- because `-MD' means `put the output
6891 # in D'.
6892 mkdir conftest.dir
6893 # Copy depcomp to subdir because otherwise we won't find it if we're
6894 # using a relative directory.
6895 cp "$am_depcomp" conftest.dir
6896 cd conftest.dir
6897 # We will build objects and dependencies in a subdirectory because
6898 # it helps to detect inapplicable dependency modes. For instance
6899 # both Tru64's cc and ICC support -MD to output dependencies as a
6900 # side effect of compilation, but ICC will put the dependencies in
6901 # the current directory while Tru64 will put them in the object
6902 # directory.
6903 mkdir sub
6904
6905 am_cv_CXX_dependencies_compiler_type=none
6906 if test "$am_compiler_list" = ""; then
6907 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6908 fi
6909 for depmode in $am_compiler_list; do
6910 # Setup a source with many dependencies, because some compilers
6911 # like to wrap large dependency lists on column 80 (with \), and
6912 # we should not choose a depcomp mode which is confused by this.
6913 #
6914 # We need to recreate these files for each test, as the compiler may
6915 # overwrite some of them when testing with obscure command lines.
6916 # This happens at least with the AIX C compiler.
6917 : > sub/conftest.c
6918 for i in 1 2 3 4 5 6; do
6919 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6920 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6921 # Solaris 8's {/usr,}/bin/sh.
6922 touch sub/conftst$i.h
6923 done
6924 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6925
6926 case $depmode in
6927 nosideeffect)
6928 # after this tag, mechanisms are not by side-effect, so they'll
6929 # only be used when explicitly requested
6930 if test "x$enable_dependency_tracking" = xyes; then
6931 continue
6932 else
6933 break
6934 fi
6935 ;;
6936 none) break ;;
6937 esac
6938 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6939 # mode. It turns out that the SunPro C++ compiler does not properly
6940 # handle `-M -o', and we need to detect this.
6941 if depmode=$depmode \
6942 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6943 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6944 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6945 >/dev/null 2>conftest.err &&
6946 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6947 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6948 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6949 # icc doesn't choke on unknown options, it will just issue warnings
6950 # or remarks (even with -Werror). So we grep stderr for any message
6951 # that says an option was ignored or not supported.
6952 # When given -MP, icc 7.0 and 7.1 complain thusly:
6953 # icc: Command line warning: ignoring option '-M'; no argument required
6954 # The diagnosis changed in icc 8.0:
6955 # icc: Command line remark: option '-MP' not supported
6956 if (grep 'ignoring option' conftest.err ||
6957 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6958 am_cv_CXX_dependencies_compiler_type=$depmode
6959 break
6960 fi
6961 fi
6962 done
6963
6964 cd ..
6965 rm -rf conftest.dir
6966 else
6967 am_cv_CXX_dependencies_compiler_type=none
6968 fi
6969
6970 fi
6971 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6972 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6973 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6974
6975
6976
6977 if
6978 test "x$enable_dependency_tracking" != xno \
6979 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6980 am__fastdepCXX_TRUE=
6981 am__fastdepCXX_FALSE='#'
6982 else
6983 am__fastdepCXX_TRUE='#'
6984 am__fastdepCXX_FALSE=
6985 fi
6986
6987 ac_ext=cc
6988 ac_cpp='$CXXCPP $CPPFLAGS'
6989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6992 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6993 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6994 if test -z "$CXXCPP"; then
6995 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6996 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 else
6998 # Double quotes because CXXCPP needs to be expanded
6999 for CXXCPP in "$CXX -E" "/lib/cpp"
7000 do
7001 ac_preproc_ok=false
7002 for ac_cxx_preproc_warn_flag in '' yes
7003 do
7004 # Use a header file that comes with gcc, so configuring glibc
7005 # with a fresh cross-compiler works.
7006 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7007 # <limits.h> exists even on freestanding compilers.
7008 # On the NeXT, cc -E runs the code through the compiler's parser,
7009 # not just through cpp. "Syntax error" is here to catch this case.
7010 cat >conftest.$ac_ext <<_ACEOF
7011 /* confdefs.h. */
7012 _ACEOF
7013 cat confdefs.h >>conftest.$ac_ext
7014 cat >>conftest.$ac_ext <<_ACEOF
7015 /* end confdefs.h. */
7016 #ifdef __STDC__
7017 # include <limits.h>
7018 #else
7019 # include <assert.h>
7020 #endif
7021 Syntax error
7022 _ACEOF
7023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7025 ac_status=$?
7026 grep -v '^ *+' conftest.er1 >conftest.err
7027 rm -f conftest.er1
7028 cat conftest.err >&5
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); } >/dev/null; then
7031 if test -s conftest.err; then
7032 ac_cpp_err=$ac_cxx_preproc_warn_flag
7033 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7034 else
7035 ac_cpp_err=
7036 fi
7037 else
7038 ac_cpp_err=yes
7039 fi
7040 if test -z "$ac_cpp_err"; then
7041 :
7042 else
7043 echo "$as_me: failed program was:" >&5
7044 sed 's/^/| /' conftest.$ac_ext >&5
7045
7046 # Broken: fails on valid input.
7047 continue
7048 fi
7049 rm -f conftest.err conftest.$ac_ext
7050
7051 # OK, works on sane cases. Now check whether non-existent headers
7052 # can be detected and how.
7053 cat >conftest.$ac_ext <<_ACEOF
7054 /* confdefs.h. */
7055 _ACEOF
7056 cat confdefs.h >>conftest.$ac_ext
7057 cat >>conftest.$ac_ext <<_ACEOF
7058 /* end confdefs.h. */
7059 #include <ac_nonexistent.h>
7060 _ACEOF
7061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7063 ac_status=$?
7064 grep -v '^ *+' conftest.er1 >conftest.err
7065 rm -f conftest.er1
7066 cat conftest.err >&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); } >/dev/null; then
7069 if test -s conftest.err; then
7070 ac_cpp_err=$ac_cxx_preproc_warn_flag
7071 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7072 else
7073 ac_cpp_err=
7074 fi
7075 else
7076 ac_cpp_err=yes
7077 fi
7078 if test -z "$ac_cpp_err"; then
7079 # Broken: success on invalid input.
7080 continue
7081 else
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.$ac_ext >&5
7084
7085 # Passes both tests.
7086 ac_preproc_ok=:
7087 break
7088 fi
7089 rm -f conftest.err conftest.$ac_ext
7090
7091 done
7092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7093 rm -f conftest.err conftest.$ac_ext
7094 if $ac_preproc_ok; then
7095 break
7096 fi
7097
7098 done
7099 ac_cv_prog_CXXCPP=$CXXCPP
7100
7101 fi
7102 CXXCPP=$ac_cv_prog_CXXCPP
7103 else
7104 ac_cv_prog_CXXCPP=$CXXCPP
7105 fi
7106 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7107 echo "${ECHO_T}$CXXCPP" >&6
7108 ac_preproc_ok=false
7109 for ac_cxx_preproc_warn_flag in '' yes
7110 do
7111 # Use a header file that comes with gcc, so configuring glibc
7112 # with a fresh cross-compiler works.
7113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7114 # <limits.h> exists even on freestanding compilers.
7115 # On the NeXT, cc -E runs the code through the compiler's parser,
7116 # not just through cpp. "Syntax error" is here to catch this case.
7117 cat >conftest.$ac_ext <<_ACEOF
7118 /* confdefs.h. */
7119 _ACEOF
7120 cat confdefs.h >>conftest.$ac_ext
7121 cat >>conftest.$ac_ext <<_ACEOF
7122 /* end confdefs.h. */
7123 #ifdef __STDC__
7124 # include <limits.h>
7125 #else
7126 # include <assert.h>
7127 #endif
7128 Syntax error
7129 _ACEOF
7130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7132 ac_status=$?
7133 grep -v '^ *+' conftest.er1 >conftest.err
7134 rm -f conftest.er1
7135 cat conftest.err >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } >/dev/null; then
7138 if test -s conftest.err; then
7139 ac_cpp_err=$ac_cxx_preproc_warn_flag
7140 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7141 else
7142 ac_cpp_err=
7143 fi
7144 else
7145 ac_cpp_err=yes
7146 fi
7147 if test -z "$ac_cpp_err"; then
7148 :
7149 else
7150 echo "$as_me: failed program was:" >&5
7151 sed 's/^/| /' conftest.$ac_ext >&5
7152
7153 # Broken: fails on valid input.
7154 continue
7155 fi
7156 rm -f conftest.err conftest.$ac_ext
7157
7158 # OK, works on sane cases. Now check whether non-existent headers
7159 # can be detected and how.
7160 cat >conftest.$ac_ext <<_ACEOF
7161 /* confdefs.h. */
7162 _ACEOF
7163 cat confdefs.h >>conftest.$ac_ext
7164 cat >>conftest.$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 #include <ac_nonexistent.h>
7167 _ACEOF
7168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7169 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7170 ac_status=$?
7171 grep -v '^ *+' conftest.er1 >conftest.err
7172 rm -f conftest.er1
7173 cat conftest.err >&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); } >/dev/null; then
7176 if test -s conftest.err; then
7177 ac_cpp_err=$ac_cxx_preproc_warn_flag
7178 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7179 else
7180 ac_cpp_err=
7181 fi
7182 else
7183 ac_cpp_err=yes
7184 fi
7185 if test -z "$ac_cpp_err"; then
7186 # Broken: success on invalid input.
7187 continue
7188 else
7189 echo "$as_me: failed program was:" >&5
7190 sed 's/^/| /' conftest.$ac_ext >&5
7191
7192 # Passes both tests.
7193 ac_preproc_ok=:
7194 break
7195 fi
7196 rm -f conftest.err conftest.$ac_ext
7197
7198 done
7199 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7200 rm -f conftest.err conftest.$ac_ext
7201 if $ac_preproc_ok; then
7202 :
7203 else
7204 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7205 See \`config.log' for more details." >&5
7206 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7207 See \`config.log' for more details." >&2;}
7208 { (exit 1); exit 1; }; }
7209 fi
7210
7211 ac_ext=c
7212 ac_cpp='$CPP $CPPFLAGS'
7213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7216
7217
7218
7219 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7220 lt_save_CC="$CC"
7221 lt_save_CFLAGS="$CFLAGS"
7222 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7223 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7224 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7225 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7226 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7227 deplibs_check_method="$deplibs_check_method" \
7228 file_magic_cmd="$file_magic_cmd" \
7229 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7230 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7231 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7232 echo "$as_me: error: libtool tag configuration failed" >&2;}
7233 { (exit 1); exit 1; }; }
7234 CC="$lt_save_CC"
7235 CFLAGS="$lt_save_CFLAGS"
7236
7237 # Redirect the config.log output again, so that the ltconfig log is not
7238 # clobbered by the next message.
7239 exec 5>>./config.log
7240
7241
7242
7243
7244 if test "x${COMPILE_COLLECTIONS}" = xyes; then
7245 # Extract the first word of "perl", so it can be a program name with args.
7246 set dummy perl; ac_word=$2
7247 echo "$as_me:$LINENO: checking for $ac_word" >&5
7248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7249 if test "${ac_cv_path_PERL+set}" = set; then
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7251 else
7252 case $PERL in
7253 [\\/]* | ?:[\\/]*)
7254 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7255 ;;
7256 *)
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 for as_dir in $PATH
7259 do
7260 IFS=$as_save_IFS
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7264 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7266 break 2
7267 fi
7268 done
7269 done
7270
7271 ;;
7272 esac
7273 fi
7274 PERL=$ac_cv_path_PERL
7275
7276 if test -n "$PERL"; then
7277 echo "$as_me:$LINENO: result: $PERL" >&5
7278 echo "${ECHO_T}$PERL" >&6
7279 else
7280 echo "$as_me:$LINENO: result: no" >&5
7281 echo "${ECHO_T}no" >&6
7282 fi
7283
7284
7285
7286 ac_config_files="$ac_config_files lib/mkcollections.pl"
7287
7288 ac_config_commands="$ac_config_commands mkcollections.pl"
7289
7290 fi
7291
7292 if test "x${COMPILE_JNI}" = xyes; then
7293 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7294 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7295 if test "${ac_cv_header_stdc+set}" = set; then
7296 echo $ECHO_N "(cached) $ECHO_C" >&6
7297 else
7298 cat >conftest.$ac_ext <<_ACEOF
7299 /* confdefs.h. */
7300 _ACEOF
7301 cat confdefs.h >>conftest.$ac_ext
7302 cat >>conftest.$ac_ext <<_ACEOF
7303 /* end confdefs.h. */
7304 #include <stdlib.h>
7305 #include <stdarg.h>
7306 #include <string.h>
7307 #include <float.h>
7308
7309 int
7310 main ()
7311 {
7312
7313 ;
7314 return 0;
7315 }
7316 _ACEOF
7317 rm -f conftest.$ac_objext
7318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7319 (eval $ac_compile) 2>conftest.er1
7320 ac_status=$?
7321 grep -v '^ *+' conftest.er1 >conftest.err
7322 rm -f conftest.er1
7323 cat conftest.err >&5
7324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7325 (exit $ac_status); } &&
7326 { ac_try='test -z "$ac_c_werror_flag"
7327 || test ! -s conftest.err'
7328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7329 (eval $ac_try) 2>&5
7330 ac_status=$?
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); }; } &&
7333 { ac_try='test -s conftest.$ac_objext'
7334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7335 (eval $ac_try) 2>&5
7336 ac_status=$?
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); }; }; then
7339 ac_cv_header_stdc=yes
7340 else
7341 echo "$as_me: failed program was:" >&5
7342 sed 's/^/| /' conftest.$ac_ext >&5
7343
7344 ac_cv_header_stdc=no
7345 fi
7346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7347
7348 if test $ac_cv_header_stdc = yes; then
7349 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7350 cat >conftest.$ac_ext <<_ACEOF
7351 /* confdefs.h. */
7352 _ACEOF
7353 cat confdefs.h >>conftest.$ac_ext
7354 cat >>conftest.$ac_ext <<_ACEOF
7355 /* end confdefs.h. */
7356 #include <string.h>
7357
7358 _ACEOF
7359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7360 $EGREP "memchr" >/dev/null 2>&1; then
7361 :
7362 else
7363 ac_cv_header_stdc=no
7364 fi
7365 rm -f conftest*
7366
7367 fi
7368
7369 if test $ac_cv_header_stdc = yes; then
7370 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7371 cat >conftest.$ac_ext <<_ACEOF
7372 /* confdefs.h. */
7373 _ACEOF
7374 cat confdefs.h >>conftest.$ac_ext
7375 cat >>conftest.$ac_ext <<_ACEOF
7376 /* end confdefs.h. */
7377 #include <stdlib.h>
7378
7379 _ACEOF
7380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7381 $EGREP "free" >/dev/null 2>&1; then
7382 :
7383 else
7384 ac_cv_header_stdc=no
7385 fi
7386 rm -f conftest*
7387
7388 fi
7389
7390 if test $ac_cv_header_stdc = yes; then
7391 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7392 if test "$cross_compiling" = yes; then
7393 :
7394 else
7395 cat >conftest.$ac_ext <<_ACEOF
7396 /* confdefs.h. */
7397 _ACEOF
7398 cat confdefs.h >>conftest.$ac_ext
7399 cat >>conftest.$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7401 #include <ctype.h>
7402 #if ((' ' & 0x0FF) == 0x020)
7403 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7404 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7405 #else
7406 # define ISLOWER(c) \
7407 (('a' <= (c) && (c) <= 'i') \
7408 || ('j' <= (c) && (c) <= 'r') \
7409 || ('s' <= (c) && (c) <= 'z'))
7410 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7411 #endif
7412
7413 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7414 int
7415 main ()
7416 {
7417 int i;
7418 for (i = 0; i < 256; i++)
7419 if (XOR (islower (i), ISLOWER (i))
7420 || toupper (i) != TOUPPER (i))
7421 exit(2);
7422 exit (0);
7423 }
7424 _ACEOF
7425 rm -f conftest$ac_exeext
7426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7427 (eval $ac_link) 2>&5
7428 ac_status=$?
7429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7432 (eval $ac_try) 2>&5
7433 ac_status=$?
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); }; }; then
7436 :
7437 else
7438 echo "$as_me: program exited with status $ac_status" >&5
7439 echo "$as_me: failed program was:" >&5
7440 sed 's/^/| /' conftest.$ac_ext >&5
7441
7442 ( exit $ac_status )
7443 ac_cv_header_stdc=no
7444 fi
7445 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7446 fi
7447 fi
7448 fi
7449 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7450 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7451 if test $ac_cv_header_stdc = yes; then
7452
7453 cat >>confdefs.h <<\_ACEOF
7454 #define STDC_HEADERS 1
7455 _ACEOF
7456
7457 fi
7458
7459
7460 echo "$as_me:$LINENO: checking size of void *" >&5
7461 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7462 if test "${ac_cv_sizeof_void_p+set}" = set; then
7463 echo $ECHO_N "(cached) $ECHO_C" >&6
7464 else
7465 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
7466 cat >conftest.$ac_ext <<_ACEOF
7467 /* confdefs.h. */
7468 _ACEOF
7469 cat confdefs.h >>conftest.$ac_ext
7470 cat >>conftest.$ac_ext <<_ACEOF
7471 /* end confdefs.h. */
7472 #include "confdefs.h"
7473 #include <sys/types.h>
7474
7475
7476 int
7477 main ()
7478 {
7479 switch (0) case 0: case (sizeof (void *) == $ac_size):;
7480 ;
7481 return 0;
7482 }
7483 _ACEOF
7484 rm -f conftest.$ac_objext
7485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7486 (eval $ac_compile) 2>conftest.er1
7487 ac_status=$?
7488 grep -v '^ *+' conftest.er1 >conftest.err
7489 rm -f conftest.er1
7490 cat conftest.err >&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); } &&
7493 { ac_try='test -z "$ac_c_werror_flag"
7494 || test ! -s conftest.err'
7495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7496 (eval $ac_try) 2>&5
7497 ac_status=$?
7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499 (exit $ac_status); }; } &&
7500 { ac_try='test -s conftest.$ac_objext'
7501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7502 (eval $ac_try) 2>&5
7503 ac_status=$?
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); }; }; then
7506 ac_cv_sizeof_void_p=$ac_size
7507 else
7508 echo "$as_me: failed program was:" >&5
7509 sed 's/^/| /' conftest.$ac_ext >&5
7510
7511 fi
7512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7513 if test x$ac_cv_sizeof_void_p != x ; then break; fi
7514 done
7515
7516 fi
7517
7518 if test x$ac_cv_sizeof_void_p = x ; then
7519 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
7520 echo "$as_me: error: cannot determine a size for void *" >&2;}
7521 { (exit 1); exit 1; }; }
7522 fi
7523 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7524 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7525
7526 cat >>confdefs.h <<_ACEOF
7527 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7528 _ACEOF
7529
7530
7531
7532 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7533 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7534 if test "${ac_cv_c_bigendian+set}" = set; then
7535 echo $ECHO_N "(cached) $ECHO_C" >&6
7536 else
7537 ac_cv_c_bigendian=unknown
7538 # See if sys/param.h defines the BYTE_ORDER macro.
7539 cat >conftest.$ac_ext <<_ACEOF
7540 /* confdefs.h. */
7541 _ACEOF
7542 cat confdefs.h >>conftest.$ac_ext
7543 cat >>conftest.$ac_ext <<_ACEOF
7544 /* end confdefs.h. */
7545 #include <sys/types.h>
7546 #include <sys/param.h>
7547 int
7548 main ()
7549 {
7550
7551 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7552 bogus endian macros
7553 #endif
7554 ;
7555 return 0;
7556 }
7557 _ACEOF
7558 rm -f conftest.$ac_objext
7559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7560 (eval $ac_compile) 2>conftest.er1
7561 ac_status=$?
7562 grep -v '^ *+' conftest.er1 >conftest.err
7563 rm -f conftest.er1
7564 cat conftest.err >&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); } &&
7567 { ac_try='test -z "$ac_c_werror_flag"
7568 || test ! -s conftest.err'
7569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7570 (eval $ac_try) 2>&5
7571 ac_status=$?
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); }; } &&
7574 { ac_try='test -s conftest.$ac_objext'
7575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576 (eval $ac_try) 2>&5
7577 ac_status=$?
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); }; }; then
7580 # It does; now see whether it defined to BIG_ENDIAN or not.
7581 cat >conftest.$ac_ext <<_ACEOF
7582 /* confdefs.h. */
7583 _ACEOF
7584 cat confdefs.h >>conftest.$ac_ext
7585 cat >>conftest.$ac_ext <<_ACEOF
7586 /* end confdefs.h. */
7587 #include <sys/types.h>
7588 #include <sys/param.h>
7589 int
7590 main ()
7591 {
7592
7593 #if BYTE_ORDER != BIG_ENDIAN
7594 not big endian
7595 #endif
7596 ;
7597 return 0;
7598 }
7599 _ACEOF
7600 rm -f conftest.$ac_objext
7601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7602 (eval $ac_compile) 2>conftest.er1
7603 ac_status=$?
7604 grep -v '^ *+' conftest.er1 >conftest.err
7605 rm -f conftest.er1
7606 cat conftest.err >&5
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); } &&
7609 { ac_try='test -z "$ac_c_werror_flag"
7610 || test ! -s conftest.err'
7611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7612 (eval $ac_try) 2>&5
7613 ac_status=$?
7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615 (exit $ac_status); }; } &&
7616 { ac_try='test -s conftest.$ac_objext'
7617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7618 (eval $ac_try) 2>&5
7619 ac_status=$?
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); }; }; then
7622 ac_cv_c_bigendian=yes
7623 else
7624 echo "$as_me: failed program was:" >&5
7625 sed 's/^/| /' conftest.$ac_ext >&5
7626
7627 ac_cv_c_bigendian=no
7628 fi
7629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7630 else
7631 echo "$as_me: failed program was:" >&5
7632 sed 's/^/| /' conftest.$ac_ext >&5
7633
7634 fi
7635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7636 if test $ac_cv_c_bigendian = unknown; then
7637 if test "$cross_compiling" = yes; then
7638 echo $ac_n "cross-compiling... " 2>&6
7639 else
7640 cat >conftest.$ac_ext <<_ACEOF
7641 /* confdefs.h. */
7642 _ACEOF
7643 cat confdefs.h >>conftest.$ac_ext
7644 cat >>conftest.$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7646 main () {
7647 /* Are we little or big endian? From Harbison&Steele. */
7648 union
7649 {
7650 long l;
7651 char c[sizeof (long)];
7652 } u;
7653 u.l = 1;
7654 exit (u.c[sizeof (long) - 1] == 1);
7655 }
7656 _ACEOF
7657 rm -f conftest$ac_exeext
7658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7659 (eval $ac_link) 2>&5
7660 ac_status=$?
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7664 (eval $ac_try) 2>&5
7665 ac_status=$?
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); }; }; then
7668 ac_cv_c_bigendian=no
7669 else
7670 echo "$as_me: program exited with status $ac_status" >&5
7671 echo "$as_me: failed program was:" >&5
7672 sed 's/^/| /' conftest.$ac_ext >&5
7673
7674 ( exit $ac_status )
7675 ac_cv_c_bigendian=yes
7676 fi
7677 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7678 fi
7679 fi
7680 fi
7681 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7682 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7683 if test $ac_cv_c_bigendian = unknown; then
7684 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
7685 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
7686
7687 cat >conftest.c <<EOF
7688 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7689 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7690 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
7691 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7692 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7693 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
7694 int main() { _ascii (); _ebcdic (); return 0; }
7695 EOF
7696 if test -f conftest.c ; then
7697 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
7698 if test `grep -l BIGenDianSyS conftest.o` ; then
7699 echo $ac_n ' big endian probe OK, ' 1>&6
7700 ac_cv_c_bigendian=yes
7701 fi
7702 if test `grep -l LiTTleEnDian conftest.o` ; then
7703 echo $ac_n ' little endian probe OK, ' 1>&6
7704 if test $ac_cv_c_bigendian = yes ; then
7705 ac_cv_c_bigendian=unknown;
7706 else
7707 ac_cv_c_bigendian=no
7708 fi
7709 fi
7710 echo $ac_n 'guessing bigendian ... ' >&6
7711 fi
7712 fi
7713 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7714 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7715 fi
7716 if test $ac_cv_c_bigendian = yes; then
7717
7718 cat >>confdefs.h <<\_ACEOF
7719 #define WORDS_BIGENDIAN 1
7720 _ACEOF
7721
7722
7723 cat >>confdefs.h <<\_ACEOF
7724 #define HOST_WORDS_BIG_ENDIAN 1
7725 _ACEOF
7726
7727 BYTEORDER=4321
7728 else
7729 BYTEORDER=1234
7730 fi
7731
7732 cat >>confdefs.h <<_ACEOF
7733 #define BYTEORDER $BYTEORDER
7734 _ACEOF
7735
7736 if test $ac_cv_c_bigendian = unknown; then
7737 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
7738 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
7739 { (exit 1); exit 1; }; }
7740 fi
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
7759 asm/ioctls.h \
7760 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
7761 sys/time.h \
7762 sys/select.h \
7763 crt_externs.h \
7764 fcntl.h \
7765 sys/mman.h
7766 do
7767 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7769 echo "$as_me:$LINENO: checking for $ac_header" >&5
7770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7772 echo $ECHO_N "(cached) $ECHO_C" >&6
7773 fi
7774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7776 else
7777 # Is the header compilable?
7778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7780 cat >conftest.$ac_ext <<_ACEOF
7781 /* confdefs.h. */
7782 _ACEOF
7783 cat confdefs.h >>conftest.$ac_ext
7784 cat >>conftest.$ac_ext <<_ACEOF
7785 /* end confdefs.h. */
7786 $ac_includes_default
7787 #include <$ac_header>
7788 _ACEOF
7789 rm -f conftest.$ac_objext
7790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7791 (eval $ac_compile) 2>conftest.er1
7792 ac_status=$?
7793 grep -v '^ *+' conftest.er1 >conftest.err
7794 rm -f conftest.er1
7795 cat conftest.err >&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); } &&
7798 { ac_try='test -z "$ac_c_werror_flag"
7799 || test ! -s conftest.err'
7800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7801 (eval $ac_try) 2>&5
7802 ac_status=$?
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); }; } &&
7805 { ac_try='test -s conftest.$ac_objext'
7806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7807 (eval $ac_try) 2>&5
7808 ac_status=$?
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); }; }; then
7811 ac_header_compiler=yes
7812 else
7813 echo "$as_me: failed program was:" >&5
7814 sed 's/^/| /' conftest.$ac_ext >&5
7815
7816 ac_header_compiler=no
7817 fi
7818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7820 echo "${ECHO_T}$ac_header_compiler" >&6
7821
7822 # Is the header present?
7823 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7825 cat >conftest.$ac_ext <<_ACEOF
7826 /* confdefs.h. */
7827 _ACEOF
7828 cat confdefs.h >>conftest.$ac_ext
7829 cat >>conftest.$ac_ext <<_ACEOF
7830 /* end confdefs.h. */
7831 #include <$ac_header>
7832 _ACEOF
7833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7835 ac_status=$?
7836 grep -v '^ *+' conftest.er1 >conftest.err
7837 rm -f conftest.er1
7838 cat conftest.err >&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); } >/dev/null; then
7841 if test -s conftest.err; then
7842 ac_cpp_err=$ac_c_preproc_warn_flag
7843 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7844 else
7845 ac_cpp_err=
7846 fi
7847 else
7848 ac_cpp_err=yes
7849 fi
7850 if test -z "$ac_cpp_err"; then
7851 ac_header_preproc=yes
7852 else
7853 echo "$as_me: failed program was:" >&5
7854 sed 's/^/| /' conftest.$ac_ext >&5
7855
7856 ac_header_preproc=no
7857 fi
7858 rm -f conftest.err conftest.$ac_ext
7859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7860 echo "${ECHO_T}$ac_header_preproc" >&6
7861
7862 # So? What about this header?
7863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7864 yes:no: )
7865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7869 ac_header_preproc=yes
7870 ;;
7871 no:yes:* )
7872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7884 (
7885 cat <<\_ASBOX
7886 ## -------------------------------- ##
7887 ## Report this to classpath@gnu.org ##
7888 ## -------------------------------- ##
7889 _ASBOX
7890 ) |
7891 sed "s/^/$as_me: WARNING: /" >&2
7892 ;;
7893 esac
7894 echo "$as_me:$LINENO: checking for $ac_header" >&5
7895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7897 echo $ECHO_N "(cached) $ECHO_C" >&6
7898 else
7899 eval "$as_ac_Header=\$ac_header_preproc"
7900 fi
7901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7903
7904 fi
7905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7906 cat >>confdefs.h <<_ACEOF
7907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7908 _ACEOF
7909
7910 fi
7911
7912 done
7913
7914
7915 cat >conftest.$ac_ext <<_ACEOF
7916 /* confdefs.h. */
7917 _ACEOF
7918 cat confdefs.h >>conftest.$ac_ext
7919 cat >>conftest.$ac_ext <<_ACEOF
7920 /* end confdefs.h. */
7921 #include <stdint.h>
7922
7923 _ACEOF
7924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7925 $EGREP "uint32_t" >/dev/null 2>&1; then
7926
7927 cat >>confdefs.h <<\_ACEOF
7928 #define HAVE_INT32_DEFINED 1
7929 _ACEOF
7930
7931 fi
7932 rm -f conftest*
7933
7934 cat >conftest.$ac_ext <<_ACEOF
7935 /* confdefs.h. */
7936 _ACEOF
7937 cat confdefs.h >>conftest.$ac_ext
7938 cat >>conftest.$ac_ext <<_ACEOF
7939 /* end confdefs.h. */
7940 #include <inttypes.h>
7941
7942 _ACEOF
7943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7944 $EGREP "uint32_t" >/dev/null 2>&1; then
7945
7946 cat >>confdefs.h <<\_ACEOF
7947 #define HAVE_INT32_DEFINED 1
7948 _ACEOF
7949
7950 fi
7951 rm -f conftest*
7952
7953 cat >conftest.$ac_ext <<_ACEOF
7954 /* confdefs.h. */
7955 _ACEOF
7956 cat confdefs.h >>conftest.$ac_ext
7957 cat >>conftest.$ac_ext <<_ACEOF
7958 /* end confdefs.h. */
7959 #include <sys/types.h>
7960
7961 _ACEOF
7962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7963 $EGREP "u_int32_t" >/dev/null 2>&1; then
7964
7965 cat >>confdefs.h <<\_ACEOF
7966 #define HAVE_BSD_INT32_DEFINED 1
7967 _ACEOF
7968
7969 fi
7970 rm -f conftest*
7971
7972 cat >conftest.$ac_ext <<_ACEOF
7973 /* confdefs.h. */
7974 _ACEOF
7975 cat confdefs.h >>conftest.$ac_ext
7976 cat >>conftest.$ac_ext <<_ACEOF
7977 /* end confdefs.h. */
7978 #include <sys/config.h>
7979
7980 _ACEOF
7981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7982 $EGREP "u_int32_t" >/dev/null 2>&1; then
7983
7984 cat >>confdefs.h <<\_ACEOF
7985 #define HAVE_BSD_INT32_DEFINED 1
7986 _ACEOF
7987
7988 fi
7989 rm -f conftest*
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033 for ac_func in ftruncate fsync select \
8034 gethostname socket strerror fork pipe execve open close \
8035 lseek fstat read write htonl memset htons connect \
8036 getsockname getpeername bind listen accept \
8037 recvfrom send sendto setsockopt getsockopt time mktime \
8038 localtime_r \
8039 strerror_r \
8040 fcntl \
8041 mmap munmap mincore msync madvise getpagesize sysconf \
8042
8043 do
8044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8045 echo "$as_me:$LINENO: checking for $ac_func" >&5
8046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8047 if eval "test \"\${$as_ac_var+set}\" = set"; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8049 else
8050 cat >conftest.$ac_ext <<_ACEOF
8051 /* confdefs.h. */
8052 _ACEOF
8053 cat confdefs.h >>conftest.$ac_ext
8054 cat >>conftest.$ac_ext <<_ACEOF
8055 /* end confdefs.h. */
8056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8058 #define $ac_func innocuous_$ac_func
8059
8060 /* System header to define __stub macros and hopefully few prototypes,
8061 which can conflict with char $ac_func (); below.
8062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8063 <limits.h> exists even on freestanding compilers. */
8064
8065 #ifdef __STDC__
8066 # include <limits.h>
8067 #else
8068 # include <assert.h>
8069 #endif
8070
8071 #undef $ac_func
8072
8073 /* Override any gcc2 internal prototype to avoid an error. */
8074 #ifdef __cplusplus
8075 extern "C"
8076 {
8077 #endif
8078 /* We use char because int might match the return type of a gcc2
8079 builtin and then its argument prototype would still apply. */
8080 char $ac_func ();
8081 /* The GNU C library defines this for functions which it implements
8082 to always fail with ENOSYS. Some functions are actually named
8083 something starting with __ and the normal name is an alias. */
8084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8085 choke me
8086 #else
8087 char (*f) () = $ac_func;
8088 #endif
8089 #ifdef __cplusplus
8090 }
8091 #endif
8092
8093 int
8094 main ()
8095 {
8096 return f != $ac_func;
8097 ;
8098 return 0;
8099 }
8100 _ACEOF
8101 rm -f conftest.$ac_objext conftest$ac_exeext
8102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8103 (eval $ac_link) 2>conftest.er1
8104 ac_status=$?
8105 grep -v '^ *+' conftest.er1 >conftest.err
8106 rm -f conftest.er1
8107 cat conftest.err >&5
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); } &&
8110 { ac_try='test -z "$ac_c_werror_flag"
8111 || test ! -s conftest.err'
8112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8113 (eval $ac_try) 2>&5
8114 ac_status=$?
8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116 (exit $ac_status); }; } &&
8117 { ac_try='test -s conftest$ac_exeext'
8118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8119 (eval $ac_try) 2>&5
8120 ac_status=$?
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); }; }; then
8123 eval "$as_ac_var=yes"
8124 else
8125 echo "$as_me: failed program was:" >&5
8126 sed 's/^/| /' conftest.$ac_ext >&5
8127
8128 eval "$as_ac_var=no"
8129 fi
8130 rm -f conftest.err conftest.$ac_objext \
8131 conftest$ac_exeext conftest.$ac_ext
8132 fi
8133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8135 if test `eval echo '${'$as_ac_var'}'` = yes; then
8136 cat >>confdefs.h <<_ACEOF
8137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8138 _ACEOF
8139
8140 fi
8141 done
8142
8143
8144 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8145 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8146 if test "${ac_cv_header_time+set}" = set; then
8147 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 else
8149 cat >conftest.$ac_ext <<_ACEOF
8150 /* confdefs.h. */
8151 _ACEOF
8152 cat confdefs.h >>conftest.$ac_ext
8153 cat >>conftest.$ac_ext <<_ACEOF
8154 /* end confdefs.h. */
8155 #include <sys/types.h>
8156 #include <sys/time.h>
8157 #include <time.h>
8158
8159 int
8160 main ()
8161 {
8162 if ((struct tm *) 0)
8163 return 0;
8164 ;
8165 return 0;
8166 }
8167 _ACEOF
8168 rm -f conftest.$ac_objext
8169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8170 (eval $ac_compile) 2>conftest.er1
8171 ac_status=$?
8172 grep -v '^ *+' conftest.er1 >conftest.err
8173 rm -f conftest.er1
8174 cat conftest.err >&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); } &&
8177 { ac_try='test -z "$ac_c_werror_flag"
8178 || test ! -s conftest.err'
8179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8180 (eval $ac_try) 2>&5
8181 ac_status=$?
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); }; } &&
8184 { ac_try='test -s conftest.$ac_objext'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8186 (eval $ac_try) 2>&5
8187 ac_status=$?
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; }; then
8190 ac_cv_header_time=yes
8191 else
8192 echo "$as_me: failed program was:" >&5
8193 sed 's/^/| /' conftest.$ac_ext >&5
8194
8195 ac_cv_header_time=no
8196 fi
8197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8198 fi
8199 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8200 echo "${ECHO_T}$ac_cv_header_time" >&6
8201 if test $ac_cv_header_time = yes; then
8202
8203 cat >>confdefs.h <<\_ACEOF
8204 #define TIME_WITH_SYS_TIME 1
8205 _ACEOF
8206
8207 fi
8208
8209 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8210 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8211 if test "${ac_cv_struct_tm+set}" = set; then
8212 echo $ECHO_N "(cached) $ECHO_C" >&6
8213 else
8214 cat >conftest.$ac_ext <<_ACEOF
8215 /* confdefs.h. */
8216 _ACEOF
8217 cat confdefs.h >>conftest.$ac_ext
8218 cat >>conftest.$ac_ext <<_ACEOF
8219 /* end confdefs.h. */
8220 #include <sys/types.h>
8221 #include <time.h>
8222
8223 int
8224 main ()
8225 {
8226 struct tm *tp; tp->tm_sec;
8227 ;
8228 return 0;
8229 }
8230 _ACEOF
8231 rm -f conftest.$ac_objext
8232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8233 (eval $ac_compile) 2>conftest.er1
8234 ac_status=$?
8235 grep -v '^ *+' conftest.er1 >conftest.err
8236 rm -f conftest.er1
8237 cat conftest.err >&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } &&
8240 { ac_try='test -z "$ac_c_werror_flag"
8241 || test ! -s conftest.err'
8242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8243 (eval $ac_try) 2>&5
8244 ac_status=$?
8245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246 (exit $ac_status); }; } &&
8247 { ac_try='test -s conftest.$ac_objext'
8248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8249 (eval $ac_try) 2>&5
8250 ac_status=$?
8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252 (exit $ac_status); }; }; then
8253 ac_cv_struct_tm=time.h
8254 else
8255 echo "$as_me: failed program was:" >&5
8256 sed 's/^/| /' conftest.$ac_ext >&5
8257
8258 ac_cv_struct_tm=sys/time.h
8259 fi
8260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8261 fi
8262 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8263 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8264 if test $ac_cv_struct_tm = sys/time.h; then
8265
8266 cat >>confdefs.h <<\_ACEOF
8267 #define TM_IN_SYS_TIME 1
8268 _ACEOF
8269
8270 fi
8271
8272 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8273 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
8274 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8275 echo $ECHO_N "(cached) $ECHO_C" >&6
8276 else
8277 cat >conftest.$ac_ext <<_ACEOF
8278 /* confdefs.h. */
8279 _ACEOF
8280 cat confdefs.h >>conftest.$ac_ext
8281 cat >>conftest.$ac_ext <<_ACEOF
8282 /* end confdefs.h. */
8283 #include <sys/types.h>
8284 #include <$ac_cv_struct_tm>
8285
8286
8287 int
8288 main ()
8289 {
8290 static struct tm ac_aggr;
8291 if (ac_aggr.tm_zone)
8292 return 0;
8293 ;
8294 return 0;
8295 }
8296 _ACEOF
8297 rm -f conftest.$ac_objext
8298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8299 (eval $ac_compile) 2>conftest.er1
8300 ac_status=$?
8301 grep -v '^ *+' conftest.er1 >conftest.err
8302 rm -f conftest.er1
8303 cat conftest.err >&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); } &&
8306 { ac_try='test -z "$ac_c_werror_flag"
8307 || test ! -s conftest.err'
8308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8309 (eval $ac_try) 2>&5
8310 ac_status=$?
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); }; } &&
8313 { ac_try='test -s conftest.$ac_objext'
8314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8315 (eval $ac_try) 2>&5
8316 ac_status=$?
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); }; }; then
8319 ac_cv_member_struct_tm_tm_zone=yes
8320 else
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8323
8324 cat >conftest.$ac_ext <<_ACEOF
8325 /* confdefs.h. */
8326 _ACEOF
8327 cat confdefs.h >>conftest.$ac_ext
8328 cat >>conftest.$ac_ext <<_ACEOF
8329 /* end confdefs.h. */
8330 #include <sys/types.h>
8331 #include <$ac_cv_struct_tm>
8332
8333
8334 int
8335 main ()
8336 {
8337 static struct tm ac_aggr;
8338 if (sizeof ac_aggr.tm_zone)
8339 return 0;
8340 ;
8341 return 0;
8342 }
8343 _ACEOF
8344 rm -f conftest.$ac_objext
8345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8346 (eval $ac_compile) 2>conftest.er1
8347 ac_status=$?
8348 grep -v '^ *+' conftest.er1 >conftest.err
8349 rm -f conftest.er1
8350 cat conftest.err >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); } &&
8353 { ac_try='test -z "$ac_c_werror_flag"
8354 || test ! -s conftest.err'
8355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356 (eval $ac_try) 2>&5
8357 ac_status=$?
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); }; } &&
8360 { ac_try='test -s conftest.$ac_objext'
8361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362 (eval $ac_try) 2>&5
8363 ac_status=$?
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); }; }; then
8366 ac_cv_member_struct_tm_tm_zone=yes
8367 else
8368 echo "$as_me: failed program was:" >&5
8369 sed 's/^/| /' conftest.$ac_ext >&5
8370
8371 ac_cv_member_struct_tm_tm_zone=no
8372 fi
8373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8374 fi
8375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8376 fi
8377 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8378 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
8379 if test $ac_cv_member_struct_tm_tm_zone = yes; then
8380
8381 cat >>confdefs.h <<_ACEOF
8382 #define HAVE_STRUCT_TM_TM_ZONE 1
8383 _ACEOF
8384
8385
8386 fi
8387
8388 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8389
8390 cat >>confdefs.h <<\_ACEOF
8391 #define HAVE_TM_ZONE 1
8392 _ACEOF
8393
8394 else
8395 echo "$as_me:$LINENO: checking for tzname" >&5
8396 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
8397 if test "${ac_cv_var_tzname+set}" = set; then
8398 echo $ECHO_N "(cached) $ECHO_C" >&6
8399 else
8400 cat >conftest.$ac_ext <<_ACEOF
8401 /* confdefs.h. */
8402 _ACEOF
8403 cat confdefs.h >>conftest.$ac_ext
8404 cat >>conftest.$ac_ext <<_ACEOF
8405 /* end confdefs.h. */
8406 #include <time.h>
8407 #ifndef tzname /* For SGI. */
8408 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
8409 #endif
8410
8411 int
8412 main ()
8413 {
8414 atoi(*tzname);
8415 ;
8416 return 0;
8417 }
8418 _ACEOF
8419 rm -f conftest.$ac_objext conftest$ac_exeext
8420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8421 (eval $ac_link) 2>conftest.er1
8422 ac_status=$?
8423 grep -v '^ *+' conftest.er1 >conftest.err
8424 rm -f conftest.er1
8425 cat conftest.err >&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); } &&
8428 { ac_try='test -z "$ac_c_werror_flag"
8429 || test ! -s conftest.err'
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); }; } &&
8435 { ac_try='test -s conftest$ac_exeext'
8436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8437 (eval $ac_try) 2>&5
8438 ac_status=$?
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); }; }; then
8441 ac_cv_var_tzname=yes
8442 else
8443 echo "$as_me: failed program was:" >&5
8444 sed 's/^/| /' conftest.$ac_ext >&5
8445
8446 ac_cv_var_tzname=no
8447 fi
8448 rm -f conftest.err conftest.$ac_objext \
8449 conftest$ac_exeext conftest.$ac_ext
8450 fi
8451 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8452 echo "${ECHO_T}$ac_cv_var_tzname" >&6
8453 if test $ac_cv_var_tzname = yes; then
8454
8455 cat >>confdefs.h <<\_ACEOF
8456 #define HAVE_TZNAME 1
8457 _ACEOF
8458
8459 fi
8460 fi
8461
8462
8463 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
8464 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
8465 cat >conftest.$ac_ext <<_ACEOF
8466 /* confdefs.h. */
8467 _ACEOF
8468 cat confdefs.h >>conftest.$ac_ext
8469 cat >>conftest.$ac_ext <<_ACEOF
8470 /* end confdefs.h. */
8471 #include <time.h>
8472 int
8473 main ()
8474 {
8475 struct tm tim; tim.tm_gmtoff = 0;
8476 ;
8477 return 0;
8478 }
8479 _ACEOF
8480 rm -f conftest.$ac_objext
8481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8482 (eval $ac_compile) 2>conftest.er1
8483 ac_status=$?
8484 grep -v '^ *+' conftest.er1 >conftest.err
8485 rm -f conftest.er1
8486 cat conftest.err >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); } &&
8489 { ac_try='test -z "$ac_c_werror_flag"
8490 || test ! -s conftest.err'
8491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8492 (eval $ac_try) 2>&5
8493 ac_status=$?
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); }; } &&
8496 { ac_try='test -s conftest.$ac_objext'
8497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8498 (eval $ac_try) 2>&5
8499 ac_status=$?
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); }; }; then
8502
8503 cat >>confdefs.h <<\_ACEOF
8504 #define STRUCT_TM_HAS_GMTOFF 1
8505 _ACEOF
8506
8507 echo "$as_me:$LINENO: result: yes" >&5
8508 echo "${ECHO_T}yes" >&6
8509 else
8510 echo "$as_me: failed program was:" >&5
8511 sed 's/^/| /' conftest.$ac_ext >&5
8512
8513 echo "$as_me:$LINENO: result: no" >&5
8514 echo "${ECHO_T}no" >&6
8515 echo "$as_me:$LINENO: checking for global timezone variable" >&5
8516 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
8517 cat >conftest.$ac_ext <<_ACEOF
8518 /* confdefs.h. */
8519 _ACEOF
8520 cat confdefs.h >>conftest.$ac_ext
8521 cat >>conftest.$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8523 #include <time.h>
8524 int
8525 main ()
8526 {
8527 void i(){long z2 = 2*timezone;}
8528 ;
8529 return 0;
8530 }
8531 _ACEOF
8532 rm -f conftest.$ac_objext
8533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8534 (eval $ac_compile) 2>conftest.er1
8535 ac_status=$?
8536 grep -v '^ *+' conftest.er1 >conftest.err
8537 rm -f conftest.er1
8538 cat conftest.err >&5
8539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8540 (exit $ac_status); } &&
8541 { ac_try='test -z "$ac_c_werror_flag"
8542 || test ! -s conftest.err'
8543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8544 (eval $ac_try) 2>&5
8545 ac_status=$?
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); }; } &&
8548 { ac_try='test -s conftest.$ac_objext'
8549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8550 (eval $ac_try) 2>&5
8551 ac_status=$?
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); }; }; then
8554
8555 cat >>confdefs.h <<\_ACEOF
8556 #define HAVE_TIMEZONE 1
8557 _ACEOF
8558
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8561 else
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8564
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8567 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
8568 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
8569 cat >conftest.$ac_ext <<_ACEOF
8570 /* confdefs.h. */
8571 _ACEOF
8572 cat confdefs.h >>conftest.$ac_ext
8573 cat >>conftest.$ac_ext <<_ACEOF
8574 /* end confdefs.h. */
8575 #include <time.h>
8576 int
8577 main ()
8578 {
8579 long z2 = _timezone;
8580 ;
8581 return 0;
8582 }
8583 _ACEOF
8584 rm -f conftest.$ac_objext
8585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8586 (eval $ac_compile) 2>conftest.er1
8587 ac_status=$?
8588 grep -v '^ *+' conftest.er1 >conftest.err
8589 rm -f conftest.er1
8590 cat conftest.err >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); } &&
8593 { ac_try='test -z "$ac_c_werror_flag"
8594 || test ! -s conftest.err'
8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8596 (eval $ac_try) 2>&5
8597 ac_status=$?
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); }; } &&
8600 { ac_try='test -s conftest.$ac_objext'
8601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8602 (eval $ac_try) 2>&5
8603 ac_status=$?
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); }; }; then
8606
8607 cat >>confdefs.h <<\_ACEOF
8608 #define HAVE_UNDERSCORE_TIMEZONE 1
8609 _ACEOF
8610
8611 echo "$as_me:$LINENO: result: yes" >&5
8612 echo "${ECHO_T}yes" >&6
8613 else
8614 echo "$as_me: failed program was:" >&5
8615 sed 's/^/| /' conftest.$ac_ext >&5
8616
8617 echo "$as_me:$LINENO: result: no" >&5
8618 echo "${ECHO_T}no" >&6
8619 fi
8620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8621 fi
8622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8623 fi
8624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8625
8626 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8627 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8628 if test "${ac_cv_c_const+set}" = set; then
8629 echo $ECHO_N "(cached) $ECHO_C" >&6
8630 else
8631 cat >conftest.$ac_ext <<_ACEOF
8632 /* confdefs.h. */
8633 _ACEOF
8634 cat confdefs.h >>conftest.$ac_ext
8635 cat >>conftest.$ac_ext <<_ACEOF
8636 /* end confdefs.h. */
8637
8638 int
8639 main ()
8640 {
8641 /* FIXME: Include the comments suggested by Paul. */
8642 #ifndef __cplusplus
8643 /* Ultrix mips cc rejects this. */
8644 typedef int charset[2];
8645 const charset x;
8646 /* SunOS 4.1.1 cc rejects this. */
8647 char const *const *ccp;
8648 char **p;
8649 /* NEC SVR4.0.2 mips cc rejects this. */
8650 struct point {int x, y;};
8651 static struct point const zero = {0,0};
8652 /* AIX XL C 1.02.0.0 rejects this.
8653 It does not let you subtract one const X* pointer from another in
8654 an arm of an if-expression whose if-part is not a constant
8655 expression */
8656 const char *g = "string";
8657 ccp = &g + (g ? g-g : 0);
8658 /* HPUX 7.0 cc rejects these. */
8659 ++ccp;
8660 p = (char**) ccp;
8661 ccp = (char const *const *) p;
8662 { /* SCO 3.2v4 cc rejects this. */
8663 char *t;
8664 char const *s = 0 ? (char *) 0 : (char const *) 0;
8665
8666 *t++ = 0;
8667 }
8668 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8669 int x[] = {25, 17};
8670 const int *foo = &x[0];
8671 ++foo;
8672 }
8673 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8674 typedef const int *iptr;
8675 iptr p = 0;
8676 ++p;
8677 }
8678 { /* AIX XL C 1.02.0.0 rejects this saying
8679 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8680 struct s { int j; const int *ap[3]; };
8681 struct s *b; b->j = 5;
8682 }
8683 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8684 const int foo = 10;
8685 }
8686 #endif
8687
8688 ;
8689 return 0;
8690 }
8691 _ACEOF
8692 rm -f conftest.$ac_objext
8693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8694 (eval $ac_compile) 2>conftest.er1
8695 ac_status=$?
8696 grep -v '^ *+' conftest.er1 >conftest.err
8697 rm -f conftest.er1
8698 cat conftest.err >&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); } &&
8701 { ac_try='test -z "$ac_c_werror_flag"
8702 || test ! -s conftest.err'
8703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8704 (eval $ac_try) 2>&5
8705 ac_status=$?
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); }; } &&
8708 { ac_try='test -s conftest.$ac_objext'
8709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 (eval $ac_try) 2>&5
8711 ac_status=$?
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); }; }; then
8714 ac_cv_c_const=yes
8715 else
8716 echo "$as_me: failed program was:" >&5
8717 sed 's/^/| /' conftest.$ac_ext >&5
8718
8719 ac_cv_c_const=no
8720 fi
8721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8722 fi
8723 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8724 echo "${ECHO_T}$ac_cv_c_const" >&6
8725 if test $ac_cv_c_const = no; then
8726
8727 cat >>confdefs.h <<\_ACEOF
8728 #define const
8729 _ACEOF
8730
8731 fi
8732
8733 echo "$as_me:$LINENO: checking for __attribute__" >&5
8734 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
8735 if test "${ac_cv_c_attribute+set}" = set; then
8736 echo $ECHO_N "(cached) $ECHO_C" >&6
8737 else
8738
8739 cat >conftest.$ac_ext <<_ACEOF
8740 /* confdefs.h. */
8741 _ACEOF
8742 cat confdefs.h >>conftest.$ac_ext
8743 cat >>conftest.$ac_ext <<_ACEOF
8744 /* end confdefs.h. */
8745 void foo(void) __attribute__ ((__noreturn__));
8746
8747 _ACEOF
8748 rm -f conftest.$ac_objext
8749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8750 (eval $ac_compile) 2>conftest.er1
8751 ac_status=$?
8752 grep -v '^ *+' conftest.er1 >conftest.err
8753 rm -f conftest.er1
8754 cat conftest.err >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } &&
8757 { ac_try='test -z "$ac_c_werror_flag"
8758 || test ! -s conftest.err'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8760 (eval $ac_try) 2>&5
8761 ac_status=$?
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; } &&
8764 { ac_try='test -s conftest.$ac_objext'
8765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8766 (eval $ac_try) 2>&5
8767 ac_status=$?
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); }; }; then
8770 ac_cv_c_attribute=yes
8771 else
8772 echo "$as_me: failed program was:" >&5
8773 sed 's/^/| /' conftest.$ac_ext >&5
8774
8775 ac_cv_c_attribute=no
8776
8777 fi
8778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8779
8780 fi
8781 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
8782 echo "${ECHO_T}$ac_cv_c_attribute" >&6
8783
8784
8785 case $ac_cv_c_attribute in
8786 yes) ;;
8787 no)
8788 cat >>confdefs.h <<_ACEOF
8789 #define __attribute__(x) /* nothing */
8790 _ACEOF
8791 ;;
8792 esac
8793
8794
8795
8796 if test "X$prefix" = "XNONE"; then
8797 acl_final_prefix="$ac_default_prefix"
8798 else
8799 acl_final_prefix="$prefix"
8800 fi
8801 if test "X$exec_prefix" = "XNONE"; then
8802 acl_final_exec_prefix='${prefix}'
8803 else
8804 acl_final_exec_prefix="$exec_prefix"
8805 fi
8806 acl_save_prefix="$prefix"
8807 prefix="$acl_final_prefix"
8808 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
8809 prefix="$acl_save_prefix"
8810
8811
8812 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8813 if test "${with_gnu_ld+set}" = set; then
8814 withval="$with_gnu_ld"
8815 test "$withval" = no || with_gnu_ld=yes
8816 else
8817 with_gnu_ld=no
8818 fi;
8819 # Prepare PATH_SEPARATOR.
8820 # The user is always right.
8821 if test "${PATH_SEPARATOR+set}" != set; then
8822 echo "#! /bin/sh" >conf$$.sh
8823 echo "exit 0" >>conf$$.sh
8824 chmod +x conf$$.sh
8825 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8826 PATH_SEPARATOR=';'
8827 else
8828 PATH_SEPARATOR=:
8829 fi
8830 rm -f conf$$.sh
8831 fi
8832 ac_prog=ld
8833 if test "$GCC" = yes; then
8834 # Check if gcc -print-prog-name=ld gives a path.
8835 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8836 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8837 case $host in
8838 *-*-mingw*)
8839 # gcc leaves a trailing carriage return which upsets mingw
8840 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8841 *)
8842 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8843 esac
8844 case $ac_prog in
8845 # Accept absolute paths.
8846 [\\/]* | [A-Za-z]:[\\/]*)
8847 re_direlt='/[^/][^/]*/\.\./'
8848 # Canonicalize the path of ld
8849 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
8850 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
8851 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
8852 done
8853 test -z "$LD" && LD="$ac_prog"
8854 ;;
8855 "")
8856 # If it fails, then pretend we aren't using GCC.
8857 ac_prog=ld
8858 ;;
8859 *)
8860 # If it is relative, then search for the first ld in PATH.
8861 with_gnu_ld=unknown
8862 ;;
8863 esac
8864 elif test "$with_gnu_ld" = yes; then
8865 echo "$as_me:$LINENO: checking for GNU ld" >&5
8866 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8867 else
8868 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8869 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8870 fi
8871 if test "${acl_cv_path_LD+set}" = set; then
8872 echo $ECHO_N "(cached) $ECHO_C" >&6
8873 else
8874 if test -z "$LD"; then
8875 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8876 for ac_dir in $PATH; do
8877 test -z "$ac_dir" && ac_dir=.
8878 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8879 acl_cv_path_LD="$ac_dir/$ac_prog"
8880 # Check to see if the program is GNU ld. I'd rather use --version,
8881 # but apparently some GNU ld's only accept -v.
8882 # Break only if it was the GNU/non-GNU ld that we prefer.
8883 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
8884 test "$with_gnu_ld" != no && break
8885 else
8886 test "$with_gnu_ld" != yes && break
8887 fi
8888 fi
8889 done
8890 IFS="$ac_save_ifs"
8891 else
8892 acl_cv_path_LD="$LD" # Let the user override the test with a path.
8893 fi
8894 fi
8895
8896 LD="$acl_cv_path_LD"
8897 if test -n "$LD"; then
8898 echo "$as_me:$LINENO: result: $LD" >&5
8899 echo "${ECHO_T}$LD" >&6
8900 else
8901 echo "$as_me:$LINENO: result: no" >&5
8902 echo "${ECHO_T}no" >&6
8903 fi
8904 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8905 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8906 { (exit 1); exit 1; }; }
8907 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8908 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8909 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8910 echo $ECHO_N "(cached) $ECHO_C" >&6
8911 else
8912 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8913 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8914 acl_cv_prog_gnu_ld=yes
8915 else
8916 acl_cv_prog_gnu_ld=no
8917 fi
8918 fi
8919 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8920 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
8921 with_gnu_ld=$acl_cv_prog_gnu_ld
8922
8923
8924
8925 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8926 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
8927 if test "${acl_cv_rpath+set}" = set; then
8928 echo $ECHO_N "(cached) $ECHO_C" >&6
8929 else
8930
8931 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
8932 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8933 . ./conftest.sh
8934 rm -f ./conftest.sh
8935 acl_cv_rpath=done
8936
8937 fi
8938 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8939 echo "${ECHO_T}$acl_cv_rpath" >&6
8940 wl="$acl_cv_wl"
8941 libext="$acl_cv_libext"
8942 shlibext="$acl_cv_shlibext"
8943 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
8944 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
8945 hardcode_direct="$acl_cv_hardcode_direct"
8946 hardcode_minus_L="$acl_cv_hardcode_minus_L"
8947 # Check whether --enable-rpath or --disable-rpath was given.
8948 if test "${enable_rpath+set}" = set; then
8949 enableval="$enable_rpath"
8950 :
8951 else
8952 enable_rpath=yes
8953 fi;
8954
8955
8956
8957
8958
8959
8960
8961 use_additional=yes
8962
8963 acl_save_prefix="$prefix"
8964 prefix="$acl_final_prefix"
8965 acl_save_exec_prefix="$exec_prefix"
8966 exec_prefix="$acl_final_exec_prefix"
8967
8968 eval additional_includedir=\"$includedir\"
8969 eval additional_libdir=\"$libdir\"
8970
8971 exec_prefix="$acl_save_exec_prefix"
8972 prefix="$acl_save_prefix"
8973
8974
8975 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8976 if test "${with_libiconv_prefix+set}" = set; then
8977 withval="$with_libiconv_prefix"
8978
8979 if test "X$withval" = "Xno"; then
8980 use_additional=no
8981 else
8982 if test "X$withval" = "X"; then
8983
8984 acl_save_prefix="$prefix"
8985 prefix="$acl_final_prefix"
8986 acl_save_exec_prefix="$exec_prefix"
8987 exec_prefix="$acl_final_exec_prefix"
8988
8989 eval additional_includedir=\"$includedir\"
8990 eval additional_libdir=\"$libdir\"
8991
8992 exec_prefix="$acl_save_exec_prefix"
8993 prefix="$acl_save_prefix"
8994
8995 else
8996 additional_includedir="$withval/include"
8997 additional_libdir="$withval/lib"
8998 fi
8999 fi
9000
9001 fi;
9002 LIBICONV=
9003 LTLIBICONV=
9004 INCICONV=
9005 rpathdirs=
9006 ltrpathdirs=
9007 names_already_handled=
9008 names_next_round='iconv '
9009 while test -n "$names_next_round"; do
9010 names_this_round="$names_next_round"
9011 names_next_round=
9012 for name in $names_this_round; do
9013 already_handled=
9014 for n in $names_already_handled; do
9015 if test "$n" = "$name"; then
9016 already_handled=yes
9017 break
9018 fi
9019 done
9020 if test -z "$already_handled"; then
9021 names_already_handled="$names_already_handled $name"
9022 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9023 eval value=\"\$HAVE_LIB$uppername\"
9024 if test -n "$value"; then
9025 if test "$value" = yes; then
9026 eval value=\"\$LIB$uppername\"
9027 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
9028 eval value=\"\$LTLIB$uppername\"
9029 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
9030 else
9031 :
9032 fi
9033 else
9034 found_dir=
9035 found_la=
9036 found_so=
9037 found_a=
9038 if test $use_additional = yes; then
9039 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9040 found_dir="$additional_libdir"
9041 found_so="$additional_libdir/lib$name.$shlibext"
9042 if test -f "$additional_libdir/lib$name.la"; then
9043 found_la="$additional_libdir/lib$name.la"
9044 fi
9045 else
9046 if test -f "$additional_libdir/lib$name.$libext"; then
9047 found_dir="$additional_libdir"
9048 found_a="$additional_libdir/lib$name.$libext"
9049 if test -f "$additional_libdir/lib$name.la"; then
9050 found_la="$additional_libdir/lib$name.la"
9051 fi
9052 fi
9053 fi
9054 fi
9055 if test "X$found_dir" = "X"; then
9056 for x in $LDFLAGS $LTLIBICONV; do
9057
9058 acl_save_prefix="$prefix"
9059 prefix="$acl_final_prefix"
9060 acl_save_exec_prefix="$exec_prefix"
9061 exec_prefix="$acl_final_exec_prefix"
9062 eval x=\"$x\"
9063 exec_prefix="$acl_save_exec_prefix"
9064 prefix="$acl_save_prefix"
9065
9066 case "$x" in
9067 -L*)
9068 dir=`echo "X$x" | sed -e 's/^X-L//'`
9069 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9070 found_dir="$dir"
9071 found_so="$dir/lib$name.$shlibext"
9072 if test -f "$dir/lib$name.la"; then
9073 found_la="$dir/lib$name.la"
9074 fi
9075 else
9076 if test -f "$dir/lib$name.$libext"; then
9077 found_dir="$dir"
9078 found_a="$dir/lib$name.$libext"
9079 if test -f "$dir/lib$name.la"; then
9080 found_la="$dir/lib$name.la"
9081 fi
9082 fi
9083 fi
9084 ;;
9085 esac
9086 if test "X$found_dir" != "X"; then
9087 break
9088 fi
9089 done
9090 fi
9091 if test "X$found_dir" != "X"; then
9092 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9093 if test "X$found_so" != "X"; then
9094 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
9095 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9096 else
9097 haveit=
9098 for x in $ltrpathdirs; do
9099 if test "X$x" = "X$found_dir"; then
9100 haveit=yes
9101 break
9102 fi
9103 done
9104 if test -z "$haveit"; then
9105 ltrpathdirs="$ltrpathdirs $found_dir"
9106 fi
9107 if test "$hardcode_direct" = yes; then
9108 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9109 else
9110 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
9111 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9112 haveit=
9113 for x in $rpathdirs; do
9114 if test "X$x" = "X$found_dir"; then
9115 haveit=yes
9116 break
9117 fi
9118 done
9119 if test -z "$haveit"; then
9120 rpathdirs="$rpathdirs $found_dir"
9121 fi
9122 else
9123 haveit=
9124 for x in $LDFLAGS $LIBICONV; do
9125
9126 acl_save_prefix="$prefix"
9127 prefix="$acl_final_prefix"
9128 acl_save_exec_prefix="$exec_prefix"
9129 exec_prefix="$acl_final_exec_prefix"
9130 eval x=\"$x\"
9131 exec_prefix="$acl_save_exec_prefix"
9132 prefix="$acl_save_prefix"
9133
9134 if test "X$x" = "X-L$found_dir"; then
9135 haveit=yes
9136 break
9137 fi
9138 done
9139 if test -z "$haveit"; then
9140 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9141 fi
9142 if test "$hardcode_minus_L" != no; then
9143 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9144 else
9145 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9146 fi
9147 fi
9148 fi
9149 fi
9150 else
9151 if test "X$found_a" != "X"; then
9152 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
9153 else
9154 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9155 fi
9156 fi
9157 additional_includedir=
9158 case "$found_dir" in
9159 */lib | */lib/)
9160 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9161 additional_includedir="$basedir/include"
9162 ;;
9163 esac
9164 if test "X$additional_includedir" != "X"; then
9165 if test "X$additional_includedir" != "X/usr/include"; then
9166 haveit=
9167 if test "X$additional_includedir" = "X/usr/local/include"; then
9168 if test -n "$GCC"; then
9169 case $host_os in
9170 linux*) haveit=yes;;
9171 esac
9172 fi
9173 fi
9174 if test -z "$haveit"; then
9175 for x in $CPPFLAGS $INCICONV; do
9176
9177 acl_save_prefix="$prefix"
9178 prefix="$acl_final_prefix"
9179 acl_save_exec_prefix="$exec_prefix"
9180 exec_prefix="$acl_final_exec_prefix"
9181 eval x=\"$x\"
9182 exec_prefix="$acl_save_exec_prefix"
9183 prefix="$acl_save_prefix"
9184
9185 if test "X$x" = "X-I$additional_includedir"; then
9186 haveit=yes
9187 break
9188 fi
9189 done
9190 if test -z "$haveit"; then
9191 if test -d "$additional_includedir"; then
9192 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9193 fi
9194 fi
9195 fi
9196 fi
9197 fi
9198 if test -n "$found_la"; then
9199 save_libdir="$libdir"
9200 case "$found_la" in
9201 */* | *\\*) . "$found_la" ;;
9202 *) . "./$found_la" ;;
9203 esac
9204 libdir="$save_libdir"
9205 for dep in $dependency_libs; do
9206 case "$dep" in
9207 -L*)
9208 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
9209 if test "X$additional_libdir" != "X/usr/lib"; then
9210 haveit=
9211 if test "X$additional_libdir" = "X/usr/local/lib"; then
9212 if test -n "$GCC"; then
9213 case $host_os in
9214 linux*) haveit=yes;;
9215 esac
9216 fi
9217 fi
9218 if test -z "$haveit"; then
9219 haveit=
9220 for x in $LDFLAGS $LIBICONV; do
9221
9222 acl_save_prefix="$prefix"
9223 prefix="$acl_final_prefix"
9224 acl_save_exec_prefix="$exec_prefix"
9225 exec_prefix="$acl_final_exec_prefix"
9226 eval x=\"$x\"
9227 exec_prefix="$acl_save_exec_prefix"
9228 prefix="$acl_save_prefix"
9229
9230 if test "X$x" = "X-L$additional_libdir"; then
9231 haveit=yes
9232 break
9233 fi
9234 done
9235 if test -z "$haveit"; then
9236 if test -d "$additional_libdir"; then
9237 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9238 fi
9239 fi
9240 haveit=
9241 for x in $LDFLAGS $LTLIBICONV; do
9242
9243 acl_save_prefix="$prefix"
9244 prefix="$acl_final_prefix"
9245 acl_save_exec_prefix="$exec_prefix"
9246 exec_prefix="$acl_final_exec_prefix"
9247 eval x=\"$x\"
9248 exec_prefix="$acl_save_exec_prefix"
9249 prefix="$acl_save_prefix"
9250
9251 if test "X$x" = "X-L$additional_libdir"; then
9252 haveit=yes
9253 break
9254 fi
9255 done
9256 if test -z "$haveit"; then
9257 if test -d "$additional_libdir"; then
9258 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9259 fi
9260 fi
9261 fi
9262 fi
9263 ;;
9264 -R*)
9265 dir=`echo "X$dep" | sed -e 's/^X-R//'`
9266 if test "$enable_rpath" != no; then
9267 haveit=
9268 for x in $rpathdirs; do
9269 if test "X$x" = "X$dir"; then
9270 haveit=yes
9271 break
9272 fi
9273 done
9274 if test -z "$haveit"; then
9275 rpathdirs="$rpathdirs $dir"
9276 fi
9277 haveit=
9278 for x in $ltrpathdirs; do
9279 if test "X$x" = "X$dir"; then
9280 haveit=yes
9281 break
9282 fi
9283 done
9284 if test -z "$haveit"; then
9285 ltrpathdirs="$ltrpathdirs $dir"
9286 fi
9287 fi
9288 ;;
9289 -l*)
9290 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9291 ;;
9292 *.la)
9293 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9294 ;;
9295 *)
9296 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
9297 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9298 ;;
9299 esac
9300 done
9301 fi
9302 else
9303 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9304 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9305 fi
9306 fi
9307 fi
9308 done
9309 done
9310 if test "X$rpathdirs" != "X"; then
9311 if test -n "$hardcode_libdir_separator"; then
9312 alldirs=
9313 for found_dir in $rpathdirs; do
9314 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9315 done
9316 acl_save_libdir="$libdir"
9317 libdir="$alldirs"
9318 eval flag=\"$hardcode_libdir_flag_spec\"
9319 libdir="$acl_save_libdir"
9320 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
9321 else
9322 for found_dir in $rpathdirs; do
9323 acl_save_libdir="$libdir"
9324 libdir="$found_dir"
9325 eval flag=\"$hardcode_libdir_flag_spec\"
9326 libdir="$acl_save_libdir"
9327 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
9328 done
9329 fi
9330 fi
9331 if test "X$ltrpathdirs" != "X"; then
9332 for found_dir in $ltrpathdirs; do
9333 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9334 done
9335 fi
9336
9337
9338
9339
9340
9341
9342
9343 am_save_CPPFLAGS="$CPPFLAGS"
9344
9345 for element in $INCICONV; do
9346 haveit=
9347 for x in $CPPFLAGS; do
9348
9349 acl_save_prefix="$prefix"
9350 prefix="$acl_final_prefix"
9351 acl_save_exec_prefix="$exec_prefix"
9352 exec_prefix="$acl_final_exec_prefix"
9353 eval x=\"$x\"
9354 exec_prefix="$acl_save_exec_prefix"
9355 prefix="$acl_save_prefix"
9356
9357 if test "X$x" = "X$element"; then
9358 haveit=yes
9359 break
9360 fi
9361 done
9362 if test -z "$haveit"; then
9363 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9364 fi
9365 done
9366
9367
9368 echo "$as_me:$LINENO: checking for iconv" >&5
9369 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9370 if test "${am_cv_func_iconv+set}" = set; then
9371 echo $ECHO_N "(cached) $ECHO_C" >&6
9372 else
9373
9374 am_cv_func_iconv="no, consider installing GNU libiconv"
9375 am_cv_lib_iconv=no
9376 cat >conftest.$ac_ext <<_ACEOF
9377 /* confdefs.h. */
9378 _ACEOF
9379 cat confdefs.h >>conftest.$ac_ext
9380 cat >>conftest.$ac_ext <<_ACEOF
9381 /* end confdefs.h. */
9382 #include <stdlib.h>
9383 #include <iconv.h>
9384 int
9385 main ()
9386 {
9387 iconv_t cd = iconv_open("","");
9388 iconv(cd,NULL,NULL,NULL,NULL);
9389 iconv_close(cd);
9390 ;
9391 return 0;
9392 }
9393 _ACEOF
9394 rm -f conftest.$ac_objext conftest$ac_exeext
9395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9396 (eval $ac_link) 2>conftest.er1
9397 ac_status=$?
9398 grep -v '^ *+' conftest.er1 >conftest.err
9399 rm -f conftest.er1
9400 cat conftest.err >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); } &&
9403 { ac_try='test -z "$ac_c_werror_flag"
9404 || test ! -s conftest.err'
9405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9406 (eval $ac_try) 2>&5
9407 ac_status=$?
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); }; } &&
9410 { ac_try='test -s conftest$ac_exeext'
9411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9412 (eval $ac_try) 2>&5
9413 ac_status=$?
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); }; }; then
9416 am_cv_func_iconv=yes
9417 else
9418 echo "$as_me: failed program was:" >&5
9419 sed 's/^/| /' conftest.$ac_ext >&5
9420
9421 fi
9422 rm -f conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 if test "$am_cv_func_iconv" != yes; then
9425 am_save_LIBS="$LIBS"
9426 LIBS="$LIBS $LIBICONV"
9427 cat >conftest.$ac_ext <<_ACEOF
9428 /* confdefs.h. */
9429 _ACEOF
9430 cat confdefs.h >>conftest.$ac_ext
9431 cat >>conftest.$ac_ext <<_ACEOF
9432 /* end confdefs.h. */
9433 #include <stdlib.h>
9434 #include <iconv.h>
9435 int
9436 main ()
9437 {
9438 iconv_t cd = iconv_open("","");
9439 iconv(cd,NULL,NULL,NULL,NULL);
9440 iconv_close(cd);
9441 ;
9442 return 0;
9443 }
9444 _ACEOF
9445 rm -f conftest.$ac_objext conftest$ac_exeext
9446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9447 (eval $ac_link) 2>conftest.er1
9448 ac_status=$?
9449 grep -v '^ *+' conftest.er1 >conftest.err
9450 rm -f conftest.er1
9451 cat conftest.err >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } &&
9454 { ac_try='test -z "$ac_c_werror_flag"
9455 || test ! -s conftest.err'
9456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9457 (eval $ac_try) 2>&5
9458 ac_status=$?
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); }; } &&
9461 { ac_try='test -s conftest$ac_exeext'
9462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9463 (eval $ac_try) 2>&5
9464 ac_status=$?
9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466 (exit $ac_status); }; }; then
9467 am_cv_lib_iconv=yes
9468 am_cv_func_iconv=yes
9469 else
9470 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.$ac_ext >&5
9472
9473 fi
9474 rm -f conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9476 LIBS="$am_save_LIBS"
9477 fi
9478
9479 fi
9480 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9481 echo "${ECHO_T}$am_cv_func_iconv" >&6
9482 if test "$am_cv_func_iconv" = yes; then
9483
9484 cat >>confdefs.h <<\_ACEOF
9485 #define HAVE_ICONV 1
9486 _ACEOF
9487
9488 fi
9489 if test "$am_cv_lib_iconv" = yes; then
9490 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9491 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9492 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9493 echo "${ECHO_T}$LIBICONV" >&6
9494 else
9495 CPPFLAGS="$am_save_CPPFLAGS"
9496 LIBICONV=
9497 LTLIBICONV=
9498 fi
9499
9500
9501
9502 if test "$am_cv_func_iconv" = yes; then
9503 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9504 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9505 if test "${am_cv_proto_iconv+set}" = set; then
9506 echo $ECHO_N "(cached) $ECHO_C" >&6
9507 else
9508
9509 cat >conftest.$ac_ext <<_ACEOF
9510 /* confdefs.h. */
9511 _ACEOF
9512 cat confdefs.h >>conftest.$ac_ext
9513 cat >>conftest.$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9515
9516 #include <stdlib.h>
9517 #include <iconv.h>
9518 extern
9519 #ifdef __cplusplus
9520 "C"
9521 #endif
9522 #if defined(__STDC__) || defined(__cplusplus)
9523 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9524 #else
9525 size_t iconv();
9526 #endif
9527
9528 int
9529 main ()
9530 {
9531
9532 ;
9533 return 0;
9534 }
9535 _ACEOF
9536 rm -f conftest.$ac_objext
9537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9538 (eval $ac_compile) 2>conftest.er1
9539 ac_status=$?
9540 grep -v '^ *+' conftest.er1 >conftest.err
9541 rm -f conftest.er1
9542 cat conftest.err >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); } &&
9545 { ac_try='test -z "$ac_c_werror_flag"
9546 || test ! -s conftest.err'
9547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9548 (eval $ac_try) 2>&5
9549 ac_status=$?
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); }; } &&
9552 { ac_try='test -s conftest.$ac_objext'
9553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9554 (eval $ac_try) 2>&5
9555 ac_status=$?
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); }; }; then
9558 am_cv_proto_iconv_arg1=""
9559 else
9560 echo "$as_me: failed program was:" >&5
9561 sed 's/^/| /' conftest.$ac_ext >&5
9562
9563 am_cv_proto_iconv_arg1="const"
9564 fi
9565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9566 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);"
9567 fi
9568
9569 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9570 echo "$as_me:$LINENO: result: ${ac_t:-
9571 }$am_cv_proto_iconv" >&5
9572 echo "${ECHO_T}${ac_t:-
9573 }$am_cv_proto_iconv" >&6
9574
9575 cat >>confdefs.h <<_ACEOF
9576 #define ICONV_CONST $am_cv_proto_iconv_arg1
9577 _ACEOF
9578
9579 fi
9580
9581
9582 if test "x${GCC}" = xyes; then
9583
9584 WARNING_CFLAGS='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
9585
9586
9587 STRICT_WARNING_CFLAGS=-Wstrict-prototypes
9588
9589
9590 ERROR_CFLAGS=
9591 if test "x${ENABLE_WERROR}" = xyes; then
9592 ERROR_CFLAGS='-Werror'
9593 fi
9594
9595 fi
9596
9597 if test "x${COMPILE_XMLJ}" = xyes; then
9598
9599 succeeded=no
9600
9601 if test -z "$PKG_CONFIG"; then
9602 # Extract the first word of "pkg-config", so it can be a program name with args.
9603 set dummy pkg-config; ac_word=$2
9604 echo "$as_me:$LINENO: checking for $ac_word" >&5
9605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9606 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6
9608 else
9609 case $PKG_CONFIG in
9610 [\\/]* | ?:[\\/]*)
9611 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9612 ;;
9613 *)
9614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9615 for as_dir in $PATH
9616 do
9617 IFS=$as_save_IFS
9618 test -z "$as_dir" && as_dir=.
9619 for ac_exec_ext in '' $ac_executable_extensions; do
9620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9621 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9623 break 2
9624 fi
9625 done
9626 done
9627
9628 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9629 ;;
9630 esac
9631 fi
9632 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9633
9634 if test -n "$PKG_CONFIG"; then
9635 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9636 echo "${ECHO_T}$PKG_CONFIG" >&6
9637 else
9638 echo "$as_me:$LINENO: result: no" >&5
9639 echo "${ECHO_T}no" >&6
9640 fi
9641
9642 fi
9643
9644 if test "$PKG_CONFIG" = "no" ; then
9645 echo "*** The pkg-config script could not be found. Make sure it is"
9646 echo "*** in your path, or set the PKG_CONFIG environment variable"
9647 echo "*** to the full path to pkg-config."
9648 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9649 else
9650 PKG_CONFIG_MIN_VERSION=0.9.0
9651 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9652 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
9653 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
9654
9655 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
9656 echo "$as_me:$LINENO: result: yes" >&5
9657 echo "${ECHO_T}yes" >&6
9658 succeeded=yes
9659
9660 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
9661 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
9662 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
9663 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
9664 echo "${ECHO_T}$XML_CFLAGS" >&6
9665
9666 echo "$as_me:$LINENO: checking XML_LIBS" >&5
9667 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
9668 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
9669 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
9670 echo "${ECHO_T}$XML_LIBS" >&6
9671 else
9672 XML_CFLAGS=""
9673 XML_LIBS=""
9674 ## If we have a custom action on failure, don't print errors, but
9675 ## do set a variable so people can do so.
9676 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
9677 echo $XML_PKG_ERRORS
9678 fi
9679
9680
9681
9682 else
9683 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9684 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9685 fi
9686 fi
9687
9688 if test $succeeded = yes; then
9689 :
9690 else
9691 { { 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
9692 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;}
9693 { (exit 1); exit 1; }; }
9694 fi
9695
9696
9697 succeeded=no
9698
9699 if test -z "$PKG_CONFIG"; then
9700 # Extract the first word of "pkg-config", so it can be a program name with args.
9701 set dummy pkg-config; ac_word=$2
9702 echo "$as_me:$LINENO: checking for $ac_word" >&5
9703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9704 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9705 echo $ECHO_N "(cached) $ECHO_C" >&6
9706 else
9707 case $PKG_CONFIG in
9708 [\\/]* | ?:[\\/]*)
9709 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9710 ;;
9711 *)
9712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9713 for as_dir in $PATH
9714 do
9715 IFS=$as_save_IFS
9716 test -z "$as_dir" && as_dir=.
9717 for ac_exec_ext in '' $ac_executable_extensions; do
9718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9719 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9721 break 2
9722 fi
9723 done
9724 done
9725
9726 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9727 ;;
9728 esac
9729 fi
9730 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9731
9732 if test -n "$PKG_CONFIG"; then
9733 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9734 echo "${ECHO_T}$PKG_CONFIG" >&6
9735 else
9736 echo "$as_me:$LINENO: result: no" >&5
9737 echo "${ECHO_T}no" >&6
9738 fi
9739
9740 fi
9741
9742 if test "$PKG_CONFIG" = "no" ; then
9743 echo "*** The pkg-config script could not be found. Make sure it is"
9744 echo "*** in your path, or set the PKG_CONFIG environment variable"
9745 echo "*** to the full path to pkg-config."
9746 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9747 else
9748 PKG_CONFIG_MIN_VERSION=0.9.0
9749 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9750 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
9751 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
9752
9753 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
9754 echo "$as_me:$LINENO: result: yes" >&5
9755 echo "${ECHO_T}yes" >&6
9756 succeeded=yes
9757
9758 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
9759 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
9760 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
9761 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
9762 echo "${ECHO_T}$XSLT_CFLAGS" >&6
9763
9764 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
9765 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
9766 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
9767 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
9768 echo "${ECHO_T}$XSLT_LIBS" >&6
9769 else
9770 XSLT_CFLAGS=""
9771 XSLT_LIBS=""
9772 ## If we have a custom action on failure, don't print errors, but
9773 ## do set a variable so people can do so.
9774 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
9775 echo $XSLT_PKG_ERRORS
9776 fi
9777
9778
9779
9780 else
9781 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9782 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9783 fi
9784 fi
9785
9786 if test $succeeded = yes; then
9787 :
9788 else
9789 { { 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
9790 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;}
9791 { (exit 1); exit 1; }; }
9792 fi
9793
9794
9795
9796
9797
9798 fi
9799
9800 if test "x${COMPILE_GTK_PEER}" = xyes; then
9801 echo "$as_me:$LINENO: checking for X" >&5
9802 echo $ECHO_N "checking for X... $ECHO_C" >&6
9803
9804
9805 # Check whether --with-x or --without-x was given.
9806 if test "${with_x+set}" = set; then
9807 withval="$with_x"
9808
9809 fi;
9810 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9811 if test "x$with_x" = xno; then
9812 # The user explicitly disabled X.
9813 have_x=disabled
9814 else
9815 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
9816 # Both variables are already set.
9817 have_x=yes
9818 else
9819 if test "${ac_cv_have_x+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9821 else
9822 # One or both of the vars are not set, and there is no cached value.
9823 ac_x_includes=no ac_x_libraries=no
9824 rm -fr conftest.dir
9825 if mkdir conftest.dir; then
9826 cd conftest.dir
9827 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9828 cat >Imakefile <<'_ACEOF'
9829 acfindx:
9830 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9831 _ACEOF
9832 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
9833 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9834 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9835 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9836 for ac_extension in a so sl; do
9837 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
9838 test -f $ac_im_libdir/libX11.$ac_extension; then
9839 ac_im_usrlibdir=$ac_im_libdir; break
9840 fi
9841 done
9842 # Screen out bogus values from the imake configuration. They are
9843 # bogus both because they are the default anyway, and because
9844 # using them would break gcc on systems where it needs fixed includes.
9845 case $ac_im_incroot in
9846 /usr/include) ;;
9847 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9848 esac
9849 case $ac_im_usrlibdir in
9850 /usr/lib | /lib) ;;
9851 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9852 esac
9853 fi
9854 cd ..
9855 rm -fr conftest.dir
9856 fi
9857
9858 # Standard set of common directories for X headers.
9859 # Check X11 before X11Rn because it is often a symlink to the current release.
9860 ac_x_header_dirs='
9861 /usr/X11/include
9862 /usr/X11R6/include
9863 /usr/X11R5/include
9864 /usr/X11R4/include
9865
9866 /usr/include/X11
9867 /usr/include/X11R6
9868 /usr/include/X11R5
9869 /usr/include/X11R4
9870
9871 /usr/local/X11/include
9872 /usr/local/X11R6/include
9873 /usr/local/X11R5/include
9874 /usr/local/X11R4/include
9875
9876 /usr/local/include/X11
9877 /usr/local/include/X11R6
9878 /usr/local/include/X11R5
9879 /usr/local/include/X11R4
9880
9881 /usr/X386/include
9882 /usr/x386/include
9883 /usr/XFree86/include/X11
9884
9885 /usr/include
9886 /usr/local/include
9887 /usr/unsupported/include
9888 /usr/athena/include
9889 /usr/local/x11r5/include
9890 /usr/lpp/Xamples/include
9891
9892 /usr/openwin/include
9893 /usr/openwin/share/include'
9894
9895 if test "$ac_x_includes" = no; then
9896 # Guess where to find include files, by looking for Xlib.h.
9897 # First, try using that file with no special directory specified.
9898 cat >conftest.$ac_ext <<_ACEOF
9899 /* confdefs.h. */
9900 _ACEOF
9901 cat confdefs.h >>conftest.$ac_ext
9902 cat >>conftest.$ac_ext <<_ACEOF
9903 /* end confdefs.h. */
9904 #include <X11/Xlib.h>
9905 _ACEOF
9906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9908 ac_status=$?
9909 grep -v '^ *+' conftest.er1 >conftest.err
9910 rm -f conftest.er1
9911 cat conftest.err >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); } >/dev/null; then
9914 if test -s conftest.err; then
9915 ac_cpp_err=$ac_c_preproc_warn_flag
9916 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9917 else
9918 ac_cpp_err=
9919 fi
9920 else
9921 ac_cpp_err=yes
9922 fi
9923 if test -z "$ac_cpp_err"; then
9924 # We can compile using X headers with no special include directory.
9925 ac_x_includes=
9926 else
9927 echo "$as_me: failed program was:" >&5
9928 sed 's/^/| /' conftest.$ac_ext >&5
9929
9930 for ac_dir in $ac_x_header_dirs; do
9931 if test -r "$ac_dir/X11/Xlib.h"; then
9932 ac_x_includes=$ac_dir
9933 break
9934 fi
9935 done
9936 fi
9937 rm -f conftest.err conftest.$ac_ext
9938 fi # $ac_x_includes = no
9939
9940 if test "$ac_x_libraries" = no; then
9941 # Check for the libraries.
9942 # See if we find them without any special options.
9943 # Don't add to $LIBS permanently.
9944 ac_save_LIBS=$LIBS
9945 LIBS="-lXt $LIBS"
9946 cat >conftest.$ac_ext <<_ACEOF
9947 /* confdefs.h. */
9948 _ACEOF
9949 cat confdefs.h >>conftest.$ac_ext
9950 cat >>conftest.$ac_ext <<_ACEOF
9951 /* end confdefs.h. */
9952 #include <X11/Xlib.h>
9953 int
9954 main ()
9955 {
9956 XrmInitialize ()
9957 ;
9958 return 0;
9959 }
9960 _ACEOF
9961 rm -f conftest.$ac_objext conftest$ac_exeext
9962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9963 (eval $ac_link) 2>conftest.er1
9964 ac_status=$?
9965 grep -v '^ *+' conftest.er1 >conftest.err
9966 rm -f conftest.er1
9967 cat conftest.err >&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } &&
9970 { ac_try='test -z "$ac_c_werror_flag"
9971 || test ! -s conftest.err'
9972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9973 (eval $ac_try) 2>&5
9974 ac_status=$?
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); }; } &&
9977 { ac_try='test -s conftest$ac_exeext'
9978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 (eval $ac_try) 2>&5
9980 ac_status=$?
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); }; }; then
9983 LIBS=$ac_save_LIBS
9984 # We can link X programs with no special library path.
9985 ac_x_libraries=
9986 else
9987 echo "$as_me: failed program was:" >&5
9988 sed 's/^/| /' conftest.$ac_ext >&5
9989
9990 LIBS=$ac_save_LIBS
9991 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9992 do
9993 # Don't even attempt the hair of trying to link an X program!
9994 for ac_extension in a so sl; do
9995 if test -r $ac_dir/libXt.$ac_extension; then
9996 ac_x_libraries=$ac_dir
9997 break 2
9998 fi
9999 done
10000 done
10001 fi
10002 rm -f conftest.err conftest.$ac_objext \
10003 conftest$ac_exeext conftest.$ac_ext
10004 fi # $ac_x_libraries = no
10005
10006 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
10007 # Didn't find X anywhere. Cache the known absence of X.
10008 ac_cv_have_x="have_x=no"
10009 else
10010 # Record where we found X for the cache.
10011 ac_cv_have_x="have_x=yes \
10012 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10013 fi
10014 fi
10015
10016 fi
10017 eval "$ac_cv_have_x"
10018 fi # $with_x != no
10019
10020 if test "$have_x" != yes; then
10021 echo "$as_me:$LINENO: result: $have_x" >&5
10022 echo "${ECHO_T}$have_x" >&6
10023 no_x=yes
10024 else
10025 # If each of the values was on the command line, it overrides each guess.
10026 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10027 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10028 # Update the cache value to reflect the command line values.
10029 ac_cv_have_x="have_x=yes \
10030 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10031 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10032 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10033 fi
10034
10035 if test "$no_x" = yes; then
10036 # Not all programs may use this symbol, but it does not hurt to define it.
10037
10038 cat >>confdefs.h <<\_ACEOF
10039 #define X_DISPLAY_MISSING 1
10040 _ACEOF
10041
10042 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10043 else
10044 if test -n "$x_includes"; then
10045 X_CFLAGS="$X_CFLAGS -I$x_includes"
10046 fi
10047
10048 # It would also be nice to do this for all -L options, not just this one.
10049 if test -n "$x_libraries"; then
10050 X_LIBS="$X_LIBS -L$x_libraries"
10051 # For Solaris; some versions of Sun CC require a space after -R and
10052 # others require no space. Words are not sufficient . . . .
10053 case `(uname -sr) 2>/dev/null` in
10054 "SunOS 5"*)
10055 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10056 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
10057 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10058 cat >conftest.$ac_ext <<_ACEOF
10059 /* confdefs.h. */
10060 _ACEOF
10061 cat confdefs.h >>conftest.$ac_ext
10062 cat >>conftest.$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10064
10065 int
10066 main ()
10067 {
10068
10069 ;
10070 return 0;
10071 }
10072 _ACEOF
10073 rm -f conftest.$ac_objext conftest$ac_exeext
10074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10075 (eval $ac_link) 2>conftest.er1
10076 ac_status=$?
10077 grep -v '^ *+' conftest.er1 >conftest.err
10078 rm -f conftest.er1
10079 cat conftest.err >&5
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); } &&
10082 { ac_try='test -z "$ac_c_werror_flag"
10083 || test ! -s conftest.err'
10084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085 (eval $ac_try) 2>&5
10086 ac_status=$?
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); }; } &&
10089 { ac_try='test -s conftest$ac_exeext'
10090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091 (eval $ac_try) 2>&5
10092 ac_status=$?
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; }; then
10095 ac_R_nospace=yes
10096 else
10097 echo "$as_me: failed program was:" >&5
10098 sed 's/^/| /' conftest.$ac_ext >&5
10099
10100 ac_R_nospace=no
10101 fi
10102 rm -f conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 if test $ac_R_nospace = yes; then
10105 echo "$as_me:$LINENO: result: no" >&5
10106 echo "${ECHO_T}no" >&6
10107 X_LIBS="$X_LIBS -R$x_libraries"
10108 else
10109 LIBS="$ac_xsave_LIBS -R $x_libraries"
10110 cat >conftest.$ac_ext <<_ACEOF
10111 /* confdefs.h. */
10112 _ACEOF
10113 cat confdefs.h >>conftest.$ac_ext
10114 cat >>conftest.$ac_ext <<_ACEOF
10115 /* end confdefs.h. */
10116
10117 int
10118 main ()
10119 {
10120
10121 ;
10122 return 0;
10123 }
10124 _ACEOF
10125 rm -f conftest.$ac_objext conftest$ac_exeext
10126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10127 (eval $ac_link) 2>conftest.er1
10128 ac_status=$?
10129 grep -v '^ *+' conftest.er1 >conftest.err
10130 rm -f conftest.er1
10131 cat conftest.err >&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } &&
10134 { ac_try='test -z "$ac_c_werror_flag"
10135 || test ! -s conftest.err'
10136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10137 (eval $ac_try) 2>&5
10138 ac_status=$?
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); }; } &&
10141 { ac_try='test -s conftest$ac_exeext'
10142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10143 (eval $ac_try) 2>&5
10144 ac_status=$?
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }; }; then
10147 ac_R_space=yes
10148 else
10149 echo "$as_me: failed program was:" >&5
10150 sed 's/^/| /' conftest.$ac_ext >&5
10151
10152 ac_R_space=no
10153 fi
10154 rm -f conftest.err conftest.$ac_objext \
10155 conftest$ac_exeext conftest.$ac_ext
10156 if test $ac_R_space = yes; then
10157 echo "$as_me:$LINENO: result: yes" >&5
10158 echo "${ECHO_T}yes" >&6
10159 X_LIBS="$X_LIBS -R $x_libraries"
10160 else
10161 echo "$as_me:$LINENO: result: neither works" >&5
10162 echo "${ECHO_T}neither works" >&6
10163 fi
10164 fi
10165 LIBS=$ac_xsave_LIBS
10166 esac
10167 fi
10168
10169 # Check for system-dependent libraries X programs must link with.
10170 # Do this before checking for the system-independent R6 libraries
10171 # (-lICE), since we may need -lsocket or whatever for X linking.
10172
10173 if test "$ISC" = yes; then
10174 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10175 else
10176 # Martyn Johnson says this is needed for Ultrix, if the X
10177 # libraries were built with DECnet support. And Karl Berry says
10178 # the Alpha needs dnet_stub (dnet does not exist).
10179 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10180 cat >conftest.$ac_ext <<_ACEOF
10181 /* confdefs.h. */
10182 _ACEOF
10183 cat confdefs.h >>conftest.$ac_ext
10184 cat >>conftest.$ac_ext <<_ACEOF
10185 /* end confdefs.h. */
10186
10187 /* Override any gcc2 internal prototype to avoid an error. */
10188 #ifdef __cplusplus
10189 extern "C"
10190 #endif
10191 /* We use char because int might match the return type of a gcc2
10192 builtin and then its argument prototype would still apply. */
10193 char XOpenDisplay ();
10194 int
10195 main ()
10196 {
10197 XOpenDisplay ();
10198 ;
10199 return 0;
10200 }
10201 _ACEOF
10202 rm -f conftest.$ac_objext conftest$ac_exeext
10203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10204 (eval $ac_link) 2>conftest.er1
10205 ac_status=$?
10206 grep -v '^ *+' conftest.er1 >conftest.err
10207 rm -f conftest.er1
10208 cat conftest.err >&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); } &&
10211 { ac_try='test -z "$ac_c_werror_flag"
10212 || test ! -s conftest.err'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10215 ac_status=$?
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; } &&
10218 { ac_try='test -s conftest$ac_exeext'
10219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10220 (eval $ac_try) 2>&5
10221 ac_status=$?
10222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223 (exit $ac_status); }; }; then
10224 :
10225 else
10226 echo "$as_me: failed program was:" >&5
10227 sed 's/^/| /' conftest.$ac_ext >&5
10228
10229 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10230 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
10231 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 else
10234 ac_check_lib_save_LIBS=$LIBS
10235 LIBS="-ldnet $LIBS"
10236 cat >conftest.$ac_ext <<_ACEOF
10237 /* confdefs.h. */
10238 _ACEOF
10239 cat confdefs.h >>conftest.$ac_ext
10240 cat >>conftest.$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10242
10243 /* Override any gcc2 internal prototype to avoid an error. */
10244 #ifdef __cplusplus
10245 extern "C"
10246 #endif
10247 /* We use char because int might match the return type of a gcc2
10248 builtin and then its argument prototype would still apply. */
10249 char dnet_ntoa ();
10250 int
10251 main ()
10252 {
10253 dnet_ntoa ();
10254 ;
10255 return 0;
10256 }
10257 _ACEOF
10258 rm -f conftest.$ac_objext conftest$ac_exeext
10259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10260 (eval $ac_link) 2>conftest.er1
10261 ac_status=$?
10262 grep -v '^ *+' conftest.er1 >conftest.err
10263 rm -f conftest.er1
10264 cat conftest.err >&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); } &&
10267 { ac_try='test -z "$ac_c_werror_flag"
10268 || test ! -s conftest.err'
10269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10270 (eval $ac_try) 2>&5
10271 ac_status=$?
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; } &&
10274 { ac_try='test -s conftest$ac_exeext'
10275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10276 (eval $ac_try) 2>&5
10277 ac_status=$?
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); }; }; then
10280 ac_cv_lib_dnet_dnet_ntoa=yes
10281 else
10282 echo "$as_me: failed program was:" >&5
10283 sed 's/^/| /' conftest.$ac_ext >&5
10284
10285 ac_cv_lib_dnet_dnet_ntoa=no
10286 fi
10287 rm -f conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 LIBS=$ac_check_lib_save_LIBS
10290 fi
10291 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10292 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
10293 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10294 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10295 fi
10296
10297 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10298 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
10299 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
10300 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
10301 echo $ECHO_N "(cached) $ECHO_C" >&6
10302 else
10303 ac_check_lib_save_LIBS=$LIBS
10304 LIBS="-ldnet_stub $LIBS"
10305 cat >conftest.$ac_ext <<_ACEOF
10306 /* confdefs.h. */
10307 _ACEOF
10308 cat confdefs.h >>conftest.$ac_ext
10309 cat >>conftest.$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10311
10312 /* Override any gcc2 internal prototype to avoid an error. */
10313 #ifdef __cplusplus
10314 extern "C"
10315 #endif
10316 /* We use char because int might match the return type of a gcc2
10317 builtin and then its argument prototype would still apply. */
10318 char dnet_ntoa ();
10319 int
10320 main ()
10321 {
10322 dnet_ntoa ();
10323 ;
10324 return 0;
10325 }
10326 _ACEOF
10327 rm -f conftest.$ac_objext conftest$ac_exeext
10328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10329 (eval $ac_link) 2>conftest.er1
10330 ac_status=$?
10331 grep -v '^ *+' conftest.er1 >conftest.err
10332 rm -f conftest.er1
10333 cat conftest.err >&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } &&
10336 { ac_try='test -z "$ac_c_werror_flag"
10337 || test ! -s conftest.err'
10338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10339 (eval $ac_try) 2>&5
10340 ac_status=$?
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); }; } &&
10343 { ac_try='test -s conftest$ac_exeext'
10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5
10346 ac_status=$?
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; }; then
10349 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10350 else
10351 echo "$as_me: failed program was:" >&5
10352 sed 's/^/| /' conftest.$ac_ext >&5
10353
10354 ac_cv_lib_dnet_stub_dnet_ntoa=no
10355 fi
10356 rm -f conftest.err conftest.$ac_objext \
10357 conftest$ac_exeext conftest.$ac_ext
10358 LIBS=$ac_check_lib_save_LIBS
10359 fi
10360 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10361 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
10362 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
10363 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10364 fi
10365
10366 fi
10367 fi
10368 rm -f conftest.err conftest.$ac_objext \
10369 conftest$ac_exeext conftest.$ac_ext
10370 LIBS="$ac_xsave_LIBS"
10371
10372 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10373 # to get the SysV transport functions.
10374 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10375 # needs -lnsl.
10376 # The nsl library prevents programs from opening the X display
10377 # on Irix 5.2, according to T.E. Dickey.
10378 # The functions gethostbyname, getservbyname, and inet_addr are
10379 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10380 echo "$as_me:$LINENO: checking for gethostbyname" >&5
10381 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
10382 if test "${ac_cv_func_gethostbyname+set}" = set; then
10383 echo $ECHO_N "(cached) $ECHO_C" >&6
10384 else
10385 cat >conftest.$ac_ext <<_ACEOF
10386 /* confdefs.h. */
10387 _ACEOF
10388 cat confdefs.h >>conftest.$ac_ext
10389 cat >>conftest.$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10391 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
10392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10393 #define gethostbyname innocuous_gethostbyname
10394
10395 /* System header to define __stub macros and hopefully few prototypes,
10396 which can conflict with char gethostbyname (); below.
10397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10398 <limits.h> exists even on freestanding compilers. */
10399
10400 #ifdef __STDC__
10401 # include <limits.h>
10402 #else
10403 # include <assert.h>
10404 #endif
10405
10406 #undef gethostbyname
10407
10408 /* Override any gcc2 internal prototype to avoid an error. */
10409 #ifdef __cplusplus
10410 extern "C"
10411 {
10412 #endif
10413 /* We use char because int might match the return type of a gcc2
10414 builtin and then its argument prototype would still apply. */
10415 char gethostbyname ();
10416 /* The GNU C library defines this for functions which it implements
10417 to always fail with ENOSYS. Some functions are actually named
10418 something starting with __ and the normal name is an alias. */
10419 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10420 choke me
10421 #else
10422 char (*f) () = gethostbyname;
10423 #endif
10424 #ifdef __cplusplus
10425 }
10426 #endif
10427
10428 int
10429 main ()
10430 {
10431 return f != gethostbyname;
10432 ;
10433 return 0;
10434 }
10435 _ACEOF
10436 rm -f conftest.$ac_objext conftest$ac_exeext
10437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10438 (eval $ac_link) 2>conftest.er1
10439 ac_status=$?
10440 grep -v '^ *+' conftest.er1 >conftest.err
10441 rm -f conftest.er1
10442 cat conftest.err >&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); } &&
10445 { ac_try='test -z "$ac_c_werror_flag"
10446 || test ! -s conftest.err'
10447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 (eval $ac_try) 2>&5
10449 ac_status=$?
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; } &&
10452 { ac_try='test -s conftest$ac_exeext'
10453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10454 (eval $ac_try) 2>&5
10455 ac_status=$?
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }; }; then
10458 ac_cv_func_gethostbyname=yes
10459 else
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.$ac_ext >&5
10462
10463 ac_cv_func_gethostbyname=no
10464 fi
10465 rm -f conftest.err conftest.$ac_objext \
10466 conftest$ac_exeext conftest.$ac_ext
10467 fi
10468 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10469 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10470
10471 if test $ac_cv_func_gethostbyname = no; then
10472 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10473 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10474 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10475 echo $ECHO_N "(cached) $ECHO_C" >&6
10476 else
10477 ac_check_lib_save_LIBS=$LIBS
10478 LIBS="-lnsl $LIBS"
10479 cat >conftest.$ac_ext <<_ACEOF
10480 /* confdefs.h. */
10481 _ACEOF
10482 cat confdefs.h >>conftest.$ac_ext
10483 cat >>conftest.$ac_ext <<_ACEOF
10484 /* end confdefs.h. */
10485
10486 /* Override any gcc2 internal prototype to avoid an error. */
10487 #ifdef __cplusplus
10488 extern "C"
10489 #endif
10490 /* We use char because int might match the return type of a gcc2
10491 builtin and then its argument prototype would still apply. */
10492 char gethostbyname ();
10493 int
10494 main ()
10495 {
10496 gethostbyname ();
10497 ;
10498 return 0;
10499 }
10500 _ACEOF
10501 rm -f conftest.$ac_objext conftest$ac_exeext
10502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10503 (eval $ac_link) 2>conftest.er1
10504 ac_status=$?
10505 grep -v '^ *+' conftest.er1 >conftest.err
10506 rm -f conftest.er1
10507 cat conftest.err >&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try='test -z "$ac_c_werror_flag"
10511 || test ! -s conftest.err'
10512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10513 (eval $ac_try) 2>&5
10514 ac_status=$?
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; } &&
10517 { ac_try='test -s conftest$ac_exeext'
10518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519 (eval $ac_try) 2>&5
10520 ac_status=$?
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); }; }; then
10523 ac_cv_lib_nsl_gethostbyname=yes
10524 else
10525 echo "$as_me: failed program was:" >&5
10526 sed 's/^/| /' conftest.$ac_ext >&5
10527
10528 ac_cv_lib_nsl_gethostbyname=no
10529 fi
10530 rm -f conftest.err conftest.$ac_objext \
10531 conftest$ac_exeext conftest.$ac_ext
10532 LIBS=$ac_check_lib_save_LIBS
10533 fi
10534 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10535 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10536 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10537 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10538 fi
10539
10540 if test $ac_cv_lib_nsl_gethostbyname = no; then
10541 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10542 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10543 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10544 echo $ECHO_N "(cached) $ECHO_C" >&6
10545 else
10546 ac_check_lib_save_LIBS=$LIBS
10547 LIBS="-lbsd $LIBS"
10548 cat >conftest.$ac_ext <<_ACEOF
10549 /* confdefs.h. */
10550 _ACEOF
10551 cat confdefs.h >>conftest.$ac_ext
10552 cat >>conftest.$ac_ext <<_ACEOF
10553 /* end confdefs.h. */
10554
10555 /* Override any gcc2 internal prototype to avoid an error. */
10556 #ifdef __cplusplus
10557 extern "C"
10558 #endif
10559 /* We use char because int might match the return type of a gcc2
10560 builtin and then its argument prototype would still apply. */
10561 char gethostbyname ();
10562 int
10563 main ()
10564 {
10565 gethostbyname ();
10566 ;
10567 return 0;
10568 }
10569 _ACEOF
10570 rm -f conftest.$ac_objext conftest$ac_exeext
10571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10572 (eval $ac_link) 2>conftest.er1
10573 ac_status=$?
10574 grep -v '^ *+' conftest.er1 >conftest.err
10575 rm -f conftest.er1
10576 cat conftest.err >&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); } &&
10579 { ac_try='test -z "$ac_c_werror_flag"
10580 || test ! -s conftest.err'
10581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582 (eval $ac_try) 2>&5
10583 ac_status=$?
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); }; } &&
10586 { ac_try='test -s conftest$ac_exeext'
10587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588 (eval $ac_try) 2>&5
10589 ac_status=$?
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }; }; then
10592 ac_cv_lib_bsd_gethostbyname=yes
10593 else
10594 echo "$as_me: failed program was:" >&5
10595 sed 's/^/| /' conftest.$ac_ext >&5
10596
10597 ac_cv_lib_bsd_gethostbyname=no
10598 fi
10599 rm -f conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10601 LIBS=$ac_check_lib_save_LIBS
10602 fi
10603 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10604 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10605 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10606 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10607 fi
10608
10609 fi
10610 fi
10611
10612 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10613 # socket/setsockopt and other routines are undefined under SCO ODT
10614 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10615 # on later versions), says Simon Leinen: it contains gethostby*
10616 # variants that don't use the name server (or something). -lsocket
10617 # must be given before -lnsl if both are needed. We assume that
10618 # if connect needs -lnsl, so does gethostbyname.
10619 echo "$as_me:$LINENO: checking for connect" >&5
10620 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10621 if test "${ac_cv_func_connect+set}" = set; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 else
10624 cat >conftest.$ac_ext <<_ACEOF
10625 /* confdefs.h. */
10626 _ACEOF
10627 cat confdefs.h >>conftest.$ac_ext
10628 cat >>conftest.$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10630 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10632 #define connect innocuous_connect
10633
10634 /* System header to define __stub macros and hopefully few prototypes,
10635 which can conflict with char connect (); below.
10636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10637 <limits.h> exists even on freestanding compilers. */
10638
10639 #ifdef __STDC__
10640 # include <limits.h>
10641 #else
10642 # include <assert.h>
10643 #endif
10644
10645 #undef connect
10646
10647 /* Override any gcc2 internal prototype to avoid an error. */
10648 #ifdef __cplusplus
10649 extern "C"
10650 {
10651 #endif
10652 /* We use char because int might match the return type of a gcc2
10653 builtin and then its argument prototype would still apply. */
10654 char connect ();
10655 /* The GNU C library defines this for functions which it implements
10656 to always fail with ENOSYS. Some functions are actually named
10657 something starting with __ and the normal name is an alias. */
10658 #if defined (__stub_connect) || defined (__stub___connect)
10659 choke me
10660 #else
10661 char (*f) () = connect;
10662 #endif
10663 #ifdef __cplusplus
10664 }
10665 #endif
10666
10667 int
10668 main ()
10669 {
10670 return f != connect;
10671 ;
10672 return 0;
10673 }
10674 _ACEOF
10675 rm -f conftest.$ac_objext conftest$ac_exeext
10676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10677 (eval $ac_link) 2>conftest.er1
10678 ac_status=$?
10679 grep -v '^ *+' conftest.er1 >conftest.err
10680 rm -f conftest.er1
10681 cat conftest.err >&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } &&
10684 { ac_try='test -z "$ac_c_werror_flag"
10685 || test ! -s conftest.err'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10688 ac_status=$?
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; } &&
10691 { ac_try='test -s conftest$ac_exeext'
10692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10693 (eval $ac_try) 2>&5
10694 ac_status=$?
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); }; }; then
10697 ac_cv_func_connect=yes
10698 else
10699 echo "$as_me: failed program was:" >&5
10700 sed 's/^/| /' conftest.$ac_ext >&5
10701
10702 ac_cv_func_connect=no
10703 fi
10704 rm -f conftest.err conftest.$ac_objext \
10705 conftest$ac_exeext conftest.$ac_ext
10706 fi
10707 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10708 echo "${ECHO_T}$ac_cv_func_connect" >&6
10709
10710 if test $ac_cv_func_connect = no; then
10711 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10712 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10713 if test "${ac_cv_lib_socket_connect+set}" = set; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 else
10716 ac_check_lib_save_LIBS=$LIBS
10717 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10718 cat >conftest.$ac_ext <<_ACEOF
10719 /* confdefs.h. */
10720 _ACEOF
10721 cat confdefs.h >>conftest.$ac_ext
10722 cat >>conftest.$ac_ext <<_ACEOF
10723 /* end confdefs.h. */
10724
10725 /* Override any gcc2 internal prototype to avoid an error. */
10726 #ifdef __cplusplus
10727 extern "C"
10728 #endif
10729 /* We use char because int might match the return type of a gcc2
10730 builtin and then its argument prototype would still apply. */
10731 char connect ();
10732 int
10733 main ()
10734 {
10735 connect ();
10736 ;
10737 return 0;
10738 }
10739 _ACEOF
10740 rm -f conftest.$ac_objext conftest$ac_exeext
10741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10742 (eval $ac_link) 2>conftest.er1
10743 ac_status=$?
10744 grep -v '^ *+' conftest.er1 >conftest.err
10745 rm -f conftest.er1
10746 cat conftest.err >&5
10747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748 (exit $ac_status); } &&
10749 { ac_try='test -z "$ac_c_werror_flag"
10750 || test ! -s conftest.err'
10751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10752 (eval $ac_try) 2>&5
10753 ac_status=$?
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); }; } &&
10756 { ac_try='test -s conftest$ac_exeext'
10757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10758 (eval $ac_try) 2>&5
10759 ac_status=$?
10760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761 (exit $ac_status); }; }; then
10762 ac_cv_lib_socket_connect=yes
10763 else
10764 echo "$as_me: failed program was:" >&5
10765 sed 's/^/| /' conftest.$ac_ext >&5
10766
10767 ac_cv_lib_socket_connect=no
10768 fi
10769 rm -f conftest.err conftest.$ac_objext \
10770 conftest$ac_exeext conftest.$ac_ext
10771 LIBS=$ac_check_lib_save_LIBS
10772 fi
10773 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10774 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10775 if test $ac_cv_lib_socket_connect = yes; then
10776 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10777 fi
10778
10779 fi
10780
10781 # Guillermo Gomez says -lposix is necessary on A/UX.
10782 echo "$as_me:$LINENO: checking for remove" >&5
10783 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10784 if test "${ac_cv_func_remove+set}" = set; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 else
10787 cat >conftest.$ac_ext <<_ACEOF
10788 /* confdefs.h. */
10789 _ACEOF
10790 cat confdefs.h >>conftest.$ac_ext
10791 cat >>conftest.$ac_ext <<_ACEOF
10792 /* end confdefs.h. */
10793 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10795 #define remove innocuous_remove
10796
10797 /* System header to define __stub macros and hopefully few prototypes,
10798 which can conflict with char remove (); below.
10799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10800 <limits.h> exists even on freestanding compilers. */
10801
10802 #ifdef __STDC__
10803 # include <limits.h>
10804 #else
10805 # include <assert.h>
10806 #endif
10807
10808 #undef remove
10809
10810 /* Override any gcc2 internal prototype to avoid an error. */
10811 #ifdef __cplusplus
10812 extern "C"
10813 {
10814 #endif
10815 /* We use char because int might match the return type of a gcc2
10816 builtin and then its argument prototype would still apply. */
10817 char remove ();
10818 /* The GNU C library defines this for functions which it implements
10819 to always fail with ENOSYS. Some functions are actually named
10820 something starting with __ and the normal name is an alias. */
10821 #if defined (__stub_remove) || defined (__stub___remove)
10822 choke me
10823 #else
10824 char (*f) () = remove;
10825 #endif
10826 #ifdef __cplusplus
10827 }
10828 #endif
10829
10830 int
10831 main ()
10832 {
10833 return f != remove;
10834 ;
10835 return 0;
10836 }
10837 _ACEOF
10838 rm -f conftest.$ac_objext conftest$ac_exeext
10839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10840 (eval $ac_link) 2>conftest.er1
10841 ac_status=$?
10842 grep -v '^ *+' conftest.er1 >conftest.err
10843 rm -f conftest.er1
10844 cat conftest.err >&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } &&
10847 { ac_try='test -z "$ac_c_werror_flag"
10848 || test ! -s conftest.err'
10849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10850 (eval $ac_try) 2>&5
10851 ac_status=$?
10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853 (exit $ac_status); }; } &&
10854 { ac_try='test -s conftest$ac_exeext'
10855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856 (eval $ac_try) 2>&5
10857 ac_status=$?
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; }; then
10860 ac_cv_func_remove=yes
10861 else
10862 echo "$as_me: failed program was:" >&5
10863 sed 's/^/| /' conftest.$ac_ext >&5
10864
10865 ac_cv_func_remove=no
10866 fi
10867 rm -f conftest.err conftest.$ac_objext \
10868 conftest$ac_exeext conftest.$ac_ext
10869 fi
10870 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
10871 echo "${ECHO_T}$ac_cv_func_remove" >&6
10872
10873 if test $ac_cv_func_remove = no; then
10874 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
10875 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
10876 if test "${ac_cv_lib_posix_remove+set}" = set; then
10877 echo $ECHO_N "(cached) $ECHO_C" >&6
10878 else
10879 ac_check_lib_save_LIBS=$LIBS
10880 LIBS="-lposix $LIBS"
10881 cat >conftest.$ac_ext <<_ACEOF
10882 /* confdefs.h. */
10883 _ACEOF
10884 cat confdefs.h >>conftest.$ac_ext
10885 cat >>conftest.$ac_ext <<_ACEOF
10886 /* end confdefs.h. */
10887
10888 /* Override any gcc2 internal prototype to avoid an error. */
10889 #ifdef __cplusplus
10890 extern "C"
10891 #endif
10892 /* We use char because int might match the return type of a gcc2
10893 builtin and then its argument prototype would still apply. */
10894 char remove ();
10895 int
10896 main ()
10897 {
10898 remove ();
10899 ;
10900 return 0;
10901 }
10902 _ACEOF
10903 rm -f conftest.$ac_objext conftest$ac_exeext
10904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10905 (eval $ac_link) 2>conftest.er1
10906 ac_status=$?
10907 grep -v '^ *+' conftest.er1 >conftest.err
10908 rm -f conftest.er1
10909 cat conftest.err >&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } &&
10912 { ac_try='test -z "$ac_c_werror_flag"
10913 || test ! -s conftest.err'
10914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10915 (eval $ac_try) 2>&5
10916 ac_status=$?
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }; } &&
10919 { ac_try='test -s conftest$ac_exeext'
10920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921 (eval $ac_try) 2>&5
10922 ac_status=$?
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); }; }; then
10925 ac_cv_lib_posix_remove=yes
10926 else
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.$ac_ext >&5
10929
10930 ac_cv_lib_posix_remove=no
10931 fi
10932 rm -f conftest.err conftest.$ac_objext \
10933 conftest$ac_exeext conftest.$ac_ext
10934 LIBS=$ac_check_lib_save_LIBS
10935 fi
10936 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
10937 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
10938 if test $ac_cv_lib_posix_remove = yes; then
10939 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10940 fi
10941
10942 fi
10943
10944 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10945 echo "$as_me:$LINENO: checking for shmat" >&5
10946 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
10947 if test "${ac_cv_func_shmat+set}" = set; then
10948 echo $ECHO_N "(cached) $ECHO_C" >&6
10949 else
10950 cat >conftest.$ac_ext <<_ACEOF
10951 /* confdefs.h. */
10952 _ACEOF
10953 cat confdefs.h >>conftest.$ac_ext
10954 cat >>conftest.$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10956 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
10957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10958 #define shmat innocuous_shmat
10959
10960 /* System header to define __stub macros and hopefully few prototypes,
10961 which can conflict with char shmat (); below.
10962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10963 <limits.h> exists even on freestanding compilers. */
10964
10965 #ifdef __STDC__
10966 # include <limits.h>
10967 #else
10968 # include <assert.h>
10969 #endif
10970
10971 #undef shmat
10972
10973 /* Override any gcc2 internal prototype to avoid an error. */
10974 #ifdef __cplusplus
10975 extern "C"
10976 {
10977 #endif
10978 /* We use char because int might match the return type of a gcc2
10979 builtin and then its argument prototype would still apply. */
10980 char shmat ();
10981 /* The GNU C library defines this for functions which it implements
10982 to always fail with ENOSYS. Some functions are actually named
10983 something starting with __ and the normal name is an alias. */
10984 #if defined (__stub_shmat) || defined (__stub___shmat)
10985 choke me
10986 #else
10987 char (*f) () = shmat;
10988 #endif
10989 #ifdef __cplusplus
10990 }
10991 #endif
10992
10993 int
10994 main ()
10995 {
10996 return f != shmat;
10997 ;
10998 return 0;
10999 }
11000 _ACEOF
11001 rm -f conftest.$ac_objext conftest$ac_exeext
11002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11003 (eval $ac_link) 2>conftest.er1
11004 ac_status=$?
11005 grep -v '^ *+' conftest.er1 >conftest.err
11006 rm -f conftest.er1
11007 cat conftest.err >&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try='test -z "$ac_c_werror_flag"
11011 || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11014 ac_status=$?
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try='test -s conftest$ac_exeext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11020 ac_status=$?
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 ac_cv_func_shmat=yes
11024 else
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.$ac_ext >&5
11027
11028 ac_cv_func_shmat=no
11029 fi
11030 rm -f conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 fi
11033 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
11034 echo "${ECHO_T}$ac_cv_func_shmat" >&6
11035
11036 if test $ac_cv_func_shmat = no; then
11037 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
11038 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
11039 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
11040 echo $ECHO_N "(cached) $ECHO_C" >&6
11041 else
11042 ac_check_lib_save_LIBS=$LIBS
11043 LIBS="-lipc $LIBS"
11044 cat >conftest.$ac_ext <<_ACEOF
11045 /* confdefs.h. */
11046 _ACEOF
11047 cat confdefs.h >>conftest.$ac_ext
11048 cat >>conftest.$ac_ext <<_ACEOF
11049 /* end confdefs.h. */
11050
11051 /* Override any gcc2 internal prototype to avoid an error. */
11052 #ifdef __cplusplus
11053 extern "C"
11054 #endif
11055 /* We use char because int might match the return type of a gcc2
11056 builtin and then its argument prototype would still apply. */
11057 char shmat ();
11058 int
11059 main ()
11060 {
11061 shmat ();
11062 ;
11063 return 0;
11064 }
11065 _ACEOF
11066 rm -f conftest.$ac_objext conftest$ac_exeext
11067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11068 (eval $ac_link) 2>conftest.er1
11069 ac_status=$?
11070 grep -v '^ *+' conftest.er1 >conftest.err
11071 rm -f conftest.er1
11072 cat conftest.err >&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } &&
11075 { ac_try='test -z "$ac_c_werror_flag"
11076 || test ! -s conftest.err'
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 (eval $ac_try) 2>&5
11079 ac_status=$?
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; } &&
11082 { ac_try='test -s conftest$ac_exeext'
11083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11084 (eval $ac_try) 2>&5
11085 ac_status=$?
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); }; }; then
11088 ac_cv_lib_ipc_shmat=yes
11089 else
11090 echo "$as_me: failed program was:" >&5
11091 sed 's/^/| /' conftest.$ac_ext >&5
11092
11093 ac_cv_lib_ipc_shmat=no
11094 fi
11095 rm -f conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11097 LIBS=$ac_check_lib_save_LIBS
11098 fi
11099 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11100 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11101 if test $ac_cv_lib_ipc_shmat = yes; then
11102 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11103 fi
11104
11105 fi
11106 fi
11107
11108 # Check for libraries that X11R6 Xt/Xaw programs need.
11109 ac_save_LDFLAGS=$LDFLAGS
11110 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11111 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11112 # check for ICE first), but we must link in the order -lSM -lICE or
11113 # we get undefined symbols. So assume we have SM if we have ICE.
11114 # These have to be linked with before -lX11, unlike the other
11115 # libraries we check for below, so use a different variable.
11116 # John Interrante, Karl Berry
11117 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11118 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11119 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 else
11122 ac_check_lib_save_LIBS=$LIBS
11123 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11124 cat >conftest.$ac_ext <<_ACEOF
11125 /* confdefs.h. */
11126 _ACEOF
11127 cat confdefs.h >>conftest.$ac_ext
11128 cat >>conftest.$ac_ext <<_ACEOF
11129 /* end confdefs.h. */
11130
11131 /* Override any gcc2 internal prototype to avoid an error. */
11132 #ifdef __cplusplus
11133 extern "C"
11134 #endif
11135 /* We use char because int might match the return type of a gcc2
11136 builtin and then its argument prototype would still apply. */
11137 char IceConnectionNumber ();
11138 int
11139 main ()
11140 {
11141 IceConnectionNumber ();
11142 ;
11143 return 0;
11144 }
11145 _ACEOF
11146 rm -f conftest.$ac_objext conftest$ac_exeext
11147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11148 (eval $ac_link) 2>conftest.er1
11149 ac_status=$?
11150 grep -v '^ *+' conftest.er1 >conftest.err
11151 rm -f conftest.er1
11152 cat conftest.err >&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); } &&
11155 { ac_try='test -z "$ac_c_werror_flag"
11156 || test ! -s conftest.err'
11157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11158 (eval $ac_try) 2>&5
11159 ac_status=$?
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); }; } &&
11162 { ac_try='test -s conftest$ac_exeext'
11163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11164 (eval $ac_try) 2>&5
11165 ac_status=$?
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); }; }; then
11168 ac_cv_lib_ICE_IceConnectionNumber=yes
11169 else
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.$ac_ext >&5
11172
11173 ac_cv_lib_ICE_IceConnectionNumber=no
11174 fi
11175 rm -f conftest.err conftest.$ac_objext \
11176 conftest$ac_exeext conftest.$ac_ext
11177 LIBS=$ac_check_lib_save_LIBS
11178 fi
11179 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11180 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
11181 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11182 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11183 fi
11184
11185 LDFLAGS=$ac_save_LDFLAGS
11186
11187 fi
11188
11189 if test "$no_x" = yes; then
11190 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11191 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11192 { (exit 1); exit 1; }; }
11193 fi
11194 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11195 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
11196 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11197 echo $ECHO_N "(cached) $ECHO_C" >&6
11198 else
11199 ac_check_lib_save_LIBS=$LIBS
11200 LIBS="-lXtst ${X_LIBS} $LIBS"
11201 cat >conftest.$ac_ext <<_ACEOF
11202 /* confdefs.h. */
11203 _ACEOF
11204 cat confdefs.h >>conftest.$ac_ext
11205 cat >>conftest.$ac_ext <<_ACEOF
11206 /* end confdefs.h. */
11207
11208 /* Override any gcc2 internal prototype to avoid an error. */
11209 #ifdef __cplusplus
11210 extern "C"
11211 #endif
11212 /* We use char because int might match the return type of a gcc2
11213 builtin and then its argument prototype would still apply. */
11214 char XTestQueryExtension ();
11215 int
11216 main ()
11217 {
11218 XTestQueryExtension ();
11219 ;
11220 return 0;
11221 }
11222 _ACEOF
11223 rm -f conftest.$ac_objext conftest$ac_exeext
11224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11225 (eval $ac_link) 2>conftest.er1
11226 ac_status=$?
11227 grep -v '^ *+' conftest.er1 >conftest.err
11228 rm -f conftest.er1
11229 cat conftest.err >&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); } &&
11232 { ac_try='test -z "$ac_c_werror_flag"
11233 || test ! -s conftest.err'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11236 ac_status=$?
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; } &&
11239 { ac_try='test -s conftest$ac_exeext'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11242 ac_status=$?
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 ac_cv_lib_Xtst_XTestQueryExtension=yes
11246 else
11247 echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.$ac_ext >&5
11249
11250 ac_cv_lib_Xtst_XTestQueryExtension=no
11251 fi
11252 rm -f conftest.err conftest.$ac_objext \
11253 conftest$ac_exeext conftest.$ac_ext
11254 LIBS=$ac_check_lib_save_LIBS
11255 fi
11256 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
11257 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
11258 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
11259 true
11260 else
11261 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
11262 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
11263 { (exit 1); exit 1; }; }
11264 fi
11265
11266
11267 succeeded=no
11268
11269 if test -z "$PKG_CONFIG"; then
11270 # Extract the first word of "pkg-config", so it can be a program name with args.
11271 set dummy pkg-config; ac_word=$2
11272 echo "$as_me:$LINENO: checking for $ac_word" >&5
11273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11274 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11275 echo $ECHO_N "(cached) $ECHO_C" >&6
11276 else
11277 case $PKG_CONFIG in
11278 [\\/]* | ?:[\\/]*)
11279 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11280 ;;
11281 *)
11282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11283 for as_dir in $PATH
11284 do
11285 IFS=$as_save_IFS
11286 test -z "$as_dir" && as_dir=.
11287 for ac_exec_ext in '' $ac_executable_extensions; do
11288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11289 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11291 break 2
11292 fi
11293 done
11294 done
11295
11296 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11297 ;;
11298 esac
11299 fi
11300 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11301
11302 if test -n "$PKG_CONFIG"; then
11303 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11304 echo "${ECHO_T}$PKG_CONFIG" >&6
11305 else
11306 echo "$as_me:$LINENO: result: no" >&5
11307 echo "${ECHO_T}no" >&6
11308 fi
11309
11310 fi
11311
11312 if test "$PKG_CONFIG" = "no" ; then
11313 echo "*** The pkg-config script could not be found. Make sure it is"
11314 echo "*** in your path, or set the PKG_CONFIG environment variable"
11315 echo "*** to the full path to pkg-config."
11316 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11317 else
11318 PKG_CONFIG_MIN_VERSION=0.9.0
11319 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11320 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
11321 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
11322
11323 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
11324 echo "$as_me:$LINENO: result: yes" >&5
11325 echo "${ECHO_T}yes" >&6
11326 succeeded=yes
11327
11328 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11329 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11330 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11331 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11332 echo "${ECHO_T}$GTK_CFLAGS" >&6
11333
11334 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11335 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11336 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11337 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11338 echo "${ECHO_T}$GTK_LIBS" >&6
11339 else
11340 GTK_CFLAGS=""
11341 GTK_LIBS=""
11342 ## If we have a custom action on failure, don't print errors, but
11343 ## do set a variable so people can do so.
11344 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11345 echo $GTK_PKG_ERRORS
11346 fi
11347
11348
11349
11350 else
11351 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11352 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11353 fi
11354 fi
11355
11356 if test $succeeded = yes; then
11357 :
11358 else
11359 { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.4 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
11360 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.4 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;}
11361 { (exit 1); exit 1; }; }
11362 fi
11363
11364
11365 if test "x${enable_gtk_cairo}" = xyes; then
11366
11367 succeeded=no
11368
11369 if test -z "$PKG_CONFIG"; then
11370 # Extract the first word of "pkg-config", so it can be a program name with args.
11371 set dummy pkg-config; ac_word=$2
11372 echo "$as_me:$LINENO: checking for $ac_word" >&5
11373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11374 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11376 else
11377 case $PKG_CONFIG in
11378 [\\/]* | ?:[\\/]*)
11379 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11380 ;;
11381 *)
11382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11383 for as_dir in $PATH
11384 do
11385 IFS=$as_save_IFS
11386 test -z "$as_dir" && as_dir=.
11387 for ac_exec_ext in '' $ac_executable_extensions; do
11388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11389 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11391 break 2
11392 fi
11393 done
11394 done
11395
11396 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11397 ;;
11398 esac
11399 fi
11400 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11401
11402 if test -n "$PKG_CONFIG"; then
11403 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11404 echo "${ECHO_T}$PKG_CONFIG" >&6
11405 else
11406 echo "$as_me:$LINENO: result: no" >&5
11407 echo "${ECHO_T}no" >&6
11408 fi
11409
11410 fi
11411
11412 if test "$PKG_CONFIG" = "no" ; then
11413 echo "*** The pkg-config script could not be found. Make sure it is"
11414 echo "*** in your path, or set the PKG_CONFIG environment variable"
11415 echo "*** to the full path to pkg-config."
11416 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11417 else
11418 PKG_CONFIG_MIN_VERSION=0.9.0
11419 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11420 echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5
11421 echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6
11422
11423 if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then
11424 echo "$as_me:$LINENO: result: yes" >&5
11425 echo "${ECHO_T}yes" >&6
11426 succeeded=yes
11427
11428 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
11429 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
11430 CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 0.5.0"`
11431 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
11432 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
11433
11434 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
11435 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
11436 CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 0.5.0"`
11437 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
11438 echo "${ECHO_T}$CAIRO_LIBS" >&6
11439 else
11440 CAIRO_CFLAGS=""
11441 CAIRO_LIBS=""
11442 ## If we have a custom action on failure, don't print errors, but
11443 ## do set a variable so people can do so.
11444 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"`
11445 echo $CAIRO_PKG_ERRORS
11446 fi
11447
11448
11449
11450 else
11451 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11452 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11453 fi
11454 fi
11455
11456 if test $succeeded = yes; then
11457 :
11458 else
11459 { { echo "$as_me:$LINENO: error: Library requirements (cairo >= 0.5.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
11460 echo "$as_me: error: Library requirements (cairo >= 0.5.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;}
11461 { (exit 1); exit 1; }; }
11462 fi
11463
11464 fi
11465
11466
11467 succeeded=no
11468
11469 if test -z "$PKG_CONFIG"; then
11470 # Extract the first word of "pkg-config", so it can be a program name with args.
11471 set dummy pkg-config; ac_word=$2
11472 echo "$as_me:$LINENO: checking for $ac_word" >&5
11473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11474 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11476 else
11477 case $PKG_CONFIG in
11478 [\\/]* | ?:[\\/]*)
11479 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11480 ;;
11481 *)
11482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11483 for as_dir in $PATH
11484 do
11485 IFS=$as_save_IFS
11486 test -z "$as_dir" && as_dir=.
11487 for ac_exec_ext in '' $ac_executable_extensions; do
11488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11489 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11491 break 2
11492 fi
11493 done
11494 done
11495
11496 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11497 ;;
11498 esac
11499 fi
11500 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11501
11502 if test -n "$PKG_CONFIG"; then
11503 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11504 echo "${ECHO_T}$PKG_CONFIG" >&6
11505 else
11506 echo "$as_me:$LINENO: result: no" >&5
11507 echo "${ECHO_T}no" >&6
11508 fi
11509
11510 fi
11511
11512 if test "$PKG_CONFIG" = "no" ; then
11513 echo "*** The pkg-config script could not be found. Make sure it is"
11514 echo "*** in your path, or set the PKG_CONFIG environment variable"
11515 echo "*** to the full path to pkg-config."
11516 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11517 else
11518 PKG_CONFIG_MIN_VERSION=0.9.0
11519 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11520 echo "$as_me:$LINENO: checking for freetype2" >&5
11521 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
11522
11523 if $PKG_CONFIG --exists "freetype2" ; then
11524 echo "$as_me:$LINENO: result: yes" >&5
11525 echo "${ECHO_T}yes" >&6
11526 succeeded=yes
11527
11528 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
11529 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
11530 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
11531 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
11532 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
11533
11534 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
11535 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
11536 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
11537 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
11538 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
11539 else
11540 FREETYPE2_CFLAGS=""
11541 FREETYPE2_LIBS=""
11542 ## If we have a custom action on failure, don't print errors, but
11543 ## do set a variable so people can do so.
11544 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
11545 echo $FREETYPE2_PKG_ERRORS
11546 fi
11547
11548
11549
11550 else
11551 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11552 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11553 fi
11554 fi
11555
11556 if test $succeeded = yes; then
11557 :
11558 else
11559 { { 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
11560 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;}
11561 { (exit 1); exit 1; }; }
11562 fi
11563
11564
11565 succeeded=no
11566
11567 if test -z "$PKG_CONFIG"; then
11568 # Extract the first word of "pkg-config", so it can be a program name with args.
11569 set dummy pkg-config; ac_word=$2
11570 echo "$as_me:$LINENO: checking for $ac_word" >&5
11571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11573 echo $ECHO_N "(cached) $ECHO_C" >&6
11574 else
11575 case $PKG_CONFIG in
11576 [\\/]* | ?:[\\/]*)
11577 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11578 ;;
11579 *)
11580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11581 for as_dir in $PATH
11582 do
11583 IFS=$as_save_IFS
11584 test -z "$as_dir" && as_dir=.
11585 for ac_exec_ext in '' $ac_executable_extensions; do
11586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11587 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11589 break 2
11590 fi
11591 done
11592 done
11593
11594 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11595 ;;
11596 esac
11597 fi
11598 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11599
11600 if test -n "$PKG_CONFIG"; then
11601 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11602 echo "${ECHO_T}$PKG_CONFIG" >&6
11603 else
11604 echo "$as_me:$LINENO: result: no" >&5
11605 echo "${ECHO_T}no" >&6
11606 fi
11607
11608 fi
11609
11610 if test "$PKG_CONFIG" = "no" ; then
11611 echo "*** The pkg-config script could not be found. Make sure it is"
11612 echo "*** in your path, or set the PKG_CONFIG environment variable"
11613 echo "*** to the full path to pkg-config."
11614 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11615 else
11616 PKG_CONFIG_MIN_VERSION=0.9.0
11617 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11618 echo "$as_me:$LINENO: checking for pangoft2" >&5
11619 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
11620
11621 if $PKG_CONFIG --exists "pangoft2" ; then
11622 echo "$as_me:$LINENO: result: yes" >&5
11623 echo "${ECHO_T}yes" >&6
11624 succeeded=yes
11625
11626 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
11627 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
11628 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
11629 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
11630 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
11631
11632 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
11633 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
11634 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
11635 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
11636 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
11637 else
11638 PANGOFT2_CFLAGS=""
11639 PANGOFT2_LIBS=""
11640 ## If we have a custom action on failure, don't print errors, but
11641 ## do set a variable so people can do so.
11642 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
11643 echo $PANGOFT2_PKG_ERRORS
11644 fi
11645
11646
11647
11648 else
11649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11651 fi
11652 fi
11653
11654 if test $succeeded = yes; then
11655 :
11656 else
11657 { { 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
11658 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;}
11659 { (exit 1); exit 1; }; }
11660 fi
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671 fi
11672
11673 if test "x${COMPILE_QT_PEER}" = xyes; then
11674
11675 succeeded=no
11676
11677 if test -z "$PKG_CONFIG"; then
11678 # Extract the first word of "pkg-config", so it can be a program name with args.
11679 set dummy pkg-config; ac_word=$2
11680 echo "$as_me:$LINENO: checking for $ac_word" >&5
11681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11682 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 else
11685 case $PKG_CONFIG in
11686 [\\/]* | ?:[\\/]*)
11687 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11688 ;;
11689 *)
11690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11691 for as_dir in $PATH
11692 do
11693 IFS=$as_save_IFS
11694 test -z "$as_dir" && as_dir=.
11695 for ac_exec_ext in '' $ac_executable_extensions; do
11696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11697 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11699 break 2
11700 fi
11701 done
11702 done
11703
11704 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11705 ;;
11706 esac
11707 fi
11708 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11709
11710 if test -n "$PKG_CONFIG"; then
11711 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11712 echo "${ECHO_T}$PKG_CONFIG" >&6
11713 else
11714 echo "$as_me:$LINENO: result: no" >&5
11715 echo "${ECHO_T}no" >&6
11716 fi
11717
11718 fi
11719
11720 if test "$PKG_CONFIG" = "no" ; then
11721 echo "*** The pkg-config script could not be found. Make sure it is"
11722 echo "*** in your path, or set the PKG_CONFIG environment variable"
11723 echo "*** to the full path to pkg-config."
11724 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11725 else
11726 PKG_CONFIG_MIN_VERSION=0.9.0
11727 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11728 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
11729 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
11730
11731 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
11732 echo "$as_me:$LINENO: result: yes" >&5
11733 echo "${ECHO_T}yes" >&6
11734 succeeded=yes
11735
11736 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
11737 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
11738 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
11739 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
11740 echo "${ECHO_T}$QT_CFLAGS" >&6
11741
11742 echo "$as_me:$LINENO: checking QT_LIBS" >&5
11743 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
11744 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
11745 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
11746 echo "${ECHO_T}$QT_LIBS" >&6
11747 else
11748 QT_CFLAGS=""
11749 QT_LIBS=""
11750 ## If we have a custom action on failure, don't print errors, but
11751 ## do set a variable so people can do so.
11752 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
11753
11754 fi
11755
11756
11757
11758 else
11759 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11760 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11761 fi
11762 fi
11763
11764 if test $succeeded = yes; then
11765 HAVE_QT4="yes"
11766 else
11767 HAVE_QT4="no"
11768 fi
11769
11770 if test "x$HAVE_QT4" = "xyes"; then
11771 QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui)
11772 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
11773 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11774 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
11775 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11776 if eval "test \"\${$as_ac_File+set}\" = set"; then
11777 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 else
11779 test "$cross_compiling" = yes &&
11780 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11781 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11782 { (exit 1); exit 1; }; }
11783 if test -r "$QT_INCLUDE_DIR/QWidget"; then
11784 eval "$as_ac_File=yes"
11785 else
11786 eval "$as_ac_File=no"
11787 fi
11788 fi
11789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11790 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11791 if test `eval echo '${'$as_ac_File'}'` = yes; then
11792 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
11793 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
11794 else
11795 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11796 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
11797 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11798 if eval "test \"\${$as_ac_File+set}\" = set"; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11800 else
11801 test "$cross_compiling" = yes &&
11802 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11803 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11804 { (exit 1); exit 1; }; }
11805 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
11806 eval "$as_ac_File=yes"
11807 else
11808 eval "$as_ac_File=no"
11809 fi
11810 fi
11811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11812 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11813 if test `eval echo '${'$as_ac_File'}'` = yes; then
11814 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
11815 else
11816 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
11817 echo "$as_me: WARNING: QWidget not found" >&2;}
11818 fi
11819
11820 fi
11821
11822 # Extract the first word of "moc", so it can be a program name with args.
11823 set dummy moc; ac_word=$2
11824 echo "$as_me:$LINENO: checking for $ac_word" >&5
11825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11826 if test "${ac_cv_prog_MOC+set}" = set; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11828 else
11829 if test -n "$MOC"; then
11830 ac_cv_prog_MOC="$MOC" # Let the user override the test.
11831 else
11832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11833 for as_dir in $PATH
11834 do
11835 IFS=$as_save_IFS
11836 test -z "$as_dir" && as_dir=.
11837 for ac_exec_ext in '' $ac_executable_extensions; do
11838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11839 ac_cv_prog_MOC="moc"
11840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11841 break 2
11842 fi
11843 done
11844 done
11845
11846 fi
11847 fi
11848 MOC=$ac_cv_prog_MOC
11849 if test -n "$MOC"; then
11850 echo "$as_me:$LINENO: result: $MOC" >&5
11851 echo "${ECHO_T}$MOC" >&6
11852 else
11853 echo "$as_me:$LINENO: result: no" >&5
11854 echo "${ECHO_T}no" >&6
11855 fi
11856
11857 fi
11858 if test "x$HAVE_QT4" = "xno"; then
11859 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
11860 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
11861 case "$host_os" in
11862 darwin*)
11863
11864 # Check whether --with-qt4dir or --without-qt4dir was given.
11865 if test "${with_qt4dir+set}" = set; then
11866 withval="$with_qt4dir"
11867 QT4DIR=$withval
11868
11869 fi;
11870 if test x"$QT4DIR" = x ; then
11871 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
11872 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
11873 { (exit 1); exit 1; }; }
11874 fi
11875 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
11876 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
11877 # Extract the first word of "moc", so it can be a program name with args.
11878 set dummy moc; ac_word=$2
11879 echo "$as_me:$LINENO: checking for $ac_word" >&5
11880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11881 if test "${ac_cv_prog_MOC+set}" = set; then
11882 echo $ECHO_N "(cached) $ECHO_C" >&6
11883 else
11884 if test -n "$MOC"; then
11885 ac_cv_prog_MOC="$MOC" # Let the user override the test.
11886 else
11887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11888 for as_dir in $QT4DIR/bin
11889 do
11890 IFS=$as_save_IFS
11891 test -z "$as_dir" && as_dir=.
11892 for ac_exec_ext in '' $ac_executable_extensions; do
11893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11894 ac_cv_prog_MOC="$QT4DIR/bin/moc"
11895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11896 break 2
11897 fi
11898 done
11899 done
11900
11901 fi
11902 fi
11903 MOC=$ac_cv_prog_MOC
11904 if test -n "$MOC"; then
11905 echo "$as_me:$LINENO: result: $MOC" >&5
11906 echo "${ECHO_T}$MOC" >&6
11907 else
11908 echo "$as_me:$LINENO: result: no" >&5
11909 echo "${ECHO_T}no" >&6
11910 fi
11911
11912 if test x"$MOC" = x; then
11913 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
11914 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
11915 { (exit 1); exit 1; }; }
11916 fi
11917 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
11918 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
11919 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
11920 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
11921 ;;
11922 *)
11923 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
11924 of your installed Qt4 installation." >&5
11925 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
11926 of your installed Qt4 installation." >&2;}
11927 { (exit 1); exit 1; }; }
11928 ;;
11929 esac
11930 fi
11931 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
11932 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
11933
11934
11935 fi
11936 fi
11937
11938
11939
11940 # Check whether --with-javah or --without-javah was given.
11941 if test "${with_javah+set}" = set; then
11942 withval="$with_javah"
11943
11944 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
11945
11946 if test "x${withval}" != x; then
11947 if test -f "${withval}"; then
11948 USER_JAVAH="${withval}"
11949 else
11950 # Extract the first word of ""${withval}"", so it can be a program name with args.
11951 set dummy "${withval}"; ac_word=$2
11952 echo "$as_me:$LINENO: checking for $ac_word" >&5
11953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11954 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11955 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 else
11957 case $USER_JAVAH in
11958 [\\/]* | ?:[\\/]*)
11959 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
11960 ;;
11961 *)
11962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11963 for as_dir in $PATH
11964 do
11965 IFS=$as_save_IFS
11966 test -z "$as_dir" && as_dir=.
11967 for ac_exec_ext in '' $ac_executable_extensions; do
11968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11969 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
11970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11971 break 2
11972 fi
11973 done
11974 done
11975
11976 ;;
11977 esac
11978 fi
11979 USER_JAVAH=$ac_cv_path_USER_JAVAH
11980
11981 if test -n "$USER_JAVAH"; then
11982 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11983 echo "${ECHO_T}$USER_JAVAH" >&6
11984 else
11985 echo "$as_me:$LINENO: result: no" >&5
11986 echo "${ECHO_T}no" >&6
11987 fi
11988
11989 fi
11990 else
11991 for javah_name in gcjh javah; do
11992 # Extract the first word of ""$javah_name"", so it can be a program name with args.
11993 set dummy "$javah_name"; ac_word=$2
11994 echo "$as_me:$LINENO: checking for $ac_word" >&5
11995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11996 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11998 else
11999 case $USER_JAVAH in
12000 [\\/]* | ?:[\\/]*)
12001 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12002 ;;
12003 *)
12004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12005 for as_dir in $PATH
12006 do
12007 IFS=$as_save_IFS
12008 test -z "$as_dir" && as_dir=.
12009 for ac_exec_ext in '' $ac_executable_extensions; do
12010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12011 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12013 break 2
12014 fi
12015 done
12016 done
12017
12018 ;;
12019 esac
12020 fi
12021 USER_JAVAH=$ac_cv_path_USER_JAVAH
12022
12023 if test -n "$USER_JAVAH"; then
12024 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12025 echo "${ECHO_T}$USER_JAVAH" >&6
12026 else
12027 echo "$as_me:$LINENO: result: no" >&5
12028 echo "${ECHO_T}no" >&6
12029 fi
12030
12031 if test "x${USER_JAVAH}" != x; then
12032 break
12033 fi
12034 done
12035 fi
12036
12037 # if test "x${USER_JAVAH}" = x; then
12038 # echo "configure: cannot find javah" 1>&2
12039 # exit 1
12040 # fi
12041
12042 else
12043
12044 if test "x" != x; then
12045 if test -f ""; then
12046 USER_JAVAH=""
12047 else
12048 # Extract the first word of """", so it can be a program name with args.
12049 set dummy ""; ac_word=$2
12050 echo "$as_me:$LINENO: checking for $ac_word" >&5
12051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12052 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12053 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 else
12055 case $USER_JAVAH in
12056 [\\/]* | ?:[\\/]*)
12057 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12058 ;;
12059 *)
12060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12061 for as_dir in $PATH
12062 do
12063 IFS=$as_save_IFS
12064 test -z "$as_dir" && as_dir=.
12065 for ac_exec_ext in '' $ac_executable_extensions; do
12066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12067 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12069 break 2
12070 fi
12071 done
12072 done
12073
12074 ;;
12075 esac
12076 fi
12077 USER_JAVAH=$ac_cv_path_USER_JAVAH
12078
12079 if test -n "$USER_JAVAH"; then
12080 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12081 echo "${ECHO_T}$USER_JAVAH" >&6
12082 else
12083 echo "$as_me:$LINENO: result: no" >&5
12084 echo "${ECHO_T}no" >&6
12085 fi
12086
12087 fi
12088 else
12089 for javah_name in gcjh javah; do
12090 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12091 set dummy "$javah_name"; ac_word=$2
12092 echo "$as_me:$LINENO: checking for $ac_word" >&5
12093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12094 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12095 echo $ECHO_N "(cached) $ECHO_C" >&6
12096 else
12097 case $USER_JAVAH in
12098 [\\/]* | ?:[\\/]*)
12099 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12100 ;;
12101 *)
12102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12103 for as_dir in $PATH
12104 do
12105 IFS=$as_save_IFS
12106 test -z "$as_dir" && as_dir=.
12107 for ac_exec_ext in '' $ac_executable_extensions; do
12108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12109 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12111 break 2
12112 fi
12113 done
12114 done
12115
12116 ;;
12117 esac
12118 fi
12119 USER_JAVAH=$ac_cv_path_USER_JAVAH
12120
12121 if test -n "$USER_JAVAH"; then
12122 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12123 echo "${ECHO_T}$USER_JAVAH" >&6
12124 else
12125 echo "$as_me:$LINENO: result: no" >&5
12126 echo "${ECHO_T}no" >&6
12127 fi
12128
12129 if test "x${USER_JAVAH}" != x; then
12130 break
12131 fi
12132 done
12133 fi
12134
12135 # if test "x${USER_JAVAH}" = x; then
12136 # echo "configure: cannot find javah" 1>&2
12137 # exit 1
12138 # fi
12139
12140 fi
12141
12142 else
12143
12144
12145 if test "x" != x; then
12146 if test -f ""; then
12147 USER_JAVAH=""
12148 else
12149 # Extract the first word of """", so it can be a program name with args.
12150 set dummy ""; ac_word=$2
12151 echo "$as_me:$LINENO: checking for $ac_word" >&5
12152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12153 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 else
12156 case $USER_JAVAH in
12157 [\\/]* | ?:[\\/]*)
12158 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12159 ;;
12160 *)
12161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12162 for as_dir in $PATH
12163 do
12164 IFS=$as_save_IFS
12165 test -z "$as_dir" && as_dir=.
12166 for ac_exec_ext in '' $ac_executable_extensions; do
12167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12168 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12170 break 2
12171 fi
12172 done
12173 done
12174
12175 ;;
12176 esac
12177 fi
12178 USER_JAVAH=$ac_cv_path_USER_JAVAH
12179
12180 if test -n "$USER_JAVAH"; then
12181 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12182 echo "${ECHO_T}$USER_JAVAH" >&6
12183 else
12184 echo "$as_me:$LINENO: result: no" >&5
12185 echo "${ECHO_T}no" >&6
12186 fi
12187
12188 fi
12189 else
12190 for javah_name in gcjh javah; do
12191 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12192 set dummy "$javah_name"; ac_word=$2
12193 echo "$as_me:$LINENO: checking for $ac_word" >&5
12194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12195 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12196 echo $ECHO_N "(cached) $ECHO_C" >&6
12197 else
12198 case $USER_JAVAH in
12199 [\\/]* | ?:[\\/]*)
12200 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12201 ;;
12202 *)
12203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12204 for as_dir in $PATH
12205 do
12206 IFS=$as_save_IFS
12207 test -z "$as_dir" && as_dir=.
12208 for ac_exec_ext in '' $ac_executable_extensions; do
12209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12210 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12212 break 2
12213 fi
12214 done
12215 done
12216
12217 ;;
12218 esac
12219 fi
12220 USER_JAVAH=$ac_cv_path_USER_JAVAH
12221
12222 if test -n "$USER_JAVAH"; then
12223 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12224 echo "${ECHO_T}$USER_JAVAH" >&6
12225 else
12226 echo "$as_me:$LINENO: result: no" >&5
12227 echo "${ECHO_T}no" >&6
12228 fi
12229
12230 if test "x${USER_JAVAH}" != x; then
12231 break
12232 fi
12233 done
12234 fi
12235
12236 # if test "x${USER_JAVAH}" = x; then
12237 # echo "configure: cannot find javah" 1>&2
12238 # exit 1
12239 # fi
12240
12241
12242 fi;
12243
12244
12245 if test "x${USER_JAVAH}" != x; then
12246 USER_SPECIFIED_JAVAH_TRUE=
12247 USER_SPECIFIED_JAVAH_FALSE='#'
12248 else
12249 USER_SPECIFIED_JAVAH_TRUE='#'
12250 USER_SPECIFIED_JAVAH_FALSE=
12251 fi
12252
12253
12254
12255
12256 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
12257
12258
12259 if test "x${COMPILE_JNI}" = xyes; then
12260 echo "$as_me:$LINENO: checking jni_md.h support" >&5
12261 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
12262 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
12263 echo "$as_me:$LINENO: result: yes" >&5
12264 echo "${ECHO_T}yes" >&6
12265 else
12266 target_cpu=x86
12267 target_os=linux-gnu
12268 { echo "$as_me:$LINENO: WARNING: no" >&5
12269 echo "$as_me: WARNING: no" >&2;}
12270 fi
12271 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
12272 ac_dests="include/jni_md.h"
12273 while test -n "$ac_sources"; do
12274 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
12275 set $ac_sources; ac_source=$1; shift; ac_sources=$*
12276 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
12277 done
12278 ac_config_links="$ac_config_links $ac_config_links_1"
12279
12280 fi
12281
12282
12283 user_specified_javac=
12284
12285
12286
12287 # Check whether --with-gcj or --without-gcj was given.
12288 if test "${with_gcj+set}" = set; then
12289 withval="$with_gcj"
12290
12291 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
12292
12293 if test "x${withval}" != x; then
12294 if test -f "${withval}"; then
12295 GCJ="${withval}"
12296 else
12297 # Extract the first word of ""${withval}"", so it can be a program name with args.
12298 set dummy "${withval}"; 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_GCJ+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12303 else
12304 case $GCJ in
12305 [\\/]* | ?:[\\/]*)
12306 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12307 ;;
12308 *)
12309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12310 for as_dir in $PATH
12311 do
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_GCJ="$as_dir/$ac_word$ac_exec_ext"
12317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12318 break 2
12319 fi
12320 done
12321 done
12322
12323 ;;
12324 esac
12325 fi
12326 GCJ=$ac_cv_path_GCJ
12327
12328 if test -n "$GCJ"; then
12329 echo "$as_me:$LINENO: result: $GCJ" >&5
12330 echo "${ECHO_T}$GCJ" >&6
12331 else
12332 echo "$as_me:$LINENO: result: no" >&5
12333 echo "${ECHO_T}no" >&6
12334 fi
12335
12336 fi
12337 else
12338 # Extract the first word of ""gcj"", so it can be a program name with args.
12339 set dummy "gcj"; ac_word=$2
12340 echo "$as_me:$LINENO: checking for $ac_word" >&5
12341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12342 if test "${ac_cv_path_GCJ+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12344 else
12345 case $GCJ in
12346 [\\/]* | ?:[\\/]*)
12347 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12348 ;;
12349 *)
12350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12351 for as_dir in $PATH
12352 do
12353 IFS=$as_save_IFS
12354 test -z "$as_dir" && as_dir=.
12355 for ac_exec_ext in '' $ac_executable_extensions; do
12356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12357 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12359 break 2
12360 fi
12361 done
12362 done
12363
12364 ;;
12365 esac
12366 fi
12367 GCJ=$ac_cv_path_GCJ
12368
12369 if test -n "$GCJ"; then
12370 echo "$as_me:$LINENO: result: $GCJ" >&5
12371 echo "${ECHO_T}$GCJ" >&6
12372 else
12373 echo "$as_me:$LINENO: result: no" >&5
12374 echo "${ECHO_T}no" >&6
12375 fi
12376
12377 fi
12378 if test "x$GCJ" != x; then
12379 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12380 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12381 ac_ext=c
12382 ac_cpp='$CPP $CPPFLAGS'
12383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12386
12387 cat >conftest.$ac_ext <<_ACEOF
12388 #if __GNUC__ <= 3
12389 #error GCJ 4.0.0 or higher is required
12390 #endif
12391
12392 _ACEOF
12393 $GCJ -E conftest.c > /dev/null
12394 gcj_4_result=$?
12395 if test "x$gcj_4_result" = "x0"; then
12396 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12397 echo "${ECHO_T}4.0 or higher found" >&6
12398 else
12399 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12400 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12401 fi
12402 ac_ext=c
12403 ac_cpp='$CPP $CPPFLAGS'
12404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12407
12408 fi
12409
12410 else
12411 if test "x${withval}" != xno; then
12412
12413 if test "x" != x; then
12414 if test -f ""; then
12415 GCJ=""
12416 else
12417 # Extract the first word of """", so it can be a program name with args.
12418 set dummy ""; ac_word=$2
12419 echo "$as_me:$LINENO: checking for $ac_word" >&5
12420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12421 if test "${ac_cv_path_GCJ+set}" = set; then
12422 echo $ECHO_N "(cached) $ECHO_C" >&6
12423 else
12424 case $GCJ in
12425 [\\/]* | ?:[\\/]*)
12426 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12427 ;;
12428 *)
12429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12430 for as_dir in $PATH
12431 do
12432 IFS=$as_save_IFS
12433 test -z "$as_dir" && as_dir=.
12434 for ac_exec_ext in '' $ac_executable_extensions; do
12435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12436 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12438 break 2
12439 fi
12440 done
12441 done
12442
12443 ;;
12444 esac
12445 fi
12446 GCJ=$ac_cv_path_GCJ
12447
12448 if test -n "$GCJ"; then
12449 echo "$as_me:$LINENO: result: $GCJ" >&5
12450 echo "${ECHO_T}$GCJ" >&6
12451 else
12452 echo "$as_me:$LINENO: result: no" >&5
12453 echo "${ECHO_T}no" >&6
12454 fi
12455
12456 fi
12457 else
12458 # Extract the first word of ""gcj"", so it can be a program name with args.
12459 set dummy "gcj"; ac_word=$2
12460 echo "$as_me:$LINENO: checking for $ac_word" >&5
12461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12462 if test "${ac_cv_path_GCJ+set}" = set; then
12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12464 else
12465 case $GCJ in
12466 [\\/]* | ?:[\\/]*)
12467 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12468 ;;
12469 *)
12470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12471 for as_dir in $PATH
12472 do
12473 IFS=$as_save_IFS
12474 test -z "$as_dir" && as_dir=.
12475 for ac_exec_ext in '' $ac_executable_extensions; do
12476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12477 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12479 break 2
12480 fi
12481 done
12482 done
12483
12484 ;;
12485 esac
12486 fi
12487 GCJ=$ac_cv_path_GCJ
12488
12489 if test -n "$GCJ"; then
12490 echo "$as_me:$LINENO: result: $GCJ" >&5
12491 echo "${ECHO_T}$GCJ" >&6
12492 else
12493 echo "$as_me:$LINENO: result: no" >&5
12494 echo "${ECHO_T}no" >&6
12495 fi
12496
12497 fi
12498 if test "x$GCJ" != x; then
12499 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12500 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12501 ac_ext=c
12502 ac_cpp='$CPP $CPPFLAGS'
12503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12506
12507 cat >conftest.$ac_ext <<_ACEOF
12508 #if __GNUC__ <= 3
12509 #error GCJ 4.0.0 or higher is required
12510 #endif
12511
12512 _ACEOF
12513 $GCJ -E conftest.c > /dev/null
12514 gcj_4_result=$?
12515 if test "x$gcj_4_result" = "x0"; then
12516 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12517 echo "${ECHO_T}4.0 or higher found" >&6
12518 else
12519 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12520 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12521 fi
12522 ac_ext=c
12523 ac_cpp='$CPP $CPPFLAGS'
12524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12527
12528 fi
12529
12530 fi
12531 fi
12532 user_specified_javac=gcj
12533
12534 else
12535
12536
12537 if test "x" != x; then
12538 if test -f ""; then
12539 GCJ=""
12540 else
12541 # Extract the first word of """", so it can be a program name with args.
12542 set dummy ""; ac_word=$2
12543 echo "$as_me:$LINENO: checking for $ac_word" >&5
12544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12545 if test "${ac_cv_path_GCJ+set}" = set; then
12546 echo $ECHO_N "(cached) $ECHO_C" >&6
12547 else
12548 case $GCJ in
12549 [\\/]* | ?:[\\/]*)
12550 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12551 ;;
12552 *)
12553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12554 for as_dir in $PATH
12555 do
12556 IFS=$as_save_IFS
12557 test -z "$as_dir" && as_dir=.
12558 for ac_exec_ext in '' $ac_executable_extensions; do
12559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12560 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12562 break 2
12563 fi
12564 done
12565 done
12566
12567 ;;
12568 esac
12569 fi
12570 GCJ=$ac_cv_path_GCJ
12571
12572 if test -n "$GCJ"; then
12573 echo "$as_me:$LINENO: result: $GCJ" >&5
12574 echo "${ECHO_T}$GCJ" >&6
12575 else
12576 echo "$as_me:$LINENO: result: no" >&5
12577 echo "${ECHO_T}no" >&6
12578 fi
12579
12580 fi
12581 else
12582 # Extract the first word of ""gcj"", so it can be a program name with args.
12583 set dummy "gcj"; ac_word=$2
12584 echo "$as_me:$LINENO: checking for $ac_word" >&5
12585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12586 if test "${ac_cv_path_GCJ+set}" = set; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12588 else
12589 case $GCJ in
12590 [\\/]* | ?:[\\/]*)
12591 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12592 ;;
12593 *)
12594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12595 for as_dir in $PATH
12596 do
12597 IFS=$as_save_IFS
12598 test -z "$as_dir" && as_dir=.
12599 for ac_exec_ext in '' $ac_executable_extensions; do
12600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12601 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12603 break 2
12604 fi
12605 done
12606 done
12607
12608 ;;
12609 esac
12610 fi
12611 GCJ=$ac_cv_path_GCJ
12612
12613 if test -n "$GCJ"; then
12614 echo "$as_me:$LINENO: result: $GCJ" >&5
12615 echo "${ECHO_T}$GCJ" >&6
12616 else
12617 echo "$as_me:$LINENO: result: no" >&5
12618 echo "${ECHO_T}no" >&6
12619 fi
12620
12621 fi
12622 if test "x$GCJ" != x; then
12623 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12624 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12625 ac_ext=c
12626 ac_cpp='$CPP $CPPFLAGS'
12627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12630
12631 cat >conftest.$ac_ext <<_ACEOF
12632 #if __GNUC__ <= 3
12633 #error GCJ 4.0.0 or higher is required
12634 #endif
12635
12636 _ACEOF
12637 $GCJ -E conftest.c > /dev/null
12638 gcj_4_result=$?
12639 if test "x$gcj_4_result" = "x0"; then
12640 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12641 echo "${ECHO_T}4.0 or higher found" >&6
12642 else
12643 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12644 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12645 fi
12646 ac_ext=c
12647 ac_cpp='$CPP $CPPFLAGS'
12648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12651
12652 fi
12653
12654
12655 fi;
12656
12657
12658
12659
12660 # Check whether --with-jikes or --without-jikes was given.
12661 if test "${with_jikes+set}" = set; then
12662 withval="$with_jikes"
12663
12664 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
12665
12666 if test "x${withval}" != x; then
12667 if test -f "${withval}"; then
12668 JIKES="${withval}"
12669 else
12670 # Extract the first word of ""${withval}"", so it can be a program name with args.
12671 set dummy "${withval}"; ac_word=$2
12672 echo "$as_me:$LINENO: checking for $ac_word" >&5
12673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12674 if test "${ac_cv_path_JIKES+set}" = set; then
12675 echo $ECHO_N "(cached) $ECHO_C" >&6
12676 else
12677 case $JIKES in
12678 [\\/]* | ?:[\\/]*)
12679 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12680 ;;
12681 *)
12682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12683 for as_dir in $PATH
12684 do
12685 IFS=$as_save_IFS
12686 test -z "$as_dir" && as_dir=.
12687 for ac_exec_ext in '' $ac_executable_extensions; do
12688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12689 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12691 break 2
12692 fi
12693 done
12694 done
12695
12696 ;;
12697 esac
12698 fi
12699 JIKES=$ac_cv_path_JIKES
12700
12701 if test -n "$JIKES"; then
12702 echo "$as_me:$LINENO: result: $JIKES" >&5
12703 echo "${ECHO_T}$JIKES" >&6
12704 else
12705 echo "$as_me:$LINENO: result: no" >&5
12706 echo "${ECHO_T}no" >&6
12707 fi
12708
12709 fi
12710 else
12711 # Extract the first word of ""jikes"", so it can be a program name with args.
12712 set dummy "jikes"; ac_word=$2
12713 echo "$as_me:$LINENO: checking for $ac_word" >&5
12714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12715 if test "${ac_cv_path_JIKES+set}" = set; then
12716 echo $ECHO_N "(cached) $ECHO_C" >&6
12717 else
12718 case $JIKES in
12719 [\\/]* | ?:[\\/]*)
12720 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12721 ;;
12722 *)
12723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12724 for as_dir in $PATH
12725 do
12726 IFS=$as_save_IFS
12727 test -z "$as_dir" && as_dir=.
12728 for ac_exec_ext in '' $ac_executable_extensions; do
12729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12730 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12732 break 2
12733 fi
12734 done
12735 done
12736
12737 ;;
12738 esac
12739 fi
12740 JIKES=$ac_cv_path_JIKES
12741
12742 if test -n "$JIKES"; then
12743 echo "$as_me:$LINENO: result: $JIKES" >&5
12744 echo "${ECHO_T}$JIKES" >&6
12745 else
12746 echo "$as_me:$LINENO: result: no" >&5
12747 echo "${ECHO_T}no" >&6
12748 fi
12749
12750 fi
12751 if test "x$JIKES" != "x"; then
12752 echo "$as_me:$LINENO: checking jikes version" >&5
12753 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12754 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12755 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12756 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12757 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
12758 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
12759 JIKES=""
12760 fi
12761 fi
12762 if test "x$JIKES" != "x"; then
12763 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12764 echo "${ECHO_T}$JIKES_VERSION" >&6
12765 else
12766 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12767 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12768 fi
12769
12770 JIKESENCODING=
12771 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12772 JIKESENCODING='-encoding UTF-8'
12773 fi
12774
12775
12776 JIKESWARNINGS="+Pno-switchcheck"
12777 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
12778 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
12779 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
12780 fi
12781 fi
12782
12783
12784 fi
12785
12786 else
12787 if test "x${withval}" != xno; then
12788
12789 if test "x" != x; then
12790 if test -f ""; then
12791 JIKES=""
12792 else
12793 # Extract the first word of """", so it can be a program name with args.
12794 set dummy ""; ac_word=$2
12795 echo "$as_me:$LINENO: checking for $ac_word" >&5
12796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12797 if test "${ac_cv_path_JIKES+set}" = set; then
12798 echo $ECHO_N "(cached) $ECHO_C" >&6
12799 else
12800 case $JIKES in
12801 [\\/]* | ?:[\\/]*)
12802 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12803 ;;
12804 *)
12805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12806 for as_dir in $PATH
12807 do
12808 IFS=$as_save_IFS
12809 test -z "$as_dir" && as_dir=.
12810 for ac_exec_ext in '' $ac_executable_extensions; do
12811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12812 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12814 break 2
12815 fi
12816 done
12817 done
12818
12819 ;;
12820 esac
12821 fi
12822 JIKES=$ac_cv_path_JIKES
12823
12824 if test -n "$JIKES"; then
12825 echo "$as_me:$LINENO: result: $JIKES" >&5
12826 echo "${ECHO_T}$JIKES" >&6
12827 else
12828 echo "$as_me:$LINENO: result: no" >&5
12829 echo "${ECHO_T}no" >&6
12830 fi
12831
12832 fi
12833 else
12834 # Extract the first word of ""jikes"", so it can be a program name with args.
12835 set dummy "jikes"; ac_word=$2
12836 echo "$as_me:$LINENO: checking for $ac_word" >&5
12837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12838 if test "${ac_cv_path_JIKES+set}" = set; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12840 else
12841 case $JIKES in
12842 [\\/]* | ?:[\\/]*)
12843 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12844 ;;
12845 *)
12846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12847 for as_dir in $PATH
12848 do
12849 IFS=$as_save_IFS
12850 test -z "$as_dir" && as_dir=.
12851 for ac_exec_ext in '' $ac_executable_extensions; do
12852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12853 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12855 break 2
12856 fi
12857 done
12858 done
12859
12860 ;;
12861 esac
12862 fi
12863 JIKES=$ac_cv_path_JIKES
12864
12865 if test -n "$JIKES"; then
12866 echo "$as_me:$LINENO: result: $JIKES" >&5
12867 echo "${ECHO_T}$JIKES" >&6
12868 else
12869 echo "$as_me:$LINENO: result: no" >&5
12870 echo "${ECHO_T}no" >&6
12871 fi
12872
12873 fi
12874 if test "x$JIKES" != "x"; then
12875 echo "$as_me:$LINENO: checking jikes version" >&5
12876 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12877 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12878 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12879 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12880 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
12881 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
12882 JIKES=""
12883 fi
12884 fi
12885 if test "x$JIKES" != "x"; then
12886 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12887 echo "${ECHO_T}$JIKES_VERSION" >&6
12888 else
12889 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12890 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12891 fi
12892
12893 JIKESENCODING=
12894 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12895 JIKESENCODING='-encoding UTF-8'
12896 fi
12897
12898
12899 JIKESWARNINGS="+Pno-switchcheck"
12900 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
12901 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
12902 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
12903 fi
12904 fi
12905
12906
12907 fi
12908
12909 fi
12910 fi
12911 user_specified_javac=jikes
12912
12913 else
12914
12915
12916 if test "x" != x; then
12917 if test -f ""; then
12918 JIKES=""
12919 else
12920 # Extract the first word of """", so it can be a program name with args.
12921 set dummy ""; ac_word=$2
12922 echo "$as_me:$LINENO: checking for $ac_word" >&5
12923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12924 if test "${ac_cv_path_JIKES+set}" = set; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12926 else
12927 case $JIKES in
12928 [\\/]* | ?:[\\/]*)
12929 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12930 ;;
12931 *)
12932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12933 for as_dir in $PATH
12934 do
12935 IFS=$as_save_IFS
12936 test -z "$as_dir" && as_dir=.
12937 for ac_exec_ext in '' $ac_executable_extensions; do
12938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12939 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12941 break 2
12942 fi
12943 done
12944 done
12945
12946 ;;
12947 esac
12948 fi
12949 JIKES=$ac_cv_path_JIKES
12950
12951 if test -n "$JIKES"; then
12952 echo "$as_me:$LINENO: result: $JIKES" >&5
12953 echo "${ECHO_T}$JIKES" >&6
12954 else
12955 echo "$as_me:$LINENO: result: no" >&5
12956 echo "${ECHO_T}no" >&6
12957 fi
12958
12959 fi
12960 else
12961 # Extract the first word of ""jikes"", so it can be a program name with args.
12962 set dummy "jikes"; ac_word=$2
12963 echo "$as_me:$LINENO: checking for $ac_word" >&5
12964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12965 if test "${ac_cv_path_JIKES+set}" = set; then
12966 echo $ECHO_N "(cached) $ECHO_C" >&6
12967 else
12968 case $JIKES in
12969 [\\/]* | ?:[\\/]*)
12970 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12971 ;;
12972 *)
12973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12974 for as_dir in $PATH
12975 do
12976 IFS=$as_save_IFS
12977 test -z "$as_dir" && as_dir=.
12978 for ac_exec_ext in '' $ac_executable_extensions; do
12979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12980 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12982 break 2
12983 fi
12984 done
12985 done
12986
12987 ;;
12988 esac
12989 fi
12990 JIKES=$ac_cv_path_JIKES
12991
12992 if test -n "$JIKES"; then
12993 echo "$as_me:$LINENO: result: $JIKES" >&5
12994 echo "${ECHO_T}$JIKES" >&6
12995 else
12996 echo "$as_me:$LINENO: result: no" >&5
12997 echo "${ECHO_T}no" >&6
12998 fi
12999
13000 fi
13001 if test "x$JIKES" != "x"; then
13002 echo "$as_me:$LINENO: checking jikes version" >&5
13003 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
13004 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13005 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13006 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13007 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
13008 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
13009 JIKES=""
13010 fi
13011 fi
13012 if test "x$JIKES" != "x"; then
13013 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13014 echo "${ECHO_T}$JIKES_VERSION" >&6
13015 else
13016 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13017 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13018 fi
13019
13020 JIKESENCODING=
13021 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13022 JIKESENCODING='-encoding UTF-8'
13023 fi
13024
13025
13026 JIKESWARNINGS="+Pno-switchcheck"
13027 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
13028 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
13029 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
13030 fi
13031 fi
13032
13033
13034 fi
13035
13036
13037 fi;
13038
13039
13040
13041
13042 # Check whether --with-kjc or --without-kjc was given.
13043 if test "${with_kjc+set}" = set; then
13044 withval="$with_kjc"
13045
13046 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13047
13048 if test "x${withval}" != x; then
13049 if test -f "${withval}"; then
13050 KJC="${withval}"
13051 else
13052 # Extract the first word of ""${withval}"", so it can be a program name with args.
13053 set dummy "${withval}"; ac_word=$2
13054 echo "$as_me:$LINENO: checking for $ac_word" >&5
13055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13056 if test "${ac_cv_path_KJC+set}" = set; then
13057 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 else
13059 case $KJC in
13060 [\\/]* | ?:[\\/]*)
13061 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13062 ;;
13063 *)
13064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13065 for as_dir in $PATH
13066 do
13067 IFS=$as_save_IFS
13068 test -z "$as_dir" && as_dir=.
13069 for ac_exec_ext in '' $ac_executable_extensions; do
13070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13071 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13073 break 2
13074 fi
13075 done
13076 done
13077
13078 ;;
13079 esac
13080 fi
13081 KJC=$ac_cv_path_KJC
13082
13083 if test -n "$KJC"; then
13084 echo "$as_me:$LINENO: result: $KJC" >&5
13085 echo "${ECHO_T}$KJC" >&6
13086 else
13087 echo "$as_me:$LINENO: result: no" >&5
13088 echo "${ECHO_T}no" >&6
13089 fi
13090
13091 fi
13092 else
13093 # Extract the first word of ""kJC"", so it can be a program name with args.
13094 set dummy "kJC"; ac_word=$2
13095 echo "$as_me:$LINENO: checking for $ac_word" >&5
13096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13097 if test "${ac_cv_path_KJC+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13099 else
13100 case $KJC in
13101 [\\/]* | ?:[\\/]*)
13102 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13103 ;;
13104 *)
13105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13106 for as_dir in $PATH
13107 do
13108 IFS=$as_save_IFS
13109 test -z "$as_dir" && as_dir=.
13110 for ac_exec_ext in '' $ac_executable_extensions; do
13111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13112 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13114 break 2
13115 fi
13116 done
13117 done
13118
13119 ;;
13120 esac
13121 fi
13122 KJC=$ac_cv_path_KJC
13123
13124 if test -n "$KJC"; then
13125 echo "$as_me:$LINENO: result: $KJC" >&5
13126 echo "${ECHO_T}$KJC" >&6
13127 else
13128 echo "$as_me:$LINENO: result: no" >&5
13129 echo "${ECHO_T}no" >&6
13130 fi
13131
13132 fi
13133
13134 else
13135 if test "x${withval}" != xno; then
13136
13137 if test "x" != x; then
13138 if test -f ""; then
13139 KJC=""
13140 else
13141 # Extract the first word of """", so it can be a program name with args.
13142 set dummy ""; ac_word=$2
13143 echo "$as_me:$LINENO: checking for $ac_word" >&5
13144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13145 if test "${ac_cv_path_KJC+set}" = set; then
13146 echo $ECHO_N "(cached) $ECHO_C" >&6
13147 else
13148 case $KJC in
13149 [\\/]* | ?:[\\/]*)
13150 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13151 ;;
13152 *)
13153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13154 for as_dir in $PATH
13155 do
13156 IFS=$as_save_IFS
13157 test -z "$as_dir" && as_dir=.
13158 for ac_exec_ext in '' $ac_executable_extensions; do
13159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13160 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13162 break 2
13163 fi
13164 done
13165 done
13166
13167 ;;
13168 esac
13169 fi
13170 KJC=$ac_cv_path_KJC
13171
13172 if test -n "$KJC"; then
13173 echo "$as_me:$LINENO: result: $KJC" >&5
13174 echo "${ECHO_T}$KJC" >&6
13175 else
13176 echo "$as_me:$LINENO: result: no" >&5
13177 echo "${ECHO_T}no" >&6
13178 fi
13179
13180 fi
13181 else
13182 # Extract the first word of ""kJC"", so it can be a program name with args.
13183 set dummy "kJC"; ac_word=$2
13184 echo "$as_me:$LINENO: checking for $ac_word" >&5
13185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13186 if test "${ac_cv_path_KJC+set}" = set; then
13187 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 else
13189 case $KJC in
13190 [\\/]* | ?:[\\/]*)
13191 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13192 ;;
13193 *)
13194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13195 for as_dir in $PATH
13196 do
13197 IFS=$as_save_IFS
13198 test -z "$as_dir" && as_dir=.
13199 for ac_exec_ext in '' $ac_executable_extensions; do
13200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13201 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13203 break 2
13204 fi
13205 done
13206 done
13207
13208 ;;
13209 esac
13210 fi
13211 KJC=$ac_cv_path_KJC
13212
13213 if test -n "$KJC"; then
13214 echo "$as_me:$LINENO: result: $KJC" >&5
13215 echo "${ECHO_T}$KJC" >&6
13216 else
13217 echo "$as_me:$LINENO: result: no" >&5
13218 echo "${ECHO_T}no" >&6
13219 fi
13220
13221 fi
13222
13223 fi
13224 fi
13225 user_specified_javac=kjc
13226
13227 else
13228
13229
13230 if test "x" != x; then
13231 if test -f ""; then
13232 KJC=""
13233 else
13234 # Extract the first word of """", so it can be a program name with args.
13235 set dummy ""; ac_word=$2
13236 echo "$as_me:$LINENO: checking for $ac_word" >&5
13237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13238 if test "${ac_cv_path_KJC+set}" = set; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13240 else
13241 case $KJC in
13242 [\\/]* | ?:[\\/]*)
13243 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13244 ;;
13245 *)
13246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13247 for as_dir in $PATH
13248 do
13249 IFS=$as_save_IFS
13250 test -z "$as_dir" && as_dir=.
13251 for ac_exec_ext in '' $ac_executable_extensions; do
13252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13253 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13255 break 2
13256 fi
13257 done
13258 done
13259
13260 ;;
13261 esac
13262 fi
13263 KJC=$ac_cv_path_KJC
13264
13265 if test -n "$KJC"; then
13266 echo "$as_me:$LINENO: result: $KJC" >&5
13267 echo "${ECHO_T}$KJC" >&6
13268 else
13269 echo "$as_me:$LINENO: result: no" >&5
13270 echo "${ECHO_T}no" >&6
13271 fi
13272
13273 fi
13274 else
13275 # Extract the first word of ""kJC"", so it can be a program name with args.
13276 set dummy "kJC"; ac_word=$2
13277 echo "$as_me:$LINENO: checking for $ac_word" >&5
13278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13279 if test "${ac_cv_path_KJC+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 else
13282 case $KJC in
13283 [\\/]* | ?:[\\/]*)
13284 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13285 ;;
13286 *)
13287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13288 for as_dir in $PATH
13289 do
13290 IFS=$as_save_IFS
13291 test -z "$as_dir" && as_dir=.
13292 for ac_exec_ext in '' $ac_executable_extensions; do
13293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13294 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13296 break 2
13297 fi
13298 done
13299 done
13300
13301 ;;
13302 esac
13303 fi
13304 KJC=$ac_cv_path_KJC
13305
13306 if test -n "$KJC"; then
13307 echo "$as_me:$LINENO: result: $KJC" >&5
13308 echo "${ECHO_T}$KJC" >&6
13309 else
13310 echo "$as_me:$LINENO: result: no" >&5
13311 echo "${ECHO_T}no" >&6
13312 fi
13313
13314 fi
13315
13316
13317 fi;
13318
13319
13320
13321
13322 # Check whether --with-gcjx or --without-gcjx was given.
13323 if test "${with_gcjx+set}" = set; then
13324 withval="$with_gcjx"
13325
13326 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13327
13328 if test "x${withval}" != x; then
13329 if test -f "${withval}"; then
13330 GCJX="${withval}"
13331 else
13332 # Extract the first word of ""${withval}"", so it can be a program name with args.
13333 set dummy "${withval}"; ac_word=$2
13334 echo "$as_me:$LINENO: checking for $ac_word" >&5
13335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13336 if test "${ac_cv_path_GCJX+set}" = set; then
13337 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 else
13339 case $GCJX in
13340 [\\/]* | ?:[\\/]*)
13341 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13342 ;;
13343 *)
13344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13345 for as_dir in $PATH
13346 do
13347 IFS=$as_save_IFS
13348 test -z "$as_dir" && as_dir=.
13349 for ac_exec_ext in '' $ac_executable_extensions; do
13350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13351 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13353 break 2
13354 fi
13355 done
13356 done
13357
13358 ;;
13359 esac
13360 fi
13361 GCJX=$ac_cv_path_GCJX
13362
13363 if test -n "$GCJX"; then
13364 echo "$as_me:$LINENO: result: $GCJX" >&5
13365 echo "${ECHO_T}$GCJX" >&6
13366 else
13367 echo "$as_me:$LINENO: result: no" >&5
13368 echo "${ECHO_T}no" >&6
13369 fi
13370
13371 fi
13372 else
13373 # Extract the first word of ""gcjx"", so it can be a program name with args.
13374 set dummy "gcjx"; ac_word=$2
13375 echo "$as_me:$LINENO: checking for $ac_word" >&5
13376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13377 if test "${ac_cv_path_GCJX+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13379 else
13380 case $GCJX in
13381 [\\/]* | ?:[\\/]*)
13382 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13383 ;;
13384 *)
13385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13386 for as_dir in $PATH
13387 do
13388 IFS=$as_save_IFS
13389 test -z "$as_dir" && as_dir=.
13390 for ac_exec_ext in '' $ac_executable_extensions; do
13391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13392 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13394 break 2
13395 fi
13396 done
13397 done
13398
13399 ;;
13400 esac
13401 fi
13402 GCJX=$ac_cv_path_GCJX
13403
13404 if test -n "$GCJX"; then
13405 echo "$as_me:$LINENO: result: $GCJX" >&5
13406 echo "${ECHO_T}$GCJX" >&6
13407 else
13408 echo "$as_me:$LINENO: result: no" >&5
13409 echo "${ECHO_T}no" >&6
13410 fi
13411
13412 fi
13413
13414 else
13415 if test "x${withval}" != xno; then
13416
13417 if test "x" != x; then
13418 if test -f ""; then
13419 GCJX=""
13420 else
13421 # Extract the first word of """", so it can be a program name with args.
13422 set dummy ""; ac_word=$2
13423 echo "$as_me:$LINENO: checking for $ac_word" >&5
13424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13425 if test "${ac_cv_path_GCJX+set}" = set; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13427 else
13428 case $GCJX in
13429 [\\/]* | ?:[\\/]*)
13430 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13431 ;;
13432 *)
13433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13434 for as_dir in $PATH
13435 do
13436 IFS=$as_save_IFS
13437 test -z "$as_dir" && as_dir=.
13438 for ac_exec_ext in '' $ac_executable_extensions; do
13439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13440 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13442 break 2
13443 fi
13444 done
13445 done
13446
13447 ;;
13448 esac
13449 fi
13450 GCJX=$ac_cv_path_GCJX
13451
13452 if test -n "$GCJX"; then
13453 echo "$as_me:$LINENO: result: $GCJX" >&5
13454 echo "${ECHO_T}$GCJX" >&6
13455 else
13456 echo "$as_me:$LINENO: result: no" >&5
13457 echo "${ECHO_T}no" >&6
13458 fi
13459
13460 fi
13461 else
13462 # Extract the first word of ""gcjx"", so it can be a program name with args.
13463 set dummy "gcjx"; ac_word=$2
13464 echo "$as_me:$LINENO: checking for $ac_word" >&5
13465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13466 if test "${ac_cv_path_GCJX+set}" = set; then
13467 echo $ECHO_N "(cached) $ECHO_C" >&6
13468 else
13469 case $GCJX in
13470 [\\/]* | ?:[\\/]*)
13471 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13472 ;;
13473 *)
13474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13475 for as_dir in $PATH
13476 do
13477 IFS=$as_save_IFS
13478 test -z "$as_dir" && as_dir=.
13479 for ac_exec_ext in '' $ac_executable_extensions; do
13480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13481 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13483 break 2
13484 fi
13485 done
13486 done
13487
13488 ;;
13489 esac
13490 fi
13491 GCJX=$ac_cv_path_GCJX
13492
13493 if test -n "$GCJX"; then
13494 echo "$as_me:$LINENO: result: $GCJX" >&5
13495 echo "${ECHO_T}$GCJX" >&6
13496 else
13497 echo "$as_me:$LINENO: result: no" >&5
13498 echo "${ECHO_T}no" >&6
13499 fi
13500
13501 fi
13502
13503 fi
13504 fi
13505 user_specified_javac=gcjx
13506
13507 else
13508
13509
13510 if test "x" != x; then
13511 if test -f ""; then
13512 GCJX=""
13513 else
13514 # Extract the first word of """", so it can be a program name with args.
13515 set dummy ""; ac_word=$2
13516 echo "$as_me:$LINENO: checking for $ac_word" >&5
13517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13518 if test "${ac_cv_path_GCJX+set}" = set; then
13519 echo $ECHO_N "(cached) $ECHO_C" >&6
13520 else
13521 case $GCJX in
13522 [\\/]* | ?:[\\/]*)
13523 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13524 ;;
13525 *)
13526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13527 for as_dir in $PATH
13528 do
13529 IFS=$as_save_IFS
13530 test -z "$as_dir" && as_dir=.
13531 for ac_exec_ext in '' $ac_executable_extensions; do
13532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13533 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13535 break 2
13536 fi
13537 done
13538 done
13539
13540 ;;
13541 esac
13542 fi
13543 GCJX=$ac_cv_path_GCJX
13544
13545 if test -n "$GCJX"; then
13546 echo "$as_me:$LINENO: result: $GCJX" >&5
13547 echo "${ECHO_T}$GCJX" >&6
13548 else
13549 echo "$as_me:$LINENO: result: no" >&5
13550 echo "${ECHO_T}no" >&6
13551 fi
13552
13553 fi
13554 else
13555 # Extract the first word of ""gcjx"", so it can be a program name with args.
13556 set dummy "gcjx"; ac_word=$2
13557 echo "$as_me:$LINENO: checking for $ac_word" >&5
13558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13559 if test "${ac_cv_path_GCJX+set}" = set; then
13560 echo $ECHO_N "(cached) $ECHO_C" >&6
13561 else
13562 case $GCJX in
13563 [\\/]* | ?:[\\/]*)
13564 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13565 ;;
13566 *)
13567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13568 for as_dir in $PATH
13569 do
13570 IFS=$as_save_IFS
13571 test -z "$as_dir" && as_dir=.
13572 for ac_exec_ext in '' $ac_executable_extensions; do
13573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13574 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13576 break 2
13577 fi
13578 done
13579 done
13580
13581 ;;
13582 esac
13583 fi
13584 GCJX=$ac_cv_path_GCJX
13585
13586 if test -n "$GCJX"; then
13587 echo "$as_me:$LINENO: result: $GCJX" >&5
13588 echo "${ECHO_T}$GCJX" >&6
13589 else
13590 echo "$as_me:$LINENO: result: no" >&5
13591 echo "${ECHO_T}no" >&6
13592 fi
13593
13594 fi
13595
13596
13597 fi;
13598
13599
13600
13601
13602 # Check whether --with-ecj or --without-ecj was given.
13603 if test "${with_ecj+set}" = set; then
13604 withval="$with_ecj"
13605
13606 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13607
13608 if test "x${withval}" != x; then
13609 if test -f "${withval}"; then
13610 ECJ="${withval}"
13611 else
13612 # Extract the first word of ""${withval}"", so it can be a program name with args.
13613 set dummy "${withval}"; ac_word=$2
13614 echo "$as_me:$LINENO: checking for $ac_word" >&5
13615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13616 if test "${ac_cv_path_ECJ+set}" = set; then
13617 echo $ECHO_N "(cached) $ECHO_C" >&6
13618 else
13619 case $ECJ in
13620 [\\/]* | ?:[\\/]*)
13621 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13622 ;;
13623 *)
13624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13625 for as_dir in $PATH
13626 do
13627 IFS=$as_save_IFS
13628 test -z "$as_dir" && as_dir=.
13629 for ac_exec_ext in '' $ac_executable_extensions; do
13630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13631 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13633 break 2
13634 fi
13635 done
13636 done
13637
13638 ;;
13639 esac
13640 fi
13641 ECJ=$ac_cv_path_ECJ
13642
13643 if test -n "$ECJ"; then
13644 echo "$as_me:$LINENO: result: $ECJ" >&5
13645 echo "${ECHO_T}$ECJ" >&6
13646 else
13647 echo "$as_me:$LINENO: result: no" >&5
13648 echo "${ECHO_T}no" >&6
13649 fi
13650
13651 fi
13652 else
13653 # Extract the first word of ""ecj"", so it can be a program name with args.
13654 set dummy "ecj"; ac_word=$2
13655 echo "$as_me:$LINENO: checking for $ac_word" >&5
13656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13657 if test "${ac_cv_path_ECJ+set}" = set; then
13658 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 else
13660 case $ECJ in
13661 [\\/]* | ?:[\\/]*)
13662 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13663 ;;
13664 *)
13665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13666 for as_dir in $PATH
13667 do
13668 IFS=$as_save_IFS
13669 test -z "$as_dir" && as_dir=.
13670 for ac_exec_ext in '' $ac_executable_extensions; do
13671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13672 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13674 break 2
13675 fi
13676 done
13677 done
13678
13679 ;;
13680 esac
13681 fi
13682 ECJ=$ac_cv_path_ECJ
13683
13684 if test -n "$ECJ"; then
13685 echo "$as_me:$LINENO: result: $ECJ" >&5
13686 echo "${ECHO_T}$ECJ" >&6
13687 else
13688 echo "$as_me:$LINENO: result: no" >&5
13689 echo "${ECHO_T}no" >&6
13690 fi
13691
13692 fi
13693
13694 else
13695 if test "x${withval}" != xno; then
13696
13697 if test "x" != x; then
13698 if test -f ""; then
13699 ECJ=""
13700 else
13701 # Extract the first word of """", so it can be a program name with args.
13702 set dummy ""; ac_word=$2
13703 echo "$as_me:$LINENO: checking for $ac_word" >&5
13704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13705 if test "${ac_cv_path_ECJ+set}" = set; then
13706 echo $ECHO_N "(cached) $ECHO_C" >&6
13707 else
13708 case $ECJ in
13709 [\\/]* | ?:[\\/]*)
13710 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13711 ;;
13712 *)
13713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13714 for as_dir in $PATH
13715 do
13716 IFS=$as_save_IFS
13717 test -z "$as_dir" && as_dir=.
13718 for ac_exec_ext in '' $ac_executable_extensions; do
13719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13720 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13722 break 2
13723 fi
13724 done
13725 done
13726
13727 ;;
13728 esac
13729 fi
13730 ECJ=$ac_cv_path_ECJ
13731
13732 if test -n "$ECJ"; then
13733 echo "$as_me:$LINENO: result: $ECJ" >&5
13734 echo "${ECHO_T}$ECJ" >&6
13735 else
13736 echo "$as_me:$LINENO: result: no" >&5
13737 echo "${ECHO_T}no" >&6
13738 fi
13739
13740 fi
13741 else
13742 # Extract the first word of ""ecj"", so it can be a program name with args.
13743 set dummy "ecj"; ac_word=$2
13744 echo "$as_me:$LINENO: checking for $ac_word" >&5
13745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13746 if test "${ac_cv_path_ECJ+set}" = set; then
13747 echo $ECHO_N "(cached) $ECHO_C" >&6
13748 else
13749 case $ECJ in
13750 [\\/]* | ?:[\\/]*)
13751 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13752 ;;
13753 *)
13754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13755 for as_dir in $PATH
13756 do
13757 IFS=$as_save_IFS
13758 test -z "$as_dir" && as_dir=.
13759 for ac_exec_ext in '' $ac_executable_extensions; do
13760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13761 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13763 break 2
13764 fi
13765 done
13766 done
13767
13768 ;;
13769 esac
13770 fi
13771 ECJ=$ac_cv_path_ECJ
13772
13773 if test -n "$ECJ"; then
13774 echo "$as_me:$LINENO: result: $ECJ" >&5
13775 echo "${ECHO_T}$ECJ" >&6
13776 else
13777 echo "$as_me:$LINENO: result: no" >&5
13778 echo "${ECHO_T}no" >&6
13779 fi
13780
13781 fi
13782
13783 fi
13784 fi
13785 user_specified_javac=ecj
13786
13787 else
13788
13789
13790 if test "x" != x; then
13791 if test -f ""; then
13792 ECJ=""
13793 else
13794 # Extract the first word of """", so it can be a program name with args.
13795 set dummy ""; ac_word=$2
13796 echo "$as_me:$LINENO: checking for $ac_word" >&5
13797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13798 if test "${ac_cv_path_ECJ+set}" = set; then
13799 echo $ECHO_N "(cached) $ECHO_C" >&6
13800 else
13801 case $ECJ in
13802 [\\/]* | ?:[\\/]*)
13803 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13804 ;;
13805 *)
13806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13807 for as_dir in $PATH
13808 do
13809 IFS=$as_save_IFS
13810 test -z "$as_dir" && as_dir=.
13811 for ac_exec_ext in '' $ac_executable_extensions; do
13812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13813 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13815 break 2
13816 fi
13817 done
13818 done
13819
13820 ;;
13821 esac
13822 fi
13823 ECJ=$ac_cv_path_ECJ
13824
13825 if test -n "$ECJ"; then
13826 echo "$as_me:$LINENO: result: $ECJ" >&5
13827 echo "${ECHO_T}$ECJ" >&6
13828 else
13829 echo "$as_me:$LINENO: result: no" >&5
13830 echo "${ECHO_T}no" >&6
13831 fi
13832
13833 fi
13834 else
13835 # Extract the first word of ""ecj"", so it can be a program name with args.
13836 set dummy "ecj"; ac_word=$2
13837 echo "$as_me:$LINENO: checking for $ac_word" >&5
13838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13839 if test "${ac_cv_path_ECJ+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6
13841 else
13842 case $ECJ in
13843 [\\/]* | ?:[\\/]*)
13844 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13845 ;;
13846 *)
13847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13848 for as_dir in $PATH
13849 do
13850 IFS=$as_save_IFS
13851 test -z "$as_dir" && as_dir=.
13852 for ac_exec_ext in '' $ac_executable_extensions; do
13853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13854 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13856 break 2
13857 fi
13858 done
13859 done
13860
13861 ;;
13862 esac
13863 fi
13864 ECJ=$ac_cv_path_ECJ
13865
13866 if test -n "$ECJ"; then
13867 echo "$as_me:$LINENO: result: $ECJ" >&5
13868 echo "${ECHO_T}$ECJ" >&6
13869 else
13870 echo "$as_me:$LINENO: result: no" >&5
13871 echo "${ECHO_T}no" >&6
13872 fi
13873
13874 fi
13875
13876
13877 fi;
13878
13879
13880
13881 if test "x${user_specified_javac}" = x; then
13882
13883
13884 if test "x${GCJ}" != x; then
13885 FOUND_GCJ_TRUE=
13886 FOUND_GCJ_FALSE='#'
13887 else
13888 FOUND_GCJ_TRUE='#'
13889 FOUND_GCJ_FALSE=
13890 fi
13891
13892
13893
13894 if test "x${JIKES}" != x; then
13895 FOUND_JIKES_TRUE=
13896 FOUND_JIKES_FALSE='#'
13897 else
13898 FOUND_JIKES_TRUE='#'
13899 FOUND_JIKES_FALSE=
13900 fi
13901
13902
13903
13904 if test "x${ECJ}" != x; then
13905 FOUND_ECJ_TRUE=
13906 FOUND_ECJ_FALSE='#'
13907 else
13908 FOUND_ECJ_TRUE='#'
13909 FOUND_ECJ_FALSE=
13910 fi
13911
13912 else
13913
13914
13915 if test "x${user_specified_javac}" = xgcj; then
13916 FOUND_GCJ_TRUE=
13917 FOUND_GCJ_FALSE='#'
13918 else
13919 FOUND_GCJ_TRUE='#'
13920 FOUND_GCJ_FALSE=
13921 fi
13922
13923
13924
13925 if test "x${user_specified_javac}" = xjikes; then
13926 FOUND_JIKES_TRUE=
13927 FOUND_JIKES_FALSE='#'
13928 else
13929 FOUND_JIKES_TRUE='#'
13930 FOUND_JIKES_FALSE=
13931 fi
13932
13933
13934
13935 if test "x${user_specified_javac}" = xecj; then
13936 FOUND_ECJ_TRUE=
13937 FOUND_ECJ_FALSE='#'
13938 else
13939 FOUND_ECJ_TRUE='#'
13940 FOUND_ECJ_FALSE=
13941 fi
13942
13943 fi
13944
13945
13946 if test "x${user_specified_javac}" = xkjc; then
13947 FOUND_KJC_TRUE=
13948 FOUND_KJC_FALSE='#'
13949 else
13950 FOUND_KJC_TRUE='#'
13951 FOUND_KJC_FALSE=
13952 fi
13953
13954
13955
13956 if test "x${user_specified_javac}" = xgcjx; then
13957 FOUND_GCJX_TRUE=
13958 FOUND_GCJX_FALSE='#'
13959 else
13960 FOUND_GCJX_TRUE='#'
13961 FOUND_GCJX_FALSE=
13962 fi
13963
13964
13965 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
13966 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
13967 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
13968 { (exit 1); exit 1; }; }
13969 fi
13970
13971
13972
13973
13974 # Check whether --with-classpath or --without-classpath was given.
13975 if test "${with_classpath+set}" = set; then
13976 withval="$with_classpath"
13977
13978 if test "x${withval}" = xyes; then
13979 # set user classpath to CLASSPATH from env
13980 echo "$as_me:$LINENO: checking for classlib" >&5
13981 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13982 USER_CLASSLIB=${CLASSPATH}
13983
13984 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
13985 echo "${ECHO_T}${USER_CLASSLIB}" >&6
13986 conditional_with_classlib=true
13987 elif test "x${withval}" != x && test "x${withval}" != xno; then
13988 # set user classpath to specified value
13989 echo "$as_me:$LINENO: checking for classlib" >&5
13990 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13991 USER_CLASSLIB=${withval}
13992
13993 echo "$as_me:$LINENO: result: ${withval}" >&5
13994 echo "${ECHO_T}${withval}" >&6
13995 conditional_with_classlib=true
13996 fi
13997
13998 else
13999 conditional_with_classlib=false
14000 fi;
14001
14002
14003 if test "x${conditional_with_classlib}" = xtrue; then
14004 USER_SPECIFIED_CLASSLIB_TRUE=
14005 USER_SPECIFIED_CLASSLIB_FALSE='#'
14006 else
14007 USER_SPECIFIED_CLASSLIB_TRUE='#'
14008 USER_SPECIFIED_CLASSLIB_FALSE=
14009 fi
14010
14011
14012
14013 # Check whether --with-vm-classes or --without-vm-classes was given.
14014 if test "${with_vm_classes+set}" = set; then
14015 withval="$with_vm_classes"
14016 vm_classes="$with_vm_classes"
14017 else
14018 vm_classes='${top_srcdir}/vm/reference'
14019 fi;
14020
14021
14022
14023 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
14024 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
14025 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
14026 if test "${enable_maintainer_mode+set}" = set; then
14027 enableval="$enable_maintainer_mode"
14028 USE_MAINTAINER_MODE=$enableval
14029 else
14030 USE_MAINTAINER_MODE=no
14031 fi;
14032 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
14033 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
14034
14035
14036 if test $USE_MAINTAINER_MODE = yes; then
14037 MAINTAINER_MODE_TRUE=
14038 MAINTAINER_MODE_FALSE='#'
14039 else
14040 MAINTAINER_MODE_TRUE='#'
14041 MAINTAINER_MODE_FALSE=
14042 fi
14043
14044 MAINT=$MAINTAINER_MODE_TRUE
14045
14046
14047
14048 # Check whether --enable-debug or --disable-debug was given.
14049 if test "${enable_debug+set}" = set; then
14050 enableval="$enable_debug"
14051 case "${enableval}" in
14052 yes)
14053 LIBDEBUG="true"
14054
14055 cat >>confdefs.h <<\_ACEOF
14056 #define DEBUG 1
14057 _ACEOF
14058
14059 ;;
14060 no) LIBDEBUG="false" ;;
14061 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
14062 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
14063 { (exit 1); exit 1; }; } ;;
14064 esac
14065 else
14066 LIBDEBUG="false"
14067 fi;
14068
14069
14070 # Check whether --enable-load-library or --disable-load-library was given.
14071 if test "${enable_load_library+set}" = set; then
14072 enableval="$enable_load_library"
14073 case "${enableval}" in
14074 yes) INIT_LOAD_LIBRARY="true" ;;
14075 no) INIT_LOAD_LIBRARY="false" ;;
14076 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
14077 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
14078 { (exit 1); exit 1; }; } ;;
14079 esac
14080 else
14081 INIT_LOAD_LIBRARY="true"
14082 fi;
14083
14084
14085
14086 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
14087 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
14088 enableval="$enable_java_lang_system_explicit_initialization"
14089 case "${enableval}" in
14090 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
14091 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
14092 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
14093 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
14094 { (exit 1); exit 1; }; } ;;
14095 esac
14096 else
14097 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
14098 fi;
14099
14100
14101
14102 REMOVE=""
14103
14104
14105 # Extract the first word of "mkdir", so it can be a program name with args.
14106 set dummy mkdir; ac_word=$2
14107 echo "$as_me:$LINENO: checking for $ac_word" >&5
14108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14109 if test "${ac_cv_path_MKDIR+set}" = set; then
14110 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 else
14112 case $MKDIR in
14113 [\\/]* | ?:[\\/]*)
14114 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
14115 ;;
14116 *)
14117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14118 for as_dir in $PATH
14119 do
14120 IFS=$as_save_IFS
14121 test -z "$as_dir" && as_dir=.
14122 for ac_exec_ext in '' $ac_executable_extensions; do
14123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14124 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
14125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14126 break 2
14127 fi
14128 done
14129 done
14130
14131 ;;
14132 esac
14133 fi
14134 MKDIR=$ac_cv_path_MKDIR
14135
14136 if test -n "$MKDIR"; then
14137 echo "$as_me:$LINENO: result: $MKDIR" >&5
14138 echo "${ECHO_T}$MKDIR" >&6
14139 else
14140 echo "$as_me:$LINENO: result: no" >&5
14141 echo "${ECHO_T}no" >&6
14142 fi
14143
14144 # Extract the first word of "cp", so it can be a program name with args.
14145 set dummy cp; ac_word=$2
14146 echo "$as_me:$LINENO: checking for $ac_word" >&5
14147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14148 if test "${ac_cv_path_CP+set}" = set; then
14149 echo $ECHO_N "(cached) $ECHO_C" >&6
14150 else
14151 case $CP in
14152 [\\/]* | ?:[\\/]*)
14153 ac_cv_path_CP="$CP" # Let the user override the test with a path.
14154 ;;
14155 *)
14156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14157 for as_dir in $PATH
14158 do
14159 IFS=$as_save_IFS
14160 test -z "$as_dir" && as_dir=.
14161 for ac_exec_ext in '' $ac_executable_extensions; do
14162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14163 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
14164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14165 break 2
14166 fi
14167 done
14168 done
14169
14170 ;;
14171 esac
14172 fi
14173 CP=$ac_cv_path_CP
14174
14175 if test -n "$CP"; then
14176 echo "$as_me:$LINENO: result: $CP" >&5
14177 echo "${ECHO_T}$CP" >&6
14178 else
14179 echo "$as_me:$LINENO: result: no" >&5
14180 echo "${ECHO_T}no" >&6
14181 fi
14182
14183 # Extract the first word of "date", so it can be a program name with args.
14184 set dummy date; ac_word=$2
14185 echo "$as_me:$LINENO: checking for $ac_word" >&5
14186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14187 if test "${ac_cv_path_DATE+set}" = set; then
14188 echo $ECHO_N "(cached) $ECHO_C" >&6
14189 else
14190 case $DATE in
14191 [\\/]* | ?:[\\/]*)
14192 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
14193 ;;
14194 *)
14195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14196 for as_dir in $PATH
14197 do
14198 IFS=$as_save_IFS
14199 test -z "$as_dir" && as_dir=.
14200 for ac_exec_ext in '' $ac_executable_extensions; do
14201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14202 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
14203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14204 break 2
14205 fi
14206 done
14207 done
14208
14209 ;;
14210 esac
14211 fi
14212 DATE=$ac_cv_path_DATE
14213
14214 if test -n "$DATE"; then
14215 echo "$as_me:$LINENO: result: $DATE" >&5
14216 echo "${ECHO_T}$DATE" >&6
14217 else
14218 echo "$as_me:$LINENO: result: no" >&5
14219 echo "${ECHO_T}no" >&6
14220 fi
14221
14222
14223 # Extract the first word of "find", so it can be a program name with args.
14224 set dummy find; 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_FIND+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 else
14230 case $FIND in
14231 [\\/]* | ?:[\\/]*)
14232 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
14233 ;;
14234 *)
14235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14236 for as_dir in $PATH
14237 do
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_FIND="$as_dir/$ac_word$ac_exec_ext"
14243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14244 break 2
14245 fi
14246 done
14247 done
14248
14249 ;;
14250 esac
14251 fi
14252 FIND=$ac_cv_path_FIND
14253
14254 if test -n "$FIND"; then
14255 echo "$as_me:$LINENO: result: $FIND" >&5
14256 echo "${ECHO_T}$FIND" >&6
14257 else
14258 echo "$as_me:$LINENO: result: no" >&5
14259 echo "${ECHO_T}no" >&6
14260 fi
14261
14262
14263
14264 # Extract the first word of "zip", so it can be a program name with args.
14265 set dummy zip; ac_word=$2
14266 echo "$as_me:$LINENO: checking for $ac_word" >&5
14267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14268 if test "${ac_cv_path_ZIP+set}" = set; then
14269 echo $ECHO_N "(cached) $ECHO_C" >&6
14270 else
14271 case $ZIP in
14272 [\\/]* | ?:[\\/]*)
14273 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
14274 ;;
14275 *)
14276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14277 for as_dir in $PATH
14278 do
14279 IFS=$as_save_IFS
14280 test -z "$as_dir" && as_dir=.
14281 for ac_exec_ext in '' $ac_executable_extensions; do
14282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14283 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
14284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14285 break 2
14286 fi
14287 done
14288 done
14289
14290 ;;
14291 esac
14292 fi
14293 ZIP=$ac_cv_path_ZIP
14294
14295 if test -n "$ZIP"; then
14296 echo "$as_me:$LINENO: result: $ZIP" >&5
14297 echo "${ECHO_T}$ZIP" >&6
14298 else
14299 echo "$as_me:$LINENO: result: no" >&5
14300 echo "${ECHO_T}no" >&6
14301 fi
14302
14303
14304 # Check whether --with-fastjar or --without-fastjar was given.
14305 if test "${with_fastjar+set}" = set; then
14306 withval="$with_fastjar"
14307
14308 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
14309 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
14310 FASTJAR=${withval}
14311 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
14312 echo "${ECHO_T}${FASTJAR}" >&6
14313
14314 else
14315 # Extract the first word of "fastjar", so it can be a program name with args.
14316 set dummy fastjar; ac_word=$2
14317 echo "$as_me:$LINENO: checking for $ac_word" >&5
14318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14319 if test "${ac_cv_path_FASTJAR+set}" = set; then
14320 echo $ECHO_N "(cached) $ECHO_C" >&6
14321 else
14322 case $FASTJAR in
14323 [\\/]* | ?:[\\/]*)
14324 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
14325 ;;
14326 *)
14327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14328 for as_dir in $PATH
14329 do
14330 IFS=$as_save_IFS
14331 test -z "$as_dir" && as_dir=.
14332 for ac_exec_ext in '' $ac_executable_extensions; do
14333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14334 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
14335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14336 break 2
14337 fi
14338 done
14339 done
14340
14341 ;;
14342 esac
14343 fi
14344 FASTJAR=$ac_cv_path_FASTJAR
14345
14346 if test -n "$FASTJAR"; then
14347 echo "$as_me:$LINENO: result: $FASTJAR" >&5
14348 echo "${ECHO_T}$FASTJAR" >&6
14349 else
14350 echo "$as_me:$LINENO: result: no" >&5
14351 echo "${ECHO_T}no" >&6
14352 fi
14353
14354 fi;
14355 if test x"${FASTJAR}" != x; then
14356 ZIP=""
14357 fi
14358
14359
14360 # Check whether --with-glibj or --without-glibj was given.
14361 if test "${with_glibj+set}" = set; then
14362 withval="$with_glibj"
14363
14364 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
14365 install_class_files=no
14366 build_class_files=yes
14367 use_zip=yes
14368 elif test "x${withval}" = xboth; then
14369 install_class_files=yes
14370 build_class_files=yes
14371 use_zip=yes
14372 elif test "x${withval}" = xflat; then
14373 install_class_files=yes
14374 build_class_files=yes
14375 use_zip=no
14376 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
14377 install_class_files=no
14378 build_class_files=no
14379 use_zip=no
14380 elif test "x${withval}" = xbuild; then
14381 install_class_files=no
14382 build_class_files=yes
14383 use_zip=no
14384 else
14385 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
14386 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
14387 { (exit 1); exit 1; }; }
14388 fi
14389
14390 else
14391
14392 install_class_files=no
14393 use_zip=yes
14394
14395 fi;
14396
14397
14398 if test "x${use_zip}" = xyes; then
14399 INSTALL_GLIBJ_ZIP_TRUE=
14400 INSTALL_GLIBJ_ZIP_FALSE='#'
14401 else
14402 INSTALL_GLIBJ_ZIP_TRUE='#'
14403 INSTALL_GLIBJ_ZIP_FALSE=
14404 fi
14405
14406
14407
14408 if test "x${install_class_files}" = xyes; then
14409 INSTALL_CLASS_FILES_TRUE=
14410 INSTALL_CLASS_FILES_FALSE='#'
14411 else
14412 INSTALL_CLASS_FILES_TRUE='#'
14413 INSTALL_CLASS_FILES_FALSE=
14414 fi
14415
14416
14417
14418 if test "x${build_class_files}" = xyes; then
14419 BUILD_CLASS_FILES_TRUE=
14420 BUILD_CLASS_FILES_FALSE='#'
14421 else
14422 BUILD_CLASS_FILES_TRUE='#'
14423 BUILD_CLASS_FILES_FALSE=
14424 fi
14425
14426
14427 # Check whether --enable-examples or --disable-examples was given.
14428 if test "${enable_examples+set}" = set; then
14429 enableval="$enable_examples"
14430 case "${enableval}" in
14431 yes) EXAMPLESDIR="examples" ;;
14432 no) EXAMPLESDIR="" ;;
14433 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
14434 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
14435 { (exit 1); exit 1; }; } ;;
14436 esac
14437 else
14438 EXAMPLESDIR="examples"
14439 fi;
14440 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
14441 EXAMPLESDIR=""
14442 fi
14443
14444
14445
14446
14447
14448 # Check whether --with-gjdoc or --without-gjdoc was given.
14449 if test "${with_gjdoc+set}" = set; then
14450 withval="$with_gjdoc"
14451 if test "x${withval}" = xno; then
14452 WITH_GJDOC=no;
14453 elif test "x${withval}" = xyes -o "x{withval}" = x; then
14454 WITH_GJDOC=yes;
14455 # Extract the first word of "gjdoc", so it can be a program name with args.
14456 set dummy gjdoc; ac_word=$2
14457 echo "$as_me:$LINENO: checking for $ac_word" >&5
14458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14459 if test "${ac_cv_path_GJDOC+set}" = set; then
14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14461 else
14462 case $GJDOC in
14463 [\\/]* | ?:[\\/]*)
14464 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
14465 ;;
14466 *)
14467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14468 for as_dir in $PATH
14469 do
14470 IFS=$as_save_IFS
14471 test -z "$as_dir" && as_dir=.
14472 for ac_exec_ext in '' $ac_executable_extensions; do
14473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14474 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
14475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14476 break 2
14477 fi
14478 done
14479 done
14480
14481 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
14482 ;;
14483 esac
14484 fi
14485 GJDOC=$ac_cv_path_GJDOC
14486
14487 if test -n "$GJDOC"; then
14488 echo "$as_me:$LINENO: result: $GJDOC" >&5
14489 echo "${ECHO_T}$GJDOC" >&6
14490 else
14491 echo "$as_me:$LINENO: result: no" >&5
14492 echo "${ECHO_T}no" >&6
14493 fi
14494
14495 if test "x${GJDOC}" = xno; then
14496 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
14497 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
14498 { (exit 1); exit 1; }; };
14499 fi
14500 else
14501 WITH_GJDOC=yes
14502 GJDOC="${withval}"
14503 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
14504 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
14505 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
14506 if eval "test \"\${$as_ac_File+set}\" = set"; then
14507 echo $ECHO_N "(cached) $ECHO_C" >&6
14508 else
14509 test "$cross_compiling" = yes &&
14510 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14511 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14512 { (exit 1); exit 1; }; }
14513 if test -r "${GJDOC}"; then
14514 eval "$as_ac_File=yes"
14515 else
14516 eval "$as_ac_File=no"
14517 fi
14518 fi
14519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14520 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14521 if test `eval echo '${'$as_ac_File'}'` = yes; then
14522 :
14523 else
14524 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
14525 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
14526 { (exit 1); exit 1; }; }
14527 fi
14528
14529 fi
14530 else
14531 WITH_GJDOC=no
14532 fi;
14533
14534
14535
14536 if test "x${WITH_GJDOC}" = xyes; then
14537 CREATE_API_DOCS_TRUE=
14538 CREATE_API_DOCS_FALSE='#'
14539 else
14540 CREATE_API_DOCS_TRUE='#'
14541 CREATE_API_DOCS_FALSE=
14542 fi
14543
14544
14545
14546
14547
14548 # Check whether --with-jay or --without-jay was given.
14549 if test "${with_jay+set}" = set; then
14550 withval="$with_jay"
14551
14552 if test -d "${withval}"; then
14553 JAY_DIR_PATH="${withval}"
14554 # Extract the first word of "jay", so it can be a program name with args.
14555 set dummy jay; ac_word=$2
14556 echo "$as_me:$LINENO: checking for $ac_word" >&5
14557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14558 if test "${ac_cv_path_JAY+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14560 else
14561 case $JAY in
14562 [\\/]* | ?:[\\/]*)
14563 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
14564 ;;
14565 *)
14566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14567 for as_dir in ${JAY_DIR_PATH}
14568 do
14569 IFS=$as_save_IFS
14570 test -z "$as_dir" && as_dir=.
14571 for ac_exec_ext in '' $ac_executable_extensions; do
14572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14573 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
14574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14575 break 2
14576 fi
14577 done
14578 done
14579
14580 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
14581 ;;
14582 esac
14583 fi
14584 JAY=$ac_cv_path_JAY
14585
14586 if test -n "$JAY"; then
14587 echo "$as_me:$LINENO: result: $JAY" >&5
14588 echo "${ECHO_T}$JAY" >&6
14589 else
14590 echo "$as_me:$LINENO: result: no" >&5
14591 echo "${ECHO_T}no" >&6
14592 fi
14593
14594 if test "x${JAY}" = xno; then
14595 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
14596 echo "$as_me: error: \"jay executable not found\"" >&2;}
14597 { (exit 1); exit 1; }; };
14598 fi
14599 else
14600 JAY_DIR_PATH=$(dirname "${withval}")
14601 JAY="${withval}"
14602
14603 fi
14604 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
14605 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
14606 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
14607 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
14608 if eval "test \"\${$as_ac_File+set}\" = set"; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14610 else
14611 test "$cross_compiling" = yes &&
14612 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14613 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14614 { (exit 1); exit 1; }; }
14615 if test -r "${JAY_SKELETON}"; then
14616 eval "$as_ac_File=yes"
14617 else
14618 eval "$as_ac_File=no"
14619 fi
14620 fi
14621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14622 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14623 if test `eval echo '${'$as_ac_File'}'` = yes; then
14624 :
14625 else
14626 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in $(dirname ${withval})\"" >&5
14627 echo "$as_me: error: \"Expected skeleton file in $(dirname ${withval})\"" >&2;}
14628 { (exit 1); exit 1; }; }
14629 fi
14630
14631 JAY_FOUND=yes
14632
14633 else
14634
14635 JAY_FOUND=no
14636
14637 fi;
14638
14639
14640 if test "x${JAY_FOUND}" = xyes; then
14641 REGEN_PARSERS_TRUE=
14642 REGEN_PARSERS_FALSE='#'
14643 else
14644 REGEN_PARSERS_TRUE='#'
14645 REGEN_PARSERS_FALSE=
14646 fi
14647
14648
14649
14650 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
14651 if test "${enable_portable_native_sync+set}" = set; then
14652 enableval="$enable_portable_native_sync"
14653 case "${enableval}" in
14654 yes)
14655
14656 cat >>confdefs.h <<\_ACEOF
14657 #define PORTABLE_NATIVE_SYNC 1
14658 _ACEOF
14659
14660 ;;
14661 no) ;;
14662 *)
14663 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
14664 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
14665 { (exit 1); exit 1; }; }
14666 ;;
14667 esac
14668 fi;
14669
14670 # ------ AX CREATE STDINT H -------------------------------------
14671 echo "$as_me:$LINENO: checking for stdint types" >&5
14672 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
14673 ac_stdint_h=`echo include/config-int.h`
14674 # try to shortcircuit - if the default include path of the compiler
14675 # can find a "stdint.h" header then we assume that all compilers can.
14676 if test "${ac_cv_header_stdint_t+set}" = set; then
14677 echo $ECHO_N "(cached) $ECHO_C" >&6
14678 else
14679
14680 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
14681 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
14682 old_CFLAGS="$CFLAGS" ; CFLAGS=""
14683 cat >conftest.$ac_ext <<_ACEOF
14684 /* confdefs.h. */
14685 _ACEOF
14686 cat confdefs.h >>conftest.$ac_ext
14687 cat >>conftest.$ac_ext <<_ACEOF
14688 /* end confdefs.h. */
14689 #include <stdint.h>
14690 int
14691 main ()
14692 {
14693 int_least32_t v = 0;
14694 ;
14695 return 0;
14696 }
14697 _ACEOF
14698 rm -f conftest.$ac_objext
14699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14700 (eval $ac_compile) 2>conftest.er1
14701 ac_status=$?
14702 grep -v '^ *+' conftest.er1 >conftest.err
14703 rm -f conftest.er1
14704 cat conftest.err >&5
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); } &&
14707 { ac_try='test -z "$ac_c_werror_flag"
14708 || test ! -s conftest.err'
14709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14710 (eval $ac_try) 2>&5
14711 ac_status=$?
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); }; } &&
14714 { ac_try='test -s conftest.$ac_objext'
14715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14716 (eval $ac_try) 2>&5
14717 ac_status=$?
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); }; }; then
14720 ac_cv_stdint_result="(assuming C99 compatible system)"
14721 ac_cv_header_stdint_t="stdint.h";
14722 else
14723 echo "$as_me: failed program was:" >&5
14724 sed 's/^/| /' conftest.$ac_ext >&5
14725
14726 ac_cv_header_stdint_t=""
14727 fi
14728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14729 CXXFLAGS="$old_CXXFLAGS"
14730 CPPFLAGS="$old_CPPFLAGS"
14731 CFLAGS="$old_CFLAGS"
14732 fi
14733
14734
14735 v="... $ac_cv_header_stdint_h"
14736 if test "$ac_stdint_h" = "stdint.h" ; then
14737 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
14738 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
14739 elif test "$ac_stdint_h" = "inttypes.h" ; then
14740 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
14741 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
14742 elif test "_$ac_cv_header_stdint_t" = "_" ; then
14743 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
14744 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
14745 else
14746 ac_cv_header_stdint="$ac_cv_header_stdint_t"
14747 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
14748 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
14749 fi
14750
14751 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
14752
14753
14754 inttype_headers=`echo | sed -e 's/,/ /g'`
14755
14756 ac_cv_stdint_result="(no helpful system typedefs seen)"
14757
14758 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
14759 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
14760 if test "${ac_cv_header_stdint_x+set}" = set; then
14761 echo $ECHO_N "(cached) $ECHO_C" >&6
14762 else
14763
14764 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
14765 echo "$as_me:$LINENO: result: (..)" >&5
14766 echo "${ECHO_T}(..)" >&6
14767 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
14768 unset ac_cv_type_uintptr_t
14769 unset ac_cv_type_uint64_t
14770 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14771 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14772 if test "${ac_cv_type_uintptr_t+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 else
14775 cat >conftest.$ac_ext <<_ACEOF
14776 /* confdefs.h. */
14777 _ACEOF
14778 cat confdefs.h >>conftest.$ac_ext
14779 cat >>conftest.$ac_ext <<_ACEOF
14780 /* end confdefs.h. */
14781 #include <$i>
14782
14783 int
14784 main ()
14785 {
14786 if ((uintptr_t *) 0)
14787 return 0;
14788 if (sizeof (uintptr_t))
14789 return 0;
14790 ;
14791 return 0;
14792 }
14793 _ACEOF
14794 rm -f conftest.$ac_objext
14795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14796 (eval $ac_compile) 2>conftest.er1
14797 ac_status=$?
14798 grep -v '^ *+' conftest.er1 >conftest.err
14799 rm -f conftest.er1
14800 cat conftest.err >&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); } &&
14803 { ac_try='test -z "$ac_c_werror_flag"
14804 || test ! -s conftest.err'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14807 ac_status=$?
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; } &&
14810 { ac_try='test -s conftest.$ac_objext'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14813 ac_status=$?
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_cv_type_uintptr_t=yes
14817 else
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.$ac_ext >&5
14820
14821 ac_cv_type_uintptr_t=no
14822 fi
14823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14824 fi
14825 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14826 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14827 if test $ac_cv_type_uintptr_t = yes; then
14828 ac_cv_header_stdint_x=$i
14829 else
14830 continue
14831 fi
14832
14833 echo "$as_me:$LINENO: checking for uint64_t" >&5
14834 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14835 if test "${ac_cv_type_uint64_t+set}" = set; then
14836 echo $ECHO_N "(cached) $ECHO_C" >&6
14837 else
14838 cat >conftest.$ac_ext <<_ACEOF
14839 /* confdefs.h. */
14840 _ACEOF
14841 cat confdefs.h >>conftest.$ac_ext
14842 cat >>conftest.$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14844 #include<$i>
14845
14846 int
14847 main ()
14848 {
14849 if ((uint64_t *) 0)
14850 return 0;
14851 if (sizeof (uint64_t))
14852 return 0;
14853 ;
14854 return 0;
14855 }
14856 _ACEOF
14857 rm -f conftest.$ac_objext
14858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14859 (eval $ac_compile) 2>conftest.er1
14860 ac_status=$?
14861 grep -v '^ *+' conftest.er1 >conftest.err
14862 rm -f conftest.er1
14863 cat conftest.err >&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } &&
14866 { ac_try='test -z "$ac_c_werror_flag"
14867 || test ! -s conftest.err'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14870 ac_status=$?
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; } &&
14873 { ac_try='test -s conftest.$ac_objext'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14876 ac_status=$?
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; }; then
14879 ac_cv_type_uint64_t=yes
14880 else
14881 echo "$as_me: failed program was:" >&5
14882 sed 's/^/| /' conftest.$ac_ext >&5
14883
14884 ac_cv_type_uint64_t=no
14885 fi
14886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14887 fi
14888 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14889 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14890 if test $ac_cv_type_uint64_t = yes; then
14891 and64="/uint64_t"
14892 else
14893 and64=""
14894 fi
14895
14896 stdint.h inttypes.h sys/inttypes.h $inttype_headers
14897 break
14898 done
14899 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
14900 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
14901
14902 fi
14903 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
14904 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
14905
14906
14907 if test "_$ac_cv_header_stdint_x" = "_" ; then
14908
14909 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
14910 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
14911 if test "${ac_cv_header_stdint_o+set}" = set; then
14912 echo $ECHO_N "(cached) $ECHO_C" >&6
14913 else
14914
14915 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
14916 echo "$as_me:$LINENO: result: (..)" >&5
14917 echo "${ECHO_T}(..)" >&6
14918 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
14919 unset ac_cv_type_uint32_t
14920 unset ac_cv_type_uint64_t
14921 echo "$as_me:$LINENO: checking for uint32_t" >&5
14922 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
14923 if test "${ac_cv_type_uint32_t+set}" = set; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14925 else
14926 cat >conftest.$ac_ext <<_ACEOF
14927 /* confdefs.h. */
14928 _ACEOF
14929 cat confdefs.h >>conftest.$ac_ext
14930 cat >>conftest.$ac_ext <<_ACEOF
14931 /* end confdefs.h. */
14932 #include <$i>
14933
14934 int
14935 main ()
14936 {
14937 if ((uint32_t *) 0)
14938 return 0;
14939 if (sizeof (uint32_t))
14940 return 0;
14941 ;
14942 return 0;
14943 }
14944 _ACEOF
14945 rm -f conftest.$ac_objext
14946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14947 (eval $ac_compile) 2>conftest.er1
14948 ac_status=$?
14949 grep -v '^ *+' conftest.er1 >conftest.err
14950 rm -f conftest.er1
14951 cat conftest.err >&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } &&
14954 { ac_try='test -z "$ac_c_werror_flag"
14955 || test ! -s conftest.err'
14956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957 (eval $ac_try) 2>&5
14958 ac_status=$?
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; } &&
14961 { ac_try='test -s conftest.$ac_objext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14964 ac_status=$?
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14967 ac_cv_type_uint32_t=yes
14968 else
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14971
14972 ac_cv_type_uint32_t=no
14973 fi
14974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14975 fi
14976 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
14977 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14978 if test $ac_cv_type_uint32_t = yes; then
14979 ac_cv_header_stdint_o=$i
14980 else
14981 continue
14982 fi
14983
14984 echo "$as_me:$LINENO: checking for uint64_t" >&5
14985 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14986 if test "${ac_cv_type_uint64_t+set}" = set; then
14987 echo $ECHO_N "(cached) $ECHO_C" >&6
14988 else
14989 cat >conftest.$ac_ext <<_ACEOF
14990 /* confdefs.h. */
14991 _ACEOF
14992 cat confdefs.h >>conftest.$ac_ext
14993 cat >>conftest.$ac_ext <<_ACEOF
14994 /* end confdefs.h. */
14995 #include<$i>
14996
14997 int
14998 main ()
14999 {
15000 if ((uint64_t *) 0)
15001 return 0;
15002 if (sizeof (uint64_t))
15003 return 0;
15004 ;
15005 return 0;
15006 }
15007 _ACEOF
15008 rm -f conftest.$ac_objext
15009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15010 (eval $ac_compile) 2>conftest.er1
15011 ac_status=$?
15012 grep -v '^ *+' conftest.er1 >conftest.err
15013 rm -f conftest.er1
15014 cat conftest.err >&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); } &&
15017 { ac_try='test -z "$ac_c_werror_flag"
15018 || test ! -s conftest.err'
15019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 (eval $ac_try) 2>&5
15021 ac_status=$?
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; } &&
15024 { ac_try='test -s conftest.$ac_objext'
15025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15026 (eval $ac_try) 2>&5
15027 ac_status=$?
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); }; }; then
15030 ac_cv_type_uint64_t=yes
15031 else
15032 echo "$as_me: failed program was:" >&5
15033 sed 's/^/| /' conftest.$ac_ext >&5
15034
15035 ac_cv_type_uint64_t=no
15036 fi
15037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15038 fi
15039 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15040 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15041 if test $ac_cv_type_uint64_t = yes; then
15042 and64="/uint64_t"
15043 else
15044 and64=""
15045 fi
15046
15047 inttypes.h sys/inttypes.h stdint.h $inttype_headers
15048 break
15049 break;
15050 done
15051 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
15052 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
15053
15054 fi
15055 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
15056 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
15057
15058 fi
15059
15060 if test "_$ac_cv_header_stdint_x" = "_" ; then
15061 if test "_$ac_cv_header_stdint_o" = "_" ; then
15062
15063 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
15064 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
15065 if test "${ac_cv_header_stdint_u+set}" = set; then
15066 echo $ECHO_N "(cached) $ECHO_C" >&6
15067 else
15068
15069 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
15070 echo "$as_me:$LINENO: result: (..)" >&5
15071 echo "${ECHO_T}(..)" >&6
15072 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
15073 unset ac_cv_type_u_int32_t
15074 unset ac_cv_type_u_int64_t
15075 echo "$as_me:$LINENO: checking for u_int32_t" >&5
15076 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15077 if test "${ac_cv_type_u_int32_t+set}" = set; then
15078 echo $ECHO_N "(cached) $ECHO_C" >&6
15079 else
15080 cat >conftest.$ac_ext <<_ACEOF
15081 /* confdefs.h. */
15082 _ACEOF
15083 cat confdefs.h >>conftest.$ac_ext
15084 cat >>conftest.$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086 #include <$i>
15087
15088 int
15089 main ()
15090 {
15091 if ((u_int32_t *) 0)
15092 return 0;
15093 if (sizeof (u_int32_t))
15094 return 0;
15095 ;
15096 return 0;
15097 }
15098 _ACEOF
15099 rm -f conftest.$ac_objext
15100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15101 (eval $ac_compile) 2>conftest.er1
15102 ac_status=$?
15103 grep -v '^ *+' conftest.er1 >conftest.err
15104 rm -f conftest.er1
15105 cat conftest.err >&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } &&
15108 { ac_try='test -z "$ac_c_werror_flag"
15109 || test ! -s conftest.err'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15112 ac_status=$?
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; } &&
15115 { ac_try='test -s conftest.$ac_objext'
15116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15117 (eval $ac_try) 2>&5
15118 ac_status=$?
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); }; }; then
15121 ac_cv_type_u_int32_t=yes
15122 else
15123 echo "$as_me: failed program was:" >&5
15124 sed 's/^/| /' conftest.$ac_ext >&5
15125
15126 ac_cv_type_u_int32_t=no
15127 fi
15128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15129 fi
15130 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15131 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15132 if test $ac_cv_type_u_int32_t = yes; then
15133 ac_cv_header_stdint_u=$i
15134 else
15135 continue
15136 fi
15137
15138 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15139 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15140 if test "${ac_cv_type_u_int64_t+set}" = set; then
15141 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 else
15143 cat >conftest.$ac_ext <<_ACEOF
15144 /* confdefs.h. */
15145 _ACEOF
15146 cat confdefs.h >>conftest.$ac_ext
15147 cat >>conftest.$ac_ext <<_ACEOF
15148 /* end confdefs.h. */
15149 #include<$i>
15150
15151 int
15152 main ()
15153 {
15154 if ((u_int64_t *) 0)
15155 return 0;
15156 if (sizeof (u_int64_t))
15157 return 0;
15158 ;
15159 return 0;
15160 }
15161 _ACEOF
15162 rm -f conftest.$ac_objext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164 (eval $ac_compile) 2>conftest.er1
15165 ac_status=$?
15166 grep -v '^ *+' conftest.er1 >conftest.err
15167 rm -f conftest.er1
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } &&
15171 { ac_try='test -z "$ac_c_werror_flag"
15172 || test ! -s conftest.err'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15175 ac_status=$?
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; } &&
15178 { ac_try='test -s conftest.$ac_objext'
15179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180 (eval $ac_try) 2>&5
15181 ac_status=$?
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; }; then
15184 ac_cv_type_u_int64_t=yes
15185 else
15186 echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.$ac_ext >&5
15188
15189 ac_cv_type_u_int64_t=no
15190 fi
15191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15192 fi
15193 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15194 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15195 if test $ac_cv_type_u_int64_t = yes; then
15196 and64="/u_int64_t"
15197 else
15198 and64=""
15199 fi
15200
15201 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
15202 break
15203 break;
15204 done
15205 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
15206 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
15207
15208 fi
15209 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
15210 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
15211
15212 fi fi
15213
15214 if test "_$ac_cv_header_stdint_x" = "_" ; then
15215 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
15216 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
15217 echo "$as_me:$LINENO: result: (..)" >&5
15218 echo "${ECHO_T}(..)" >&6
15219
15220 echo "$as_me:$LINENO: checking for char" >&5
15221 echo $ECHO_N "checking for char... $ECHO_C" >&6
15222 if test "${ac_cv_type_char+set}" = set; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 else
15225 cat >conftest.$ac_ext <<_ACEOF
15226 /* confdefs.h. */
15227 _ACEOF
15228 cat confdefs.h >>conftest.$ac_ext
15229 cat >>conftest.$ac_ext <<_ACEOF
15230 /* end confdefs.h. */
15231 $ac_includes_default
15232 int
15233 main ()
15234 {
15235 if ((char *) 0)
15236 return 0;
15237 if (sizeof (char))
15238 return 0;
15239 ;
15240 return 0;
15241 }
15242 _ACEOF
15243 rm -f conftest.$ac_objext
15244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15245 (eval $ac_compile) 2>conftest.er1
15246 ac_status=$?
15247 grep -v '^ *+' conftest.er1 >conftest.err
15248 rm -f conftest.er1
15249 cat conftest.err >&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try='test -z "$ac_c_werror_flag"
15253 || test ! -s conftest.err'
15254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15255 (eval $ac_try) 2>&5
15256 ac_status=$?
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }; } &&
15259 { ac_try='test -s conftest.$ac_objext'
15260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5
15262 ac_status=$?
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; }; then
15265 ac_cv_type_char=yes
15266 else
15267 echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.$ac_ext >&5
15269
15270 ac_cv_type_char=no
15271 fi
15272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15273 fi
15274 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15275 echo "${ECHO_T}$ac_cv_type_char" >&6
15276
15277 echo "$as_me:$LINENO: checking size of char" >&5
15278 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15279 if test "${ac_cv_sizeof_char+set}" = set; then
15280 echo $ECHO_N "(cached) $ECHO_C" >&6
15281 else
15282 if test "$ac_cv_type_char" = yes; then
15283 # The cast to unsigned long works around a bug in the HP C Compiler
15284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15286 # This bug is HP SR number 8606223364.
15287 if test "$cross_compiling" = yes; then
15288 # Depending upon the size, compute the lo and hi bounds.
15289 cat >conftest.$ac_ext <<_ACEOF
15290 /* confdefs.h. */
15291 _ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295 $ac_includes_default
15296 int
15297 main ()
15298 {
15299 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15300 test_array [0] = 0
15301
15302 ;
15303 return 0;
15304 }
15305 _ACEOF
15306 rm -f conftest.$ac_objext
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>conftest.er1
15309 ac_status=$?
15310 grep -v '^ *+' conftest.er1 >conftest.err
15311 rm -f conftest.er1
15312 cat conftest.err >&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); } &&
15315 { ac_try='test -z "$ac_c_werror_flag"
15316 || test ! -s conftest.err'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15319 ac_status=$?
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; } &&
15322 { ac_try='test -s conftest.$ac_objext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15325 ac_status=$?
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15328 ac_lo=0 ac_mid=0
15329 while :; do
15330 cat >conftest.$ac_ext <<_ACEOF
15331 /* confdefs.h. */
15332 _ACEOF
15333 cat confdefs.h >>conftest.$ac_ext
15334 cat >>conftest.$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15336 $ac_includes_default
15337 int
15338 main ()
15339 {
15340 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15341 test_array [0] = 0
15342
15343 ;
15344 return 0;
15345 }
15346 _ACEOF
15347 rm -f conftest.$ac_objext
15348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15349 (eval $ac_compile) 2>conftest.er1
15350 ac_status=$?
15351 grep -v '^ *+' conftest.er1 >conftest.err
15352 rm -f conftest.er1
15353 cat conftest.err >&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } &&
15356 { ac_try='test -z "$ac_c_werror_flag"
15357 || test ! -s conftest.err'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15360 ac_status=$?
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; } &&
15363 { ac_try='test -s conftest.$ac_objext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15366 ac_status=$?
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15369 ac_hi=$ac_mid; break
15370 else
15371 echo "$as_me: failed program was:" >&5
15372 sed 's/^/| /' conftest.$ac_ext >&5
15373
15374 ac_lo=`expr $ac_mid + 1`
15375 if test $ac_lo -le $ac_mid; then
15376 ac_lo= ac_hi=
15377 break
15378 fi
15379 ac_mid=`expr 2 '*' $ac_mid + 1`
15380 fi
15381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15382 done
15383 else
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15386
15387 cat >conftest.$ac_ext <<_ACEOF
15388 /* confdefs.h. */
15389 _ACEOF
15390 cat confdefs.h >>conftest.$ac_ext
15391 cat >>conftest.$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15393 $ac_includes_default
15394 int
15395 main ()
15396 {
15397 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15398 test_array [0] = 0
15399
15400 ;
15401 return 0;
15402 }
15403 _ACEOF
15404 rm -f conftest.$ac_objext
15405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15406 (eval $ac_compile) 2>conftest.er1
15407 ac_status=$?
15408 grep -v '^ *+' conftest.er1 >conftest.err
15409 rm -f conftest.er1
15410 cat conftest.err >&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); } &&
15413 { ac_try='test -z "$ac_c_werror_flag"
15414 || test ! -s conftest.err'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15417 ac_status=$?
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; } &&
15420 { ac_try='test -s conftest.$ac_objext'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 ac_hi=-1 ac_mid=-1
15427 while :; do
15428 cat >conftest.$ac_ext <<_ACEOF
15429 /* confdefs.h. */
15430 _ACEOF
15431 cat confdefs.h >>conftest.$ac_ext
15432 cat >>conftest.$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15434 $ac_includes_default
15435 int
15436 main ()
15437 {
15438 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15439 test_array [0] = 0
15440
15441 ;
15442 return 0;
15443 }
15444 _ACEOF
15445 rm -f conftest.$ac_objext
15446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15447 (eval $ac_compile) 2>conftest.er1
15448 ac_status=$?
15449 grep -v '^ *+' conftest.er1 >conftest.err
15450 rm -f conftest.er1
15451 cat conftest.err >&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } &&
15454 { ac_try='test -z "$ac_c_werror_flag"
15455 || test ! -s conftest.err'
15456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457 (eval $ac_try) 2>&5
15458 ac_status=$?
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; } &&
15461 { ac_try='test -s conftest.$ac_objext'
15462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15463 (eval $ac_try) 2>&5
15464 ac_status=$?
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; }; then
15467 ac_lo=$ac_mid; break
15468 else
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15471
15472 ac_hi=`expr '(' $ac_mid ')' - 1`
15473 if test $ac_mid -le $ac_hi; then
15474 ac_lo= ac_hi=
15475 break
15476 fi
15477 ac_mid=`expr 2 '*' $ac_mid`
15478 fi
15479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15480 done
15481 else
15482 echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.$ac_ext >&5
15484
15485 ac_lo= ac_hi=
15486 fi
15487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15488 fi
15489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15490 # Binary search between lo and hi bounds.
15491 while test "x$ac_lo" != "x$ac_hi"; do
15492 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15493 cat >conftest.$ac_ext <<_ACEOF
15494 /* confdefs.h. */
15495 _ACEOF
15496 cat confdefs.h >>conftest.$ac_ext
15497 cat >>conftest.$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15499 $ac_includes_default
15500 int
15501 main ()
15502 {
15503 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15504 test_array [0] = 0
15505
15506 ;
15507 return 0;
15508 }
15509 _ACEOF
15510 rm -f conftest.$ac_objext
15511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15512 (eval $ac_compile) 2>conftest.er1
15513 ac_status=$?
15514 grep -v '^ *+' conftest.er1 >conftest.err
15515 rm -f conftest.er1
15516 cat conftest.err >&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); } &&
15519 { ac_try='test -z "$ac_c_werror_flag"
15520 || test ! -s conftest.err'
15521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15522 (eval $ac_try) 2>&5
15523 ac_status=$?
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); }; } &&
15526 { ac_try='test -s conftest.$ac_objext'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15529 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15532 ac_hi=$ac_mid
15533 else
15534 echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.$ac_ext >&5
15536
15537 ac_lo=`expr '(' $ac_mid ')' + 1`
15538 fi
15539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15540 done
15541 case $ac_lo in
15542 ?*) ac_cv_sizeof_char=$ac_lo;;
15543 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15544 See \`config.log' for more details." >&5
15545 echo "$as_me: error: cannot compute sizeof (char), 77
15546 See \`config.log' for more details." >&2;}
15547 { (exit 1); exit 1; }; } ;;
15548 esac
15549 else
15550 if test "$cross_compiling" = yes; then
15551 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15552 See \`config.log' for more details." >&5
15553 echo "$as_me: error: cannot run test program while cross compiling
15554 See \`config.log' for more details." >&2;}
15555 { (exit 1); exit 1; }; }
15556 else
15557 cat >conftest.$ac_ext <<_ACEOF
15558 /* confdefs.h. */
15559 _ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 $ac_includes_default
15564 long longval () { return (long) (sizeof (char)); }
15565 unsigned long ulongval () { return (long) (sizeof (char)); }
15566 #include <stdio.h>
15567 #include <stdlib.h>
15568 int
15569 main ()
15570 {
15571
15572 FILE *f = fopen ("conftest.val", "w");
15573 if (! f)
15574 exit (1);
15575 if (((long) (sizeof (char))) < 0)
15576 {
15577 long i = longval ();
15578 if (i != ((long) (sizeof (char))))
15579 exit (1);
15580 fprintf (f, "%ld\n", i);
15581 }
15582 else
15583 {
15584 unsigned long i = ulongval ();
15585 if (i != ((long) (sizeof (char))))
15586 exit (1);
15587 fprintf (f, "%lu\n", i);
15588 }
15589 exit (ferror (f) || fclose (f) != 0);
15590
15591 ;
15592 return 0;
15593 }
15594 _ACEOF
15595 rm -f conftest$ac_exeext
15596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15597 (eval $ac_link) 2>&5
15598 ac_status=$?
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15602 (eval $ac_try) 2>&5
15603 ac_status=$?
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); }; }; then
15606 ac_cv_sizeof_char=`cat conftest.val`
15607 else
15608 echo "$as_me: program exited with status $ac_status" >&5
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.$ac_ext >&5
15611
15612 ( exit $ac_status )
15613 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15614 See \`config.log' for more details." >&5
15615 echo "$as_me: error: cannot compute sizeof (char), 77
15616 See \`config.log' for more details." >&2;}
15617 { (exit 1); exit 1; }; }
15618 fi
15619 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15620 fi
15621 fi
15622 rm -f conftest.val
15623 else
15624 ac_cv_sizeof_char=0
15625 fi
15626 fi
15627 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15628 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15629 cat >>confdefs.h <<_ACEOF
15630 #define SIZEOF_CHAR $ac_cv_sizeof_char
15631 _ACEOF
15632
15633
15634 echo "$as_me:$LINENO: checking for short" >&5
15635 echo $ECHO_N "checking for short... $ECHO_C" >&6
15636 if test "${ac_cv_type_short+set}" = set; then
15637 echo $ECHO_N "(cached) $ECHO_C" >&6
15638 else
15639 cat >conftest.$ac_ext <<_ACEOF
15640 /* confdefs.h. */
15641 _ACEOF
15642 cat confdefs.h >>conftest.$ac_ext
15643 cat >>conftest.$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15645 $ac_includes_default
15646 int
15647 main ()
15648 {
15649 if ((short *) 0)
15650 return 0;
15651 if (sizeof (short))
15652 return 0;
15653 ;
15654 return 0;
15655 }
15656 _ACEOF
15657 rm -f conftest.$ac_objext
15658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15659 (eval $ac_compile) 2>conftest.er1
15660 ac_status=$?
15661 grep -v '^ *+' conftest.er1 >conftest.err
15662 rm -f conftest.er1
15663 cat conftest.err >&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } &&
15666 { ac_try='test -z "$ac_c_werror_flag"
15667 || test ! -s conftest.err'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15670 ac_status=$?
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; } &&
15673 { ac_try='test -s conftest.$ac_objext'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15676 ac_status=$?
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; }; then
15679 ac_cv_type_short=yes
15680 else
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.$ac_ext >&5
15683
15684 ac_cv_type_short=no
15685 fi
15686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15687 fi
15688 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15689 echo "${ECHO_T}$ac_cv_type_short" >&6
15690
15691 echo "$as_me:$LINENO: checking size of short" >&5
15692 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15693 if test "${ac_cv_sizeof_short+set}" = set; then
15694 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 else
15696 if test "$ac_cv_type_short" = yes; then
15697 # The cast to unsigned long works around a bug in the HP C Compiler
15698 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15699 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15700 # This bug is HP SR number 8606223364.
15701 if test "$cross_compiling" = yes; then
15702 # Depending upon the size, compute the lo and hi bounds.
15703 cat >conftest.$ac_ext <<_ACEOF
15704 /* confdefs.h. */
15705 _ACEOF
15706 cat confdefs.h >>conftest.$ac_ext
15707 cat >>conftest.$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15709 $ac_includes_default
15710 int
15711 main ()
15712 {
15713 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15714 test_array [0] = 0
15715
15716 ;
15717 return 0;
15718 }
15719 _ACEOF
15720 rm -f conftest.$ac_objext
15721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15722 (eval $ac_compile) 2>conftest.er1
15723 ac_status=$?
15724 grep -v '^ *+' conftest.er1 >conftest.err
15725 rm -f conftest.er1
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } &&
15729 { ac_try='test -z "$ac_c_werror_flag"
15730 || test ! -s conftest.err'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15733 ac_status=$?
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; } &&
15736 { ac_try='test -s conftest.$ac_objext'
15737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 (eval $ac_try) 2>&5
15739 ac_status=$?
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; }; then
15742 ac_lo=0 ac_mid=0
15743 while :; do
15744 cat >conftest.$ac_ext <<_ACEOF
15745 /* confdefs.h. */
15746 _ACEOF
15747 cat confdefs.h >>conftest.$ac_ext
15748 cat >>conftest.$ac_ext <<_ACEOF
15749 /* end confdefs.h. */
15750 $ac_includes_default
15751 int
15752 main ()
15753 {
15754 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15755 test_array [0] = 0
15756
15757 ;
15758 return 0;
15759 }
15760 _ACEOF
15761 rm -f conftest.$ac_objext
15762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15763 (eval $ac_compile) 2>conftest.er1
15764 ac_status=$?
15765 grep -v '^ *+' conftest.er1 >conftest.err
15766 rm -f conftest.er1
15767 cat conftest.err >&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try='test -z "$ac_c_werror_flag"
15771 || test ! -s conftest.err'
15772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15773 (eval $ac_try) 2>&5
15774 ac_status=$?
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); }; } &&
15777 { ac_try='test -s conftest.$ac_objext'
15778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15779 (eval $ac_try) 2>&5
15780 ac_status=$?
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); }; }; then
15783 ac_hi=$ac_mid; break
15784 else
15785 echo "$as_me: failed program was:" >&5
15786 sed 's/^/| /' conftest.$ac_ext >&5
15787
15788 ac_lo=`expr $ac_mid + 1`
15789 if test $ac_lo -le $ac_mid; then
15790 ac_lo= ac_hi=
15791 break
15792 fi
15793 ac_mid=`expr 2 '*' $ac_mid + 1`
15794 fi
15795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15796 done
15797 else
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.$ac_ext >&5
15800
15801 cat >conftest.$ac_ext <<_ACEOF
15802 /* confdefs.h. */
15803 _ACEOF
15804 cat confdefs.h >>conftest.$ac_ext
15805 cat >>conftest.$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807 $ac_includes_default
15808 int
15809 main ()
15810 {
15811 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15812 test_array [0] = 0
15813
15814 ;
15815 return 0;
15816 }
15817 _ACEOF
15818 rm -f conftest.$ac_objext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15820 (eval $ac_compile) 2>conftest.er1
15821 ac_status=$?
15822 grep -v '^ *+' conftest.er1 >conftest.err
15823 rm -f conftest.er1
15824 cat conftest.err >&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try='test -z "$ac_c_werror_flag"
15828 || test ! -s conftest.err'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15831 ac_status=$?
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; } &&
15834 { ac_try='test -s conftest.$ac_objext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15840 ac_hi=-1 ac_mid=-1
15841 while :; do
15842 cat >conftest.$ac_ext <<_ACEOF
15843 /* confdefs.h. */
15844 _ACEOF
15845 cat confdefs.h >>conftest.$ac_ext
15846 cat >>conftest.$ac_ext <<_ACEOF
15847 /* end confdefs.h. */
15848 $ac_includes_default
15849 int
15850 main ()
15851 {
15852 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15853 test_array [0] = 0
15854
15855 ;
15856 return 0;
15857 }
15858 _ACEOF
15859 rm -f conftest.$ac_objext
15860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15861 (eval $ac_compile) 2>conftest.er1
15862 ac_status=$?
15863 grep -v '^ *+' conftest.er1 >conftest.err
15864 rm -f conftest.er1
15865 cat conftest.err >&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } &&
15868 { ac_try='test -z "$ac_c_werror_flag"
15869 || test ! -s conftest.err'
15870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15871 (eval $ac_try) 2>&5
15872 ac_status=$?
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); }; } &&
15875 { ac_try='test -s conftest.$ac_objext'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15878 ac_status=$?
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; }; then
15881 ac_lo=$ac_mid; break
15882 else
15883 echo "$as_me: failed program was:" >&5
15884 sed 's/^/| /' conftest.$ac_ext >&5
15885
15886 ac_hi=`expr '(' $ac_mid ')' - 1`
15887 if test $ac_mid -le $ac_hi; then
15888 ac_lo= ac_hi=
15889 break
15890 fi
15891 ac_mid=`expr 2 '*' $ac_mid`
15892 fi
15893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15894 done
15895 else
15896 echo "$as_me: failed program was:" >&5
15897 sed 's/^/| /' conftest.$ac_ext >&5
15898
15899 ac_lo= ac_hi=
15900 fi
15901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15902 fi
15903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15904 # Binary search between lo and hi bounds.
15905 while test "x$ac_lo" != "x$ac_hi"; do
15906 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15907 cat >conftest.$ac_ext <<_ACEOF
15908 /* confdefs.h. */
15909 _ACEOF
15910 cat confdefs.h >>conftest.$ac_ext
15911 cat >>conftest.$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 $ac_includes_default
15914 int
15915 main ()
15916 {
15917 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15918 test_array [0] = 0
15919
15920 ;
15921 return 0;
15922 }
15923 _ACEOF
15924 rm -f conftest.$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>conftest.er1
15927 ac_status=$?
15928 grep -v '^ *+' conftest.er1 >conftest.err
15929 rm -f conftest.er1
15930 cat conftest.err >&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try='test -z "$ac_c_werror_flag"
15934 || test ! -s conftest.err'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15937 ac_status=$?
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } &&
15940 { ac_try='test -s conftest.$ac_objext'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15943 ac_status=$?
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; }; then
15946 ac_hi=$ac_mid
15947 else
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.$ac_ext >&5
15950
15951 ac_lo=`expr '(' $ac_mid ')' + 1`
15952 fi
15953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15954 done
15955 case $ac_lo in
15956 ?*) ac_cv_sizeof_short=$ac_lo;;
15957 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15958 See \`config.log' for more details." >&5
15959 echo "$as_me: error: cannot compute sizeof (short), 77
15960 See \`config.log' for more details." >&2;}
15961 { (exit 1); exit 1; }; } ;;
15962 esac
15963 else
15964 if test "$cross_compiling" = yes; then
15965 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15966 See \`config.log' for more details." >&5
15967 echo "$as_me: error: cannot run test program while cross compiling
15968 See \`config.log' for more details." >&2;}
15969 { (exit 1); exit 1; }; }
15970 else
15971 cat >conftest.$ac_ext <<_ACEOF
15972 /* confdefs.h. */
15973 _ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15977 $ac_includes_default
15978 long longval () { return (long) (sizeof (short)); }
15979 unsigned long ulongval () { return (long) (sizeof (short)); }
15980 #include <stdio.h>
15981 #include <stdlib.h>
15982 int
15983 main ()
15984 {
15985
15986 FILE *f = fopen ("conftest.val", "w");
15987 if (! f)
15988 exit (1);
15989 if (((long) (sizeof (short))) < 0)
15990 {
15991 long i = longval ();
15992 if (i != ((long) (sizeof (short))))
15993 exit (1);
15994 fprintf (f, "%ld\n", i);
15995 }
15996 else
15997 {
15998 unsigned long i = ulongval ();
15999 if (i != ((long) (sizeof (short))))
16000 exit (1);
16001 fprintf (f, "%lu\n", i);
16002 }
16003 exit (ferror (f) || fclose (f) != 0);
16004
16005 ;
16006 return 0;
16007 }
16008 _ACEOF
16009 rm -f conftest$ac_exeext
16010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16011 (eval $ac_link) 2>&5
16012 ac_status=$?
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 ac_cv_sizeof_short=`cat conftest.val`
16021 else
16022 echo "$as_me: program exited with status $ac_status" >&5
16023 echo "$as_me: failed program was:" >&5
16024 sed 's/^/| /' conftest.$ac_ext >&5
16025
16026 ( exit $ac_status )
16027 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16028 See \`config.log' for more details." >&5
16029 echo "$as_me: error: cannot compute sizeof (short), 77
16030 See \`config.log' for more details." >&2;}
16031 { (exit 1); exit 1; }; }
16032 fi
16033 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16034 fi
16035 fi
16036 rm -f conftest.val
16037 else
16038 ac_cv_sizeof_short=0
16039 fi
16040 fi
16041 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16042 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16043 cat >>confdefs.h <<_ACEOF
16044 #define SIZEOF_SHORT $ac_cv_sizeof_short
16045 _ACEOF
16046
16047
16048 echo "$as_me:$LINENO: checking for int" >&5
16049 echo $ECHO_N "checking for int... $ECHO_C" >&6
16050 if test "${ac_cv_type_int+set}" = set; then
16051 echo $ECHO_N "(cached) $ECHO_C" >&6
16052 else
16053 cat >conftest.$ac_ext <<_ACEOF
16054 /* confdefs.h. */
16055 _ACEOF
16056 cat confdefs.h >>conftest.$ac_ext
16057 cat >>conftest.$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16059 $ac_includes_default
16060 int
16061 main ()
16062 {
16063 if ((int *) 0)
16064 return 0;
16065 if (sizeof (int))
16066 return 0;
16067 ;
16068 return 0;
16069 }
16070 _ACEOF
16071 rm -f conftest.$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073 (eval $ac_compile) 2>conftest.er1
16074 ac_status=$?
16075 grep -v '^ *+' conftest.er1 >conftest.err
16076 rm -f conftest.er1
16077 cat conftest.err >&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); } &&
16080 { ac_try='test -z "$ac_c_werror_flag"
16081 || test ! -s conftest.err'
16082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16083 (eval $ac_try) 2>&5
16084 ac_status=$?
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); }; } &&
16087 { ac_try='test -s conftest.$ac_objext'
16088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089 (eval $ac_try) 2>&5
16090 ac_status=$?
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); }; }; then
16093 ac_cv_type_int=yes
16094 else
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16097
16098 ac_cv_type_int=no
16099 fi
16100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16101 fi
16102 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16103 echo "${ECHO_T}$ac_cv_type_int" >&6
16104
16105 echo "$as_me:$LINENO: checking size of int" >&5
16106 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16107 if test "${ac_cv_sizeof_int+set}" = set; then
16108 echo $ECHO_N "(cached) $ECHO_C" >&6
16109 else
16110 if test "$ac_cv_type_int" = yes; then
16111 # The cast to unsigned long works around a bug in the HP C Compiler
16112 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16113 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16114 # This bug is HP SR number 8606223364.
16115 if test "$cross_compiling" = yes; then
16116 # Depending upon the size, compute the lo and hi bounds.
16117 cat >conftest.$ac_ext <<_ACEOF
16118 /* confdefs.h. */
16119 _ACEOF
16120 cat confdefs.h >>conftest.$ac_ext
16121 cat >>conftest.$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123 $ac_includes_default
16124 int
16125 main ()
16126 {
16127 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16128 test_array [0] = 0
16129
16130 ;
16131 return 0;
16132 }
16133 _ACEOF
16134 rm -f conftest.$ac_objext
16135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16136 (eval $ac_compile) 2>conftest.er1
16137 ac_status=$?
16138 grep -v '^ *+' conftest.er1 >conftest.err
16139 rm -f conftest.er1
16140 cat conftest.err >&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } &&
16143 { ac_try='test -z "$ac_c_werror_flag"
16144 || test ! -s conftest.err'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16147 ac_status=$?
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; } &&
16150 { ac_try='test -s conftest.$ac_objext'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16153 ac_status=$?
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; }; then
16156 ac_lo=0 ac_mid=0
16157 while :; do
16158 cat >conftest.$ac_ext <<_ACEOF
16159 /* confdefs.h. */
16160 _ACEOF
16161 cat confdefs.h >>conftest.$ac_ext
16162 cat >>conftest.$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16164 $ac_includes_default
16165 int
16166 main ()
16167 {
16168 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16169 test_array [0] = 0
16170
16171 ;
16172 return 0;
16173 }
16174 _ACEOF
16175 rm -f conftest.$ac_objext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16177 (eval $ac_compile) 2>conftest.er1
16178 ac_status=$?
16179 grep -v '^ *+' conftest.er1 >conftest.err
16180 rm -f conftest.er1
16181 cat conftest.err >&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } &&
16184 { ac_try='test -z "$ac_c_werror_flag"
16185 || test ! -s conftest.err'
16186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187 (eval $ac_try) 2>&5
16188 ac_status=$?
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); }; } &&
16191 { ac_try='test -s conftest.$ac_objext'
16192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16193 (eval $ac_try) 2>&5
16194 ac_status=$?
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); }; }; then
16197 ac_hi=$ac_mid; break
16198 else
16199 echo "$as_me: failed program was:" >&5
16200 sed 's/^/| /' conftest.$ac_ext >&5
16201
16202 ac_lo=`expr $ac_mid + 1`
16203 if test $ac_lo -le $ac_mid; then
16204 ac_lo= ac_hi=
16205 break
16206 fi
16207 ac_mid=`expr 2 '*' $ac_mid + 1`
16208 fi
16209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16210 done
16211 else
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.$ac_ext >&5
16214
16215 cat >conftest.$ac_ext <<_ACEOF
16216 /* confdefs.h. */
16217 _ACEOF
16218 cat confdefs.h >>conftest.$ac_ext
16219 cat >>conftest.$ac_ext <<_ACEOF
16220 /* end confdefs.h. */
16221 $ac_includes_default
16222 int
16223 main ()
16224 {
16225 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16226 test_array [0] = 0
16227
16228 ;
16229 return 0;
16230 }
16231 _ACEOF
16232 rm -f conftest.$ac_objext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234 (eval $ac_compile) 2>conftest.er1
16235 ac_status=$?
16236 grep -v '^ *+' conftest.er1 >conftest.err
16237 rm -f conftest.er1
16238 cat conftest.err >&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } &&
16241 { ac_try='test -z "$ac_c_werror_flag"
16242 || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 ac_hi=-1 ac_mid=-1
16255 while :; do
16256 cat >conftest.$ac_ext <<_ACEOF
16257 /* confdefs.h. */
16258 _ACEOF
16259 cat confdefs.h >>conftest.$ac_ext
16260 cat >>conftest.$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16262 $ac_includes_default
16263 int
16264 main ()
16265 {
16266 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16267 test_array [0] = 0
16268
16269 ;
16270 return 0;
16271 }
16272 _ACEOF
16273 rm -f conftest.$ac_objext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16275 (eval $ac_compile) 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } &&
16282 { ac_try='test -z "$ac_c_werror_flag"
16283 || test ! -s conftest.err'
16284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16285 (eval $ac_try) 2>&5
16286 ac_status=$?
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); }; } &&
16289 { ac_try='test -s conftest.$ac_objext'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16292 ac_status=$?
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; }; then
16295 ac_lo=$ac_mid; break
16296 else
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.$ac_ext >&5
16299
16300 ac_hi=`expr '(' $ac_mid ')' - 1`
16301 if test $ac_mid -le $ac_hi; then
16302 ac_lo= ac_hi=
16303 break
16304 fi
16305 ac_mid=`expr 2 '*' $ac_mid`
16306 fi
16307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16308 done
16309 else
16310 echo "$as_me: failed program was:" >&5
16311 sed 's/^/| /' conftest.$ac_ext >&5
16312
16313 ac_lo= ac_hi=
16314 fi
16315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16316 fi
16317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16318 # Binary search between lo and hi bounds.
16319 while test "x$ac_lo" != "x$ac_hi"; do
16320 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16321 cat >conftest.$ac_ext <<_ACEOF
16322 /* confdefs.h. */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327 $ac_includes_default
16328 int
16329 main ()
16330 {
16331 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16332 test_array [0] = 0
16333
16334 ;
16335 return 0;
16336 }
16337 _ACEOF
16338 rm -f conftest.$ac_objext
16339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16340 (eval $ac_compile) 2>conftest.er1
16341 ac_status=$?
16342 grep -v '^ *+' conftest.er1 >conftest.err
16343 rm -f conftest.er1
16344 cat conftest.err >&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } &&
16347 { ac_try='test -z "$ac_c_werror_flag"
16348 || test ! -s conftest.err'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16351 ac_status=$?
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; } &&
16354 { ac_try='test -s conftest.$ac_objext'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16357 ac_status=$?
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16360 ac_hi=$ac_mid
16361 else
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.$ac_ext >&5
16364
16365 ac_lo=`expr '(' $ac_mid ')' + 1`
16366 fi
16367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16368 done
16369 case $ac_lo in
16370 ?*) ac_cv_sizeof_int=$ac_lo;;
16371 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16372 See \`config.log' for more details." >&5
16373 echo "$as_me: error: cannot compute sizeof (int), 77
16374 See \`config.log' for more details." >&2;}
16375 { (exit 1); exit 1; }; } ;;
16376 esac
16377 else
16378 if test "$cross_compiling" = yes; then
16379 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16380 See \`config.log' for more details." >&5
16381 echo "$as_me: error: cannot run test program while cross compiling
16382 See \`config.log' for more details." >&2;}
16383 { (exit 1); exit 1; }; }
16384 else
16385 cat >conftest.$ac_ext <<_ACEOF
16386 /* confdefs.h. */
16387 _ACEOF
16388 cat confdefs.h >>conftest.$ac_ext
16389 cat >>conftest.$ac_ext <<_ACEOF
16390 /* end confdefs.h. */
16391 $ac_includes_default
16392 long longval () { return (long) (sizeof (int)); }
16393 unsigned long ulongval () { return (long) (sizeof (int)); }
16394 #include <stdio.h>
16395 #include <stdlib.h>
16396 int
16397 main ()
16398 {
16399
16400 FILE *f = fopen ("conftest.val", "w");
16401 if (! f)
16402 exit (1);
16403 if (((long) (sizeof (int))) < 0)
16404 {
16405 long i = longval ();
16406 if (i != ((long) (sizeof (int))))
16407 exit (1);
16408 fprintf (f, "%ld\n", i);
16409 }
16410 else
16411 {
16412 unsigned long i = ulongval ();
16413 if (i != ((long) (sizeof (int))))
16414 exit (1);
16415 fprintf (f, "%lu\n", i);
16416 }
16417 exit (ferror (f) || fclose (f) != 0);
16418
16419 ;
16420 return 0;
16421 }
16422 _ACEOF
16423 rm -f conftest$ac_exeext
16424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16425 (eval $ac_link) 2>&5
16426 ac_status=$?
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16430 (eval $ac_try) 2>&5
16431 ac_status=$?
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); }; }; then
16434 ac_cv_sizeof_int=`cat conftest.val`
16435 else
16436 echo "$as_me: program exited with status $ac_status" >&5
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.$ac_ext >&5
16439
16440 ( exit $ac_status )
16441 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16442 See \`config.log' for more details." >&5
16443 echo "$as_me: error: cannot compute sizeof (int), 77
16444 See \`config.log' for more details." >&2;}
16445 { (exit 1); exit 1; }; }
16446 fi
16447 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16448 fi
16449 fi
16450 rm -f conftest.val
16451 else
16452 ac_cv_sizeof_int=0
16453 fi
16454 fi
16455 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16456 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16457 cat >>confdefs.h <<_ACEOF
16458 #define SIZEOF_INT $ac_cv_sizeof_int
16459 _ACEOF
16460
16461
16462 echo "$as_me:$LINENO: checking for long" >&5
16463 echo $ECHO_N "checking for long... $ECHO_C" >&6
16464 if test "${ac_cv_type_long+set}" = set; then
16465 echo $ECHO_N "(cached) $ECHO_C" >&6
16466 else
16467 cat >conftest.$ac_ext <<_ACEOF
16468 /* confdefs.h. */
16469 _ACEOF
16470 cat confdefs.h >>conftest.$ac_ext
16471 cat >>conftest.$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16473 $ac_includes_default
16474 int
16475 main ()
16476 {
16477 if ((long *) 0)
16478 return 0;
16479 if (sizeof (long))
16480 return 0;
16481 ;
16482 return 0;
16483 }
16484 _ACEOF
16485 rm -f conftest.$ac_objext
16486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16487 (eval $ac_compile) 2>conftest.er1
16488 ac_status=$?
16489 grep -v '^ *+' conftest.er1 >conftest.err
16490 rm -f conftest.er1
16491 cat conftest.err >&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); } &&
16494 { ac_try='test -z "$ac_c_werror_flag"
16495 || test ! -s conftest.err'
16496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16497 (eval $ac_try) 2>&5
16498 ac_status=$?
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; } &&
16501 { ac_try='test -s conftest.$ac_objext'
16502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16503 (eval $ac_try) 2>&5
16504 ac_status=$?
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); }; }; then
16507 ac_cv_type_long=yes
16508 else
16509 echo "$as_me: failed program was:" >&5
16510 sed 's/^/| /' conftest.$ac_ext >&5
16511
16512 ac_cv_type_long=no
16513 fi
16514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16515 fi
16516 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16517 echo "${ECHO_T}$ac_cv_type_long" >&6
16518
16519 echo "$as_me:$LINENO: checking size of long" >&5
16520 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16521 if test "${ac_cv_sizeof_long+set}" = set; then
16522 echo $ECHO_N "(cached) $ECHO_C" >&6
16523 else
16524 if test "$ac_cv_type_long" = yes; then
16525 # The cast to unsigned long works around a bug in the HP C Compiler
16526 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16527 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16528 # This bug is HP SR number 8606223364.
16529 if test "$cross_compiling" = yes; then
16530 # Depending upon the size, compute the lo and hi bounds.
16531 cat >conftest.$ac_ext <<_ACEOF
16532 /* confdefs.h. */
16533 _ACEOF
16534 cat confdefs.h >>conftest.$ac_ext
16535 cat >>conftest.$ac_ext <<_ACEOF
16536 /* end confdefs.h. */
16537 $ac_includes_default
16538 int
16539 main ()
16540 {
16541 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16542 test_array [0] = 0
16543
16544 ;
16545 return 0;
16546 }
16547 _ACEOF
16548 rm -f conftest.$ac_objext
16549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16550 (eval $ac_compile) 2>conftest.er1
16551 ac_status=$?
16552 grep -v '^ *+' conftest.er1 >conftest.err
16553 rm -f conftest.er1
16554 cat conftest.err >&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } &&
16557 { ac_try='test -z "$ac_c_werror_flag"
16558 || test ! -s conftest.err'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16561 ac_status=$?
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; } &&
16564 { ac_try='test -s conftest.$ac_objext'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16567 ac_status=$?
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; }; then
16570 ac_lo=0 ac_mid=0
16571 while :; do
16572 cat >conftest.$ac_ext <<_ACEOF
16573 /* confdefs.h. */
16574 _ACEOF
16575 cat confdefs.h >>conftest.$ac_ext
16576 cat >>conftest.$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 $ac_includes_default
16579 int
16580 main ()
16581 {
16582 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16583 test_array [0] = 0
16584
16585 ;
16586 return 0;
16587 }
16588 _ACEOF
16589 rm -f conftest.$ac_objext
16590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16591 (eval $ac_compile) 2>conftest.er1
16592 ac_status=$?
16593 grep -v '^ *+' conftest.er1 >conftest.err
16594 rm -f conftest.er1
16595 cat conftest.err >&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); } &&
16598 { ac_try='test -z "$ac_c_werror_flag"
16599 || test ! -s conftest.err'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16602 ac_status=$?
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; } &&
16605 { ac_try='test -s conftest.$ac_objext'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16608 ac_status=$?
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; }; then
16611 ac_hi=$ac_mid; break
16612 else
16613 echo "$as_me: failed program was:" >&5
16614 sed 's/^/| /' conftest.$ac_ext >&5
16615
16616 ac_lo=`expr $ac_mid + 1`
16617 if test $ac_lo -le $ac_mid; then
16618 ac_lo= ac_hi=
16619 break
16620 fi
16621 ac_mid=`expr 2 '*' $ac_mid + 1`
16622 fi
16623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16624 done
16625 else
16626 echo "$as_me: failed program was:" >&5
16627 sed 's/^/| /' conftest.$ac_ext >&5
16628
16629 cat >conftest.$ac_ext <<_ACEOF
16630 /* confdefs.h. */
16631 _ACEOF
16632 cat confdefs.h >>conftest.$ac_ext
16633 cat >>conftest.$ac_ext <<_ACEOF
16634 /* end confdefs.h. */
16635 $ac_includes_default
16636 int
16637 main ()
16638 {
16639 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16640 test_array [0] = 0
16641
16642 ;
16643 return 0;
16644 }
16645 _ACEOF
16646 rm -f conftest.$ac_objext
16647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16648 (eval $ac_compile) 2>conftest.er1
16649 ac_status=$?
16650 grep -v '^ *+' conftest.er1 >conftest.err
16651 rm -f conftest.er1
16652 cat conftest.err >&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } &&
16655 { ac_try='test -z "$ac_c_werror_flag"
16656 || test ! -s conftest.err'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16659 ac_status=$?
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; } &&
16662 { ac_try='test -s conftest.$ac_objext'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16665 ac_status=$?
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; }; then
16668 ac_hi=-1 ac_mid=-1
16669 while :; do
16670 cat >conftest.$ac_ext <<_ACEOF
16671 /* confdefs.h. */
16672 _ACEOF
16673 cat confdefs.h >>conftest.$ac_ext
16674 cat >>conftest.$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16676 $ac_includes_default
16677 int
16678 main ()
16679 {
16680 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16681 test_array [0] = 0
16682
16683 ;
16684 return 0;
16685 }
16686 _ACEOF
16687 rm -f conftest.$ac_objext
16688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16689 (eval $ac_compile) 2>conftest.er1
16690 ac_status=$?
16691 grep -v '^ *+' conftest.er1 >conftest.err
16692 rm -f conftest.er1
16693 cat conftest.err >&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); } &&
16696 { ac_try='test -z "$ac_c_werror_flag"
16697 || test ! -s conftest.err'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16700 ac_status=$?
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; } &&
16703 { ac_try='test -s conftest.$ac_objext'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16706 ac_status=$?
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; }; then
16709 ac_lo=$ac_mid; break
16710 else
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.$ac_ext >&5
16713
16714 ac_hi=`expr '(' $ac_mid ')' - 1`
16715 if test $ac_mid -le $ac_hi; then
16716 ac_lo= ac_hi=
16717 break
16718 fi
16719 ac_mid=`expr 2 '*' $ac_mid`
16720 fi
16721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16722 done
16723 else
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.$ac_ext >&5
16726
16727 ac_lo= ac_hi=
16728 fi
16729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16730 fi
16731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16732 # Binary search between lo and hi bounds.
16733 while test "x$ac_lo" != "x$ac_hi"; do
16734 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16735 cat >conftest.$ac_ext <<_ACEOF
16736 /* confdefs.h. */
16737 _ACEOF
16738 cat confdefs.h >>conftest.$ac_ext
16739 cat >>conftest.$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 $ac_includes_default
16742 int
16743 main ()
16744 {
16745 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16746 test_array [0] = 0
16747
16748 ;
16749 return 0;
16750 }
16751 _ACEOF
16752 rm -f conftest.$ac_objext
16753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16754 (eval $ac_compile) 2>conftest.er1
16755 ac_status=$?
16756 grep -v '^ *+' conftest.er1 >conftest.err
16757 rm -f conftest.er1
16758 cat conftest.err >&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } &&
16761 { ac_try='test -z "$ac_c_werror_flag"
16762 || test ! -s conftest.err'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16765 ac_status=$?
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; } &&
16768 { ac_try='test -s conftest.$ac_objext'
16769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16770 (eval $ac_try) 2>&5
16771 ac_status=$?
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; }; then
16774 ac_hi=$ac_mid
16775 else
16776 echo "$as_me: failed program was:" >&5
16777 sed 's/^/| /' conftest.$ac_ext >&5
16778
16779 ac_lo=`expr '(' $ac_mid ')' + 1`
16780 fi
16781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16782 done
16783 case $ac_lo in
16784 ?*) ac_cv_sizeof_long=$ac_lo;;
16785 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16786 See \`config.log' for more details." >&5
16787 echo "$as_me: error: cannot compute sizeof (long), 77
16788 See \`config.log' for more details." >&2;}
16789 { (exit 1); exit 1; }; } ;;
16790 esac
16791 else
16792 if test "$cross_compiling" = yes; then
16793 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16794 See \`config.log' for more details." >&5
16795 echo "$as_me: error: cannot run test program while cross compiling
16796 See \`config.log' for more details." >&2;}
16797 { (exit 1); exit 1; }; }
16798 else
16799 cat >conftest.$ac_ext <<_ACEOF
16800 /* confdefs.h. */
16801 _ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 $ac_includes_default
16806 long longval () { return (long) (sizeof (long)); }
16807 unsigned long ulongval () { return (long) (sizeof (long)); }
16808 #include <stdio.h>
16809 #include <stdlib.h>
16810 int
16811 main ()
16812 {
16813
16814 FILE *f = fopen ("conftest.val", "w");
16815 if (! f)
16816 exit (1);
16817 if (((long) (sizeof (long))) < 0)
16818 {
16819 long i = longval ();
16820 if (i != ((long) (sizeof (long))))
16821 exit (1);
16822 fprintf (f, "%ld\n", i);
16823 }
16824 else
16825 {
16826 unsigned long i = ulongval ();
16827 if (i != ((long) (sizeof (long))))
16828 exit (1);
16829 fprintf (f, "%lu\n", i);
16830 }
16831 exit (ferror (f) || fclose (f) != 0);
16832
16833 ;
16834 return 0;
16835 }
16836 _ACEOF
16837 rm -f conftest$ac_exeext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16839 (eval $ac_link) 2>&5
16840 ac_status=$?
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_sizeof_long=`cat conftest.val`
16849 else
16850 echo "$as_me: program exited with status $ac_status" >&5
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.$ac_ext >&5
16853
16854 ( exit $ac_status )
16855 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16856 See \`config.log' for more details." >&5
16857 echo "$as_me: error: cannot compute sizeof (long), 77
16858 See \`config.log' for more details." >&2;}
16859 { (exit 1); exit 1; }; }
16860 fi
16861 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16862 fi
16863 fi
16864 rm -f conftest.val
16865 else
16866 ac_cv_sizeof_long=0
16867 fi
16868 fi
16869 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16870 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16871 cat >>confdefs.h <<_ACEOF
16872 #define SIZEOF_LONG $ac_cv_sizeof_long
16873 _ACEOF
16874
16875
16876 echo "$as_me:$LINENO: checking for void*" >&5
16877 echo $ECHO_N "checking for void*... $ECHO_C" >&6
16878 if test "${ac_cv_type_voidp+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 else
16881 cat >conftest.$ac_ext <<_ACEOF
16882 /* confdefs.h. */
16883 _ACEOF
16884 cat confdefs.h >>conftest.$ac_ext
16885 cat >>conftest.$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887 $ac_includes_default
16888 int
16889 main ()
16890 {
16891 if ((void* *) 0)
16892 return 0;
16893 if (sizeof (void*))
16894 return 0;
16895 ;
16896 return 0;
16897 }
16898 _ACEOF
16899 rm -f conftest.$ac_objext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16901 (eval $ac_compile) 2>conftest.er1
16902 ac_status=$?
16903 grep -v '^ *+' conftest.er1 >conftest.err
16904 rm -f conftest.er1
16905 cat conftest.err >&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try='test -z "$ac_c_werror_flag"
16909 || test ! -s conftest.err'
16910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16911 (eval $ac_try) 2>&5
16912 ac_status=$?
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); }; } &&
16915 { ac_try='test -s conftest.$ac_objext'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16918 ac_status=$?
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; }; then
16921 ac_cv_type_voidp=yes
16922 else
16923 echo "$as_me: failed program was:" >&5
16924 sed 's/^/| /' conftest.$ac_ext >&5
16925
16926 ac_cv_type_voidp=no
16927 fi
16928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16929 fi
16930 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
16931 echo "${ECHO_T}$ac_cv_type_voidp" >&6
16932
16933 echo "$as_me:$LINENO: checking size of void*" >&5
16934 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
16935 if test "${ac_cv_sizeof_voidp+set}" = set; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16937 else
16938 if test "$ac_cv_type_voidp" = yes; then
16939 # The cast to unsigned long works around a bug in the HP C Compiler
16940 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16941 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16942 # This bug is HP SR number 8606223364.
16943 if test "$cross_compiling" = yes; then
16944 # Depending upon the size, compute the lo and hi bounds.
16945 cat >conftest.$ac_ext <<_ACEOF
16946 /* confdefs.h. */
16947 _ACEOF
16948 cat confdefs.h >>conftest.$ac_ext
16949 cat >>conftest.$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 $ac_includes_default
16952 int
16953 main ()
16954 {
16955 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
16956 test_array [0] = 0
16957
16958 ;
16959 return 0;
16960 }
16961 _ACEOF
16962 rm -f conftest.$ac_objext
16963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16964 (eval $ac_compile) 2>conftest.er1
16965 ac_status=$?
16966 grep -v '^ *+' conftest.er1 >conftest.err
16967 rm -f conftest.er1
16968 cat conftest.err >&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try='test -z "$ac_c_werror_flag"
16972 || test ! -s conftest.err'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16974 (eval $ac_try) 2>&5
16975 ac_status=$?
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; } &&
16978 { ac_try='test -s conftest.$ac_objext'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16981 ac_status=$?
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; }; then
16984 ac_lo=0 ac_mid=0
16985 while :; do
16986 cat >conftest.$ac_ext <<_ACEOF
16987 /* confdefs.h. */
16988 _ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16993 int
16994 main ()
16995 {
16996 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
16997 test_array [0] = 0
16998
16999 ;
17000 return 0;
17001 }
17002 _ACEOF
17003 rm -f conftest.$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17006 ac_status=$?
17007 grep -v '^ *+' conftest.er1 >conftest.err
17008 rm -f conftest.er1
17009 cat conftest.err >&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try='test -z "$ac_c_werror_flag"
17013 || test ! -s conftest.err'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17016 ac_status=$?
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; } &&
17019 { ac_try='test -s conftest.$ac_objext'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17022 ac_status=$?
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; }; then
17025 ac_hi=$ac_mid; break
17026 else
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.$ac_ext >&5
17029
17030 ac_lo=`expr $ac_mid + 1`
17031 if test $ac_lo -le $ac_mid; then
17032 ac_lo= ac_hi=
17033 break
17034 fi
17035 ac_mid=`expr 2 '*' $ac_mid + 1`
17036 fi
17037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17038 done
17039 else
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17042
17043 cat >conftest.$ac_ext <<_ACEOF
17044 /* confdefs.h. */
17045 _ACEOF
17046 cat confdefs.h >>conftest.$ac_ext
17047 cat >>conftest.$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17049 $ac_includes_default
17050 int
17051 main ()
17052 {
17053 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
17054 test_array [0] = 0
17055
17056 ;
17057 return 0;
17058 }
17059 _ACEOF
17060 rm -f conftest.$ac_objext
17061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17062 (eval $ac_compile) 2>conftest.er1
17063 ac_status=$?
17064 grep -v '^ *+' conftest.er1 >conftest.err
17065 rm -f conftest.er1
17066 cat conftest.err >&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } &&
17069 { ac_try='test -z "$ac_c_werror_flag"
17070 || test ! -s conftest.err'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17073 ac_status=$?
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; } &&
17076 { ac_try='test -s conftest.$ac_objext'
17077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17078 (eval $ac_try) 2>&5
17079 ac_status=$?
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; }; then
17082 ac_hi=-1 ac_mid=-1
17083 while :; do
17084 cat >conftest.$ac_ext <<_ACEOF
17085 /* confdefs.h. */
17086 _ACEOF
17087 cat confdefs.h >>conftest.$ac_ext
17088 cat >>conftest.$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17090 $ac_includes_default
17091 int
17092 main ()
17093 {
17094 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
17095 test_array [0] = 0
17096
17097 ;
17098 return 0;
17099 }
17100 _ACEOF
17101 rm -f conftest.$ac_objext
17102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17103 (eval $ac_compile) 2>conftest.er1
17104 ac_status=$?
17105 grep -v '^ *+' conftest.er1 >conftest.err
17106 rm -f conftest.er1
17107 cat conftest.err >&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } &&
17110 { ac_try='test -z "$ac_c_werror_flag"
17111 || test ! -s conftest.err'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17114 ac_status=$?
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; } &&
17117 { ac_try='test -s conftest.$ac_objext'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17120 ac_status=$?
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; }; then
17123 ac_lo=$ac_mid; break
17124 else
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.$ac_ext >&5
17127
17128 ac_hi=`expr '(' $ac_mid ')' - 1`
17129 if test $ac_mid -le $ac_hi; then
17130 ac_lo= ac_hi=
17131 break
17132 fi
17133 ac_mid=`expr 2 '*' $ac_mid`
17134 fi
17135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17136 done
17137 else
17138 echo "$as_me: failed program was:" >&5
17139 sed 's/^/| /' conftest.$ac_ext >&5
17140
17141 ac_lo= ac_hi=
17142 fi
17143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17144 fi
17145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17146 # Binary search between lo and hi bounds.
17147 while test "x$ac_lo" != "x$ac_hi"; do
17148 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17149 cat >conftest.$ac_ext <<_ACEOF
17150 /* confdefs.h. */
17151 _ACEOF
17152 cat confdefs.h >>conftest.$ac_ext
17153 cat >>conftest.$ac_ext <<_ACEOF
17154 /* end confdefs.h. */
17155 $ac_includes_default
17156 int
17157 main ()
17158 {
17159 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
17160 test_array [0] = 0
17161
17162 ;
17163 return 0;
17164 }
17165 _ACEOF
17166 rm -f conftest.$ac_objext
17167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17168 (eval $ac_compile) 2>conftest.er1
17169 ac_status=$?
17170 grep -v '^ *+' conftest.er1 >conftest.err
17171 rm -f conftest.er1
17172 cat conftest.err >&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } &&
17175 { ac_try='test -z "$ac_c_werror_flag"
17176 || test ! -s conftest.err'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17179 ac_status=$?
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; } &&
17182 { ac_try='test -s conftest.$ac_objext'
17183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17184 (eval $ac_try) 2>&5
17185 ac_status=$?
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); }; }; then
17188 ac_hi=$ac_mid
17189 else
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17192
17193 ac_lo=`expr '(' $ac_mid ')' + 1`
17194 fi
17195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17196 done
17197 case $ac_lo in
17198 ?*) ac_cv_sizeof_voidp=$ac_lo;;
17199 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17200 See \`config.log' for more details." >&5
17201 echo "$as_me: error: cannot compute sizeof (void*), 77
17202 See \`config.log' for more details." >&2;}
17203 { (exit 1); exit 1; }; } ;;
17204 esac
17205 else
17206 if test "$cross_compiling" = yes; then
17207 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17208 See \`config.log' for more details." >&5
17209 echo "$as_me: error: cannot run test program while cross compiling
17210 See \`config.log' for more details." >&2;}
17211 { (exit 1); exit 1; }; }
17212 else
17213 cat >conftest.$ac_ext <<_ACEOF
17214 /* confdefs.h. */
17215 _ACEOF
17216 cat confdefs.h >>conftest.$ac_ext
17217 cat >>conftest.$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17219 $ac_includes_default
17220 long longval () { return (long) (sizeof (void*)); }
17221 unsigned long ulongval () { return (long) (sizeof (void*)); }
17222 #include <stdio.h>
17223 #include <stdlib.h>
17224 int
17225 main ()
17226 {
17227
17228 FILE *f = fopen ("conftest.val", "w");
17229 if (! f)
17230 exit (1);
17231 if (((long) (sizeof (void*))) < 0)
17232 {
17233 long i = longval ();
17234 if (i != ((long) (sizeof (void*))))
17235 exit (1);
17236 fprintf (f, "%ld\n", i);
17237 }
17238 else
17239 {
17240 unsigned long i = ulongval ();
17241 if (i != ((long) (sizeof (void*))))
17242 exit (1);
17243 fprintf (f, "%lu\n", i);
17244 }
17245 exit (ferror (f) || fclose (f) != 0);
17246
17247 ;
17248 return 0;
17249 }
17250 _ACEOF
17251 rm -f conftest$ac_exeext
17252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17253 (eval $ac_link) 2>&5
17254 ac_status=$?
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17259 ac_status=$?
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; }; then
17262 ac_cv_sizeof_voidp=`cat conftest.val`
17263 else
17264 echo "$as_me: program exited with status $ac_status" >&5
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17267
17268 ( exit $ac_status )
17269 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17270 See \`config.log' for more details." >&5
17271 echo "$as_me: error: cannot compute sizeof (void*), 77
17272 See \`config.log' for more details." >&2;}
17273 { (exit 1); exit 1; }; }
17274 fi
17275 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17276 fi
17277 fi
17278 rm -f conftest.val
17279 else
17280 ac_cv_sizeof_voidp=0
17281 fi
17282 fi
17283 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
17284 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
17285 cat >>confdefs.h <<_ACEOF
17286 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
17287 _ACEOF
17288
17289
17290 ac_cv_char_data_model=""
17291 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
17292 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
17293 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
17294 ac_cv_long_data_model=""
17295 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
17296 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
17297 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
17298 echo "$as_me:$LINENO: checking data model" >&5
17299 echo $ECHO_N "checking data model... $ECHO_C" >&6
17300 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
17301 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
17302 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
17303 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
17304 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
17305 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
17306 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
17307 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
17308 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
17309 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
17310 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
17311 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
17312 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
17313 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
17314 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
17315 222/*|333/*|444/*|666/*|888/*) :
17316 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
17317 *) ac_cv_data_model="none" ; n="very unusual model" ;;
17318 esac
17319 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
17320 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
17321
17322 fi
17323
17324 if test "_$ac_cv_header_stdint_x" != "_" ; then
17325 ac_cv_header_stdint="$ac_cv_header_stdint_x"
17326 elif test "_$ac_cv_header_stdint_o" != "_" ; then
17327 ac_cv_header_stdint="$ac_cv_header_stdint_o"
17328 elif test "_$ac_cv_header_stdint_u" != "_" ; then
17329 ac_cv_header_stdint="$ac_cv_header_stdint_u"
17330 else
17331 ac_cv_header_stdint="stddef.h"
17332 fi
17333
17334 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
17335 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
17336 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
17337 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
17338 unset ac_cv_type_int_least32_t
17339 unset ac_cv_type_int_fast32_t
17340 echo "$as_me:$LINENO: checking for int_least32_t" >&5
17341 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
17342 if test "${ac_cv_type_int_least32_t+set}" = set; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17344 else
17345 cat >conftest.$ac_ext <<_ACEOF
17346 /* confdefs.h. */
17347 _ACEOF
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 #include <$ac_cv_header_stdint>
17352
17353 int
17354 main ()
17355 {
17356 if ((int_least32_t *) 0)
17357 return 0;
17358 if (sizeof (int_least32_t))
17359 return 0;
17360 ;
17361 return 0;
17362 }
17363 _ACEOF
17364 rm -f conftest.$ac_objext
17365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17366 (eval $ac_compile) 2>conftest.er1
17367 ac_status=$?
17368 grep -v '^ *+' conftest.er1 >conftest.err
17369 rm -f conftest.er1
17370 cat conftest.err >&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } &&
17373 { ac_try='test -z "$ac_c_werror_flag"
17374 || test ! -s conftest.err'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17377 ac_status=$?
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; } &&
17380 { ac_try='test -s conftest.$ac_objext'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17383 ac_status=$?
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; }; then
17386 ac_cv_type_int_least32_t=yes
17387 else
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.$ac_ext >&5
17390
17391 ac_cv_type_int_least32_t=no
17392 fi
17393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17394 fi
17395 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
17396 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
17397
17398 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
17399 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
17400 if test "${ac_cv_type_int_fast32_t+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 else
17403 cat >conftest.$ac_ext <<_ACEOF
17404 /* confdefs.h. */
17405 _ACEOF
17406 cat confdefs.h >>conftest.$ac_ext
17407 cat >>conftest.$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17409 #include<$ac_cv_header_stdint>
17410
17411 int
17412 main ()
17413 {
17414 if ((int_fast32_t *) 0)
17415 return 0;
17416 if (sizeof (int_fast32_t))
17417 return 0;
17418 ;
17419 return 0;
17420 }
17421 _ACEOF
17422 rm -f conftest.$ac_objext
17423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17424 (eval $ac_compile) 2>conftest.er1
17425 ac_status=$?
17426 grep -v '^ *+' conftest.er1 >conftest.err
17427 rm -f conftest.er1
17428 cat conftest.err >&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); } &&
17431 { ac_try='test -z "$ac_c_werror_flag"
17432 || test ! -s conftest.err'
17433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17434 (eval $ac_try) 2>&5
17435 ac_status=$?
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); }; } &&
17438 { ac_try='test -s conftest.$ac_objext'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17441 ac_status=$?
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; }; then
17444 ac_cv_type_int_fast32_t=yes
17445 else
17446 echo "$as_me: failed program was:" >&5
17447 sed 's/^/| /' conftest.$ac_ext >&5
17448
17449 ac_cv_type_int_fast32_t=no
17450 fi
17451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17452 fi
17453 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
17454 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
17455
17456 echo "$as_me:$LINENO: checking for intmax_t" >&5
17457 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
17458 if test "${ac_cv_type_intmax_t+set}" = set; then
17459 echo $ECHO_N "(cached) $ECHO_C" >&6
17460 else
17461 cat >conftest.$ac_ext <<_ACEOF
17462 /* confdefs.h. */
17463 _ACEOF
17464 cat confdefs.h >>conftest.$ac_ext
17465 cat >>conftest.$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17467 #include <$ac_cv_header_stdint>
17468
17469 int
17470 main ()
17471 {
17472 if ((intmax_t *) 0)
17473 return 0;
17474 if (sizeof (intmax_t))
17475 return 0;
17476 ;
17477 return 0;
17478 }
17479 _ACEOF
17480 rm -f conftest.$ac_objext
17481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17482 (eval $ac_compile) 2>conftest.er1
17483 ac_status=$?
17484 grep -v '^ *+' conftest.er1 >conftest.err
17485 rm -f conftest.er1
17486 cat conftest.err >&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } &&
17489 { ac_try='test -z "$ac_c_werror_flag"
17490 || test ! -s conftest.err'
17491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17492 (eval $ac_try) 2>&5
17493 ac_status=$?
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); }; } &&
17496 { ac_try='test -s conftest.$ac_objext'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17499 ac_status=$?
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; }; then
17502 ac_cv_type_intmax_t=yes
17503 else
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.$ac_ext >&5
17506
17507 ac_cv_type_intmax_t=no
17508 fi
17509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17510 fi
17511 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
17512 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
17513
17514
17515 fi # shortcircut to system "stdint.h"
17516 # ------------------ PREPARE VARIABLES ------------------------------
17517 if test "$GCC" = "yes" ; then
17518 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
17519 else
17520 ac_cv_stdint_message="using $CC"
17521 fi
17522
17523 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
17524 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
17525
17526 # ----------------- DONE inttypes.h checks START header -------------
17527 ac_config_commands="$ac_config_commands $ac_stdint_h"
17528
17529
17530
17531
17532 # Check whether --with-glibj_zip or --without-glibj_zip was given.
17533 if test "${with_glibj_zip+set}" = set; then
17534 withval="$with_glibj_zip"
17535
17536 fi;
17537
17538 case "$with_glibj_zip" in
17539 "")
17540 use_glibj_zip=false
17541 ;;
17542 "no" )
17543 use_glibj_zip=false
17544 ;;
17545 "yes")
17546 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
17547 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
17548 { (exit 1); exit 1; }; }
17549 ;;
17550 *)
17551 use_glibj_zip=true
17552 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
17553 ;;
17554 esac;
17555
17556
17557
17558 if test x$use_glibj_zip = xtrue; then
17559 USE_PREBUILT_GLIBJ_ZIP_TRUE=
17560 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
17561 else
17562 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
17563 USE_PREBUILT_GLIBJ_ZIP_FALSE=
17564 fi
17565
17566
17567
17568
17569 # Check whether --enable-local-sockets or --disable-local-sockets was given.
17570 if test "${enable_local_sockets+set}" = set; then
17571 enableval="$enable_local_sockets"
17572 case "${enableval}" in
17573 yes)
17574 ENABLE_LOCAL_SOCKETS=yes
17575 ;;
17576 *)
17577 ENABLE_LOCAL_SOCKETS=no
17578 ;;
17579 esac
17580 fi;
17581 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
17582 then
17583 if test "${ac_cv_header_sys_un_h+set}" = set; then
17584 echo "$as_me:$LINENO: checking for sys/un.h" >&5
17585 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
17586 if test "${ac_cv_header_sys_un_h+set}" = set; then
17587 echo $ECHO_N "(cached) $ECHO_C" >&6
17588 fi
17589 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
17590 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
17591 else
17592 # Is the header compilable?
17593 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
17594 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
17595 cat >conftest.$ac_ext <<_ACEOF
17596 /* confdefs.h. */
17597 _ACEOF
17598 cat confdefs.h >>conftest.$ac_ext
17599 cat >>conftest.$ac_ext <<_ACEOF
17600 /* end confdefs.h. */
17601 $ac_includes_default
17602 #include <sys/un.h>
17603 _ACEOF
17604 rm -f conftest.$ac_objext
17605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17606 (eval $ac_compile) 2>conftest.er1
17607 ac_status=$?
17608 grep -v '^ *+' conftest.er1 >conftest.err
17609 rm -f conftest.er1
17610 cat conftest.err >&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); } &&
17613 { ac_try='test -z "$ac_c_werror_flag"
17614 || test ! -s conftest.err'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17617 ac_status=$?
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; } &&
17620 { ac_try='test -s conftest.$ac_objext'
17621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622 (eval $ac_try) 2>&5
17623 ac_status=$?
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; }; then
17626 ac_header_compiler=yes
17627 else
17628 echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.$ac_ext >&5
17630
17631 ac_header_compiler=no
17632 fi
17633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17635 echo "${ECHO_T}$ac_header_compiler" >&6
17636
17637 # Is the header present?
17638 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
17639 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
17640 cat >conftest.$ac_ext <<_ACEOF
17641 /* confdefs.h. */
17642 _ACEOF
17643 cat confdefs.h >>conftest.$ac_ext
17644 cat >>conftest.$ac_ext <<_ACEOF
17645 /* end confdefs.h. */
17646 #include <sys/un.h>
17647 _ACEOF
17648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17649 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17650 ac_status=$?
17651 grep -v '^ *+' conftest.er1 >conftest.err
17652 rm -f conftest.er1
17653 cat conftest.err >&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); } >/dev/null; then
17656 if test -s conftest.err; then
17657 ac_cpp_err=$ac_c_preproc_warn_flag
17658 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17659 else
17660 ac_cpp_err=
17661 fi
17662 else
17663 ac_cpp_err=yes
17664 fi
17665 if test -z "$ac_cpp_err"; then
17666 ac_header_preproc=yes
17667 else
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.$ac_ext >&5
17670
17671 ac_header_preproc=no
17672 fi
17673 rm -f conftest.err conftest.$ac_ext
17674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17675 echo "${ECHO_T}$ac_header_preproc" >&6
17676
17677 # So? What about this header?
17678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17679 yes:no: )
17680 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
17681 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17682 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
17683 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
17684 ac_header_preproc=yes
17685 ;;
17686 no:yes:* )
17687 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
17688 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
17689 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
17690 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
17691 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
17692 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
17693 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
17694 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
17695 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
17696 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
17697 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
17698 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
17699 (
17700 cat <<\_ASBOX
17701 ## -------------------------------- ##
17702 ## Report this to classpath@gnu.org ##
17703 ## -------------------------------- ##
17704 _ASBOX
17705 ) |
17706 sed "s/^/$as_me: WARNING: /" >&2
17707 ;;
17708 esac
17709 echo "$as_me:$LINENO: checking for sys/un.h" >&5
17710 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
17711 if test "${ac_cv_header_sys_un_h+set}" = set; then
17712 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 else
17714 ac_cv_header_sys_un_h=$ac_header_preproc
17715 fi
17716 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
17717 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
17718
17719 fi
17720
17721
17722
17723
17724
17725
17726
17727
17728 for ac_func in read write bind listen accept shutdown
17729 do
17730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17731 echo "$as_me:$LINENO: checking for $ac_func" >&5
17732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17733 if eval "test \"\${$as_ac_var+set}\" = set"; then
17734 echo $ECHO_N "(cached) $ECHO_C" >&6
17735 else
17736 cat >conftest.$ac_ext <<_ACEOF
17737 /* confdefs.h. */
17738 _ACEOF
17739 cat confdefs.h >>conftest.$ac_ext
17740 cat >>conftest.$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17744 #define $ac_func innocuous_$ac_func
17745
17746 /* System header to define __stub macros and hopefully few prototypes,
17747 which can conflict with char $ac_func (); below.
17748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17749 <limits.h> exists even on freestanding compilers. */
17750
17751 #ifdef __STDC__
17752 # include <limits.h>
17753 #else
17754 # include <assert.h>
17755 #endif
17756
17757 #undef $ac_func
17758
17759 /* Override any gcc2 internal prototype to avoid an error. */
17760 #ifdef __cplusplus
17761 extern "C"
17762 {
17763 #endif
17764 /* We use char because int might match the return type of a gcc2
17765 builtin and then its argument prototype would still apply. */
17766 char $ac_func ();
17767 /* The GNU C library defines this for functions which it implements
17768 to always fail with ENOSYS. Some functions are actually named
17769 something starting with __ and the normal name is an alias. */
17770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17771 choke me
17772 #else
17773 char (*f) () = $ac_func;
17774 #endif
17775 #ifdef __cplusplus
17776 }
17777 #endif
17778
17779 int
17780 main ()
17781 {
17782 return f != $ac_func;
17783 ;
17784 return 0;
17785 }
17786 _ACEOF
17787 rm -f conftest.$ac_objext conftest$ac_exeext
17788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17789 (eval $ac_link) 2>conftest.er1
17790 ac_status=$?
17791 grep -v '^ *+' conftest.er1 >conftest.err
17792 rm -f conftest.er1
17793 cat conftest.err >&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); } &&
17796 { ac_try='test -z "$ac_c_werror_flag"
17797 || test ! -s conftest.err'
17798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17799 (eval $ac_try) 2>&5
17800 ac_status=$?
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); }; } &&
17803 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17809 eval "$as_ac_var=yes"
17810 else
17811 echo "$as_me: failed program was:" >&5
17812 sed 's/^/| /' conftest.$ac_ext >&5
17813
17814 eval "$as_ac_var=no"
17815 fi
17816 rm -f conftest.err conftest.$ac_objext \
17817 conftest$ac_exeext conftest.$ac_ext
17818 fi
17819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17821 if test `eval echo '${'$as_ac_var'}'` = yes; then
17822 cat >>confdefs.h <<_ACEOF
17823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17824 _ACEOF
17825
17826 else
17827 { { echo "$as_me:$LINENO: error: networking support not available" >&5
17828 echo "$as_me: error: networking support not available" >&2;}
17829 { (exit 1); exit 1; }; }
17830 fi
17831 done
17832
17833
17834 cat >>confdefs.h <<\_ACEOF
17835 #define ENABLE_LOCAL_SOCKETS 1
17836 _ACEOF
17837
17838 fi
17839
17840
17841 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
17842 ENABLE_LOCAL_SOCKETS_TRUE=
17843 ENABLE_LOCAL_SOCKETS_FALSE='#'
17844 else
17845 ENABLE_LOCAL_SOCKETS_TRUE='#'
17846 ENABLE_LOCAL_SOCKETS_FALSE=
17847 fi
17848
17849
17850
17851 ac_config_files="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile gnu/classpath/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/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/target/Makefile native/target/Linux/Makefile native/target/generic/Makefile resource/Makefile scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh tools/Makefile tools/jarsigner.sh tools/keytool.sh examples/Makefile examples/Makefile.jawt"
17852
17853 ac_config_commands="$ac_config_commands gen-classlist"
17854
17855 ac_config_commands="$ac_config_commands copy-vmresources"
17856
17857 cat >confcache <<\_ACEOF
17858 # This file is a shell script that caches the results of configure
17859 # tests run on this system so they can be shared between configure
17860 # scripts and configure runs, see configure's option --config-cache.
17861 # It is not useful on other systems. If it contains results you don't
17862 # want to keep, you may remove or edit it.
17863 #
17864 # config.status only pays attention to the cache file if you give it
17865 # the --recheck option to rerun configure.
17866 #
17867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17869 # following values.
17870
17871 _ACEOF
17872
17873 # The following way of writing the cache mishandles newlines in values,
17874 # but we know of no workaround that is simple, portable, and efficient.
17875 # So, don't put newlines in cache variables' values.
17876 # Ultrix sh set writes to stderr and can't be redirected directly,
17877 # and sets the high bit in the cache file unless we assign to the vars.
17878 {
17879 (set) 2>&1 |
17880 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17881 *ac_space=\ *)
17882 # `set' does not quote correctly, so add quotes (double-quote
17883 # substitution turns \\\\ into \\, and sed turns \\ into \).
17884 sed -n \
17885 "s/'/'\\\\''/g;
17886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17887 ;;
17888 *)
17889 # `set' quotes correctly as required by POSIX, so do not add quotes.
17890 sed -n \
17891 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17892 ;;
17893 esac;
17894 } |
17895 sed '
17896 t clear
17897 : clear
17898 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17899 t end
17900 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17901 : end' >>confcache
17902 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17903 if test -w $cache_file; then
17904 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17905 cat confcache >$cache_file
17906 else
17907 echo "not updating unwritable cache $cache_file"
17908 fi
17909 fi
17910 rm -f confcache
17911
17912 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17913 # Let make expand exec_prefix.
17914 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17915
17916 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17917 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17918 # trailing colons and then remove the whole line if VPATH becomes empty
17919 # (actually we leave an empty line to preserve line numbers).
17920 if test "x$srcdir" = x.; then
17921 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17922 s/:*\$(srcdir):*/:/;
17923 s/:*\${srcdir}:*/:/;
17924 s/:*@srcdir@:*/:/;
17925 s/^\([^=]*=[ ]*\):*/\1/;
17926 s/:*$//;
17927 s/^[^=]*=[ ]*$//;
17928 }'
17929 fi
17930
17931 DEFS=-DHAVE_CONFIG_H
17932
17933 ac_libobjs=
17934 ac_ltlibobjs=
17935 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17936 # 1. Remove the extension, and $U if already installed.
17937 ac_i=`echo "$ac_i" |
17938 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17939 # 2. Add them.
17940 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
17941 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
17942 done
17943 LIBOBJS=$ac_libobjs
17944
17945 LTLIBOBJS=$ac_ltlibobjs
17946
17947
17948 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
17949 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
17950 Usually this means the macro was only invoked conditionally." >&5
17951 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
17952 Usually this means the macro was only invoked conditionally." >&2;}
17953 { (exit 1); exit 1; }; }
17954 fi
17955 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
17956 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
17957 Usually this means the macro was only invoked conditionally." >&5
17958 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
17959 Usually this means the macro was only invoked conditionally." >&2;}
17960 { (exit 1); exit 1; }; }
17961 fi
17962 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
17963 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
17964 Usually this means the macro was only invoked conditionally." >&5
17965 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
17966 Usually this means the macro was only invoked conditionally." >&2;}
17967 { (exit 1); exit 1; }; }
17968 fi
17969 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
17970 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
17971 Usually this means the macro was only invoked conditionally." >&5
17972 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
17973 Usually this means the macro was only invoked conditionally." >&2;}
17974 { (exit 1); exit 1; }; }
17975 fi
17976 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17977 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17978 Usually this means the macro was only invoked conditionally." >&5
17979 echo "$as_me: error: conditional \"AMDEP\" was never defined.
17980 Usually this means the macro was only invoked conditionally." >&2;}
17981 { (exit 1); exit 1; }; }
17982 fi
17983 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17984 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17985 Usually this means the macro was only invoked conditionally." >&5
17986 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17987 Usually this means the macro was only invoked conditionally." >&2;}
17988 { (exit 1); exit 1; }; }
17989 fi
17990 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
17991 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
17992 Usually this means the macro was only invoked conditionally." >&5
17993 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
17994 Usually this means the macro was only invoked conditionally." >&2;}
17995 { (exit 1); exit 1; }; }
17996 fi
17997 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
17998 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
17999 Usually this means the macro was only invoked conditionally." >&5
18000 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
18001 Usually this means the macro was only invoked conditionally." >&2;}
18002 { (exit 1); exit 1; }; }
18003 fi
18004 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
18005 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
18006 Usually this means the macro was only invoked conditionally." >&5
18007 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
18008 Usually this means the macro was only invoked conditionally." >&2;}
18009 { (exit 1); exit 1; }; }
18010 fi
18011 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
18012 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
18013 Usually this means the macro was only invoked conditionally." >&5
18014 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
18015 Usually this means the macro was only invoked conditionally." >&2;}
18016 { (exit 1); exit 1; }; }
18017 fi
18018 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
18019 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
18020 Usually this means the macro was only invoked conditionally." >&5
18021 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
18022 Usually this means the macro was only invoked conditionally." >&2;}
18023 { (exit 1); exit 1; }; }
18024 fi
18025 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
18026 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
18027 Usually this means the macro was only invoked conditionally." >&5
18028 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
18029 Usually this means the macro was only invoked conditionally." >&2;}
18030 { (exit 1); exit 1; }; }
18031 fi
18032 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18033 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18034 Usually this means the macro was only invoked conditionally." >&5
18035 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18036 Usually this means the macro was only invoked conditionally." >&2;}
18037 { (exit 1); exit 1; }; }
18038 fi
18039 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18040 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18041 Usually this means the macro was only invoked conditionally." >&5
18042 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18043 Usually this means the macro was only invoked conditionally." >&2;}
18044 { (exit 1); exit 1; }; }
18045 fi
18046 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
18047 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
18048 Usually this means the macro was only invoked conditionally." >&5
18049 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
18050 Usually this means the macro was only invoked conditionally." >&2;}
18051 { (exit 1); exit 1; }; }
18052 fi
18053 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
18054 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
18055 Usually this means the macro was only invoked conditionally." >&5
18056 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
18057 Usually this means the macro was only invoked conditionally." >&2;}
18058 { (exit 1); exit 1; }; }
18059 fi
18060 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
18061 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
18062 Usually this means the macro was only invoked conditionally." >&5
18063 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
18064 Usually this means the macro was only invoked conditionally." >&2;}
18065 { (exit 1); exit 1; }; }
18066 fi
18067 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
18068 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
18069 Usually this means the macro was only invoked conditionally." >&5
18070 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
18071 Usually this means the macro was only invoked conditionally." >&2;}
18072 { (exit 1); exit 1; }; }
18073 fi
18074 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
18075 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
18076 Usually this means the macro was only invoked conditionally." >&5
18077 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
18078 Usually this means the macro was only invoked conditionally." >&2;}
18079 { (exit 1); exit 1; }; }
18080 fi
18081 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
18082 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
18083 Usually this means the macro was only invoked conditionally." >&5
18084 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
18085 Usually this means the macro was only invoked conditionally." >&2;}
18086 { (exit 1); exit 1; }; }
18087 fi
18088 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
18089 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
18090 Usually this means the macro was only invoked conditionally." >&5
18091 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
18092 Usually this means the macro was only invoked conditionally." >&2;}
18093 { (exit 1); exit 1; }; }
18094 fi
18095 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
18096 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
18097 Usually this means the macro was only invoked conditionally." >&5
18098 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
18099 Usually this means the macro was only invoked conditionally." >&2;}
18100 { (exit 1); exit 1; }; }
18101 fi
18102 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
18103 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
18104 Usually this means the macro was only invoked conditionally." >&5
18105 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
18106 Usually this means the macro was only invoked conditionally." >&2;}
18107 { (exit 1); exit 1; }; }
18108 fi
18109 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
18110 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
18111 Usually this means the macro was only invoked conditionally." >&5
18112 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
18113 Usually this means the macro was only invoked conditionally." >&2;}
18114 { (exit 1); exit 1; }; }
18115 fi
18116 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18117 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
18118 Usually this means the macro was only invoked conditionally." >&5
18119 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
18120 Usually this means the macro was only invoked conditionally." >&2;}
18121 { (exit 1); exit 1; }; }
18122 fi
18123 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
18124 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
18125 Usually this means the macro was only invoked conditionally." >&5
18126 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
18127 Usually this means the macro was only invoked conditionally." >&2;}
18128 { (exit 1); exit 1; }; }
18129 fi
18130 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
18131 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
18132 Usually this means the macro was only invoked conditionally." >&5
18133 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
18134 Usually this means the macro was only invoked conditionally." >&2;}
18135 { (exit 1); exit 1; }; }
18136 fi
18137 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
18138 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
18139 Usually this means the macro was only invoked conditionally." >&5
18140 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
18141 Usually this means the macro was only invoked conditionally." >&2;}
18142 { (exit 1); exit 1; }; }
18143 fi
18144 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
18145 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
18146 Usually this means the macro was only invoked conditionally." >&5
18147 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
18148 Usually this means the macro was only invoked conditionally." >&2;}
18149 { (exit 1); exit 1; }; }
18150 fi
18151 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
18152 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
18153 Usually this means the macro was only invoked conditionally." >&5
18154 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
18155 Usually this means the macro was only invoked conditionally." >&2;}
18156 { (exit 1); exit 1; }; }
18157 fi
18158 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
18159 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
18160 Usually this means the macro was only invoked conditionally." >&5
18161 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
18162 Usually this means the macro was only invoked conditionally." >&2;}
18163 { (exit 1); exit 1; }; }
18164 fi
18165 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
18166 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
18167 Usually this means the macro was only invoked conditionally." >&5
18168 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
18169 Usually this means the macro was only invoked conditionally." >&2;}
18170 { (exit 1); exit 1; }; }
18171 fi
18172
18173 : ${CONFIG_STATUS=./config.status}
18174 ac_clean_files_save=$ac_clean_files
18175 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18176 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18177 echo "$as_me: creating $CONFIG_STATUS" >&6;}
18178 cat >$CONFIG_STATUS <<_ACEOF
18179 #! $SHELL
18180 # Generated by $as_me.
18181 # Run this file to recreate the current configuration.
18182 # Compiler output produced by configure, useful for debugging
18183 # configure, is in config.log if it exists.
18184
18185 debug=false
18186 ac_cs_recheck=false
18187 ac_cs_silent=false
18188 SHELL=\${CONFIG_SHELL-$SHELL}
18189 _ACEOF
18190
18191 cat >>$CONFIG_STATUS <<\_ACEOF
18192 ## --------------------- ##
18193 ## M4sh Initialization. ##
18194 ## --------------------- ##
18195
18196 # Be Bourne compatible
18197 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18198 emulate sh
18199 NULLCMD=:
18200 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18201 # is contrary to our usage. Disable this feature.
18202 alias -g '${1+"$@"}'='"$@"'
18203 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
18204 set -o posix
18205 fi
18206 DUALCASE=1; export DUALCASE # for MKS sh
18207
18208 # Support unset when possible.
18209 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18210 as_unset=unset
18211 else
18212 as_unset=false
18213 fi
18214
18215
18216 # Work around bugs in pre-3.0 UWIN ksh.
18217 $as_unset ENV MAIL MAILPATH
18218 PS1='$ '
18219 PS2='> '
18220 PS4='+ '
18221
18222 # NLS nuisances.
18223 for as_var in \
18224 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
18225 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
18226 LC_TELEPHONE LC_TIME
18227 do
18228 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
18229 eval $as_var=C; export $as_var
18230 else
18231 $as_unset $as_var
18232 fi
18233 done
18234
18235 # Required to use basename.
18236 if expr a : '\(a\)' >/dev/null 2>&1; then
18237 as_expr=expr
18238 else
18239 as_expr=false
18240 fi
18241
18242 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
18243 as_basename=basename
18244 else
18245 as_basename=false
18246 fi
18247
18248
18249 # Name of the executable.
18250 as_me=`$as_basename "$0" ||
18251 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18252 X"$0" : 'X\(//\)$' \| \
18253 X"$0" : 'X\(/\)$' \| \
18254 . : '\(.\)' 2>/dev/null ||
18255 echo X/"$0" |
18256 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
18257 /^X\/\(\/\/\)$/{ s//\1/; q; }
18258 /^X\/\(\/\).*/{ s//\1/; q; }
18259 s/.*/./; q'`
18260
18261
18262 # PATH needs CR, and LINENO needs CR and PATH.
18263 # Avoid depending upon Character Ranges.
18264 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18265 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18266 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18267 as_cr_digits='0123456789'
18268 as_cr_alnum=$as_cr_Letters$as_cr_digits
18269
18270 # The user is always right.
18271 if test "${PATH_SEPARATOR+set}" != set; then
18272 echo "#! /bin/sh" >conf$$.sh
18273 echo "exit 0" >>conf$$.sh
18274 chmod +x conf$$.sh
18275 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18276 PATH_SEPARATOR=';'
18277 else
18278 PATH_SEPARATOR=:
18279 fi
18280 rm -f conf$$.sh
18281 fi
18282
18283
18284 as_lineno_1=$LINENO
18285 as_lineno_2=$LINENO
18286 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18287 test "x$as_lineno_1" != "x$as_lineno_2" &&
18288 test "x$as_lineno_3" = "x$as_lineno_2" || {
18289 # Find who we are. Look in the path if we contain no path at all
18290 # relative or not.
18291 case $0 in
18292 *[\\/]* ) as_myself=$0 ;;
18293 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18294 for as_dir in $PATH
18295 do
18296 IFS=$as_save_IFS
18297 test -z "$as_dir" && as_dir=.
18298 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18299 done
18300
18301 ;;
18302 esac
18303 # We did not find ourselves, most probably we were run as `sh COMMAND'
18304 # in which case we are not to be found in the path.
18305 if test "x$as_myself" = x; then
18306 as_myself=$0
18307 fi
18308 if test ! -f "$as_myself"; then
18309 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
18310 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
18311 { (exit 1); exit 1; }; }
18312 fi
18313 case $CONFIG_SHELL in
18314 '')
18315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18316 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
18317 do
18318 IFS=$as_save_IFS
18319 test -z "$as_dir" && as_dir=.
18320 for as_base in sh bash ksh sh5; do
18321 case $as_dir in
18322 /*)
18323 if ("$as_dir/$as_base" -c '
18324 as_lineno_1=$LINENO
18325 as_lineno_2=$LINENO
18326 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18327 test "x$as_lineno_1" != "x$as_lineno_2" &&
18328 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
18329 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
18330 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
18331 CONFIG_SHELL=$as_dir/$as_base
18332 export CONFIG_SHELL
18333 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
18334 fi;;
18335 esac
18336 done
18337 done
18338 ;;
18339 esac
18340
18341 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18342 # uniformly replaced by the line number. The first 'sed' inserts a
18343 # line-number line before each line; the second 'sed' does the real
18344 # work. The second script uses 'N' to pair each line-number line
18345 # with the numbered line, and appends trailing '-' during
18346 # substitution so that $LINENO is not a special case at line end.
18347 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18348 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
18349 sed '=' <$as_myself |
18350 sed '
18351 N
18352 s,$,-,
18353 : loop
18354 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
18355 t loop
18356 s,-$,,
18357 s,^['$as_cr_digits']*\n,,
18358 ' >$as_me.lineno &&
18359 chmod +x $as_me.lineno ||
18360 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
18361 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
18362 { (exit 1); exit 1; }; }
18363
18364 # Don't try to exec as it changes $[0], causing all sort of problems
18365 # (the dirname of $[0] is not the place where we might find the
18366 # original and so on. Autoconf is especially sensible to this).
18367 . ./$as_me.lineno
18368 # Exit status is that of the last command.
18369 exit
18370 }
18371
18372
18373 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18374 *c*,-n*) ECHO_N= ECHO_C='
18375 ' ECHO_T=' ' ;;
18376 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
18377 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
18378 esac
18379
18380 if expr a : '\(a\)' >/dev/null 2>&1; then
18381 as_expr=expr
18382 else
18383 as_expr=false
18384 fi
18385
18386 rm -f conf$$ conf$$.exe conf$$.file
18387 echo >conf$$.file
18388 if ln -s conf$$.file conf$$ 2>/dev/null; then
18389 # We could just check for DJGPP; but this test a) works b) is more generic
18390 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
18391 if test -f conf$$.exe; then
18392 # Don't use ln at all; we don't have any links
18393 as_ln_s='cp -p'
18394 else
18395 as_ln_s='ln -s'
18396 fi
18397 elif ln conf$$.file conf$$ 2>/dev/null; then
18398 as_ln_s=ln
18399 else
18400 as_ln_s='cp -p'
18401 fi
18402 rm -f conf$$ conf$$.exe conf$$.file
18403
18404 if mkdir -p . 2>/dev/null; then
18405 as_mkdir_p=:
18406 else
18407 test -d ./-p && rmdir ./-p
18408 as_mkdir_p=false
18409 fi
18410
18411 as_executable_p="test -f"
18412
18413 # Sed expression to map a string onto a valid CPP name.
18414 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18415
18416 # Sed expression to map a string onto a valid variable name.
18417 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18418
18419
18420 # IFS
18421 # We need space, tab and new line, in precisely that order.
18422 as_nl='
18423 '
18424 IFS=" $as_nl"
18425
18426 # CDPATH.
18427 $as_unset CDPATH
18428
18429 exec 6>&1
18430
18431 # Open the log real soon, to keep \$[0] and so on meaningful, and to
18432 # report actual input values of CONFIG_FILES etc. instead of their
18433 # values after options handling. Logging --version etc. is OK.
18434 exec 5>>config.log
18435 {
18436 echo
18437 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18438 ## Running $as_me. ##
18439 _ASBOX
18440 } >&5
18441 cat >&5 <<_CSEOF
18442
18443 This file was extended by GNU Classpath $as_me 0.91, which was
18444 generated by GNU Autoconf 2.59. Invocation command line was
18445
18446 CONFIG_FILES = $CONFIG_FILES
18447 CONFIG_HEADERS = $CONFIG_HEADERS
18448 CONFIG_LINKS = $CONFIG_LINKS
18449 CONFIG_COMMANDS = $CONFIG_COMMANDS
18450 $ $0 $@
18451
18452 _CSEOF
18453 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18454 echo >&5
18455 _ACEOF
18456
18457 # Files that config.status was made for.
18458 if test -n "$ac_config_files"; then
18459 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18460 fi
18461
18462 if test -n "$ac_config_headers"; then
18463 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18464 fi
18465
18466 if test -n "$ac_config_links"; then
18467 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18468 fi
18469
18470 if test -n "$ac_config_commands"; then
18471 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18472 fi
18473
18474 cat >>$CONFIG_STATUS <<\_ACEOF
18475
18476 ac_cs_usage="\
18477 \`$as_me' instantiates files from templates according to the
18478 current configuration.
18479
18480 Usage: $0 [OPTIONS] [FILE]...
18481
18482 -h, --help print this help, then exit
18483 -V, --version print version number, then exit
18484 -q, --quiet do not print progress messages
18485 -d, --debug don't remove temporary files
18486 --recheck update $as_me by reconfiguring in the same conditions
18487 --file=FILE[:TEMPLATE]
18488 instantiate the configuration file FILE
18489 --header=FILE[:TEMPLATE]
18490 instantiate the configuration header FILE
18491
18492 Configuration files:
18493 $config_files
18494
18495 Configuration headers:
18496 $config_headers
18497
18498 Configuration links:
18499 $config_links
18500
18501 Configuration commands:
18502 $config_commands
18503
18504 Report bugs to <bug-autoconf@gnu.org>."
18505 _ACEOF
18506
18507 cat >>$CONFIG_STATUS <<_ACEOF
18508 ac_cs_version="\\
18509 GNU Classpath config.status 0.91
18510 configured by $0, generated by GNU Autoconf 2.59,
18511 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18512
18513 Copyright (C) 2003 Free Software Foundation, Inc.
18514 This config.status script is free software; the Free Software Foundation
18515 gives unlimited permission to copy, distribute and modify it."
18516 srcdir=$srcdir
18517 INSTALL="$INSTALL"
18518 _ACEOF
18519
18520 cat >>$CONFIG_STATUS <<\_ACEOF
18521 # If no file are specified by the user, then we need to provide default
18522 # value. By we need to know if files were specified by the user.
18523 ac_need_defaults=:
18524 while test $# != 0
18525 do
18526 case $1 in
18527 --*=*)
18528 ac_option=`expr "x$1" : 'x\([^=]*\)='`
18529 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
18530 ac_shift=:
18531 ;;
18532 -*)
18533 ac_option=$1
18534 ac_optarg=$2
18535 ac_shift=shift
18536 ;;
18537 *) # This is not an option, so the user has probably given explicit
18538 # arguments.
18539 ac_option=$1
18540 ac_need_defaults=false;;
18541 esac
18542
18543 case $ac_option in
18544 # Handling of the options.
18545 _ACEOF
18546 cat >>$CONFIG_STATUS <<\_ACEOF
18547 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18548 ac_cs_recheck=: ;;
18549 --version | --vers* | -V )
18550 echo "$ac_cs_version"; exit 0 ;;
18551 --he | --h)
18552 # Conflict between --help and --header
18553 { { echo "$as_me:$LINENO: error: ambiguous option: $1
18554 Try \`$0 --help' for more information." >&5
18555 echo "$as_me: error: ambiguous option: $1
18556 Try \`$0 --help' for more information." >&2;}
18557 { (exit 1); exit 1; }; };;
18558 --help | --hel | -h )
18559 echo "$ac_cs_usage"; exit 0 ;;
18560 --debug | --d* | -d )
18561 debug=: ;;
18562 --file | --fil | --fi | --f )
18563 $ac_shift
18564 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
18565 ac_need_defaults=false;;
18566 --header | --heade | --head | --hea )
18567 $ac_shift
18568 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
18569 ac_need_defaults=false;;
18570 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18571 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18572 ac_cs_silent=: ;;
18573
18574 # This is an error.
18575 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18576 Try \`$0 --help' for more information." >&5
18577 echo "$as_me: error: unrecognized option: $1
18578 Try \`$0 --help' for more information." >&2;}
18579 { (exit 1); exit 1; }; } ;;
18580
18581 *) ac_config_targets="$ac_config_targets $1" ;;
18582
18583 esac
18584 shift
18585 done
18586
18587 ac_configure_extra_args=
18588
18589 if $ac_cs_silent; then
18590 exec 6>/dev/null
18591 ac_configure_extra_args="$ac_configure_extra_args --silent"
18592 fi
18593
18594 _ACEOF
18595 cat >>$CONFIG_STATUS <<_ACEOF
18596 if \$ac_cs_recheck; then
18597 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18598 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18599 fi
18600
18601 _ACEOF
18602
18603 cat >>$CONFIG_STATUS <<_ACEOF
18604 #
18605 # INIT-COMMANDS section.
18606 #
18607
18608 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18609 # variables for create stdint.h replacement
18610 PACKAGE="$PACKAGE"
18611 VERSION="$VERSION"
18612 ac_stdint_h="$ac_stdint_h"
18613 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
18614 ac_cv_stdint_message="$ac_cv_stdint_message"
18615 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
18616 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
18617 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
18618 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
18619 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
18620 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
18621 ac_cv_char_data_model="$ac_cv_char_data_model"
18622 ac_cv_long_data_model="$ac_cv_long_data_model"
18623 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
18624 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
18625 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
18626
18627
18628 _ACEOF
18629
18630
18631
18632 cat >>$CONFIG_STATUS <<\_ACEOF
18633 for ac_config_target in $ac_config_targets
18634 do
18635 case "$ac_config_target" in
18636 # Handling of arguments.
18637 "lib/mkcollections.pl" ) CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
18638 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18639 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18640 "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
18641 "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
18642 "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
18643 "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
18644 "external/relaxngDatatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
18645 "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
18646 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
18647 "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
18648 "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
18649 "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
18650 "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
18651 "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
18652 "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
18653 "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
18654 "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
18655 "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
18656 "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
18657 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
18658 "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
18659 "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
18660 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
18661 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
18662 "native/target/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/Makefile" ;;
18663 "native/target/Linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/Linux/Makefile" ;;
18664 "native/target/generic/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/generic/Makefile" ;;
18665 "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
18666 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
18667 "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
18668 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
18669 "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
18670 "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
18671 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
18672 "tools/jarsigner.sh" ) CONFIG_FILES="$CONFIG_FILES tools/jarsigner.sh" ;;
18673 "tools/keytool.sh" ) CONFIG_FILES="$CONFIG_FILES tools/keytool.sh" ;;
18674 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
18675 "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
18676 "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
18677 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18678 "mkcollections.pl" ) CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
18679 "$ac_stdint_h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
18680 "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
18681 "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
18682 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18683 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18684 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18685 { (exit 1); exit 1; }; };;
18686 esac
18687 done
18688
18689 # If the user did not use the arguments to specify the items to instantiate,
18690 # then the envvar interface is used. Set only those that are not.
18691 # We use the long form for the default assignment because of an extremely
18692 # bizarre bug on SunOS 4.1.3.
18693 if $ac_need_defaults; then
18694 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18695 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18696 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18697 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18698 fi
18699
18700 # Have a temporary directory for convenience. Make it in the build tree
18701 # simply because there is no reason to put it here, and in addition,
18702 # creating and moving files from /tmp can sometimes cause problems.
18703 # Create a temporary directory, and hook for its removal unless debugging.
18704 $debug ||
18705 {
18706 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18707 trap '{ (exit 1); exit 1; }' 1 2 13 15
18708 }
18709
18710 # Create a (secure) tmp directory for tmp files.
18711
18712 {
18713 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18714 test -n "$tmp" && test -d "$tmp"
18715 } ||
18716 {
18717 tmp=./confstat$$-$RANDOM
18718 (umask 077 && mkdir $tmp)
18719 } ||
18720 {
18721 echo "$me: cannot create a temporary directory in ." >&2
18722 { (exit 1); exit 1; }
18723 }
18724
18725 _ACEOF
18726
18727 cat >>$CONFIG_STATUS <<_ACEOF
18728
18729 #
18730 # CONFIG_FILES section.
18731 #
18732
18733 # No need to generate the scripts if there are no CONFIG_FILES.
18734 # This happens for instance when ./config.status config.h
18735 if test -n "\$CONFIG_FILES"; then
18736 # Protect against being on the right side of a sed subst in config.status.
18737 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18738 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18739 s,@SHELL@,$SHELL,;t t
18740 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18741 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18742 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18743 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18744 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18745 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18746 s,@exec_prefix@,$exec_prefix,;t t
18747 s,@prefix@,$prefix,;t t
18748 s,@program_transform_name@,$program_transform_name,;t t
18749 s,@bindir@,$bindir,;t t
18750 s,@sbindir@,$sbindir,;t t
18751 s,@libexecdir@,$libexecdir,;t t
18752 s,@datadir@,$datadir,;t t
18753 s,@sysconfdir@,$sysconfdir,;t t
18754 s,@sharedstatedir@,$sharedstatedir,;t t
18755 s,@localstatedir@,$localstatedir,;t t
18756 s,@libdir@,$libdir,;t t
18757 s,@includedir@,$includedir,;t t
18758 s,@oldincludedir@,$oldincludedir,;t t
18759 s,@infodir@,$infodir,;t t
18760 s,@mandir@,$mandir,;t t
18761 s,@build_alias@,$build_alias,;t t
18762 s,@host_alias@,$host_alias,;t t
18763 s,@target_alias@,$target_alias,;t t
18764 s,@DEFS@,$DEFS,;t t
18765 s,@ECHO_C@,$ECHO_C,;t t
18766 s,@ECHO_N@,$ECHO_N,;t t
18767 s,@ECHO_T@,$ECHO_T,;t t
18768 s,@LIBS@,$LIBS,;t t
18769 s,@build@,$build,;t t
18770 s,@build_cpu@,$build_cpu,;t t
18771 s,@build_vendor@,$build_vendor,;t t
18772 s,@build_os@,$build_os,;t t
18773 s,@host@,$host,;t t
18774 s,@host_cpu@,$host_cpu,;t t
18775 s,@host_vendor@,$host_vendor,;t t
18776 s,@host_os@,$host_os,;t t
18777 s,@target@,$target,;t t
18778 s,@target_cpu@,$target_cpu,;t t
18779 s,@target_vendor@,$target_vendor,;t t
18780 s,@target_os@,$target_os,;t t
18781 s,@LIBVERSION@,$LIBVERSION,;t t
18782 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
18783 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
18784 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18785 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18786 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18787 s,@CYGPATH_W@,$CYGPATH_W,;t t
18788 s,@PACKAGE@,$PACKAGE,;t t
18789 s,@VERSION@,$VERSION,;t t
18790 s,@ACLOCAL@,$ACLOCAL,;t t
18791 s,@AUTOCONF@,$AUTOCONF,;t t
18792 s,@AUTOMAKE@,$AUTOMAKE,;t t
18793 s,@AUTOHEADER@,$AUTOHEADER,;t t
18794 s,@MAKEINFO@,$MAKEINFO,;t t
18795 s,@install_sh@,$install_sh,;t t
18796 s,@STRIP@,$STRIP,;t t
18797 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
18798 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
18799 s,@mkdir_p@,$mkdir_p,;t t
18800 s,@AWK@,$AWK,;t t
18801 s,@SET_MAKE@,$SET_MAKE,;t t
18802 s,@am__leading_dot@,$am__leading_dot,;t t
18803 s,@AMTAR@,$AMTAR,;t t
18804 s,@am__tar@,$am__tar,;t t
18805 s,@am__untar@,$am__untar,;t t
18806 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
18807 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
18808 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
18809 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
18810 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
18811 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
18812 s,@default_toolkit@,$default_toolkit,;t t
18813 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
18814 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
18815 s,@CC@,$CC,;t t
18816 s,@CFLAGS@,$CFLAGS,;t t
18817 s,@LDFLAGS@,$LDFLAGS,;t t
18818 s,@CPPFLAGS@,$CPPFLAGS,;t t
18819 s,@ac_ct_CC@,$ac_ct_CC,;t t
18820 s,@EXEEXT@,$EXEEXT,;t t
18821 s,@OBJEXT@,$OBJEXT,;t t
18822 s,@DEPDIR@,$DEPDIR,;t t
18823 s,@am__include@,$am__include,;t t
18824 s,@am__quote@,$am__quote,;t t
18825 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
18826 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
18827 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
18828 s,@CCDEPMODE@,$CCDEPMODE,;t t
18829 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
18830 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
18831 s,@CPP@,$CPP,;t t
18832 s,@EGREP@,$EGREP,;t t
18833 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
18834 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
18835 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
18836 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
18837 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
18838 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
18839 s,@GTK_CAIRO_ENABLED@,$GTK_CAIRO_ENABLED,;t t
18840 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
18841 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
18842 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
18843 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
18844 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
18845 s,@glibjdir@,$glibjdir,;t t
18846 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
18847 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
18848 s,@LN_S@,$LN_S,;t t
18849 s,@RANLIB@,$RANLIB,;t t
18850 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18851 s,@LIBTOOL@,$LIBTOOL,;t t
18852 s,@CXX@,$CXX,;t t
18853 s,@CXXFLAGS@,$CXXFLAGS,;t t
18854 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
18855 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
18856 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
18857 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
18858 s,@CXXCPP@,$CXXCPP,;t t
18859 s,@PERL@,$PERL,;t t
18860 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
18861 s,@LIBICONV@,$LIBICONV,;t t
18862 s,@LTLIBICONV@,$LTLIBICONV,;t t
18863 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
18864 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
18865 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
18866 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
18867 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
18868 s,@XML_LIBS@,$XML_LIBS,;t t
18869 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
18870 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
18871 s,@X_CFLAGS@,$X_CFLAGS,;t t
18872 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
18873 s,@X_LIBS@,$X_LIBS,;t t
18874 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
18875 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
18876 s,@GTK_LIBS@,$GTK_LIBS,;t t
18877 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
18878 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
18879 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
18880 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
18881 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
18882 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
18883 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
18884 s,@QT_LIBS@,$QT_LIBS,;t t
18885 s,@MOC@,$MOC,;t t
18886 s,@USER_JAVAH@,$USER_JAVAH,;t t
18887 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
18888 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
18889 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
18890 s,@GCJ@,$GCJ,;t t
18891 s,@JIKES@,$JIKES,;t t
18892 s,@JIKESENCODING@,$JIKESENCODING,;t t
18893 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
18894 s,@KJC@,$KJC,;t t
18895 s,@GCJX@,$GCJX,;t t
18896 s,@ECJ@,$ECJ,;t t
18897 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
18898 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
18899 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
18900 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
18901 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
18902 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
18903 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
18904 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
18905 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
18906 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
18907 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
18908 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
18909 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
18910 s,@vm_classes@,$vm_classes,;t t
18911 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
18912 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
18913 s,@MAINT@,$MAINT,;t t
18914 s,@LIBDEBUG@,$LIBDEBUG,;t t
18915 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
18916 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
18917 s,@REMOVE@,$REMOVE,;t t
18918 s,@MKDIR@,$MKDIR,;t t
18919 s,@CP@,$CP,;t t
18920 s,@DATE@,$DATE,;t t
18921 s,@FIND@,$FIND,;t t
18922 s,@ZIP@,$ZIP,;t t
18923 s,@FASTJAR@,$FASTJAR,;t t
18924 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
18925 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
18926 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
18927 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
18928 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
18929 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
18930 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
18931 s,@GJDOC@,$GJDOC,;t t
18932 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
18933 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
18934 s,@JAY@,$JAY,;t t
18935 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
18936 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
18937 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
18938 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
18939 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
18940 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
18941 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
18942 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
18943 s,@LIBOBJS@,$LIBOBJS,;t t
18944 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18945 CEOF
18946
18947 _ACEOF
18948
18949 cat >>$CONFIG_STATUS <<\_ACEOF
18950 # Split the substitutions into bite-sized pieces for seds with
18951 # small command number limits, like on Digital OSF/1 and HP-UX.
18952 ac_max_sed_lines=48
18953 ac_sed_frag=1 # Number of current file.
18954 ac_beg=1 # First line for current file.
18955 ac_end=$ac_max_sed_lines # Line after last line for current file.
18956 ac_more_lines=:
18957 ac_sed_cmds=
18958 while $ac_more_lines; do
18959 if test $ac_beg -gt 1; then
18960 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18961 else
18962 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18963 fi
18964 if test ! -s $tmp/subs.frag; then
18965 ac_more_lines=false
18966 else
18967 # The purpose of the label and of the branching condition is to
18968 # speed up the sed processing (if there are no `@' at all, there
18969 # is no need to browse any of the substitutions).
18970 # These are the two extra sed commands mentioned above.
18971 (echo ':t
18972 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
18973 if test -z "$ac_sed_cmds"; then
18974 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
18975 else
18976 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18977 fi
18978 ac_sed_frag=`expr $ac_sed_frag + 1`
18979 ac_beg=$ac_end
18980 ac_end=`expr $ac_end + $ac_max_sed_lines`
18981 fi
18982 done
18983 if test -z "$ac_sed_cmds"; then
18984 ac_sed_cmds=cat
18985 fi
18986 fi # test -n "$CONFIG_FILES"
18987
18988 _ACEOF
18989 cat >>$CONFIG_STATUS <<\_ACEOF
18990 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
18991 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18992 case $ac_file in
18993 - | *:- | *:-:* ) # input from stdin
18994 cat >$tmp/stdin
18995 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18996 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18997 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18998 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18999 * ) ac_file_in=$ac_file.in ;;
19000 esac
19001
19002 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19003 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
19004 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19005 X"$ac_file" : 'X\(//\)[^/]' \| \
19006 X"$ac_file" : 'X\(//\)$' \| \
19007 X"$ac_file" : 'X\(/\)' \| \
19008 . : '\(.\)' 2>/dev/null ||
19009 echo X"$ac_file" |
19010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19011 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19012 /^X\(\/\/\)$/{ s//\1/; q; }
19013 /^X\(\/\).*/{ s//\1/; q; }
19014 s/.*/./; q'`
19015 { if $as_mkdir_p; then
19016 mkdir -p "$ac_dir"
19017 else
19018 as_dir="$ac_dir"
19019 as_dirs=
19020 while test ! -d "$as_dir"; do
19021 as_dirs="$as_dir $as_dirs"
19022 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19023 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19024 X"$as_dir" : 'X\(//\)[^/]' \| \
19025 X"$as_dir" : 'X\(//\)$' \| \
19026 X"$as_dir" : 'X\(/\)' \| \
19027 . : '\(.\)' 2>/dev/null ||
19028 echo X"$as_dir" |
19029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19030 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19031 /^X\(\/\/\)$/{ s//\1/; q; }
19032 /^X\(\/\).*/{ s//\1/; q; }
19033 s/.*/./; q'`
19034 done
19035 test ! -n "$as_dirs" || mkdir $as_dirs
19036 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19037 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19038 { (exit 1); exit 1; }; }; }
19039
19040 ac_builddir=.
19041
19042 if test "$ac_dir" != .; then
19043 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19044 # A "../" for each directory in $ac_dir_suffix.
19045 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19046 else
19047 ac_dir_suffix= ac_top_builddir=
19048 fi
19049
19050 case $srcdir in
19051 .) # No --srcdir option. We are building in place.
19052 ac_srcdir=.
19053 if test -z "$ac_top_builddir"; then
19054 ac_top_srcdir=.
19055 else
19056 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19057 fi ;;
19058 [\\/]* | ?:[\\/]* ) # Absolute path.
19059 ac_srcdir=$srcdir$ac_dir_suffix;
19060 ac_top_srcdir=$srcdir ;;
19061 *) # Relative path.
19062 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19063 ac_top_srcdir=$ac_top_builddir$srcdir ;;
19064 esac
19065
19066 # Do not use `cd foo && pwd` to compute absolute paths, because
19067 # the directories may not exist.
19068 case `pwd` in
19069 .) ac_abs_builddir="$ac_dir";;
19070 *)
19071 case "$ac_dir" in
19072 .) ac_abs_builddir=`pwd`;;
19073 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19074 *) ac_abs_builddir=`pwd`/"$ac_dir";;
19075 esac;;
19076 esac
19077 case $ac_abs_builddir in
19078 .) ac_abs_top_builddir=${ac_top_builddir}.;;
19079 *)
19080 case ${ac_top_builddir}. in
19081 .) ac_abs_top_builddir=$ac_abs_builddir;;
19082 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19083 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19084 esac;;
19085 esac
19086 case $ac_abs_builddir in
19087 .) ac_abs_srcdir=$ac_srcdir;;
19088 *)
19089 case $ac_srcdir in
19090 .) ac_abs_srcdir=$ac_abs_builddir;;
19091 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19092 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19093 esac;;
19094 esac
19095 case $ac_abs_builddir in
19096 .) ac_abs_top_srcdir=$ac_top_srcdir;;
19097 *)
19098 case $ac_top_srcdir in
19099 .) ac_abs_top_srcdir=$ac_abs_builddir;;
19100 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19101 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19102 esac;;
19103 esac
19104
19105
19106 case $INSTALL in
19107 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19108 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
19109 esac
19110
19111 if test x"$ac_file" != x-; then
19112 { echo "$as_me:$LINENO: creating $ac_file" >&5
19113 echo "$as_me: creating $ac_file" >&6;}
19114 rm -f "$ac_file"
19115 fi
19116 # Let's still pretend it is `configure' which instantiates (i.e., don't
19117 # use $as_me), people would be surprised to read:
19118 # /* config.h. Generated by config.status. */
19119 if test x"$ac_file" = x-; then
19120 configure_input=
19121 else
19122 configure_input="$ac_file. "
19123 fi
19124 configure_input=$configure_input"Generated from `echo $ac_file_in |
19125 sed 's,.*/,,'` by configure."
19126
19127 # First look for the input files in the build tree, otherwise in the
19128 # src tree.
19129 ac_file_inputs=`IFS=:
19130 for f in $ac_file_in; do
19131 case $f in
19132 -) echo $tmp/stdin ;;
19133 [\\/$]*)
19134 # Absolute (can't be DOS-style, as IFS=:)
19135 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19136 echo "$as_me: error: cannot find input file: $f" >&2;}
19137 { (exit 1); exit 1; }; }
19138 echo "$f";;
19139 *) # Relative
19140 if test -f "$f"; then
19141 # Build tree
19142 echo "$f"
19143 elif test -f "$srcdir/$f"; then
19144 # Source tree
19145 echo "$srcdir/$f"
19146 else
19147 # /dev/null tree
19148 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19149 echo "$as_me: error: cannot find input file: $f" >&2;}
19150 { (exit 1); exit 1; }; }
19151 fi;;
19152 esac
19153 done` || { (exit 1); exit 1; }
19154 _ACEOF
19155 cat >>$CONFIG_STATUS <<_ACEOF
19156 sed "$ac_vpsub
19157 $extrasub
19158 _ACEOF
19159 cat >>$CONFIG_STATUS <<\_ACEOF
19160 :t
19161 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19162 s,@configure_input@,$configure_input,;t t
19163 s,@srcdir@,$ac_srcdir,;t t
19164 s,@abs_srcdir@,$ac_abs_srcdir,;t t
19165 s,@top_srcdir@,$ac_top_srcdir,;t t
19166 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
19167 s,@builddir@,$ac_builddir,;t t
19168 s,@abs_builddir@,$ac_abs_builddir,;t t
19169 s,@top_builddir@,$ac_top_builddir,;t t
19170 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
19171 s,@INSTALL@,$ac_INSTALL,;t t
19172 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
19173 rm -f $tmp/stdin
19174 if test x"$ac_file" != x-; then
19175 mv $tmp/out $ac_file
19176 else
19177 cat $tmp/out
19178 rm -f $tmp/out
19179 fi
19180
19181 done
19182 _ACEOF
19183 cat >>$CONFIG_STATUS <<\_ACEOF
19184
19185 #
19186 # CONFIG_HEADER section.
19187 #
19188
19189 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19190 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19191 #
19192 # ac_d sets the value in "#define NAME VALUE" lines.
19193 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19194 ac_dB='[ ].*$,\1#\2'
19195 ac_dC=' '
19196 ac_dD=',;t'
19197 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19198 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19199 ac_uB='$,\1#\2define\3'
19200 ac_uC=' '
19201 ac_uD=',;t'
19202
19203 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
19204 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19205 case $ac_file in
19206 - | *:- | *:-:* ) # input from stdin
19207 cat >$tmp/stdin
19208 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19209 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19210 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19211 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19212 * ) ac_file_in=$ac_file.in ;;
19213 esac
19214
19215 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
19216 echo "$as_me: creating $ac_file" >&6;}
19217
19218 # First look for the input files in the build tree, otherwise in the
19219 # src tree.
19220 ac_file_inputs=`IFS=:
19221 for f in $ac_file_in; do
19222 case $f in
19223 -) echo $tmp/stdin ;;
19224 [\\/$]*)
19225 # Absolute (can't be DOS-style, as IFS=:)
19226 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19227 echo "$as_me: error: cannot find input file: $f" >&2;}
19228 { (exit 1); exit 1; }; }
19229 # Do quote $f, to prevent DOS paths from being IFS'd.
19230 echo "$f";;
19231 *) # Relative
19232 if test -f "$f"; then
19233 # Build tree
19234 echo "$f"
19235 elif test -f "$srcdir/$f"; then
19236 # Source tree
19237 echo "$srcdir/$f"
19238 else
19239 # /dev/null tree
19240 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19241 echo "$as_me: error: cannot find input file: $f" >&2;}
19242 { (exit 1); exit 1; }; }
19243 fi;;
19244 esac
19245 done` || { (exit 1); exit 1; }
19246 # Remove the trailing spaces.
19247 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
19248
19249 _ACEOF
19250
19251 # Transform confdefs.h into two sed scripts, `conftest.defines' and
19252 # `conftest.undefs', that substitutes the proper values into
19253 # config.h.in to produce config.h. The first handles `#define'
19254 # templates, and the second `#undef' templates.
19255 # And first: Protect against being on the right side of a sed subst in
19256 # config.status. Protect against being in an unquoted here document
19257 # in config.status.
19258 rm -f conftest.defines conftest.undefs
19259 # Using a here document instead of a string reduces the quoting nightmare.
19260 # Putting comments in sed scripts is not portable.
19261 #
19262 # `end' is used to avoid that the second main sed command (meant for
19263 # 0-ary CPP macros) applies to n-ary macro definitions.
19264 # See the Autoconf documentation for `clear'.
19265 cat >confdef2sed.sed <<\_ACEOF
19266 s/[\\&,]/\\&/g
19267 s,[\\$`],\\&,g
19268 t clear
19269 : clear
19270 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
19271 t end
19272 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
19273 : end
19274 _ACEOF
19275 # If some macros were called several times there might be several times
19276 # the same #defines, which is useless. Nevertheless, we may not want to
19277 # sort them, since we want the *last* AC-DEFINE to be honored.
19278 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
19279 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
19280 rm -f confdef2sed.sed
19281
19282 # This sed command replaces #undef with comments. This is necessary, for
19283 # example, in the case of _POSIX_SOURCE, which is predefined and required
19284 # on some systems where configure will not decide to define it.
19285 cat >>conftest.undefs <<\_ACEOF
19286 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
19287 _ACEOF
19288
19289 # Break up conftest.defines because some shells have a limit on the size
19290 # of here documents, and old seds have small limits too (100 cmds).
19291 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
19292 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
19293 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
19294 echo ' :' >>$CONFIG_STATUS
19295 rm -f conftest.tail
19296 while grep . conftest.defines >/dev/null
19297 do
19298 # Write a limited-size here document to $tmp/defines.sed.
19299 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
19300 # Speed up: don't consider the non `#define' lines.
19301 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
19302 # Work around the forget-to-reset-the-flag bug.
19303 echo 't clr' >>$CONFIG_STATUS
19304 echo ': clr' >>$CONFIG_STATUS
19305 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
19306 echo 'CEOF
19307 sed -f $tmp/defines.sed $tmp/in >$tmp/out
19308 rm -f $tmp/in
19309 mv $tmp/out $tmp/in
19310 ' >>$CONFIG_STATUS
19311 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
19312 rm -f conftest.defines
19313 mv conftest.tail conftest.defines
19314 done
19315 rm -f conftest.defines
19316 echo ' fi # grep' >>$CONFIG_STATUS
19317 echo >>$CONFIG_STATUS
19318
19319 # Break up conftest.undefs because some shells have a limit on the size
19320 # of here documents, and old seds have small limits too (100 cmds).
19321 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
19322 rm -f conftest.tail
19323 while grep . conftest.undefs >/dev/null
19324 do
19325 # Write a limited-size here document to $tmp/undefs.sed.
19326 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
19327 # Speed up: don't consider the non `#undef'
19328 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
19329 # Work around the forget-to-reset-the-flag bug.
19330 echo 't clr' >>$CONFIG_STATUS
19331 echo ': clr' >>$CONFIG_STATUS
19332 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
19333 echo 'CEOF
19334 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
19335 rm -f $tmp/in
19336 mv $tmp/out $tmp/in
19337 ' >>$CONFIG_STATUS
19338 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
19339 rm -f conftest.undefs
19340 mv conftest.tail conftest.undefs
19341 done
19342 rm -f conftest.undefs
19343
19344 cat >>$CONFIG_STATUS <<\_ACEOF
19345 # Let's still pretend it is `configure' which instantiates (i.e., don't
19346 # use $as_me), people would be surprised to read:
19347 # /* config.h. Generated by config.status. */
19348 if test x"$ac_file" = x-; then
19349 echo "/* Generated by configure. */" >$tmp/config.h
19350 else
19351 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
19352 fi
19353 cat $tmp/in >>$tmp/config.h
19354 rm -f $tmp/in
19355 if test x"$ac_file" != x-; then
19356 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
19357 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19358 echo "$as_me: $ac_file is unchanged" >&6;}
19359 else
19360 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
19361 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19362 X"$ac_file" : 'X\(//\)[^/]' \| \
19363 X"$ac_file" : 'X\(//\)$' \| \
19364 X"$ac_file" : 'X\(/\)' \| \
19365 . : '\(.\)' 2>/dev/null ||
19366 echo X"$ac_file" |
19367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19368 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19369 /^X\(\/\/\)$/{ s//\1/; q; }
19370 /^X\(\/\).*/{ s//\1/; q; }
19371 s/.*/./; q'`
19372 { if $as_mkdir_p; then
19373 mkdir -p "$ac_dir"
19374 else
19375 as_dir="$ac_dir"
19376 as_dirs=
19377 while test ! -d "$as_dir"; do
19378 as_dirs="$as_dir $as_dirs"
19379 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19381 X"$as_dir" : 'X\(//\)[^/]' \| \
19382 X"$as_dir" : 'X\(//\)$' \| \
19383 X"$as_dir" : 'X\(/\)' \| \
19384 . : '\(.\)' 2>/dev/null ||
19385 echo X"$as_dir" |
19386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19388 /^X\(\/\/\)$/{ s//\1/; q; }
19389 /^X\(\/\).*/{ s//\1/; q; }
19390 s/.*/./; q'`
19391 done
19392 test ! -n "$as_dirs" || mkdir $as_dirs
19393 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19394 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19395 { (exit 1); exit 1; }; }; }
19396
19397 rm -f $ac_file
19398 mv $tmp/config.h $ac_file
19399 fi
19400 else
19401 cat $tmp/config.h
19402 rm -f $tmp/config.h
19403 fi
19404 # Compute $ac_file's index in $config_headers.
19405 _am_stamp_count=1
19406 for _am_header in $config_headers :; do
19407 case $_am_header in
19408 $ac_file | $ac_file:* )
19409 break ;;
19410 * )
19411 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19412 esac
19413 done
19414 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
19415 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19416 X$ac_file : 'X\(//\)[^/]' \| \
19417 X$ac_file : 'X\(//\)$' \| \
19418 X$ac_file : 'X\(/\)' \| \
19419 . : '\(.\)' 2>/dev/null ||
19420 echo X$ac_file |
19421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19422 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19423 /^X\(\/\/\)$/{ s//\1/; q; }
19424 /^X\(\/\).*/{ s//\1/; q; }
19425 s/.*/./; q'`/stamp-h$_am_stamp_count
19426 done
19427 _ACEOF
19428 cat >>$CONFIG_STATUS <<\_ACEOF
19429
19430 #
19431 # CONFIG_LINKS section.
19432 #
19433
19434 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
19435 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
19436 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
19437
19438 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
19439 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
19440
19441 if test ! -r $srcdir/$ac_source; then
19442 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
19443 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
19444 { (exit 1); exit 1; }; }
19445 fi
19446 rm -f $ac_dest
19447
19448 # Make relative symlinks.
19449 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
19450 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19451 X"$ac_dest" : 'X\(//\)[^/]' \| \
19452 X"$ac_dest" : 'X\(//\)$' \| \
19453 X"$ac_dest" : 'X\(/\)' \| \
19454 . : '\(.\)' 2>/dev/null ||
19455 echo X"$ac_dest" |
19456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19458 /^X\(\/\/\)$/{ s//\1/; q; }
19459 /^X\(\/\).*/{ s//\1/; q; }
19460 s/.*/./; q'`
19461 { if $as_mkdir_p; then
19462 mkdir -p "$ac_dest_dir"
19463 else
19464 as_dir="$ac_dest_dir"
19465 as_dirs=
19466 while test ! -d "$as_dir"; do
19467 as_dirs="$as_dir $as_dirs"
19468 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19470 X"$as_dir" : 'X\(//\)[^/]' \| \
19471 X"$as_dir" : 'X\(//\)$' \| \
19472 X"$as_dir" : 'X\(/\)' \| \
19473 . : '\(.\)' 2>/dev/null ||
19474 echo X"$as_dir" |
19475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19477 /^X\(\/\/\)$/{ s//\1/; q; }
19478 /^X\(\/\).*/{ s//\1/; q; }
19479 s/.*/./; q'`
19480 done
19481 test ! -n "$as_dirs" || mkdir $as_dirs
19482 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
19483 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
19484 { (exit 1); exit 1; }; }; }
19485
19486 ac_builddir=.
19487
19488 if test "$ac_dest_dir" != .; then
19489 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
19490 # A "../" for each directory in $ac_dir_suffix.
19491 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19492 else
19493 ac_dir_suffix= ac_top_builddir=
19494 fi
19495
19496 case $srcdir in
19497 .) # No --srcdir option. We are building in place.
19498 ac_srcdir=.
19499 if test -z "$ac_top_builddir"; then
19500 ac_top_srcdir=.
19501 else
19502 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19503 fi ;;
19504 [\\/]* | ?:[\\/]* ) # Absolute path.
19505 ac_srcdir=$srcdir$ac_dir_suffix;
19506 ac_top_srcdir=$srcdir ;;
19507 *) # Relative path.
19508 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19509 ac_top_srcdir=$ac_top_builddir$srcdir ;;
19510 esac
19511
19512 # Do not use `cd foo && pwd` to compute absolute paths, because
19513 # the directories may not exist.
19514 case `pwd` in
19515 .) ac_abs_builddir="$ac_dest_dir";;
19516 *)
19517 case "$ac_dest_dir" in
19518 .) ac_abs_builddir=`pwd`;;
19519 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
19520 *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
19521 esac;;
19522 esac
19523 case $ac_abs_builddir in
19524 .) ac_abs_top_builddir=${ac_top_builddir}.;;
19525 *)
19526 case ${ac_top_builddir}. in
19527 .) ac_abs_top_builddir=$ac_abs_builddir;;
19528 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19529 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19530 esac;;
19531 esac
19532 case $ac_abs_builddir in
19533 .) ac_abs_srcdir=$ac_srcdir;;
19534 *)
19535 case $ac_srcdir in
19536 .) ac_abs_srcdir=$ac_abs_builddir;;
19537 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19538 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19539 esac;;
19540 esac
19541 case $ac_abs_builddir in
19542 .) ac_abs_top_srcdir=$ac_top_srcdir;;
19543 *)
19544 case $ac_top_srcdir in
19545 .) ac_abs_top_srcdir=$ac_abs_builddir;;
19546 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19547 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19548 esac;;
19549 esac
19550
19551
19552 case $srcdir in
19553 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
19554 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
19555 esac
19556
19557 # Try a symlink, then a hard link, then a copy.
19558 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19559 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
19560 cp -p $srcdir/$ac_source $ac_dest ||
19561 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
19562 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
19563 { (exit 1); exit 1; }; }
19564 done
19565 _ACEOF
19566 cat >>$CONFIG_STATUS <<\_ACEOF
19567
19568 #
19569 # CONFIG_COMMANDS section.
19570 #
19571 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
19572 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
19573 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
19574 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
19575 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19576 X"$ac_dest" : 'X\(//\)[^/]' \| \
19577 X"$ac_dest" : 'X\(//\)$' \| \
19578 X"$ac_dest" : 'X\(/\)' \| \
19579 . : '\(.\)' 2>/dev/null ||
19580 echo X"$ac_dest" |
19581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19582 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19583 /^X\(\/\/\)$/{ s//\1/; q; }
19584 /^X\(\/\).*/{ s//\1/; q; }
19585 s/.*/./; q'`
19586 { if $as_mkdir_p; then
19587 mkdir -p "$ac_dir"
19588 else
19589 as_dir="$ac_dir"
19590 as_dirs=
19591 while test ! -d "$as_dir"; do
19592 as_dirs="$as_dir $as_dirs"
19593 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19594 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19595 X"$as_dir" : 'X\(//\)[^/]' \| \
19596 X"$as_dir" : 'X\(//\)$' \| \
19597 X"$as_dir" : 'X\(/\)' \| \
19598 . : '\(.\)' 2>/dev/null ||
19599 echo X"$as_dir" |
19600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19601 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19602 /^X\(\/\/\)$/{ s//\1/; q; }
19603 /^X\(\/\).*/{ s//\1/; q; }
19604 s/.*/./; q'`
19605 done
19606 test ! -n "$as_dirs" || mkdir $as_dirs
19607 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19608 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19609 { (exit 1); exit 1; }; }; }
19610
19611 ac_builddir=.
19612
19613 if test "$ac_dir" != .; then
19614 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19615 # A "../" for each directory in $ac_dir_suffix.
19616 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19617 else
19618 ac_dir_suffix= ac_top_builddir=
19619 fi
19620
19621 case $srcdir in
19622 .) # No --srcdir option. We are building in place.
19623 ac_srcdir=.
19624 if test -z "$ac_top_builddir"; then
19625 ac_top_srcdir=.
19626 else
19627 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19628 fi ;;
19629 [\\/]* | ?:[\\/]* ) # Absolute path.
19630 ac_srcdir=$srcdir$ac_dir_suffix;
19631 ac_top_srcdir=$srcdir ;;
19632 *) # Relative path.
19633 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19634 ac_top_srcdir=$ac_top_builddir$srcdir ;;
19635 esac
19636
19637 # Do not use `cd foo && pwd` to compute absolute paths, because
19638 # the directories may not exist.
19639 case `pwd` in
19640 .) ac_abs_builddir="$ac_dir";;
19641 *)
19642 case "$ac_dir" in
19643 .) ac_abs_builddir=`pwd`;;
19644 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19645 *) ac_abs_builddir=`pwd`/"$ac_dir";;
19646 esac;;
19647 esac
19648 case $ac_abs_builddir in
19649 .) ac_abs_top_builddir=${ac_top_builddir}.;;
19650 *)
19651 case ${ac_top_builddir}. in
19652 .) ac_abs_top_builddir=$ac_abs_builddir;;
19653 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19654 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19655 esac;;
19656 esac
19657 case $ac_abs_builddir in
19658 .) ac_abs_srcdir=$ac_srcdir;;
19659 *)
19660 case $ac_srcdir in
19661 .) ac_abs_srcdir=$ac_abs_builddir;;
19662 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19663 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19664 esac;;
19665 esac
19666 case $ac_abs_builddir in
19667 .) ac_abs_top_srcdir=$ac_top_srcdir;;
19668 *)
19669 case $ac_top_srcdir in
19670 .) ac_abs_top_srcdir=$ac_abs_builddir;;
19671 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19672 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19673 esac;;
19674 esac
19675
19676
19677 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
19678 echo "$as_me: executing $ac_dest commands" >&6;}
19679 case $ac_dest in
19680 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
19681 # Strip MF so we end up with the name of the file.
19682 mf=`echo "$mf" | sed -e 's/:.*$//'`
19683 # Check whether this is an Automake generated Makefile or not.
19684 # We used to match only the files named `Makefile.in', but
19685 # some people rename them; so instead we look at the file content.
19686 # Grep'ing the first line is not enough: some people post-process
19687 # each Makefile.in and add a new line on top of each file to say so.
19688 # So let's grep whole file.
19689 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
19690 dirpart=`(dirname "$mf") 2>/dev/null ||
19691 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19692 X"$mf" : 'X\(//\)[^/]' \| \
19693 X"$mf" : 'X\(//\)$' \| \
19694 X"$mf" : 'X\(/\)' \| \
19695 . : '\(.\)' 2>/dev/null ||
19696 echo X"$mf" |
19697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19698 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19699 /^X\(\/\/\)$/{ s//\1/; q; }
19700 /^X\(\/\).*/{ s//\1/; q; }
19701 s/.*/./; q'`
19702 else
19703 continue
19704 fi
19705 # Extract the definition of DEPDIR, am__include, and am__quote
19706 # from the Makefile without running `make'.
19707 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19708 test -z "$DEPDIR" && continue
19709 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19710 test -z "am__include" && continue
19711 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19712 # When using ansi2knr, U may be empty or an underscore; expand it
19713 U=`sed -n 's/^U = //p' < "$mf"`
19714 # Find all dependency output files, they are included files with
19715 # $(DEPDIR) in their names. We invoke sed twice because it is the
19716 # simplest approach to changing $(DEPDIR) to its actual value in the
19717 # expansion.
19718 for file in `sed -n "
19719 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19720 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19721 # Make sure the directory exists.
19722 test -f "$dirpart/$file" && continue
19723 fdir=`(dirname "$file") 2>/dev/null ||
19724 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19725 X"$file" : 'X\(//\)[^/]' \| \
19726 X"$file" : 'X\(//\)$' \| \
19727 X"$file" : 'X\(/\)' \| \
19728 . : '\(.\)' 2>/dev/null ||
19729 echo X"$file" |
19730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19732 /^X\(\/\/\)$/{ s//\1/; q; }
19733 /^X\(\/\).*/{ s//\1/; q; }
19734 s/.*/./; q'`
19735 { if $as_mkdir_p; then
19736 mkdir -p $dirpart/$fdir
19737 else
19738 as_dir=$dirpart/$fdir
19739 as_dirs=
19740 while test ! -d "$as_dir"; do
19741 as_dirs="$as_dir $as_dirs"
19742 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19743 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19744 X"$as_dir" : 'X\(//\)[^/]' \| \
19745 X"$as_dir" : 'X\(//\)$' \| \
19746 X"$as_dir" : 'X\(/\)' \| \
19747 . : '\(.\)' 2>/dev/null ||
19748 echo X"$as_dir" |
19749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19750 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19751 /^X\(\/\/\)$/{ s//\1/; q; }
19752 /^X\(\/\).*/{ s//\1/; q; }
19753 s/.*/./; q'`
19754 done
19755 test ! -n "$as_dirs" || mkdir $as_dirs
19756 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
19757 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
19758 { (exit 1); exit 1; }; }; }
19759
19760 # echo "creating $dirpart/$file"
19761 echo '# dummy' > "$dirpart/$file"
19762 done
19763 done
19764 ;;
19765 mkcollections.pl ) chmod 755 lib/mkcollections.pl ;;
19766 $ac_stdint_h )
19767 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
19768 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
19769 ac_stdint=$tmp/_stdint.h
19770
19771 echo "#ifndef" $_ac_stdint_h >$ac_stdint
19772 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
19773 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
19774 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
19775 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
19776 if test "_$ac_cv_header_stdint_t" != "_" ; then
19777 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
19778 echo "#include <stdint.h>" >>$ac_stdint
19779 echo "#endif" >>$ac_stdint
19780 echo "#endif" >>$ac_stdint
19781 else
19782
19783 cat >>$ac_stdint <<STDINT_EOF
19784
19785 /* ................... shortcircuit part ........................... */
19786
19787 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
19788 #include <stdint.h>
19789 #else
19790 #include <stddef.h>
19791
19792 /* .................... configured part ............................ */
19793
19794 STDINT_EOF
19795
19796 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
19797 if test "_$ac_cv_header_stdint_x" != "_" ; then
19798 ac_header="$ac_cv_header_stdint_x"
19799 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
19800 else
19801 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
19802 fi
19803
19804 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
19805 if test "_$ac_cv_header_stdint_o" != "_" ; then
19806 ac_header="$ac_cv_header_stdint_o"
19807 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
19808 else
19809 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
19810 fi
19811
19812 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
19813 if test "_$ac_cv_header_stdint_u" != "_" ; then
19814 ac_header="$ac_cv_header_stdint_u"
19815 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
19816 else
19817 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
19818 fi
19819
19820 echo "" >>$ac_stdint
19821
19822 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
19823 echo "#include <$ac_header>" >>$ac_stdint
19824 echo "" >>$ac_stdint
19825 fi fi
19826
19827 echo "/* which 64bit typedef has been found */" >>$ac_stdint
19828 if test "$ac_cv_type_uint64_t" = "yes" ; then
19829 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
19830 else
19831 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
19832 fi
19833 if test "$ac_cv_type_u_int64_t" = "yes" ; then
19834 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
19835 else
19836 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
19837 fi
19838 echo "" >>$ac_stdint
19839
19840 echo "/* which type model has been detected */" >>$ac_stdint
19841 if test "_$ac_cv_char_data_model" != "_" ; then
19842 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
19843 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
19844 else
19845 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
19846 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
19847 fi
19848 echo "" >>$ac_stdint
19849
19850 echo "/* whether int_least types were detected */" >>$ac_stdint
19851 if test "$ac_cv_type_int_least32_t" = "yes"; then
19852 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
19853 else
19854 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
19855 fi
19856 echo "/* whether int_fast types were detected */" >>$ac_stdint
19857 if test "$ac_cv_type_int_fast32_t" = "yes"; then
19858 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
19859 else
19860 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
19861 fi
19862 echo "/* whether intmax_t type was detected */" >>$ac_stdint
19863 if test "$ac_cv_type_intmax_t" = "yes"; then
19864 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
19865 else
19866 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
19867 fi
19868 echo "" >>$ac_stdint
19869
19870 cat >>$ac_stdint <<STDINT_EOF
19871 /* .................... detections part ............................ */
19872
19873 /* whether we need to define bitspecific types from compiler base types */
19874 #ifndef _STDINT_HEADER_INTPTR
19875 #ifndef _STDINT_HEADER_UINT32
19876 #ifndef _STDINT_HEADER_U_INT32
19877 #define _STDINT_NEED_INT_MODEL_T
19878 #else
19879 #define _STDINT_HAVE_U_INT_TYPES
19880 #endif
19881 #endif
19882 #endif
19883
19884 #ifdef _STDINT_HAVE_U_INT_TYPES
19885 #undef _STDINT_NEED_INT_MODEL_T
19886 #endif
19887
19888 #ifdef _STDINT_CHAR_MODEL
19889 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
19890 #ifndef _STDINT_BYTE_MODEL
19891 #define _STDINT_BYTE_MODEL 12
19892 #endif
19893 #endif
19894 #endif
19895
19896 #ifndef _STDINT_HAVE_INT_LEAST32_T
19897 #define _STDINT_NEED_INT_LEAST_T
19898 #endif
19899
19900 #ifndef _STDINT_HAVE_INT_FAST32_T
19901 #define _STDINT_NEED_INT_FAST_T
19902 #endif
19903
19904 #ifndef _STDINT_HEADER_INTPTR
19905 #define _STDINT_NEED_INTPTR_T
19906 #ifndef _STDINT_HAVE_INTMAX_T
19907 #define _STDINT_NEED_INTMAX_T
19908 #endif
19909 #endif
19910
19911
19912 /* .................... definition part ............................ */
19913
19914 /* some system headers have good uint64_t */
19915 #ifndef _HAVE_UINT64_T
19916 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
19917 #define _HAVE_UINT64_T
19918 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
19919 #define _HAVE_UINT64_T
19920 typedef u_int64_t uint64_t;
19921 #endif
19922 #endif
19923
19924 #ifndef _HAVE_UINT64_T
19925 /* .. here are some common heuristics using compiler runtime specifics */
19926 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
19927 #define _HAVE_UINT64_T
19928 #define _HAVE_LONGLONG_UINT64_T
19929 typedef long long int64_t;
19930 typedef unsigned long long uint64_t;
19931
19932 #elif !defined __STRICT_ANSI__
19933 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19934 #define _HAVE_UINT64_T
19935 typedef __int64 int64_t;
19936 typedef unsigned __int64 uint64_t;
19937
19938 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
19939 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
19940 #if !defined _NO_LONGLONG
19941 #define _HAVE_UINT64_T
19942 #define _HAVE_LONGLONG_UINT64_T
19943 typedef long long int64_t;
19944 typedef unsigned long long uint64_t;
19945 #endif
19946
19947 #elif defined __alpha || (defined __mips && defined _ABIN32)
19948 #if !defined _NO_LONGLONG
19949 typedef long int64_t;
19950 typedef unsigned long uint64_t;
19951 #endif
19952 /* compiler/cpu type to define int64_t */
19953 #endif
19954 #endif
19955 #endif
19956
19957 #if defined _STDINT_HAVE_U_INT_TYPES
19958 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
19959 typedef u_int8_t uint8_t;
19960 typedef u_int16_t uint16_t;
19961 typedef u_int32_t uint32_t;
19962
19963 /* glibc compatibility */
19964 #ifndef __int8_t_defined
19965 #define __int8_t_defined
19966 #endif
19967 #endif
19968
19969 #ifdef _STDINT_NEED_INT_MODEL_T
19970 /* we must guess all the basic types. Apart from byte-adressable system, */
19971 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
19972 /* (btw, those nibble-addressable systems are way off, or so we assume) */
19973
19974
19975 #if defined _STDINT_BYTE_MODEL
19976 #if _STDINT_LONG_MODEL+0 == 242
19977 /* 2:4:2 = IP16 = a normal 16-bit system */
19978 typedef unsigned char uint8_t;
19979 typedef unsigned short uint16_t;
19980 typedef unsigned long uint32_t;
19981 #ifndef __int8_t_defined
19982 #define __int8_t_defined
19983 typedef char int8_t;
19984 typedef short int16_t;
19985 typedef long int32_t;
19986 #endif
19987 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
19988 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
19989 /* 4:4:4 = ILP32 = a normal 32-bit system */
19990 typedef unsigned char uint8_t;
19991 typedef unsigned short uint16_t;
19992 typedef unsigned int uint32_t;
19993 #ifndef __int8_t_defined
19994 #define __int8_t_defined
19995 typedef char int8_t;
19996 typedef short int16_t;
19997 typedef int int32_t;
19998 #endif
19999 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
20000 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
20001 /* 4:8:8 = LP64 = a normal 64-bit system */
20002 typedef unsigned char uint8_t;
20003 typedef unsigned short uint16_t;
20004 typedef unsigned int uint32_t;
20005 #ifndef __int8_t_defined
20006 #define __int8_t_defined
20007 typedef char int8_t;
20008 typedef short int16_t;
20009 typedef int int32_t;
20010 #endif
20011 /* this system has a "long" of 64bit */
20012 #ifndef _HAVE_UINT64_T
20013 #define _HAVE_UINT64_T
20014 typedef unsigned long uint64_t;
20015 typedef long int64_t;
20016 #endif
20017 #elif _STDINT_LONG_MODEL+0 == 448
20018 /* LLP64 a 64-bit system derived from a 32-bit system */
20019 typedef unsigned char uint8_t;
20020 typedef unsigned short uint16_t;
20021 typedef unsigned int uint32_t;
20022 #ifndef __int8_t_defined
20023 #define __int8_t_defined
20024 typedef char int8_t;
20025 typedef short int16_t;
20026 typedef int int32_t;
20027 #endif
20028 /* assuming the system has a "long long" */
20029 #ifndef _HAVE_UINT64_T
20030 #define _HAVE_UINT64_T
20031 #define _HAVE_LONGLONG_UINT64_T
20032 typedef unsigned long long uint64_t;
20033 typedef long long int64_t;
20034 #endif
20035 #else
20036 #define _STDINT_NO_INT32_T
20037 #endif
20038 #else
20039 #define _STDINT_NO_INT8_T
20040 #define _STDINT_NO_INT32_T
20041 #endif
20042 #endif
20043
20044 /*
20045 * quote from SunOS-5.8 sys/inttypes.h:
20046 * Use at your own risk. As of February 1996, the committee is squarely
20047 * behind the fixed sized types; the "least" and "fast" types are still being
20048 * discussed. The probability that the "fast" types may be removed before
20049 * the standard is finalized is high enough that they are not currently
20050 * implemented.
20051 */
20052
20053 #if defined _STDINT_NEED_INT_LEAST_T
20054 typedef int8_t int_least8_t;
20055 typedef int16_t int_least16_t;
20056 typedef int32_t int_least32_t;
20057 #ifdef _HAVE_UINT64_T
20058 typedef int64_t int_least64_t;
20059 #endif
20060
20061 typedef uint8_t uint_least8_t;
20062 typedef uint16_t uint_least16_t;
20063 typedef uint32_t uint_least32_t;
20064 #ifdef _HAVE_UINT64_T
20065 typedef uint64_t uint_least64_t;
20066 #endif
20067 /* least types */
20068 #endif
20069
20070 #if defined _STDINT_NEED_INT_FAST_T
20071 typedef int8_t int_fast8_t;
20072 typedef int int_fast16_t;
20073 typedef int32_t int_fast32_t;
20074 #ifdef _HAVE_UINT64_T
20075 typedef int64_t int_fast64_t;
20076 #endif
20077
20078 typedef uint8_t uint_fast8_t;
20079 typedef unsigned uint_fast16_t;
20080 typedef uint32_t uint_fast32_t;
20081 #ifdef _HAVE_UINT64_T
20082 typedef uint64_t uint_fast64_t;
20083 #endif
20084 /* fast types */
20085 #endif
20086
20087 #ifdef _STDINT_NEED_INTMAX_T
20088 #ifdef _HAVE_UINT64_T
20089 typedef int64_t intmax_t;
20090 typedef uint64_t uintmax_t;
20091 #else
20092 typedef long intmax_t;
20093 typedef unsigned long uintmax_t;
20094 #endif
20095 #endif
20096
20097 #ifdef _STDINT_NEED_INTPTR_T
20098 #ifndef __intptr_t_defined
20099 #define __intptr_t_defined
20100 /* we encourage using "long" to store pointer values, never use "int" ! */
20101 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
20102 typedef unsigned int uintptr_t;
20103 typedef int intptr_t;
20104 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
20105 typedef unsigned long uintptr_t;
20106 typedef long intptr_t;
20107 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
20108 typedef uint64_t uintptr_t;
20109 typedef int64_t intptr_t;
20110 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
20111 typedef unsigned long uintptr_t;
20112 typedef long intptr_t;
20113 #endif
20114 #endif
20115 #endif
20116
20117 /* The ISO C99 standard specifies that in C++ implementations these
20118 should only be defined if explicitly requested. */
20119 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
20120 #ifndef UINT32_C
20121
20122 /* Signed. */
20123 # define INT8_C(c) c
20124 # define INT16_C(c) c
20125 # define INT32_C(c) c
20126 # ifdef _HAVE_LONGLONG_UINT64_T
20127 # define INT64_C(c) c ## L
20128 # else
20129 # define INT64_C(c) c ## LL
20130 # endif
20131
20132 /* Unsigned. */
20133 # define UINT8_C(c) c ## U
20134 # define UINT16_C(c) c ## U
20135 # define UINT32_C(c) c ## U
20136 # ifdef _HAVE_LONGLONG_UINT64_T
20137 # define UINT64_C(c) c ## UL
20138 # else
20139 # define UINT64_C(c) c ## ULL
20140 # endif
20141
20142 /* Maximal type. */
20143 # ifdef _HAVE_LONGLONG_UINT64_T
20144 # define INTMAX_C(c) c ## L
20145 # define UINTMAX_C(c) c ## UL
20146 # else
20147 # define INTMAX_C(c) c ## LL
20148 # define UINTMAX_C(c) c ## ULL
20149 # endif
20150
20151 /* literalnumbers */
20152 #endif
20153 #endif
20154
20155 /* These limits are merily those of a two complement byte-oriented system */
20156
20157 /* Minimum of signed integral types. */
20158 # define INT8_MIN (-128)
20159 # define INT16_MIN (-32767-1)
20160 # define INT32_MIN (-2147483647-1)
20161 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
20162 /* Maximum of signed integral types. */
20163 # define INT8_MAX (127)
20164 # define INT16_MAX (32767)
20165 # define INT32_MAX (2147483647)
20166 # define INT64_MAX (__INT64_C(9223372036854775807))
20167
20168 /* Maximum of unsigned integral types. */
20169 # define UINT8_MAX (255)
20170 # define UINT16_MAX (65535)
20171 # define UINT32_MAX (4294967295U)
20172 # define UINT64_MAX (__UINT64_C(18446744073709551615))
20173
20174 /* Minimum of signed integral types having a minimum size. */
20175 # define INT_LEAST8_MIN INT8_MIN
20176 # define INT_LEAST16_MIN INT16_MIN
20177 # define INT_LEAST32_MIN INT32_MIN
20178 # define INT_LEAST64_MIN INT64_MIN
20179 /* Maximum of signed integral types having a minimum size. */
20180 # define INT_LEAST8_MAX INT8_MAX
20181 # define INT_LEAST16_MAX INT16_MAX
20182 # define INT_LEAST32_MAX INT32_MAX
20183 # define INT_LEAST64_MAX INT64_MAX
20184
20185 /* Maximum of unsigned integral types having a minimum size. */
20186 # define UINT_LEAST8_MAX UINT8_MAX
20187 # define UINT_LEAST16_MAX UINT16_MAX
20188 # define UINT_LEAST32_MAX UINT32_MAX
20189 # define UINT_LEAST64_MAX UINT64_MAX
20190
20191 /* shortcircuit*/
20192 #endif
20193 /* once */
20194 #endif
20195 #endif
20196 STDINT_EOF
20197 fi
20198 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
20199 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
20200 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
20201 else
20202 ac_dir=`(dirname "$ac_stdint_h") 2>/dev/null ||
20203 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20204 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
20205 X"$ac_stdint_h" : 'X\(//\)$' \| \
20206 X"$ac_stdint_h" : 'X\(/\)' \| \
20207 . : '\(.\)' 2>/dev/null ||
20208 echo X"$ac_stdint_h" |
20209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20211 /^X\(\/\/\)$/{ s//\1/; q; }
20212 /^X\(\/\).*/{ s//\1/; q; }
20213 s/.*/./; q'`
20214 { if $as_mkdir_p; then
20215 mkdir -p "$ac_dir"
20216 else
20217 as_dir="$ac_dir"
20218 as_dirs=
20219 while test ! -d "$as_dir"; do
20220 as_dirs="$as_dir $as_dirs"
20221 as_dir=`(dirname "$as_dir") 2>/dev/null ||
20222 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20223 X"$as_dir" : 'X\(//\)[^/]' \| \
20224 X"$as_dir" : 'X\(//\)$' \| \
20225 X"$as_dir" : 'X\(/\)' \| \
20226 . : '\(.\)' 2>/dev/null ||
20227 echo X"$as_dir" |
20228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20229 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20230 /^X\(\/\/\)$/{ s//\1/; q; }
20231 /^X\(\/\).*/{ s//\1/; q; }
20232 s/.*/./; q'`
20233 done
20234 test ! -n "$as_dirs" || mkdir $as_dirs
20235 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20236 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20237 { (exit 1); exit 1; }; }; }
20238
20239 rm -f $ac_stdint_h
20240 mv $ac_stdint $ac_stdint_h
20241 fi
20242 ;;
20243 gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
20244 copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
20245 esac
20246 done
20247 _ACEOF
20248
20249 cat >>$CONFIG_STATUS <<\_ACEOF
20250
20251 { (exit 0); exit 0; }
20252 _ACEOF
20253 chmod +x $CONFIG_STATUS
20254 ac_clean_files=$ac_clean_files_save
20255
20256
20257 # configure is writing to config.log, and then calls config.status.
20258 # config.status does its own redirection, appending to config.log.
20259 # Unfortunately, on DOS this fails, as config.log is still kept open
20260 # by configure, so config.status won't be able to write to it; its
20261 # output is simply discarded. So we exec the FD to /dev/null,
20262 # effectively closing config.log, so it can be properly (re)opened and
20263 # appended to by config.status. When coming back to configure, we
20264 # need to make the FD available again.
20265 if test "$no_create" != yes; then
20266 ac_cs_success=:
20267 ac_config_status_args=
20268 test "$silent" = yes &&
20269 ac_config_status_args="$ac_config_status_args --quiet"
20270 exec 5>/dev/null
20271 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20272 exec 5>>config.log
20273 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20274 # would make configure fail if this is the last instruction.
20275 $ac_cs_success || { (exit 1); exit 1; }
20276 fi
20277